The Ultimate Video Player For WordPress – by Presto Player - Version 1.5.11

Version Description

  • August 2, 2021 =
  • Fix height issue with bundled javascript versions.
  • Fix centering issue with Youtube.
Download this release

Release Info

Developer 2winfactor
Plugin Icon 128x128 The Ultimate Video Player For WordPress – by Presto Player
Version 1.5.11
Comparing to
See all releases

Code changes from version 1.5.10 to 1.5.11

dist/analytics/0-05e94cb1.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack:///./node_modules/@presto-player/components/dist/custom-elements/resize-observer.js"],"names":["ResizeObserverBoxOptions","resizeObservers","msg","trigger","freeze","obj","Object","ResizeObserverSize","inlineSize","blockSize","this","DOMRectReadOnly","x","y","width","height","top","left","bottom","right","prototype","toJSON","_a","fromRect","rectangle","isSVG","target","SVGElement","isHidden","getBBox","_b","offsetWidth","offsetHeight","getClientRects","length","isElement","Element","scope","ownerDocument","defaultView","global","window","cache","WeakMap","scrollRegexp","verticalRegexp","IE","test","navigator","userAgent","parseDimension","pixel","parseFloat","size","switchSizes","zeroBoxes","devicePixelContentBoxSize","borderBoxSize","contentBoxSize","contentRect","calculateBoxSizes","forceRecalculation","has","get","set","cs","getComputedStyle","svg","ownerSVGElement","removePadding","boxSizing","writingMode","canScrollVertically","overflowY","canScrollHorizontally","overflowX","paddingTop","paddingRight","paddingBottom","paddingLeft","borderTop","borderTopWidth","borderRight","borderRightWidth","borderBottom","borderBottomWidth","horizontalPadding","verticalPadding","horizontalBorderArea","borderLeftWidth","verticalBorderArea","horizontalScrollbarThickness","clientHeight","verticalScrollbarThickness","clientWidth","widthReduction","heightReduction","contentWidth","contentHeight","borderBoxWidth","borderBoxHeight","boxes","Math","round","devicePixelRatio","calculateBoxSize","observedBox","DEVICE_PIXEL_CONTENT_BOX","BORDER_BOX","ResizeObserverEntry","calculateDepthForNode","node","Infinity","depth","parent","parentNode","broadcastActiveObservations","shallowestDepth","callbacks","forEach","ro","activeTargets","entries","ot","entry","targetDepth","push","lastReportedSize","callback","call","observer","splice","_i","callbacks_1","gatherActiveObservationsAtDepth","skippedTargets","observationTargets","isActive","process","event","some","ErrorEvent","message","document","createEvent","initEvent","dispatchEvent","queueMicroTask","toggle_1","el_1","createTextNode","MutationObserver","cb","observe","characterData","textContent","watching","observerConfig","attributes","childList","subtree","events","time","timeout","Date","now","scheduled","scheduler","Scheduler","_this","stopped","listener","schedule","run","until","elementsHaveResized","start","requestAnimationFrame","stop","body","addEventListener","name","disconnect","removeEventListener","updateCount","n","ResizeObservation","CONTENT_BOX","tagName","type","isReplacedElement","display","ResizeObserverDetail","resizeObserver","observerMap","getObservationIndex","i","ResizeObserverController","connect","detail","options","firstObservation","box","unobserve","index","lastObservation","indexOf","slice","ResizeObserver","arguments","TypeError","toString"],"mappings":";;;;;;;;;;;;;;;;;mIAAA,iKAAgpBA,EAA5oBC,EAAgB,GAA8RC,EAAI,iEAAmX,SAAUF,GAA0BA,EAAqC,WAAE,aAAaA,EAAsC,YAAE,cAAcA,EAAmD,yBAAE,2BAAnM,CAAiOA,IAA2BA,EAAyB,KAAK,IAA8tOG,EAA1tOC,EAAO,SAAgBC,GAAK,OAAOC,OAAOF,OAAOC,IAAWE,EAA8B,SAA4BC,EAAWC,GAAWC,KAAKF,WAAWA,EAAWE,KAAKD,UAAUA,EAAUL,EAAOM,OAAyCC,EAAgB,WAAW,SAASA,EAAgBC,EAAEC,EAAEC,EAAMC,GAAgK,OAAxJL,KAAKE,EAAEA,EAAEF,KAAKG,EAAEA,EAAEH,KAAKI,MAAMA,EAAMJ,KAAKK,OAAOA,EAAOL,KAAKM,IAAIN,KAAKG,EAAEH,KAAKO,KAAKP,KAAKE,EAAEF,KAAKQ,OAAOR,KAAKM,IAAIN,KAAKK,OAAOL,KAAKS,MAAMT,KAAKO,KAAKP,KAAKI,MAAaV,EAAOM,MAAiY,OAA1XC,EAAgBS,UAAUC,OAAO,WAAW,IAAIC,EAAGZ,KAA2G,MAAM,CAACE,EAA3GU,EAAGV,EAA4GC,EAAxGS,EAAGT,EAAyGG,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1.js","sourcesContent":["var resizeObservers=[];var hasActiveObservations=function hasActiveObservations(){return resizeObservers.some(function(ro){return ro.activeTargets.length>0;});};var hasSkippedObservations=function hasSkippedObservations(){return resizeObservers.some(function(ro){return ro.skippedTargets.length>0;});};var msg='ResizeObserver loop completed with undelivered notifications.';var deliverResizeLoopError=function deliverResizeLoopError(){var event;if(typeof ErrorEvent==='function'){event=new ErrorEvent('error',{message:msg});}else{event=document.createEvent('Event');event.initEvent('error',false,false);event.message=msg;}window.dispatchEvent(event);};var ResizeObserverBoxOptions;(function(ResizeObserverBoxOptions){ResizeObserverBoxOptions[\"BORDER_BOX\"]=\"border-box\";ResizeObserverBoxOptions[\"CONTENT_BOX\"]=\"content-box\";ResizeObserverBoxOptions[\"DEVICE_PIXEL_CONTENT_BOX\"]=\"device-pixel-content-box\";})(ResizeObserverBoxOptions||(ResizeObserverBoxOptions={}));var freeze=function freeze(obj){return Object.freeze(obj);};var ResizeObserverSize=function(){function ResizeObserverSize(inlineSize,blockSize){this.inlineSize=inlineSize;this.blockSize=blockSize;freeze(this);}return ResizeObserverSize;}();var DOMRectReadOnly=function(){function DOMRectReadOnly(x,y,width,height){this.x=x;this.y=y;this.width=width;this.height=height;this.top=this.y;this.left=this.x;this.bottom=this.top+this.height;this.right=this.left+this.width;return freeze(this);}DOMRectReadOnly.prototype.toJSON=function(){var _a=this,x=_a.x,y=_a.y,top=_a.top,right=_a.right,bottom=_a.bottom,left=_a.left,width=_a.width,height=_a.height;return{x:x,y:y,top:top,right:right,bottom:bottom,left:left,width:width,height:height};};DOMRectReadOnly.fromRect=function(rectangle){return new DOMRectReadOnly(rectangle.x,rectangle.y,rectangle.width,rectangle.height);};return DOMRectReadOnly;}();var isSVG=function isSVG(target){return target instanceof SVGElement&&'getBBox'in target;};var isHidden=function isHidden(target){if(isSVG(target)){var _a=target.getBBox(),width=_a.width,height=_a.height;return!width&&!height;}var _b=target,offsetWidth=_b.offsetWidth,offsetHeight=_b.offsetHeight;return!(offsetWidth||offsetHeight||target.getClientRects().length);};var isElement=function isElement(obj){var _a,_b;if(obj instanceof Element){return true;}var scope=(_b=(_a=obj)===null||_a===void 0?void 0:_a.ownerDocument)===null||_b===void 0?void 0:_b.defaultView;return!!(scope&&obj instanceof scope.Element);};var isReplacedElement=function isReplacedElement(target){switch(target.tagName){case'INPUT':if(target.type!=='image'){break;}case'VIDEO':case'AUDIO':case'EMBED':case'OBJECT':case'CANVAS':case'IFRAME':case'IMG':return true;}return false;};var global=typeof window!=='undefined'?window:{};var cache=new WeakMap();var scrollRegexp=/auto|scroll/;var verticalRegexp=/^tb|vertical/;var IE=/msie|trident/i.test(global.navigator&&global.navigator.userAgent);var parseDimension=function parseDimension(pixel){return parseFloat(pixel||'0');};var size=function size(inlineSize,blockSize,switchSizes){if(inlineSize===void 0){inlineSize=0;}if(blockSize===void 0){blockSize=0;}if(switchSizes===void 0){switchSizes=false;}return new ResizeObserverSize((switchSizes?blockSize:inlineSize)||0,(switchSizes?inlineSize:blockSize)||0);};var zeroBoxes=freeze({devicePixelContentBoxSize:size(),borderBoxSize:size(),contentBoxSize:size(),contentRect:new DOMRectReadOnly(0,0,0,0)});var calculateBoxSizes=function calculateBoxSizes(target,forceRecalculation){if(forceRecalculation===void 0){forceRecalculation=false;}if(cache.has(target)&&!forceRecalculation){return cache.get(target);}if(isHidden(target)){cache.set(target,zeroBoxes);return zeroBoxes;}var cs=getComputedStyle(target);var svg=isSVG(target)&&target.ownerSVGElement&&target.getBBox();var removePadding=!IE&&cs.boxSizing==='border-box';var switchSizes=verticalRegexp.test(cs.writingMode||'');var canScrollVertically=!svg&&scrollRegexp.test(cs.overflowY||'');var canScrollHorizontally=!svg&&scrollRegexp.test(cs.overflowX||'');var paddingTop=svg?0:parseDimension(cs.paddingTop);var paddingRight=svg?0:parseDimension(cs.paddingRight);var paddingBottom=svg?0:parseDimension(cs.paddingBottom);var paddingLeft=svg?0:parseDimension(cs.paddingLeft);var borderTop=svg?0:parseDimension(cs.borderTopWidth);var borderRight=svg?0:parseDimension(cs.borderRightWidth);var borderBottom=svg?0:parseDimension(cs.borderBottomWidth);var borderLeft=svg?0:parseDimension(cs.borderLeftWidth);var horizontalPadding=paddingLeft+paddingRight;var verticalPadding=paddingTop+paddingBottom;var horizontalBorderArea=borderLeft+borderRight;var verticalBorderArea=borderTop+borderBottom;var horizontalScrollbarThickness=!canScrollHorizontally?0:target.offsetHeight-verticalBorderArea-target.clientHeight;var verticalScrollbarThickness=!canScrollVertically?0:target.offsetWidth-horizontalBorderArea-target.clientWidth;var widthReduction=removePadding?horizontalPadding+horizontalBorderArea:0;var heightReduction=removePadding?verticalPadding+verticalBorderArea:0;var contentWidth=svg?svg.width:parseDimension(cs.width)-widthReduction-verticalScrollbarThickness;var contentHeight=svg?svg.height:parseDimension(cs.height)-heightReduction-horizontalScrollbarThickness;var borderBoxWidth=contentWidth+horizontalPadding+verticalScrollbarThickness+horizontalBorderArea;var borderBoxHeight=contentHeight+verticalPadding+horizontalScrollbarThickness+verticalBorderArea;var boxes=freeze({devicePixelContentBoxSize:size(Math.round(contentWidth*devicePixelRatio),Math.round(contentHeight*devicePixelRatio),switchSizes),borderBoxSize:size(borderBoxWidth,borderBoxHeight,switchSizes),contentBoxSize:size(contentWidth,contentHeight,switchSizes),contentRect:new DOMRectReadOnly(paddingLeft,paddingTop,contentWidth,contentHeight)});cache.set(target,boxes);return boxes;};var calculateBoxSize=function calculateBoxSize(target,observedBox,forceRecalculation){var _a=calculateBoxSizes(target,forceRecalculation),borderBoxSize=_a.borderBoxSize,contentBoxSize=_a.contentBoxSize,devicePixelContentBoxSize=_a.devicePixelContentBoxSize;switch(observedBox){case ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:return devicePixelContentBoxSize;case ResizeObserverBoxOptions.BORDER_BOX:return borderBoxSize;default:return contentBoxSize;}};var ResizeObserverEntry=function(){function ResizeObserverEntry(target){var boxes=calculateBoxSizes(target);this.target=target;this.contentRect=boxes.contentRect;this.borderBoxSize=freeze([boxes.borderBoxSize]);this.contentBoxSize=freeze([boxes.contentBoxSize]);this.devicePixelContentBoxSize=freeze([boxes.devicePixelContentBoxSize]);}return ResizeObserverEntry;}();var calculateDepthForNode=function calculateDepthForNode(node){if(isHidden(node)){return Infinity;}var depth=0;var parent=node.parentNode;while(parent){depth+=1;parent=parent.parentNode;}return depth;};var broadcastActiveObservations=function broadcastActiveObservations(){var shallowestDepth=Infinity;var callbacks=[];resizeObservers.forEach(function processObserver(ro){if(ro.activeTargets.length===0){return;}var entries=[];ro.activeTargets.forEach(function processTarget(ot){var entry=new ResizeObserverEntry(ot.target);var targetDepth=calculateDepthForNode(ot.target);entries.push(entry);ot.lastReportedSize=calculateBoxSize(ot.target,ot.observedBox);if(targetDepth<shallowestDepth){shallowestDepth=targetDepth;}});callbacks.push(function resizeObserverCallback(){ro.callback.call(ro.observer,entries,ro.observer);});ro.activeTargets.splice(0,ro.activeTargets.length);});for(var _i=0,callbacks_1=callbacks;_i<callbacks_1.length;_i++){var callback=callbacks_1[_i];callback();}return shallowestDepth;};var gatherActiveObservationsAtDepth=function gatherActiveObservationsAtDepth(depth){resizeObservers.forEach(function processObserver(ro){ro.activeTargets.splice(0,ro.activeTargets.length);ro.skippedTargets.splice(0,ro.skippedTargets.length);ro.observationTargets.forEach(function processTarget(ot){if(ot.isActive()){if(calculateDepthForNode(ot.target)>depth){ro.activeTargets.push(ot);}else{ro.skippedTargets.push(ot);}}});});};var process=function process(){var depth=0;gatherActiveObservationsAtDepth(depth);while(hasActiveObservations()){depth=broadcastActiveObservations();gatherActiveObservationsAtDepth(depth);}if(hasSkippedObservations()){deliverResizeLoopError();}return depth>0;};var trigger;var callbacks=[];var notify=function notify(){return callbacks.splice(0).forEach(function(cb){return cb();});};var queueMicroTask=function queueMicroTask(callback){if(!trigger){var toggle_1=0;var el_1=document.createTextNode('');var config={characterData:true};new MutationObserver(function(){return notify();}).observe(el_1,config);trigger=function trigger(){el_1.textContent=\"\"+(toggle_1?toggle_1--:toggle_1++);};}callbacks.push(callback);trigger();};var queueResizeObserver=function queueResizeObserver(cb){queueMicroTask(function ResizeObserver(){requestAnimationFrame(cb);});};var watching=0;var isWatching=function isWatching(){return!!watching;};var CATCH_PERIOD=250;var observerConfig={attributes:true,characterData:true,childList:true,subtree:true};var events=['resize','load','transitionend','animationend','animationstart','animationiteration','keyup','keydown','mouseup','mousedown','mouseover','mouseout','blur','focus'];var time=function time(timeout){if(timeout===void 0){timeout=0;}return Date.now()+timeout;};var scheduled=false;var Scheduler=function(){function Scheduler(){var _this=this;this.stopped=true;this.listener=function(){return _this.schedule();};}Scheduler.prototype.run=function(timeout){var _this=this;if(timeout===void 0){timeout=CATCH_PERIOD;}if(scheduled){return;}scheduled=true;var until=time(timeout);queueResizeObserver(function(){var elementsHaveResized=false;try{elementsHaveResized=process();}finally{scheduled=false;timeout=until-time();if(!isWatching()){return;}if(elementsHaveResized){_this.run(1000);}else if(timeout>0){_this.run(timeout);}else{_this.start();}}});};Scheduler.prototype.schedule=function(){this.stop();this.run();};Scheduler.prototype.observe=function(){var _this=this;var cb=function cb(){return _this.observer&&_this.observer.observe(document.body,observerConfig);};document.body?cb():global.addEventListener('DOMContentLoaded',cb);};Scheduler.prototype.start=function(){var _this=this;if(this.stopped){this.stopped=false;this.observer=new MutationObserver(this.listener);this.observe();events.forEach(function(name){return global.addEventListener(name,_this.listener,true);});}};Scheduler.prototype.stop=function(){var _this=this;if(!this.stopped){this.observer&&this.observer.disconnect();events.forEach(function(name){return global.removeEventListener(name,_this.listener,true);});this.stopped=true;}};return Scheduler;}();var scheduler=new Scheduler();var updateCount=function updateCount(n){!watching&&n>0&&scheduler.start();watching+=n;!watching&&scheduler.stop();};var skipNotifyOnElement=function skipNotifyOnElement(target){return!isSVG(target)&&!isReplacedElement(target)&&getComputedStyle(target).display==='inline';};var ResizeObservation=function(){function ResizeObservation(target,observedBox){this.target=target;this.observedBox=observedBox||ResizeObserverBoxOptions.CONTENT_BOX;this.lastReportedSize={inlineSize:0,blockSize:0};}ResizeObservation.prototype.isActive=function(){var size=calculateBoxSize(this.target,this.observedBox,true);if(skipNotifyOnElement(this.target)){this.lastReportedSize=size;}if(this.lastReportedSize.inlineSize!==size.inlineSize||this.lastReportedSize.blockSize!==size.blockSize){return true;}return false;};return ResizeObservation;}();var ResizeObserverDetail=function(){function ResizeObserverDetail(resizeObserver,callback){this.activeTargets=[];this.skippedTargets=[];this.observationTargets=[];this.observer=resizeObserver;this.callback=callback;}return ResizeObserverDetail;}();var observerMap=new WeakMap();var getObservationIndex=function getObservationIndex(observationTargets,target){for(var i=0;i<observationTargets.length;i+=1){if(observationTargets[i].target===target){return i;}}return-1;};var ResizeObserverController=function(){function ResizeObserverController(){}ResizeObserverController.connect=function(resizeObserver,callback){var detail=new ResizeObserverDetail(resizeObserver,callback);observerMap.set(resizeObserver,detail);};ResizeObserverController.observe=function(resizeObserver,target,options){var detail=observerMap.get(resizeObserver);var firstObservation=detail.observationTargets.length===0;if(getObservationIndex(detail.observationTargets,target)<0){firstObservation&&resizeObservers.push(detail);detail.observationTargets.push(new ResizeObservation(target,options&&options.box));updateCount(1);scheduler.schedule();}};ResizeObserverController.unobserve=function(resizeObserver,target){var detail=observerMap.get(resizeObserver);var index=getObservationIndex(detail.observationTargets,target);var lastObservation=detail.observationTargets.length===1;if(index>=0){lastObservation&&resizeObservers.splice(resizeObservers.indexOf(detail),1);detail.observationTargets.splice(index,1);updateCount(-1);}};ResizeObserverController.disconnect=function(resizeObserver){var _this=this;var detail=observerMap.get(resizeObserver);detail.observationTargets.slice().forEach(function(ot){return _this.unobserve(resizeObserver,ot.target);});detail.activeTargets.splice(0,detail.activeTargets.length);};return ResizeObserverController;}();var ResizeObserver=function(){function ResizeObserver(callback){if(arguments.length===0){throw new TypeError(\"Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.\");}if(typeof callback!=='function'){throw new TypeError(\"Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.\");}ResizeObserverController.connect(this,callback);}ResizeObserver.prototype.observe=function(target,options){if(arguments.length===0){throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.\");}if(!isElement(target)){throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element\");}ResizeObserverController.observe(this,target,options);};ResizeObserver.prototype.unobserve=function(target){if(arguments.length===0){throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.\");}if(!isElement(target)){throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element\");}ResizeObserverController.unobserve(this,target);};ResizeObserver.prototype.disconnect=function(){ResizeObserverController.disconnect(this);};ResizeObserver.toString=function(){return'function ResizeObserver () { [polyfill code] }';};return ResizeObserver;}();export{ResizeObserver,ResizeObserverEntry,ResizeObserverSize};"],"sourceRoot":""}
 
dist/analytics/{0-05e94cb1.js → 0-58582772.js} RENAMED
@@ -15,5 +15,5 @@
15
  * Compiled with the help of https://wpack.io
16
  * A zero setup Webpack Bundler Script for WordPress
17
  */
18
- (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[0],{48:function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeObserver",(function(){return V})),n.d(t,"ResizeObserverEntry",(function(){return m})),n.d(t,"ResizeObserverSize",(function(){return c}));var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,a(this)},u=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,a(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),h=function(e){return e instanceof SVGElement&&"getBBox"in e},f=function(e){if(h(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},d=function(e){var t,n;if(e instanceof Element)return!0;var r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},v="undefined"!=typeof window?window:{},p=new WeakMap,l=/auto|scroll/,g=/^tb|vertical/,b=/msie|trident/i.test(v.navigator&&v.navigator.userAgent),w=function(e){return parseFloat(e||"0")},E=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},x=a({devicePixelContentBoxSize:E(),borderBoxSize:E(),contentBoxSize:E(),contentRect:new u(0,0,0,0)}),y=function(e,t){if(void 0===t&&(t=!1),p.has(e)&&!t)return p.get(e);if(f(e))return p.set(e,x),x;var n=getComputedStyle(e),r=h(e)&&e.ownerSVGElement&&e.getBBox(),i=!b&&"border-box"===n.boxSizing,o=g.test(n.writingMode||""),s=!r&&l.test(n.overflowY||""),c=!r&&l.test(n.overflowX||""),d=r?0:w(n.paddingTop),v=r?0:w(n.paddingRight),y=r?0:w(n.paddingBottom),T=r?0:w(n.paddingLeft),m=r?0:w(n.borderTopWidth),z=r?0:w(n.borderRightWidth),S=r?0:w(n.borderBottomWidth),B=T+v,O=d+y,R=(r?0:w(n.borderLeftWidth))+z,k=m+S,C=c?e.offsetHeight-k-e.clientHeight:0,N=s?e.offsetWidth-R-e.clientWidth:0,D=i?B+R:0,P=i?O+k:0,M=r?r.width:w(n.width)-D-N,_=r?r.height:w(n.height)-P-C,F=M+B+N+R,I=_+O+C+k,L=a({devicePixelContentBoxSize:E(Math.round(M*devicePixelRatio),Math.round(_*devicePixelRatio),o),borderBoxSize:E(F,I,o),contentBoxSize:E(M,_,o),contentRect:new u(T,d,M,_)});return p.set(e,L),L},T=function(e,t,n){var i=y(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},m=function(e){var t=y(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=a([t.borderBoxSize]),this.contentBoxSize=a([t.contentBoxSize]),this.devicePixelContentBoxSize=a([t.devicePixelContentBoxSize])},z=function(e){if(f(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},S=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new m(t.target),i=z(t.target);r.push(n),t.lastReportedSize=T(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},B=function(e){i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(z(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},O=function(){var e,t=0;for(B(t);i.some((function(e){return e.activeTargets.length>0}));)t=S(),B(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0},R=[],k=function(e){if(!s){var t=0,n=document.createTextNode("");new MutationObserver((function(){return R.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),s=function(){n.textContent=""+(t?t--:t++)}}R.push(e),s()},C=0,N={attributes:!0,characterData:!0,childList:!0,subtree:!0},D=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],P=function(e){return void 0===e&&(e=0),Date.now()+e},M=!1,_=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!M){M=!0;var n,r=P(e);n=function(){var n=!1;try{n=O()}finally{if(M=!1,e=r-P(),!C)return;n?t.run(1e3):e>0?t.run(e):t.start()}},k((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,N)};document.body?t():v.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),D.forEach((function(t){return v.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),D.forEach((function(t){return v.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),F=function(e){!C&&e>0&&_.start(),!(C+=e)&&_.stop()},I=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=T(this.target,this.observedBox,!0);return e=this.target,h(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),L=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},W=new WeakMap,X=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},A=function(){function e(){}return e.connect=function(e,t){var n=new L(e,t);W.set(e,n)},e.observe=function(e,t,n){var r=W.get(e),o=0===r.observationTargets.length;X(r.observationTargets,t)<0&&(o&&i.push(r),r.observationTargets.push(new I(t,n&&n.box)),F(1),_.schedule())},e.unobserve=function(e,t){var n=W.get(e),r=X(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),F(-1))},e.disconnect=function(e){var t=this,n=W.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),V=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");A.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");A.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");A.unobserve(this,e)},e.prototype.disconnect=function(){A.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()}}]);
19
- //# sourceMappingURL=0-05e94cb1.js.map
15
  * Compiled with the help of https://wpack.io
16
  * A zero setup Webpack Bundler Script for WordPress
17
  */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[0],{27:function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeObserver",(function(){return V})),n.d(t,"ResizeObserverEntry",(function(){return m})),n.d(t,"ResizeObserverSize",(function(){return c}));var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,a(this)},u=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,a(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),h=function(e){return e instanceof SVGElement&&"getBBox"in e},f=function(e){if(h(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},d=function(e){var t,n;if(e instanceof Element)return!0;var r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},v="undefined"!=typeof window?window:{},p=new WeakMap,l=/auto|scroll/,g=/^tb|vertical/,b=/msie|trident/i.test(v.navigator&&v.navigator.userAgent),w=function(e){return parseFloat(e||"0")},E=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},x=a({devicePixelContentBoxSize:E(),borderBoxSize:E(),contentBoxSize:E(),contentRect:new u(0,0,0,0)}),y=function(e,t){if(void 0===t&&(t=!1),p.has(e)&&!t)return p.get(e);if(f(e))return p.set(e,x),x;var n=getComputedStyle(e),r=h(e)&&e.ownerSVGElement&&e.getBBox(),i=!b&&"border-box"===n.boxSizing,o=g.test(n.writingMode||""),s=!r&&l.test(n.overflowY||""),c=!r&&l.test(n.overflowX||""),d=r?0:w(n.paddingTop),v=r?0:w(n.paddingRight),y=r?0:w(n.paddingBottom),T=r?0:w(n.paddingLeft),m=r?0:w(n.borderTopWidth),z=r?0:w(n.borderRightWidth),S=r?0:w(n.borderBottomWidth),B=T+v,O=d+y,R=(r?0:w(n.borderLeftWidth))+z,k=m+S,C=c?e.offsetHeight-k-e.clientHeight:0,N=s?e.offsetWidth-R-e.clientWidth:0,D=i?B+R:0,P=i?O+k:0,M=r?r.width:w(n.width)-D-N,_=r?r.height:w(n.height)-P-C,F=M+B+N+R,I=_+O+C+k,L=a({devicePixelContentBoxSize:E(Math.round(M*devicePixelRatio),Math.round(_*devicePixelRatio),o),borderBoxSize:E(F,I,o),contentBoxSize:E(M,_,o),contentRect:new u(T,d,M,_)});return p.set(e,L),L},T=function(e,t,n){var i=y(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},m=function(e){var t=y(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=a([t.borderBoxSize]),this.contentBoxSize=a([t.contentBoxSize]),this.devicePixelContentBoxSize=a([t.devicePixelContentBoxSize])},z=function(e){if(f(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},S=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new m(t.target),i=z(t.target);r.push(n),t.lastReportedSize=T(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},B=function(e){i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(z(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},O=function(){var e,t=0;for(B(t);i.some((function(e){return e.activeTargets.length>0}));)t=S(),B(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0},R=[],k=function(e){if(!s){var t=0,n=document.createTextNode("");new MutationObserver((function(){return R.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),s=function(){n.textContent=""+(t?t--:t++)}}R.push(e),s()},C=0,N={attributes:!0,characterData:!0,childList:!0,subtree:!0},D=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],P=function(e){return void 0===e&&(e=0),Date.now()+e},M=!1,_=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!M){M=!0;var n,r=P(e);n=function(){var n=!1;try{n=O()}finally{if(M=!1,e=r-P(),!C)return;n?t.run(1e3):e>0?t.run(e):t.start()}},k((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,N)};document.body?t():v.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),D.forEach((function(t){return v.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),D.forEach((function(t){return v.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),F=function(e){!C&&e>0&&_.start(),!(C+=e)&&_.stop()},I=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=T(this.target,this.observedBox,!0);return e=this.target,h(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),L=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},W=new WeakMap,X=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},A=function(){function e(){}return e.connect=function(e,t){var n=new L(e,t);W.set(e,n)},e.observe=function(e,t,n){var r=W.get(e),o=0===r.observationTargets.length;X(r.observationTargets,t)<0&&(o&&i.push(r),r.observationTargets.push(new I(t,n&&n.box)),F(1),_.schedule())},e.unobserve=function(e,t){var n=W.get(e),r=X(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),F(-1))},e.disconnect=function(e){var t=this,n=W.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),V=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");A.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");A.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");A.unobserve(this,e)},e.prototype.disconnect=function(){A.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()}}]);
19
+ //# sourceMappingURL=0-58582772.js.map
dist/analytics/0-58582772.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack:///./packages/components/dist/custom-elements/resize-observer.js"],"names":["ResizeObserverBoxOptions","resizeObservers","msg","trigger","freeze","obj","Object","ResizeObserverSize","inlineSize","blockSize","this","DOMRectReadOnly","x","y","width","height","top","left","bottom","right","prototype","toJSON","_a","fromRect","rectangle","isSVG","target","SVGElement","isHidden","getBBox","_b","offsetWidth","offsetHeight","getClientRects","length","isElement","Element","scope","ownerDocument","defaultView","global","window","cache","WeakMap","scrollRegexp","verticalRegexp","IE","test","navigator","userAgent","parseDimension","pixel","parseFloat","size","switchSizes","zeroBoxes","devicePixelContentBoxSize","borderBoxSize","contentBoxSize","contentRect","calculateBoxSizes","forceRecalculation","has","get","set","cs","getComputedStyle","svg","ownerSVGElement","removePadding","boxSizing","writingMode","canScrollVertically","overflowY","canScrollHorizontally","overflowX","paddingTop","paddingRight","paddingBottom","paddingLeft","borderTop","borderTopWidth","borderRight","borderRightWidth","borderBottom","borderBottomWidth","horizontalPadding","verticalPadding","horizontalBorderArea","borderLeftWidth","verticalBorderArea","horizontalScrollbarThickness","clientHeight","verticalScrollbarThickness","clientWidth","widthReduction","heightReduction","contentWidth","contentHeight","borderBoxWidth","borderBoxHeight","boxes","Math","round","devicePixelRatio","calculateBoxSize","observedBox","DEVICE_PIXEL_CONTENT_BOX","BORDER_BOX","ResizeObserverEntry","calculateDepthForNode","node","Infinity","depth","parent","parentNode","broadcastActiveObservations","shallowestDepth","callbacks","forEach","ro","activeTargets","entries","ot","entry","targetDepth","push","lastReportedSize","callback","call","observer","splice","_i","callbacks_1","gatherActiveObservationsAtDepth","skippedTargets","observationTargets","isActive","process","event","some","ErrorEvent","message","document","createEvent","initEvent","dispatchEvent","queueMicroTask","toggle_1","el_1","createTextNode","MutationObserver","cb","observe","characterData","textContent","watching","observerConfig","attributes","childList","subtree","events","time","timeout","Date","now","scheduled","scheduler","Scheduler","_this","stopped","listener","schedule","run","until","elementsHaveResized","start","requestAnimationFrame","stop","body","addEventListener","name","disconnect","removeEventListener","updateCount","n","ResizeObservation","CONTENT_BOX","tagName","type","isReplacedElement","display","ResizeObserverDetail","resizeObserver","observerMap","getObservationIndex","i","ResizeObserverController","connect","detail","options","firstObservation","box","unobserve","index","l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AAGoE,EAAO9E,cAAcvF,SAG/CmK,EA1CsB,GA6C3BW,EAAiB,WACnB,SAASA,EAAehF,GACtB,GAAyB,IAArBiF,UAAU/K,OACZ,MAAM,IAAIgL,UAAU,kFAGtB,GAAwB,mBAAblF,EACT,MAAM,IAAIkF,UAAU,iGAGtBb,EAAyBC,QAAQ5L,KAAMsH,GAmCzC,OAhCAgF,EAAe5L,UAAUqI,QAAU,SAAU/H,EAAQ8K,GACnD,GAAyB,IAArBS,UAAU/K,OACZ,MAAM,IAAIgL,UAAU,6FAGtB,IAAK/K,EAAUT,GACb,MAAM,IAAIwL,UAAU,wFAGtBb,EAAyB5C,QAAQ/I,KAAMgB,EAAQ8K,IAGjDQ,EAAe5L,UAAUuL,UAAY,SAAUjL,GAC7C,GAAyB,IAArBuL,UAAU/K,OACZ,MAAM,IAAIgL,UAAU,+FAGtB,IAAK/K,EAAUT,GACb,MAAM,IAAIwL,UAAU,0FAGtBb,EAAyBM,UAAUjM,KAAMgB,IAG3CsL,EAAe5L,UAAUkK,WAAa,WACpCe,EAAyBf,WAAW5K,OAGtCsM,EAAeG,SAAW,WACxB,MAAO,kDAGFH,EA7CY","file":"analytics/0-58582772.js","sourcesContent":["var resizeObservers = [];\n\nvar hasActiveObservations = function hasActiveObservations() {\n return resizeObservers.some(function (ro) {\n return ro.activeTargets.length > 0;\n });\n};\n\nvar hasSkippedObservations = function hasSkippedObservations() {\n return resizeObservers.some(function (ro) {\n return ro.skippedTargets.length > 0;\n });\n};\n\nvar msg = 'ResizeObserver loop completed with undelivered notifications.';\n\nvar deliverResizeLoopError = function deliverResizeLoopError() {\n var event;\n\n if (typeof ErrorEvent === 'function') {\n event = new ErrorEvent('error', {\n message: msg\n });\n } else {\n event = document.createEvent('Event');\n event.initEvent('error', false, false);\n event.message = msg;\n }\n\n window.dispatchEvent(event);\n};\n\nvar ResizeObserverBoxOptions;\n\n(function (ResizeObserverBoxOptions) {\n ResizeObserverBoxOptions[\"BORDER_BOX\"] = \"border-box\";\n ResizeObserverBoxOptions[\"CONTENT_BOX\"] = \"content-box\";\n ResizeObserverBoxOptions[\"DEVICE_PIXEL_CONTENT_BOX\"] = \"device-pixel-content-box\";\n})(ResizeObserverBoxOptions || (ResizeObserverBoxOptions = {}));\n\nvar freeze = function freeze(obj) {\n return Object.freeze(obj);\n};\n\nvar ResizeObserverSize = function () {\n function ResizeObserverSize(inlineSize, blockSize) {\n this.inlineSize = inlineSize;\n this.blockSize = blockSize;\n freeze(this);\n }\n\n return ResizeObserverSize;\n}();\n\nvar DOMRectReadOnly = function () {\n function DOMRectReadOnly(x, y, width, height) {\n this.x = x;\n this.y = y;\n this.width = width;\n this.height = height;\n this.top = this.y;\n this.left = this.x;\n this.bottom = this.top + this.height;\n this.right = this.left + this.width;\n return freeze(this);\n }\n\n DOMRectReadOnly.prototype.toJSON = function () {\n var _a = this,\n x = _a.x,\n y = _a.y,\n top = _a.top,\n right = _a.right,\n bottom = _a.bottom,\n left = _a.left,\n width = _a.width,\n height = _a.height;\n\n return {\n x: x,\n y: y,\n top: top,\n right: right,\n bottom: bottom,\n left: left,\n width: width,\n height: height\n };\n };\n\n DOMRectReadOnly.fromRect = function (rectangle) {\n return new DOMRectReadOnly(rectangle.x, rectangle.y, rectangle.width, rectangle.height);\n };\n\n return DOMRectReadOnly;\n}();\n\nvar isSVG = function isSVG(target) {\n return target instanceof SVGElement && 'getBBox' in target;\n};\n\nvar isHidden = function isHidden(target) {\n if (isSVG(target)) {\n var _a = target.getBBox(),\n width = _a.width,\n height = _a.height;\n\n return !width && !height;\n }\n\n var _b = target,\n offsetWidth = _b.offsetWidth,\n offsetHeight = _b.offsetHeight;\n return !(offsetWidth || offsetHeight || target.getClientRects().length);\n};\n\nvar isElement = function isElement(obj) {\n var _a, _b;\n\n if (obj instanceof Element) {\n return true;\n }\n\n var scope = (_b = (_a = obj) === null || _a === void 0 ? void 0 : _a.ownerDocument) === null || _b === void 0 ? void 0 : _b.defaultView;\n return !!(scope && obj instanceof scope.Element);\n};\n\nvar isReplacedElement = function isReplacedElement(target) {\n switch (target.tagName) {\n case 'INPUT':\n if (target.type !== 'image') {\n break;\n }\n\n case 'VIDEO':\n case 'AUDIO':\n case 'EMBED':\n case 'OBJECT':\n case 'CANVAS':\n case 'IFRAME':\n case 'IMG':\n return true;\n }\n\n return false;\n};\n\nvar global = typeof window !== 'undefined' ? window : {};\n\nvar cache = new WeakMap();\nvar scrollRegexp = /auto|scroll/;\nvar verticalRegexp = /^tb|vertical/;\nvar IE = /msie|trident/i.test(global.navigator && global.navigator.userAgent);\n\nvar parseDimension = function parseDimension(pixel) {\n return parseFloat(pixel || '0');\n};\n\nvar size = function size(inlineSize, blockSize, switchSizes) {\n if (inlineSize === void 0) {\n inlineSize = 0;\n }\n\n if (blockSize === void 0) {\n blockSize = 0;\n }\n\n if (switchSizes === void 0) {\n switchSizes = false;\n }\n\n return new ResizeObserverSize((switchSizes ? blockSize : inlineSize) || 0, (switchSizes ? inlineSize : blockSize) || 0);\n};\n\nvar zeroBoxes = freeze({\n devicePixelContentBoxSize: size(),\n borderBoxSize: size(),\n contentBoxSize: size(),\n contentRect: new DOMRectReadOnly(0, 0, 0, 0)\n});\n\nvar calculateBoxSizes = function calculateBoxSizes(target, forceRecalculation) {\n if (forceRecalculation === void 0) {\n forceRecalculation = false;\n }\n\n if (cache.has(target) && !forceRecalculation) {\n return cache.get(target);\n }\n\n if (isHidden(target)) {\n cache.set(target, zeroBoxes);\n return zeroBoxes;\n }\n\n var cs = getComputedStyle(target);\n var svg = isSVG(target) && target.ownerSVGElement && target.getBBox();\n var removePadding = !IE && cs.boxSizing === 'border-box';\n var switchSizes = verticalRegexp.test(cs.writingMode || '');\n var canScrollVertically = !svg && scrollRegexp.test(cs.overflowY || '');\n var canScrollHorizontally = !svg && scrollRegexp.test(cs.overflowX || '');\n var paddingTop = svg ? 0 : parseDimension(cs.paddingTop);\n var paddingRight = svg ? 0 : parseDimension(cs.paddingRight);\n var paddingBottom = svg ? 0 : parseDimension(cs.paddingBottom);\n var paddingLeft = svg ? 0 : parseDimension(cs.paddingLeft);\n var borderTop = svg ? 0 : parseDimension(cs.borderTopWidth);\n var borderRight = svg ? 0 : parseDimension(cs.borderRightWidth);\n var borderBottom = svg ? 0 : parseDimension(cs.borderBottomWidth);\n var borderLeft = svg ? 0 : parseDimension(cs.borderLeftWidth);\n var horizontalPadding = paddingLeft + paddingRight;\n var verticalPadding = paddingTop + paddingBottom;\n var horizontalBorderArea = borderLeft + borderRight;\n var verticalBorderArea = borderTop + borderBottom;\n var horizontalScrollbarThickness = !canScrollHorizontally ? 0 : target.offsetHeight - verticalBorderArea - target.clientHeight;\n var verticalScrollbarThickness = !canScrollVertically ? 0 : target.offsetWidth - horizontalBorderArea - target.clientWidth;\n var widthReduction = removePadding ? horizontalPadding + horizontalBorderArea : 0;\n var heightReduction = removePadding ? verticalPadding + verticalBorderArea : 0;\n var contentWidth = svg ? svg.width : parseDimension(cs.width) - widthReduction - verticalScrollbarThickness;\n var contentHeight = svg ? svg.height : parseDimension(cs.height) - heightReduction - horizontalScrollbarThickness;\n var borderBoxWidth = contentWidth + horizontalPadding + verticalScrollbarThickness + horizontalBorderArea;\n var borderBoxHeight = contentHeight + verticalPadding + horizontalScrollbarThickness + verticalBorderArea;\n var boxes = freeze({\n devicePixelContentBoxSize: size(Math.round(contentWidth * devicePixelRatio), Math.round(contentHeight * devicePixelRatio), switchSizes),\n borderBoxSize: size(borderBoxWidth, borderBoxHeight, switchSizes),\n contentBoxSize: size(contentWidth, contentHeight, switchSizes),\n contentRect: new DOMRectReadOnly(paddingLeft, paddingTop, contentWidth, contentHeight)\n });\n cache.set(target, boxes);\n return boxes;\n};\n\nvar calculateBoxSize = function calculateBoxSize(target, observedBox, forceRecalculation) {\n var _a = calculateBoxSizes(target, forceRecalculation),\n borderBoxSize = _a.borderBoxSize,\n contentBoxSize = _a.contentBoxSize,\n devicePixelContentBoxSize = _a.devicePixelContentBoxSize;\n\n switch (observedBox) {\n case ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:\n return devicePixelContentBoxSize;\n\n case ResizeObserverBoxOptions.BORDER_BOX:\n return borderBoxSize;\n\n default:\n return contentBoxSize;\n }\n};\n\nvar ResizeObserverEntry = function () {\n function ResizeObserverEntry(target) {\n var boxes = calculateBoxSizes(target);\n this.target = target;\n this.contentRect = boxes.contentRect;\n this.borderBoxSize = freeze([boxes.borderBoxSize]);\n this.contentBoxSize = freeze([boxes.contentBoxSize]);\n this.devicePixelContentBoxSize = freeze([boxes.devicePixelContentBoxSize]);\n }\n\n return ResizeObserverEntry;\n}();\n\nvar calculateDepthForNode = function calculateDepthForNode(node) {\n if (isHidden(node)) {\n return Infinity;\n }\n\n var depth = 0;\n var parent = node.parentNode;\n\n while (parent) {\n depth += 1;\n parent = parent.parentNode;\n }\n\n return depth;\n};\n\nvar broadcastActiveObservations = function broadcastActiveObservations() {\n var shallowestDepth = Infinity;\n var callbacks = [];\n resizeObservers.forEach(function processObserver(ro) {\n if (ro.activeTargets.length === 0) {\n return;\n }\n\n var entries = [];\n ro.activeTargets.forEach(function processTarget(ot) {\n var entry = new ResizeObserverEntry(ot.target);\n var targetDepth = calculateDepthForNode(ot.target);\n entries.push(entry);\n ot.lastReportedSize = calculateBoxSize(ot.target, ot.observedBox);\n\n if (targetDepth < shallowestDepth) {\n shallowestDepth = targetDepth;\n }\n });\n callbacks.push(function resizeObserverCallback() {\n ro.callback.call(ro.observer, entries, ro.observer);\n });\n ro.activeTargets.splice(0, ro.activeTargets.length);\n });\n\n for (var _i = 0, callbacks_1 = callbacks; _i < callbacks_1.length; _i++) {\n var callback = callbacks_1[_i];\n callback();\n }\n\n return shallowestDepth;\n};\n\nvar gatherActiveObservationsAtDepth = function gatherActiveObservationsAtDepth(depth) {\n resizeObservers.forEach(function processObserver(ro) {\n ro.activeTargets.splice(0, ro.activeTargets.length);\n ro.skippedTargets.splice(0, ro.skippedTargets.length);\n ro.observationTargets.forEach(function processTarget(ot) {\n if (ot.isActive()) {\n if (calculateDepthForNode(ot.target) > depth) {\n ro.activeTargets.push(ot);\n } else {\n ro.skippedTargets.push(ot);\n }\n }\n });\n });\n};\n\nvar process = function process() {\n var depth = 0;\n gatherActiveObservationsAtDepth(depth);\n\n while (hasActiveObservations()) {\n depth = broadcastActiveObservations();\n gatherActiveObservationsAtDepth(depth);\n }\n\n if (hasSkippedObservations()) {\n deliverResizeLoopError();\n }\n\n return depth > 0;\n};\n\nvar trigger;\nvar callbacks = [];\n\nvar notify = function notify() {\n return callbacks.splice(0).forEach(function (cb) {\n return cb();\n });\n};\n\nvar queueMicroTask = function queueMicroTask(callback) {\n if (!trigger) {\n var toggle_1 = 0;\n var el_1 = document.createTextNode('');\n var config = {\n characterData: true\n };\n new MutationObserver(function () {\n return notify();\n }).observe(el_1, config);\n\n trigger = function trigger() {\n el_1.textContent = \"\" + (toggle_1 ? toggle_1-- : toggle_1++);\n };\n }\n\n callbacks.push(callback);\n trigger();\n};\n\nvar queueResizeObserver = function queueResizeObserver(cb) {\n queueMicroTask(function ResizeObserver() {\n requestAnimationFrame(cb);\n });\n};\n\nvar watching = 0;\n\nvar isWatching = function isWatching() {\n return !!watching;\n};\n\nvar CATCH_PERIOD = 250;\nvar observerConfig = {\n attributes: true,\n characterData: true,\n childList: true,\n subtree: true\n};\nvar events = ['resize', 'load', 'transitionend', 'animationend', 'animationstart', 'animationiteration', 'keyup', 'keydown', 'mouseup', 'mousedown', 'mouseover', 'mouseout', 'blur', 'focus'];\n\nvar time = function time(timeout) {\n if (timeout === void 0) {\n timeout = 0;\n }\n\n return Date.now() + timeout;\n};\n\nvar scheduled = false;\n\nvar Scheduler = function () {\n function Scheduler() {\n var _this = this;\n\n this.stopped = true;\n\n this.listener = function () {\n return _this.schedule();\n };\n }\n\n Scheduler.prototype.run = function (timeout) {\n var _this = this;\n\n if (timeout === void 0) {\n timeout = CATCH_PERIOD;\n }\n\n if (scheduled) {\n return;\n }\n\n scheduled = true;\n var until = time(timeout);\n queueResizeObserver(function () {\n var elementsHaveResized = false;\n\n try {\n elementsHaveResized = process();\n } finally {\n scheduled = false;\n timeout = until - time();\n\n if (!isWatching()) {\n return;\n }\n\n if (elementsHaveResized) {\n _this.run(1000);\n } else if (timeout > 0) {\n _this.run(timeout);\n } else {\n _this.start();\n }\n }\n });\n };\n\n Scheduler.prototype.schedule = function () {\n this.stop();\n this.run();\n };\n\n Scheduler.prototype.observe = function () {\n var _this = this;\n\n var cb = function cb() {\n return _this.observer && _this.observer.observe(document.body, observerConfig);\n };\n\n document.body ? cb() : global.addEventListener('DOMContentLoaded', cb);\n };\n\n Scheduler.prototype.start = function () {\n var _this = this;\n\n if (this.stopped) {\n this.stopped = false;\n this.observer = new MutationObserver(this.listener);\n this.observe();\n events.forEach(function (name) {\n return global.addEventListener(name, _this.listener, true);\n });\n }\n };\n\n Scheduler.prototype.stop = function () {\n var _this = this;\n\n if (!this.stopped) {\n this.observer && this.observer.disconnect();\n events.forEach(function (name) {\n return global.removeEventListener(name, _this.listener, true);\n });\n this.stopped = true;\n }\n };\n\n return Scheduler;\n}();\n\nvar scheduler = new Scheduler();\n\nvar updateCount = function updateCount(n) {\n !watching && n > 0 && scheduler.start();\n watching += n;\n !watching && scheduler.stop();\n};\n\nvar skipNotifyOnElement = function skipNotifyOnElement(target) {\n return !isSVG(target) && !isReplacedElement(target) && getComputedStyle(target).display === 'inline';\n};\n\nvar ResizeObservation = function () {\n function ResizeObservation(target, observedBox) {\n this.target = target;\n this.observedBox = observedBox || ResizeObserverBoxOptions.CONTENT_BOX;\n this.lastReportedSize = {\n inlineSize: 0,\n blockSize: 0\n };\n }\n\n ResizeObservation.prototype.isActive = function () {\n var size = calculateBoxSize(this.target, this.observedBox, true);\n\n if (skipNotifyOnElement(this.target)) {\n this.lastReportedSize = size;\n }\n\n if (this.lastReportedSize.inlineSize !== size.inlineSize || this.lastReportedSize.blockSize !== size.blockSize) {\n return true;\n }\n\n return false;\n };\n\n return ResizeObservation;\n}();\n\nvar ResizeObserverDetail = function () {\n function ResizeObserverDetail(resizeObserver, callback) {\n this.activeTargets = [];\n this.skippedTargets = [];\n this.observationTargets = [];\n this.observer = resizeObserver;\n this.callback = callback;\n }\n\n return ResizeObserverDetail;\n}();\n\nvar observerMap = new WeakMap();\n\nvar getObservationIndex = function getObservationIndex(observationTargets, target) {\n for (var i = 0; i < observationTargets.length; i += 1) {\n if (observationTargets[i].target === target) {\n return i;\n }\n }\n\n return -1;\n};\n\nvar ResizeObserverController = function () {\n function ResizeObserverController() {}\n\n ResizeObserverController.connect = function (resizeObserver, callback) {\n var detail = new ResizeObserverDetail(resizeObserver, callback);\n observerMap.set(resizeObserver, detail);\n };\n\n ResizeObserverController.observe = function (resizeObserver, target, options) {\n var detail = observerMap.get(resizeObserver);\n var firstObservation = detail.observationTargets.length === 0;\n\n if (getObservationIndex(detail.observationTargets, target) < 0) {\n firstObservation && resizeObservers.push(detail);\n detail.observationTargets.push(new ResizeObservation(target, options && options.box));\n updateCount(1);\n scheduler.schedule();\n }\n };\n\n ResizeObserverController.unobserve = function (resizeObserver, target) {\n var detail = observerMap.get(resizeObserver);\n var index = getObservationIndex(detail.observationTargets, target);\n var lastObservation = detail.observationTargets.length === 1;\n\n if (index >= 0) {\n lastObservation && resizeObservers.splice(resizeObservers.indexOf(detail), 1);\n detail.observationTargets.splice(index, 1);\n updateCount(-1);\n }\n };\n\n ResizeObserverController.disconnect = function (resizeObserver) {\n var _this = this;\n\n var detail = observerMap.get(resizeObserver);\n detail.observationTargets.slice().forEach(function (ot) {\n return _this.unobserve(resizeObserver, ot.target);\n });\n detail.activeTargets.splice(0, detail.activeTargets.length);\n };\n\n return ResizeObserverController;\n}();\n\nvar ResizeObserver = function () {\n function ResizeObserver(callback) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n\n if (typeof callback !== 'function') {\n throw new TypeError(\"Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.\");\n }\n\n ResizeObserverController.connect(this, callback);\n }\n\n ResizeObserver.prototype.observe = function (target, options) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n\n if (!isElement(target)) {\n throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n }\n\n ResizeObserverController.observe(this, target, options);\n };\n\n ResizeObserver.prototype.unobserve = function (target) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n\n if (!isElement(target)) {\n throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n }\n\n ResizeObserverController.unobserve(this, target);\n };\n\n ResizeObserver.prototype.disconnect = function () {\n ResizeObserverController.disconnect(this);\n };\n\n ResizeObserver.toString = function () {\n return 'function ResizeObserver () { [polyfill code] }';\n };\n\n return ResizeObserver;\n}();\n\nexport { ResizeObserver, ResizeObserverEntry, ResizeObserverSize };\n"],"sourceRoot":""}
dist/analytics/0.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ *
3
+ * Presto Player
4
+ *
5
+ * @author Presto Made, Inc
6
+ * @version 0.1.0
7
+ * @link undefined
8
+ * @license GPL
9
+ *
10
+ * Copyright (c) 2021 Presto Made, Inc
11
+ *
12
+ * This software is released under the GPL License
13
+ * https://opensource.org/licenses/GPL
14
+ *
15
+ * Compiled with the help of https://wpack.io
16
+ * A zero setup Webpack Bundler Script for WordPress
17
+ */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[0],{27:function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeObserver",(function(){return V})),n.d(t,"ResizeObserverEntry",(function(){return m})),n.d(t,"ResizeObserverSize",(function(){return c}));var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,a(this)},u=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,a(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),h=function(e){return e instanceof SVGElement&&"getBBox"in e},f=function(e){if(h(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},d=function(e){var t,n;if(e instanceof Element)return!0;var r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},v="undefined"!=typeof window?window:{},p=new WeakMap,l=/auto|scroll/,g=/^tb|vertical/,b=/msie|trident/i.test(v.navigator&&v.navigator.userAgent),w=function(e){return parseFloat(e||"0")},E=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},x=a({devicePixelContentBoxSize:E(),borderBoxSize:E(),contentBoxSize:E(),contentRect:new u(0,0,0,0)}),y=function(e,t){if(void 0===t&&(t=!1),p.has(e)&&!t)return p.get(e);if(f(e))return p.set(e,x),x;var n=getComputedStyle(e),r=h(e)&&e.ownerSVGElement&&e.getBBox(),i=!b&&"border-box"===n.boxSizing,o=g.test(n.writingMode||""),s=!r&&l.test(n.overflowY||""),c=!r&&l.test(n.overflowX||""),d=r?0:w(n.paddingTop),v=r?0:w(n.paddingRight),y=r?0:w(n.paddingBottom),T=r?0:w(n.paddingLeft),m=r?0:w(n.borderTopWidth),z=r?0:w(n.borderRightWidth),S=r?0:w(n.borderBottomWidth),B=T+v,O=d+y,R=(r?0:w(n.borderLeftWidth))+z,k=m+S,C=c?e.offsetHeight-k-e.clientHeight:0,N=s?e.offsetWidth-R-e.clientWidth:0,D=i?B+R:0,P=i?O+k:0,M=r?r.width:w(n.width)-D-N,_=r?r.height:w(n.height)-P-C,F=M+B+N+R,I=_+O+C+k,L=a({devicePixelContentBoxSize:E(Math.round(M*devicePixelRatio),Math.round(_*devicePixelRatio),o),borderBoxSize:E(F,I,o),contentBoxSize:E(M,_,o),contentRect:new u(T,d,M,_)});return p.set(e,L),L},T=function(e,t,n){var i=y(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},m=function(e){var t=y(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=a([t.borderBoxSize]),this.contentBoxSize=a([t.contentBoxSize]),this.devicePixelContentBoxSize=a([t.devicePixelContentBoxSize])},z=function(e){if(f(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},S=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new m(t.target),i=z(t.target);r.push(n),t.lastReportedSize=T(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},B=function(e){i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(z(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},O=function(){var e,t=0;for(B(t);i.some((function(e){return e.activeTargets.length>0}));)t=S(),B(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0},R=[],k=function(e){if(!s){var t=0,n=document.createTextNode("");new MutationObserver((function(){return R.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),s=function(){n.textContent=""+(t?t--:t++)}}R.push(e),s()},C=0,N={attributes:!0,characterData:!0,childList:!0,subtree:!0},D=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],P=function(e){return void 0===e&&(e=0),Date.now()+e},M=!1,_=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!M){M=!0;var n,r=P(e);n=function(){var n=!1;try{n=O()}finally{if(M=!1,e=r-P(),!C)return;n?t.run(1e3):e>0?t.run(e):t.start()}},k((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,N)};document.body?t():v.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),D.forEach((function(t){return v.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),D.forEach((function(t){return v.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),F=function(e){!C&&e>0&&_.start(),!(C+=e)&&_.stop()},I=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=T(this.target,this.observedBox,!0);return e=this.target,h(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),L=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},W=new WeakMap,X=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},A=function(){function e(){}return e.connect=function(e,t){var n=new L(e,t);W.set(e,n)},e.observe=function(e,t,n){var r=W.get(e),o=0===r.observationTargets.length;X(r.observationTargets,t)<0&&(o&&i.push(r),r.observationTargets.push(new I(t,n&&n.box)),F(1),_.schedule())},e.unobserve=function(e,t){var n=W.get(e),r=X(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),F(-1))},e.disconnect=function(e){var t=this,n=W.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),V=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");A.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");A.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");A.unobserve(this,e)},e.prototype.disconnect=function(){A.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()}}]);
19
+ //# sourceMappingURL=0.js.map
dist/analytics/0.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack:///analytics/0-58582772.js"],"names":["window","push","27","module","__webpack_exports__","__webpack_require__","r","d","ResizeObserver","ResizeObserverEntry","ResizeObserverSize","ResizeObserverBoxOptions","resizeObservers","msg","trigger","freeze","obj","Object","inlineSize","blockSize","this","DOMRectReadOnly","x","y","width","height","top","left","bottom","right","prototype","toJSON","_a","fromRect","rectangle","isSVG","target","SVGElement","isHidden","getBBox","_b","offsetWidth","offsetHeight","getClientRects","length","isElement","Element","scope","ownerDocument","defaultView","global","cache","WeakMap","scrollRegexp","verticalRegexp","IE","test","navigator","userAgent","parseDimension","pixel","parseFloat","size","switchSizes","zeroBoxes","devicePixelContentBoxSize","borderBoxSize","contentBoxSize","contentRect","calculateBoxSizes","forceRecalculation","has","get","set","cs","getComputedStyle","svg","ownerSVGElement","removePadding","boxSizing","writingMode","canScrollVertically","overflowY","canScrollHorizontally","overflowX","paddingTop","paddingRight","paddingBottom","paddingLeft","borderTop","borderTopWidth","borderRight","borderRightWidth","borderBottom","borderBottomWidth","horizontalPadding","verticalPadding","horizontalBorderArea","borderLeftWidth","verticalBorderArea","horizontalScrollbarThickness","clientHeight","verticalScrollbarThickness","clientWidth","widthReduction","heightReduction","contentWidth","contentHeight","borderBoxWidth","borderBoxHeight","boxes","Math","round","devicePixelRatio","calculateBoxSize","observedBox","DEVICE_PIXEL_CONTENT_BOX","BORDER_BOX","calculateDepthForNode","node","Infinity","depth","parent","parentNode","broadcastActiveObservations","shallowestDepth","callbacks","forEach","ro","activeTargets","entries","ot","entry","targetDepth","lastReportedSize","callback","call","observer","splice","_i","callbacks_1","gatherActiveObservationsAtDepth","skippedTargets","observationTargets","isActive","process","event","some","ErrorEvent","message","document","createEvent","initEvent","dispatchEvent","queueMicroTask","toggle_1","el_1","createTextNode","MutationObserver","cb","observe","characterData","textContent","watching","observerConfig","attributes","childList","subtree","events","time","timeout","Date","now","scheduled","scheduler","Scheduler","_this","stopped","listener","schedule","run","until","elementsHaveResized","start","requestAnimationFrame","stop","body","addEventListener","name","disconnect","removeEventListener","updateCount","n","ResizeObservation","CONTENT_BOX","tagName","type","isReplacedElement","display","ResizeObserverDetail","resizeObserver","observerMap","getObservationIndex","i","ResizeObserverController","connect","detail","options","firstObservation","box","unobserve","index","lastObservation","indexOf","slice","arguments","TypeError","toString"],"mappings":";;;;;;;;;;;;;;;;;CAiBCA,OAA0C,kCAAIA,OAA0C,mCAAK,IAAIC,KAAK,CAAC,CAAC,GAAG,CAEtGC,GACA,SAAUC,EAAQC,EAAqBC,GAE7C,aACAA,EAAoBC,EAAEF,GACSC,EAAoBE,EAAEH,EAAqB,kBAAkB,WAAa,OAAOI,KACjFH,EAAoBE,EAAEH,EAAqB,uBAAuB,WAAa,OAAOK,KACtFJ,EAAoBE,EAAEH,EAAqB,sBAAsB,WAAa,OAAOM,KACpH,IAAgpBC,EAA5oBC,EAAgB,GAA8RC,EAAI,iEAAmX,SAAUF,GAA0BA,EAAqC,WAAE,aAAaA,EAAsC,YAAE,cAAcA,EAAmD,yBAAE,2BAAnM,CAAiOA,IAA2BA,EAAyB,KAAK,IAA8tOG,EAA1tOC,EAAO,SAAgBC,GAAK,OAAOC,OAAOF,OAAOC,IAAWN,EAA8B,SAA4BQ,EAAWC,GAAWC,KAAKF,WAAWA,EAAWE,KAAKD,UAAUA,EAAUJ,EAAOK,OAAyCC,EAAgB,WAAW,SAASA,EAAgBC,EAAEC,EAAEC,EAAMC,GAAgK,OAAxJL,KAAKE,EAAEA,EAAEF,KAAKG,EAAEA,EAAEH,KAAKI,MAAMA,EAAMJ,KAAKK,OAAOA,EAAOL,KAAKM,IAAIN,KAAKG,EAAEH,KAAKO,KAAKP,KAAKE,EAAEF,KAAKQ,OAAOR,KAAKM,IAAIN,KAAKK,OAAOL,KAAKS,MAAMT,KAAKO,KAAKP,KAAKI,MAAaT,EAAOK,MAAiY,OAA1XC,EAAgBS,UAAUC,OAAO,WAAW,IAAIC,EAAGZ,KAA2G,MAAM,CAACE,EAA3GU,EAAGV,EAA4GC,EAAxG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0DjN,EAA7yC","file":"analytics/0.js","sourceRoot":""}
dist/analytics/{4-10d614d7.js → 4-09dbea44.js} RENAMED
@@ -15,5 +15,5 @@
15
  * Compiled with the help of https://wpack.io
16
  * A zero setup Webpack Bundler Script for WordPress
17
  */
18
- (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[4],{51:function(e,n,t){"use strict";t.r(n);var o=t(24);n.default=function(e){var n=e.config,t=e.selector,r=e.src,a=e.preload;return new Promise((function(e,i){if(window.Hls){if(window.Hls.isSupported()){var l,s=!["metadata","none"].includes(a);null!==(l=wp)&&void 0!==l&&l.blocks&&(s=!0);var u=new window.Hls({autoStartLoad:s});return u.loadSource(r),u.on(window.Hls.Events.LEVEL_SWITCHED,(function(e,n){var o=t.closest(".presto-player__wrapper").querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");u.autoLevelEnabled?o.innerHTML="AUTO (".concat(u.levels[n.level].height,"p)"):o.innerHTML="AUTO"})),void u.on(window.Hls.Events.MANIFEST_PARSED,(function(r,a){var i=u.levels.map((function(e){return e.height}));i.unshift(0);var l=i.findIndex((function(e){var n;return e===parseInt(null===(n=prestoPlayer)||void 0===n?void 0:n.hls_start_level)}));u.startLevel=l?l-1:2,n.quality={default:0,options:i,forced:!0,onChange:function(e){0===e?prestoHLS.currentLevel=-1:prestoHLS.levels.forEach((function(n,t){n.height===e&&(console.log("Found quality match with "+e),prestoHLS.currentLevel=t)}))}},u.attachMedia(t),window.prestoHLS=u;var s=new o.a(t,Object(o.b)({},n));s.hls=u;return s.on("waiting",(function e(){u.startLoad(-1),s.off("waiting",e)})),s.on("languagechange",(function(){setTimeout((function(){return u.subtitleTrack=s.currentTrack}),50)})),e(s)}))}return e(new o.a(t,Object(o.b)({},n)))}}))}}}]);
19
- //# sourceMappingURL=4-10d614d7.js.map
15
  * Compiled with the help of https://wpack.io
16
  * A zero setup Webpack Bundler Script for WordPress
17
  */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[4],{52:function(e,n,t){"use strict";t.r(n);var o=t(26);n.default=function(e){var n=e.config,t=e.selector,r=e.src,a=e.preload;return new Promise((function(e,i){if(window.Hls){if(window.Hls.isSupported()){var l,s=!["metadata","none"].includes(a);null!==(l=wp)&&void 0!==l&&l.blocks&&(s=!0);var u=new window.Hls({autoStartLoad:s});return u.loadSource(r),u.on(window.Hls.Events.LEVEL_SWITCHED,(function(e,n){var o=t.closest(".presto-player__wrapper").querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");u.autoLevelEnabled?o.innerHTML="AUTO (".concat(u.levels[n.level].height,"p)"):o.innerHTML="AUTO"})),void u.on(window.Hls.Events.MANIFEST_PARSED,(function(r,a){var i=u.levels.map((function(e){return e.height}));i.unshift(0);var l=i.findIndex((function(e){var n;return e===parseInt(null===(n=prestoPlayer)||void 0===n?void 0:n.hls_start_level)}));u.startLevel=l?l-1:2,n.quality={default:0,options:i,forced:!0,onChange:function(e){0===e?prestoHLS.currentLevel=-1:prestoHLS.levels.forEach((function(n,t){n.height===e&&(console.log("Found quality match with "+e),prestoHLS.currentLevel=t)}))}},u.attachMedia(t),window.prestoHLS=u;var s=new o.a(t,Object(o.b)({},n));s.hls=u;return s.on("waiting",(function e(){u.startLoad(-1),s.off("waiting",e)})),s.on("languagechange",(function(){setTimeout((function(){return u.subtitleTrack=s.currentTrack}),50)})),e(s)}))}return e(new o.a(t,Object(o.b)({},n)))}}))}}}]);
19
+ //# sourceMappingURL=4-09dbea44.js.map
dist/analytics/4-09dbea44.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack:///./packages/components/dist/custom-elements/hls.js"],"names":["hls","_ref","config","selector","src","preload","Promise","resolve","reject","window","Hls","isSupported","_wp","autoStartLoad","includes","wp","blocks","loadSource","on","Events","LEVEL_SWITCHED","event","data","span","closest","querySelector","autoLevelEnabled","innerHTML","concat","levels","level","height","MANIFEST_PARSED","availableQualities","map","l","unshift","startLevel","findIndex","qty","_prestoPlayer","parseInt","prestoPlayer","hls_start_level","quality","default","options","forced","onChange","newQuality","prestoHLS","currentLevel","forEach","levelIndex","console","log","attachMedia","player","PrestoPlayer","_objectSpread2","firstPlay","startLoad","off","setTimeout","subtitleTrack","currentTrack"],"mappings":";;;;;;;;;;;;;;;;;mIAAA,mBAsGeA,UApGF,SAAUC,GACrB,IAAIC,EAASD,EAAKC,OACdC,EAAWF,EAAKE,SAChBC,EAAMH,EAAKG,IACXC,EAAUJ,EAAKI,QACnB,OAAO,IAAIC,SAAQ,SAAUC,EAASC,GACpC,GAAKC,OAAOC,IAAZ,CAIA,GAAID,OAAOC,IAAIC,cAAe,CAC5B,IAAIC,EAGAC,GAAiB,CAAC,WAAY,QAAQC,SAAST,GAEhC,QAAdO,EAAMG,UAAwB,IAARH,GAAkBA,EAAII,SAC/CH,GAAgB,GAIlB,IAAIb,EAAM,IAAIS,OAAOC,IAAI,CACvBG,cAAeA,IAuEjB,OArEAb,EAAIiB,WAAWb,GAEfJ,EAAIkB,GAAGT,OAAOC,IAAIS,OAAOC,gBAAgB,SAAUC,EAAOC,GACxD,IAAIC,EAAOpB,EAASqB,QAAQ,2BAA2BC,cAAc,gEAEjEzB,EAAI0B,iBACNH,EAAKI,UAAY,SAASC,OAAO5B,EAAI6B,OAAOP,EAAKQ,OAAOC,OAAQ,MAEhER,EAAKI,UAAY,eAMrB3B,EAAIkB,GAAGT,OAAOC,IAAIS,OAAOa,iBAAiB,SAAUX,EAAOC,GAEzD,IAAIW,EAAqBjC,EAAI6B,OAAOK,KAAI,SAAUC,GAChD,OAAOA,EAAEJ,UAEXE,EAAmBG,QAAQ,GAG3B,IAAIC,EAAaJ,EAAmBK,WAAU,SAAUC,GACtD,IAAIC,EAEJ,OAAOD,IAAQE,SAA4C,QAAlCD,EAAgBE,oBAA4C,IAAlBF,OAA2B,EAASA,EAAcG,oBAEvH3C,EAAIqC,WAAaA,EAAaA,EAAa,EAAI,EAE/CnC,EAAO0C,QAAU,CACfC,QAAS,EACTC,QAASb,EAETc,QAAQ,EACRC,SAAU,SAAkBC,GACP,IAAfA,EACFC,UAAUC,cAAgB,EAE1BD,UAAUrB,OAAOuB,SAAQ,SAAUtB,EAAOuB,GACpCvB,EAAMC,SAAWkB,IACnBK,QAAQC,IAAI,4BAA8BN,GAC1CC,UAAUC,aAAeE,QAOnCrD,EAAIwD,YAAYrD,GAChBM,OAAOyC,UAAYlD,EAEnB,IAAIyD,EAAS,IAAIC,IAAavD,EAAUwD,YAAe,GAAIzD,IAC3DuD,EAAOzD,IAAMA,EAeb,OARAyD,EAAOvC,GAAG,WALM,SAAS0C,IACvB5D,EAAI6D,WAAW,GACfJ,EAAOK,IAAI,UAAWF,MAKxBH,EAAOvC,GAAG,kBAAkB,WAE1B6C,YAAW,WACT,OAAO/D,EAAIgE,cAAgBP,EAAOQ,eACjC,OAEE1D,EAAQkD,MAKnB,OAAOlD,EAAQ,IAAImD,IAAavD,EAAUwD,YAAe,GAAIzD","file":"analytics/4-09dbea44.js","sourcesContent":["import { P as PrestoPlayer, _ as _objectSpread2 } from './index.js';\n\nconst hls = (function (_ref) {\n var config = _ref.config,\n selector = _ref.selector,\n src = _ref.src,\n preload = _ref.preload;\n return new Promise(function (resolve, reject) {\n if (!window.Hls) {\n return;\n }\n\n if (window.Hls.isSupported()) {\n var _wp;\n\n // should we autoload start\n var autoStartLoad = !['metadata', 'none'].includes(preload); // always autoload in admin for preview\n\n if ((_wp = wp) !== null && _wp !== void 0 && _wp.blocks) {\n autoStartLoad = true;\n } // maybe don't auto start load depending on performance parameter\n\n\n var hls = new window.Hls({\n autoStartLoad: autoStartLoad\n });\n hls.loadSource(src); // update menu container to dynamically display quality\n\n hls.on(window.Hls.Events.LEVEL_SWITCHED, function (event, data) {\n var span = selector.closest('.presto-player__wrapper').querySelector(\".plyr__menu__container [data-plyr='quality'][value='0'] span\");\n\n if (hls.autoLevelEnabled) {\n span.innerHTML = \"AUTO (\".concat(hls.levels[data.level].height, \"p)\");\n } else {\n span.innerHTML = \"AUTO\";\n }\n }); // From the m3u8 playlist, hls parses the manifest and returns\n // all available video qualities. This is important, in this approach,\n // we will have one source on the Plyr player.\n\n hls.on(window.Hls.Events.MANIFEST_PARSED, function (event, data) {\n // Transform available levels into an array of integers (height values).\n var availableQualities = hls.levels.map(function (l) {\n return l.height;\n });\n availableQualities.unshift(0); //prepend 0 to quality array;\n // do start level\n\n var startLevel = availableQualities.findIndex(function (qty) {\n var _prestoPlayer;\n\n return qty === parseInt((_prestoPlayer = prestoPlayer) === null || _prestoPlayer === void 0 ? void 0 : _prestoPlayer.hls_start_level);\n });\n hls.startLevel = startLevel ? startLevel - 1 : 2; // Add new qualities to option\n\n config.quality = {\n default: 0,\n options: availableQualities,\n // this ensures Plyr to use Hls to update quality level\n forced: true,\n onChange: function onChange(newQuality) {\n if (newQuality === 0) {\n prestoHLS.currentLevel = -1; //Enable AUTO quality if option.value = 0\n } else {\n prestoHLS.levels.forEach(function (level, levelIndex) {\n if (level.height === newQuality) {\n console.log('Found quality match with ' + newQuality);\n prestoHLS.currentLevel = levelIndex;\n }\n });\n }\n }\n }; // attach media and make our HLS options available globally\n\n hls.attachMedia(selector);\n window.prestoHLS = hls; // Initialize player\n\n var player = new PrestoPlayer(selector, _objectSpread2({}, config));\n player.hls = hls; // make sure we start loading on the first play\n\n var firstPlay = function firstPlay() {\n hls.startLoad(-1);\n player.off('waiting', firstPlay);\n };\n\n player.on('waiting', firstPlay); // Handle changing captions\n\n player.on('languagechange', function () {\n // Caption support is still flaky. See: https://github.com/sampotts/plyr/issues/994\n setTimeout(function () {\n return hls.subtitleTrack = player.currentTrack;\n }, 50);\n });\n return resolve(player);\n });\n return;\n }\n\n return resolve(new PrestoPlayer(selector, _objectSpread2({}, config)));\n });\n});\n\nexport default hls;\n"],"sourceRoot":""}
dist/analytics/4-10d614d7.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack:///./node_modules/@presto-player/components/dist/custom-elements/hls.js"],"names":["_ref","config","selector","src","preload","Promise","resolve","reject","window","Hls","isSupported","_wp","autoStartLoad","includes","wp","blocks","hls","loadSource","on","Events","LEVEL_SWITCHED","event","data","span","closest","querySelector","autoLevelEnabled","innerHTML","concat","levels","level","height","MANIFEST_PARSED","availableQualities","map","l","unshift","startLevel","findIndex","qty","_prestoPlayer","parseInt","prestoPlayer","hls_start_level","quality","default","options","forced","onChange","newQuality","prestoHLS","currentLevel","forEach","levelIndex","console","log","attachMedia","player","firstPlay","startLoad","off","setTimeout","subtitleTrack","currentTrack"],"mappings":";;;;;;;;;;;;;;;;;mIAAA,mBAkBuM,UAlBjI,SAAaA,GAAM,IAAIC,EAAOD,EAAKC,OAAOC,EAASF,EAAKE,SAASC,EAAIH,EAAKG,IAAIC,EAAQJ,EAAKI,QAAQ,OAAO,IAAIC,SAAQ,SAASC,EAAQC,GAAQ,GAAIC,OAAOC,IAAX,CAAwB,GAAGD,OAAOC,IAAIC,cAAc,CAAC,IAAIC,EAC1QC,GAAe,CAAC,WAAW,QAAQC,SAAST,GAClC,QAAVO,EAAIG,UAAkB,IAANH,GAAcA,EAAII,SAAQH,GAAc,GAC5D,IAAII,EAAI,IAAIR,OAAOC,IAAI,CAACG,cAAcA,IAegE,OAfhDI,EAAIC,WAAWd,GACrEa,EAAIE,GAAGV,OAAOC,IAAIU,OAAOC,gBAAe,SAASC,EAAMC,GAAM,IAAIC,EAAKrB,EAASsB,QAAQ,2BAA2BC,cAAc,gEAAmET,EAAIU,iBAAkBH,EAAKI,UAAU,SAASC,OAAOZ,EAAIa,OAAOP,EAAKQ,OAAOC,OAAO,MAAYR,EAAKI,UAAU,eAGjTX,EAAIE,GAAGV,OAAOC,IAAIU,OAAOa,iBAAgB,SAASX,EAAMC,GACxD,IAAIW,EAAmBjB,EAAIa,OAAOK,KAAI,SAASC,GAAG,OAAOA,EAAEJ,UAAUE,EAAmBG,QAAQ,GAEhG,IAAIC,EAAWJ,EAAmBK,WAAU,SAASC,GAAK,IAAIC,EAAc,OAAOD,IAAME,SAAwC,QAA9BD,EAAcE,oBAAsC,IAAhBF,OAAuB,EAAOA,EAAcG,oBAAoB3B,EAAIqB,WAAWA,EAAWA,EAAW,EAAE,EAC9OpC,EAAO2C,QAAQ,CAACC,QAAQ,EAAEC,QAAQb,EAClCc,QAAO,EAAKC,SAAS,SAAkBC,GAA4B,IAAbA,EAAgBC,UAAUC,cAAc,EACxFD,UAAUrB,OAAOuB,SAAQ,SAAStB,EAAMuB,GAAevB,EAAMC,SAASkB,IAAYK,QAAQC,IAAI,4BAA4BN,GAAYC,UAAUC,aAAaE,QACnKrC,EAAIwC,YAAYtD,GAAUM,OAAO0C,UAAUlC,EAC3C,IAAIyC,EAAO,IAAI,IAAavD,EAAS,YAAe,GAAGD,IAASwD,EAAOzC,IAAIA,EAGC,OAFWyC,EAAOvC,GAAG,WAAnF,SAASwC,IAAY1C,EAAI2C,WAAW,GAAGF,EAAOG,IAAI,UAAUF,MAC1ED,EAAOvC,GAAG,kBAAiB,WAC3B2C,YAAW,WAAW,OAAO7C,EAAI8C,cAAcL,EAAOM,eAAe,OAAczD,EAAQmD,MAAmB,OAAOnD,EAAQ,IAAI,IAAaJ,EAAS,YAAe,GAAGD","file":"analytics/4-10d614d7.js","sourcesContent":["import{P as PrestoPlayer,_ as _objectSpread2}from'./index.js';var hls=function hls(_ref){var config=_ref.config,selector=_ref.selector,src=_ref.src,preload=_ref.preload;return new Promise(function(resolve,reject){if(!window.Hls){return;}if(window.Hls.isSupported()){var _wp;// should we autoload start\nvar autoStartLoad=!['metadata','none'].includes(preload);// always autoload in admin for preview\nif((_wp=wp)!==null&&_wp!==void 0&&_wp.blocks){autoStartLoad=true;}// maybe don't auto start load depending on performance parameter\nvar hls=new window.Hls({autoStartLoad:autoStartLoad});hls.loadSource(src);// update menu container to dynamically display quality\nhls.on(window.Hls.Events.LEVEL_SWITCHED,function(event,data){var span=selector.closest('.presto-player__wrapper').querySelector(\".plyr__menu__container [data-plyr='quality'][value='0'] span\");if(hls.autoLevelEnabled){span.innerHTML=\"AUTO (\".concat(hls.levels[data.level].height,\"p)\");}else{span.innerHTML=\"AUTO\";}});// From the m3u8 playlist, hls parses the manifest and returns\n// all available video qualities. This is important, in this approach,\n// we will have one source on the Plyr player.\nhls.on(window.Hls.Events.MANIFEST_PARSED,function(event,data){// Transform available levels into an array of integers (height values).\nvar availableQualities=hls.levels.map(function(l){return l.height;});availableQualities.unshift(0);//prepend 0 to quality array;\n// do start level\nvar startLevel=availableQualities.findIndex(function(qty){var _prestoPlayer;return qty===parseInt((_prestoPlayer=prestoPlayer)===null||_prestoPlayer===void 0?void 0:_prestoPlayer.hls_start_level);});hls.startLevel=startLevel?startLevel-1:2;// Add new qualities to option\nconfig.quality={default:0,options:availableQualities,// this ensures Plyr to use Hls to update quality level\nforced:true,onChange:function onChange(newQuality){if(newQuality===0){prestoHLS.currentLevel=-1;//Enable AUTO quality if option.value = 0\n}else{prestoHLS.levels.forEach(function(level,levelIndex){if(level.height===newQuality){console.log('Found quality match with '+newQuality);prestoHLS.currentLevel=levelIndex;}});}}};// attach media and make our HLS options available globally\nhls.attachMedia(selector);window.prestoHLS=hls;// Initialize player\nvar player=new PrestoPlayer(selector,_objectSpread2({},config));player.hls=hls;// make sure we start loading on the first play\nvar firstPlay=function firstPlay(){hls.startLoad(-1);player.off('waiting',firstPlay);};player.on('waiting',firstPlay);// Handle changing captions\nplayer.on('languagechange',function(){// Caption support is still flaky. See: https://github.com/sampotts/plyr/issues/994\nsetTimeout(function(){return hls.subtitleTrack=player.currentTrack;},50);});return resolve(player);});return;}return resolve(new PrestoPlayer(selector,_objectSpread2({},config)));});};export default hls;"],"sourceRoot":""}
 
dist/analytics/4.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ *
3
+ * Presto Player
4
+ *
5
+ * @author Presto Made, Inc
6
+ * @version 0.1.0
7
+ * @link undefined
8
+ * @license GPL
9
+ *
10
+ * Copyright (c) 2021 Presto Made, Inc
11
+ *
12
+ * This software is released under the GPL License
13
+ * https://opensource.org/licenses/GPL
14
+ *
15
+ * Compiled with the help of https://wpack.io
16
+ * A zero setup Webpack Bundler Script for WordPress
17
+ */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[4],{52:function(e,n,t){"use strict";t.r(n);var o=t(26);n.default=function(e){var n=e.config,t=e.selector,r=e.src,a=e.preload;return new Promise((function(e,i){if(window.Hls){if(window.Hls.isSupported()){var l,s=!["metadata","none"].includes(a);null!==(l=wp)&&void 0!==l&&l.blocks&&(s=!0);var u=new window.Hls({autoStartLoad:s});return u.loadSource(r),u.on(window.Hls.Events.LEVEL_SWITCHED,(function(e,n){var o=t.closest(".presto-player__wrapper").querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");u.autoLevelEnabled?o.innerHTML="AUTO (".concat(u.levels[n.level].height,"p)"):o.innerHTML="AUTO"})),void u.on(window.Hls.Events.MANIFEST_PARSED,(function(r,a){var i=u.levels.map((function(e){return e.height}));i.unshift(0);var l=i.findIndex((function(e){var n;return e===parseInt(null===(n=prestoPlayer)||void 0===n?void 0:n.hls_start_level)}));u.startLevel=l?l-1:2,n.quality={default:0,options:i,forced:!0,onChange:function(e){0===e?prestoHLS.currentLevel=-1:prestoHLS.levels.forEach((function(n,t){n.height===e&&(console.log("Found quality match with "+e),prestoHLS.currentLevel=t)}))}},u.attachMedia(t),window.prestoHLS=u;var s=new o.a(t,Object(o.b)({},n));s.hls=u;return s.on("waiting",(function e(){u.startLoad(-1),s.off("waiting",e)})),s.on("languagechange",(function(){setTimeout((function(){return u.subtitleTrack=s.currentTrack}),50)})),e(s)}))}return e(new o.a(t,Object(o.b)({},n)))}}))}}}]);
19
+ //# sourceMappingURL=4.js.map
dist/analytics/4.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack:///analytics/4-09dbea44.js"],"names":["window","push","52","module","__webpack_exports__","__webpack_require__","r","_index_js__WEBPACK_IMPORTED_MODULE_0__","_ref","config","selector","src","preload","Promise","resolve","reject","Hls","isSupported","_wp","autoStartLoad","includes","wp","blocks","hls","loadSource","on","Events","LEVEL_SWITCHED","event","data","span","closest","querySelector","autoLevelEnabled","innerHTML","concat","levels","level","height","MANIFEST_PARSED","availableQualities","map","l","unshift","startLevel","findIndex","qty","_prestoPlayer","parseInt","prestoPlayer","hls_start_level","quality","default","options","forced","onChange","newQuality","prestoHLS","currentLevel","forEach","levelIndex","console","log","attachMedia","player","Object","firstPlay","startLoad","off","setTimeout","subtitleTrack","currentTrack"],"mappings":";;;;;;;;;;;;;;;;;CAiBCA,OAA0C,kCAAIA,OAA0C,mCAAK,IAAIC,KAAK,CAAC,CAAC,GAAG,CAEtGC,GACA,SAAUC,EAAQC,EAAqBC,GAE7C,aACAA,EAAoBC,EAAEF,GACD,IAAIG,EAAyCF,EAAoB,IAmBmND,EAA6B,QAlB9T,SAAaI,GAAM,IAAIC,EAAOD,EAAKC,OAAOC,EAASF,EAAKE,SAASC,EAAIH,EAAKG,IAAIC,EAAQJ,EAAKI,QAAQ,OAAO,IAAIC,SAAQ,SAASC,EAAQC,GAAQ,GAAIf,OAAOgB,IAAX,CAAwB,GAAGhB,OAAOgB,IAAIC,cAAc,CAAC,IAAIC,EAC5MC,GAAe,CAAC,WAAW,QAAQC,SAASR,GAClC,QAAVM,EAAIG,UAAkB,IAANH,GAAcA,EAAII,SAAQH,GAAc,GAC5D,IAAII,EAAI,IAAIvB,OAAOgB,IAAI,CAACG,cAAcA,IAegE,OAfhDI,EAAIC,WAAWb,GACrEY,EAAIE,GAAGzB,OAAOgB,IAAIU,OAAOC,gBAAe,SAASC,EAAMC,GAAM,IAAIC,EAAKpB,EAASqB,QAAQ,2BAA2BC,cAAc,gEAAmET,EAAIU,iBAAkBH,EAAKI,UAAU,SAASC,OAAOZ,EAAIa,OAAOP,EAAKQ,OAAOC,OAAO,MAAYR,EAAKI,UAAU,eAGjTX,EAAIE,GAAGzB,OAAOgB,IAAIU,OAAOa,iBAAgB,SAASX,EAAMC,GACxD,IAAIW,EAAmBjB,EAAIa,OAAOK,KAAI,SAASC,GAAG,OAAOA,EAAEJ,UAAUE,EAAmBG,QAAQ,GAEhG,IAAIC,EAAWJ,EAAmBK,WAAU,SAASC,GAAK,IAAIC,EAAc,OAAOD,IAAME,SAAwC,QAA9BD,EAAcE,oBAAsC,IAAhBF,OAAuB,EAAOA,EAAcG,oBAAoB3B,EAAIqB,WAAWA,EAAWA,EAAW,EAAE,EAC9OnC,EAAO0C,QAAQ,CAACC,QAAQ,EAAEC,QAAQb,EAClCc,QAAO,EAAKC,SAAS,SAAkBC,GAA4B,IAAbA,EAAgBC,UAAUC,cAAc,EACxFD,UAAUrB,OAAOuB,SAAQ,SAAStB,EAAMuB,GAAevB,EAAMC,SAASkB,IAAYK,QAAQC,IAAI,4BAA4BN,GAAYC,UAAUC,aAAaE,QACnKrC,EAAIwC,YAAYrD,GAAUV,OAAOyD,UAAUlC,EAC3C,IAAIyC,EAAO,IAAIzD,EAAkD,EAAEG,EAASuD,OAAO1D,EAAkD,EAAzD0D,CAA4D,GAAGxD,IAASuD,EAAOzC,IAAIA,EAGnF,OAFWyC,EAAOvC,GAAG,WAAnF,SAASyC,IAAY3C,EAAI4C,WAAW,GAAGH,EAAOI,IAAI,UAAUF,MAC1EF,EAAOvC,GAAG,kBAAiB,WAC3B4C,YAAW,WAAW,OAAO9C,EAAI+C,cAAcN,EAAOO,eAAe,OAAczD,EAAQkD,MAAmB,OAAOlD,EAAQ,IAAIP,EAAkD,EAAEG,EAASuD,OAAO1D,EAAkD,EAAzD0D,CAA4D,GAAGxD","file":"analytics/4.js","sourceRoot":""}
dist/analytics/{5-15cfd722.js → 5-07bb6d25.js} RENAMED
@@ -15,5 +15,5 @@
15
  * Compiled with the help of https://wpack.io
16
  * A zero setup Webpack Bundler Script for WordPress
17
  */
18
- (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[5],{49:function(e,a,o){"use strict";o.r(a);var d=o(24);a.default=function(e){var a,o,s,i,_,r,t,l,n,v,p;if("undefined"!=typeof learndash_video_data&&"presto"===(null===(a=learndash_video_data)||void 0===a?void 0:a.videos_found_provider)){if(Object(d.d)(e),window.learndash_video_data.videos_auto_complete="on"===(null===(o=prestoPlayer)||void 0===o||null===(s=o.learndash)||void 0===s?void 0:s.lesson_video_auto_complete),window.learndash_video_data.videos_hide_complete_button="AFTER"===(null===(i=learndash_video_data)||void 0===i?void 0:i.videos_shown)&&"on"===(null===(_=prestoPlayer)||void 0===_||null===(r=_.learndash)||void 0===r?void 0:r.lesson_video_hide_complete_button),window.learndash_video_data.videos_auto_complete_delay=null===(t=prestoPlayer)||void 0===t||null===(l=t.learndash)||void 0===l?void 0:l.lesson_video_auto_complete_delay,window.learndash_video_data.videos_auto_complete_delay_message=null===(n=prestoPlayer)||void 0===n||null===(v=n.learndash)||void 0===v?void 0:v.videos_auto_complete_delay_message,window.learndash_video_data.video_track_path="/","BEFORE"===(null===(p=learndash_video_data)||void 0===p?void 0:p.videos_shown))return learndash_video_data.videos_auto_complete=!1,jQuery(document).trigger("learndash_video_disable_assets",[!0]),void jQuery((function(){"1"===learndash_video_data.video_debug&&console.log("PRESTO: init"),document.querySelectorAll('presto-player[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"]').length&&("1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(true)"),LearnDash_disable_assets(!0),LearnDash_watchPlayers(),document.querySelectorAll('presto-player[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"]').forEach((function(e,a){var o="presto-player__wrapper-player-"+a,d=e.getAttribute("id");void 0!==d&&""!=d||(d=o,e.setAttribute("id",d)),ld_video_players[o]={},ld_video_players[o].player_key=o,ld_video_players[o].player_type=learndash_video_data.videos_found_provider,ld_video_players[o].player_id=d,ld_video_players[o].player_wrapper=e.closest("presto-player"),void 0!==ld_video_players[o].player_wrapper?ld_video_players[o].player_cookie_key=ld_video_players[o].player_wrapper.getAttribute("data-video-cookie-key"):ld_video_players[o].player_cookie_key="",ld_video_players[o].player_cookie_values=LearnDash_Video_Progress_initSettings(ld_video_players[o]),"complete"===LearnDash_Video_Progress_getSetting(ld_video_players[o],"video_state")?(LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()):(wp.hooks.addAction("presto.playerTimeUpdate","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is playing"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_duration",e.duration),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),e.duration&&e.duration===e.currentTime&&(LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd())})),wp.hooks.addAction("presto.playerPlaying","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is playing"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_duration",e.duration),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","play")})),wp.hooks.addAction("presto.playerPause","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is paused"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),console.log(e.duration),console.log(e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","pause")})),wp.hooks.addAction("presto.playerEnded","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: video ended"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: setting 'video_state' to 'complete'"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()})))})))}));window.LearnDash_disable_assets(!0),wp.hooks.addAction("presto.playerEnded","presto-player",(function(){window.LearnDash_disable_assets(!1)}))}}}}]);
19
- //# sourceMappingURL=5-15cfd722.js.map
15
  * Compiled with the help of https://wpack.io
16
  * A zero setup Webpack Bundler Script for WordPress
17
  */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[5],{50:function(e,a,o){"use strict";o.r(a);var d=o(26);a.default=function(e){var a,o,s,i,_,r,t,l,n,v,p;if("undefined"!=typeof learndash_video_data&&"presto"===(null===(a=learndash_video_data)||void 0===a?void 0:a.videos_found_provider)){if(Object(d.d)(e),window.learndash_video_data.videos_auto_complete="on"===(null===(o=prestoPlayer)||void 0===o||null===(s=o.learndash)||void 0===s?void 0:s.lesson_video_auto_complete),window.learndash_video_data.videos_hide_complete_button="AFTER"===(null===(i=learndash_video_data)||void 0===i?void 0:i.videos_shown)&&"on"===(null===(_=prestoPlayer)||void 0===_||null===(r=_.learndash)||void 0===r?void 0:r.lesson_video_hide_complete_button),window.learndash_video_data.videos_auto_complete_delay=null===(t=prestoPlayer)||void 0===t||null===(l=t.learndash)||void 0===l?void 0:l.lesson_video_auto_complete_delay,window.learndash_video_data.videos_auto_complete_delay_message=null===(n=prestoPlayer)||void 0===n||null===(v=n.learndash)||void 0===v?void 0:v.videos_auto_complete_delay_message,window.learndash_video_data.video_track_path="/","BEFORE"===(null===(p=learndash_video_data)||void 0===p?void 0:p.videos_shown))return learndash_video_data.videos_auto_complete=!1,jQuery(document).trigger("learndash_video_disable_assets",[!0]),void jQuery((function(){"1"===learndash_video_data.video_debug&&console.log("PRESTO: init"),document.querySelectorAll('presto-player[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"]').length&&("1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(true)"),LearnDash_disable_assets(!0),LearnDash_watchPlayers(),document.querySelectorAll('presto-player[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"]').forEach((function(e,a){var o="presto-player__wrapper-player-"+a,d=e.getAttribute("id");void 0!==d&&""!=d||(d=o,e.setAttribute("id",d)),ld_video_players[o]={},ld_video_players[o].player_key=o,ld_video_players[o].player_type=learndash_video_data.videos_found_provider,ld_video_players[o].player_id=d,ld_video_players[o].player_wrapper=e.closest("presto-player"),void 0!==ld_video_players[o].player_wrapper?ld_video_players[o].player_cookie_key=ld_video_players[o].player_wrapper.getAttribute("data-video-cookie-key"):ld_video_players[o].player_cookie_key="",ld_video_players[o].player_cookie_values=LearnDash_Video_Progress_initSettings(ld_video_players[o]),"complete"===LearnDash_Video_Progress_getSetting(ld_video_players[o],"video_state")?(LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()):(wp.hooks.addAction("presto.playerTimeUpdate","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is playing"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_duration",e.duration),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),e.duration&&e.duration===e.currentTime&&(LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd())})),wp.hooks.addAction("presto.playerPlaying","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is playing"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_duration",e.duration),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","play")})),wp.hooks.addAction("presto.playerPause","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is paused"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),console.log(e.duration),console.log(e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","pause")})),wp.hooks.addAction("presto.playerEnded","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: video ended"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: setting 'video_state' to 'complete'"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()})))})))}));window.LearnDash_disable_assets(!0),wp.hooks.addAction("presto.playerEnded","presto-player",(function(){window.LearnDash_disable_assets(!1)}))}}}}]);
19
+ //# sourceMappingURL=5-07bb6d25.js.map
dist/analytics/5-07bb6d25.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack:///./packages/components/dist/custom-elements/learndash.js"],"names":["learndash","player","_learndash_video_data","_prestoPlayer","_prestoPlayer$learnda","_learndash_video_data2","_prestoPlayer2","_prestoPlayer2$learnd","_prestoPlayer3","_prestoPlayer3$learnd","_prestoPlayer4","_prestoPlayer4$learnd","_learndash_video_data3","learndash_video_data","videos_found_provider","resumeProgress","window","videos_auto_complete","prestoPlayer","lesson_video_auto_complete","videos_hide_complete_button","videos_shown","lesson_video_hide_complete_button","videos_auto_complete_delay","lesson_video_auto_complete_delay","videos_auto_complete_delay_message","video_track_path","jQuery","document","trigger","video_debug","console","log","querySelectorAll","length","LearnDash_disable_assets","LearnDash_watchPlayers","forEach","element","index","element_key","element_id","getAttribute","setAttribute","ld_video_players","closest","LearnDash_Video_Progress_initSettings","LearnDash_Video_Progress_getSetting","LearnDash_watchPlayersEnd","wp","hooks","addAction","LearnDash_Video_Progress_setSetting","duration","currentTime"],"mappings":";;;;;;;;;;;;;;;;;mIAAA,mBAgJeA,UA9II,SAAU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AcvC,EAAOqD,aACxFF,oCAAoCR,iBAAiBJ,GAAc,cAAe,WAGpFS,GAAGC,MAAMC,UAAU,qBAAsB,iBAAiB,SAAUlD,GACzB,MAArCY,qBAAqBiB,aACvBC,QAAQC,IAAI,2BAGdoB,oCAAoCR,iBAAiBJ,GAAc,aAAcvC,EAAOqD,aACxFvB,QAAQC,IAAI/B,EAAOoD,UACnBtB,QAAQC,IAAI/B,EAAOqD,aACnBF,oCAAoCR,iBAAiBJ,GAAc,cAAe,YAGpFS,GAAGC,MAAMC,UAAU,qBAAsB,iBAAiB,SAAUlD,GACzB,MAArCY,qBAAqBiB,aACvBC,QAAQC,IAAI,uBAG2B,MAArCnB,qBAAqBiB,aACvBC,QAAQC,IAAI,+CAGdoB,oCAAoCR,iBAAiBJ,GAAc,aAAcvC,EAAOqD,aACxFF,oCAAoCR,iBAAiBJ,GAAc,cAAe,YAEzC,MAArC3B,qBAAqBiB,aACvBC,QAAQC,IAAI,mDAGdG,0BAAyB,GAEzBa,uCAQVhC,OAAOmB,0BAAyB,GAChCc,GAAGC,MAAMC,UAAU,qBAAsB,iBAAiB,WACxDnC,OAAOmB,0BAAyB","file":"analytics/5-07bb6d25.js","sourcesContent":["import { r as resumeProgress } from './index.js';\n\nconst learndash = (function (player) {\n var _learndash_video_data, _prestoPlayer, _prestoPlayer$learnda, _learndash_video_data2, _prestoPlayer2, _prestoPlayer2$learnd, _prestoPlayer3, _prestoPlayer3$learnd, _prestoPlayer4, _prestoPlayer4$learnd, _learndash_video_data3;\n\n if (typeof learndash_video_data === 'undefined' || ((_learndash_video_data = learndash_video_data) === null || _learndash_video_data === void 0 ? void 0 : _learndash_video_data.videos_found_provider) !== 'presto') {\n return;\n }\n\n resumeProgress(player); // maybe resume progress\n // Learndash has this logic in a shitty method on their php class\n // we have to fake it here since we don't have access to it\n\n window.learndash_video_data.videos_auto_complete = ((_prestoPlayer = prestoPlayer) === null || _prestoPlayer === void 0 ? void 0 : (_prestoPlayer$learnda = _prestoPlayer.learndash) === null || _prestoPlayer$learnda === void 0 ? void 0 : _prestoPlayer$learnda.lesson_video_auto_complete) === 'on';\n window.learndash_video_data.videos_hide_complete_button = 'AFTER' === ((_learndash_video_data2 = learndash_video_data) === null || _learndash_video_data2 === void 0 ? void 0 : _learndash_video_data2.videos_shown) && ((_prestoPlayer2 = prestoPlayer) === null || _prestoPlayer2 === void 0 ? void 0 : (_prestoPlayer2$learnd = _prestoPlayer2.learndash) === null || _prestoPlayer2$learnd === void 0 ? void 0 : _prestoPlayer2$learnd.lesson_video_hide_complete_button) === 'on';\n window.learndash_video_data.videos_auto_complete_delay = (_prestoPlayer3 = prestoPlayer) === null || _prestoPlayer3 === void 0 ? void 0 : (_prestoPlayer3$learnd = _prestoPlayer3.learndash) === null || _prestoPlayer3$learnd === void 0 ? void 0 : _prestoPlayer3$learnd.lesson_video_auto_complete_delay;\n window.learndash_video_data.videos_auto_complete_delay_message = (_prestoPlayer4 = prestoPlayer) === null || _prestoPlayer4 === void 0 ? void 0 : (_prestoPlayer4$learnd = _prestoPlayer4.learndash) === null || _prestoPlayer4$learnd === void 0 ? void 0 : _prestoPlayer4$learnd.videos_auto_complete_delay_message; // Temporarily set the video track path to '/' to set the cookie globally\n\n window.learndash_video_data.video_track_path = '/'; // Learndash has this logic in a shitty method on their php class\n // we have to fake it here since we don't have access to it\n\n if ('BEFORE' === ((_learndash_video_data3 = learndash_video_data) === null || _learndash_video_data3 === void 0 ? void 0 : _learndash_video_data3.videos_shown)) {\n learndash_video_data.videos_auto_complete = false;\n jQuery(document).trigger('learndash_video_disable_assets', [true]); // Set learndash video players\n\n jQuery(function () {\n if (learndash_video_data.video_debug === '1') {\n console.log('PRESTO: init');\n }\n\n if (document.querySelectorAll('presto-player[data-video-progression=\"true\"][data-video-provider=\"' + learndash_video_data.videos_found_provider + '\"]').length) {\n if (learndash_video_data.video_debug === '1') {\n console.log('PRESTO: calling LearnDash_disable_assets(true)');\n } // Disable learndash assets and watch players.\n\n\n LearnDash_disable_assets(true);\n LearnDash_watchPlayers(); // Go through all the <presto-player> instances\n\n document.querySelectorAll('presto-player[data-video-progression=\"true\"][data-video-provider=\"' + learndash_video_data.videos_found_provider + '\"]').forEach(function (element, index) {\n var element_key = 'presto-player__wrapper-player-' + index;\n var element_id = element.getAttribute('id');\n\n if (typeof element_id === 'undefined' || element_id == '') {\n element_id = element_key;\n element.setAttribute('id', element_id);\n }\n\n ld_video_players[element_key] = {};\n ld_video_players[element_key]['player_key'] = element_key;\n ld_video_players[element_key]['player_type'] = learndash_video_data.videos_found_provider;\n ld_video_players[element_key]['player_id'] = element_id;\n ld_video_players[element_key]['player_wrapper'] = element.closest('presto-player');\n\n if (typeof ld_video_players[element_key]['player_wrapper'] !== 'undefined') {\n ld_video_players[element_key]['player_cookie_key'] = ld_video_players[element_key]['player_wrapper'].getAttribute('data-video-cookie-key');\n } else {\n ld_video_players[element_key]['player_cookie_key'] = '';\n }\n\n ld_video_players[element_key]['player_cookie_values'] = LearnDash_Video_Progress_initSettings(ld_video_players[element_key]); // Check if video has been completed already.\n // If yes, enable the assets back and end watch players function.\n // If no, then apply all the filters and performs the actions again.\n\n if (LearnDash_Video_Progress_getSetting(ld_video_players[element_key], 'video_state') === 'complete') {\n LearnDash_disable_assets(false);\n LearnDash_watchPlayersEnd();\n } else {\n // Player Seeked.\n wp.hooks.addAction('presto.playerTimeUpdate', 'presto-player', function (player) {\n if (learndash_video_data.video_debug === '1') {\n console.log('PRESTO: Video is playing');\n }\n\n LearnDash_Video_Progress_setSetting(ld_video_players[element_key], 'video_duration', player.duration);\n LearnDash_Video_Progress_setSetting(ld_video_players[element_key], 'video_time', player.currentTime);\n\n if (player.duration && player.duration === player.currentTime) {\n LearnDash_Video_Progress_setSetting(ld_video_players[element_key], 'video_state', 'complete');\n\n if (learndash_video_data.video_debug === '1') {\n console.log('PRESTO: calling LearnDash_disable_assets(false)');\n }\n\n LearnDash_disable_assets(false); // Stop watching players.\n\n LearnDash_watchPlayersEnd();\n }\n }); // Player Playing.\n\n wp.hooks.addAction('presto.playerPlaying', 'presto-player', function (player) {\n if (learndash_video_data.video_debug === '1') {\n console.log('PRESTO: Video is playing');\n }\n\n LearnDash_Video_Progress_setSetting(ld_video_players[element_key], 'video_duration', player.duration);\n LearnDash_Video_Progress_setSetting(ld_video_players[element_key], 'video_time', player.currentTime);\n LearnDash_Video_Progress_setSetting(ld_video_players[element_key], 'video_state', 'play');\n }); // Player Paused.\n\n wp.hooks.addAction('presto.playerPause', 'presto-player', function (player) {\n if (learndash_video_data.video_debug === '1') {\n console.log('PRESTO: Video is paused');\n }\n\n LearnDash_Video_Progress_setSetting(ld_video_players[element_key], 'video_time', player.currentTime);\n console.log(player.duration);\n console.log(player.currentTime);\n LearnDash_Video_Progress_setSetting(ld_video_players[element_key], 'video_state', 'pause');\n }); // Player Ended.\n\n wp.hooks.addAction('presto.playerEnded', 'presto-player', function (player) {\n if (learndash_video_data.video_debug === '1') {\n console.log('PRESTO: video ended');\n }\n\n if (learndash_video_data.video_debug === '1') {\n console.log(\"PRESTO: setting 'video_state' to 'complete'\");\n }\n\n LearnDash_Video_Progress_setSetting(ld_video_players[element_key], 'video_time', player.currentTime);\n LearnDash_Video_Progress_setSetting(ld_video_players[element_key], 'video_state', 'complete');\n\n if (learndash_video_data.video_debug === '1') {\n console.log('PRESTO: calling LearnDash_disable_assets(false)');\n }\n\n LearnDash_disable_assets(false); // Stop watching players.\n\n LearnDash_watchPlayersEnd();\n });\n }\n });\n }\n });\n return;\n } else {\n window.LearnDash_disable_assets(true);\n wp.hooks.addAction('presto.playerEnded', 'presto-player', function () {\n window.LearnDash_disable_assets(false);\n });\n }\n});\n\nexport default learndash;\n"],"sourceRoot":""}
dist/analytics/5-15cfd722.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack:///./node_modules/@presto-player/components/dist/custom-elements/learndash.js"],"names":["player","_learndash_video_data","_prestoPlayer","_prestoPlayer$learnda","_learndash_video_data2","_prestoPlayer2","_prestoPlayer2$learnd","_prestoPlayer3","_prestoPlayer3$learnd","_prestoPlayer4","_prestoPlayer4$learnd","_learndash_video_data3","learndash_video_data","videos_found_provider","window","videos_auto_complete","prestoPlayer","learndash","lesson_video_auto_complete","videos_hide_complete_button","videos_shown","lesson_video_hide_complete_button","videos_auto_complete_delay","lesson_video_auto_complete_delay","videos_auto_complete_delay_message","video_track_path","jQuery","document","trigger","video_debug","console","log","querySelectorAll","length","LearnDash_disable_assets","LearnDash_watchPlayers","forEach","element","index","element_key","element_id","getAttribute","setAttribute","ld_video_players","closest","LearnDash_Video_Progress_initSettings","LearnDash_Video_Progress_getSetting","LearnDash_watchPlayersEnd","wp","hooks","addAction","LearnDash_Video_Progress_setSetting","duration","currentTime"],"mappings":";;;;;;;;;;;;;;;;;mIAAA,mBAkByN,UAlB/J,SAAmBA,GAAQ,IAAIC,EAAsBC,EAAcC,EAAsBC,EAAuBC,EAAeC,EAAsBC,EAAeC,EAAsBC,EAAeC,EAAsBC,EAAuB,GAAiC,oBAAvBC,sBAA+K,YAA3F,QAA9CX,EAAsBW,4BAAsD,IAAxBX,OAA+B,EAAOA,EAAsBY,uBAAhK,CAMhT,GAN2f,YAAeb,GAG1gBc,OAAOF,qBAAqBG,qBAA2O,QAAtL,QAA9Bb,EAAcc,oBAAsC,IAAhBd,GAAgF,QAAjDC,EAAsBD,EAAce,iBAA2C,IAAxBd,OAA/D,EAAqGA,EAAsBe,4BAAmCJ,OAAOF,qBAAqBO,4BAA4B,WAA2D,QAA/Cf,EAAuBQ,4BAAuD,IAAzBR,OAAgC,EAAOA,EAAuBgB,eAA+O,QAA/L,QAA/Bf,EAAeW,oBAAuC,IAAjBX,GAAkF,QAAlDC,EAAsBD,EAAeY,iBAA2C,IAAxBX,OAAhE,EAAsGA,EAAsBe,mCAA0CP,OAAOF,qBAAqBU,2BAA2D,QAA/Bf,EAAeS,oBAAuC,IAAjBT,GAAkF,QAAlDC,EAAsBD,EAAeU,iBAA2C,IAAxBT,OAAhE,E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AWpC,OAAOoB,0BAAyB","file":"analytics/5-15cfd722.js","sourcesContent":["import{r as resumeProgress}from'./index.js';var learndash=function learndash(player){var _learndash_video_data,_prestoPlayer,_prestoPlayer$learnda,_learndash_video_data2,_prestoPlayer2,_prestoPlayer2$learnd,_prestoPlayer3,_prestoPlayer3$learnd,_prestoPlayer4,_prestoPlayer4$learnd,_learndash_video_data3;if(typeof learndash_video_data==='undefined'||((_learndash_video_data=learndash_video_data)===null||_learndash_video_data===void 0?void 0:_learndash_video_data.videos_found_provider)!=='presto'){return;}resumeProgress(player);// maybe resume progress\n// Learndash has this logic in a shitty method on their php class\n// we have to fake it here since we don't have access to it\nwindow.learndash_video_data.videos_auto_complete=((_prestoPlayer=prestoPlayer)===null||_prestoPlayer===void 0?void 0:(_prestoPlayer$learnda=_prestoPlayer.learndash)===null||_prestoPlayer$learnda===void 0?void 0:_prestoPlayer$learnda.lesson_video_auto_complete)==='on';window.learndash_video_data.videos_hide_complete_button='AFTER'===((_learndash_video_data2=learndash_video_data)===null||_learndash_video_data2===void 0?void 0:_learndash_video_data2.videos_shown)&&((_prestoPlayer2=prestoPlayer)===null||_prestoPlayer2===void 0?void 0:(_prestoPlayer2$learnd=_prestoPlayer2.learndash)===null||_prestoPlayer2$learnd===void 0?void 0:_prestoPlayer2$learnd.lesson_video_hide_complete_button)==='on';window.learndash_video_data.videos_auto_complete_delay=(_prestoPlayer3=prestoPlayer)===null||_prestoPlayer3===void 0?void 0:(_prestoPlayer3$learnd=_prestoPlayer3.learndash)===null||_prestoPlayer3$learnd===void 0?void 0:_prestoPlayer3$learnd.lesson_video_auto_complete_delay;window.learndash_video_data.videos_auto_complete_delay_message=(_prestoPlayer4=prestoPlayer)===null||_prestoPlayer4===void 0?void 0:(_prestoPlayer4$learnd=_prestoPlayer4.learndash)===null||_prestoPlayer4$learnd===void 0?void 0:_prestoPlayer4$learnd.videos_auto_complete_delay_message;// Temporarily set the video track path to '/' to set the cookie globally\nwindow.learndash_video_data.video_track_path='/';// Learndash has this logic in a shitty method on their php class\n// we have to fake it here since we don't have access to it\nif('BEFORE'===((_learndash_video_data3=learndash_video_data)===null||_learndash_video_data3===void 0?void 0:_learndash_video_data3.videos_shown)){learndash_video_data.videos_auto_complete=false;jQuery(document).trigger('learndash_video_disable_assets',[true]);// Set learndash video players\njQuery(function(){if(learndash_video_data.video_debug==='1'){console.log('PRESTO: init');}if(document.querySelectorAll('presto-player[data-video-progression=\"true\"][data-video-provider=\"'+learndash_video_data.videos_found_provider+'\"]').length){if(learndash_video_data.video_debug==='1'){console.log('PRESTO: calling LearnDash_disable_assets(true)');}// Disable learndash assets and watch players.\nLearnDash_disable_assets(true);LearnDash_watchPlayers();// Go through all the <presto-player> instances\ndocument.querySelectorAll('presto-player[data-video-progression=\"true\"][data-video-provider=\"'+learndash_video_data.videos_found_provider+'\"]').forEach(function(element,index){var element_key='presto-player__wrapper-player-'+index;var element_id=element.getAttribute('id');if(typeof element_id==='undefined'||element_id==''){element_id=element_key;element.setAttribute('id',element_id);}ld_video_players[element_key]={};ld_video_players[element_key]['player_key']=element_key;ld_video_players[element_key]['player_type']=learndash_video_data.videos_found_provider;ld_video_players[element_key]['player_id']=element_id;ld_video_players[element_key]['player_wrapper']=element.closest('presto-player');if(typeof ld_video_players[element_key]['player_wrapper']!=='undefined'){ld_video_players[element_key]['player_cookie_key']=ld_video_players[element_key]['player_wrapper'].getAttribute('data-video-cookie-key');}else{ld_video_players[element_key]['player_cookie_key']='';}ld_video_players[element_key]['player_cookie_values']=LearnDash_Video_Progress_initSettings(ld_video_players[element_key]);// Check if video has been completed already.\n// If yes, enable the assets back and end watch players function.\n// If no, then apply all the filters and performs the actions again.\nif(LearnDash_Video_Progress_getSetting(ld_video_players[element_key],'video_state')==='complete'){LearnDash_disable_assets(false);LearnDash_watchPlayersEnd();}else{// Player Seeked.\nwp.hooks.addAction('presto.playerTimeUpdate','presto-player',function(player){if(learndash_video_data.video_debug==='1'){console.log('PRESTO: Video is playing');}LearnDash_Video_Progress_setSetting(ld_video_players[element_key],'video_duration',player.duration);LearnDash_Video_Progress_setSetting(ld_video_players[element_key],'video_time',player.currentTime);if(player.duration&&player.duration===player.currentTime){LearnDash_Video_Progress_setSetting(ld_video_players[element_key],'video_state','complete');if(learndash_video_data.video_debug==='1'){console.log('PRESTO: calling LearnDash_disable_assets(false)');}LearnDash_disable_assets(false);// Stop watching players.\nLearnDash_watchPlayersEnd();}});// Player Playing.\nwp.hooks.addAction('presto.playerPlaying','presto-player',function(player){if(learndash_video_data.video_debug==='1'){console.log('PRESTO: Video is playing');}LearnDash_Video_Progress_setSetting(ld_video_players[element_key],'video_duration',player.duration);LearnDash_Video_Progress_setSetting(ld_video_players[element_key],'video_time',player.currentTime);LearnDash_Video_Progress_setSetting(ld_video_players[element_key],'video_state','play');});// Player Paused.\nwp.hooks.addAction('presto.playerPause','presto-player',function(player){if(learndash_video_data.video_debug==='1'){console.log('PRESTO: Video is paused');}LearnDash_Video_Progress_setSetting(ld_video_players[element_key],'video_time',player.currentTime);console.log(player.duration);console.log(player.currentTime);LearnDash_Video_Progress_setSetting(ld_video_players[element_key],'video_state','pause');});// Player Ended.\nwp.hooks.addAction('presto.playerEnded','presto-player',function(player){if(learndash_video_data.video_debug==='1'){console.log('PRESTO: video ended');}if(learndash_video_data.video_debug==='1'){console.log(\"PRESTO: setting 'video_state' to 'complete'\");}LearnDash_Video_Progress_setSetting(ld_video_players[element_key],'video_time',player.currentTime);LearnDash_Video_Progress_setSetting(ld_video_players[element_key],'video_state','complete');if(learndash_video_data.video_debug==='1'){console.log('PRESTO: calling LearnDash_disable_assets(false)');}LearnDash_disable_assets(false);// Stop watching players.\nLearnDash_watchPlayersEnd();});}});}});return;}else{window.LearnDash_disable_assets(true);wp.hooks.addAction('presto.playerEnded','presto-player',function(){window.LearnDash_disable_assets(false);});}};export default learndash;"],"sourceRoot":""}
 
dist/analytics/5.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ *
3
+ * Presto Player
4
+ *
5
+ * @author Presto Made, Inc
6
+ * @version 0.1.0
7
+ * @link undefined
8
+ * @license GPL
9
+ *
10
+ * Copyright (c) 2021 Presto Made, Inc
11
+ *
12
+ * This software is released under the GPL License
13
+ * https://opensource.org/licenses/GPL
14
+ *
15
+ * Compiled with the help of https://wpack.io
16
+ * A zero setup Webpack Bundler Script for WordPress
17
+ */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[5],{50:function(e,a,o){"use strict";o.r(a);var d=o(26);a.default=function(e){var a,o,s,i,_,r,t,l,n,v,p;if("undefined"!=typeof learndash_video_data&&"presto"===(null===(a=learndash_video_data)||void 0===a?void 0:a.videos_found_provider)){if(Object(d.d)(e),window.learndash_video_data.videos_auto_complete="on"===(null===(o=prestoPlayer)||void 0===o||null===(s=o.learndash)||void 0===s?void 0:s.lesson_video_auto_complete),window.learndash_video_data.videos_hide_complete_button="AFTER"===(null===(i=learndash_video_data)||void 0===i?void 0:i.videos_shown)&&"on"===(null===(_=prestoPlayer)||void 0===_||null===(r=_.learndash)||void 0===r?void 0:r.lesson_video_hide_complete_button),window.learndash_video_data.videos_auto_complete_delay=null===(t=prestoPlayer)||void 0===t||null===(l=t.learndash)||void 0===l?void 0:l.lesson_video_auto_complete_delay,window.learndash_video_data.videos_auto_complete_delay_message=null===(n=prestoPlayer)||void 0===n||null===(v=n.learndash)||void 0===v?void 0:v.videos_auto_complete_delay_message,window.learndash_video_data.video_track_path="/","BEFORE"===(null===(p=learndash_video_data)||void 0===p?void 0:p.videos_shown))return learndash_video_data.videos_auto_complete=!1,jQuery(document).trigger("learndash_video_disable_assets",[!0]),void jQuery((function(){"1"===learndash_video_data.video_debug&&console.log("PRESTO: init"),document.querySelectorAll('presto-player[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"]').length&&("1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(true)"),LearnDash_disable_assets(!0),LearnDash_watchPlayers(),document.querySelectorAll('presto-player[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"]').forEach((function(e,a){var o="presto-player__wrapper-player-"+a,d=e.getAttribute("id");void 0!==d&&""!=d||(d=o,e.setAttribute("id",d)),ld_video_players[o]={},ld_video_players[o].player_key=o,ld_video_players[o].player_type=learndash_video_data.videos_found_provider,ld_video_players[o].player_id=d,ld_video_players[o].player_wrapper=e.closest("presto-player"),void 0!==ld_video_players[o].player_wrapper?ld_video_players[o].player_cookie_key=ld_video_players[o].player_wrapper.getAttribute("data-video-cookie-key"):ld_video_players[o].player_cookie_key="",ld_video_players[o].player_cookie_values=LearnDash_Video_Progress_initSettings(ld_video_players[o]),"complete"===LearnDash_Video_Progress_getSetting(ld_video_players[o],"video_state")?(LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()):(wp.hooks.addAction("presto.playerTimeUpdate","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is playing"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_duration",e.duration),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),e.duration&&e.duration===e.currentTime&&(LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd())})),wp.hooks.addAction("presto.playerPlaying","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is playing"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_duration",e.duration),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","play")})),wp.hooks.addAction("presto.playerPause","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is paused"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),console.log(e.duration),console.log(e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","pause")})),wp.hooks.addAction("presto.playerEnded","presto-player",(function(e){"1"===learndash_video_data.video_debug&&console.log("PRESTO: video ended"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: setting 'video_state' to 'complete'"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()})))})))}));window.LearnDash_disable_assets(!0),wp.hooks.addAction("presto.playerEnded","presto-player",(function(){window.LearnDash_disable_assets(!1)}))}}}}]);
19
+ //# sourceMappingURL=5.js.map
dist/analytics/5.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack:///analytics/5-07bb6d25.js"],"names":["window","push","50","module","__webpack_exports__","__webpack_require__","r","_index_js__WEBPACK_IMPORTED_MODULE_0__","player","_learndash_video_data","_prestoPlayer","_prestoPlayer$learnda","_learndash_video_data2","_prestoPlayer2","_prestoPlayer2$learnd","_prestoPlayer3","_prestoPlayer3$learnd","_prestoPlayer4","_prestoPlayer4$learnd","_learndash_video_data3","learndash_video_data","videos_found_provider","Object","videos_auto_complete","prestoPlayer","learndash","lesson_video_auto_complete","videos_hide_complete_button","videos_shown","lesson_video_hide_complete_button","videos_auto_complete_delay","lesson_video_auto_complete_delay","videos_auto_complete_delay_message","video_track_path","jQuery","document","trigger","video_debug","console","log","querySelectorAll","length","LearnDash_disable_assets","LearnDash_watchPlayers","forEach","element","index","element_key","element_id","getAttribute","setAttribute","ld_video_players","closest","LearnDash_Video_Progress_initSettings","LearnDash_Video_Progress_getSetting","LearnDash_watchPlayersEnd","wp","hooks","addAction","LearnDash_Video_Progress_setSetting","duration","currentTime"],"mappings":";;;;;;;;;;;;;;;;;CAiBCA,OAA0C,k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C,IAAI,mDAAoDG,0BAAyB,GACnoBa,gCACAC,GAAGC,MAAMC,UAAU,uBAAuB,iBAAgB,SAASlD,GAA8C,MAAnCY,qBAAqBiB,aAAmBC,QAAQC,IAAI,4BAA6BoB,oCAAoCR,iBAAiBJ,GAAa,iBAAiBvC,EAAOoD,UAAUD,oCAAoCR,iBAAiBJ,GAAa,aAAavC,EAAOqD,aAAaF,oCAAoCR,iBAAiBJ,GAAa,cAAc,WACtbS,GAAGC,MAAMC,UAAU,qBAAqB,iBAAgB,SAASlD,GAA8C,MAAnCY,qBAAqBiB,aAAmBC,QAAQC,IAAI,2BAA4BoB,oCAAoCR,iBAAiBJ,GAAa,aAAavC,EAAOqD,aAAavB,QAAQC,IAAI/B,EAAOoD,UAAUtB,QAAQC,IAAI/B,EAAOqD,aAAaF,oCAAoCR,iBAAiBJ,GAAa,cAAc,YAC5YS,GAAGC,MAAMC,UAAU,qBAAqB,iBAAgB,SAASlD,GAA8C,MAAnCY,qBAAqBiB,aAAmBC,QAAQC,IAAI,uBAA8D,MAAnCnB,qBAAqBiB,aAAmBC,QAAQC,IAAI,+CAAgDoB,oCAAoCR,iBAAiBJ,GAAa,aAAavC,EAAOqD,aAAaF,oCAAoCR,iBAAiBJ,GAAa,cAAc,YAAkD,MAAnC3B,qBAAqBiB,aAAmBC,QAAQC,IAAI,mDAAoDG,0BAAyB,GAClkBa,uCAAoDvD,OAAO0C,0BAAyB,GAAMc,GAAGC,MAAMC,UAAU,qBAAqB,iBAAgB,WAAW1D,OAAO0C,0BAAyB","file":"analytics/5.js","sourceRoot":""}
dist/analytics/{6-f0ead9a8.js → 6-4b6ae10d.js} RENAMED
@@ -15,5 +15,5 @@
15
  * Compiled with the help of https://wpack.io
16
  * A zero setup Webpack Bundler Script for WordPress
17
  */
18
- (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[6],{50:function(t,o,n){"use strict";n.r(o),o.default=function(t){var o=function(t,o){var e,r=n().post_id,a={action:"sync_video_playback",currentTime:t.currentTime,duration:t.duration,post_id:r};a[_tutorobject.nonce_key]=_tutorobject[_tutorobject.nonce_key];var u=a;o&&(u=Object.assign(a,o)),jQuery.post(null===(e=_tutorobject)||void 0===e?void 0:e.ajaxurl,u)},n=function(){var t=jQuery("#tutor_video_tracking_information").val();return t?JSON.parse(t):{}},e=0;t.on("timeupdate",(function(t){var n=t.detail.plyr;e/4>=30&&(o(n),e=0),e++})),t.on("ended",(function(t){var e=n(),r=t.detail.plyr;o(r,{is_ended:!0}),e.autoload_next_course_content&&function(){var t,o;if(_tutorobject.nonce_key&&null!==(t=_tutorobject)&&void 0!==t&&t.ajaxurl){var e={action:"autoload_next_course_content",post_id:n().post_id};e[_tutorobject.nonce_key]=_tutorobject[_tutorobject.nonce_key],jQuery.post(null===(o=_tutorobject)||void 0===o?void 0:o.ajaxurl,e).done((function(t){var o;null!=t&&t.success&&null!=t&&null!==(o=t.data)&&void 0!==o&&o.next_url&&(location.href=t.data.next_url)}))}}()}))}}}]);
19
- //# sourceMappingURL=6-f0ead9a8.js.map
15
  * Compiled with the help of https://wpack.io
16
  * A zero setup Webpack Bundler Script for WordPress
17
  */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[6],{51:function(t,o,n){"use strict";n.r(o),o.default=function(t){var o=function(t,o){var e,r=n().post_id,a={action:"sync_video_playback",currentTime:t.currentTime,duration:t.duration,post_id:r};a[_tutorobject.nonce_key]=_tutorobject[_tutorobject.nonce_key];var u=a;o&&(u=Object.assign(a,o)),jQuery.post(null===(e=_tutorobject)||void 0===e?void 0:e.ajaxurl,u)},n=function(){var t=jQuery("#tutor_video_tracking_information").val();return t?JSON.parse(t):{}},e=0;t.on("timeupdate",(function(t){var n=t.detail.plyr;e/4>=30&&(o(n),e=0),e++})),t.on("ended",(function(t){var e=n(),r=t.detail.plyr;o(r,{is_ended:!0}),e.autoload_next_course_content&&function(){var t,o;if(_tutorobject.nonce_key&&null!==(t=_tutorobject)&&void 0!==t&&t.ajaxurl){var e={action:"autoload_next_course_content",post_id:n().post_id};e[_tutorobject.nonce_key]=_tutorobject[_tutorobject.nonce_key],jQuery.post(null===(o=_tutorobject)||void 0===o?void 0:o.ajaxurl,e).done((function(t){var o;null!=t&&t.success&&null!=t&&null!==(o=t.data)&&void 0!==o&&o.next_url&&(location.href=t.data.next_url)}))}}()}))}}}]);
19
+ //# sourceMappingURL=6-4b6ae10d.js.map
dist/analytics/6-4b6ae10d.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack:///./packages/components/dist/custom-elements/tutor.js"],"names":["tutor","player","sync_time","instance","options","_tutorobject4","post_id","getVideoData","data","action","currentTime","duration","_tutorobject","nonce_key","data_send","Object","assign","jQuery","post","ajaxurl","video_track_data","val","JSON","parse","tempTimeNow","on","event","detail","plyr","video_data","is_ended","autoload_next_course_content","_tutorobject2","_tutorobject3","done","response","_response$data","success","next_url","location","href","autoload_content"],"mappings":";;;;;;;;;;;;;;;;;mIAAA,OAiFeA,UAjFf,SAAgBC,GAEd,IAuBIC,EAAY,SAAmBC,EAAUC,GAC3C,IAAIC,EAEAC,EAAUC,IAAeD,QACzBE,EAAO,CACTC,OAAQ,sBACRC,YAAaP,EAASO,YACtBC,SAAUR,EAASQ,SACnBL,QAASA,GAEXE,EAAKI,aAAaC,WAAaD,aAAaA,aAAaC,WACzD,IAAIC,EAAYN,EAEZJ,IACFU,EAAYC,OAAOC,OAAOR,EAAMJ,IAGlCa,OAAOC,KAAwC,QAAlCb,EAAgBO,oBAA4C,IAAlBP,OAA2B,EAASA,EAAcc,QAASL,IAIhHP,EAAe,WACjB,IAAIa,EAAmBH,OAAO,qCAAqCI,MACnE,OAAOD,EAAmBE,KAAKC,MAAMH,GAAoB,IAIvDI,EAAc,EAGlBvB,EAAOwB,GAAG,cAAc,SAAUC,GAChC,IAAIvB,EAAWuB,EAAMC,OAAOC,KACLJ,EAAc,GAJjB,KAOlBtB,EAAUC,GACVqB,EAAc,GAGhBA,OAGFvB,EAAOwB,GAAG,SAAS,SAAUC,GAC3B,IAAIG,EAAatB,IACbJ,EAAWuB,EAAMC,OAAOC,KAI5B1B,EAAUC,EAHC,CACT2B,UAAU,IAIRD,EAAWE,8BAzEM,WACrB,IAAIC,EAAeC,EAEnB,GAAKrB,aAAaC,WAAkD,QAAlCmB,EAAgBpB,oBAA4C,IAAlBoB,GAA4BA,EAAcb,QAAtH,CAIA,IACIX,EAAO,CACTC,OAAQ,+BACRH,QAHYC,IAAeD,SAK7BE,EAAKI,aAAaC,WAAaD,aAAaA,aAAaC,WACzDI,OAAOC,KAAwC,QAAlCe,EAAgBrB,oBAA4C,IAAlBqB,OAA2B,EAASA,EAAcd,QAASX,GAAM0B,MAAK,SAAUC,GACrI,IAAIC,EAEAD,SAA4CA,EAASE,SAArDF,MAAgEA,GAAiF,QAApCC,EAAiBD,EAAS3B,YAAqC,IAAnB4B,GAA6BA,EAAeE,WACvMC,SAASC,KAAOL,EAAS3B,KAAK8B,cAyDhCG","file":"analytics/6-4b6ae10d.js","sourcesContent":["function tutor (player) {\n // autoload course content\n var autoload_content = function autoload_content() {\n var _tutorobject2, _tutorobject3;\n\n if (!_tutorobject.nonce_key || !((_tutorobject2 = _tutorobject) !== null && _tutorobject2 !== void 0 && _tutorobject2.ajaxurl)) {\n return;\n }\n\n var post_id = getVideoData().post_id;\n var data = {\n action: 'autoload_next_course_content',\n post_id: post_id\n };\n data[_tutorobject.nonce_key] = _tutorobject[_tutorobject.nonce_key];\n jQuery.post((_tutorobject3 = _tutorobject) === null || _tutorobject3 === void 0 ? void 0 : _tutorobject3.ajaxurl, data).done(function (response) {\n var _response$data;\n\n if (response !== null && response !== void 0 && response.success && response !== null && response !== void 0 && (_response$data = response.data) !== null && _response$data !== void 0 && _response$data.next_url) {\n location.href = response.data.next_url;\n }\n });\n }; // sync time with server\n\n\n var sync_time = function sync_time(instance, options) {\n var _tutorobject4;\n\n var post_id = getVideoData().post_id;\n var data = {\n action: 'sync_video_playback',\n currentTime: instance.currentTime,\n duration: instance.duration,\n post_id: post_id\n };\n data[_tutorobject.nonce_key] = _tutorobject[_tutorobject.nonce_key];\n var data_send = data;\n\n if (options) {\n data_send = Object.assign(data, options);\n }\n\n jQuery.post((_tutorobject4 = _tutorobject) === null || _tutorobject4 === void 0 ? void 0 : _tutorobject4.ajaxurl, data_send);\n }; // get video data\n\n\n var getVideoData = function getVideoData() {\n var video_track_data = jQuery('#tutor_video_tracking_information').val();\n return video_track_data ? JSON.parse(video_track_data) : {};\n }; // update time on server every 250ms\n\n\n var tempTimeNow = 0;\n var intervalSeconds = 30; //Send to tutor backend about video playing time in this interval\n\n player.on('timeupdate', function (event) {\n var instance = event.detail.plyr;\n var tempTimeNowInSec = tempTimeNow / 4; //timeupdate firing 250ms interval\n\n if (tempTimeNowInSec >= intervalSeconds) {\n sync_time(instance);\n tempTimeNow = 0;\n }\n\n tempTimeNow++;\n }); // on end, sync time and autoload content\n\n player.on('ended', function (event) {\n var video_data = getVideoData();\n var instance = event.detail.plyr;\n var data = {\n is_ended: true\n };\n sync_time(instance, data);\n\n if (video_data.autoload_next_course_content) {\n autoload_content();\n }\n });\n}\n\nexport default tutor;\n"],"sourceRoot":""}
dist/analytics/6-f0ead9a8.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack:///./node_modules/@presto-player/components/dist/custom-elements/tutor.js"],"names":["player","sync_time","instance","options","_tutorobject4","post_id","getVideoData","data","action","currentTime","duration","_tutorobject","nonce_key","data_send","Object","assign","jQuery","post","ajaxurl","video_track_data","val","JSON","parse","tempTimeNow","on","event","detail","plyr","video_data","is_ended","autoload_next_course_content","_tutorobject2","_tutorobject3","done","response","_response$data","success","next_url","location","href","autoload_content"],"mappings":";;;;;;;;;;;;;;;;;mIAAA,OAOoO,UAPpO,SAAeA,GACf,IACIC,EAAU,SAAmBC,EAASC,GAAS,IAAIC,EAAkBC,EAAQC,IAAeD,QAAYE,EAAK,CAACC,OAAO,sBAAsBC,YAAYP,EAASO,YAAYC,SAASR,EAASQ,SAASL,QAAQA,GAASE,EAAKI,aAAaC,WAAWD,aAAaA,aAAaC,WAAW,IAAIC,EAAUN,EAAQJ,IAASU,EAAUC,OAAOC,OAAOR,EAAKJ,IAAUa,OAAOC,KAAoC,QAA9Bb,EAAcO,oBAAsC,IAAhBP,OAAuB,EAAOA,EAAcc,QAAQL,IACrcP,EAAa,WAAwB,IAAIa,EAAiBH,OAAO,qCAAqCI,MAAM,OAAOD,EAAiBE,KAAKC,MAAMH,GAAkB,IACjKI,EAAY,EAChBvB,EAAOwB,GAAG,cAAa,SAASC,GAAO,IAAIvB,EAASuB,EAAMC,OAAOC,KAA0BJ,EAAY,GADjE,KAEAtB,EAAUC,GAAUqB,EAAY,GAAGA,OACzEvB,EAAOwB,GAAG,SAAQ,SAASC,GAAO,IAAIG,EAAWtB,IAAmBJ,EAASuB,EAAMC,OAAOC,KAA8B1B,EAAUC,EAA1B,CAAC2B,UAAS,IAAkCD,EAAWE,8BAN1I,WAA4B,IAAIC,EAAcC,EAAc,GAAIrB,aAAaC,WAA4C,QAA9BmB,EAAcpB,oBAAsC,IAAhBoB,GAAwBA,EAAcb,QAAzG,CAA2H,IAAuCX,EAAK,CAACC,OAAO,+BAA+BH,QAAvEC,IAAeD,SAAyEE,EAAKI,aAAaC,WAAWD,aAAaA,aAAaC,WAAWI,OAAOC,KAAoC,QAA9Be,EAAcrB,oBAAsC,IAAhBqB,OAAuB,EAAOA,EAAcd,QAAQX,GAAM0B,MAAK,SAASC,GAAU,IAAIC,EAAkBD,SAAoCA,EAASE,SAA7CF,MAAsDA,GAAqE,QAAhCC,EAAeD,EAAS3B,YAA+B,IAAjB4B,GAAyBA,EAAeE,WAAUC,SAASC,KAAKL,EAAS3B,KAAK8B,cAM7hBG","file":"analytics/6-f0ead9a8.js","sourcesContent":["function tutor(player){// autoload course content\nvar autoload_content=function autoload_content(){var _tutorobject2,_tutorobject3;if(!_tutorobject.nonce_key||!((_tutorobject2=_tutorobject)!==null&&_tutorobject2!==void 0&&_tutorobject2.ajaxurl)){return;}var post_id=getVideoData().post_id;var data={action:'autoload_next_course_content',post_id:post_id};data[_tutorobject.nonce_key]=_tutorobject[_tutorobject.nonce_key];jQuery.post((_tutorobject3=_tutorobject)===null||_tutorobject3===void 0?void 0:_tutorobject3.ajaxurl,data).done(function(response){var _response$data;if(response!==null&&response!==void 0&&response.success&&response!==null&&response!==void 0&&(_response$data=response.data)!==null&&_response$data!==void 0&&_response$data.next_url){location.href=response.data.next_url;}});};// sync time with server\nvar sync_time=function sync_time(instance,options){var _tutorobject4;var post_id=getVideoData().post_id;var data={action:'sync_video_playback',currentTime:instance.currentTime,duration:instance.duration,post_id:post_id};data[_tutorobject.nonce_key]=_tutorobject[_tutorobject.nonce_key];var data_send=data;if(options){data_send=Object.assign(data,options);}jQuery.post((_tutorobject4=_tutorobject)===null||_tutorobject4===void 0?void 0:_tutorobject4.ajaxurl,data_send);};// get video data\nvar getVideoData=function getVideoData(){var video_track_data=jQuery('#tutor_video_tracking_information').val();return video_track_data?JSON.parse(video_track_data):{};};// update time on server every 250ms\nvar tempTimeNow=0;var intervalSeconds=30;//Send to tutor backend about video playing time in this interval\nplayer.on('timeupdate',function(event){var instance=event.detail.plyr;var tempTimeNowInSec=tempTimeNow/4;//timeupdate firing 250ms interval\nif(tempTimeNowInSec>=intervalSeconds){sync_time(instance);tempTimeNow=0;}tempTimeNow++;});// on end, sync time and autoload content\nplayer.on('ended',function(event){var video_data=getVideoData();var instance=event.detail.plyr;var data={is_ended:true};sync_time(instance,data);if(video_data.autoload_next_course_content){autoload_content();}});}export default tutor;"],"sourceRoot":""}
 
dist/analytics/6.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ *
3
+ * Presto Player
4
+ *
5
+ * @author Presto Made, Inc
6
+ * @version 0.1.0
7
+ * @link undefined
8
+ * @license GPL
9
+ *
10
+ * Copyright (c) 2021 Presto Made, Inc
11
+ *
12
+ * This software is released under the GPL License
13
+ * https://opensource.org/licenses/GPL
14
+ *
15
+ * Compiled with the help of https://wpack.io
16
+ * A zero setup Webpack Bundler Script for WordPress
17
+ */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[6],{51:function(t,o,n){"use strict";n.r(o),o.default=function(t){var o=function(t,o){var e,r=n().post_id,a={action:"sync_video_playback",currentTime:t.currentTime,duration:t.duration,post_id:r};a[_tutorobject.nonce_key]=_tutorobject[_tutorobject.nonce_key];var u=a;o&&(u=Object.assign(a,o)),jQuery.post(null===(e=_tutorobject)||void 0===e?void 0:e.ajaxurl,u)},n=function(){var t=jQuery("#tutor_video_tracking_information").val();return t?JSON.parse(t):{}},e=0;t.on("timeupdate",(function(t){var n=t.detail.plyr;e/4>=30&&(o(n),e=0),e++})),t.on("ended",(function(t){var e=n(),r=t.detail.plyr;o(r,{is_ended:!0}),e.autoload_next_course_content&&function(){var t,o;if(_tutorobject.nonce_key&&null!==(t=_tutorobject)&&void 0!==t&&t.ajaxurl){var e={action:"autoload_next_course_content",post_id:n().post_id};e[_tutorobject.nonce_key]=_tutorobject[_tutorobject.nonce_key],jQuery.post(null===(o=_tutorobject)||void 0===o?void 0:o.ajaxurl,e).done((function(t){var o;null!=t&&t.success&&null!=t&&null!==(o=t.data)&&void 0!==o&&o.next_url&&(location.href=t.data.next_url)}))}}()}))}}}]);
19
+ //# sourceMappingURL=6.js.map
dist/analytics/6.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack:///analytics/6-4b6ae10d.js"],"names":["window","push","51","module","__webpack_exports__","__webpack_require__","r","player","sync_time","instance","options","_tutorobject4","post_id","getVideoData","data","action","currentTime","duration","_tutorobject","nonce_key","data_send","Object","assign","jQuery","post","ajaxurl","video_track_data","val","JSON","parse","tempTimeNow","on","event","detail","plyr","video_data","is_ended","autoload_next_course_content","_tutorobject2","_tutorobject3","done","response","_response$data","success","next_url","location","href","autoload_content"],"mappings":";;;;;;;;;;;;;;;;;CAiBCA,OAA0C,kCAAIA,OAA0C,mCAAK,IAAIC,KAAK,CAAC,CAAC,GAAG,CAEtGC,GACA,SAAUC,EAAQC,EAAqBC,GAE7C,aACAA,EAAoBC,EAAEF,GAQ4NA,EAA6B,QAP/Q,SAAeG,GACf,IACIC,EAAU,SAAmBC,EAASC,GAAS,IAAIC,EAAkBC,EAAQC,IAAeD,QAAYE,EAAK,CAACC,OAAO,sBAAsBC,YAAYP,EAASO,YAAYC,SAASR,EAASQ,SAASL,QAAQA,GAASE,EAAKI,aAAaC,WAAWD,aAAaA,aAAaC,WAAW,IAAIC,EAAUN,EAAQJ,IAASU,EAAUC,OAAOC,OAAOR,EAAKJ,IAAUa,OAAOC,KAAoC,QAA9Bb,EAAcO,oBAAsC,IAAhBP,OAAuB,EAAOA,EAAcc,QAAQL,IACrcP,EAAa,WAAwB,IAAIa,EAAiBH,OAAO,qCAAqCI,MAAM,OAAOD,EAAiBE,KAAKC,MAAMH,GAAkB,IACjKI,EAAY,EAChBvB,EAAOwB,GAAG,cAAa,SAASC,GAAO,IAAIvB,EAASuB,EAAMC,OAAOC,KAA0BJ,EAAY,GADjE,KAEAtB,EAAUC,GAAUqB,EAAY,GAAGA,OACzEvB,EAAOwB,GAAG,SAAQ,SAASC,GAAO,IAAIG,EAAWtB,IAAmBJ,EAASuB,EAAMC,OAAOC,KAA8B1B,EAAUC,EAA1B,CAAC2B,UAAS,IAAkCD,EAAWE,8BAN1I,WAA4B,IAAIC,EAAcC,EAAc,GAAIrB,aAAaC,WAA4C,QAA9BmB,EAAcpB,oBAAsC,IAAhBoB,GAAwBA,EAAcb,QAAzG,CAA2H,IAAuCX,EAAK,CAACC,OAAO,+BAA+BH,QAAvEC,IAAeD,SAAyEE,EAAKI,aAAaC,WAAWD,aAAaA,aAAaC,WAAWI,OAAOC,KAAoC,QAA9Be,EAAcrB,oBAAsC,IAAhBqB,OAAuB,EAAOA,EAAcd,QAAQX,GAAM0B,MAAK,SAASC,GAAU,IAAIC,EAAkBD,SAAoCA,EAASE,SAA7CF,MAAsDA,GAAqE,QAAhCC,EAAeD,EAAS3B,YAA+B,IAAjB4B,GAAyBA,EAAeE,WAAUC,SAASC,KAAKL,EAAS3B,KAAK8B,cAM7hBG","file":"analytics/6.js","sourceRoot":""}
dist/analytics/{7-0f173a3d.js → 7-84efe7c4.js} RENAMED
@@ -15,7 +15,7 @@
15
  * Compiled with the help of https://wpack.io
16
  * A zero setup Webpack Bundler Script for WordPress
17
  */
18
- (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[7],{52:function(t,e,n){"use strict";n.r(e),n.d(e,"scopeCss",(function(){return y}));var r=n(14),o=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",c=new RegExp("(-shadowcsshost"+o,"gim"),s=new RegExp("(-shadowcsscontext"+o,"gim"),a=new RegExp("(-shadowcssslotted"+o,"gim"),i=/-shadowcsshost-no-combinator([^\s]*)/,u=[/::shadow/g,/::content/g],l=/-shadowcsshost/gim,h=/:host/gim,p=/::slotted/gim,f=/:host-context/gim,d=/\/\*\s*[\s\S]*?\*\//g,g=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,m=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,v=/([{}])/g,w=function(t,e){var n=x(t),r=0;return n.escapedString.replace(m,(function(){var t=arguments.length<=2?void 0:arguments[2],o="",c=arguments.length<=4?void 0:arguments[4],s="";c&&c.startsWith("{%BLOCK%")&&(o=n.blocks[r++],c=c.substring("%BLOCK%".length+1),s="{");var a={selector:t,content:o},i=e(a);return"".concat(arguments.length<=1?void 0:arguments[1]).concat(i.selector).concat(arguments.length<=3?void 0:arguments[3]).concat(s).concat(i.content).concat(c)}))},x=function(t){for(var e=t.split(v),n=[],r=[],o=0,c=[],s=0;s<e.length;s++){var a=e[s];"}"===a&&o--,o>0?c.push(a):(c.length>0&&(r.push(c.join("")),n.push("%BLOCK%"),c=[]),n.push(a)),"{"===a&&o++}return c.length>0&&(r.push(c.join("")),n.push("%BLOCK%")),{escapedString:n.join(""),blocks:r}},_=function(t,e,n){return t.replace(e,(function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(e[2]){for(var o=e[2].split(","),c=[],s=0;s<o.length;s++){var a=o[s].trim();if(!a)break;c.push(n("-shadowcsshost-no-combinator",a,e[3]))}return c.join(",")}return"-shadowcsshost-no-combinator"+e[3]}))},b=function(t,e,n){return t+e.replace("-shadowcsshost","")+n},O=function(t,e,n){return e.indexOf("-shadowcsshost")>-1?b(t,e,n):t+e+n+", "+e+" "+t+n},S=function(t,e){return!function(t){return t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")}(e).test(t)},W=function(t,e,n){for(var r,o="."+(e=e.replace(/\[is=([^\]]*)\]/g,(function(t){return arguments.length<=1?void 0:arguments[1]}))),c=function(t){var r=t.trim();if(!r)return"";if(t.indexOf("-shadowcsshost-no-combinator")>-1)r=function(t,e,n){if(l.lastIndex=0,l.test(t)){var r=".".concat(n);return t.replace(i,(function(t,e){return e.replace(/([^:]*)(:*)(.*)/,(function(t,e,n,o){return e+r+n+o}))})).replace(l,r+" ")}return e+" "+t}(t,e,n);else{var c=t.replace(l,"");if(c.length>0){var s=c.match(/([^:]*)(:*)(.*)/);s&&(r=s[1]+o+s[2]+s[3])}}return r},s=function(t){var e=[],n=0;return{content:(t=t.replace(/(\[[^\]]*\])/g,(function(t,r){var o="__ph-".concat(n,"__");return e.push(r),n++,o}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,(function(t,r,o){var c="__ph-".concat(n,"__");return e.push(o),n++,r+c})),placeholders:e}}(t),a="",u=0,h=/( |>|\+|~(?!=))\s*/g,p=!((t=s.content).indexOf("-shadowcsshost-no-combinator")>-1);null!==(r=h.exec(t));){var f=r[1],d=t.slice(u,r.index).trim(),g=(p=p||d.indexOf("-shadowcsshost-no-combinator")>-1)?c(d):d;a+="".concat(g," ").concat(f," "),u=h.lastIndex}var m,v=t.substring(u);return a+=(p=p||v.indexOf("-shadowcsshost-no-combinator")>-1)?c(v):v,m=s.placeholders,a.replace(/__ph-(\d+)__/g,(function(t,e){return m[+e]}))},j=function t(e,n,r,o,c){return w(e,(function(e){var c=e.selector,s=e.content;return"@"!==e.selector[0]?c=function(t,e,n,r){return t.split(",").map((function(t){return r&&t.indexOf("."+r)>-1?t.trim():S(t,e)?W(t,e,n).trim():t.trim()})).join(", ")}(e.selector,n,r,o):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(s=t(e.content,n,r,o)),{selector:c.replace(/\s{2,}/g," ").trim(),content:s}}))},k=function(t,e,n,r,o){var i=function(t,e){var n="."+e+" > ",r=[];return t=t.replace(a,(function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];if(e[2]){for(var c=e[2].trim(),s=e[3],a=n+c+s,i="",u=e[4]-1;u>=0;u--){var l=e[5][u];if("}"===l||","===l)break;i=l+i}var h=i+a,p="".concat(i.trimRight()).concat(a.trim());if(h.trim()!==p.trim()){var f="".concat(p,", ").concat(h);r.push({orgSelector:h,updatedSelector:f})}return a}return"-shadowcsshost-no-combinator"+e[3]})),{selectors:r,cssText:t}}(t=function(t){return _(t,s,O)}(t=function(t){return _(t,c,b)}(t=t.replace(f,"-shadowcsscontext").replace(h,"-shadowcsshost").replace(p,"-shadowcssslotted"))),r);return t=function(t){return u.reduce((function(t,e){return t.replace(e," ")}),t)}(t=i.cssText),e&&(t=j(t,e,n,r)),{cssText:(t=(t=t.replace(/-shadowcsshost-no-combinator/g,".".concat(n))).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:i.selectors}},y=function(t,e,n){var o=e+"-h",c=e+"-s",s=t.match(g)||[];t=function(t){return t.replace(d,"")}(t);var a=[];if(n){var i=function(t){var e="/*!@___".concat(a.length,"___*/"),n="/*!@".concat(t.selector,"*/");return a.push({placeholder:e,comment:n}),t.selector=e+t.selector,t};t=w(t,(function(t){return"@"!==t.selector[0]?i(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=w(t.content,i),t):t}))}var u=k(t,e,o,c);return t=[u.cssText].concat(Object(r.a)(s)).join("\n"),n&&a.forEach((function(e){var n=e.placeholder,r=e.comment;t=t.replace(n,r)})),u.slottedSelectors.forEach((function(e){t=t.replace(e.orgSelector,e.updatedSelector)})),t};
19
  /**
20
  * @license
21
  * Copyright Google Inc. All Rights Reserved.
@@ -27,4 +27,4 @@
27
  * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
28
  * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
29
  */}}]);
30
- //# sourceMappingURL=7-0f173a3d.js.map
15
  * Compiled with the help of https://wpack.io
16
  * A zero setup Webpack Bundler Script for WordPress
17
  */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[7],{54:function(t,e,n){"use strict";n.r(e),n.d(e,"scopeCss",(function(){return y}));var r=n(16),o=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",c=new RegExp("(-shadowcsshost"+o,"gim"),s=new RegExp("(-shadowcsscontext"+o,"gim"),a=new RegExp("(-shadowcssslotted"+o,"gim"),i=/-shadowcsshost-no-combinator([^\s]*)/,u=[/::shadow/g,/::content/g],l=/-shadowcsshost/gim,h=/:host/gim,p=/::slotted/gim,f=/:host-context/gim,d=/\/\*\s*[\s\S]*?\*\//g,g=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,m=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,v=/([{}])/g,w=function(t,e){var n=x(t),r=0;return n.escapedString.replace(m,(function(){var t=arguments.length<=2?void 0:arguments[2],o="",c=arguments.length<=4?void 0:arguments[4],s="";c&&c.startsWith("{%BLOCK%")&&(o=n.blocks[r++],c=c.substring("%BLOCK%".length+1),s="{");var a={selector:t,content:o},i=e(a);return"".concat(arguments.length<=1?void 0:arguments[1]).concat(i.selector).concat(arguments.length<=3?void 0:arguments[3]).concat(s).concat(i.content).concat(c)}))},x=function(t){for(var e=t.split(v),n=[],r=[],o=0,c=[],s=0;s<e.length;s++){var a=e[s];"}"===a&&o--,o>0?c.push(a):(c.length>0&&(r.push(c.join("")),n.push("%BLOCK%"),c=[]),n.push(a)),"{"===a&&o++}return c.length>0&&(r.push(c.join("")),n.push("%BLOCK%")),{escapedString:n.join(""),blocks:r}},_=function(t,e,n){return t.replace(e,(function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(e[2]){for(var o=e[2].split(","),c=[],s=0;s<o.length;s++){var a=o[s].trim();if(!a)break;c.push(n("-shadowcsshost-no-combinator",a,e[3]))}return c.join(",")}return"-shadowcsshost-no-combinator"+e[3]}))},b=function(t,e,n){return t+e.replace("-shadowcsshost","")+n},O=function(t,e,n){return e.indexOf("-shadowcsshost")>-1?b(t,e,n):t+e+n+", "+e+" "+t+n},S=function(t,e){return!function(t){return t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")}(e).test(t)},W=function(t,e,n){for(var r,o="."+(e=e.replace(/\[is=([^\]]*)\]/g,(function(t){return arguments.length<=1?void 0:arguments[1]}))),c=function(t){var r=t.trim();if(!r)return"";if(t.indexOf("-shadowcsshost-no-combinator")>-1)r=function(t,e,n){if(l.lastIndex=0,l.test(t)){var r=".".concat(n);return t.replace(i,(function(t,e){return e.replace(/([^:]*)(:*)(.*)/,(function(t,e,n,o){return e+r+n+o}))})).replace(l,r+" ")}return e+" "+t}(t,e,n);else{var c=t.replace(l,"");if(c.length>0){var s=c.match(/([^:]*)(:*)(.*)/);s&&(r=s[1]+o+s[2]+s[3])}}return r},s=function(t){var e=[],n=0;return{content:(t=t.replace(/(\[[^\]]*\])/g,(function(t,r){var o="__ph-".concat(n,"__");return e.push(r),n++,o}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,(function(t,r,o){var c="__ph-".concat(n,"__");return e.push(o),n++,r+c})),placeholders:e}}(t),a="",u=0,h=/( |>|\+|~(?!=))\s*/g,p=!((t=s.content).indexOf("-shadowcsshost-no-combinator")>-1);null!==(r=h.exec(t));){var f=r[1],d=t.slice(u,r.index).trim(),g=(p=p||d.indexOf("-shadowcsshost-no-combinator")>-1)?c(d):d;a+="".concat(g," ").concat(f," "),u=h.lastIndex}var m,v=t.substring(u);return a+=(p=p||v.indexOf("-shadowcsshost-no-combinator")>-1)?c(v):v,m=s.placeholders,a.replace(/__ph-(\d+)__/g,(function(t,e){return m[+e]}))},j=function t(e,n,r,o,c){return w(e,(function(e){var c=e.selector,s=e.content;return"@"!==e.selector[0]?c=function(t,e,n,r){return t.split(",").map((function(t){return r&&t.indexOf("."+r)>-1?t.trim():S(t,e)?W(t,e,n).trim():t.trim()})).join(", ")}(e.selector,n,r,o):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(s=t(e.content,n,r,o)),{selector:c.replace(/\s{2,}/g," ").trim(),content:s}}))},k=function(t,e,n,r,o){var i=function(t,e){var n="."+e+" > ",r=[];return t=t.replace(a,(function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];if(e[2]){for(var c=e[2].trim(),s=e[3],a=n+c+s,i="",u=e[4]-1;u>=0;u--){var l=e[5][u];if("}"===l||","===l)break;i=l+i}var h=i+a,p="".concat(i.trimRight()).concat(a.trim());if(h.trim()!==p.trim()){var f="".concat(p,", ").concat(h);r.push({orgSelector:h,updatedSelector:f})}return a}return"-shadowcsshost-no-combinator"+e[3]})),{selectors:r,cssText:t}}(t=function(t){return _(t,s,O)}(t=function(t){return _(t,c,b)}(t=t.replace(f,"-shadowcsscontext").replace(h,"-shadowcsshost").replace(p,"-shadowcssslotted"))),r);return t=function(t){return u.reduce((function(t,e){return t.replace(e," ")}),t)}(t=i.cssText),e&&(t=j(t,e,n,r)),{cssText:(t=(t=t.replace(/-shadowcsshost-no-combinator/g,".".concat(n))).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:i.selectors}},y=function(t,e,n){var o=e+"-h",c=e+"-s",s=t.match(g)||[];t=function(t){return t.replace(d,"")}(t);var a=[];if(n){var i=function(t){var e="/*!@___".concat(a.length,"___*/"),n="/*!@".concat(t.selector,"*/");return a.push({placeholder:e,comment:n}),t.selector=e+t.selector,t};t=w(t,(function(t){return"@"!==t.selector[0]?i(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=w(t.content,i),t):t}))}var u=k(t,e,o,c);return t=[u.cssText].concat(Object(r.a)(s)).join("\n"),n&&a.forEach((function(e){var n=e.placeholder,r=e.comment;t=t.replace(n,r)})),u.slottedSelectors.forEach((function(e){t=t.replace(e.orgSelector,e.updatedSelector)})),t};
19
  /**
20
  * @license
21
  * Copyright Google Inc. All Rights Reserved.
27
  * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
28
  * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
29
  */}}]);
30
+ //# sourceMappingURL=7-84efe7c4.js.map
dist/analytics/{7-0f173a3d.js.map → 7-84efe7c4.js.map} RENAMED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///./node_modules/@stencil/core/internal/client/shadow-css.js"],"names":["_parenSuffix","_cssColonHostRe","RegExp","_cssColonHostContextRe","_cssColonSlottedRe","_polyfillHostNoCombinatorRe","_shadowDOMSelectorsRe","_polyfillHostRe","_colonHostRe","_colonSlottedRe","_colonHostContextRe","_commentRe","_commentWithHashRe","_ruleRe","_curlyRe","processRules","input","ruleCallback","inputWithEscapedBlocks","escapeBlocks","nextBlockIndex","escapedString","replace","selector","arguments","length","undefined","content","suffix","contentPrefix","startsWith","blocks","substring","cssRule","rule","concat","inputParts","split","resultParts","escapedBlocks","bracketCount","currentBlockParts","partIndex","part","push","join","convertColonRule","cssText","regExp","partReplacer","_len","m","Array","_key","parts","r","i","p","trim","_polyfillHost","colonHostPartReplacer","host","colonHostContextPartReplacer","indexOf","selectorNeedsScoping","scopeSelector","makeScopeMatcher","test","applyStrictSelectorScope","hostSelector","res","className","_","_scopeSelectorPart","scopedP","lastIndex","replaceBy","before","colon","after","applySimpleSelectorScope","t","matches","match","safeContent","placeholders","index","keep","pseudo","exp","safeSelector","scopedSelector","startIndex","sep","shouldScope","exec","separator","_part","slice","scopedPart","scopeSelectors","scopeSelectorText","slotSelector","commentOriginalSelector","map","shallowPart","scopeCssText","scopeId","hostScopeId","slotScopeId","slotted","slotClass","selectors","_len2","_key2","compound","slottedSelector","prefixSelector","char","orgSelector","addedSelector","trimRight","updatedSelector","convertColonSlotted","convertColonHostContext","convertColonHost","reduce","result","pattern","convertShadowDOMSelectors","slottedSelectors","scopeCss","commentsWithHash","stripComments","orgSelectors","processCommentedSelector","placeholder","comment","scoped","forEach","_ref"],"mappings":";;;;;;;;;;;;;;;;;mIAAA,4DAiBiDA,EAAa,kDAA4DC,EAAgB,IAAIC,OAAO,kBAAkBF,EAAa,OAAWG,EAAuB,IAAID,OAAO,qBAAyBF,EAAa,OAAWI,EAAmB,IAAIF,OAAO,qBAAqBF,EAAa,OAAwEK,EAA4B,uCAA2CC,EAAsB,CAAC,YAAY,cAAqEC,EAAgB,oBAAwBC,EAAa,WAAeC,EAAgB,eAAmBC,EAAoB,mBAAuBC,EAAW,uBAAiHC,EAA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AKH,QAAQ1F,EAAQA,EAAQzB,QAAQkH,EAAYC,MAAaC,EAAOR,iBAAiBS,SAAQ,SAASvB,GAAiBrE,EAAQA,EAAQzB,QAAQ8F,EAAgBG,YAAYH,EAAgBM,oBAA2B3E","file":"analytics/7-0f173a3d.js","sourcesContent":["import _toConsumableArray from\"@babel/runtime/helpers/esm/toConsumableArray\";/*\n Stencil Client Platform v2.5.2 | MIT Licensed | https://stenciljs.com\n */ /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n *\n * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts\n */var safeSelector=function safeSelector(selector){var placeholders=[];var index=0;var content;// Replaces attribute selectors with placeholders.\n// The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\nselector=selector.replace(/(\\[[^\\]]*\\])/g,function(_,keep){var replaceBy=\"__ph-\".concat(index,\"__\");placeholders.push(keep);index++;return replaceBy;});// Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n// WS and \"+\" would otherwise be interpreted as selector separators.\ncontent=selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g,function(_,pseudo,exp){var replaceBy=\"__ph-\".concat(index,\"__\");placeholders.push(exp);index++;return pseudo+replaceBy;});var ss={content:content,placeholders:placeholders};return ss;};var restoreSafeSelector=function restoreSafeSelector(placeholders,content){return content.replace(/__ph-(\\d+)__/g,function(_,index){return placeholders[+index];});};var _polyfillHost='-shadowcsshost';var _polyfillSlotted='-shadowcssslotted';// note: :host-context pre-processed to -shadowcsshostcontext.\nvar _polyfillHostContext='-shadowcsscontext';var _parenSuffix=')(?:\\\\(('+'(?:\\\\([^)(]*\\\\)|[^)(]*)+?'+')\\\\))?([^,{]*)';var _cssColonHostRe=new RegExp('('+_polyfillHost+_parenSuffix,'gim');var _cssColonHostContextRe=new RegExp('('+_polyfillHostContext+_parenSuffix,'gim');var _cssColonSlottedRe=new RegExp('('+_polyfillSlotted+_parenSuffix,'gim');var _polyfillHostNoCombinator=_polyfillHost+'-no-combinator';var _polyfillHostNoCombinatorRe=/-shadowcsshost-no-combinator([^\\s]*)/;var _shadowDOMSelectorsRe=[/::shadow/g,/::content/g];var _selectorReSuffix='([>\\\\s~+[.,{:][\\\\s\\\\S]*)?$';var _polyfillHostRe=/-shadowcsshost/gim;var _colonHostRe=/:host/gim;var _colonSlottedRe=/::slotted/gim;var _colonHostContextRe=/:host-context/gim;var _commentRe=/\\/\\*\\s*[\\s\\S]*?\\*\\//g;var stripComments=function stripComments(input){return input.replace(_commentRe,'');};var _commentWithHashRe=/\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;var extractCommentsWithHash=function extractCommentsWithHash(input){return input.match(_commentWithHashRe)||[];};var _ruleRe=/(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;var _curlyRe=/([{}])/g;var OPEN_CURLY='{';var CLOSE_CURLY='}';var BLOCK_PLACEHOLDER='%BLOCK%';var processRules=function processRules(input,ruleCallback){var inputWithEscapedBlocks=escapeBlocks(input);var nextBlockIndex=0;return inputWithEscapedBlocks.escapedString.replace(_ruleRe,function(){var selector=arguments.length<=2?undefined:arguments[2];var content='';var suffix=arguments.length<=4?undefined:arguments[4];var contentPrefix='';if(suffix&&suffix.startsWith('{'+BLOCK_PLACEHOLDER)){content=inputWithEscapedBlocks.blocks[nextBlockIndex++];suffix=suffix.substring(BLOCK_PLACEHOLDER.length+1);contentPrefix='{';}var cssRule={selector:selector,content:content};var rule=ruleCallback(cssRule);return\"\".concat(arguments.length<=1?undefined:arguments[1]).concat(rule.selector).concat(arguments.length<=3?undefined:arguments[3]).concat(contentPrefix).concat(rule.content).concat(suffix);});};var escapeBlocks=function escapeBlocks(input){var inputParts=input.split(_curlyRe);var resultParts=[];var escapedBlocks=[];var bracketCount=0;var currentBlockParts=[];for(var partIndex=0;partIndex<inputParts.length;partIndex++){var part=inputParts[partIndex];if(part===CLOSE_CURLY){bracketCount--;}if(bracketCount>0){currentBlockParts.push(part);}else{if(currentBlockParts.length>0){escapedBlocks.push(currentBlockParts.join(''));resultParts.push(BLOCK_PLACEHOLDER);currentBlockParts=[];}resultParts.push(part);}if(part===OPEN_CURLY){bracketCount++;}}if(currentBlockParts.length>0){escapedBlocks.push(currentBlockParts.join(''));resultParts.push(BLOCK_PLACEHOLDER);}var strEscapedBlocks={escapedString:resultParts.join(''),blocks:escapedBlocks};return strEscapedBlocks;};var insertPolyfillHostInCssText=function insertPolyfillHostInCssText(selector){selector=selector.replace(_colonHostContextRe,_polyfillHostContext).replace(_colonHostRe,_polyfillHost).replace(_colonSlottedRe,_polyfillSlotted);return selector;};var convertColonRule=function convertColonRule(cssText,regExp,partReplacer){// m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\nreturn cssText.replace(regExp,function(){for(var _len=arguments.length,m=new Array(_len),_key=0;_key<_len;_key++){m[_key]=arguments[_key];}if(m[2]){var parts=m[2].split(',');var r=[];for(var i=0;i<parts.length;i++){var p=parts[i].trim();if(!p)break;r.push(partReplacer(_polyfillHostNoCombinator,p,m[3]));}return r.join(',');}else{return _polyfillHostNoCombinator+m[3];}});};var colonHostPartReplacer=function colonHostPartReplacer(host,part,suffix){return host+part.replace(_polyfillHost,'')+suffix;};var convertColonHost=function convertColonHost(cssText){return convertColonRule(cssText,_cssColonHostRe,colonHostPartReplacer);};var colonHostContextPartReplacer=function colonHostContextPartReplacer(host,part,suffix){if(part.indexOf(_polyfillHost)>-1){return colonHostPartReplacer(host,part,suffix);}else{return host+part+suffix+', '+part+' '+host+suffix;}};var convertColonSlotted=function convertColonSlotted(cssText,slotScopeId){var slotClass='.'+slotScopeId+' > ';var selectors=[];cssText=cssText.replace(_cssColonSlottedRe,function(){for(var _len2=arguments.length,m=new Array(_len2),_key2=0;_key2<_len2;_key2++){m[_key2]=arguments[_key2];}if(m[2]){var compound=m[2].trim();var suffix=m[3];var slottedSelector=slotClass+compound+suffix;var prefixSelector='';for(var i=m[4]-1;i>=0;i--){var char=m[5][i];if(char==='}'||char===','){break;}prefixSelector=char+prefixSelector;}var orgSelector=prefixSelector+slottedSelector;var addedSelector=\"\".concat(prefixSelector.trimRight()).concat(slottedSelector.trim());if(orgSelector.trim()!==addedSelector.trim()){var updatedSelector=\"\".concat(addedSelector,\", \").concat(orgSelector);selectors.push({orgSelector:orgSelector,updatedSelector:updatedSelector});}return slottedSelector;}else{return _polyfillHostNoCombinator+m[3];}});return{selectors:selectors,cssText:cssText};};var convertColonHostContext=function convertColonHostContext(cssText){return convertColonRule(cssText,_cssColonHostContextRe,colonHostContextPartReplacer);};var convertShadowDOMSelectors=function convertShadowDOMSelectors(cssText){return _shadowDOMSelectorsRe.reduce(function(result,pattern){return result.replace(pattern,' ');},cssText);};var makeScopeMatcher=function makeScopeMatcher(scopeSelector){var lre=/\\[/g;var rre=/\\]/g;scopeSelector=scopeSelector.replace(lre,'\\\\[').replace(rre,'\\\\]');return new RegExp('^('+scopeSelector+')'+_selectorReSuffix,'m');};var selectorNeedsScoping=function selectorNeedsScoping(selector,scopeSelector){var re=makeScopeMatcher(scopeSelector);return!re.test(selector);};var applySimpleSelectorScope=function applySimpleSelectorScope(selector,scopeSelector,hostSelector){// In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n_polyfillHostRe.lastIndex=0;if(_polyfillHostRe.test(selector)){var replaceBy=\".\".concat(hostSelector);return selector.replace(_polyfillHostNoCombinatorRe,function(_,selector){return selector.replace(/([^:]*)(:*)(.*)/,function(_,before,colon,after){return before+replaceBy+colon+after;});}).replace(_polyfillHostRe,replaceBy+' ');}return scopeSelector+' '+selector;};var applyStrictSelectorScope=function applyStrictSelectorScope(selector,scopeSelector,hostSelector){var isRe=/\\[is=([^\\]]*)\\]/g;scopeSelector=scopeSelector.replace(isRe,function(_){return arguments.length<=1?undefined:arguments[1];});var className='.'+scopeSelector;var _scopeSelectorPart=function _scopeSelectorPart(p){var scopedP=p.trim();if(!scopedP){return'';}if(p.indexOf(_polyfillHostNoCombinator)>-1){scopedP=applySimpleSelectorScope(p,scopeSelector,hostSelector);}else{// remove :host since it should be unnecessary\nvar t=p.replace(_polyfillHostRe,'');if(t.length>0){var matches=t.match(/([^:]*)(:*)(.*)/);if(matches){scopedP=matches[1]+className+matches[2]+matches[3];}}}return scopedP;};var safeContent=safeSelector(selector);selector=safeContent.content;var scopedSelector='';var startIndex=0;var res;var sep=/( |>|\\+|~(?!=))\\s*/g;// If a selector appears before :host it should not be shimmed as it\n// matches on ancestor elements and not on elements in the host's shadow\n// `:host-context(div)` is transformed to\n// `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`\n// the `div` is not part of the component in the 2nd selectors and should not be scoped.\n// Historically `component-tag:host` was matching the component so we also want to preserve\n// this behavior to avoid breaking legacy apps (it should not match).\n// The behavior should be:\n// - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)\n// - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a\n// `:host-context(tag)`)\nvar hasHost=selector.indexOf(_polyfillHostNoCombinator)>-1;// Only scope parts after the first `-shadowcsshost-no-combinator` when it is present\nvar shouldScope=!hasHost;while((res=sep.exec(selector))!==null){var separator=res[1];var _part=selector.slice(startIndex,res.index).trim();shouldScope=shouldScope||_part.indexOf(_polyfillHostNoCombinator)>-1;var scopedPart=shouldScope?_scopeSelectorPart(_part):_part;scopedSelector+=\"\".concat(scopedPart,\" \").concat(separator,\" \");startIndex=sep.lastIndex;}var part=selector.substring(startIndex);shouldScope=shouldScope||part.indexOf(_polyfillHostNoCombinator)>-1;scopedSelector+=shouldScope?_scopeSelectorPart(part):part;// replace the placeholders with their original values\nreturn restoreSafeSelector(safeContent.placeholders,scopedSelector);};var scopeSelector=function scopeSelector(selector,scopeSelectorText,hostSelector,slotSelector){return selector.split(',').map(function(shallowPart){if(slotSelector&&shallowPart.indexOf('.'+slotSelector)>-1){return shallowPart.trim();}if(selectorNeedsScoping(shallowPart,scopeSelectorText)){return applyStrictSelectorScope(shallowPart,scopeSelectorText,hostSelector).trim();}else{return shallowPart.trim();}}).join(', ');};var scopeSelectors=function scopeSelectors(cssText,scopeSelectorText,hostSelector,slotSelector,commentOriginalSelector){return processRules(cssText,function(rule){var selector=rule.selector;var content=rule.content;if(rule.selector[0]!=='@'){selector=scopeSelector(rule.selector,scopeSelectorText,hostSelector,slotSelector);}else if(rule.selector.startsWith('@media')||rule.selector.startsWith('@supports')||rule.selector.startsWith('@page')||rule.selector.startsWith('@document')){content=scopeSelectors(rule.content,scopeSelectorText,hostSelector,slotSelector);}var cssRule={selector:selector.replace(/\\s{2,}/g,' ').trim(),content:content};return cssRule;});};var scopeCssText=function scopeCssText(cssText,scopeId,hostScopeId,slotScopeId,commentOriginalSelector){cssText=insertPolyfillHostInCssText(cssText);cssText=convertColonHost(cssText);cssText=convertColonHostContext(cssText);var slotted=convertColonSlotted(cssText,slotScopeId);cssText=slotted.cssText;cssText=convertShadowDOMSelectors(cssText);if(scopeId){cssText=scopeSelectors(cssText,scopeId,hostScopeId,slotScopeId);}cssText=cssText.replace(/-shadowcsshost-no-combinator/g,\".\".concat(hostScopeId));cssText=cssText.replace(/>\\s*\\*\\s+([^{, ]+)/gm,' $1 ');return{cssText:cssText.trim(),slottedSelectors:slotted.selectors};};var scopeCss=function scopeCss(cssText,scopeId,commentOriginalSelector){var hostScopeId=scopeId+'-h';var slotScopeId=scopeId+'-s';var commentsWithHash=extractCommentsWithHash(cssText);cssText=stripComments(cssText);var orgSelectors=[];if(commentOriginalSelector){var processCommentedSelector=function processCommentedSelector(rule){var placeholder=\"/*!@___\".concat(orgSelectors.length,\"___*/\");var comment=\"/*!@\".concat(rule.selector,\"*/\");orgSelectors.push({placeholder:placeholder,comment:comment});rule.selector=placeholder+rule.selector;return rule;};cssText=processRules(cssText,function(rule){if(rule.selector[0]!=='@'){return processCommentedSelector(rule);}else if(rule.selector.startsWith('@media')||rule.selector.startsWith('@supports')||rule.selector.startsWith('@page')||rule.selector.startsWith('@document')){rule.content=processRules(rule.content,processCommentedSelector);return rule;}return rule;});}var scoped=scopeCssText(cssText,scopeId,hostScopeId,slotScopeId);cssText=[scoped.cssText].concat(_toConsumableArray(commentsWithHash)).join('\\n');if(commentOriginalSelector){orgSelectors.forEach(function(_ref){var placeholder=_ref.placeholder,comment=_ref.comment;cssText=cssText.replace(placeholder,comment);});}scoped.slottedSelectors.forEach(function(slottedSelector){cssText=cssText.replace(slottedSelector.orgSelector,slottedSelector.updatedSelector);});return cssText;};export{scopeCss};"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///./node_modules/@stencil/core/internal/client/shadow-css.js"],"names":["_parenSuffix","_cssColonHostRe","RegExp","_cssColonHostContextRe","_cssColonSlottedRe","_polyfillHostNoCombinatorRe","_shadowDOMSelectorsRe","_polyfillHostRe","_colonHostRe","_colonSlottedRe","_colonHostContextRe","_commentRe","_commentWithHashRe","_ruleRe","_curlyRe","processRules","input","ruleCallback","inputWithEscapedBlocks","escapeBlocks","nextBlockIndex","escapedString","replace","selector","arguments","length","undefined","content","suffix","contentPrefix","startsWith","blocks","substring","cssRule","rule","concat","inputParts","split","resultParts","escapedBlocks","bracketCount","currentBlockParts","partIndex","part","push","join","convertColonRule","cssText","regExp","partReplacer","_len","m","Array","_key","parts","r","i","p","trim","_polyfillHost","colonHostPartReplacer","host","colonHostContextPartReplacer","indexOf","selectorNeedsScoping","scopeSelector","makeScopeMatcher","test","applyStrictSelectorScope","hostSelector","res","className","_","_scopeSelectorPart","scopedP","lastIndex","replaceBy","before","colon","after","applySimpleSelectorScope","t","matches","match","safeContent","placeholders","index","keep","pseudo","exp","safeSelector","scopedSelector","startIndex","sep","shouldScope","exec","separator","_part","slice","scopedPart","scopeSelectors","scopeSelectorText","slotSelector","commentOriginalSelector","map","shallowPart","scopeCssText","scopeId","hostScopeId","slotScopeId","slotted","slotClass","selectors","_len2","_key2","compound","slottedSelector","prefixSelector","char","orgSelector","addedSelector","trimRight","updatedSelector","convertColonSlotted","convertColonHostContext","convertColonHost","reduce","result","pattern","convertShadowDOMSelectors","slottedSelectors","scopeCss","commentsWithHash","stripComments","orgSelectors","processCommentedSelector","placeholder","comment","scoped","forEach","_ref"],"mappings":";;;;;;;;;;;;;;;;;mIAAA,4DAiBiDA,EAAa,kDAA4DC,EAAgB,IAAIC,OAAO,kBAAkBF,EAAa,OAAWG,EAAuB,IAAID,OAAO,qBAAyBF,EAAa,OAAWI,EAAmB,IAAIF,OAAO,qBAAqBF,EAAa,OAAwEK,EAA4B,uCAA2CC,EAAsB,CAAC,YAAY,cAAqEC,EAAgB,oBAAwBC,EAAa,WAAeC,EAAgB,eAAmBC,EAAoB,mBAAuBC,EAAW,uBAAiHC,EAAmB,+CAAoKC,EAAQ,wDAA4DC,EAAS,UAAqFC,EAAa,SAAsBC,EAAMC,GAAc,IAAIC,EAAuBC,EAAaH,GAAWI,EAAe,EAAE,OAAOF,EAAuBG,cAAcC,QAAQT,GAAQ,WAAW,IAAIU,EAASC,UAAUC,QAAQ,OAAEC,EAAUF,UAAU,GAAOG,EAAQ,GAAOC,EAAOJ,UAAUC,QAAQ,OAAEC,EAAUF,UAAU,GAAOK,EAAc,GAAMD,GAAQA,EAAOE,WAAW,cAAwBH,EAAQT,EAAuBa,OAAOX,KAAkBQ,EAAOA,EAAOI,UAA7d,UAAyfP,OAAO,GAAGI,EAAc,KAAK,IAAII,EAAQ,CAACV,SAASA,EAASI,QAAQA,GAAaO,EAAKjB,EAAagB,GAAS,MAAM,GAAGE,OAAOX,UAAUC,QAAQ,OAAEC,EAAUF,UAAU,IAAIW,OAAOD,EAAKX,UAAUY,OAAOX,UAAUC,QAAQ,OAAEC,EAAUF,UAAU,IAAIW,OAAON,GAAeM,OAAOD,EAAKP,SAASQ,OAAOP,OAAiBT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EAAa1F,KAAK,CAAC4F,YAAYA,EAAYC,QAAQA,IAAUvG,EAAKX,SAASiH,EAAYtG,EAAKX,SAAgBW,GAAOa,EAAQhC,EAAagC,GAAQ,SAASb,GAAM,MAAsB,MAAnBA,EAAKX,SAAS,GAAiBgH,EAAyBrG,GAAeA,EAAKX,SAASO,WAAW,WAAWI,EAAKX,SAASO,WAAW,cAAcI,EAAKX,SAASO,WAAW,UAAUI,EAAKX,SAASO,WAAW,cAAcI,EAAKP,QAAQZ,EAAamB,EAAKP,QAAQ4G,GAAiCrG,GAAaA,KAAS,IAAIwG,EAAOhC,EAAa3D,EAAQ4D,EAAQC,EAAYC,GAAuZ,OAA1Y9D,EAAQ,CAAC2F,EAAO3F,SAASZ,OAAO,YAAmBiG,IAAmBvF,KAAK,MAAS0D,GAAyB+B,EAAaK,SAAQ,SAASC,GAAM,IAAIJ,EAAYI,EAAKJ,YAAYC,EAAQG,EAAKH,QAAQ1F,EAAQA,EAAQzB,QAAQkH,EAAYC,MAAaC,EAAOR,iBAAiBS,SAAQ,SAASvB,GAAiBrE,EAAQA,EAAQzB,QAAQ8F,EAAgBG,YAAYH,EAAgBM,oBAA2B3E","file":"analytics/7-84efe7c4.js","sourcesContent":["import _toConsumableArray from\"@babel/runtime/helpers/esm/toConsumableArray\";/*\n Stencil Client Platform v2.5.2 | MIT Licensed | https://stenciljs.com\n */ /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n *\n * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts\n */var safeSelector=function safeSelector(selector){var placeholders=[];var index=0;var content;// Replaces attribute selectors with placeholders.\n// The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\nselector=selector.replace(/(\\[[^\\]]*\\])/g,function(_,keep){var replaceBy=\"__ph-\".concat(index,\"__\");placeholders.push(keep);index++;return replaceBy;});// Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n// WS and \"+\" would otherwise be interpreted as selector separators.\ncontent=selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g,function(_,pseudo,exp){var replaceBy=\"__ph-\".concat(index,\"__\");placeholders.push(exp);index++;return pseudo+replaceBy;});var ss={content:content,placeholders:placeholders};return ss;};var restoreSafeSelector=function restoreSafeSelector(placeholders,content){return content.replace(/__ph-(\\d+)__/g,function(_,index){return placeholders[+index];});};var _polyfillHost='-shadowcsshost';var _polyfillSlotted='-shadowcssslotted';// note: :host-context pre-processed to -shadowcsshostcontext.\nvar _polyfillHostContext='-shadowcsscontext';var _parenSuffix=')(?:\\\\(('+'(?:\\\\([^)(]*\\\\)|[^)(]*)+?'+')\\\\))?([^,{]*)';var _cssColonHostRe=new RegExp('('+_polyfillHost+_parenSuffix,'gim');var _cssColonHostContextRe=new RegExp('('+_polyfillHostContext+_parenSuffix,'gim');var _cssColonSlottedRe=new RegExp('('+_polyfillSlotted+_parenSuffix,'gim');var _polyfillHostNoCombinator=_polyfillHost+'-no-combinator';var _polyfillHostNoCombinatorRe=/-shadowcsshost-no-combinator([^\\s]*)/;var _shadowDOMSelectorsRe=[/::shadow/g,/::content/g];var _selectorReSuffix='([>\\\\s~+[.,{:][\\\\s\\\\S]*)?$';var _polyfillHostRe=/-shadowcsshost/gim;var _colonHostRe=/:host/gim;var _colonSlottedRe=/::slotted/gim;var _colonHostContextRe=/:host-context/gim;var _commentRe=/\\/\\*\\s*[\\s\\S]*?\\*\\//g;var stripComments=function stripComments(input){return input.replace(_commentRe,'');};var _commentWithHashRe=/\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;var extractCommentsWithHash=function extractCommentsWithHash(input){return input.match(_commentWithHashRe)||[];};var _ruleRe=/(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;var _curlyRe=/([{}])/g;var OPEN_CURLY='{';var CLOSE_CURLY='}';var BLOCK_PLACEHOLDER='%BLOCK%';var processRules=function processRules(input,ruleCallback){var inputWithEscapedBlocks=escapeBlocks(input);var nextBlockIndex=0;return inputWithEscapedBlocks.escapedString.replace(_ruleRe,function(){var selector=arguments.length<=2?undefined:arguments[2];var content='';var suffix=arguments.length<=4?undefined:arguments[4];var contentPrefix='';if(suffix&&suffix.startsWith('{'+BLOCK_PLACEHOLDER)){content=inputWithEscapedBlocks.blocks[nextBlockIndex++];suffix=suffix.substring(BLOCK_PLACEHOLDER.length+1);contentPrefix='{';}var cssRule={selector:selector,content:content};var rule=ruleCallback(cssRule);return\"\".concat(arguments.length<=1?undefined:arguments[1]).concat(rule.selector).concat(arguments.length<=3?undefined:arguments[3]).concat(contentPrefix).concat(rule.content).concat(suffix);});};var escapeBlocks=function escapeBlocks(input){var inputParts=input.split(_curlyRe);var resultParts=[];var escapedBlocks=[];var bracketCount=0;var currentBlockParts=[];for(var partIndex=0;partIndex<inputParts.length;partIndex++){var part=inputParts[partIndex];if(part===CLOSE_CURLY){bracketCount--;}if(bracketCount>0){currentBlockParts.push(part);}else{if(currentBlockParts.length>0){escapedBlocks.push(currentBlockParts.join(''));resultParts.push(BLOCK_PLACEHOLDER);currentBlockParts=[];}resultParts.push(part);}if(part===OPEN_CURLY){bracketCount++;}}if(currentBlockParts.length>0){escapedBlocks.push(currentBlockParts.join(''));resultParts.push(BLOCK_PLACEHOLDER);}var strEscapedBlocks={escapedString:resultParts.join(''),blocks:escapedBlocks};return strEscapedBlocks;};var insertPolyfillHostInCssText=function insertPolyfillHostInCssText(selector){selector=selector.replace(_colonHostContextRe,_polyfillHostContext).replace(_colonHostRe,_polyfillHost).replace(_colonSlottedRe,_polyfillSlotted);return selector;};var convertColonRule=function convertColonRule(cssText,regExp,partReplacer){// m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\nreturn cssText.replace(regExp,function(){for(var _len=arguments.length,m=new Array(_len),_key=0;_key<_len;_key++){m[_key]=arguments[_key];}if(m[2]){var parts=m[2].split(',');var r=[];for(var i=0;i<parts.length;i++){var p=parts[i].trim();if(!p)break;r.push(partReplacer(_polyfillHostNoCombinator,p,m[3]));}return r.join(',');}else{return _polyfillHostNoCombinator+m[3];}});};var colonHostPartReplacer=function colonHostPartReplacer(host,part,suffix){return host+part.replace(_polyfillHost,'')+suffix;};var convertColonHost=function convertColonHost(cssText){return convertColonRule(cssText,_cssColonHostRe,colonHostPartReplacer);};var colonHostContextPartReplacer=function colonHostContextPartReplacer(host,part,suffix){if(part.indexOf(_polyfillHost)>-1){return colonHostPartReplacer(host,part,suffix);}else{return host+part+suffix+', '+part+' '+host+suffix;}};var convertColonSlotted=function convertColonSlotted(cssText,slotScopeId){var slotClass='.'+slotScopeId+' > ';var selectors=[];cssText=cssText.replace(_cssColonSlottedRe,function(){for(var _len2=arguments.length,m=new Array(_len2),_key2=0;_key2<_len2;_key2++){m[_key2]=arguments[_key2];}if(m[2]){var compound=m[2].trim();var suffix=m[3];var slottedSelector=slotClass+compound+suffix;var prefixSelector='';for(var i=m[4]-1;i>=0;i--){var char=m[5][i];if(char==='}'||char===','){break;}prefixSelector=char+prefixSelector;}var orgSelector=prefixSelector+slottedSelector;var addedSelector=\"\".concat(prefixSelector.trimRight()).concat(slottedSelector.trim());if(orgSelector.trim()!==addedSelector.trim()){var updatedSelector=\"\".concat(addedSelector,\", \").concat(orgSelector);selectors.push({orgSelector:orgSelector,updatedSelector:updatedSelector});}return slottedSelector;}else{return _polyfillHostNoCombinator+m[3];}});return{selectors:selectors,cssText:cssText};};var convertColonHostContext=function convertColonHostContext(cssText){return convertColonRule(cssText,_cssColonHostContextRe,colonHostContextPartReplacer);};var convertShadowDOMSelectors=function convertShadowDOMSelectors(cssText){return _shadowDOMSelectorsRe.reduce(function(result,pattern){return result.replace(pattern,' ');},cssText);};var makeScopeMatcher=function makeScopeMatcher(scopeSelector){var lre=/\\[/g;var rre=/\\]/g;scopeSelector=scopeSelector.replace(lre,'\\\\[').replace(rre,'\\\\]');return new RegExp('^('+scopeSelector+')'+_selectorReSuffix,'m');};var selectorNeedsScoping=function selectorNeedsScoping(selector,scopeSelector){var re=makeScopeMatcher(scopeSelector);return!re.test(selector);};var applySimpleSelectorScope=function applySimpleSelectorScope(selector,scopeSelector,hostSelector){// In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n_polyfillHostRe.lastIndex=0;if(_polyfillHostRe.test(selector)){var replaceBy=\".\".concat(hostSelector);return selector.replace(_polyfillHostNoCombinatorRe,function(_,selector){return selector.replace(/([^:]*)(:*)(.*)/,function(_,before,colon,after){return before+replaceBy+colon+after;});}).replace(_polyfillHostRe,replaceBy+' ');}return scopeSelector+' '+selector;};var applyStrictSelectorScope=function applyStrictSelectorScope(selector,scopeSelector,hostSelector){var isRe=/\\[is=([^\\]]*)\\]/g;scopeSelector=scopeSelector.replace(isRe,function(_){return arguments.length<=1?undefined:arguments[1];});var className='.'+scopeSelector;var _scopeSelectorPart=function _scopeSelectorPart(p){var scopedP=p.trim();if(!scopedP){return'';}if(p.indexOf(_polyfillHostNoCombinator)>-1){scopedP=applySimpleSelectorScope(p,scopeSelector,hostSelector);}else{// remove :host since it should be unnecessary\nvar t=p.replace(_polyfillHostRe,'');if(t.length>0){var matches=t.match(/([^:]*)(:*)(.*)/);if(matches){scopedP=matches[1]+className+matches[2]+matches[3];}}}return scopedP;};var safeContent=safeSelector(selector);selector=safeContent.content;var scopedSelector='';var startIndex=0;var res;var sep=/( |>|\\+|~(?!=))\\s*/g;// If a selector appears before :host it should not be shimmed as it\n// matches on ancestor elements and not on elements in the host's shadow\n// `:host-context(div)` is transformed to\n// `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`\n// the `div` is not part of the component in the 2nd selectors and should not be scoped.\n// Historically `component-tag:host` was matching the component so we also want to preserve\n// this behavior to avoid breaking legacy apps (it should not match).\n// The behavior should be:\n// - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)\n// - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a\n// `:host-context(tag)`)\nvar hasHost=selector.indexOf(_polyfillHostNoCombinator)>-1;// Only scope parts after the first `-shadowcsshost-no-combinator` when it is present\nvar shouldScope=!hasHost;while((res=sep.exec(selector))!==null){var separator=res[1];var _part=selector.slice(startIndex,res.index).trim();shouldScope=shouldScope||_part.indexOf(_polyfillHostNoCombinator)>-1;var scopedPart=shouldScope?_scopeSelectorPart(_part):_part;scopedSelector+=\"\".concat(scopedPart,\" \").concat(separator,\" \");startIndex=sep.lastIndex;}var part=selector.substring(startIndex);shouldScope=shouldScope||part.indexOf(_polyfillHostNoCombinator)>-1;scopedSelector+=shouldScope?_scopeSelectorPart(part):part;// replace the placeholders with their original values\nreturn restoreSafeSelector(safeContent.placeholders,scopedSelector);};var scopeSelector=function scopeSelector(selector,scopeSelectorText,hostSelector,slotSelector){return selector.split(',').map(function(shallowPart){if(slotSelector&&shallowPart.indexOf('.'+slotSelector)>-1){return shallowPart.trim();}if(selectorNeedsScoping(shallowPart,scopeSelectorText)){return applyStrictSelectorScope(shallowPart,scopeSelectorText,hostSelector).trim();}else{return shallowPart.trim();}}).join(', ');};var scopeSelectors=function scopeSelectors(cssText,scopeSelectorText,hostSelector,slotSelector,commentOriginalSelector){return processRules(cssText,function(rule){var selector=rule.selector;var content=rule.content;if(rule.selector[0]!=='@'){selector=scopeSelector(rule.selector,scopeSelectorText,hostSelector,slotSelector);}else if(rule.selector.startsWith('@media')||rule.selector.startsWith('@supports')||rule.selector.startsWith('@page')||rule.selector.startsWith('@document')){content=scopeSelectors(rule.content,scopeSelectorText,hostSelector,slotSelector);}var cssRule={selector:selector.replace(/\\s{2,}/g,' ').trim(),content:content};return cssRule;});};var scopeCssText=function scopeCssText(cssText,scopeId,hostScopeId,slotScopeId,commentOriginalSelector){cssText=insertPolyfillHostInCssText(cssText);cssText=convertColonHost(cssText);cssText=convertColonHostContext(cssText);var slotted=convertColonSlotted(cssText,slotScopeId);cssText=slotted.cssText;cssText=convertShadowDOMSelectors(cssText);if(scopeId){cssText=scopeSelectors(cssText,scopeId,hostScopeId,slotScopeId);}cssText=cssText.replace(/-shadowcsshost-no-combinator/g,\".\".concat(hostScopeId));cssText=cssText.replace(/>\\s*\\*\\s+([^{, ]+)/gm,' $1 ');return{cssText:cssText.trim(),slottedSelectors:slotted.selectors};};var scopeCss=function scopeCss(cssText,scopeId,commentOriginalSelector){var hostScopeId=scopeId+'-h';var slotScopeId=scopeId+'-s';var commentsWithHash=extractCommentsWithHash(cssText);cssText=stripComments(cssText);var orgSelectors=[];if(commentOriginalSelector){var processCommentedSelector=function processCommentedSelector(rule){var placeholder=\"/*!@___\".concat(orgSelectors.length,\"___*/\");var comment=\"/*!@\".concat(rule.selector,\"*/\");orgSelectors.push({placeholder:placeholder,comment:comment});rule.selector=placeholder+rule.selector;return rule;};cssText=processRules(cssText,function(rule){if(rule.selector[0]!=='@'){return processCommentedSelector(rule);}else if(rule.selector.startsWith('@media')||rule.selector.startsWith('@supports')||rule.selector.startsWith('@page')||rule.selector.startsWith('@document')){rule.content=processRules(rule.content,processCommentedSelector);return rule;}return rule;});}var scoped=scopeCssText(cssText,scopeId,hostScopeId,slotScopeId);cssText=[scoped.cssText].concat(_toConsumableArray(commentsWithHash)).join('\\n');if(commentOriginalSelector){orgSelectors.forEach(function(_ref){var placeholder=_ref.placeholder,comment=_ref.comment;cssText=cssText.replace(placeholder,comment);});}scoped.slottedSelectors.forEach(function(slottedSelector){cssText=cssText.replace(slottedSelector.orgSelector,slottedSelector.updatedSelector);});return cssText;};export{scopeCss};"],"sourceRoot":""}
dist/analytics/7.js ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ *
3
+ * Presto Player
4
+ *
5
+ * @author Presto Made, Inc
6
+ * @version 0.1.0
7
+ * @link undefined
8
+ * @license GPL
9
+ *
10
+ * Copyright (c) 2021 Presto Made, Inc
11
+ *
12
+ * This software is released under the GPL License
13
+ * https://opensource.org/licenses/GPL
14
+ *
15
+ * Compiled with the help of https://wpack.io
16
+ * A zero setup Webpack Bundler Script for WordPress
17
+ */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[7],{54:function(t,e,n){"use strict";n.r(e),n.d(e,"scopeCss",(function(){return y}));var r=n(16),o=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",c=new RegExp("(-shadowcsshost"+o,"gim"),s=new RegExp("(-shadowcsscontext"+o,"gim"),a=new RegExp("(-shadowcssslotted"+o,"gim"),i=/-shadowcsshost-no-combinator([^\s]*)/,u=[/::shadow/g,/::content/g],l=/-shadowcsshost/gim,h=/:host/gim,p=/::slotted/gim,f=/:host-context/gim,d=/\/\*\s*[\s\S]*?\*\//g,g=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,m=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,v=/([{}])/g,w=function(t,e){var n=x(t),r=0;return n.escapedString.replace(m,(function(){var t=arguments.length<=2?void 0:arguments[2],o="",c=arguments.length<=4?void 0:arguments[4],s="";c&&c.startsWith("{%BLOCK%")&&(o=n.blocks[r++],c=c.substring("%BLOCK%".length+1),s="{");var a={selector:t,content:o},i=e(a);return"".concat(arguments.length<=1?void 0:arguments[1]).concat(i.selector).concat(arguments.length<=3?void 0:arguments[3]).concat(s).concat(i.content).concat(c)}))},x=function(t){for(var e=t.split(v),n=[],r=[],o=0,c=[],s=0;s<e.length;s++){var a=e[s];"}"===a&&o--,o>0?c.push(a):(c.length>0&&(r.push(c.join("")),n.push("%BLOCK%"),c=[]),n.push(a)),"{"===a&&o++}return c.length>0&&(r.push(c.join("")),n.push("%BLOCK%")),{escapedString:n.join(""),blocks:r}},_=function(t,e,n){return t.replace(e,(function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(e[2]){for(var o=e[2].split(","),c=[],s=0;s<o.length;s++){var a=o[s].trim();if(!a)break;c.push(n("-shadowcsshost-no-combinator",a,e[3]))}return c.join(",")}return"-shadowcsshost-no-combinator"+e[3]}))},b=function(t,e,n){return t+e.replace("-shadowcsshost","")+n},O=function(t,e,n){return e.indexOf("-shadowcsshost")>-1?b(t,e,n):t+e+n+", "+e+" "+t+n},S=function(t,e){return!function(t){return t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")}(e).test(t)},W=function(t,e,n){for(var r,o="."+(e=e.replace(/\[is=([^\]]*)\]/g,(function(t){return arguments.length<=1?void 0:arguments[1]}))),c=function(t){var r=t.trim();if(!r)return"";if(t.indexOf("-shadowcsshost-no-combinator")>-1)r=function(t,e,n){if(l.lastIndex=0,l.test(t)){var r=".".concat(n);return t.replace(i,(function(t,e){return e.replace(/([^:]*)(:*)(.*)/,(function(t,e,n,o){return e+r+n+o}))})).replace(l,r+" ")}return e+" "+t}(t,e,n);else{var c=t.replace(l,"");if(c.length>0){var s=c.match(/([^:]*)(:*)(.*)/);s&&(r=s[1]+o+s[2]+s[3])}}return r},s=function(t){var e=[],n=0;return{content:(t=t.replace(/(\[[^\]]*\])/g,(function(t,r){var o="__ph-".concat(n,"__");return e.push(r),n++,o}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,(function(t,r,o){var c="__ph-".concat(n,"__");return e.push(o),n++,r+c})),placeholders:e}}(t),a="",u=0,h=/( |>|\+|~(?!=))\s*/g,p=!((t=s.content).indexOf("-shadowcsshost-no-combinator")>-1);null!==(r=h.exec(t));){var f=r[1],d=t.slice(u,r.index).trim(),g=(p=p||d.indexOf("-shadowcsshost-no-combinator")>-1)?c(d):d;a+="".concat(g," ").concat(f," "),u=h.lastIndex}var m,v=t.substring(u);return a+=(p=p||v.indexOf("-shadowcsshost-no-combinator")>-1)?c(v):v,m=s.placeholders,a.replace(/__ph-(\d+)__/g,(function(t,e){return m[+e]}))},j=function t(e,n,r,o,c){return w(e,(function(e){var c=e.selector,s=e.content;return"@"!==e.selector[0]?c=function(t,e,n,r){return t.split(",").map((function(t){return r&&t.indexOf("."+r)>-1?t.trim():S(t,e)?W(t,e,n).trim():t.trim()})).join(", ")}(e.selector,n,r,o):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(s=t(e.content,n,r,o)),{selector:c.replace(/\s{2,}/g," ").trim(),content:s}}))},k=function(t,e,n,r,o){var i=function(t,e){var n="."+e+" > ",r=[];return t=t.replace(a,(function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];if(e[2]){for(var c=e[2].trim(),s=e[3],a=n+c+s,i="",u=e[4]-1;u>=0;u--){var l=e[5][u];if("}"===l||","===l)break;i=l+i}var h=i+a,p="".concat(i.trimRight()).concat(a.trim());if(h.trim()!==p.trim()){var f="".concat(p,", ").concat(h);r.push({orgSelector:h,updatedSelector:f})}return a}return"-shadowcsshost-no-combinator"+e[3]})),{selectors:r,cssText:t}}(t=function(t){return _(t,s,O)}(t=function(t){return _(t,c,b)}(t=t.replace(f,"-shadowcsscontext").replace(h,"-shadowcsshost").replace(p,"-shadowcssslotted"))),r);return t=function(t){return u.reduce((function(t,e){return t.replace(e," ")}),t)}(t=i.cssText),e&&(t=j(t,e,n,r)),{cssText:(t=(t=t.replace(/-shadowcsshost-no-combinator/g,".".concat(n))).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:i.selectors}},y=function(t,e,n){var o=e+"-h",c=e+"-s",s=t.match(g)||[];t=function(t){return t.replace(d,"")}(t);var a=[];if(n){var i=function(t){var e="/*!@___".concat(a.length,"___*/"),n="/*!@".concat(t.selector,"*/");return a.push({placeholder:e,comment:n}),t.selector=e+t.selector,t};t=w(t,(function(t){return"@"!==t.selector[0]?i(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=w(t.content,i),t):t}))}var u=k(t,e,o,c);return t=[u.cssText].concat(Object(r.a)(s)).join("\n"),n&&a.forEach((function(e){var n=e.placeholder,r=e.comment;t=t.replace(n,r)})),u.slottedSelectors.forEach((function(e){t=t.replace(e.orgSelector,e.updatedSelector)})),t};
19
+ /**
20
+ * @license
21
+ * Copyright Google Inc. All Rights Reserved.
22
+ *
23
+ * Use of this source code is governed by an MIT-style license that can be
24
+ * found in the LICENSE file at https://angular.io/license
25
+ *
26
+ * This file is a port of shadowCSS from webcomponents.js to TypeScript.
27
+ * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
28
+ * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
29
+ */}}]);
30
+ //# sourceMappingURL=7.js.map
dist/analytics/7.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack:///analytics/7-84efe7c4.js"],"names":["window","push","54","module","__webpack_exports__","__webpack_require__","r","d","scopeCss","_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__","_parenSuffix","_cssColonHostRe","RegExp","_cssColonHostContextRe","_cssColonSlottedRe","_polyfillHostNoCombinatorRe","_shadowDOMSelectorsRe","_polyfillHostRe","_colonHostRe","_colonSlottedRe","_colonHostContextRe","_commentRe","_commentWithHashRe","_ruleRe","_curlyRe","processRules","input","ruleCallback","inputWithEscapedBlocks","escapeBlocks","nextBlockIndex","escapedString","replace","selector","arguments","length","undefined","content","suffix","contentPrefix","startsWith","blocks","substring","cssRule","rule","concat","inputParts","split","resultParts","escapedBlocks","bracketCount","currentBlockParts","partIndex","part","join","convertColonRule","cssText","regExp","partReplacer","_len","m","Array","_key","parts","i","p","trim","_polyfillHost","colonHostPartReplacer","host","colonHostContextPartReplacer","indexOf","selectorNeedsScoping","scopeSelector","makeScopeMatcher","test","applyStrictSelectorScope","hostSelector","res","className","_","_scopeSelectorPart","scopedP","lastIndex","replaceBy","before","colon","after","applySimpleSelectorScope","t","matches","match","safeContent","placeholders","index","keep","pseudo","exp","safeSelector","scopedSelector","startIndex","sep","shouldScope","exec","separator","_part","slice","scopedPart","scopeSelectors","scopeSelectorText","slotSelector","commentOriginalSelector","map","shallowPart","scopeCssText","scopeId","hostScopeId","slotScopeId","slotted","slotClass","selectors","_len2","_key2","compound","slottedSelector","prefixSelector","char","orgSelector","addedSelector","trimRight","updatedSelector","convertColonSlotted","convertColonHostContext","convertColonHost","reduce","result","pattern","convertShadowDOMSelectors","slottedSelectors","commentsWithHash","stripComments","orgSelectors","processCommentedSelector","placeholder","comment","scoped","Object","forEach","_ref"],"mappings":";;;;;;;;;;;;;;;;;CAiBCA,OAA0C,kCAAIA,OAA0C,mCAAK,IAAIC,KAAK,CAAC,CAAC,GAAG,CAEtGC,GACA,SAAUC,EAAQC,EAAqBC,GAE7C,aACAA,EAAoBC,EAAEF,GACSC,EAAoBE,EAAEH,EAAqB,YAAY,WAAa,OAAOI,KACrF,IAAIC,EAA4EJ,EAAoB,IAkBxEK,EAAa,kDAA4DC,EAAgB,IAAIC,OAAO,kBAAkBF,EAAa,OAAWG,EAAuB,IAAID,OAAO,qBAAyBF,EAAa,OAAWI,EAAmB,IAAIF,OAAO,qBAAqBF,EAAa,OAAwEK,EAA4B,uCAA2CC,EAAsB,CAAC,YAAY,cAAqEC,EAAgB,oBAAwBC,EAAa,WAAeC,EAAgB,eAAmBC,EAAoB,mBAAuBC,EAAW,uBAAiHC,EAAmB,+CAAoKC,EAAQ,wDAA4DC,EAAS,UAAqFC,EAAa,SAAsBC,EAAMC,GAAc,IAAIC,EAAuBC,EAAaH,GAAWI,EAAe,EAAE,OAAOF,EAAuBG,cAAcC,QAAQT,GAAQ,WAAW,IAAIU,EAASC,UAAUC,QAAQ,OAAEC,EAAUF,UAAU,GA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ot":""}
dist/analytics/admin-103fe944.js DELETED
@@ -1,19 +0,0 @@
1
- /*!
2
- *
3
- * Presto Player
4
- *
5
- * @author Presto Made, Inc
6
- * @version 0.1.0
7
- * @link undefined
8
- * @license GPL
9
- *
10
- * Copyright (c) 2021 Presto Made, Inc
11
- *
12
- * This software is released under the GPL License
13
- * https://opensource.org/licenses/GPL
14
- *
15
- * Compiled with the help of https://wpack.io
16
- * A zero setup Webpack Bundler Script for WordPress
17
- */
18
- (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[1],{31:function(e,t,a){a(32),e.exports=a(46)},34:function(e,t){function a(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}a.keys=function(){return[]},a.resolve=a,e.exports=a,a.id=34},46:function(e,t,a){"use strict";a.r(t);var r=a(24),n=a(1),c=a(6),l=a(7),o=a(5),i=a(8),s=a(15),p=a(11),d=a(4),u=a(27),m=a.n(u);function f(e){return{path:e.pathname,hash:e.hash,query:m.a.parse(e.search)}}var h=a(30),b=Object(h.a)(),y=wp.element.createContext({route:f(b.location)}),v=a(16),w=wp.element.useContext,E="";function g(e){var t=e.path,a=e.onRoute,r=e.children,n=w(y).route,c=Object(v.a)("".concat(t))("".concat(n.hash.substr(1)));return c?(a&&(E!==c.path&&a(),E=c.path),React.createElement("div",null,wp.element.cloneElement(r,{route:c}))):null}var R=a(21),O=a.n(R);wp.element.useContext;function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,r=Object(p.a)(e);if(t){var n=Object(p.a)(this).constructor;a=Reflect.construct(r,arguments,n)}else a=r.apply(this,arguments);return Object(s.a)(this,a)}}var x=function(e){Object(i.a)(a,e);var t=j(a);function a(e){var r;Object(c.a)(this,a),r=t.call(this,e),Object(d.a)(Object(o.a)(r),"handleRouteChange",(function(e){var t=f(null==e?void 0:e.location);r.setState({route:t})})),r.routes=Object.keys(e.routes).map((function(t){return e.routes[t].path})),r.unlisten=b.listen(r.handleRouteChange);var n=f(b.location);return r.state={route:n,defaultRoute:null!=e&&e.defaultRoute?"#".concat(null==e?void 0:e.defaultRoute):"#/"},r}return Object(l.a)(a,[{key:"componentWillUnmount",value:function(){this.unlisten()}},{key:"render",value:function(){var e=this.props,t=e.children,a=(e.NotFound,this.state),r=a.route,n=a.defaultRoute;if(!r.hash)return b.push(n),React.createElement("div",null);var c=!1;(this.routes||[]).forEach((function(e){var t=Object(v.a)(r.hash.substr(1))("".concat(r.hash.substr(1)));t&&(c={name:e,data:t})}));var l={route:r,matched:c},o=!c;return React.createElement(y.Provider,{value:l},o?React.createElement("div",null,"Not found"):t)}}]),a}(wp.element.Component),_=function(e){var t=e.width,a=e.height;return React.createElement("svg",{id:"e8f68bdd-4984-4f2e-95b7-7fc8ec281257","data-name":"Layer 1",width:t,height:a,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 918.14 765.54"},React.createElement("defs",null,React.createElement("linearGradient",{id:"27aa7b70-b106-4a00-be67-693c8380e41d",x1:"397.74",y1:"717.25",x2:"397.74",y2:"86.11",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{offset:"0","stop-color":"gray","stop-opacity":"0.25"}),React.createElement("stop",{offset:"0.54","stop-color":"gray","stop-opacity":"0.12"}),React.createElement("stop",{offset:"1","stop-color":"gray","stop-opacity":"0.1"})),React.createElement("linearGradient",{id:"46a816da-c484-41ec-8a6f-fbf14454d910",x1:"288.88",y1:"378.44",x2:"288.88",y2:"209.65",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"32b634d8-28f1-48d9-a868-f602a2cad942",x1:"288.88",y1:"328.29",x2:"288.88",y2:"223.1",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("clipPath",{id:"7a4c6aff-0be0-461b-a111-b3ae1b8fbf73",transform:"translate(-140.93 -67.23)"},React.createElement("rect",{id:"8cc91f6d-19b0-43cc-9c18-2faa83ac34ba","data-name":"<Rectangle>",x:"354.51",y:"291.55",width:"150.6",height:"101.52",fill:"#fff"})),React.createElement("linearGradient",{id:"38f1cb81-8fac-4205-a0ff-a33ac00d354c",x1:"288.88",y1:"594.94",x2:"288.88",y2:"426.14",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"6fc01aaf-135e-403e-a209-43b2a4fe59f1",x1:"288.88",y1:"544.79",x2:"288.88",y2:"439.6",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("clipPath",{id:"79ce363a-d134-40e4-9f82-b96d04a36978",transform:"translate(-140.93 -67.23)"},React.createElement("rect",{id:"5b44e697-61fe-43bd-9a58-5f3e41301748","data-name":"<Rectangle>",x:"354.51",y:"508.05",width:"150.6",height:"101.52",fill:"#fff"})),React.createElement("linearGradient",{id:"54803c44-522d-4b9e-9a34-f1f7b43e8483",x1:"671.57",y1:"760.34",x2:"671.57",y2:"129.2",gradientTransform:"translate(1109.43 -194.1) rotate(90)",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"089a6a47-adaa-499b-aefb-cd6464b62fb8",x1:"670.96",y1:"553.63",x2:"670.96",y2:"387.28",gradientTransform:"translate(1129.51 -168.41) rotate(90)",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"fd8d88e0-7826-450d-9e0b-001d1be709c2",x1:"637.66",y1:"754.12",x2:"637.66",y2:"601.05",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"8d1793c5-b76e-44e2-a52e-569460402331",x1:"778.37",y1:"673.86",x2:"778.37",y2:"569.13",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"4745700d-8097-45ff-9f71-625443fc4ad8",x1:"778.37",y1:"774.41",x2:"778.37",y2:"713.66",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"})),React.createElement("title",null,"secure data"),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"162.9",y:"86.11",width:"469.69",height:"631.14",fill:"url(#27aa7b70-b106-4a00-be67-693c8380e41d)"})),React.createElement("rect",{x:"169.02",y:"94.67",width:"455.01",height:"609.12",fill:"#f2f2f2"}),React.createElement("rect",{x:"204.49",y:"120.36",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"204.49",y:"142.37",width:"156.56",height:"4.89",fill:"#6c63ff",opacity:"0.7"}),React.createElement("rect",{x:"384.29",y:"120.36",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"408.75",y:"259.8",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"412.42",y:"273.25",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"419.76",y:"286.7",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"408.75",y:"476.29",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"412.42",y:"489.75",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"419.76",y:"503.2",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"205.71",y:"209.65",width:"166.35",height:"168.79",fill:"url(#46a816da-c484-41ec-8a6f-fbf14454d910)"})),React.createElement("rect",{x:"206.76",y:"213.32",width:"163.72",height:"161.45",fill:"#f5f5f5"}),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"212.53",y:"223.1",width:"152.7",height:"105.19",fill:"url(#32b634d8-28f1-48d9-a868-f602a2cad942)"})),React.createElement("rect",{id:"689f37f3-cc41-448d-b172-63ec123bc985","data-name":"<Rectangle>",x:"213.58",y:"224.32",width:"150.6",height:"101.52",fill:"#fff"}),React.createElement("g",{"clip-path":"url(#7a4c6aff-0be0-461b-a111-b3ae1b8fbf73)"},React.createElement("polygon",{points:"200.82 322.18 238.74 263.46 254.64 289.15 288.88 253.68 318.24 289.15 343.93 236.56 409.98 341.75 195.93 334.41 200.82 322.18",fill:"#6c63ff",opacity:"0.4"}),React.createElement("circle",{cx:"230.17",cy:"239",r:"11.01",fill:"#6c63ff",opacity:"0.4"})),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"205.71",y:"426.14",width:"166.35",height:"168.79",fill:"url(#38f1cb81-8fac-4205-a0ff-a33ac00d354c)"})),React.createElement("rect",{x:"206.76",y:"429.81",width:"163.72",height:"161.45",fill:"#f5f5f5"}),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"212.53",y:"439.6",width:"152.7",height:"105.19",fill:"url(#6fc01aaf-135e-403e-a209-43b2a4fe59f1)"})),React.createElement("rect",{id:"b429ac3a-f8a8-4171-bcce-5b6c002c0714","data-name":"<Rectangle>",x:"213.58",y:"440.82",width:"150.6",height:"101.52",fill:"#fff"}),React.createElement("g",{"clip-path":"url(#79ce363a-d134-40e4-9f82-b96d04a36978)"},React.createElement("polygon",{points:"200.82 538.67 238.74 479.96 254.64 505.65 288.88 470.18 318.24 505.65 343.93 453.05 409.98 558.24 195.93 550.9 200.82 538.67",fill:"#bdbdbd",opacity:"0.4"}),React.createElement("circle",{cx:"230.17",cy:"455.5",r:"11.01",fill:"#bdbdbd",opacity:"0.4"})),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"349.09",y:"242.63",width:"631.14",height:"469.69",transform:"translate(-74.16 969.06) rotate(-78.76)",fill:"url(#54803c44-522d-4b9e-9a34-f1f7b43e8483)"})),React.createElement("rect",{x:"359.37",y:"247.33",width:"609.12",height:"455.01",transform:"translate(-72.16 966.22) rotate(-78.76)",fill:"#fff"}),React.createElement("rect",{x:"523.5",y:"197.22",width:"322.91",height:"4.89",transform:"translate(-88.86 -196.94) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("rect",{x:"433.36",y:"650.7",width:"322.91",height:"4.89",transform:"translate(-2.18 -170.66) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("rect",{x:"428.58",y:"671.14",width:"249.52",height:"4.89",transform:"translate(1.01 -162.18) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("rect",{x:"424.6",y:"683.47",width:"92.96",height:"4.89",transform:"translate(1.84 -145.91) rotate(11.24)",fill:"#6c63ff",opacity:"0.7"}),React.createElement("rect",{x:"519.57",y:"209.08",width:"161.45",height:"4.89",transform:"translate(-88.17 -180.2) rotate(11.24)",fill:"#6c63ff",opacity:"0.7"}),React.createElement("rect",{x:"512.84",y:"249.31",width:"291.11",height:"4.89",transform:"translate(-79.21 -190.76) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("rect",{x:"509.47",y:"255.44",width:"70.94",height:"4.89",transform:"translate(-80.19 -168.52) rotate(11.24)",fill:"#3ad29f",opacity:"0.7"}),React.createElement("rect",{x:"501.56",y:"307.59",width:"322.91",height:"4.89",transform:"translate(-67.76 -190.54) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"575.87",y:"357.6",width:"166.35",height:"289.88",transform:"translate(-103.27 983.74) rotate(-78.76)",fill:"url(#089a6a47-adaa-499b-aefb-cd6464b62fb8)"})),React.createElement("rect",{x:"516.06",y:"420.61",width:"286.22",height:"162.68",transform:"translate(-30.42 -186.11) rotate(11.24)",fill:"#fff"}),React.createElement("rect",{x:"496.08",y:"335.18",width:"322.91",height:"4.89",transform:"translate(-62.49 -188.94) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("rect",{x:"547.86",y:"424.02",width:"35.47",height:"118.64",transform:"translate(-35.84 -168.22) rotate(11.24)",fill:"#6c63ff"}),React.createElement("rect",{x:"606.43",y:"475.19",width:"35.47",height:"79.5",transform:"translate(-28.56 -179.03) rotate(11.24)",fill:"#3ad29f"}),React.createElement("rect",{x:"665.23",y:"523.93",width:"35.47",height:"42.81",transform:"translate(-21.5 -189.92) rotate(11.24)",fill:"#f55f44"}),React.createElement("rect",{x:"731.91",y:"492.72",width:"35.47",height:"86.84",transform:"translate(-22.02 -203.09) rotate(11.24)",fill:"#fdd835"}),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"128.65",y:"645.09",width:"3.67",height:"20.79",fill:"#47e6b1"}),React.createElement("rect",{x:"269.58",y:"712.31",width:"3.67",height:"20.79",transform:"translate(853.2 384.07) rotate(90)",fill:"#47e6b1"})),React.createElement("path",{d:"M699.44,75.56a4.49,4.49,0,0,1-2.5-5.43,2.16,2.16,0,0,0,.1-.5h0a2.25,2.25,0,0,0-4-1.49h0a2.16,2.16,0,0,0-.25.44,4.49,4.49,0,0,1-5.43,2.5,2.16,2.16,0,0,0-.5-.1h0a2.25,2.25,0,0,0-1.49,4h0a2.16,2.16,0,0,0,.44.25,4.49,4.49,0,0,1,2.5,5.43,2.16,2.16,0,0,0-.1.5h0a2.25,2.25,0,0,0,4,1.49h0a2.16,2.16,0,0,0,.25-.44,4.49,4.49,0,0,1,5.43-2.5,2.16,2.16,0,0,0,.5.1h0a2.25,2.25,0,0,0,1.49-4h0A2.16,2.16,0,0,0,699.44,75.56Z",transform:"translate(-140.93 -67.23)",fill:"#4d8af0",opacity:"0.5"}),React.createElement("path",{d:"M286.33,179.4a4.49,4.49,0,0,1-2.5-5.43,2.16,2.16,0,0,0,.1-.5h0a2.25,2.25,0,0,0-4-1.49h0a2.16,2.16,0,0,0-.25.44,4.49,4.49,0,0,1-5.43,2.5,2.16,2.16,0,0,0-.5-.1h0a2.25,2.25,0,0,0-1.49,4h0a2.16,2.16,0,0,0,.44.25,4.49,4.49,0,0,1,2.5,5.43,2.16,2.16,0,0,0-.1.5h0a2.25,2.25,0,0,0,4,1.49h0a2.16,2.16,0,0,0,.25-.44,4.49,4.49,0,0,1,5.43-2.5,2.16,2.16,0,0,0,.5.1h0a2.25,2.25,0,0,0,1.49-4h0A2.16,2.16,0,0,0,286.33,179.4Z",transform:"translate(-140.93 -67.23)",fill:"#fdd835",opacity:"0.5"}),React.createElement("path",{d:"M253.63,484.46a4.49,4.49,0,0,1-2.5-5.43,2.16,2.16,0,0,0,.1-.5h0a2.25,2.25,0,0,0-4-1.49h0a2.16,2.16,0,0,0-.25.44,4.49,4.49,0,0,1-5.43,2.5,2.16,2.16,0,0,0-.5-.1h0a2.25,2.25,0,0,0-1.49,4h0a2.16,2.16,0,0,0,.44.25,4.49,4.49,0,0,1,2.5,5.43,2.16,2.16,0,0,0-.1.5h0a2.25,2.25,0,0,0,4,1.49h0a2.16,2.16,0,0,0,.25-.44,4.49,4.49,0,0,1,5.43-2.5,2.16,2.16,0,0,0,.5.1h0a2.25,2.25,0,0,0,1.49-4h0A2.16,2.16,0,0,0,253.63,484.46Z",transform:"translate(-140.93 -67.23)",fill:"#fdd835",opacity:"0.5"}),React.createElement("circle",{cx:"337.81",cy:"28.62",r:"7.34",fill:"#f55f44",opacity:"0.5"}),React.createElement("circle",{cx:"7.34",cy:"317.46",r:"7.34",fill:"#f55f44",opacity:"0.5"}),React.createElement("circle",{cx:"863.76",cy:"120.36",r:"7.34",fill:"#f55f44",opacity:"0.5"}),React.createElement("circle",{cx:"822.17",cy:"339.3",r:"7.34",fill:"#4d8af0",opacity:"0.5"}),React.createElement("circle",{cx:"37.68",cy:"145.22",r:"7.34",fill:"#47e6b1",opacity:"0.5"}),React.createElement("circle",{cx:"853.29",cy:"647.34",r:"7.34",fill:"#47e6b1",opacity:"0.5"}),React.createElement("circle",{cx:"910.8",cy:"430.97",r:"7.34",fill:"#47e6b1",opacity:"0.5"}),React.createElement("rect",{x:"544.42",y:"601.05",width:"186.48",height:"153.07",fill:"url(#fd8d88e0-7826-450d-9e0b-001d1be709c2)"}),React.createElement("path",{d:"M723.82,639a54.55,54.55,0,0,1,109.1,0v34.91h15.27V639a69.82,69.82,0,0,0-139.65,0v34.91h15.27Z",transform:"translate(-140.93 -67.23)",fill:"url(#8d1793c5-b76e-44e2-a52e-569460402331)"}),React.createElement("path",{d:"M726,638.25a52.37,52.37,0,1,1,104.74,0v33.52H845.4V638.25a67,67,0,0,0-134.06,0v33.52H726Z",transform:"translate(-140.93 -67.23)",fill:"#f5f5f5"}),React.createElement("rect",{x:"546.32",y:"602.45",width:"182.24",height:"148.73",fill:"#6c63ff"}),React.createElement("rect",{x:"546.32",y:"602.45",width:"182.24",height:"148.73",fill:"#f5f5f5"}),React.createElement("rect",{x:"546.32",y:"631.77",width:"182.24",height:"90.07",fill:"#6c63ff"}),React.createElement("path",{d:"M791.73,727a13.36,13.36,0,1,0-23.08,9.15v28.51a9.72,9.72,0,0,0,19.44,0V736.18A13.3,13.3,0,0,0,791.73,727Z",transform:"translate(-140.93 -67.23)",fill:"url(#4745700d-8097-45ff-9f71-625443fc4ad8)"}),React.createElement("path",{d:"M789.89,729.38a11.52,11.52,0,1,0-19.9,7.89v24.58a8.38,8.38,0,1,0,16.76,0V737.27A11.47,11.47,0,0,0,789.89,729.38Z",transform:"translate(-140.93 -67.23)",opacity:"0.2"}))},D=wp.i18n.__,P=wp.components,k=P.Flex,N=P.FlexItem,S=P.FlexBlock,F=function(){return React.createElement(k,{style:{padding:"30px",background:"#fff"}},React.createElement(N,null,React.createElement(_,{width:"250px"})),React.createElement(S,{style:{marginLeft:"20px"}},React.createElement("h1",null,D("Get detailed video insights.","presto-player")),React.createElement("p",null,D("Upgrade to Pro and get video insights like plays, watch-time, and drop off numbers.","presto-player")),React.createElement("a",{href:"https://prestoplayer.com",target:"_blank",className:"button button-primary"},D("Learn More","presto-player"))))},C=a(3),T=a(0),M=a.n(T);function I(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function B(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?I(Object(a),!0).forEach((function(t){Object(d.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):I(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}wp.i18n.__;var V=wp.apiFetch,A=wp.element.useState,H=wp.compose.createHigherOrderComponent,G=function(){return H((function(e){return function(t){var a=A(!1),r=Object(n.a)(a,2),c=r[0],l=r[1],o=A(1),i=Object(n.a)(o,2),s=i[0],p=i[1],d=A(0),u=Object(n.a)(d,2),m=u[0],f=u[1],h=A(0),b=Object(n.a)(h,2),y=b[0],v=b[1],w=A([]),E=Object(n.a)(w,2),g=E[0],R=E[1],O=A(""),j=Object(n.a)(O,2),x=j[0],_=j[1],D=function(){var e=Object(C.a)(M.a.mark((function e(t){var a,r,n,c;return M.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.endpoint,r=t.params,n=void 0===r?{}:r,l(!0),e.prev=2,e.next=5,V({path:wp.url.addQueryArgs(a,B({page:s,per_page:5},n)),parse:!1}).then((function(e){var t=e.headers?parseInt(e.headers.get("X-WP-Total")):0,a=e.headers?parseInt(e.headers.get("X-WP-TotalPages")):0;return f(t),v(a),e.json()}));case 5:c=e.sent,R(c),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),console.error(e.t0),null!==e.t0&&void 0!==e.t0&&e.t0.message&&_(e.t0.message);case 13:return e.prev=13,l(!1),e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[2,9,13,16]])})));return function(t){return e.apply(this,arguments)}}();return React.createElement(e,Object.assign({loading:c,setLoading:l,fetchData:D,page:s,setPage:p,total:m,setTotal:f,totalPages:y,setTotalPages:v,data:g,setData:R,error:x,setError:_},t))}}),"withDataList")},U=wp.i18n,L=U.__,W=U.sprintf,Z=function(e){var t=(new Date).getTimezoneOffset();return new Date(e.getTime()-60*t*1e3).toISOString().split("T")[0]+"T00:00:00.000Z"},Y=wp.components,z=Y.Spinner,Q=Y.Flex,X=Y.FlexItem,q=function(e){var t=e.height,a=void 0===t?100:t;return React.createElement(Q,{style:{height:"".concat(a,"px")},align:"center",justify:"center"},React.createElement(X,null,React.createElement(z,null)))},J=wp.i18n.__,K=wp.components,$=K.Card,ee=K.CardBody,te=K.Flex,ae=K.FlexBlock,re=K.Button,ne=K.ButtonGroup,ce=wp.element,le=ce.useState,oe=ce.useEffect,ie=function(e){var t=e.page,a=e.setPage,r=e.perPage,c=e.total,l=e.totalPages,o=le(!1),i=Object(n.a)(o,2),s=i[0],p=i[1],d=le(!1),u=Object(n.a)(d,2),m=u[0],f=u[1],h=le(0),b=Object(n.a)(h,2),y=b[0],v=b[1],w=le(0),E=Object(n.a)(w,2),g=E[0],R=E[1];oe((function(){v(Math.min(r*t,c)),R(r*(t-1)+1)}),[r,t,c]);return oe((function(){p(t-1>0),f(l>=t+1)}),[t,l]),React.createElement($,{size:"large",className:"presto-card pagination"},React.createElement(ee,{className:"presto-flow"},React.createElement(te,null,React.createElement(ae,null,sprintf(J("Showing %1s to %2s of %3s","presto-player"),g,y,c)),React.createElement(ae,null,React.createElement(te,{justify:"flex-end"},React.createElement(ne,null,React.createElement(re,{isSecondary:!0,disabled:!s,onClick:function(){a(Math.max(t-1,0))}},J("Previous","presto-player")),React.createElement(re,{isSecondary:!0,disabled:!m,onClick:function(){a(Math.min(l,t+1))}},J("Next","presto-player"))))))))},se=wp.i18n.__,pe=wp.element,de=(pe.useRef,pe.useEffect,pe.useState,wp.components),ue=de.Card,me=de.CardBody,fe=(de.Flex,de.FlexBlock,de.Button,de.ButtonGroup,function(e){var t=e.columns,a=e.data,r=e.onRowClick,n=e.title;return a.length?React.createElement(ue,{size:"large",className:"presto-card table-card"},React.createElement(me,{className:"presto-flow"},React.createElement("div",{className:"presto-card__title"},n),React.createElement("table",{role:"table",className:O()("presto-table",{"is-clickable":r})},React.createElement("thead",{role:"rowgroup"},React.createElement("tr",{role:"row"},t&&t.map((function(e){return React.createElement("th",{key:e.key,role:"columnheader"},e.label)})))),React.createElement("tbody",{role:"rowgroup"},a.map((function(e,a){return React.createElement("tr",{role:"row",key:"row-".concat(a),onClick:function(){return r&&r(e)}},t.map((function(t,r){return React.createElement("td",{role:"cell","data-title":t.label,key:"row-".concat(a,"-").concat(r),"aria-label":t.label},t.render?t.render(e):React.createElement("div",null,t.value(e)))})))})))))):React.createElement(ue,{size:"large",className:"presto-card table-card"},React.createElement(me,{className:"presto-flow"},React.createElement("div",{className:"presto-card__title"},n),React.createElement("div",{style:{opacity:.65}},se("No data available.","presto-player"))))}),he=wp.i18n.__,be=wp.element,ye=(be.useEffect,be.useState,wp.components),ve=ye.Card,we=ye.CardBody,Ee=function(e){var t=e.perPage,a=void 0===t?10:t,r=e.title,n=e.page,c=e.setPage,l=e.loading,o=e.total,i=e.totalPages,s=e.columns,p=e.data,d=e.onSelect;return l?React.createElement(ve,null,React.createElement(q,null)):null!=p&&p.length?React.createElement("div",{className:"datatable"},React.createElement(fe,{data:p,columns:s,perPage:a,onRowClick:d,title:r}),!!o&&React.createElement(ie,{page:n,setPage:c,perPage:a,total:o,totalPages:i})):React.createElement(ve,{size:"large",className:"presto-card"},React.createElement(we,{className:"presto-flow"},React.createElement("div",{className:"presto-card__title"},r),React.createElement("div",{style:{opacity:.65}},he("No data available.","presto-player"))))};function ge(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function Re(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(a),!0).forEach((function(t){Object(d.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ge(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Oe=wp.i18n.__,je=wp.element.useEffect,xe=(0,wp.compose.compose)([G()])((function(e){var t=e.loading,a=e.page,r=e.setPage,n=e.total,c=e.totalPages,l=e.data,o=e.error,i=e.fetchData,s=e.startDate,p=e.endDate;je((function(){i({endpoint:"/presto-player/v1/analytics/top-users",params:Re(Re({per_page:5},s?{start:Z(s)}:{}),p?{end:Z(p)}:{})})}),[a,s,p]);var d=[{key:"name",label:Oe("Name","presto-player"),value:function(e){var t;return null==e||null===(t=e.user)||void 0===t?void 0:t.name}},{key:"total_view",label:Oe("Total View","presto-player"),value:function(e){var t,a;return null==e||null===(t=e.stats)||void 0===t||null===(a=t[0])||void 0===a?void 0:a.data}},{key:"avg_view_time",label:Oe("Avg View Time","presto-player"),render:function(e){var t,a;return React.createElement("div",{className:"presto-badge"},null==e||null===(t=e.stats)||void 0===t||null===(a=t[1])||void 0===a?void 0:a.data)}}];return o?{error:o}:React.createElement(Ee,{title:Oe("Top Users","presto-player"),page:a,perPage:5,setPage:r,loading:t,total:n,totalPages:c,columns:d,data:l,onSelect:function(e){var t,a;return a=null==e||null===(t=e.user)||void 0===t?void 0:t.id,void b.push("#/user/".concat(a))}})}));function _e(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function De(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(a),!0).forEach((function(t){Object(d.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_e(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Pe=wp.i18n.__,ke=wp.element.useEffect,Ne=(0,wp.compose.compose)([G()])((function(e){var t=e.loading,a=e.page,r=e.setPage,n=e.total,c=e.totalPages,l=e.data,o=e.error,i=e.fetchData,s=e.startDate,p=e.endDate,d=e.userId;ke((function(){i({endpoint:"/presto-player/v1/analytics/top-videos",params:De(De(De({per_page:10},s?{start:Z(s)}:{}),p?{end:Z(p)}:{}),d?{user_id:d}:{})})}),[a,s,p]);var u=[{key:"name",label:Pe("Name","presto-player"),render:function(e){return React.createElement("h3",{style:{marginBottom:0,wordBreak:"break-all"}},e.video.title?e.video.title:Pe("Untitled","presto-player"))}},{key:"total_view",label:Pe("Total View","presto-player"),value:function(e){return e.stats[0].data}},{key:"avg_view_time",label:Pe("Avg View Time","presto-player"),render:function(e){return React.createElement("div",{className:"presto-badge"},e.stats[1].data)}},{key:"view_more",label:"",render:function(e){return React.createElement("span",{style:{color:"var(--wp-admin-theme-color, #007cba)"}},Pe("View Details","presto-player")," →")}}];return o?{error:o}:React.createElement(Ee,{title:Pe("Top Videos","presto-player"),perPage:10,page:a,setPage:r,loading:t,total:n,totalPages:c,columns:u,data:l,onSelect:function(e){var t,a;a=null==e||null===(t=e.video)||void 0===t?void 0:t.id,b.push("#/video/".concat(a))}})})),Se=wp.apiFetch;Se.use(Se.createNonceMiddleware(prestoPlayer.nonce)),Se.use(Se.createRootURLMiddleware(prestoPlayer.root+prestoPlayer.prestoVersionString));var Fe=Se,Ce=a(17),Te=a.n(Ce);function Me(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function Ie(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(a),!0).forEach((function(t){Object(d.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Me(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Be=wp.i18n,Ve=Be.__,Ae=Be.sprintf,He=wp.components,Ge=(He.Card,He.CardBody),Ue=wp.element,Le=Ue.useState,We=Ue.useEffect,Ze=(Ue.useRef,function(e){var t=Le(!0),a=Object(n.a)(t,2),r=a[0],c=a[1],l=Le(0),o=Object(n.a)(l,2),i=o[0],s=o[1],p=e.startDate,d=e.endDate,u=Le([{name:"Views",data:[]}]),m=Object(n.a)(u,2),f=m[0],h=m[1],b={options:{chart:{toolbar:{show:!1}},yaxis:{min:0,labels:{formatter:function(e){return e<1?0:Math.abs(e)>999?Math.sign(e)*(Math.abs(e)/1e3).toFixed(1)+"k":Math.sign(e)*Math.abs(e).toFixed(0)}}},colors:["#7c3aed"],xaxis:{type:"datetime",min:new Date(p).setHours(0,0,0,0),max:new Date(d).setHours(23,59,59,999)},dataLabels:{enabled:!1},stroke:{curve:"smooth"},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,90,100]}}}};We((function(){y()}),[e]);var y=function(){c(!0),Fe({path:"/presto-player/v1/analytics/views?"+jQuery.param(Ie(Ie({},p?{start:Z(p)}:{}),d?{end:Z(d)}:{})),parse:!1}).then(function(){var e=Object(C.a)(M.a.mark((function e(t){var a,r;return M.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t.headers&&t.headers.get("X-WP-Total")),e.next=3,t.json();case 3:a=e.sent,r=[],a.length&&a.forEach((function(e){r.push({x:e.date_time,y:e.total})})),h([{name:"Views",data:r}]);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e)})).finally((function(){c(!1)}))};return r?React.createElement(Ge,null,React.createElement(q,null)):React.createElement(Ge,{className:"presto-flow"},React.createElement("div",{className:"presto-card__title"},Ae(Ve("%d Unique Views","presto-player"),i)),React.createElement(Te.a,{options:b.options,series:f,type:"area",height:280}))}),Ye=wp.i18n,ze=Ye.__,Qe=Ye.sprintf,Xe=wp.components,qe=(Xe.Card,Xe.CardBody),Je=wp.element,Ke=Je.useState,$e=Je.useEffect,et=(Je.useRef,function(e){var t=Ke(!0),a=Object(n.a)(t,2),r=a[0],c=a[1],l=Ke(0),o=Object(n.a)(l,2),i=o[0],s=o[1],p=e.startDate,d=e.endDate,u=Ke([{name:"Views",data:[]}]),m=Object(n.a)(u,2),f=m[0],h=m[1],b={options:{chart:{toolbar:{show:!1}},yaxis:{labels:{formatter:function(e){return Math.abs(e)>999?Math.sign(e)*(Math.abs(e)/1e3).toFixed(1)+"k min":(Math.sign(e)*Math.abs(e)).toFixed(1)+"min"}}},colors:["#7c3aed"],xaxis:{type:"datetime",min:new Date(p).setHours(0,0,0,0),max:new Date(d).setHours(23,59,59,999)},dataLabels:{enabled:!1},stroke:{curve:"smooth"},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,90,100]}}}};$e((function(){R()}),[e]);var y,v,w,E,g,R=function(){c(!0),Fe({path:"/presto-player/v1/analytics/watch-time?"+jQuery.param({start:Z(p),end:Z(d)}),parse:!1}).then(function(){var e=Object(C.a)(M.a.mark((function e(t){var a,r,n,c;return M.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json();case 2:a=e.sent,r=a.data,n=a.average,s(parseFloat(n)),c=[],r.length&&r.forEach((function(e){c.push({x:e.date_time,y:(e.total/60).toFixed(2)})})),h([{name:"Watch Time",data:c}]);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e)})).finally((function(){c(!1)}))};return r?React.createElement(qe,null,React.createElement(q,null)):React.createElement(qe,{className:"presto-flow"},React.createElement("div",{className:"presto-card__title"},Qe(ze("%s average watch time","presto-player"),(y=i,v=Math.floor(y/60/60),w=Math.floor(y/60)-60*v,E=y%60,g="",v&&(g+=W(L("%d hours","presto-player"),v)+", "),w&&(g+=W(L("%d minutes","presto-player"),w)+" "),(v||w)&&E&&(g+=L("and","presto-player")+" "),g+=W(L("%d seconds","presto-player"),E)))),React.createElement(Te.a,{options:b.options,series:f,type:"area",height:280}))}),tt=wp.i18n.__,at=wp.components,rt=at.Panel,nt=at.TabPanel,ct=function(e){var t=e.startDate,a=e.endDate;return React.createElement(rt,null,React.createElement(nt,{className:"presto-module-tabs",onSelect:function(){},tabs:[{name:"views",title:tt("Views","presto-player")},{name:"watch",title:tt("Watch Time","presto-player")}]},(function(e){switch(e.name){case"views":return React.createElement(Ze,{startDate:t,endDate:a});case"watch":return React.createElement(et,{startDate:t,endDate:a});default:return React.createElement(React.Fragment,null,"Not Found")}})))},lt=a(28),ot=a.n(lt),it=(a(41),wp.i18n.__),st=wp.element,pt=st.useRef,dt=st.useEffect,ut=st.useState,mt=function(e){var t=e.startDate,a=e.setStartDate,r=e.endDate,c=e.setEndDate,l=pt(),o=ut(25),i=Object(n.a)(o,2),s=i[0],p=i[1];return dt((function(){new ot.a({element:null==l?void 0:l.current,singleMode:!1,format:"MMMM D YYYY",autoApply:!1,plugins:["ranges"],maxDate:new Date,numberOfMonths:2,buttonText:{apply:it("Apply","presto-player"),cancel:it("Cancel","presto-player")},dropdowns:{minYear:1990,maxYear:null,months:!0,years:!0},setup:function(e){e.setDateRange(t,r),e.on("button:apply",(function(e,t){a(e.dateInstance),c(t.dateInstance),p(l.current.value.length)}))}})}),[l]),React.createElement("div",{className:"component-base-control"},React.createElement("div",{className:"components-base-control__field"},React.createElement("input",{className:"components-text-control__input presto-settings__date-select",ref:l,size:s})))},ft=wp.i18n.__,ht=wp.components,bt=ht.Flex,yt=ht.FlexBlock,vt=ht.FlexItem,wt=(wp.element.useState,function(e){var t=e.startDate,a=e.endDate,r=e.setStartDate,n=e.setEndDate;return React.createElement(React.Fragment,null,React.createElement(bt,null,React.createElement(yt,null,React.createElement("h1",null,ft("Analytics","presto-player"))),React.createElement(vt,null,React.createElement(mt,{startDate:t,setStartDate:r,endDate:a,setEndDate:n}))),React.createElement("div",{className:"presto-flow"},React.createElement("div",{className:"presto-dashboard"},React.createElement("div",{className:"presto-dashboard__row"},React.createElement("div",{className:"presto-dashboard__item is-large"},React.createElement(ct,{startDate:t,endDate:a})),React.createElement("div",{className:"presto-dashboard__item"},React.createElement(xe,{startDate:t,endDate:a}))),React.createElement("div",{className:"presto-dashboard__row"},React.createElement("div",{className:"presto-dashboard__item is-large"},React.createElement(Ne,{startDate:t,endDate:a}))))))}),Et=a(22),gt=wp.components,Rt=gt.Card,Ot=gt.CardBody,jt=function(e){var t=e.loading,a=e.title,r=e.value,n=e.label;return t?React.createElement(Rt,null,React.createElement(Ot,null,React.createElement(q,null))):React.createElement(Rt,{className:"presto-player__stat-card"},React.createElement(Ot,null,React.createElement("div",{className:"presto-subtitle"},a),React.createElement("h1",null,r),React.createElement("div",null,n)))};function xt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function _t(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(a),!0).forEach((function(t){Object(d.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):xt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Dt,Pt,kt,Nt=wp.apiFetch,St=wp.element.useState,Ft=wp.compose.createHigherOrderComponent,Ct=function(){return Ft((function(e){return function(t){var a=St(!1),r=Object(n.a)(a,2),c=r[0],l=r[1],o=St([]),i=Object(n.a)(o,2),s=i[0],p=i[1],d=St(""),u=Object(n.a)(d,2),m=u[0],f=u[1],h=function(){var e=Object(C.a)(M.a.mark((function e(t){var a,r,n,c;return M.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.endpoint,r=t.params,n=void 0===r?{}:r,l(!0),e.prev=2,e.next=5,Nt({path:wp.url.addQueryArgs(a,_t({},n))});case 5:c=e.sent,p(c),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),console.error(e.t0),null!==e.t0&&void 0!==e.t0&&e.t0.message&&f(e.t0.message);case 13:return e.prev=13,l(!1),e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[2,9,13,16]])})));return function(t){return e.apply(this,arguments)}}();return React.createElement(e,Object.assign({loading:c,setLoading:l,fetchData:h,stat:s,setStat:p,error:m,setError:f},t))}}),"withStat")},Tt=wp.i18n.__,Mt=wp.compose.compose,It=wp.element.useEffect,Bt=Mt([Ct()])((function(e){var t=e.userId,a=e.startDate,r=e.endDate,n=e.stat,c=e.fetchData,l=e.loading;return It((function(){c({endpoint:"/presto-player/v1/analytics/user/".concat(t,"/total-views"),params:{start:Z(a),end:Z(r)}})}),[a,r]),React.createElement(jt,{loading:l,value:parseInt(null==n?void 0:n.view),title:Tt("Total Views","presto-player")})})),Vt=wp.i18n.__,At=wp.compose.compose,Ht=wp.element.useEffect,Gt=At([Ct()])((function(e){var t=e.userId,a=e.startDate,r=e.endDate,n=e.stat,c=e.fetchData,l=e.loading;return Ht((function(){c({endpoint:"/presto-player/v1/analytics/user/".concat(t,"/average-watchtime"),params:{start:Z(a),end:Z(r)}})}),[a,r]),React.createElement(jt,{loading:l,value:parseFloat(null==n?void 0:n.view).toFixed(2),title:Vt("Average Watch Time","presto-player"),label:Vt("seconds","presto-player")})})),Ut=wp.i18n.__,Lt=wp.compose.compose,Wt=wp.element.useEffect,Zt=Lt([Ct()])((function(e){var t=e.userId,a=e.startDate,r=e.endDate,n=e.stat,c=e.fetchData,l=e.loading;return Wt((function(){c({endpoint:"/presto-player/v1/analytics/user/".concat(t,"/total-watchtime"),params:{start:Z(a),end:Z(r)}})}),[a,r]),React.createElement(jt,{loading:l,value:parseFloat(null==n?void 0:n.view).toFixed(2),title:Ut("Total Watch Time","presto-player"),label:Ut("seconds","presto-player")})})),Yt=a(2),zt=wp.i18n.__,Qt=wp.components,Xt=Qt.Flex,qt=Qt.FlexBlock,Jt=Qt.FlexItem,Kt=Qt.Spinner,$t=Qt.Button,ea=wp.element,ta=ea.useEffect,aa=ea.useState,ra=wp.apiFetch,na=function(e){var t,a,r,c,l=e.route,o=e.startDate,i=e.endDate,s=e.setStartDate,p=e.setEndDate,d=aa(!0),u=Object(n.a)(d,2),m=u[0],f=u[1],h=aa({}),y=Object(n.a)(h,2),v=y[0],w=y[1],E=aa(""),g=Object(n.a)(E,2),R=g[0],O=g[1],j=function(){var e=Object(C.a)(M.a.mark((function e(){var t,a;return M.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f(!0),e.prev=1,e.next=4,ra({url:"/wp-json/wp/v2/users/".concat(null==l||null===(t=l.params)||void 0===t?void 0:t.id,"?context=edit")});case 4:a=e.sent,w(a),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),"rest_no_route"===e.t0.code&&O("User Not Found");case 11:return e.prev=11,f(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,8,11,14]])})));return function(){return e.apply(this,arguments)}}();return ta((function(){j()}),[]),R?Object(Yt.b)("div",{className:"presto-flow"},Object(Yt.b)(Xt,null,Object(Yt.b)(qt,null,Object(Yt.b)("h2",null,R)))):Object(Yt.b)("div",{className:"presto-flow"},Object(Yt.b)(Xt,null,Object(Yt.b)(qt,null,Object(Yt.b)($t,{isSecondary:!0,onClick:function(){b.push("#/")}},"← ",zt("Back to Dashboard","presto-player")))),Object(Yt.b)(Xt,{wrap:!0},Object(Yt.b)(qt,null,m?Object(Yt.b)(Kt,null):Object(Yt.b)("div",{css:Object(Yt.a)(Dt||(Dt=Object(Et.a)(["\n display: flex;\n align-items: center;\n\n .presto__edit-user-button {\n opacity: 0;\n visibility: hidden;\n transition: opacity 0.3s ease;\n }\n\n &:hover {\n .presto__edit-user-button {\n opacity: 1;\n visibility: visible;\n }\n }\n "])))},Object(Yt.b)("div",null,Object(Yt.b)("h1",{className:"presto-dashboard__title"},null==v?void 0:v.name),Object(Yt.b)("p",{css:Object(Yt.a)(Pt||(Pt=Object(Et.a)(["\n margin-top: -10px;\n opacity: 0.65;\n "])))},null==v?void 0:v.email)),!!v.id&&Object(Yt.b)("div",{className:"presto__edit-user-button",css:Object(Yt.a)(kt||(kt=Object(Et.a)(["\n margin: 0 20px;\n "])))},Object(Yt.b)($t,{href:"/wp-admin/user-edit.php?user_id=".concat(null==v?void 0:v.id),isSecondary:!0,isSmall:!0},zt("View Profile","presto-player")," →")))),Object(Yt.b)(Jt,null,Object(Yt.b)(mt,{startDate:o,setStartDate:s,endDate:i,setEndDate:p}))),Object(Yt.b)("div",{className:"presto-dashboard presto-flow"},Object(Yt.b)("div",{className:"presto-dashboard__row"},Object(Yt.b)("div",{className:"presto-dashboard__item"},Object(Yt.b)(Bt,{userId:null==l||null===(t=l.params)||void 0===t?void 0:t.id,startDate:o,endDate:i})),Object(Yt.b)("div",{className:"presto-dashboard__item"},Object(Yt.b)(Gt,{userId:null==l||null===(a=l.params)||void 0===a?void 0:a.id,startDate:o,endDate:i})),Object(Yt.b)("div",{className:"presto-dashboard__item"},Object(Yt.b)(Zt,{userId:null==l||null===(r=l.params)||void 0===r?void 0:r.id,startDate:o,endDate:i}))),Object(Yt.b)("div",{className:"presto-dashboard__row"},Object(Yt.b)("div",{className:"presto-dashboard__item is-large"},Object(Yt.b)(Ne,{startDate:o,endDate:i,userId:null==l||null===(c=l.params)||void 0===c?void 0:c.id})))))},ca=wp.i18n.__,la=wp.compose.compose,oa=wp.element.useEffect,ia=la([Ct()])((function(e){var t=e.video_id,a=e.startDate,r=e.endDate,n=e.stat,c=e.fetchData,l=e.loading;return oa((function(){c({endpoint:"/presto-player/v1/analytics/video/".concat(t,"/average-watchtime"),params:{start:Z(a),end:Z(r)}})}),[a,r]),React.createElement(jt,{loading:l,value:parseInt(n),title:ca("Average Watch Time","presto-player"),label:ca("seconds","presto-player")})})),sa=wp.i18n,pa=sa.__,da=(sa.sprintf,wp.components),ua=da.Card,ma=da.CardBody,fa=wp.element,ha=fa.useState,ba=fa.useEffect,ya=(fa.useRef,function(e){var t=e.video_id,a=e.startDate,r=e.endDate,c=ha(!0),l=Object(n.a)(c,2),o=l[0],i=l[1],s=ha([{name:"Views",data:[]}]),p=Object(n.a)(s,2),d=p[0],u=p[1];ba((function(){i(!0),Fe({path:wp.url.addQueryArgs("/presto-player/v1/analytics/video/".concat(t,"/timeline"),{start:Z(a),end:Z(r)})}).then((function(e){var t=[];e.length&&e.forEach((function(e){t.push({x:e.watch_time,y:e.total})})),u([{name:"Viewers",data:t}])})).catch((function(e){console.error(e)})).finally((function(){i(!1)}))}),[a,r]);var m={options:{chart:{toolbar:{show:!1}},tickAmount:1,yaxis:{labels:{formatter:function(e){return parseInt(e)}}},xaxis:{labels:{formatter:function(e){return t=e,t=1e3*parseInt(t||0),new Date(t).toISOString().substr(11,8);var t}}},colors:["#7c3aed"],dataLabels:{enabled:!1},stroke:{curve:"smooth"},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,90,100]}}}};return o?React.createElement(ua,null,React.createElement(ma,null,React.createElement(q,null))):React.createElement(ua,null,React.createElement(ma,null,React.createElement("div",{className:"presto-card__title"},pa("Audience Retention","presto-player")),React.createElement(Te.a,{options:m.options,series:d,type:"area",height:280})))}),va=wp.i18n.__,wa=wp.compose.compose,Ea=wp.element.useEffect,ga=wa([Ct()])((function(e){var t=e.video_id,a=e.startDate,r=e.endDate,n=e.stat,c=e.fetchData,l=e.loading;return Ea((function(){c({endpoint:"/presto-player/v1/analytics/video/".concat(t,"/views"),params:{start:Z(a),end:Z(r)}})}),[a,r]),React.createElement(jt,{loading:l,value:parseInt(n),title:va("Unique Views","presto-player")})})),Ra=a(29);function Oa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function ja(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Oa(Object(a),!0).forEach((function(t){Object(d.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Oa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var xa=wp.data.useSelect,_a=function(e){var t,a,r,n=e.src,c=e.preset,l=e.branding,o=e.attributes,i=e.adminPreview,s=e.type,p=o.chapters,d=o.mutedOverlay,u=o.mutedPreview,m=xa((function(e){var t;return null===(t=e("presto-player/player"))||void 0===t?void 0:t.youtube()})),f=xa((function(e){var t;return null===(t=e("presto-player/player"))||void 0===t?void 0:t.playerCSS()}));return React.createElement("div",{className:"wp-block-video presto-block-video",style:ja(ja(ja({"--presto-player-border-radius":"".concat(null==c?void 0:c.border_radius,"px")},null!=c&&c.caption_background?{"--plyr-captions-background":c.caption_background}:{}),null!=l&&l.color?{"--plyr-color-main":l.color}:{}),{},{"--presto-player-email-border-radius":"".concat((null==c||null===(t=c.email_collection)||void 0===t?void 0:t.border_radius)||0,"px"),"--presto-player-logo-width":"".concat((null==l?void 0:l.logo_width)||75,"px")})},React.createElement(Ra.a,{src:n,css:f,isAdmin:!0,preload:"metadata",preset:c,bunny:{thumbnail:null==o?void 0:o.previewThumbnail,preview:null==o?void 0:o.preview},youtube:{channelId:null==m?void 0:m.channel_id},tracks:!(null==c||!c.captions)&&[{kind:"captions",label:"English",srclang:"en",src:"/path/to/captions.en.vtt",default:!0}],branding:l,chapters:p,blockAttributes:o,poster:o.poster,provider:s},React.createElement("div",{slot:"player-end"},(null==u?void 0:u.enabled)&&(null==d?void 0:d.enabled)&&React.createElement("div",{className:"presto-player__overlay is-image",style:{position:"absolute",width:"".concat((null==d?void 0:d.width)||100,"%"),left:"".concat(100*((null==d||null===(a=d.focalPoint)||void 0===a?void 0:a.x)||.5),"%"),top:"".concat(100*((null==d||null===(r=d.focalPoint)||void 0===r?void 0:r.y)||.5),"%")}},React.createElement("img",{src:null==d?void 0:d.src,style:{transform:"translateX(-50%) translateY(-50%)"}})),i)))};function Da(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function Pa(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Da(Object(a),!0).forEach((function(t){Object(d.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Da(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var ka=wp.i18n.__,Na=wp.components,Sa=Na.Flex,Fa=Na.FlexBlock,Ca=Na.FlexItem,Ta=Na.Spinner,Ma=Na.Button,Ia=Na.TextControl,Ba=wp.element,Va=Ba.useEffect,Aa=Ba.useState,Ha=wp.apiFetch,Ga=function(e){var t,a,r,c=e.route,l=e.startDate,o=e.endDate,i=e.setStartDate,s=e.setEndDate,p=Aa(!0),d=Object(n.a)(p,2),u=d[0],m=d[1],f=Aa({}),h=Object(n.a)(f,2),y=h[0],v=h[1],w=Aa(""),E=Object(n.a)(w,2),g=E[0],R=E[1],O=Aa(null),j=Object(n.a)(O,2),x=j[0],_=j[1],D=Aa(!1),P=Object(n.a)(D,2),k=P[0],N=P[1],S=function(){var e=Object(C.a)(M.a.mark((function e(){var t,a,r,n;return M.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),e.prev=1,e.next=4,Ha({url:"".concat(null===(t=prestoPlayer)||void 0===t?void 0:t.root).concat(null===(a=prestoPlayer)||void 0===a?void 0:a.prestoVersionString,"videos/").concat(null==c||null===(r=c.params)||void 0===r?void 0:r.id)});case 4:n=e.sent,v(n),_(null==n?void 0:n.title),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),"rest_no_route"===e.t0.code&&R("Video Not Found");case 12:return e.prev=12,m(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])})));return function(){return e.apply(this,arguments)}}(),F=function(){var e=Object(C.a)(M.a.mark((function e(){var t,a;return M.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("New Video title ".concat(x)),m(!0),e.prev=2,t=Pa(Pa({},y),{title:x}),e.next=6,wp.apiFetch({method:"POST",url:wp.url.addQueryArgs("".concat(prestoPlayer.root).concat(prestoPlayer.prestoVersionString,"videos/").concat(y.id),{_method:"PUT"}),data:t});case 6:if(a=e.sent){e.next=9;break}throw genericError;case 9:N(!1),v(a),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),R(null!==e.t0&&void 0!==e.t0&&e.t0.message?e.t0.message:genericError);case 16:return e.prev=16,m(!1),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[2,13,16,19]])})));return function(){return e.apply(this,arguments)}}(),T=function(){_(null==y?void 0:y.title),N(!1)};return Va((function(){S()}),[]),g?React.createElement("div",{className:"presto-flow"},React.createElement(Sa,null,React.createElement(Fa,null,React.createElement("h2",null,g)))):React.createElement("div",{className:"presto-flow"},React.createElement(Sa,null,React.createElement(Fa,null,React.createElement(Ma,{isSecondary:!0,onClick:function(){b.push("#/")}},"← ",ka("Back to Dashboard","presto-player")))),React.createElement(Sa,{wrap:!0},React.createElement(Fa,null,u?React.createElement(Ta,null):k?React.createElement("div",{className:"presto-inline-edit presto-inline-edit--editing"},React.createElement(Ia,{className:"presto-inline-edit__input",type:"text",value:x,onChange:function(e){return _(e)}}),React.createElement(Ma,{className:"presto-inline-edit__button",isPrimary:!0,onClick:F}," ","Save"," "),React.createElement(Ma,{className:"presto-inline-edit__button",isSecondary:!0,onClick:T}," ","Cancel"," ")):React.createElement("div",{className:"presto-inline-edit"},React.createElement("h1",{className:"presto-dashboard__title presto-inline-edit__text"},null==y?void 0:y.title),React.createElement("button",{className:"presto-inline-edit__edit",onClick:function(){return N(!0)}},React.createElement("span",{className:"dashicon dashicons dashicons-edit"})))),React.createElement(Ca,null,React.createElement(mt,{startDate:l,setStartDate:i,endDate:o,setEndDate:s}))),React.createElement("div",{className:"presto-dashboard presto-flow"},React.createElement("div",{className:"presto-dashboard__row"},React.createElement("div",{className:"presto-dashboard__item is-large"},React.createElement(ga,{video_id:null==c||null===(t=c.params)||void 0===t?void 0:t.id,startDate:l,endDate:o})),React.createElement("div",{className:"presto-dashboard__item"},!!Object.keys(y||{}).length&&React.createElement(_a,{src:null==y?void 0:y.src,attributes:{},type:null==y?void 0:y.type,preset:{"play-large":!0,play:!0,progress:!0,"current-time":!0}})),React.createElement("div",{className:"presto-dashboard__item"},React.createElement(ia,{video_id:null==c||null===(a=c.params)||void 0===a?void 0:a.id,startDate:l,endDate:o}))),React.createElement("div",{className:"presto-dashboard__row"},React.createElement("div",{className:"presto-dashboard__item is-large"},React.createElement(ya,{video_id:null==c||null===(r=c.params)||void 0===r?void 0:r.id,startDate:l,endDate:o})))))},Ua={dashboard:{path:"/"},video:{path:"/video/:id"},user:{path:"/user/:id"}},La=wp.element.useState,Wa=function(){var e,t=function(){window.scrollTo(0,0)},a=La(new Date(Date.now()-6048e5)),r=Object(n.a)(a,2),c=r[0],l=r[1],o=La(new Date),i=Object(n.a)(o,2),s=i[0],p=i[1];return null!==(e=prestoPlayer)&&void 0!==e&&e.isPremium?React.createElement("div",{className:"presto-dashboard__content"},React.createElement(x,{routes:Ua},React.createElement(g,{path:Ua.dashboard.path,onRoute:t},React.createElement(wt,{startDate:c,endDate:s,setStartDate:l,setEndDate:p})),React.createElement(g,{path:Ua.video.path,onRoute:t},React.createElement(Ga,{startDate:c,endDate:s,setStartDate:l,setEndDate:p})),React.createElement(g,{path:Ua.user.path,onRoute:t},React.createElement(na,{startDate:c,endDate:s,setStartDate:l,setEndDate:p})))):React.createElement("div",{className:"presto-dashboard__content"},React.createElement(F,null))},Za=wp.element.render;Object(r.c)(),Za(React.createElement(Wa,null),document.getElementById("presto-analytics-page"))}},[[31,2,3]]]);
19
- //# sourceMappingURL=admin-103fe944.js.map
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dist/analytics/admin-103fe944.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack:///./node_modules/@stencil/core/internal/client lazy ^\\.\\/.*$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$ namespace object","webpack:///./src/router/utils.js","webpack:///./src/router/context.js","webpack:///./src/router/route.js","webpack:///./src/router/link.js","webpack:///./src/router/index.js","webpack:///./src/admin/analytics/pages/illustration.js","webpack:///./src/admin/analytics/pages/AnalyticsUpgrade.js","webpack:///./src/admin/analytics/hocs/withDataList.js","webpack:///./src/admin/analytics/util.js","webpack:///./src/admin/settings/components/Loading.js","webpack:///./src/admin/ui/Pagination.js","webpack:///./src/admin/ui/Table.js","webpack:///./src/admin/analytics/components/DataTable.js","webpack:///./src/admin/analytics/components/TopUsers.js","webpack:///./src/admin/analytics/components/TopVideos.js","webpack:///./src/shared/services/fetch.js","webpack:///./src/admin/analytics/components/TotalViewsGraph.js","webpack:///./src/admin/analytics/components/TotalWatchGraph.js","webpack:///./src/admin/analytics/components/OverviewPanel.js","webpack:///./src/admin/analytics/components/DatePicker.js","webpack:///./src/admin/analytics/pages/Dashboard.js","webpack:///./src/admin/ui/StatCard.js","webpack:///./src/admin/analytics/hocs/withStat.js","webpack:///./src/admin/analytics/components/TotalVideoViewsByUser.js","webpack:///./src/admin/analytics/components/VideoAverageWatchTimeByUser.js","webpack:///./src/admin/analytics/components/VideoTotalWatchTimeByUser.js","webpack:///./src/admin/analytics/pages/User.js","webpack:///./src/admin/analytics/components/VideoAverageWatchTime.js","webpack:///./src/admin/analytics/components/VideoTimeline.js","webpack:///./src/admin/analytics/components/VideoViews.js","webpack:///./src/admin/blocks/shared/Player.js","webpack:///./src/admin/analytics/pages/Video.js","webpack:///./src/admin/analytics/routes.js","webpack:///./src/admin/analytics/App.js","webpack:///./src/admin/analytics/index.js"],"names":["webpackEmptyAsyncContext","req","Promise","resolve","then","e","Error","code","keys","module","exports","id","locationToRoute","location","path","pathname","hash","query","qs","parse","search","history","createBrowserHistory","RouterContext","wp","element","createContext","route","useContext","prev","Route","onRoute","children","matched","match","checkMatch","substr","cloneElement","Router","props","setState","routes","Object","map","key","unlisten","listen","handleRouteChange","state","defaultRoute","this","NotFound","push","forEach","name","isMatched","data","routerContextValue","is404","Provider","value","Component","width","height","data-name","xmlns","xmlnsXlink","viewBox","x1","y1","x2","y2","gradientUnits","offset","stop-color","stop-opacity","xlinkHref","transform","x","y","fill","gradientTransform","opacity","clip-path","points","cx","cy","r","d","__","i18n","components","Flex","FlexItem","FlexBlock","style","padding","background","marginLeft","href","target","className","apiFetch","useState","createHigherOrderComponent","compose","WrappedComponent","loading","setLoading","page","setPage","total","setTotal","totalPages","setTotalPages","setData","error","setError","fetchData","a","endpoint","params","url","addQueryArgs","per_page","res","headers","parseInt","get","json","responseData","console","message","sprintf","convertDateTimeToAbsoluteDate","dateTime","Date","getTimezoneOffset","getTime","toISOString","split","Spinner","align","justify","Card","CardBody","Button","ButtonGroup","useEffect","perPage","hasPrevious","setHasPrevious","hasNext","setHasNext","end","setEnd","start","setStart","Math","min","size","isSecondary","disabled","onClick","max","useRef","columns","onRowClick","title","length","role","classNames","column","label","row","rowIndex","columnIndex","data-title","aria-label","render","onSelect","Loading","Table","Pagination","withDataList","startDate","endDate","user","stats","DataTable","userId","user_id","marginBottom","wordBreak","video","color","use","createNonceMiddleware","prestoPlayer","nonce","createRootURLMiddleware","root","prestoVersionString","totalViews","setTotalViews","series","setSeries","chart","options","toolbar","show","yaxis","labels","formatter","num","abs","sign","toFixed","colors","xaxis","type","setHours","dataLabels","enabled","stroke","curve","gradient","shadeIntensity","opacityFrom","opacityTo","stops","fetchViews","jQuery","param","item","date_time","catch","finally","averageTime","setAverageTime","fetchMinutes","savedSeconds","hours","minutes","seconds","out","average","parseFloat","floor","Panel","TabPanel","tabs","tab","TotalViewsGraph","TotalWatchGraph","setStartDate","setEndDate","dateRef","inputSize","setInputSize","Litepicker","current","singleMode","format","autoApply","plugins","maxDate","numberOfMonths","buttonText","apply","cancel","dropdowns","minYear","maxYear","months","years","setup","picker","setDateRange","on","dateInstance","ref","DatePicker","OverviewPanel","TopUsers","TopVideos","stat","setStat","withStat","StatCard","view","User","setUser","getUser","wrap","css","email","isSmall","TotalVideoViewsByUser","VideoAverageWatchTimeByUser","VideoTotalWatchTimeByUser","video_id","watch_time","tickAmount","useSelect","src","preset","branding","attributes","adminPreview","chapters","mutedOverlay","mutedPreview","youtube","select","playerCSS","border_radius","caption_background","email_collection","logo_width","isAdmin","preload","bunny","thumbnail","previewThumbnail","preview","channelId","channel_id","tracks","captions","kind","srclang","default","blockAttributes","poster","provider","slot","position","left","focalPoint","top","TextControl","Video","setVideo","thisName","setThisName","editing","setEditing","getVideo","putVideo","log","method","_method","saved","genericError","cancelEditing","onChange","isPrimary","VideoViews","Player","play","progress","VideoAverageWatchTime","VideoTimeline","dashboard","scrollToTop","window","scrollTo","now","isPremium","Dashboard","AnalyticsUpgrade","defineCustomElements","App","document","getElementById"],"mappings":";;;;;;;;;;;;;;;;;8JAAA,SAASA,EAAyBC,GAGjC,OAAOC,QAAQC,UAAUC,MAAK,WAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBL,EAAM,KAEjD,MADAI,EAAEE,KAAO,mBACHF,KAGRL,EAAyBQ,KAAO,WAAa,MAAO,IACpDR,EAAyBG,QAAUH,EACnCS,EAAOC,QAAUV,EACjBA,EAAyBW,GAAK,I,8HCXvB,SAASC,EAAgBC,GAE9B,MAAO,CACLC,KAAMD,EAASE,SACfC,KAAMH,EAASG,KACfC,MAAOC,IAAGC,MAAMN,EAASO,S,YCHhBC,EAAUC,cACVC,EAAgBC,GAAGC,QAAQC,cAAc,CACpDC,MAAOf,EAAgBS,EAAQR,Y,QCJzBe,EAAeJ,GAAGC,QAAlBG,WAEJC,EAAO,GAEJ,SAASC,EAAT,GAA6C,IAA5BhB,EAA2B,EAA3BA,KAAMiB,EAAqB,EAArBA,QAASC,EAAY,EAAZ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ACb,oBAAC,EAAD,CAAQ5D,OAAQA,IACd,oBAACX,EAAD,CAAOhB,KAAM2B,GAAOmU,UAAU9V,KAAMiB,QAAS8U,GAC3C,oBAACK,GAAD,CACEzL,UAAWA,EACXC,QAASA,EACTqE,aAAcA,EACdC,WAAYA,KAGhB,oBAAClO,EAAD,CAAOhB,KAAM2B,GAAOyJ,MAAMpL,KAAMiB,QAAS8U,GACvC,oBAAC,GAAD,CACEpL,UAAWA,EACXC,QAASA,EACTqE,aAAcA,EACdC,WAAYA,KAGhB,oBAAClO,EAAD,CAAOhB,KAAM2B,GAAOkJ,KAAK7K,KAAMiB,QAAS8U,GACtC,oBAAC,GAAD,CACEpL,UAAWA,EACXC,QAASA,EACTqE,aAAcA,EACdC,WAAYA,OA9BlB,2BAAK3J,UAAU,6BACb,oBAAC8Q,EAAD,QCxBAhM,GAAW3J,GAAGC,QAAd0J,OAIRiM,cAeAjM,GAAO,oBAACkM,GAAD,MAASC,SAASC,eAAe,4B","file":"analytics/admin-103fe944.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 34;","import qs from \"querystringify\";\nexport function locationToRoute(location) {\n // location comes from the history package\n return {\n path: location.pathname,\n hash: location.hash,\n query: qs.parse(location.search),\n };\n}\n","import { createBrowserHistory } from \"history\";\nimport { locationToRoute } from \"./utils\";\n\nexport const history = createBrowserHistory();\nexport const RouterContext = wp.element.createContext({\n route: locationToRoute(history.location),\n});\n","import { RouterContext } from \"./context\";\nconst { useContext } = wp.element;\nimport { match } from \"path-to-regexp\";\nlet prev = \"\";\n\nexport function Route({ path, onRoute, children }) {\n // Extract route from RouterContext\n const { route } = useContext(RouterContext);\n\n const checkMatch = match(`${path}`);\n const matched = checkMatch(`${route.hash.substr(1)}`);\n\n if (!matched) {\n return null;\n }\n\n if (onRoute) {\n if (prev !== matched.path) {\n onRoute();\n }\n prev = matched.path;\n }\n\n return <div>{wp.element.cloneElement(children, { route: matched })}</div>;\n}\n","const { useContext } = wp.element;\nimport { RouterContext, history } from \"./context\";\nimport classNames from \"classnames\";\nimport { match } from \"path-to-regexp\";\n\nexport function Link(props) {\n const { to, onClick, children, activeClassName } = props;\n const { route } = useContext(RouterContext);\n\n let state = { ...props };\n delete state.activeClassName;\n\n const isActive = () => {\n const checkMatch = match(`${to}`);\n return checkMatch(`${route.hash.substr(1)}`);\n };\n\n const handleClick = (e) => {\n e.preventDefault();\n // Dont' navigate if current path\n if (route.path === to) {\n return;\n }\n // Trigger onClick prop manually\n if (onClick) {\n onClick(e);\n }\n // Use history API to navigate page\n history.push(`#${to}`);\n };\n\n return (\n <a\n {...state}\n className={classNames({ [activeClassName]: isActive() }, props.className)}\n onClick={handleClick}\n >\n {children}\n </a>\n );\n}\n","const { Component } = wp.element;\nimport { locationToRoute } from \"./utils\";\nimport { history, RouterContext } from \"./context\";\nimport { Route } from \"./route\";\nimport { Link } from \"./link\";\nimport { match } from \"path-to-regexp\";\n\nclass Router extends Component {\n constructor(props) {\n super(props);\n\n // Convert our routes into an array for easy 404 checking\n this.routes = Object.keys(props.routes).map(\n (key) => props.routes[key].path\n );\n\n // Listen for path changes from the history API\n this.unlisten = history.listen(this.handleRouteChange);\n\n const route = locationToRoute(history.location);\n\n // Define the initial RouterContext value\n this.state = {\n route,\n defaultRoute: props?.defaultRoute ? `#${props?.defaultRoute}` : \"#/\",\n };\n }\n\n componentWillUnmount() {\n // Stop listening for changes if the Router component unmounts\n this.unlisten();\n }\n\n handleRouteChange = (location) => {\n const route = locationToRoute(location?.location);\n this.setState({ route: route });\n };\n\n render() {\n // Define our variables\n const { children, NotFound } = this.props;\n const { route, defaultRoute } = this.state;\n\n if (!route.hash) {\n history.push(defaultRoute);\n return <div></div>;\n }\n\n let matched = false;\n // match route\n (this.routes || []).forEach((name) => {\n const checkMatch = match(route.hash.substr(1));\n const isMatched = checkMatch(`${route.hash.substr(1)}`);\n if (!isMatched) {\n return;\n }\n matched = {\n name,\n data: isMatched,\n };\n });\n\n const routerContextValue = { route, matched };\n\n // Check if 404 if no route matched\n const is404 = !matched;\n\n return (\n <RouterContext.Provider value={routerContextValue}>\n {is404 ? <div>Not found</div> : children}\n </RouterContext.Provider>\n );\n }\n}\nexport { history, RouterContext, Router, Route, Link };\n","export default ({ width, height }) => {\n return (\n <svg\n id=\"e8f68bdd-4984-4f2e-95b7-7fc8ec281257\"\n data-name=\"Layer 1\"\n width={width}\n height={height}\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n viewBox=\"0 0 918.14 765.54\"\n >\n <defs>\n <linearGradient\n id=\"27aa7b70-b106-4a00-be67-693c8380e41d\"\n x1=\"397.74\"\n y1=\"717.25\"\n x2=\"397.74\"\n y2=\"86.11\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stop-color=\"gray\" stop-opacity=\"0.25\" />\n <stop offset=\"0.54\" stop-color=\"gray\" stop-opacity=\"0.12\" />\n <stop offset=\"1\" stop-color=\"gray\" stop-opacity=\"0.1\" />\n </linearGradient>\n <linearGradient\n id=\"46a816da-c484-41ec-8a6f-fbf14454d910\"\n x1=\"288.88\"\n y1=\"378.44\"\n x2=\"288.88\"\n y2=\"209.65\"\n xlinkHref=\"#27aa7b70-b106-4a00-be67-693c8380e41d\"\n />\n <linearGradient\n id=\"32b634d8-28f1-48d9-a868-f602a2cad942\"\n x1=\"288.88\"\n y1=\"328.29\"\n x2=\"288.88\"\n y2=\"223.1\"\n xlinkHref=\"#27aa7b70-b106-4a00-be67-693c8380e41d\"\n />\n <clipPath\n id=\"7a4c6aff-0be0-461b-a111-b3ae1b8fbf73\"\n transform=\"translate(-140.93 -67.23)\"\n >\n <rect\n id=\"8cc91f6d-19b0-43cc-9c18-2faa83ac34ba\"\n data-name=\"&lt;Rectangle&gt;\"\n x=\"354.51\"\n y=\"291.55\"\n width=\"150.6\"\n height=\"101.52\"\n fill=\"#fff\"\n />\n </clipPath>\n <linearGradient\n id=\"38f1cb81-8fac-4205-a0ff-a33ac00d354c\"\n x1=\"288.88\"\n y1=\"594.94\"\n x2=\"288.88\"\n y2=\"426.14\"\n xlinkHref=\"#27aa7b70-b106-4a00-be67-693c8380e41d\"\n />\n <linearGradient\n id=\"6fc01aaf-135e-403e-a209-43b2a4fe59f1\"\n x1=\"288.88\"\n y1=\"544.79\"\n x2=\"288.88\"\n y2=\"439.6\"\n xlinkHref=\"#27aa7b70-b106-4a00-be67-693c8380e41d\"\n />\n <clipPath\n id=\"79ce363a-d134-40e4-9f82-b96d04a36978\"\n transform=\"translate(-140.93 -67.23)\"\n >\n <rect\n id=\"5b44e697-61fe-43bd-9a58-5f3e41301748\"\n data-name=\"&lt;Rectangle&gt;\"\n x=\"354.51\"\n y=\"508.05\"\n width=\"150.6\"\n height=\"101.52\"\n fill=\"#fff\"\n />\n </clipPath>\n <linearGradient\n id=\"54803c44-522d-4b9e-9a34-f1f7b43e8483\"\n x1=\"671.57\"\n y1=\"760.34\"\n x2=\"671.57\"\n y2=\"129.2\"\n gradientTransform=\"translate(1109.43 -194.1) rotate(90)\"\n xlinkHref=\"#27aa7b70-b106-4a00-be67-693c8380e41d\"\n />\n <linearGradient\n id=\"089a6a47-adaa-499b-aefb-cd6464b62fb8\"\n x1=\"670.96\"\n y1=\"553.63\"\n x2=\"670.96\"\n y2=\"387.28\"\n gradientTransform=\"translate(1129.51 -168.41) rotate(90)\"\n xlinkHref=\"#27aa7b70-b106-4a00-be67-693c8380e41d\"\n />\n <linearGradient\n id=\"fd8d88e0-7826-450d-9e0b-001d1be709c2\"\n x1=\"637.66\"\n y1=\"754.12\"\n x2=\"637.66\"\n y2=\"601.05\"\n xlinkHref=\"#27aa7b70-b106-4a00-be67-693c8380e41d\"\n />\n <linearGradient\n id=\"8d1793c5-b76e-44e2-a52e-569460402331\"\n x1=\"778.37\"\n y1=\"673.86\"\n x2=\"778.37\"\n y2=\"569.13\"\n xlinkHref=\"#27aa7b70-b106-4a00-be67-693c8380e41d\"\n />\n <linearGradient\n id=\"4745700d-8097-45ff-9f71-625443fc4ad8\"\n x1=\"778.37\"\n y1=\"774.41\"\n x2=\"778.37\"\n y2=\"713.66\"\n xlinkHref=\"#27aa7b70-b106-4a00-be67-693c8380e41d\"\n />\n </defs>\n <title>secure data</title>\n <g opacity=\"0.5\">\n <rect\n x=\"162.9\"\n y=\"86.11\"\n width=\"469.69\"\n height=\"631.14\"\n fill=\"url(#27aa7b70-b106-4a00-be67-693c8380e41d)\"\n />\n </g>\n <rect\n x=\"169.02\"\n y=\"94.67\"\n width=\"455.01\"\n height=\"609.12\"\n fill=\"#f2f2f2\"\n />\n <rect x=\"204.49\" y=\"120.36\" width=\"156.56\" height=\"4.89\" fill=\"#e0e0e0\" />\n <rect\n x=\"204.49\"\n y=\"142.37\"\n width=\"156.56\"\n height=\"4.89\"\n fill=\"#6c63ff\"\n opacity=\"0.7\"\n />\n <rect x=\"384.29\" y=\"120.36\" width=\"156.56\" height=\"4.89\" fill=\"#e0e0e0\" />\n <rect x=\"408.75\" y=\"259.8\" width=\"156.56\" height=\"4.89\" fill=\"#e0e0e0\" />\n <rect x=\"412.42\" y=\"273.25\" width=\"156.56\" height=\"4.89\" fill=\"#e0e0e0\" />\n <rect x=\"419.76\" y=\"286.7\" width=\"156.56\" height=\"4.89\" fill=\"#e0e0e0\" />\n <rect x=\"408.75\" y=\"476.29\" width=\"156.56\" height=\"4.89\" fill=\"#e0e0e0\" />\n <rect x=\"412.42\" y=\"489.75\" width=\"156.56\" height=\"4.89\" fill=\"#e0e0e0\" />\n <rect x=\"419.76\" y=\"503.2\" width=\"156.56\" height=\"4.89\" fill=\"#e0e0e0\" />\n <g opacity=\"0.5\">\n <rect\n x=\"205.71\"\n y=\"209.65\"\n width=\"166.35\"\n height=\"168.79\"\n fill=\"url(#46a816da-c484-41ec-8a6f-fbf14454d910)\"\n />\n </g>\n <rect\n x=\"206.76\"\n y=\"213.32\"\n width=\"163.72\"\n height=\"161.45\"\n fill=\"#f5f5f5\"\n />\n <g opacity=\"0.5\">\n <rect\n x=\"212.53\"\n y=\"223.1\"\n width=\"152.7\"\n height=\"105.19\"\n fill=\"url(#32b634d8-28f1-48d9-a868-f602a2cad942)\"\n />\n </g>\n <rect\n id=\"689f37f3-cc41-448d-b172-63ec123bc985\"\n data-name=\"&lt;Rectangle&gt;\"\n x=\"213.58\"\n y=\"224.32\"\n width=\"150.6\"\n height=\"101.52\"\n fill=\"#fff\"\n />\n <g clip-path=\"url(#7a4c6aff-0be0-461b-a111-b3ae1b8fbf73)\">\n <polygon\n points=\"200.82 322.18 238.74 263.46 254.64 289.15 288.88 253.68 318.24 289.15 343.93 236.56 409.98 341.75 195.93 334.41 200.82 322.18\"\n fill=\"#6c63ff\"\n opacity=\"0.4\"\n />\n <circle cx=\"230.17\" cy=\"239\" r=\"11.01\" fill=\"#6c63ff\" opacity=\"0.4\" />\n </g>\n <g opacity=\"0.5\">\n <rect\n x=\"205.71\"\n y=\"426.14\"\n width=\"166.35\"\n height=\"168.79\"\n fill=\"url(#38f1cb81-8fac-4205-a0ff-a33ac00d354c)\"\n />\n </g>\n <rect\n x=\"206.76\"\n y=\"429.81\"\n width=\"163.72\"\n height=\"161.45\"\n fill=\"#f5f5f5\"\n />\n <g opacity=\"0.5\">\n <rect\n x=\"212.53\"\n y=\"439.6\"\n width=\"152.7\"\n height=\"105.19\"\n fill=\"url(#6fc01aaf-135e-403e-a209-43b2a4fe59f1)\"\n />\n </g>\n <rect\n id=\"b429ac3a-f8a8-4171-bcce-5b6c002c0714\"\n data-name=\"&lt;Rectangle&gt;\"\n x=\"213.58\"\n y=\"440.82\"\n width=\"150.6\"\n height=\"101.52\"\n fill=\"#fff\"\n />\n <g clip-path=\"url(#79ce363a-d134-40e4-9f82-b96d04a36978)\">\n <polygon\n points=\"200.82 538.67 238.74 479.96 254.64 505.65 288.88 470.18 318.24 505.65 343.93 453.05 409.98 558.24 195.93 550.9 200.82 538.67\"\n fill=\"#bdbdbd\"\n opacity=\"0.4\"\n />\n <circle cx=\"230.17\" cy=\"455.5\" r=\"11.01\" fill=\"#bdbdbd\" opacity=\"0.4\" />\n </g>\n <g opacity=\"0.5\">\n <rect\n x=\"349.09\"\n y=\"242.63\"\n width=\"631.14\"\n height=\"469.69\"\n transform=\"translate(-74.16 969.06) rotate(-78.76)\"\n fill=\"url(#54803c44-522d-4b9e-9a34-f1f7b43e8483)\"\n />\n </g>\n <rect\n x=\"359.37\"\n y=\"247.33\"\n width=\"609.12\"\n height=\"455.01\"\n transform=\"translate(-72.16 966.22) rotate(-78.76)\"\n fill=\"#fff\"\n />\n <rect\n x=\"523.5\"\n y=\"197.22\"\n width=\"322.91\"\n height=\"4.89\"\n transform=\"translate(-88.86 -196.94) rotate(11.24)\"\n fill=\"#e0e0e0\"\n />\n <rect\n x=\"433.36\"\n y=\"650.7\"\n width=\"322.91\"\n height=\"4.89\"\n transform=\"translate(-2.18 -170.66) rotate(11.24)\"\n fill=\"#e0e0e0\"\n />\n <rect\n x=\"428.58\"\n y=\"671.14\"\n width=\"249.52\"\n height=\"4.89\"\n transform=\"translate(1.01 -162.18) rotate(11.24)\"\n fill=\"#e0e0e0\"\n />\n <rect\n x=\"424.6\"\n y=\"683.47\"\n width=\"92.96\"\n height=\"4.89\"\n transform=\"translate(1.84 -145.91) rotate(11.24)\"\n fill=\"#6c63ff\"\n opacity=\"0.7\"\n />\n <rect\n x=\"519.57\"\n y=\"209.08\"\n width=\"161.45\"\n height=\"4.89\"\n transform=\"translate(-88.17 -180.2) rotate(11.24)\"\n fill=\"#6c63ff\"\n opacity=\"0.7\"\n />\n <rect\n x=\"512.84\"\n y=\"249.31\"\n width=\"291.11\"\n height=\"4.89\"\n transform=\"translate(-79.21 -190.76) rotate(11.24)\"\n fill=\"#e0e0e0\"\n />\n <rect\n x=\"509.47\"\n y=\"255.44\"\n width=\"70.94\"\n height=\"4.89\"\n transform=\"translate(-80.19 -168.52) rotate(11.24)\"\n fill=\"#3ad29f\"\n opacity=\"0.7\"\n />\n <rect\n x=\"501.56\"\n y=\"307.59\"\n width=\"322.91\"\n height=\"4.89\"\n transform=\"translate(-67.76 -190.54) rotate(11.24)\"\n fill=\"#e0e0e0\"\n />\n <g opacity=\"0.5\">\n <rect\n x=\"575.87\"\n y=\"357.6\"\n width=\"166.35\"\n height=\"289.88\"\n transform=\"translate(-103.27 983.74) rotate(-78.76)\"\n fill=\"url(#089a6a47-adaa-499b-aefb-cd6464b62fb8)\"\n />\n </g>\n <rect\n x=\"516.06\"\n y=\"420.61\"\n width=\"286.22\"\n height=\"162.68\"\n transform=\"translate(-30.42 -186.11) rotate(11.24)\"\n fill=\"#fff\"\n />\n <rect\n x=\"496.08\"\n y=\"335.18\"\n width=\"322.91\"\n height=\"4.89\"\n transform=\"translate(-62.49 -188.94) rotate(11.24)\"\n fill=\"#e0e0e0\"\n />\n <rect\n x=\"547.86\"\n y=\"424.02\"\n width=\"35.47\"\n height=\"118.64\"\n transform=\"translate(-35.84 -168.22) rotate(11.24)\"\n fill=\"#6c63ff\"\n />\n <rect\n x=\"606.43\"\n y=\"475.19\"\n width=\"35.47\"\n height=\"79.5\"\n transform=\"translate(-28.56 -179.03) rotate(11.24)\"\n fill=\"#3ad29f\"\n />\n <rect\n x=\"665.23\"\n y=\"523.93\"\n width=\"35.47\"\n height=\"42.81\"\n transform=\"translate(-21.5 -189.92) rotate(11.24)\"\n fill=\"#f55f44\"\n />\n <rect\n x=\"731.91\"\n y=\"492.72\"\n width=\"35.47\"\n height=\"86.84\"\n transform=\"translate(-22.02 -203.09) rotate(11.24)\"\n fill=\"#fdd835\"\n />\n <g opacity=\"0.5\">\n <rect\n x=\"128.65\"\n y=\"645.09\"\n width=\"3.67\"\n height=\"20.79\"\n fill=\"#47e6b1\"\n />\n <rect\n x=\"269.58\"\n y=\"712.31\"\n width=\"3.67\"\n height=\"20.79\"\n transform=\"translate(853.2 384.07) rotate(90)\"\n fill=\"#47e6b1\"\n />\n </g>\n <path\n d=\"M699.44,75.56a4.49,4.49,0,0,1-2.5-5.43,2.16,2.16,0,0,0,.1-.5h0a2.25,2.25,0,0,0-4-1.49h0a2.16,2.16,0,0,0-.25.44,4.49,4.49,0,0,1-5.43,2.5,2.16,2.16,0,0,0-.5-.1h0a2.25,2.25,0,0,0-1.49,4h0a2.16,2.16,0,0,0,.44.25,4.49,4.49,0,0,1,2.5,5.43,2.16,2.16,0,0,0-.1.5h0a2.25,2.25,0,0,0,4,1.49h0a2.16,2.16,0,0,0,.25-.44,4.49,4.49,0,0,1,5.43-2.5,2.16,2.16,0,0,0,.5.1h0a2.25,2.25,0,0,0,1.49-4h0A2.16,2.16,0,0,0,699.44,75.56Z\"\n transform=\"translate(-140.93 -67.23)\"\n fill=\"#4d8af0\"\n opacity=\"0.5\"\n />\n <path\n d=\"M286.33,179.4a4.49,4.49,0,0,1-2.5-5.43,2.16,2.16,0,0,0,.1-.5h0a2.25,2.25,0,0,0-4-1.49h0a2.16,2.16,0,0,0-.25.44,4.49,4.49,0,0,1-5.43,2.5,2.16,2.16,0,0,0-.5-.1h0a2.25,2.25,0,0,0-1.49,4h0a2.16,2.16,0,0,0,.44.25,4.49,4.49,0,0,1,2.5,5.43,2.16,2.16,0,0,0-.1.5h0a2.25,2.25,0,0,0,4,1.49h0a2.16,2.16,0,0,0,.25-.44,4.49,4.49,0,0,1,5.43-2.5,2.16,2.16,0,0,0,.5.1h0a2.25,2.25,0,0,0,1.49-4h0A2.16,2.16,0,0,0,286.33,179.4Z\"\n transform=\"translate(-140.93 -67.23)\"\n fill=\"#fdd835\"\n opacity=\"0.5\"\n />\n <path\n d=\"M253.63,484.46a4.49,4.49,0,0,1-2.5-5.43,2.16,2.16,0,0,0,.1-.5h0a2.25,2.25,0,0,0-4-1.49h0a2.16,2.16,0,0,0-.25.44,4.49,4.49,0,0,1-5.43,2.5,2.16,2.16,0,0,0-.5-.1h0a2.25,2.25,0,0,0-1.49,4h0a2.16,2.16,0,0,0,.44.25,4.49,4.49,0,0,1,2.5,5.43,2.16,2.16,0,0,0-.1.5h0a2.25,2.25,0,0,0,4,1.49h0a2.16,2.16,0,0,0,.25-.44,4.49,4.49,0,0,1,5.43-2.5,2.16,2.16,0,0,0,.5.1h0a2.25,2.25,0,0,0,1.49-4h0A2.16,2.16,0,0,0,253.63,484.46Z\"\n transform=\"translate(-140.93 -67.23)\"\n fill=\"#fdd835\"\n opacity=\"0.5\"\n />\n <circle cx=\"337.81\" cy=\"28.62\" r=\"7.34\" fill=\"#f55f44\" opacity=\"0.5\" />\n <circle cx=\"7.34\" cy=\"317.46\" r=\"7.34\" fill=\"#f55f44\" opacity=\"0.5\" />\n <circle cx=\"863.76\" cy=\"120.36\" r=\"7.34\" fill=\"#f55f44\" opacity=\"0.5\" />\n <circle cx=\"822.17\" cy=\"339.3\" r=\"7.34\" fill=\"#4d8af0\" opacity=\"0.5\" />\n <circle cx=\"37.68\" cy=\"145.22\" r=\"7.34\" fill=\"#47e6b1\" opacity=\"0.5\" />\n <circle cx=\"853.29\" cy=\"647.34\" r=\"7.34\" fill=\"#47e6b1\" opacity=\"0.5\" />\n <circle cx=\"910.8\" cy=\"430.97\" r=\"7.34\" fill=\"#47e6b1\" opacity=\"0.5\" />\n <rect\n x=\"544.42\"\n y=\"601.05\"\n width=\"186.48\"\n height=\"153.07\"\n fill=\"url(#fd8d88e0-7826-450d-9e0b-001d1be709c2)\"\n />\n <path\n d=\"M723.82,639a54.55,54.55,0,0,1,109.1,0v34.91h15.27V639a69.82,69.82,0,0,0-139.65,0v34.91h15.27Z\"\n transform=\"translate(-140.93 -67.23)\"\n fill=\"url(#8d1793c5-b76e-44e2-a52e-569460402331)\"\n />\n <path\n d=\"M726,638.25a52.37,52.37,0,1,1,104.74,0v33.52H845.4V638.25a67,67,0,0,0-134.06,0v33.52H726Z\"\n transform=\"translate(-140.93 -67.23)\"\n fill=\"#f5f5f5\"\n />\n <rect\n x=\"546.32\"\n y=\"602.45\"\n width=\"182.24\"\n height=\"148.73\"\n fill=\"#6c63ff\"\n />\n <rect\n x=\"546.32\"\n y=\"602.45\"\n width=\"182.24\"\n height=\"148.73\"\n fill=\"#f5f5f5\"\n />\n <rect\n x=\"546.32\"\n y=\"631.77\"\n width=\"182.24\"\n height=\"90.07\"\n fill=\"#6c63ff\"\n />\n <path\n d=\"M791.73,727a13.36,13.36,0,1,0-23.08,9.15v28.51a9.72,9.72,0,0,0,19.44,0V736.18A13.3,13.3,0,0,0,791.73,727Z\"\n transform=\"translate(-140.93 -67.23)\"\n fill=\"url(#4745700d-8097-45ff-9f71-625443fc4ad8)\"\n />\n <path\n d=\"M789.89,729.38a11.52,11.52,0,1,0-19.9,7.89v24.58a8.38,8.38,0,1,0,16.76,0V737.27A11.47,11.47,0,0,0,789.89,729.38Z\"\n transform=\"translate(-140.93 -67.23)\"\n opacity=\"0.2\"\n />\n </svg>\n );\n};\n","const { __ } = wp.i18n;\n\nimport Illustration from \"./illustration\";\nconst { Flex, FlexItem, FlexBlock } = wp.components;\n\nexport default () => {\n return (\n <Flex style={{ padding: \"30px\", background: \"#fff\" }}>\n <FlexItem>\n <Illustration width=\"250px\" />\n </FlexItem>\n <FlexBlock style={{ marginLeft: \"20px\" }}>\n <h1>{__(\"Get detailed video insights.\", \"presto-player\")}</h1>\n <p>\n {__(\n \"Upgrade to Pro and get video insights like plays, watch-time, and drop off numbers.\",\n \"presto-player\"\n )}\n </p>\n <a\n href=\"https://prestoplayer.com\"\n target=\"_blank\"\n className=\"button button-primary\"\n >\n {__(\"Learn More\", \"presto-player\")}\n </a>\n </FlexBlock>\n </Flex>\n );\n};\n","/**\n * WordPress dependencies\n */\nconst { __ } = wp.i18n;\nconst { apiFetch } = wp;\nconst { useState } = wp.element;\nconst { createHigherOrderComponent } = wp.compose;\n\n/**\n * Higher order component factory\n *\n * @return {Function} The higher order component.\n */\nexport default () =>\n createHigherOrderComponent(\n (WrappedComponent) => (props) => {\n const [loading, setLoading] = useState(false);\n const [page, setPage] = useState(1);\n const [total, setTotal] = useState(0);\n const [totalPages, setTotalPages] = useState(0);\n const [data, setData] = useState([]);\n const [error, setError] = useState(\"\");\n\n // fetch data\n // we could also abstract this function to make it reusable\n // or do a higher order component\n const fetchData = async ({ endpoint, params = {} }) => {\n setLoading(true);\n\n let responseData;\n try {\n responseData = await apiFetch({\n path: wp.url.addQueryArgs(endpoint, {\n page,\n per_page: 5,\n ...params,\n }),\n parse: false,\n }).then((res) => {\n const total = res.headers\n ? parseInt(res.headers.get(\"X-WP-Total\"))\n : 0;\n const totalPages = res.headers\n ? parseInt(res.headers.get(\"X-WP-TotalPages\"))\n : 0;\n setTotal(total);\n setTotalPages(totalPages);\n return res.json();\n });\n\n setData(responseData);\n } catch (e) {\n console.error(e);\n if (e?.message) {\n setError(e.message);\n }\n } finally {\n setLoading(false);\n }\n };\n\n return (\n <WrappedComponent\n loading={loading}\n setLoading={setLoading}\n fetchData={fetchData}\n page={page}\n setPage={setPage}\n total={total}\n setTotal={setTotal}\n totalPages={totalPages}\n setTotalPages={setTotalPages}\n data={data}\n setData={setData}\n error={error}\n setError={setError}\n {...props}\n />\n );\n },\n \"withDataList\"\n );\n","const { __, sprintf } = wp.i18n;\n\nexport const humanSeconds = (savedSeconds) => {\n const hours = Math.floor(savedSeconds / 60 / 60);\n const minutes = Math.floor(savedSeconds / 60) - hours * 60;\n const seconds = savedSeconds % 60;\n\n let out = \"\";\n if (hours) {\n out += sprintf(__(\"%d hours\", \"presto-player\"), hours) + \", \";\n }\n if (minutes) {\n out += sprintf(__(\"%d minutes\", \"presto-player\"), minutes) + \" \";\n }\n if ((hours || minutes) && seconds) {\n out += __(\"and\", \"presto-player\") + \" \";\n }\n\n out += sprintf(__(\"%d seconds\", \"presto-player\"), seconds);\n\n return out;\n};\n\nexport const timestamp = (seconds) => {\n seconds = parseInt(seconds || 0) * 1000;\n return new Date(seconds).toISOString().substr(11, 8);\n};\n\n/*\n * This function remove the user timezone from new Date()\n * https://stackoverflow.com/a/29774197/1972413\n*/\nexport const convertDateTimeToAbsoluteDate = (dateTime) => {\n const offset = new Date().getTimezoneOffset()\n var date = new Date(dateTime.getTime() - (offset*60*1000))\n return date.toISOString().split('T')[0]+'T00:00:00.000Z';\n}\n","const { Spinner, Flex, FlexItem } = wp.components;\nexport default ({ height = 100 }) => {\n return (\n <Flex style={{ height: `${height}px` }} align=\"center\" justify=\"center\">\n <FlexItem>\n <Spinner />\n </FlexItem>\n </Flex>\n );\n};\n","const { __ } = wp.i18n;\nconst { Card, CardBody, Flex, FlexBlock, Button, ButtonGroup } = wp.components;\nconst { useState, useEffect } = wp.element;\n\nexport default ({ page, setPage, perPage, total, totalPages }) => {\n // do we have prev/next\n const [hasPrevious, setHasPrevious] = useState(false);\n const [hasNext, setHasNext] = useState(false);\n\n // end and start cursors\n const [end, setEnd] = useState(0);\n const [start, setStart] = useState(0);\n\n // set end and start\n useEffect(() => {\n setEnd(Math.min(perPage * page, total));\n setStart(perPage * (page - 1) + 1);\n }, [perPage, page, total]);\n\n // update page when pagination is clicked\n const nextPage = () => {\n setPage(Math.min(totalPages, page + 1));\n };\n const prevPage = () => {\n setPage(Math.max(page - 1, 0));\n };\n\n // set prev/next\n useEffect(() => {\n setHasPrevious(page - 1 > 0);\n setHasNext(totalPages >= page + 1);\n }, [page, totalPages]);\n\n return (\n <Card size=\"large\" className=\"presto-card pagination\">\n <CardBody className=\"presto-flow\">\n <Flex>\n <FlexBlock>\n {sprintf(\n __(\"Showing %1s to %2s of %3s\", \"presto-player\"),\n start,\n end,\n total\n )}\n </FlexBlock>\n <FlexBlock>\n <Flex justify=\"flex-end\">\n {\n <ButtonGroup>\n <Button\n isSecondary\n disabled={!hasPrevious}\n onClick={prevPage}\n >\n {__(\"Previous\", \"presto-player\")}\n </Button>\n <Button isSecondary disabled={!hasNext} onClick={nextPage}>\n {__(\"Next\", \"presto-player\")}\n </Button>\n </ButtonGroup>\n }\n </Flex>\n </FlexBlock>\n </Flex>\n </CardBody>\n </Card>\n );\n};\n","const { __ } = wp.i18n;\nconst { useRef, useEffect, useState } = wp.element;\nconst { Card, CardBody ,Flex, FlexBlock, Button, ButtonGroup } = wp.components;\n\nimport classNames from 'classnames';\n\nexport default ({ columns , data , onRowClick , title }) => {\n\n if (!data.length) {\n return (\n <Card size=\"large\" className=\"presto-card table-card\">\n <CardBody className=\"presto-flow\">\n <div className=\"presto-card__title\">\n {title}\n </div>\n <div style={{ opacity: 0.65 }}>\n {__(\"No data available.\", \"presto-player\")}\n </div>\n </CardBody>\n </Card>\n );\n }\n\n return (\n <Card size=\"large\" className=\"presto-card table-card\">\n <CardBody className=\"presto-flow\">\n <div className=\"presto-card__title\">\n {title}\n </div>\n <table role=\"table\" className={classNames('presto-table', { 'is-clickable': onRowClick })}>\n <thead role=\"rowgroup\">\n <tr role=\"row\">\n {columns && columns.map((column) => {\n return (\n <th key={column.key} role=\"columnheader\">\n {column.label}\n </th>\n );\n })}\n </tr>\n </thead>\n\n <tbody role=\"rowgroup\">\n {data.map((row , rowIndex) => {\n return (\n <tr role=\"row\" key={`row-${rowIndex}`}\n onClick={() => onRowClick && onRowClick(row)}\n >\n {columns.map((column , columnIndex ) => {\n return (\n <td role=\"cell\" data-title={column.label} key={`row-${rowIndex}-${columnIndex}`} aria-label={column.label}>\n {column.render ? column.render(row) : (<div>{column.value(row)}</div>)}\n </td>\n );\n })}\n </tr>\n );\n })}\n </tbody>\n </table>\n </CardBody>\n </Card>\n );\n};\n","const { __ } = wp.i18n;\nconst { useEffect, useState } = wp.element;\nconst { Card, CardBody } = wp.components;\nimport Loading from \"@/admin/settings/components/Loading\";\nimport Pagination from \"@/admin/ui/Pagination\";\nimport Table from \"@/admin/ui/Table\";\n\nexport default ({\n perPage = 10,\n title,\n page,\n setPage,\n loading,\n total,\n totalPages,\n columns,\n data,\n onSelect,\n}) => {\n if (loading) {\n return (\n <Card>\n <Loading />\n </Card>\n );\n }\n\n if (!data?.length) {\n return (\n <Card size=\"large\" className=\"presto-card\">\n <CardBody className=\"presto-flow\">\n <div className=\"presto-card__title\">{title}</div>\n <div style={{ opacity: 0.65 }}>\n {__(\"No data available.\", \"presto-player\")}\n </div>\n </CardBody>\n </Card>\n );\n }\n\n return (\n <div className=\"datatable\">\n <Table\n data={data}\n columns={columns}\n perPage={perPage}\n onRowClick={onSelect}\n title={title}\n />\n\n {!!total && (\n <Pagination\n page={page}\n setPage={setPage}\n perPage={perPage}\n total={total}\n totalPages={totalPages}\n />\n )}\n </div>\n );\n};\n","const { __ } = wp.i18n;\nconst { useEffect } = wp.element;\nconst { compose } = wp.compose;\n\nimport { history } from \"@/router/context\";\nimport withDataList from \"../hocs/withDataList\";\nimport { convertDateTimeToAbsoluteDate } from \"../util\";\nimport DataTable from \"./DataTable\";\n\nexport default compose([withDataList()])(\n ({\n loading,\n page,\n setPage,\n total,\n totalPages,\n data,\n error,\n fetchData,\n startDate,\n endDate,\n }) => {\n // 10 per page\n const per_page = 5;\n\n // fetch data when page changes\n useEffect(() => {\n fetchData({\n endpoint: \"/presto-player/v1/analytics/top-users\",\n params: {\n per_page,\n ...(startDate ? { start: convertDateTimeToAbsoluteDate(startDate) } : {}),\n ...(endDate ? { end: convertDateTimeToAbsoluteDate(endDate) } : {}),\n },\n });\n }, [page, startDate, endDate]);\n\n // navigate to user screen here\n const navigate = (id) => {\n history.push(`#/user/${id}`);\n };\n\n const columns = [\n {\n key: \"name\",\n label: __(\"Name\", \"presto-player\"),\n value: (row) => row?.user?.name,\n },\n {\n key: \"total_view\",\n label: __(\"Total View\", \"presto-player\"),\n value: (row) => row?.stats?.[0]?.data,\n },\n {\n key: \"avg_view_time\",\n label: __(\"Avg View Time\", \"presto-player\"),\n render: (row) => (\n <div className=\"presto-badge\">{row?.stats?.[1]?.data}</div>\n ),\n },\n ];\n\n if (error) {\n return { error };\n }\n\n return (\n <DataTable\n title={__(\"Top Users\", \"presto-player\")}\n page={page}\n perPage={per_page}\n setPage={setPage}\n loading={loading}\n total={total}\n totalPages={totalPages}\n columns={columns}\n data={data}\n onSelect={(row) => navigate(row?.user?.id)}\n />\n );\n }\n);\n","const { __ } = wp.i18n;\nconst { useEffect } = wp.element;\nconst { compose } = wp.compose;\n\nimport { history } from \"@/router/context\";\nimport withDataList from \"../hocs/withDataList\";\nimport { convertDateTimeToAbsoluteDate } from \"../util\";\nimport DataTable from \"./DataTable\";\n\n\nexport default compose([withDataList()])(\n ({\n loading,\n page,\n setPage,\n total,\n totalPages,\n data,\n error,\n fetchData,\n startDate,\n endDate,\n userId\n }) => {\n // 10 per page\n const per_page = 10;\n\n\n // fetch data when page changes\n useEffect(() => {\n fetchData({\n endpoint: \"/presto-player/v1/analytics/top-videos\",\n params: {\n per_page,\n ...(startDate ? { start: convertDateTimeToAbsoluteDate(startDate) } : {}),\n ...(endDate ? { end: convertDateTimeToAbsoluteDate(endDate) } : {}),\n ...(userId ? { user_id: userId }: {})\n },\n });\n }, [page, startDate, endDate]);\n\n const navigate = (id) => {\n history.push(`#/video/${id}`);\n };\n\n const columns = [\n {\n key: \"name\",\n label: __(\"Name\", \"presto-player\"),\n render(row) {\n return (\n <h3 style={{ marginBottom: 0, wordBreak:'break-all' }}>\n {row.video.title\n ? row.video.title\n : __(\"Untitled\", \"presto-player\")}\n </h3>\n );\n },\n },\n {\n key: \"total_view\",\n label: __(\"Total View\", \"presto-player\"),\n value(row) {\n return row.stats[0].data;\n },\n },\n {\n key: \"avg_view_time\",\n label: __(\"Avg View Time\", \"presto-player\"),\n render(row) {\n return <div className=\"presto-badge\">{row.stats[1].data}</div>;\n },\n },\n {\n key: \"view_more\",\n label: \"\",\n render(row) {\n return (\n <span\n style={{\n color: \"var(--wp-admin-theme-color, #007cba)\",\n }}\n >\n {__(\"View Details\", \"presto-player\")} &rarr;\n </span>\n );\n },\n },\n ];\n\n if (error) {\n return { error };\n }\n\n return (\n <DataTable\n title={__(\"Top Videos\", \"presto-player\")}\n perPage={per_page}\n page={page}\n setPage={setPage}\n loading={loading}\n total={total}\n totalPages={totalPages}\n columns={columns}\n data={data}\n onSelect={(row) => {\n navigate(row?.video?.id);\n }}\n />\n );\n }\n);\n","// import apiFetch from \"@wordpress/api-fetch\";\nconst { apiFetch } = wp;\n\n// nonce and root\napiFetch.use(apiFetch.createNonceMiddleware(prestoPlayer.nonce));\napiFetch.use(\n apiFetch.createRootURLMiddleware(\n prestoPlayer.root + prestoPlayer.prestoVersionString\n )\n);\n\nexport default apiFetch;\n","const { __, sprintf } = wp.i18n;\nconst { Card, CardBody } = wp.components;\nconst { useState, useEffect, useRef } = wp.element;\n\nimport Loading from \"@/admin/settings/components/Loading\";\nimport apiFetch from \"@/shared/services/fetch\";\nimport Chart from \"react-apexcharts\";\nimport { convertDateTimeToAbsoluteDate } from \"../util\";\n\nexport default (props) => {\n const [loading, setLoading] = useState(true);\n const [totalViews, setTotalViews] = useState(0);\n const { startDate, endDate } = props;\n const [series, setSeries] = useState([\n {\n name: \"Views\",\n data: [],\n },\n ]);\n\n const chart = {\n options: {\n chart: {\n toolbar: {\n show: false,\n },\n },\n yaxis: {\n min: 0,\n labels: {\n formatter: function (num) {\n if (num < 1) {\n return 0;\n }\n return Math.abs(num) > 999\n ? Math.sign(num) * (Math.abs(num) / 1000).toFixed(1) + \"k\"\n : Math.sign(num) * Math.abs(num).toFixed(0);\n },\n },\n },\n colors: [\"#7c3aed\"],\n xaxis: {\n type: \"datetime\",\n min: new Date(startDate).setHours(0, 0, 0, 0),\n max: new Date(endDate).setHours(23, 59, 59, 999),\n },\n dataLabels: {\n enabled: false,\n },\n stroke: { curve: \"smooth\" },\n fill: {\n type: \"gradient\",\n gradient: {\n shadeIntensity: 1,\n opacityFrom: 0.7,\n opacityTo: 0.9,\n stops: [0, 90, 100],\n },\n },\n },\n };\n\n // fetch only if we already mounted\n useEffect(() => {\n fetchViews();\n }, [props]);\n\n const fetchViews = () => {\n setLoading(true);\n apiFetch({\n path:\n \"/presto-player/v1/analytics/views?\" +\n jQuery.param({\n ...(startDate ? { start: convertDateTimeToAbsoluteDate(startDate) } : {}),\n ...(endDate ? { end: convertDateTimeToAbsoluteDate(endDate) } : {}),\n }),\n parse: false,\n })\n .then(async (res) => {\n setTotalViews(res.headers && res.headers.get(\"X-WP-Total\"));\n const data = await res.json();\n\n let series = [];\n if (data.length) {\n data.forEach((item) => {\n series.push({\n x: item.date_time,\n y: item.total,\n });\n });\n }\n setSeries([\n {\n name: \"Views\",\n data: series,\n },\n ]);\n })\n .catch((e) => {\n console.error(e);\n })\n .finally(() => {\n setLoading(false);\n });\n };\n\n if (loading) {\n return (\n <CardBody>\n <Loading />\n </CardBody>\n );\n }\n\n return (\n <CardBody className=\"presto-flow\">\n <div className=\"presto-card__title\">\n {sprintf(__(\"%d Unique Views\", \"presto-player\"), totalViews)}\n </div>\n <Chart options={chart.options} series={series} type=\"area\" height={280} />\n </CardBody>\n );\n};\n","const { __, sprintf } = wp.i18n;\nconst { Card, CardBody } = wp.components;\nconst { useState, useEffect, useRef } = wp.element;\n\nimport Loading from \"@/admin/settings/components/Loading\";\nimport apiFetch from \"@/shared/services/fetch\";\nimport Chart from \"react-apexcharts\";\nimport { convertDateTimeToAbsoluteDate, humanSeconds } from \"../util\";\n\n\nexport default (props) => {\n const [loading, setLoading] = useState(true);\n const [averageTime, setAverageTime] = useState(0);\n const { startDate, endDate } = props;\n const [series, setSeries] = useState([\n {\n name: \"Views\",\n data: [],\n },\n ]);\n\n const chart = {\n options: {\n chart: {\n toolbar: {\n show: false,\n },\n },\n yaxis: {\n labels: {\n formatter: function (num) {\n return Math.abs(num) > 999\n ? Math.sign(num) * (Math.abs(num) / 1000).toFixed(1) + \"k min\"\n : (Math.sign(num) * Math.abs(num)).toFixed(1) + \"min\";\n },\n },\n },\n colors: [\"#7c3aed\"],\n xaxis: {\n type: \"datetime\",\n min: new Date(startDate).setHours(0, 0, 0, 0),\n max: new Date(endDate).setHours(23, 59, 59, 999),\n },\n dataLabels: {\n enabled: false,\n },\n stroke: { curve: \"smooth\" },\n fill: {\n type: \"gradient\",\n gradient: {\n shadeIntensity: 1,\n opacityFrom: 0.7,\n opacityTo: 0.9,\n stops: [0, 90, 100],\n },\n },\n },\n };\n\n // fetch only if we already mounted\n useEffect(() => {\n fetchMinutes();\n }, [props]);\n\n const fetchMinutes = () => {\n setLoading(true);\n apiFetch({\n path:\n \"/presto-player/v1/analytics/watch-time?\" +\n jQuery.param({\n start: convertDateTimeToAbsoluteDate(startDate),\n end: convertDateTimeToAbsoluteDate(endDate),\n }),\n parse: false,\n })\n .then(async (res) => {\n const { data, average } = await res.json();\n\n setAverageTime(parseFloat(average));\n\n let series = [];\n if (data.length) {\n data.forEach((item) => {\n series.push({\n x: item.date_time,\n y: (item.total / 60).toFixed(2),\n });\n });\n }\n setSeries([\n {\n name: \"Watch Time\",\n data: series,\n },\n ]);\n })\n .catch((e) => {\n console.error(e);\n })\n .finally(() => {\n setLoading(false);\n });\n };\n\n if (loading) {\n return (\n <CardBody>\n <Loading />\n </CardBody>\n );\n }\n\n return (\n <CardBody className=\"presto-flow\">\n <div className=\"presto-card__title\">\n {sprintf(\n __(\"%s average watch time\", \"presto-player\"),\n humanSeconds(averageTime)\n )}\n </div>\n <Chart options={chart.options} series={series} type=\"area\" height={280} />\n </CardBody>\n );\n};\n","const { __ } = wp.i18n;\nconst { Panel, TabPanel } = wp.components;\n\nimport TotalViewsGraph from \"./TotalViewsGraph\";\nimport TotalWatchGraph from \"./TotalWatchGraph\";\n\nexport default ({ startDate, endDate }) => {\n return (\n <Panel>\n <TabPanel\n className=\"presto-module-tabs\"\n onSelect={() => {}}\n tabs={[\n {\n name: \"views\",\n title: __(\"Views\", \"presto-player\"),\n },\n {\n name: \"watch\",\n title: __(\"Watch Time\", \"presto-player\"),\n },\n ]}\n >\n {(tab) => {\n switch (tab.name) {\n case \"views\":\n return (\n <TotalViewsGraph startDate={startDate} endDate={endDate} />\n );\n case \"watch\":\n return (\n <TotalWatchGraph startDate={startDate} endDate={endDate} />\n );\n default:\n return <>Not Found</>;\n }\n }}\n </TabPanel>\n </Panel>\n );\n};\n","const { __ } = wp.i18n;\nconst { useRef, useEffect, useState } = wp.element;\n\nimport Litepicker from \"litepicker\";\nimport \"litepicker/dist/plugins/ranges\";\n\nexport default ({ startDate, setStartDate, endDate, setEndDate }) => {\n const dateRef = useRef();\n const [inputSize, setInputSize] = useState(25);\n\n let datepicker;\n useEffect(() => {\n datepicker = new Litepicker({\n element: dateRef?.current,\n singleMode: false,\n format: \"MMMM D YYYY\",\n autoApply: false,\n plugins: [\"ranges\"],\n maxDate: new Date(),\n numberOfMonths: 2,\n buttonText: {\n apply: __(\"Apply\", \"presto-player\"),\n cancel: __(\"Cancel\", \"presto-player\"),\n },\n dropdowns: {\n minYear: 1990,\n maxYear: null,\n months: true,\n years: true,\n },\n setup: (picker) => {\n picker.setDateRange(startDate, endDate);\n picker.on(\"button:apply\", (start, end) => {\n setStartDate(start.dateInstance);\n setEndDate(end.dateInstance);\n setInputSize(dateRef.current.value.length);\n });\n },\n });\n }, [dateRef]);\n\n return (\n <div className=\"component-base-control\">\n <div className=\"components-base-control__field\">\n <input\n className=\"components-text-control__input presto-settings__date-select\"\n ref={dateRef}\n size={inputSize}\n />\n </div>\n </div>\n );\n};\n","const { __ } = wp.i18n;\nconst { Flex, FlexBlock, FlexItem } = wp.components;\nconst { useState } = wp.element;\n\nimport TopUsers from \"../components/TopUsers\";\nimport TopVideos from \"../components/TopVideos\";\nimport OverviewPanel from \"../components/OverviewPanel\";\nimport DatePicker from \"../components/DatePicker\";\n\nexport default function ({ startDate, endDate, setStartDate, setEndDate }) {\n return (\n <>\n <Flex>\n <FlexBlock>\n <h1>{__(\"Analytics\", \"presto-player\")}</h1>\n </FlexBlock>\n <FlexItem>\n <DatePicker\n startDate={startDate}\n setStartDate={setStartDate}\n endDate={endDate}\n setEndDate={setEndDate}\n />\n </FlexItem>\n </Flex>\n\n <div className=\"presto-flow\">\n <div className=\"presto-dashboard\">\n <div className=\"presto-dashboard__row\">\n <div className=\"presto-dashboard__item is-large\">\n <OverviewPanel startDate={startDate} endDate={endDate} />\n </div>\n <div className=\"presto-dashboard__item\">\n <TopUsers startDate={startDate} endDate={endDate} />\n </div>\n </div>\n\n <div className=\"presto-dashboard__row\">\n <div className=\"presto-dashboard__item is-large\">\n <TopVideos startDate={startDate} endDate={endDate} />\n </div>\n </div>\n </div>\n </div>\n </>\n );\n}\n","const { Card, CardBody } = wp.components;\nimport Loading from \"@/admin/settings/components/Loading\";\n\nexport default ({ loading, title , value, label }) => {\n if (loading) {\n return (\n <Card>\n <CardBody>\n <Loading />\n </CardBody>\n </Card>\n );\n }\n\n return (\n <Card className=\"presto-player__stat-card\">\n <CardBody>\n <div className=\"presto-subtitle\">{title}</div>\n <h1>{value}</h1>\n <div>{label}</div>\n </CardBody>\n </Card>\n );\n};\n","/**\n * WordPress dependencies\n */\nconst { apiFetch } = wp;\nconst { useState } = wp.element;\nconst { createHigherOrderComponent } = wp.compose;\n\n/**\n * Higher order component factory\n *\n * @return {Function} The higher order component.\n */\nexport default () =>\n createHigherOrderComponent(\n (WrappedComponent) => (props) => {\n const [loading, setLoading] = useState(false);\n const [stat, setStat] = useState([]);\n const [error, setError] = useState(\"\");\n\n // fetch data\n // we could also abstract this function to make it reusable\n // or do a higher order component\n const fetchData = async ({ endpoint, params = {} }) => {\n setLoading(true);\n\n let responseData;\n try {\n responseData = await apiFetch({\n path: wp.url.addQueryArgs(endpoint, {\n ...params,\n }),\n });\n setStat(responseData);\n } catch (e) {\n console.error(e);\n if (e?.message) {\n setError(e.message);\n }\n } finally {\n setLoading(false);\n }\n };\n\n return (\n <WrappedComponent\n loading={loading}\n setLoading={setLoading}\n fetchData={fetchData}\n stat={stat}\n setStat={setStat}\n error={error}\n setError={setError}\n {...props}\n />\n );\n },\n \"withStat\"\n );\n","const { __ } = wp.i18n;\nconst { compose } = wp.compose;\nconst { useEffect } = wp.element;\n\nimport StatCard from \"@/admin/ui/StatCard\";\nimport withStat from \"../hocs/withStat\";\nimport { convertDateTimeToAbsoluteDate } from \"../util\";\n\nexport default compose([withStat()])((props) => {\n\n const { userId, startDate, endDate, stat, fetchData, loading } = props;\n\n useEffect(() => {\n fetchData({\n endpoint: `/presto-player/v1/analytics/user/${userId}/total-views`,\n params: {\n start: convertDateTimeToAbsoluteDate(startDate),\n end: convertDateTimeToAbsoluteDate(endDate),\n },\n });\n }, [startDate, endDate]);\n\n return (\n\n <StatCard\n loading={loading}\n value={parseInt(stat?.view)}\n title={__(\"Total Views\", \"presto-player\")}\n />\n );\n});\n","const { __ } = wp.i18n;\nconst { compose } = wp.compose;\nconst { useEffect } = wp.element;\n\nimport StatCard from \"@/admin/ui/StatCard\";\nimport withStat from \"../hocs/withStat\";\nimport { convertDateTimeToAbsoluteDate } from \"../util\";\n\nexport default compose([withStat()])((props) => {\n\n const { userId, startDate, endDate, stat, fetchData, loading } = props;\n\n useEffect(() => {\n fetchData({\n endpoint: `/presto-player/v1/analytics/user/${userId}/average-watchtime`,\n params: {\n start: convertDateTimeToAbsoluteDate(startDate),\n end: convertDateTimeToAbsoluteDate(endDate),\n },\n });\n }, [startDate, endDate]);\n\n return (\n <StatCard\n loading={loading}\n value={parseFloat(stat?.view).toFixed(2)}\n title={__(\"Average Watch Time\", \"presto-player\")}\n label={__(\"seconds\", \"presto-player\")}\n />\n );\n});\n","const { __ } = wp.i18n;\nconst { compose } = wp.compose;\nconst { useEffect } = wp.element;\n\nimport StatCard from \"@/admin/ui/StatCard\";\nimport withStat from \"../hocs/withStat\";\nimport { convertDateTimeToAbsoluteDate } from \"../util\";\n\nexport default compose([withStat()])((props) => {\n\n const { userId, startDate, endDate, stat, fetchData, loading } = props;\n\n useEffect(() => {\n fetchData({\n endpoint: `/presto-player/v1/analytics/user/${userId}/total-watchtime`,\n params: {\n start: convertDateTimeToAbsoluteDate(startDate),\n end: convertDateTimeToAbsoluteDate(endDate),\n },\n });\n }, [startDate, endDate]);\n\n return (\n <StatCard\n loading={loading}\n value={parseFloat(stat?.view).toFixed(2)}\n title={__(\"Total Watch Time\", \"presto-player\")}\n label={__(\"seconds\", \"presto-player\")}\n />\n );\n});\n","/** @jsx jsx */\n\nconst { __ } = wp.i18n;\n\nconst { Flex, FlexBlock, FlexItem, Spinner, Button } = wp.components;\n\nimport { history } from \"@/router/context\";\nimport DatePicker from \"../components/DatePicker\";\nimport TopVideos from \"../components/TopVideos\";\nimport TotalVideoViewsByUser from \"../components/TotalVideoViewsByUser\";\nimport VideoAverageWatchTimeByUser from \"../components/VideoAverageWatchTimeByUser\";\nimport VideoTotalWatchTimeByUser from \"../components/VideoTotalWatchTimeByUser\";\n\nconst { useEffect, useState } = wp.element;\nconst { apiFetch } = wp;\n\nimport { css, jsx } from \"@emotion/core\";\n\nconst User = ({ route, startDate, endDate, setStartDate, setEndDate }) => {\n const [loading, setLoading] = useState(true);\n const [user, setUser] = useState({});\n const [error, setError] = useState(\"\");\n\n const back = () => {\n history.push(`#/`);\n };\n\n const getUser = async () => {\n setLoading(true);\n try {\n let user = await apiFetch({\n url: `/wp-json/wp/v2/users/${route?.params?.id}?context=edit`,\n });\n setUser(user);\n } catch (e) {\n if (e.code === \"rest_no_route\") {\n setError(\"User Not Found\");\n }\n } finally {\n setLoading(false);\n }\n };\n\n useEffect(() => {\n getUser();\n }, []);\n\n if (error) {\n return (\n <div className=\"presto-flow\">\n <Flex>\n <FlexBlock>\n <h2>{error}</h2>\n </FlexBlock>\n </Flex>\n </div>\n );\n }\n\n return (\n <div className=\"presto-flow\">\n <Flex>\n <FlexBlock>\n <Button isSecondary onClick={back}>\n &larr; {__(\"Back to Dashboard\", \"presto-player\")}\n </Button>\n </FlexBlock>\n </Flex>\n <Flex wrap>\n <FlexBlock>\n {loading ? (\n <Spinner />\n ) : (\n <div\n css={css`\n display: flex;\n align-items: center;\n\n .presto__edit-user-button {\n opacity: 0;\n visibility: hidden;\n transition: opacity 0.3s ease;\n }\n\n &:hover {\n .presto__edit-user-button {\n opacity: 1;\n visibility: visible;\n }\n }\n `}\n >\n <div>\n <h1 className=\"presto-dashboard__title\">{user?.name}</h1>\n <p\n css={css`\n margin-top: -10px;\n opacity: 0.65;\n `}\n >\n {user?.email}\n </p>\n </div>\n {!!user.id && (\n <div\n className=\"presto__edit-user-button\"\n css={css`\n margin: 0 20px;\n `}\n >\n <Button\n href={`/wp-admin/user-edit.php?user_id=${user?.id}`}\n isSecondary\n isSmall\n >\n {__(\"View Profile\", \"presto-player\")} &rarr;\n </Button>\n </div>\n )}\n </div>\n )}\n </FlexBlock>\n <FlexItem>\n <DatePicker\n startDate={startDate}\n setStartDate={setStartDate}\n endDate={endDate}\n setEndDate={setEndDate}\n />\n </FlexItem>\n </Flex>\n\n <div className=\"presto-dashboard presto-flow\">\n <div className=\"presto-dashboard__row\">\n <div className=\"presto-dashboard__item\">\n <TotalVideoViewsByUser\n userId={route?.params?.id}\n startDate={startDate}\n endDate={endDate}\n />\n </div>\n <div className=\"presto-dashboard__item\">\n <VideoAverageWatchTimeByUser\n userId={route?.params?.id}\n startDate={startDate}\n endDate={endDate}\n />\n </div>\n <div className=\"presto-dashboard__item\">\n <VideoTotalWatchTimeByUser\n userId={route?.params?.id}\n startDate={startDate}\n endDate={endDate}\n />\n </div>\n </div>\n <div className=\"presto-dashboard__row\">\n <div className=\"presto-dashboard__item is-large\">\n <TopVideos\n startDate={startDate}\n endDate={endDate}\n userId={route?.params?.id}\n />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nexport default User;\n","const { __ } = wp.i18n;\nconst { compose } = wp.compose;\nconst { useEffect } = wp.element;\n\nimport StatCard from \"@/admin/ui/StatCard\";\nimport withStat from \"../hocs/withStat\";\nimport { convertDateTimeToAbsoluteDate } from \"../util\";\n\nexport default compose([withStat()])((props) => {\n const { video_id, startDate, endDate, stat, fetchData, loading } = props;\n\n useEffect(() => {\n fetchData({\n endpoint: `/presto-player/v1/analytics/video/${video_id}/average-watchtime`,\n params: {\n start: convertDateTimeToAbsoluteDate(startDate),\n end: convertDateTimeToAbsoluteDate(endDate),\n },\n });\n }, [startDate, endDate]);\n\n return (\n\n <StatCard\n loading={loading}\n value={parseInt(stat)}\n title={__(\"Average Watch Time\", \"presto-player\")}\n label={__(\"seconds\", \"presto-player\")}\n />\n );\n});\n","const { __, sprintf } = wp.i18n;\nconst { Card, CardBody } = wp.components;\nconst { useState, useEffect, useRef } = wp.element;\n\nimport Loading from \"@/admin/settings/components/Loading\";\nimport apiFetch from \"@/shared/services/fetch\";\nimport Chart from \"react-apexcharts\";\nimport { convertDateTimeToAbsoluteDate, timestamp } from \"../util\";\n\n\nexport default (props) => {\n const { video_id, startDate, endDate } = props;\n const [loading, setLoading] = useState(true);\n\n const [series, setSeries] = useState([\n {\n name: \"Views\",\n data: [],\n },\n ]);\n\n const fetchTimeline = () => {\n setLoading(true);\n apiFetch({\n path: wp.url.addQueryArgs(\n `/presto-player/v1/analytics/video/${video_id}/timeline`,\n {\n start: convertDateTimeToAbsoluteDate(startDate),\n end: convertDateTimeToAbsoluteDate(endDate),\n }\n ),\n })\n .then((data) => {\n let series = [];\n if (data.length) {\n data.forEach((item) => {\n // add another to them\n series.push({\n x: item.watch_time,\n y: item.total,\n });\n });\n }\n setSeries([\n {\n name: \"Viewers\",\n data: series,\n },\n ]);\n })\n .catch((e) => {\n console.error(e);\n })\n .finally(() => {\n setLoading(false);\n });\n };\n\n useEffect(() => {\n fetchTimeline();\n }, [startDate, endDate]);\n\n const chart = {\n options: {\n chart: {\n toolbar: {\n show: false,\n },\n },\n tickAmount: 1,\n yaxis: {\n labels: {\n formatter: function (num) {\n return parseInt(num);\n },\n },\n },\n xaxis: {\n labels: {\n formatter: function (num) {\n return timestamp(num);\n },\n },\n },\n colors: [\"#7c3aed\"],\n dataLabels: {\n enabled: false,\n },\n stroke: { curve: \"smooth\" },\n fill: {\n type: \"gradient\",\n gradient: {\n shadeIntensity: 1,\n opacityFrom: 0.7,\n opacityTo: 0.9,\n stops: [0, 90, 100],\n },\n },\n },\n };\n\n if (loading) {\n return (\n <Card>\n <CardBody>\n <Loading />\n </CardBody>\n </Card>\n );\n }\n\n return (\n <Card>\n <CardBody>\n <div className=\"presto-card__title\">\n {__(\"Audience Retention\", \"presto-player\")}\n </div>\n <Chart\n options={chart.options}\n series={series}\n type=\"area\"\n height={280}\n />\n </CardBody>\n </Card>\n );\n};\n","const { __ } = wp.i18n;\nconst { compose } = wp.compose;\nconst { useEffect } = wp.element;\n\nimport StatCard from \"@/admin/ui/StatCard\";\nimport withStat from \"../hocs/withStat\";\nimport { convertDateTimeToAbsoluteDate } from \"../util\";\n\nexport default compose([withStat()])((props) => {\n const { video_id, startDate, endDate, stat, fetchData, loading } = props;\n\n // fetch data when page changes\n useEffect(() => {\n fetchData({\n endpoint: `/presto-player/v1/analytics/video/${video_id}/views`,\n params: {\n start: convertDateTimeToAbsoluteDate(startDate),\n end: convertDateTimeToAbsoluteDate(endDate),\n },\n });\n }, [startDate, endDate]);\n\n return (\n <StatCard\n loading={loading}\n value={parseInt(stat)}\n title={__(\"Unique Views\", \"presto-player\")}\n />\n );\n});\n","import { PrestoPlayer } from \"@presto-player/react\";\n\nconst { useSelect } = wp.data;\n\nexport default ({ src, preset, branding, attributes, adminPreview, type }) => {\n const { chapters, mutedOverlay, mutedPreview } = attributes;\n\n const youtube = useSelect((select) => {\n return select(\"presto-player/player\")?.youtube();\n });\n\n const css = useSelect((select) => {\n return select(\"presto-player/player\")?.playerCSS();\n });\n\n const mutedOverlayContent = () => {\n return (\n <div\n className=\"presto-player__overlay is-image\"\n style={{\n position: \"absolute\",\n width: `${mutedOverlay?.width || 100}%`,\n left: `${(mutedOverlay?.focalPoint?.x || 0.5) * 100}%`,\n top: `${(mutedOverlay?.focalPoint?.y || 0.5) * 100}%`,\n }}\n >\n <img\n src={mutedOverlay?.src}\n style={{\n transform: \"translateX(-50%) translateY(-50%)\",\n }}\n />\n </div>\n );\n };\n\n return (\n <div\n className=\"wp-block-video presto-block-video\"\n style={{\n \"--presto-player-border-radius\": `${preset?.border_radius}px`,\n ...(preset?.caption_background\n ? { \"--plyr-captions-background\": preset.caption_background }\n : {}),\n ...(branding?.color ? { \"--plyr-color-main\": branding.color } : {}),\n \"--presto-player-email-border-radius\": `${\n preset?.email_collection?.border_radius || 0\n }px`,\n \"--presto-player-logo-width\": `${branding?.logo_width || 75}px`,\n }}\n >\n <PrestoPlayer\n src={src}\n css={css}\n isAdmin={true}\n preload=\"metadata\"\n preset={preset}\n bunny={{\n thumbnail: attributes?.previewThumbnail,\n preview: attributes?.preview,\n }}\n youtube={{\n channelId: youtube?.channel_id,\n }}\n tracks={\n !!preset?.captions && [\n {\n kind: \"captions\",\n label: \"English\",\n srclang: \"en\",\n src: \"/path/to/captions.en.vtt\",\n default: true,\n },\n ]\n }\n branding={branding}\n chapters={chapters}\n blockAttributes={attributes}\n poster={attributes.poster}\n provider={type}\n >\n <div slot=\"player-end\">\n {mutedPreview?.enabled &&\n mutedOverlay?.enabled &&\n mutedOverlayContent()}\n {adminPreview}\n </div>\n </PrestoPlayer>\n </div>\n );\n};\n","const { __ } = wp.i18n;\n\nconst { Flex, FlexBlock, FlexItem, Spinner, Button, TextControl } =\n wp.components;\n\nimport { history } from \"@/router/context\";\nimport DatePicker from \"../components/DatePicker\";\nimport VideoAverageWatchTime from \"../components/VideoAverageWatchTime\";\nimport VideoTimeline from \"../components/VideoTimeline\";\nimport VideoViews from \"../components/VideoViews\";\nimport Player from \"../../blocks/shared/Player\";\n\nconst { useEffect, useState } = wp.element;\nconst { apiFetch } = wp;\n\nconst Video = ({ route, startDate, endDate, setStartDate, setEndDate }) => {\n const [loading, setLoading] = useState(true);\n const [video, setVideo] = useState({});\n const [error, setError] = useState(\"\");\n const [thisName, setThisName] = useState(null);\n const [editing, setEditing] = useState(false);\n\n const back = () => {\n history.push(`#/`);\n };\n\n const getVideo = async () => {\n setLoading(true);\n try {\n let video = await apiFetch({\n url: `${prestoPlayer?.root}${prestoPlayer?.prestoVersionString}videos/${route?.params?.id}`,\n });\n setVideo(video);\n setThisName(video?.title);\n } catch (e) {\n if (e.code === \"rest_no_route\") {\n setError(\"Video Not Found\");\n }\n } finally {\n setLoading(false);\n }\n };\n\n const putVideo = async () => {\n console.log(`New Video title ${thisName}`);\n setLoading(true);\n try {\n const data = {\n ...video,\n ...{ title: thisName },\n };\n let saved = await wp.apiFetch({\n method: \"POST\",\n url: wp.url.addQueryArgs(\n `${prestoPlayer.root}${prestoPlayer.prestoVersionString}videos/${video.id}`,\n { _method: \"PUT\" }\n ),\n data,\n });\n\n if (!saved) {\n throw genericError;\n }\n setEditing(false);\n setVideo(saved);\n } catch (e) {\n setError(e?.message ? e.message : genericError);\n } finally {\n setLoading(false);\n }\n };\n\n const cancelEditing = () => {\n setThisName(video?.title);\n setEditing(false);\n };\n\n const renderVideoEditableTitle = () => {\n if (loading) {\n return <Spinner />;\n } else if (editing) {\n return (\n <div className=\"presto-inline-edit presto-inline-edit--editing\">\n <TextControl\n className=\"presto-inline-edit__input\"\n type=\"text\"\n value={thisName}\n onChange={(title) => setThisName(title)}\n />\n <Button\n className=\"presto-inline-edit__button\"\n isPrimary\n onClick={putVideo}\n >\n {\" \"}\n Save{\" \"}\n </Button>\n <Button\n className=\"presto-inline-edit__button\"\n isSecondary\n onClick={cancelEditing}\n >\n {\" \"}\n Cancel{\" \"}\n </Button>\n </div>\n );\n } else {\n return (\n <div className=\"presto-inline-edit\">\n <h1 className=\"presto-dashboard__title presto-inline-edit__text\">\n {video?.title}\n </h1>\n\n <button\n className=\"presto-inline-edit__edit\"\n onClick={() => setEditing(true)}\n >\n <span className=\"dashicon dashicons dashicons-edit\"></span>\n </button>\n </div>\n );\n }\n };\n\n useEffect(() => {\n getVideo();\n }, []);\n\n if (error) {\n return (\n <div className=\"presto-flow\">\n <Flex>\n <FlexBlock>\n <h2>{error}</h2>\n </FlexBlock>\n </Flex>\n </div>\n );\n }\n\n return (\n <div className=\"presto-flow\">\n <Flex>\n <FlexBlock>\n <Button isSecondary onClick={back}>\n &larr; {__(\"Back to Dashboard\", \"presto-player\")}\n </Button>\n </FlexBlock>\n </Flex>\n <Flex wrap>\n <FlexBlock>{renderVideoEditableTitle()}</FlexBlock>\n <FlexItem>\n <DatePicker\n startDate={startDate}\n setStartDate={setStartDate}\n endDate={endDate}\n setEndDate={setEndDate}\n />\n </FlexItem>\n </Flex>\n\n <div className=\"presto-dashboard presto-flow\">\n <div className=\"presto-dashboard__row\">\n <div className=\"presto-dashboard__item is-large\">\n <VideoViews\n video_id={route?.params?.id}\n startDate={startDate}\n endDate={endDate}\n />\n </div>\n <div className=\"presto-dashboard__item\">\n {!!Object.keys(video || {}).length && (\n <Player\n src={video?.src}\n attributes={{}}\n type={video?.type}\n preset={{\n \"play-large\": true,\n play: true,\n progress: true,\n \"current-time\": true,\n }}\n />\n )}\n </div>\n <div className=\"presto-dashboard__item\">\n <VideoAverageWatchTime\n video_id={route?.params?.id}\n startDate={startDate}\n endDate={endDate}\n />\n </div>\n </div>\n <div className=\"presto-dashboard__row\">\n <div className=\"presto-dashboard__item is-large\">\n <VideoTimeline\n video_id={route?.params?.id}\n startDate={startDate}\n endDate={endDate}\n />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nexport default Video;\n","export const routes = {\n dashboard: {\n path: \"/\",\n },\n video: {\n path: \"/video/:id\",\n },\n user: {\n path: \"/user/:id\",\n },\n};\n","const { useState } = wp.element;\n\nimport { Route, Router } from \"@/router\";\n\nimport AnalyticsUpgrade from \"./pages/AnalyticsUpgrade\";\nimport Dashboard from \"./pages/Dashboard\";\n\nimport User from \"./pages/User\";\nimport Video from \"./pages/Video\";\nimport { routes } from \"./routes\";\n\nexport default () => {\n const scrollToTop = () => {\n window.scrollTo(0, 0);\n };\n\n const [startDate, setStartDate] = useState(\n new Date(Date.now() - 7 * 24 * 60 * 60 * 1000)\n );\n const [endDate, setEndDate] = useState(new Date());\n\n if (!prestoPlayer?.isPremium) {\n return (\n <div className=\"presto-dashboard__content\">\n <AnalyticsUpgrade />\n </div>\n );\n }\n\n return (\n <div className=\"presto-dashboard__content\">\n <Router routes={routes}>\n <Route path={routes.dashboard.path} onRoute={scrollToTop}>\n <Dashboard\n startDate={startDate}\n endDate={endDate}\n setStartDate={setStartDate}\n setEndDate={setEndDate}\n />\n </Route>\n <Route path={routes.video.path} onRoute={scrollToTop}>\n <Video\n startDate={startDate}\n endDate={endDate}\n setStartDate={setStartDate}\n setEndDate={setEndDate}\n />\n </Route>\n <Route path={routes.user.path} onRoute={scrollToTop}>\n <User\n startDate={startDate}\n endDate={endDate}\n setStartDate={setStartDate}\n setEndDate={setEndDate}\n />\n </Route>\n </Router>\n </div>\n );\n};\n","const { render } = wp.element;\n\nimport { defineCustomElements } from \"@presto-player/components/dist/custom-elements\";\n\ndefineCustomElements();\n\n/**\n * App\n */\nimport App from \"./App\";\n\n/**\n * styles\n */\nimport \"./analytics.scss\";\n\n/**\n * Render\n */\nrender(<App />, document.getElementById(\"presto-analytics-page\"));\n"],"sourceRoot":""}
 
dist/analytics/admin-35e24415.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ *
3
+ * Presto Player
4
+ *
5
+ * @author Presto Made, Inc
6
+ * @version 0.1.0
7
+ * @link undefined
8
+ * @license GPL
9
+ *
10
+ * Copyright (c) 2021 Presto Made, Inc
11
+ *
12
+ * This software is released under the GPL License
13
+ * https://opensource.org/licenses/GPL
14
+ *
15
+ * Compiled with the help of https://wpack.io
16
+ * A zero setup Webpack Bundler Script for WordPress
17
+ */
18
+ (window.wpackioprestoPlayeranalyticsJsonp=window.wpackioprestoPlayeranalyticsJsonp||[]).push([[1],{26:function(e,t,r){"use strict";r.d(t,"a",(function(){return cn})),r.d(t,"b",(function(){return S})),r.d(t,"c",(function(){return Hn})),r.d(t,"d",(function(){return xr}));var n=r(16),i=r(4),a=r(5),o=r(7),l=r(8),s=r(6),c=r(9),u=r(17),p=r(13),d=r(10),h=r(1),f=r.n(h),m=r(0);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Object(p.a)(e);if(t){var i=Object(p.a)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Object(u.a)(this,r)}}function g(){var e=navigator.userAgent||navigator.vendor;return/windows phone/i.test(e)?"Windows Phone":/android/i.test(e)?"Android":"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||/(iPad|iPhone|iPod)/gi.test(navigator.platform)?"iOS":"unknown"}function v(){return"Android"===g()&&(e=window.navigator.standalone,t=window.navigator.userAgent.toLowerCase(),r=/safari/.test(t),!(/iphone|ipod|ipad/.test(t)?!e&&r||e||r:!t.includes("wv")));var e,t,r}var b=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),Object(m.b)(Object(s.a)(e)),e.show=!1,e.youtubeRenderKey=1,e}return Object(l.a)(r,[{key:"componentWillLoad",value:function(){this.handleDuration()}},{key:"handleButtonCountChange",value:function(e,t){console.log(e),(null==e?void 0:e.button_count)!==(null==t?void 0:t.button_count)&&this.youtubeRenderKey++,(null==e?void 0:e.enabled)&&this.handleDuration()}},{key:"handleDuration",value:function(){var e,t;(null===(e=null===window||void 0===window?void 0:window.wp)||void 0===e?void 0:e.blocks)?this.show=!0:this.show=function(e){var t=e.current,r=e.duration,n=e.showAfter;if(t===n)return!0;var i=t/r*100;return 99.9<i&&(i=100),i>=n}({current:this.currentTime,duration:this.duration,showAfter:(null===(t=this.config)||void 0===t?void 0:t.percentage_start)||0})}},{key:"youtubeButton",value:function(){var e,t,r,n;if("youtube"===(null===(e=this.config)||void 0===e?void 0:e.button_type)&&(null===(t=this.youtube)||void 0===t?void 0:t.channelId))return Object(m.d)("presto-youtube-subscribe-button",{key:this.youtubeRenderKey,channel:null===(r=this.youtube)||void 0===r?void 0:r.channelId,showCount:null===(n=this.config)||void 0===n?void 0:n.button_count})}},{key:"customButton",value:function(){var e,t,r,n,i,a,o,l,s,c,u;if("custom"===(null===(e=this.config)||void 0===e?void 0:e.button_type))return Object(m.d)("presto-player-button",{type:"primary",size:"small",href:null===(r=null===(t=this.config)||void 0===t?void 0:t.button_link)||void 0===r?void 0:r.url,target:(null===(i=null===(n=this.config)||void 0===n?void 0:n.button_link)||void 0===i?void 0:i.opensInNewTab)?"_blank":"_self",style:Object.assign(Object.assign({"--presto-player-button-border-radius":"".concat(null===(a=this.config)||void 0===a?void 0:a.button_radius,"px")},(null===(o=this.config)||void 0===o?void 0:o.button_color)?{"--presto-player-button-color":"".concat(null===(l=this.config)||void 0===l?void 0:l.button_color)}:{}),(null===(s=this.config)||void 0===s?void 0:s.button_text_color)?{"--presto-player-button-text":"".concat(null===(c=this.config)||void 0===c?void 0:c.button_text_color)}:{})},null===(u=this.config)||void 0===u?void 0:u.button_text)}},{key:"render",value:function(){var e,t;return Object(m.d)("presto-action-bar-ui",{open:this.show,style:{"--presto-action-bar-background":(null===(e=this.config)||void 0===e?void 0:e.background_color)||"#1d1d1d"}},null===(t=this.config)||void 0===t?void 0:t.text,Object(m.d)("div",{slot:"button"},this.youtubeButton(),this.customButton()))}},{key:"el",get:function(){return this}}],[{key:"watchers",get:function(){return{config:["handleButtonCountChange"],currentTime:["handleDuration"],duration:["handleDuration"]}}},{key:"style",get:function(){return":host{display:block}"}}]),r}(Object(d.a)(HTMLElement)),_=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),Object(m.b)(Object(s.a)(e)),e}return Object(l.a)(r,[{key:"render",value:function(){return Object(m.d)("div",{class:{bar:!0,"bar--open":this.open}},Object(m.d)("span",{part:"content",class:"bar__content"},Object(m.d)("slot",null)),Object(m.d)("span",{part:"button",class:"bar__button"},Object(m.d)("slot",{name:"button"})))}}],[{key:"style",get:function(){return":host{display:block;overflow:hidden}.bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;background:var(--presto-action-bar-background, #1d1d1d);color:#fff;padding:0 var(--presto-action-bar-padding, 6px);line-height:1em;font-size:16px;margin-top:-100%;transition:margin var(--presto-action-bar-animation-speed, 0.5s) ease-in-out;transform:translate3d(0)}.bar.bar--open{margin-top:0}.bar__button{margin:var(--presto-action-bar-padding, 6px);display:flex;align-items:center}.bar__content{margin:var(--presto-action-bar-padding, 6px);width:100%;text-align:center}@media screen and (min-width: 480px){.bar__content{width:auto}}"}}]),r}(Object(d.a)(HTMLElement)),w=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),e}return Object(l.a)(r,[{key:"componentWillLoad",value:function(){this.poster=this.poster||this.thumbnail}},{key:"render",value:function(){return Object(m.d)("presto-video",{getRef:this.getRef,player:this.player,autoplay:this.autoplay,preload:this.preload,poster:this.poster,playsinline:this.playsinline,src:this.src,tracks:this.tracks})}}]),r}(Object(d.a)(HTMLElement)),k=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),e.playVideo=Object(m.c)(Object(s.a)(e),"playVideo",7),e.rewatchVideo=Object(m.c)(Object(s.a)(e),"rewatchVideo",7),e.percentagePassed=0,e}return Object(l.a)(r,[{key:"componentWillLoad",value:function(){this.handleDuration()}},{key:"timePassed",value:function(e){var t=e.current,r=e.duration,n=e.showAfter;if(t===n)return!0;var i=t/r*100;return 99.9<i&&(i=100),i>=n}},{key:"handleFullScreen",value:function(){var e,t,r,n,i,a,o,l,s,c,u,p,d=this;if(this.enabled&&!this.skipped&&this.player){if(this.player.fullscreen.active&&this.player.fullscreen.exit(),this.isiOS()&&!(null===(r=null===(t=null===(e=this.player)||void 0===e?void 0:e.config)||void 0===t?void 0:t.blockAttributes)||void 0===r?void 0:r.playsinline)&&("function"==typeof(null===(i=null===(n=null==this?void 0:this.player)||void 0===n?void 0:n.media)||void 0===i?void 0:i.webkitExitFullScreen)&&(null===(a=this.player)||void 0===a||a.media.webkitExitFullScreen()),"function"==typeof(null===(l=null===(o=null==this?void 0:this.player)||void 0===o?void 0:o.embed)||void 0===l?void 0:l.exitFullscreen)&&(null===(c=null===(s=null==this?void 0:this.player)||void 0===s?void 0:s.embed)||void 0===c||c.exitFullscreen()),this.isiOSYoutubeFullscreen())){var h=this.player.currentTime;this.player.currentTime=this.player.duration,this.player.once("playing",(function(){d.player.currentTime=h}))}this.player.ended&&(console.log("ended"),this.ended=!0,100===(null===(p=null===(u=this.preset)||void 0===u?void 0:u.cta)||void 0===p?void 0:p.percentage)&&(this.show=!0))}}},{key:"handleDuration",value:function(){var e,t;this.enabled=!this.skipped&&(null===(t=null===(e=this.preset)||void 0===e?void 0:e.cta)||void 0===t?void 0:t.enabled),this.handleTime()}},{key:"handlePercentagePassed",value:function(){this.percentagePassed=this.currentTime/this.duration*100}},{key:"handlePercentagePassedChange",value:function(){this.ended=this.percentagePassed>=99.9}},{key:"handleEnabled",value:function(){this.show&&(this.skipped||this.player&&this.player.pause())}},{key:"handleTime",value:function(){var e,t;this.enabled&&(this.skipped||100!==(null===(t=null===(e=this.preset)||void 0===e?void 0:e.cta)||void 0===t?void 0:t.percentage)&&this.checkTime())}},{key:"isiOS",value:function(){var e=window.navigator.userAgent;return!!e.match(/iPad/i)||!!e.match(/iPhone/i)}},{key:"isiOSYoutubeFullscreen",value:function(){var e,t,r;return this.isiOS()&&"youtube"===this.player.provider&&!(null===(r=null===(t=null===(e=this.player)||void 0===e?void 0:e.config)||void 0===t?void 0:t.blockAttributes)||void 0===r?void 0:r.playsinline)}},{key:"checkTime",value:function(){var e,t;this.show=this.timePassed({current:this.currentTime,duration:this.duration,showAfter:(null===(t=null===(e=this.preset)||void 0===e?void 0:e.cta)||void 0===t?void 0:t.percentage)||0})}},{key:"skip",value:function(){this.skipped=!0,this.show=!1,this.playVideo.emit()}},{key:"rewatch",value:function(){var e=this;this.ended=!1,this.show=!1,this.rewatchVideo.emit(),this.player.once("timeupdate",(function(){setTimeout((function(){return e.player.play()}),500)})),this.player.restart()}},{key:"render",value:function(){var e,t,r,n,i,a,o,l,s,c,u,p,d,h,f,y,g,v,b,_,w,k,x,O,j,E,T,P,S,R=this;if(this.show)return Object(m.d)("presto-cta-overlay-ui",{style:Object.assign(Object.assign(Object.assign({"--presto-player-button-border-radius":"".concat(null===(t=null===(e=this.preset)||void 0===e?void 0:e.cta)||void 0===t?void 0:t.button_radius,"px")},(null===(n=null===(r=this.preset)||void 0===r?void 0:r.cta)||void 0===n?void 0:n.background_opacity)?{"--presto-player-cta-background-opacity":"".concat((null===(a=null===(i=this.preset)||void 0===i?void 0:i.cta)||void 0===a?void 0:a.background_opacity)/100)}:{}),(null===(l=null===(o=this.preset)||void 0===o?void 0:o.cta)||void 0===l?void 0:l.button_color)?{"--presto-player-button-color":"".concat(null===(c=null===(s=this.preset)||void 0===s?void 0:s.cta)||void 0===c?void 0:c.button_color)}:{}),(null===(p=null===(u=this.preset)||void 0===u?void 0:u.cta)||void 0===p?void 0:p.button_text_color)?{"--presto-player-button-text":"".concat(null===(h=null===(d=this.preset)||void 0===d?void 0:d.cta)||void 0===h?void 0:h.button_text_color)}:{}),direction:this.direction,class:"cta-overlay",headline:null===(y=null===(f=this.preset)||void 0===f?void 0:f.cta)||void 0===y?void 0:y.headline,"bottom-text":null===(v=null===(g=this.preset)||void 0===g?void 0:g.cta)||void 0===v?void 0:v.bottom_text,"show-button":null===(_=null===(b=this.preset)||void 0===b?void 0:b.cta)||void 0===_?void 0:_.show_button,buttonLink:null===(k=null===(w=this.preset)||void 0===w?void 0:w.cta)||void 0===k?void 0:k.button_link,allowSkip:!this.ended&&(null===(O=null===(x=this.preset)||void 0===x?void 0:x.cta)||void 0===O?void 0:O.show_skip),allowRewatch:this.ended&&(null===(E=null===(j=this.preset)||void 0===j?void 0:j.cta)||void 0===E?void 0:E.show_rewatch),"skip-text":null===(T=null==this?void 0:this.i18n)||void 0===T?void 0:T.skip,"button-text":null===(S=null===(P=this.preset)||void 0===P?void 0:P.cta)||void 0===S?void 0:S.button_text,onSkip:function(){return R.skip()},onRewatch:function(){return R.rewatch()}})}}],[{key:"watchers",get:function(){return{currentTime:["handleFullScreen","handlePercentagePassed","handleEnabled","handleTime"],duration:["handleDuration","handlePercentagePassed"],percentagePassed:["handlePercentagePassedChange"]}}},{key:"style",get:function(){return":host{display:block}"}}]),r}(Object(d.a)(HTMLElement)),x=function(e,t,n){var i=function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}({minFontSize:-1/0,maxFontSize:1/0},n),a=function(e){var n=t||1,a=function(){e.style.fontSize=Math.max(Math.min(e.clientWidth/(10*n),parseFloat(i.maxFontSize)),parseFloat(i.minFontSize))+"px"};if(a(),"ResizeObserver"in window==!1)var o=r.e(0).then(r.bind(null,27)).then((function(){window.ResizeObserver=o.ResizeObserver,new ResizeObserver(a).observe(e)}));else new ResizeObserver(a).observe(e)};if(e.length)for(var o=0;o<e.length;o++)a(e[o]);else a(e);return e},O=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),Object(m.b)(Object(s.a)(e)),e.skip=Object(m.c)(Object(s.a)(e),"skip",7),e.rewatch=Object(m.c)(Object(s.a)(e),"rewatch",7),e}return Object(l.a)(r,[{key:"componentDidLoad",value:function(){x(this.textInput,3,{maxFontSize:20,minFontSize:8})}},{key:"handleCTAClick",value:function(e){var t;(null===(t=this.buttonLink)||void 0===t?void 0:t.url)&&(e.preventDefault(),e.stopPropagation(),this.handleLink())}},{key:"handleLink",value:function(){var e,t,r;(null===(e=this.buttonLink)||void 0===e?void 0:e.opensInNewTab)?window.open(null===(t=this.buttonLink)||void 0===t?void 0:t.url,"_blank"):window.location.href=null===(r=this.buttonLink)||void 0===r?void 0:r.url}},{key:"render",value:function(){var e,t,r,n=this;return Object(m.d)("div",{class:"wrapper",ref:function(e){return n.textInput=e}},Object(m.d)("div",{onClick:function(e){return n.handleCTAClick(e)},class:"overlay ".concat("rtl"===this.direction?"rtl":""," ").concat((null===(e=this.buttonLink)||void 0===e?void 0:e.url)?"has-link":"")},Object(m.d)("div",{class:"content"},Object(m.d)("h1",{part:"cta-headline"},this.headline||this.defaultHeadline),this.bottomText&&Object(m.d)("p",{part:"cta-bottom-text",innerHTML:this.bottomText}),this.showButton&&Object(m.d)("presto-player-button",{full:!0,onClick:function(e){return n.handleCTAClick(e)},part:"cta-button",href:null===(t=null==this?void 0:this.buttonLink)||void 0===t?void 0:t.url,target:(null===(r=null==this?void 0:this.buttonLink)||void 0===r?void 0:r.opensInNewTab)?"_blank":"_self",class:"button",type:"primary"},this.buttonText))),!!this.allowRewatch&&Object(m.d)("div",{class:"rewatch",onClick:function(e){e.preventDefault(),e.stopImmediatePropagation(),n.rewatch.emit()}},Object(m.d)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round",class:"icon icon-corner-up-left"},Object(m.d)("polyline",{points:"9 14 4 9 9 4"}),Object(m.d)("path",{d:"M20 20v-7a4 4 0 0 0-4-4H4"})),this.rewatchText||"Rewatch"),!!this.allowSkip&&Object(m.d)("div",{class:"skip",onClick:function(e){e.preventDefault(),n.skip.emit()}},this.skipText||"Skip"," →"))}}],[{key:"style",get:function(){return':host{display:block;font-size:16px;width:100%;height:100%;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;z-index:99999;user-select:none}*{box-sizing:border-box}a{color:#fff}.wrapper{height:100%;position:relative;color:#fff;font-family:var(--plyr-font-family, "San Francisco", -apple-system, BlinkMacSystemFont, ".SFNSText-Regular", Avenir, "Avenir Next", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif)}.overlay{position:relative;display:flex;align-items:center;justify-content:center;padding:48px;height:100%}.overlay.has-link{cursor:pointer}.overlay:before{content:"";border-radius:var(--presto-player-border-radius, 0);opacity:var(--presto-player-cta-background-opacity, 0.75);position:absolute;top:0;left:0;bottom:0;right:0;background-color:var(--presto-player-cta-background, #000);z-index:-1;box-shadow:inset 0 0 100px black}.content{width:80%;max-width:600px}.content *~*{margin-top:22px}button{background:var(--plyr-color-main, #000);appearance:none;padding:6px 12px;align-items:center;display:inline-flex;border-width:1px;border-color:transparent;color:#fff;border-radius:0;cursor:pointer;font-size:0.8em;border-radius:0 var(--presto-player-cta-border-radius, 0) var(--presto-player-cta-border-radius) 0}@media screen and (min-width: 700px){button{padding:10px 18px}}button:focus{box-shadow:white 0px 0px 0px 2px, var(--plyr-color-main, #000) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;z-index:1}button:focus,button:hover{outline:none}h1{font-size:1.5em;font-weight:500;margin:0;line-height:1.1em}.skip,.rewatch{font-size:0.8em;font-weight:600;position:absolute;top:0;right:0;padding:4%;cursor:pointer}.rewatch{display:inline-flex;align-items:center;right:auto;left:0}.rewatch .icon{margin-right:5px}p{font-size:0.85em;margin:0;margin-top:1.5em;line-height:1.4em;opacity:0.75}'}}]),r}(Object(d.a)(HTMLElement)),j=function(e){Object(c.a)(u,e);var t,r,n=y(u);function u(){var e;return Object(o.a)(this,u),(e=n.call(this)).__registerHost(),e.playVideo=Object(m.c)(Object(s.a)(e),"playVideo",7),e}return Object(l.a)(u,[{key:"setStorage",value:function(e){window.localStorage.setItem("presto.videos.email_collection",JSON.stringify(Object(a.a)({},this.videoId,e)))}},{key:"getStorage",value:function(){return window.localStorage.getItem("presto.videos.email_collection")}},{key:"componentWillLoad",value:function(){this.handleDuration()}},{key:"timePassed",value:function(e){var t=e.current,r=e.duration,n=e.showAfter;if(t===n)return!0;var i=t/r*100;return 99.9<i&&(i=100),i>=n}},{key:"handlePlayerInit",value:function(e,t){var r=this;t||this.player.on("play playing timeupdate",(function(){r.getStorage()||r.show&&r.player.pause()}))}},{key:"handleDuration",value:function(){var e,t;this.enabled=!this.getStorage()&&(null===(t=null===(e=this.preset)||void 0===e?void 0:e.email_collection)||void 0===t?void 0:t.enabled),this.handleTime()}},{key:"handleTime",value:function(){this.enabled&&(this.getStorage()||this.checkTime())}},{key:"checkTime",value:function(){var e,t;this.show=this.timePassed({current:this.currentTime,duration:this.duration,showAfter:(null===(t=null===(e=this.preset)||void 0===e?void 0:e.email_collection)||void 0===t?void 0:t.percentage)||0})}},{key:"getNonce",value:(r=Object(i.a)(f.a.mark((function e(){var t;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",fetch("".concat(null===(t=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===t?void 0:t.ajaxurl,"?action=presto_refresh_progress_nonce")));case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"submit",value:(t=Object(i.a)(f.a.mark((function e(t){var r,n,i,a,o,l,s,c,u;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading=!0,this.error="",e.next=4,this.getNonce();case 4:return n=e.sent,e.next=7,n.json();case 7:return i=e.sent,a=i.data,e.prev=9,e.next=12,fetch(null===(r=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===r?void 0:r.ajaxurl,{method:"post",body:new URLSearchParams(Object.assign({action:"presto_player_email_submit",nonce:a,preset_id:this.preset.id,video_id:this.videoId},(null==t?void 0:t.detail)||{}))});case 12:return o=e.sent,e.next=15,o.json();case 15:if(l=e.sent,s=l.success,c=l.data,!s){e.next=24;break}this.setStorage("collected"),this.show=!1,this.playVideo.emit(),e.next=25;break;case 24:throw c;case 25:e.next=31;break;case 27:e.prev=27,e.t0=e.catch(9),(u=null===e.t0||void 0===e.t0?void 0:e.t0[0])&&"string"==typeof u&&(this.error=u);case 31:return e.prev=31,this.loading=!1,e.finish(31);case 34:case"end":return e.stop()}}),e,this,[[9,27,31,34]])}))),function(e){return t.apply(this,arguments)})},{key:"skip",value:function(){this.setStorage("skipped"),this.show=!1,this.playVideo.emit()}},{key:"render",value:function(){var e,t,r,n,i,a,o,l,s,c,u,p=this;if(this.show)return Object(m.d)("presto-email-overlay-ui",{direction:this.direction,class:"email-overlay",headline:null===(t=null===(e=this.preset)||void 0===e?void 0:e.email_collection)||void 0===t?void 0:t.headline,defaultHeadline:null===(r=null==this?void 0:this.i18n)||void 0===r?void 0:r.emailDefaultHeadline,bottomText:null===(i=null===(n=this.preset)||void 0===n?void 0:n.email_collection)||void 0===i?void 0:i.bottom_text,allowSkip:null===(o=null===(a=this.preset)||void 0===a?void 0:a.email_collection)||void 0===o?void 0:o.allow_skip,skipText:null===(l=null==this?void 0:this.i18n)||void 0===l?void 0:l.skip,buttonText:null===(c=null===(s=this.preset)||void 0===s?void 0:s.email_collection)||void 0===c?void 0:c.button_text,placeholder:null===(u=null==this?void 0:this.i18n)||void 0===u?void 0:u.emailPlaceholder,isLoading:this.loading,errorMessage:this.error,onSubmitForm:function(e){return p.submit(e)},onSkip:function(){return p.skip()}})}}],[{key:"watchers",get:function(){return{player:["handlePlayerInit"],duration:["handleDuration"],currentTime:["handleTime"]}}},{key:"style",get:function(){return":host{display:block}"}}]),u}(Object(d.a)(HTMLElement)),E=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),Object(m.b)(Object(s.a)(e)),e.submitForm=Object(m.c)(Object(s.a)(e),"submitForm",7),e.skip=Object(m.c)(Object(s.a)(e),"skip",7),e}return Object(l.a)(r,[{key:"handleSubmit",value:function(e){this.submitForm.emit({email:this.email}),e.preventDefault()}},{key:"componentDidLoad",value:function(){x(this.textInput,3,{maxFontSize:20,minFontSize:8})}},{key:"handleChange",value:function(e){this.email=e.target.value}},{key:"render",value:function(){var e=this;return Object(m.d)("div",{class:"overlay ".concat("rtl"===this.direction?"rtl":""),ref:function(t){return e.textInput=t}},Object(m.d)("div",{class:"content"},Object(m.d)("h1",null,this.headline||this.defaultHeadline),this.isLoading?Object(m.d)("presto-player-spinner",null):Object(m.d)("form",{onSubmit:function(t){return e.handleSubmit(t)}},Object(m.d)("input",{type:"email",placeholder:this.placeholder,value:this.email,onInput:function(t){return e.handleChange(t)},required:!0}),Object(m.d)("button",{type:"submit"},this.buttonText||"Play")),this.errorMessage&&Object(m.d)("p",{class:"error"},this.errorMessage),this.bottomText&&Object(m.d)("p",{innerHTML:this.bottomText}),!!this.allowSkip&&Object(m.d)("div",{class:"skip",onClick:function(){e.skip.emit()}},this.skipText||"Skip"," →")))}}],[{key:"style",get:function(){return':host{display:block;font-size:16px;width:100%;height:100%;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;z-index:99999}*{box-sizing:border-box}a{color:#fff}.overlay{position:relative;display:flex;align-items:center;text-align:center;justify-content:center;padding:48px;color:#fff;font-family:var(--plyr-font-family, "San Francisco", -apple-system, BlinkMacSystemFont, ".SFNSText-Regular", Avenir, "Avenir Next", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif);height:100%}.overlay:before{content:"";border-radius:var(--presto-player-border-radius, 0);opacity:var(--presto-player-email-background-opacity, 0.75);position:absolute;top:0;left:0;bottom:0;right:0;background-color:var(--presto-player-email-background, #000);z-index:-1;box-shadow:inset 0 0 100px black}.content{width:20em}form{display:flex;align-items:stretch;justify-content:center}input{background:#fff;border:none;font-size:0.8em;line-height:20px;padding:6px 8px;border-radius:0;border-width:1px;border-style:solid;border-color:transparent;border-radius:var(--presto-player-email-border-radius, 0) 0 0 var(--presto-player-email-border-radius);flex:1}@media screen and (min-width: 700px){input{padding:10px 14px}}input:focus{border-color:var(--plyr-color-main, #000);z-index:1}input:focus,input:hover{outline:none}.rtl input{border-radius:0 var(--presto-player-email-border-radius, 0) var(--presto-player-email-border-radius) 0}button{background:var(--plyr-color-main, #000);appearance:none;padding:6px 12px;align-items:center;display:inline-flex;border-width:1px;border-color:transparent;color:#fff;border-radius:0;cursor:pointer;font-size:0.8em;border-radius:0 var(--presto-player-email-border-radius, 0) var(--presto-player-email-border-radius) 0}@media screen and (min-width: 700px){button{padding:10px 18px}}button:focus{box-shadow:white 0px 0px 0px 2px, var(--plyr-color-main, #000) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;z-index:1}button:focus,button:hover{outline:none}.rtl button{border-radius:var(--presto-player-email-border-radius, 0) 0 0 var(--presto-player-email-border-radius)}h1{font-size:1.5em;font-weight:500;margin:0 0 22px 0;max-width:600px;line-height:1.1em}.skip{font-size:0.8em;font-weight:600;position:absolute;top:0;right:0;padding:4%;cursor:pointer}p{font-size:0.7em;margin:0;margin-top:1.5em}'}}]),r}(Object(d.a)(HTMLElement)),T=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),e.playVideo=Object(m.c)(Object(s.a)(e),"playVideo",7),e}return Object(l.a)(r,[{key:"render",value:function(){var e,t,r,n,i,a,o,l,s,c=this;return Object(m.d)("div",{class:"presto-player__muted-overlay",onClick:function(){c.mutedPreview=!1,c.playVideo.emit()}},(null===(e=this.preset)||void 0===e?void 0:e["play-large"])&&Object(m.d)("div",{class:"plyr__control plyr__control--overlaid","data-plyr":"play","aria-label":"Play",part:"muted-overlay-play"},Object(m.d)("svg",{id:"plyr-play",viewBox:"0 0 18 18"},Object(m.d)("path",{d:"M15.562 8.1L3.87.225c-.818-.562-1.87 0-1.87.9v15.75c0 .9 1.052 1.462 1.87.9L15.563 9.9c.584-.45.584-1.35 0-1.8z"})),Object(m.d)("span",{class:"plyr__sr-only"},"Play")),(null===(t=this.mutedOverlay)||void 0===t?void 0:t.enabled)&&(null===(r=this.mutedOverlay)||void 0===r?void 0:r.src)?Object(m.d)("div",{class:"presto-player__overlay is-image",part:"muted-overlay-image",style:{width:"".concat((null===(n=this.mutedOverlay)||void 0===n?void 0:n.width)||50,"%"),left:"".concat(100*((null===(a=null===(i=this.mutedOverlay)||void 0===i?void 0:i.focalPoint)||void 0===a?void 0:a.x)||.5),"%"),top:"".concat(100*((null===(l=null===(o=this.mutedOverlay)||void 0===o?void 0:o.focalPoint)||void 0===l?void 0:l.y)||.5),"%")}},Object(m.d)("img",{src:null===(s=this.mutedOverlay)||void 0===s?void 0:s.src,style:{transform:"translateX(-50%) translateY(-50%)"}})):"")}}],[{key:"style",get:function(){return":host{display:block}"}}]),r}(Object(d.a)(HTMLElement));function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){I(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function R(e){return(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})(e)}function C(e,t,r,n,i,a,o){try{var l=e[a](o),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,i)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D(e,t,r){return t&&N(e.prototype,t),r&&N(e,r),e}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,a=[],o=!0,l=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(l)throw i}}return a}(e,t)||F(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||F(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){if(e){if("string"==typeof e)return H(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(e,t):void 0}}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function V(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=F(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}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 a,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw a}}}}var B=["premium","referrerPolicy"];function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function U(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach((function(t){W(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var K={addCSS:!0,thumbWidth:15,watch:!0};function G(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}var X=function(e){return null!=e?e.constructor:null},J=function(e,t){return!!(e&&t&&e instanceof t)},$=function(e){return null==e},Z=function(e){return X(e)===Object},ee=function(e){return X(e)===String},te=function(e){return Array.isArray(e)},re=function(e){return J(e,NodeList)},ne=ee,ie=te,ae=re,oe=function(e){return J(e,Element)},le=function(e){return J(e,Event)},se=function(e){return $(e)||(ee(e)||te(e)||re(e))&&!e.length||Z(e)&&!Object.keys(e).length};function ce(e,t){if(1>t){var r=function(e){var t="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}(t);return parseFloat(e.toFixed(r))}return Math.round(e/t)*t}var ue,pe,de,he=function(){function e(t,r){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),oe(t)?this.element=t:ne(t)&&(this.element=document.querySelector(t)),oe(this.element)&&se(this.element.rangeTouch)&&(this.config=Q({},K,{},r),this.init())}return function(e,t,r){t&&U(e.prototype,t),r&&U(e,r)}(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,r=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(e){t.element[r](e,(function(e){return t.set(e)}),!1)}))}},{key:"get",value:function(t){if(!e.enabled||!le(t))return null;var r,n=t.target,i=t.changedTouches[0],a=parseFloat(n.getAttribute("min"))||0,o=parseFloat(n.getAttribute("max"))||100,l=parseFloat(n.getAttribute("step"))||1,s=n.getBoundingClientRect(),c=100/s.width*(this.config.thumbWidth/2)/100;return 0>(r=100/s.width*(i.clientX-s.left))?r=0:100<r&&(r=100),50>r?r-=(100-2*r)*c:50<r&&(r+=2*(r-50)*c),a+ce(r/100*(o-a),l)}},{key:"set",value:function(t){e.enabled&&le(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(e,t){if(e&&t){var r=new Event(t,{bubbles:!0});e.dispatchEvent(r)}}(t.target,"touchend"===t.type?"change":"input"))}}],[{key:"setup",value:function(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=null;if(se(t)||ne(t)?n=Array.from(document.querySelectorAll(ne(t)?t:'input[type="range"]')):oe(t)?n=[t]:ae(t)?n=Array.from(t):ie(t)&&(n=t.filter(oe)),se(n))return null;var i=Q({},K,{},r);if(ne(t)&&i.watch){var a=new MutationObserver((function(r){Array.from(r).forEach((function(r){Array.from(r.addedNodes).forEach((function(r){oe(r)&&G(r,t)&&new e(r,i)}))}))}));a.observe(document.body,{childList:!0,subtree:!0})}return n.map((function(t){return new e(t,r)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e}(),fe=function(e){return null!=e?e.constructor:null},me=function(e,t){return Boolean(e&&t&&e instanceof t)},ye=function(e){return null==e},ge=function(e){return fe(e)===Object},ve=function(e){return fe(e)===String},be=function(e){return fe(e)===Function},_e=function(e){return Array.isArray(e)},we=function(e){return me(e,NodeList)},ke=function(e){return ye(e)||(ve(e)||_e(e)||we(e))&&!e.length||ge(e)&&!Object.keys(e).length},xe=ye,Oe=ge,je=function(e){return fe(e)===Number&&!Number.isNaN(e)},Ee=ve,Te=function(e){return fe(e)===Boolean},Pe=be,Se=_e,Re=we,Ce=function(e){return null!==e&&"object"==R(e)&&1===e.nodeType&&"object"==R(e.style)&&"object"==R(e.ownerDocument)},Ae=function(e){return me(e,Event)},Ne=function(e){return me(e,KeyboardEvent)},De=function(e){return me(e,TextTrack)||!ye(e)&&ve(e.kind)},Ie=function(e){return me(e,Promise)&&be(e.then)},ze=function(e){if(me(e,window.URL))return!0;if(!ve(e))return!1;var t=e;e.startsWith("http://")&&e.startsWith("https://")||(t="http://".concat(e));try{return!ke(new URL(t).hostname)}catch(e){return!1}},Le=ke,Me=(ue=document.createElement("span"),pe={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},de=Object.keys(pe).find((function(e){return void 0!==ue.style[e]})),!!Ee(de)&&pe[de]);function Fe(e,t){setTimeout((function(){try{e.hidden=!0,e.hidden=!1}catch(e){}}),t)}var He={isIE:Boolean(window.document.documentMode),isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||/(iPad|iPhone|iPod)/gi.test(navigator.platform)};function Ve(e,t){return t.split(".").reduce((function(e,t){return e&&e[t]}),e)}function Be(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(!r.length)return e;var i=r.shift();return Oe(i)?(Object.keys(i).forEach((function(t){Oe(i[t])?(Object.keys(e).includes(t)||Object.assign(e,I({},t,{})),Be(e[t],i[t])):Object.assign(e,I({},t,i[t]))})),Be.apply(void 0,[e].concat(r))):e}function qe(e,t){var r=e.length?e:[e];Array.from(r).reverse().forEach((function(e,r){var n=r>0?t.cloneNode(!0):t,i=e.parentNode,a=e.nextSibling;n.appendChild(e),a?i.insertBefore(n,a):i.appendChild(n)}))}function Ue(e,t){Ce(e)&&!Le(t)&&Object.entries(t).filter((function(e){var t=L(e,2)[1];return!xe(t)})).forEach((function(t){var r=L(t,2),n=r[0],i=r[1];return e.setAttribute(n,i)}))}function We(e,t,r){var n=document.createElement(e);return Oe(t)&&Ue(n,t),Ee(r)&&(n.innerText=r),n}function Ye(e,t,r,n){Ce(t)&&t.appendChild(We(e,r,n))}function Qe(e){Re(e)||Se(e)?Array.from(e).forEach(Qe):Ce(e)&&Ce(e.parentNode)&&e.parentNode.removeChild(e)}function Ke(e){if(Ce(e))for(var t=e.childNodes.length;t>0;)e.removeChild(e.lastChild),t-=1}function Ge(e,t){return Ce(t)&&Ce(t.parentNode)&&Ce(e)?(t.parentNode.replaceChild(e,t),e):null}function Xe(e,t){if(!Ee(e)||Le(e))return{};var r={},n=Be({},t);return e.split(",").forEach((function(e){var t=e.trim(),i=t.replace(".",""),a=t.replace(/[[\]]/g,"").split("="),o=L(a,1)[0],l=a.length>1?a[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":Ee(n.class)?r.class="".concat(n.class," ").concat(i):r.class=i;break;case"#":r.id=t.replace("#","");break;case"[":r[o]=l}})),Be(n,r)}function Je(e,t){if(Ce(e)){var r=t;Te(r)||(r=!e.hidden),e.hidden=r}}function $e(e,t,r){if(Re(e))return Array.from(e).map((function(e){return $e(e,t,r)}));if(Ce(e)){var n="toggle";return void 0!==r&&(n=r?"add":"remove"),e.classList[n](t),e.classList.contains(t)}return!1}function Ze(e,t){return Ce(e)&&e.classList.contains(t)}function et(e,t){var r=Element.prototype;return(r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function tt(e){return this.elements.container.querySelectorAll(e)}function rt(e){return this.elements.container.querySelector(e)}function nt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Ce(e)&&(e.focus({preventScroll:!0}),t&&$e(e,this.config.classNames.tabFocus))}var it={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},at={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(e,t,r){var n=He.isIPhone&&r&&at.playsinline,i=at[e]||"html5"!==t;return{api:i,ui:i&&at.rangeInput&&("video"!==e||!He.isIPhone||n)}},pip:!(He.isIPhone||!Pe(We("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||We("video").disablePictureInPicture)),airplay:Pe(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(e){if(Le(e))return!1;var t=L(e.split("/"),1)[0],r=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(it).includes(r)&&(r+='; codecs="'.concat(it[e],'"'));try{return Boolean(r&&this.media.canPlayType(r).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:function(){var e=document.createElement("input");return e.type="range","range"===e.type}(),touch:"ontouchstart"in document.documentElement,transitions:!1!==Me,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},ot=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,null}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function lt(e,t,r){var n=this,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&"addEventListener"in e&&!Le(t)&&Pe(r)){var l=t.split(" "),s=o;ot&&(s={passive:a,capture:o}),l.forEach((function(t){n&&n.eventListeners&&i&&n.eventListeners.push({element:e,type:t,callback:r,options:s}),e[i?"addEventListener":"removeEventListener"](t,r,s)}))}}function st(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];lt.call(this,e,t,r,!0,n,i)}function ct(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];lt.call(this,e,t,r,!1,n,i)}function ut(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=function o(){for(var l=arguments.length,s=new Array(l),c=0;c<l;c++)s[c]=arguments[c];ct(e,r,o,i,a),n.apply(t,s)};lt.call(this,e,r,o,!0,i,a)}function pt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(Ce(e)&&!Le(t)){var i=new CustomEvent(t,{bubbles:r,detail:S(S({},n),{},{plyr:this})});e.dispatchEvent(i)}}function dt(){this&&this.eventListeners&&(this.eventListeners.forEach((function(e){var t=e.element,r=e.type,n=e.callback,i=e.options;t.removeEventListener(r,n,i)})),this.eventListeners=[])}function ht(){var e=this;return new Promise((function(t){return e.ready?setTimeout(t,0):st.call(e,e.elements.container,"ready",t)})).then((function(){}))}function ft(e){Ie(e)&&e.then(null,(function(){}))}function mt(e){return Se(e)?e.filter((function(t,r){return e.indexOf(t)===r})):e}function yt(e,t){return Se(e)&&e.length?e.reduce((function(e,r){return Math.abs(r-t)<Math.abs(e-t)?r:e})):null}function gt(e){return!(!window||!window.CSS)&&window.CSS.supports(e)}var vt=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce((function(e,t){var r=L(t,2),n=r[0],i=r[1];return S(S({},e),{},I({},n/i,[n,i]))}),{});function bt(e){return!!(Se(e)||Ee(e)&&e.includes(":"))&&(Se(e)?e:e.split(":")).map(Number).every(je)}function _t(e){if(!Se(e)||!e.every(je))return null;var t=L(e,2),r=t[0],n=t[1],i=function e(t,r){return 0===r?t:e(r,t%r)}(r,n);return[r/i,n/i]}function wt(e){var t=function(e){return bt(e)?e.split(":").map(Number):null},r=t(e);if(null===r&&(r=t(this.config.ratio)),null===r&&!Le(this.embed)&&Se(this.embed.ratio)&&(r=this.embed.ratio),null===r&&this.isHTML5){var n=this.media;r=[n.videoWidth,n.videoHeight]}return _t(r)}function kt(e){if(!this.isVideo)return{};var t=this.elements.wrapper,r=wt.call(this,e);if(!Se(r))return{};var n=L(_t(r),2),i=n[0],a=n[1],o=100/i*a;if(gt("aspect-ratio: ".concat(i,"/").concat(a))?t.style.aspectRatio="".concat(i,"/").concat(a):t.style.paddingBottom="".concat(o,"%"),this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){var l=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),s=(l-o)/(l/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform="translateY(-".concat(s,"%)")}else this.isHTML5&&t.classList.add(this.config.classNames.videoFixedRatio);return{padding:o,ratio:r}}function xt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.05,n=e/t,i=yt(Object.keys(vt),n);return Math.abs(i-n)<=r?vt[i]:[e,t]}var Ot={getSources:function(){var e=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter((function(t){var r=t.getAttribute("type");return!!Le(r)||at.mime.call(e,r)})):[]},getQualityOptions:function(){return this.config.quality.forced?this.config.quality.options:Ot.getSources.call(this).map((function(e){return Number(e.getAttribute("size"))})).filter(Boolean)},setup:function(){if(this.isHTML5){var e=this;e.options.speed=e.config.speed.options,Le(this.config.ratio)||kt.call(e),Object.defineProperty(e.media,"quality",{get:function(){var t=Ot.getSources.call(e).find((function(t){return t.getAttribute("src")===e.source}));return t&&Number(t.getAttribute("size"))},set:function(t){if(e.quality!==t){if(e.config.quality.forced&&Pe(e.config.quality.onChange))e.config.quality.onChange(t);else{var r=Ot.getSources.call(e).find((function(e){return Number(e.getAttribute("size"))===t}));if(!r)return;var n=e.media,i=n.currentTime,a=n.paused,o=n.preload,l=n.readyState,s=n.playbackRate;e.media.src=r.getAttribute("src"),("none"!==o||l)&&(e.once("loadedmetadata",(function(){e.speed=s,e.currentTime=i,a||ft(e.play())})),e.media.load())}pt.call(e,e.media,"qualitychange",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(Qe(Ot.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function jt(e){return"".concat(e,"-").concat(Math.floor(1e4*Math.random()))}function Et(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Le(e)?e:e.toString().replace(/{(\d+)}/g,(function(e,t){return r[t].toString()}))}var Tt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),r.toString())},Pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toString().replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))};function St(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.toString();return t=Tt(t,"-"," "),t=Tt(t,"_"," "),t=Pt(t),Tt(t," ","")}function Rt(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}var Ct={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},At=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Le(e)||Le(t))return"";var r=Ve(t.i18n,e);if(Le(r))return Object.keys(Ct).includes(e)?Ct[e]:"";var n={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(n).forEach((function(e){var t=L(e,2),n=t[0],i=t[1];r=Tt(r,n,i)})),r},Nt=function(){function e(t){var r=this;A(this,e),q(this,"get",(function(t){if(!e.supported||!r.enabled)return null;var n=window.localStorage.getItem(r.key);if(Le(n))return null;var i=JSON.parse(n);return Ee(t)&&t.length?i[t]:i})),q(this,"set",(function(t){if(e.supported&&r.enabled&&Oe(t)){var n=r.get();Le(n)&&(n={}),Be(n,t),window.localStorage.setItem(r.key,JSON.stringify(n))}})),this.enabled=t.config.storage.enabled,this.key=t.config.storage.key}return D(e,null,[{key:"supported",get:function(){try{if(!("localStorage"in window))return!1;var e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}]),e}();function Dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise((function(r,n){try{var i=new XMLHttpRequest;if(!("withCredentials"in i))return;i.addEventListener("load",(function(){if("text"===t)try{r(JSON.parse(i.responseText))}catch(e){r(i.responseText)}else r(i.response)})),i.addEventListener("error",(function(){throw new Error(i.status)})),i.open("GET",e,!0),i.responseType=t,i.send()}catch(e){n(e)}}))}function It(e,t){if(Ee(e)){var r=Ee(t),n=function(){return null!==document.getElementById(t)},i=function(e,t){e.innerHTML=t,r&&n()||document.body.insertAdjacentElement("afterbegin",e)};if(!r||!n()){var a=Nt.supported,o=document.createElement("div");if(o.setAttribute("hidden",""),r&&o.setAttribute("id",t),a){var l=window.localStorage.getItem("cache-".concat(t));if(null!==l){var s=JSON.parse(l);i(o,s.content)}}Dt(e).then((function(e){Le(e)||(a&&window.localStorage.setItem("cache-".concat(t),JSON.stringify({content:e})),i(o,e))})).catch((function(){}))}}}var zt=function(e){return Math.trunc(e/60/60%60,10)},Lt=function(e){return Math.trunc(e%60,10)};function Mt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!je(e))return Mt(void 0,t,r);var n,i=function(e){return"0".concat(e).slice(-2)},a=zt(e),o=(n=e,Math.trunc(n/60%60,10)),l=Lt(e);return a=t||a>0?"".concat(a,":"):"","".concat(r&&e>0?"-":"").concat(a).concat(i(o),":").concat(i(l))}var Ft={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location),t=window.location.host?window.location.host:window.top.location.host,r=e.host!==t||He.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:r}},findElements:function(){try{return this.elements.controls=rt.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:tt.call(this,this.config.selectors.buttons.play),pause:rt.call(this,this.config.selectors.buttons.pause),restart:rt.call(this,this.config.selectors.buttons.restart),rewind:rt.call(this,this.config.selectors.buttons.rewind),fastForward:rt.call(this,this.config.selectors.buttons.fastForward),mute:rt.call(this,this.config.selectors.buttons.mute),pip:rt.call(this,this.config.selectors.buttons.pip),airplay:rt.call(this,this.config.selectors.buttons.airplay),settings:rt.call(this,this.config.selectors.buttons.settings),captions:rt.call(this,this.config.selectors.buttons.captions),fullscreen:rt.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=rt.call(this,this.config.selectors.progress),this.elements.inputs={seek:rt.call(this,this.config.selectors.inputs.seek),volume:rt.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:rt.call(this,this.config.selectors.display.buffer),currentTime:rt.call(this,this.config.selectors.display.currentTime),duration:rt.call(this,this.config.selectors.display.duration)},Ce(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var r="http://www.w3.org/2000/svg",n=Ft.getIconUrl.call(this),i="".concat(n.cors?"":n.url,"#").concat(this.config.iconPrefix),a=document.createElementNS(r,"svg");Ue(a,Be(t,{"aria-hidden":"true",focusable:"false"}));var o=document.createElementNS(r,"use"),l="".concat(i,"-").concat(e);return"href"in o&&o.setAttributeNS("http://www.w3.org/1999/xlink","href",l),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l),a.appendChild(o),a},createLabel:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=At(e,this.config);return We("span",S(S({},t),{},{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),r)},createBadge:function(e){if(Le(e))return null;var t=We("span",{class:this.config.classNames.menu.value});return t.appendChild(We("span",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var r=this,n=Be({},t),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.toString();return(t=St(t)).charAt(0).toLowerCase()+t.slice(1)}(e),a={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach((function(e){Object.keys(n).includes(e)&&(a[e]=n[e],delete n[e])})),"button"!==a.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.split(" ").some((function(e){return e===r.config.classNames.control}))||Be(n,{class:"".concat(n.class," ").concat(this.config.classNames.control)}):n.class=this.config.classNames.control,e){case"play":a.toggle=!0,a.label="play",a.labelPressed="pause",a.icon="play",a.iconPressed="pause";break;case"mute":a.toggle=!0,a.label="mute",a.labelPressed="unmute",a.icon="volume",a.iconPressed="muted";break;case"captions":a.toggle=!0,a.label="enableCaptions",a.labelPressed="disableCaptions",a.icon="captions-off",a.iconPressed="captions-on";break;case"fullscreen":a.toggle=!0,a.label="enterFullscreen",a.labelPressed="exitFullscreen",a.icon="enter-fullscreen",a.iconPressed="exit-fullscreen";break;case"play-large":n.class+=" ".concat(this.config.classNames.control,"--overlaid"),i="play",a.label="play",a.icon="play";break;default:Le(a.label)&&(a.label=i),Le(a.icon)&&(a.icon=e)}var o=We(a.element);return a.toggle?(o.appendChild(Ft.createIcon.call(this,a.iconPressed,{class:"icon--pressed"})),o.appendChild(Ft.createIcon.call(this,a.icon,{class:"icon--not-pressed"})),o.appendChild(Ft.createLabel.call(this,a.labelPressed,{class:"label--pressed"})),o.appendChild(Ft.createLabel.call(this,a.label,{class:"label--not-pressed"}))):(o.appendChild(Ft.createIcon.call(this,a.icon)),o.appendChild(Ft.createLabel.call(this,a.label))),Be(n,Xe(this.config.selectors.buttons[i],n)),Ue(o,n),"play"===i?(Se(this.elements.buttons[i])||(this.elements.buttons[i]=[]),this.elements.buttons[i].push(o)):this.elements.buttons[i]=o,o},createRange:function(e,t){var r=We("input",Be(Xe(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":At(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=r,Ft.updateRangeFill.call(this,r),he.setup(r),r},createProgress:function(e,t){var r=We("progress",Be(Xe(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){r.appendChild(We("span",null,"0"));var n={played:"played",buffer:"buffered"}[e],i=n?At(n,this.config):"";r.innerText="% ".concat(i.toLowerCase())}return this.elements.display[e]=r,r},createTime:function(e,t){var r=Xe(this.config.selectors.display[e],t),n=We("div",Be(r,{class:"".concat(r.class?r.class:""," ").concat(this.config.classNames.display.time," ").trim(),"aria-label":At(e,this.config)}),"00:00");return this.elements.display[e]=n,n},bindMenuItemShortcuts:function(e,t){var r=this;st.call(this,e,"keydown keyup",(function(n){if([32,38,39,40].includes(n.which)&&(n.preventDefault(),n.stopPropagation(),"keydown"!==n.type)){var i,a=et(e,'[role="menuitemradio"]');if(!a&&[32,39].includes(n.which))Ft.showMenuPanel.call(r,t,!0);else 32!==n.which&&(40===n.which||a&&39===n.which?(i=e.nextElementSibling,Ce(i)||(i=e.parentNode.firstElementChild)):(i=e.previousElementSibling,Ce(i)||(i=e.parentNode.lastElementChild)),nt.call(r,i,!0))}}),!1),st.call(this,e,"keyup",(function(e){13===e.which&&Ft.focusFirstMenuItem.call(r,null,!0)}))},createMenuItem:function(e){var t=this,r=e.value,n=e.list,i=e.type,a=e.title,o=e.badge,l=void 0===o?null:o,s=e.checked,c=void 0!==s&&s,u=Xe(this.config.selectors.inputs[i]),p=We("button",Be(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:r})),d=We("span");d.innerHTML=a,Ce(l)&&d.appendChild(l),p.appendChild(d),Object.defineProperty(p,"checked",{enumerable:!0,get:function(){return"true"===p.getAttribute("aria-checked")},set:function(e){e&&Array.from(p.parentNode.children).filter((function(e){return et(e,'[role="menuitemradio"]')})).forEach((function(e){return e.setAttribute("aria-checked","false")})),p.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(p,"click keyup",(function(e){if(!Ne(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),p.checked=!0,i){case"language":t.currentTrack=Number(r);break;case"quality":t.quality=r;break;case"speed":t.speed=parseFloat(r)}Ft.showMenuPanel.call(t,"home",Ne(e))}}),i,!1),Ft.bindMenuItemShortcuts.call(this,p,i),n.appendChild(p)},formatTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return je(e)?Mt(e,zt(this.duration)>0,t):e},updateTimeDisplay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Ce(e)&&je(t)&&(e.innerText=Ft.formatTime(t,r))},updateVolume:function(){this.supported.ui&&(Ce(this.elements.inputs.volume)&&Ft.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),Ce(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Ce(e)&&(e.value=t,Ft.updateRangeFill.call(this,e))},updateProgress:function(e){var t=this;if(this.supported.ui&&Ae(e)){var r=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":r=function(e,t){return 0===e||0===t||Number.isNaN(e)||Number.isNaN(t)?0:(e/t*100).toFixed(2)}(this.currentTime,this.duration),"timeupdate"===e.type&&Ft.setRange.call(this,this.elements.inputs.seek,r);break;case"playing":case"progress":!function(e,r){var n=je(r)?r:0,i=Ce(e)?e:t.elements.display.buffer;if(Ce(i)){i.value=n;var a=i.getElementsByTagName("span")[0];Ce(a)&&(a.childNodes[0].nodeValue=n)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=Ae(e)?e.target:e;if(Ce(t)&&"range"===t.getAttribute("type")){if(et(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);var r=Ft.formatTime(this.currentTime),n=Ft.formatTime(this.duration),i=At("seekLabel",this.config);t.setAttribute("aria-valuetext",i.replace("{currentTime}",r).replace("{duration}",n))}else if(et(t,this.config.selectors.inputs.volume)){var a=100*t.value;t.setAttribute("aria-valuenow",a),t.setAttribute("aria-valuetext","".concat(a.toFixed(1),"%"))}else t.setAttribute("aria-valuenow",t.value);He.isWebkit&&t.style.setProperty("--value",t.value/t.max*100+"%")}},updateSeekTooltip:function(e){var t=this;if(this.config.tooltips.seek&&Ce(this.elements.inputs.seek)&&Ce(this.elements.display.seekTooltip)&&0!==this.duration){var r="".concat(this.config.classNames.tooltip,"--visible"),n=function(e){return $e(t.elements.display.seekTooltip,r,e)};if(this.touch)n(!1);else{var i=0,a=this.elements.progress.getBoundingClientRect();if(Ae(e))i=100/a.width*(e.pageX-a.left);else{if(!Ze(this.elements.display.seekTooltip,r))return;i=parseFloat(this.elements.display.seekTooltip.style.left,10)}i<0?i=0:i>100&&(i=100),Ft.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*i),this.elements.display.seekTooltip.style.left="".concat(i,"%"),Ae(e)&&["mouseenter","mouseleave"].includes(e.type)&&n("mouseenter"===e.type)}}},timeUpdate:function(e){var t=!Ce(this.elements.display.duration)&&this.config.invertTime;Ft.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||Ft.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return Je(this.elements.display.currentTime,!0),void Je(this.elements.progress,!0);Ce(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var e=Ce(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&Ft.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&Ft.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),Ft.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){Je(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,r){var n=this.elements.settings.panels[e],i=null,a=t;if("captions"===e)i=this.currentTrack;else{if(i=Le(r)?this[e]:r,Le(i)&&(i=this.config[e].default),!Le(this.options[e])&&!this.options[e].includes(i))return void this.debug.warn("Unsupported value of '".concat(i,"' for ").concat(e));if(!this.config[e].options.includes(i))return void this.debug.warn("Disabled value of '".concat(i,"' for ").concat(e))}if(Ce(a)||(a=n&&n.querySelector('[role="menu"]')),Ce(a)){this.elements.settings.buttons[e].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=Ft.getLabel.call(this,e,i);var o=a&&a.querySelector('[value="'.concat(i,'"]'));Ce(o)&&(o.checked=!0)}},getLabel:function(e,t){switch(e){case"speed":return 1===t?At("normal",this.config):"".concat(t,"&times;");case"quality":if(je(t)){if(0===t)return At("auto",this.config);var r=At("qualityLabel.".concat(t),this.config);return r.length?r:"".concat(t,"p")}return Pt(t);case"captions":return Bt.getLabel.call(this);default:return null}},setQualityMenu:function(e){var t=this;if(Ce(this.elements.settings.panels.quality)){var r="quality",n=this.elements.settings.panels.quality.querySelector('[role="menu"]');Se(e)&&(this.options.quality=mt(e).filter((function(e){return t.config.quality.options.includes(e)})));var i=!Le(this.options.quality)&&this.options.quality.length>1;if(Ft.toggleMenuButton.call(this,r,i),Ke(n),Ft.checkMenu.call(this),i){var a=function(e){var r=At("qualityBadge.".concat(e),t.config);return r.length?Ft.createBadge.call(t,r):null};this.options.quality.sort((function(e,r){var n=t.config.quality.options;return n.indexOf(e)>n.indexOf(r)?1:-1})).forEach((function(e){Ft.createMenuItem.call(t,{value:e,list:n,type:r,title:Ft.getLabel.call(t,"quality",e),badge:a(e)})})),Ft.updateSetting.call(this,r,n)}}},setCaptionsMenu:function(){var e=this;if(Ce(this.elements.settings.panels.captions)){var t="captions",r=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=Bt.getTracks.call(this),i=Boolean(n.length);if(Ft.toggleMenuButton.call(this,t,i),Ke(r),Ft.checkMenu.call(this),i){var a=n.map((function(t,n){return{value:n,checked:e.captions.toggled&&e.currentTrack===n,title:Bt.getLabel.call(e,t),badge:t.language&&Ft.createBadge.call(e,t.language.toUpperCase()),list:r,type:"language"}}));a.unshift({value:-1,checked:!this.captions.toggled,title:At("disabled",this.config),list:r,type:"language"}),a.forEach(Ft.createMenuItem.bind(this)),Ft.updateSetting.call(this,t,r)}}},setSpeedMenu:function(){var e=this;if(Ce(this.elements.settings.panels.speed)){var t="speed",r=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter((function(t){return t>=e.minimumSpeed&&t<=e.maximumSpeed}));var n=!Le(this.options.speed)&&this.options.speed.length>1;Ft.toggleMenuButton.call(this,t,n),Ke(r),Ft.checkMenu.call(this),n&&(this.options.speed.forEach((function(n){Ft.createMenuItem.call(e,{value:n,list:r,type:t,title:Ft.getLabel.call(e,"speed",n)})})),Ft.updateSetting.call(this,t,r))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!Le(e)&&Object.values(e).some((function(e){return!e.hidden}));Je(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var r=e;Ce(r)||(r=Object.values(this.elements.settings.panels).find((function(e){return!e.hidden})));var n=r.querySelector('[role^="menuitem"]');nt.call(this,n,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,r=this.elements.buttons.settings;if(Ce(t)&&Ce(r)){var n=t.hidden,i=n;if(Te(e))i=e;else if(Ne(e)&&27===e.which)i=!1;else if(Ae(e)){var a=Pe(e.composedPath)?e.composedPath()[0]:e.target,o=t.contains(a);if(o||!o&&e.target!==r&&i)return}r.setAttribute("aria-expanded",i),Je(t,!i),$e(this.elements.container,this.config.classNames.menu.open,i),i&&Ne(e)?Ft.focusFirstMenuItem.call(this,null,!0):i||n||nt.call(this,r,Ne(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);var r=t.scrollWidth,n=t.scrollHeight;return Qe(t),{width:r,height:n}},showMenuPanel:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.elements.container.querySelector("#plyr-settings-".concat(this.id,"-").concat(t));if(Ce(n)){var i=n.parentNode,a=Array.from(i.children).find((function(e){return!e.hidden}));if(at.transitions&&!at.reducedMotion){i.style.width="".concat(a.scrollWidth,"px"),i.style.height="".concat(a.scrollHeight,"px");var o=Ft.getMenuSize.call(this,n),l=function t(r){r.target===i&&["width","height"].includes(r.propertyName)&&(i.style.width="",i.style.height="",ct.call(e,i,Me,t))};st.call(this,i,Me,l),i.style.width="".concat(o.width,"px"),i.style.height="".concat(o.height,"px")}Je(a,!0),Je(n,!1),Ft.focusFirstMenuItem.call(this,n,r)}},setDownloadUrl:function(){var e=this.elements.buttons.download;Ce(e)&&e.setAttribute("href",this.download)},create:function(e){var t=this,r=Ft.bindMenuItemShortcuts,n=Ft.createButton,i=Ft.createProgress,a=Ft.createRange,o=Ft.createTime,l=Ft.setQualityMenu,s=Ft.setSpeedMenu,c=Ft.showMenuPanel;this.elements.controls=null,Se(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(n.call(this,"play-large"));var u=We("div",Xe(this.config.selectors.controls.wrapper));this.elements.controls=u;var p={class:"plyr__controls__item"};return mt(Se(this.config.controls)?this.config.controls:[]).forEach((function(l){if("restart"===l&&u.appendChild(n.call(t,"restart",p)),"rewind"===l&&u.appendChild(n.call(t,"rewind",p)),"play"===l&&u.appendChild(n.call(t,"play",p)),"fast-forward"===l&&u.appendChild(n.call(t,"fast-forward",p)),"progress"===l){var s=We("div",{class:"".concat(p.class," plyr__progress__container")}),d=We("div",Xe(t.config.selectors.progress));if(d.appendChild(a.call(t,"seek",{id:"plyr-seek-".concat(e.id)})),d.appendChild(i.call(t,"buffer")),t.config.tooltips.seek){var h=We("span",{class:t.config.classNames.tooltip},"00:00");d.appendChild(h),t.elements.display.seekTooltip=h}t.elements.progress=d,s.appendChild(t.elements.progress),u.appendChild(s)}if("current-time"===l&&u.appendChild(o.call(t,"currentTime",p)),"duration"===l&&u.appendChild(o.call(t,"duration",p)),"mute"===l||"volume"===l){var f=t.elements.volume;if(Ce(f)&&u.contains(f)||(f=We("div",Be({},p,{class:"".concat(p.class," plyr__volume").trim()})),t.elements.volume=f,u.appendChild(f)),"mute"===l&&f.appendChild(n.call(t,"mute")),"volume"===l&&!He.isIos){var m={max:1,step:.05,value:t.config.volume};f.appendChild(a.call(t,"volume",Be(m,{id:"plyr-volume-".concat(e.id)})))}}if("captions"===l&&u.appendChild(n.call(t,"captions",p)),"settings"===l&&!Le(t.config.settings)){var y=We("div",Be({},p,{class:"".concat(p.class," plyr__menu").trim(),hidden:""}));y.appendChild(n.call(t,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(e.id),"aria-expanded":!1}));var g=We("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(e.id),hidden:""}),v=We("div"),b=We("div",{id:"plyr-settings-".concat(e.id,"-home")}),_=We("div",{role:"menu"});b.appendChild(_),v.appendChild(b),t.elements.settings.panels.home=b,t.config.settings.forEach((function(n){var i=We("button",Be(Xe(t.config.selectors.buttons.settings),{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));r.call(t,i,n),st.call(t,i,"click",(function(){c.call(t,n,!1)}));var a=We("span",null,At(n,t.config)),o=We("span",{class:t.config.classNames.menu.value});o.innerHTML=e[n],a.appendChild(o),i.appendChild(a),_.appendChild(i);var l=We("div",{id:"plyr-settings-".concat(e.id,"-").concat(n),hidden:""}),s=We("button",{type:"button",class:"".concat(t.config.classNames.control," ").concat(t.config.classNames.control,"--back")});s.appendChild(We("span",{"aria-hidden":!0},At(n,t.config))),s.appendChild(We("span",{class:t.config.classNames.hidden},At("menuBack",t.config))),st.call(t,l,"keydown",(function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),c.call(t,"home",!0))}),!1),st.call(t,s,"click",(function(){c.call(t,"home",!1)})),l.appendChild(s),l.appendChild(We("div",{role:"menu"})),v.appendChild(l),t.elements.settings.buttons[n]=i,t.elements.settings.panels[n]=l})),g.appendChild(v),y.appendChild(g),u.appendChild(y),t.elements.settings.popup=g,t.elements.settings.menu=y}if("pip"===l&&at.pip&&u.appendChild(n.call(t,"pip",p)),"airplay"===l&&at.airplay&&u.appendChild(n.call(t,"airplay",p)),"download"===l){var w=Be({},p,{element:"a",href:t.download,target:"_blank"});t.isHTML5&&(w.download="");var k=t.config.urls.download;!ze(k)&&t.isEmbed&&Be(w,{icon:"logo-".concat(t.provider),label:t.provider}),u.appendChild(n.call(t,"download",w))}"fullscreen"===l&&u.appendChild(n.call(t,"fullscreen",p))})),this.isHTML5&&l.call(this,Ot.getQualityOptions.call(this)),s.call(this),u},inject:function(){var e=this;if(this.config.loadSprite){var t=Ft.getIconUrl.call(this);t.cors&&It(t.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var r=null;this.elements.controls=null;var n,i={id:this.id,seektime:this.config.seekTime,title:this.config.title},a=!0;if(Pe(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),Ce(this.config.controls)||Ee(this.config.controls)?r=this.config.controls:(r=Ft.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:Bt.getLabel.call(this)}),a=!1),a&&Ee(this.config.controls)&&(r=function(e){var t=e;return Object.entries(i).forEach((function(e){var r=L(e,2),n=r[0],i=r[1];t=Tt(t,"{".concat(n,"}"),i)})),t}(r)),Ee(this.config.selectors.controls.container)&&(n=document.querySelector(this.config.selectors.controls.container)),Ce(n)||(n=this.elements.container),n[Ce(r)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",r),Ce(this.elements.controls)||Ft.findElements.call(this),!Le(this.elements.buttons)){var o=function(t){var r=e.config.classNames.controlPressed;Object.defineProperty(t,"pressed",{enumerable:!0,get:function(){return Ze(t,r)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];$e(t,r,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach((function(e){Se(e)||Re(e)?Array.from(e).filter(Boolean).forEach(o):o(e)}))}if(He.isEdge&&Fe(n),this.config.tooltips.controls){var l=this.config,s=l.classNames,c=l.selectors,u="".concat(c.controls.wrapper," ").concat(c.labels," .").concat(s.hidden),p=tt.call(this,u);Array.from(p).forEach((function(t){$e(t,e.config.classNames.hidden,!1),$e(t,e.config.classNames.tooltip,!0)}))}}};function Ht(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e;if(t){var n=document.createElement("a");n.href=r,r=n.href}try{return new URL(r)}catch(e){return null}}function Vt(e){var t=new URLSearchParams;return Oe(e)&&Object.entries(e).forEach((function(e){var r=L(e,2),n=r[0],i=r[1];t.set(n,i)})),t}var Bt={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!at.textTracks)Se(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&Ft.setCaptionsMenu.call(this);else{if(Ce(this.elements.captions)||(this.elements.captions=We("div",Xe(this.config.selectors.captions)),function(e,t){Ce(e)&&Ce(t)&&t.parentNode.insertBefore(e,t.nextSibling)}(this.elements.captions,this.elements.wrapper)),He.isIE&&window.URL){var e=this.media.querySelectorAll("track");Array.from(e).forEach((function(e){var t=e.getAttribute("src"),r=Ht(t);null!==r&&r.hostname!==window.location.href.hostname&&["http:","https:"].includes(r.protocol)&&Dt(t,"blob").then((function(t){e.setAttribute("src",window.URL.createObjectURL(t))})).catch((function(){Qe(e)}))}))}var t=mt((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map((function(e){return e.split("-")[0]}))),r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===r&&(r=L(t,1)[0]);var n=this.storage.get("captions");if(Te(n)||(n=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:n,language:r,languages:t}),this.isHTML5){var i=this.config.captions.update?"addtrack removetrack":"removetrack";st.call(this,this.media.textTracks,i,Bt.update.bind(this))}setTimeout(Bt.update.bind(this),0)}},update:function(){var e=this,t=Bt.getTracks.call(this,!0),r=this.captions,n=r.active,i=r.language,a=r.meta,o=r.currentTrackNode,l=Boolean(t.find((function(e){return e.language===i})));this.isHTML5&&this.isVideo&&t.filter((function(e){return!a.get(e)})).forEach((function(t){e.debug.log("Track added",t),a.set(t,{default:"showing"===t.mode}),"showing"===t.mode&&(t.mode="hidden"),st.call(e,t,"cuechange",(function(){return Bt.updateCues.call(e)}))})),(l&&this.language!==i||!t.includes(o))&&(Bt.setLanguage.call(this,i),Bt.toggle.call(this,n&&l)),$e(this.elements.container,this.config.classNames.captions.enabled,!Le(t)),Se(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&Ft.setCaptionsMenu.call(this)},toggle:function(e){var t=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,i=this.config.classNames.captions.active,a=xe(e)?!n:e;if(a!==n){if(r||(this.captions.active=a,this.storage.set({captions:a})),!this.language&&a&&!r){var o=Bt.getTracks.call(this),l=Bt.findTrack.call(this,[this.captions.language].concat(M(this.captions.languages)),!0);return this.captions.language=l.language,void Bt.set.call(this,o.indexOf(l))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=a),$e(this.elements.container,i,a),this.captions.toggled=a,Ft.updateSetting.call(this,"captions"),pt.call(this,this.media,a?"captionsenabled":"captionsdisabled")}setTimeout((function(){a&&t.captions.toggled&&t.captions.currentTrackNode&&(t.captions.currentTrackNode.mode="hidden")}))}},set:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Bt.getTracks.call(this);if(-1!==e)if(je(e))if(e in r){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;var n=r[e],i=n||{},a=i.language;this.captions.currentTrackNode=n,Ft.updateSetting.call(this,"captions"),t||(this.captions.language=a,this.storage.set({language:a})),this.isVimeo&&this.embed.enableTextTrack(a),pt.call(this,this.media,"languagechange")}Bt.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&Bt.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else Bt.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(Ee(e)){var r=e.toLowerCase();this.captions.language=r;var n=Bt.getTracks.call(this),i=Bt.findTrack.call(this,[r]);Bt.set.call(this,n.indexOf(i),t)}else this.debug.warn("Invalid language argument",e)},getTracks:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter((function(r){return!e.isHTML5||t||e.captions.meta.has(r)})).filter((function(e){return["captions","subtitles"].includes(e.kind)}))},findTrack:function(e){var t,r=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=Bt.getTracks.call(this),a=function(e){return Number((r.captions.meta.get(e)||{}).default)},o=Array.from(i).sort((function(e,t){return a(t)-a(e)}));return e.every((function(e){return!(t=o.find((function(t){return t.language===e})))})),t||(n?o[0]:void 0)},getCurrentTrack:function(){return Bt.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!De(t)&&at.textTracks&&this.captions.toggled&&(t=Bt.getCurrentTrack.call(this)),De(t)?Le(t.label)?Le(t.language)?At("enabled",this.config):e.language.toUpperCase():t.label:At("disabled",this.config)},updateCues:function(e){if(this.supported.ui)if(Ce(this.elements.captions))if(xe(e)||Array.isArray(e)){var t=e;if(!t){var r=Bt.getCurrentTrack.call(this);t=Array.from((r||{}).activeCues||[]).map((function(e){return e.getCueAsHTML()})).map(Rt)}var n=t.map((function(e){return e.trim()})).join("\n");if(n!==this.elements.captions.innerHTML){Ke(this.elements.captions);var i=We("span",Xe(this.config.selectors.caption));i.innerHTML=n,this.elements.captions.appendChild(i),pt.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",e);else this.debug.warn("No captions element to render to")}},qt={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.6.8/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"},auto:"AUTO"},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1}},Ut="picture-in-picture",Wt="inline",Yt={html5:"html5",youtube:"youtube",vimeo:"vimeo"},Qt="audio",Kt="video";var Gt=function(){},Xt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A(this,e),this.enabled=window.console&&t,this.enabled&&this.log("Debugging enabled")}return D(e,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):Gt}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):Gt}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):Gt}}]),e}(),Jt=function(){function e(t){var r=this;A(this,e),q(this,"onChange",(function(){if(r.enabled){var e=r.player.elements.buttons.fullscreen;Ce(e)&&(e.pressed=r.active);var t=r.target===r.player.media?r.target:r.player.elements.container;pt.call(r.player,t,r.active?"enterfullscreen":"exitfullscreen",!0)}})),q(this,"toggleFallback",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e?r.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(r.scrollPosition.x,r.scrollPosition.y),document.body.style.overflow=e?"hidden":"",$e(r.target,r.player.config.classNames.fullscreen.fallback,e),He.isIos){var t=document.head.querySelector('meta[name="viewport"]'),n="viewport-fit=cover";t||(t=document.createElement("meta")).setAttribute("name","viewport");var i=Ee(t.content)&&t.content.includes(n);e?(r.cleanupViewport=!i,i||(t.content+=",".concat(n))):r.cleanupViewport&&(t.content=t.content.split(",").filter((function(e){return e.trim()!==n})).join(","))}r.onChange()})),q(this,"trapFocus",(function(e){if(!He.isIos&&r.active&&"Tab"===e.key&&9===e.keyCode){var t=document.activeElement,n=tt.call(r.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),i=L(n,1)[0],a=n[n.length-1];t!==a||e.shiftKey?t===i&&e.shiftKey&&(a.focus(),e.preventDefault()):(i.focus(),e.preventDefault())}})),q(this,"update",(function(){var t;r.enabled?(t=r.forceFallback?"Fallback (forced)":e.native?"Native":"Fallback",r.player.debug.log("".concat(t," fullscreen enabled"))):r.player.debug.log("Fullscreen not supported and fallback disabled");$e(r.player.elements.container,r.player.config.classNames.fullscreen.enabled,r.enabled)})),q(this,"enter",(function(){r.enabled&&(He.isIos&&r.player.config.fullscreen.iosNative?r.player.isVimeo?r.player.embed.requestFullscreen():r.target.webkitEnterFullscreen():!e.native||r.forceFallback?r.toggleFallback(!0):r.prefix?Le(r.prefix)||r.target["".concat(r.prefix,"Request").concat(r.property)]():r.target.requestFullscreen({navigationUI:"hide"}))})),q(this,"exit",(function(){if(r.enabled)if(He.isIos&&r.player.config.fullscreen.iosNative)r.target.webkitExitFullscreen(),ft(r.player.play());else if(!e.native||r.forceFallback)r.toggleFallback(!1);else if(r.prefix){if(!Le(r.prefix)){var t="moz"===r.prefix?"Cancel":"Exit";document["".concat(r.prefix).concat(t).concat(r.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)})),q(this,"toggle",(function(){r.active?r.exit():r.enter()})),this.player=t,this.prefix=e.prefix,this.property=e.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===t.config.fullscreen.fallback,this.player.elements.fullscreen=t.config.fullscreen.container&&function(e,t){return(Element.prototype.closest||function(){var e=this;do{if(et.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,t.config.fullscreen.container),st.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),(function(){r.onChange()})),st.call(this.player,this.player.elements.container,"dblclick",(function(e){Ce(r.player.elements.controls)&&r.player.elements.controls.contains(e.target)||r.player.listeners.proxy(e,r.toggle,"fullscreen")})),st.call(this,this.player.elements.container,"keydown",(function(e){return r.trapFocus(e)})),this.update()}return D(e,[{key:"usingNative",get:function(){return e.native&&!this.forceFallback}},{key:"enabled",get:function(){return(e.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){if(!this.enabled)return!1;if(!e.native||this.forceFallback)return Ze(this.target,this.player.config.classNames.fullscreen.fallback);var t=this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement;return t&&t.shadowRoot?t===this.target.getRootNode().host:t===this.target}},{key:"target",get:function(){return He.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(Pe(document.exitFullscreen))return"";var e="";return["webkit","moz","ms"].some((function(t){return!(!Pe(document["".concat(t,"ExitFullscreen")])&&!Pe(document["".concat(t,"CancelFullScreen")])||(e=t,0))})),e}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),e}();function $t(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise((function(r,n){var i=new Image,a=function(){delete i.onload,delete i.onerror,(i.naturalWidth>=t?r:n)(i)};Object.assign(i,{onload:a,onerror:a,src:e})}))}var Zt={addStyleHook:function(){$e(this.elements.container,this.config.selectors.container.replace(".",""),!0),$e(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void Zt.toggleNativeControls.call(this,!0);Ce(this.elements.controls)||(Ft.inject.call(this),this.listeners.controls()),Zt.toggleNativeControls.call(this),this.isHTML5&&Bt.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,Ft.updateVolume.call(this),Ft.timeUpdate.call(this),Zt.checkPlaying.call(this),$e(this.elements.container,this.config.classNames.pip.supported,at.pip&&this.isHTML5&&this.isVideo),$e(this.elements.container,this.config.classNames.airplay.supported,at.airplay&&this.isHTML5),$e(this.elements.container,this.config.classNames.isIos,He.isIos),$e(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((function(){pt.call(e,e.media,"ready")}),0),Zt.setTitle.call(this),this.poster&&Zt.setPoster.call(this,this.poster,!1).catch((function(){})),this.config.duration&&Ft.durationUpdate.call(this)},setTitle:function(){var e=At("play",this.config);if(Ee(this.config.title)&&!Le(this.config.title)&&(e+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach((function(t){t.setAttribute("aria-label",e)})),this.isEmbed){var t=rt.call(this,"iframe");if(!Ce(t))return;var r=Le(this.config.title)?"video":this.config.title,n=At("frameTitle",this.config);t.setAttribute("title",n.replace("{title}",r))}},togglePoster:function(e){$e(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(e){var t=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return r&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),ht.call(this).then((function(){return $t(e)})).catch((function(r){throw e===t.poster&&Zt.togglePoster.call(t,!1),r})).then((function(){if(e!==t.poster)throw new Error("setPoster cancelled by later call to setPoster")})).then((function(){return Object.assign(t.elements.poster.style,{backgroundImage:"url('".concat(e,"')"),backgroundSize:""}),Zt.togglePoster.call(t,!0),e})))},checkPlaying:function(e){var t=this;$e(this.elements.container,this.config.classNames.playing,this.playing),$e(this.elements.container,this.config.classNames.paused,this.paused),$e(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((function(e){Object.assign(e,{pressed:t.playing}),e.setAttribute("aria-label",At(t.playing?"pause":"play",t.config))})),Ae(e)&&"timeupdate"===e.type||Zt.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((function(){$e(t.elements.container,t.config.classNames.loading,t.loading),Zt.toggleControls.call(t)}),this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var r=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||r))}},migrateStyles:function(){var e=this;Object.values(S({},this.media.style)).filter((function(e){return!Le(e)&&Ee(e)&&e.startsWith("--plyr")})).forEach((function(t){e.elements.container.style.setProperty(t,e.media.style.getPropertyValue(t)),e.media.style.removeProperty(t)})),Le(this.media.style)&&this.media.removeAttribute("style")}},er=function(){function e(t){var r=this;A(this,e),q(this,"firstTouch",(function(){var e=r.player,t=e.elements;e.touch=!0,$e(t.container,e.config.classNames.isTouch,!0)})),q(this,"setTabFocus",(function(e){var t=r.player,n=t.elements;if(clearTimeout(r.focusTimer),"keydown"!==e.type||9===e.which){"keydown"===e.type&&(r.lastKeyDown=e.timeStamp);var i=e.timeStamp-r.lastKeyDown<=20;("focus"!==e.type||i)&&(function(){var e=t.config.classNames.tabFocus;$e(tt.call(t,".".concat(e)),e,!1)}(),"focusout"!==e.type&&(r.focusTimer=setTimeout((function(){var e=document.activeElement;n.container.contains(e)&&$e(document.activeElement,t.config.classNames.tabFocus,!0)}),10)))}})),q(this,"global",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=r.player;t.config.keyboard.global&&lt.call(t,window,"keydown keyup",r.handleKey,e,!1),lt.call(t,document.body,"click",r.toggleMenu,e),ut.call(t,document.body,"touchstart",r.firstTouch),lt.call(t,document.body,"keydown focus blur focusout",r.setTabFocus,e,!1,!0)})),q(this,"container",(function(){var e=r.player,t=e.config,n=e.elements,i=e.timers;!t.keyboard.global&&t.keyboard.focused&&st.call(e,n.container,"keydown keyup",r.handleKey,!1),st.call(e,n.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",(function(t){var r=n.controls;r&&"enterfullscreen"===t.type&&(r.pressed=!1,r.hover=!1);var a=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(Zt.toggleControls.call(e,!0),a=e.touch?3e3:2e3),clearTimeout(i.controls),i.controls=setTimeout((function(){return Zt.toggleControls.call(e,!1)}),a)}));var a=function(){if(e.isVimeo&&!e.config.vimeo.premium){var t=n.wrapper,r=e.fullscreen.active,i=L(wt.call(e),2),a=i[0],o=i[1],l=gt("aspect-ratio: ".concat(a," / ").concat(o));if(r){var s=L([Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)],2),c=s[0],u=s[1],p=c/u>a/o;l?(t.style.width=p?"auto":"100%",t.style.height=p?"100%":"auto"):(t.style.maxWidth=p?u/o*a+"px":null,t.style.margin=p?"0 auto":null)}else l?(t.style.width=null,t.style.height=null):(t.style.maxWidth=null,t.style.margin=null)}},o=function(){clearTimeout(i.resized),i.resized=setTimeout(a,50)};st.call(e,n.container,"enterfullscreen exitfullscreen",(function(t){e.fullscreen.target===n.container&&(!e.isEmbed&&Le(e.config.ratio)||(a(),("enterfullscreen"===t.type?st:ct).call(e,window,"resize",o)))}))})),q(this,"media",(function(){var e=r.player,t=e.elements;if(st.call(e,e.media,"timeupdate seeking seeked",(function(t){return Ft.timeUpdate.call(e,t)})),st.call(e,e.media,"durationchange loadeddata loadedmetadata",(function(t){return Ft.durationUpdate.call(e,t)})),st.call(e,e.media,"ended",(function(){e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&(e.restart(),e.pause())})),st.call(e,e.media,"progress playing seeking seeked",(function(t){return Ft.updateProgress.call(e,t)})),st.call(e,e.media,"volumechange",(function(t){return Ft.updateVolume.call(e,t)})),st.call(e,e.media,"playing play pause ended emptied timeupdate",(function(t){return Zt.checkPlaying.call(e,t)})),st.call(e,e.media,"waiting canplay seeked playing",(function(t){return Zt.checkLoading.call(e,t)})),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){var n=rt.call(e,".".concat(e.config.classNames.video));if(!Ce(n))return;st.call(e,t.container,"click",(function(i){([t.container,n].includes(i.target)||n.contains(i.target))&&(e.touch&&e.config.hideControls||(e.ended?(r.proxy(i,e.restart,"restart"),r.proxy(i,(function(){ft(e.play())}),"play")):r.proxy(i,(function(){ft(e.togglePlay())}),"play")))}))}e.supported.ui&&e.config.disableContextMenu&&st.call(e,t.wrapper,"contextmenu",(function(e){e.preventDefault()}),!1),st.call(e,e.media,"volumechange",(function(){e.storage.set({volume:e.volume,muted:e.muted})})),st.call(e,e.media,"ratechange",(function(){Ft.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})})),st.call(e,e.media,"qualitychange",(function(t){Ft.updateSetting.call(e,"quality",null,t.detail.quality)})),st.call(e,e.media,"ready qualitychange",(function(){Ft.setDownloadUrl.call(e)}));var i=e.config.events.concat(["keyup","keydown"]).join(" ");st.call(e,e.media,i,(function(r){var n=r.detail,i=void 0===n?{}:n;"error"===r.type&&(i=e.media.error),pt.call(e,t.container,r.type,!0,i)}))})),q(this,"proxy",(function(e,t,n){var i=r.player,a=i.config.listeners[n],o=!0;Pe(a)&&(o=a.call(i,e)),!1!==o&&Pe(t)&&t.call(i,e)})),q(this,"bind",(function(e,t,n,i){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=r.player,l=o.config.listeners[i],s=Pe(l);st.call(o,e,t,(function(e){return r.proxy(e,n,i)}),a&&!s)})),q(this,"controls",(function(){var e=r.player,t=e.elements,n=He.isIE?"change":"input";if(t.buttons.play&&Array.from(t.buttons.play).forEach((function(t){r.bind(t,"click",(function(){ft(e.togglePlay())}),"play")})),r.bind(t.buttons.restart,"click",e.restart,"restart"),r.bind(t.buttons.rewind,"click",(function(){e.lastSeekTime=Date.now(),e.rewind()}),"rewind"),r.bind(t.buttons.fastForward,"click",(function(){e.lastSeekTime=Date.now(),e.forward()}),"fastForward"),r.bind(t.buttons.mute,"click",(function(){e.muted=!e.muted}),"mute"),r.bind(t.buttons.captions,"click",(function(){return e.toggleCaptions()})),r.bind(t.buttons.download,"click",(function(){pt.call(e,e.media,"download")}),"download"),r.bind(t.buttons.fullscreen,"click",(function(){e.fullscreen.toggle()}),"fullscreen"),r.bind(t.buttons.pip,"click",(function(){e.pip="toggle"}),"pip"),r.bind(t.buttons.airplay,"click",e.airplay,"airplay"),r.bind(t.buttons.settings,"click",(function(t){t.stopPropagation(),t.preventDefault(),Ft.toggleMenu.call(e,t)}),null,!1),r.bind(t.buttons.settings,"keyup",(function(t){var r=t.which;[13,32].includes(r)&&(13!==r?(t.preventDefault(),t.stopPropagation(),Ft.toggleMenu.call(e,t)):Ft.focusFirstMenuItem.call(e,null,!0))}),null,!1),r.bind(t.settings.menu,"keydown",(function(t){27===t.which&&Ft.toggleMenu.call(e,t)})),r.bind(t.inputs.seek,"mousedown mousemove",(function(e){var r=t.progress.getBoundingClientRect(),n=100/r.width*(e.pageX-r.left);e.currentTarget.setAttribute("seek-value",n)})),r.bind(t.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",(function(t){var r=t.currentTarget,n=t.keyCode?t.keyCode:t.which,i="play-on-seeked";if(!Ne(t)||39===n||37===n){e.lastSeekTime=Date.now();var a=r.hasAttribute(i),o=["mouseup","touchend","keyup"].includes(t.type);a&&o?(r.removeAttribute(i),ft(e.play())):!o&&e.playing&&(r.setAttribute(i,""),e.pause())}})),He.isIos){var i=tt.call(e,'input[type="range"]');Array.from(i).forEach((function(e){return r.bind(e,n,(function(e){return Fe(e.target)}))}))}r.bind(t.inputs.seek,n,(function(t){var r=t.currentTarget,n=r.getAttribute("seek-value");Le(n)&&(n=r.value),r.removeAttribute("seek-value"),e.currentTime=n/r.max*e.duration}),"seek"),r.bind(t.progress,"mouseenter mouseleave mousemove",(function(t){return Ft.updateSeekTooltip.call(e,t)})),r.bind(t.progress,"mousemove touchmove",(function(t){var r=e.previewThumbnails;r&&r.loaded&&r.startMove(t)})),r.bind(t.progress,"mouseleave touchend click",(function(){var t=e.previewThumbnails;t&&t.loaded&&t.endMove(!1,!0)})),r.bind(t.progress,"mousedown touchstart",(function(t){var r=e.previewThumbnails;r&&r.loaded&&r.startScrubbing(t)})),r.bind(t.progress,"mouseup touchend",(function(t){var r=e.previewThumbnails;r&&r.loaded&&r.endScrubbing(t)})),He.isWebkit&&Array.from(tt.call(e,'input[type="range"]')).forEach((function(t){r.bind(t,"input",(function(t){return Ft.updateRangeFill.call(e,t.target)}))})),e.config.toggleInvert&&!Ce(t.display.duration)&&r.bind(t.display.currentTime,"click",(function(){0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,Ft.timeUpdate.call(e))})),r.bind(t.inputs.volume,n,(function(t){e.volume=t.target.value}),"volume"),r.bind(t.controls,"mouseenter mouseleave",(function(r){t.controls.hover=!e.touch&&"mouseenter"===r.type})),t.fullscreen&&Array.from(t.fullscreen.children).filter((function(e){return!e.contains(t.container)})).forEach((function(n){r.bind(n,"mouseenter mouseleave",(function(r){t.controls.hover=!e.touch&&"mouseenter"===r.type}))})),r.bind(t.controls,"mousedown mouseup touchstart touchend touchcancel",(function(e){t.controls.pressed=["mousedown","touchstart"].includes(e.type)})),r.bind(t.controls,"focusin",(function(){var n=e.config,i=e.timers;$e(t.controls,n.classNames.noTransition,!0),Zt.toggleControls.call(e,!0),setTimeout((function(){$e(t.controls,n.classNames.noTransition,!1)}),0);var a=r.touch?3e3:4e3;clearTimeout(i.controls),i.controls=setTimeout((function(){return Zt.toggleControls.call(e,!1)}),a)})),r.bind(t.inputs.volume,"wheel",(function(t){var r=t.webkitDirectionInvertedFromDevice,n=L([t.deltaX,-t.deltaY].map((function(e){return r?-e:e})),2),i=n[0],a=n[1],o=Math.sign(Math.abs(i)>Math.abs(a)?i:a);e.increaseVolume(o/50);var l=e.media.volume;(1===o&&l<1||-1===o&&l>0)&&t.preventDefault()}),"volume",!1)})),this.player=t,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return D(e,[{key:"handleKey",value:function(e){var t=this.player,r=t.elements,n=e.keyCode?e.keyCode:e.which,i="keydown"===e.type,a=i&&n===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&je(n))if(i){var o=document.activeElement;if(Ce(o)){var l=t.config.selectors.editable;if(o!==r.inputs.seek&&et(o,l))return;if(32===e.which&&et(o,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(n)&&(e.preventDefault(),e.stopPropagation()),n){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:a||(t.currentTime=t.duration/10*(n-48));break;case 32:case 75:a||ft(t.togglePlay());break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:a||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:a||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===n&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=n}else this.lastKey=null}},{key:"toggleMenu",value:function(e){Ft.toggleMenu.call(this.player,e)}}]),e}();var tr=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){e.exports=function(){var e=function(){},t={},r={},n={};function i(e,t){if(e){var i=n[e];if(r[e]=t,i)for(;i.length;)i[0](e,t),i.splice(0,1)}}function a(t,r){t.call&&(t={success:t}),r.length?(t.error||e)(r):(t.success||e)(t)}function o(t,r,n,i){var a,l,s=document,c=n.async,u=(n.numRetries||0)+1,p=n.before||e,d=t.replace(/[\?|#].*$/,""),h=t.replace(/^(css|img)!/,"");i=i||0,/(^css!|\.css$)/.test(d)?((l=s.createElement("link")).rel="stylesheet",l.href=h,(a="hideFocus"in l)&&l.relList&&(a=0,l.rel="preload",l.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(d)?(l=s.createElement("img")).src=h:((l=s.createElement("script")).src=t,l.async=void 0===c||c),l.onload=l.onerror=l.onbeforeload=function(e){var s=e.type[0];if(a)try{l.sheet.cssText.length||(s="e")}catch(e){18!=e.code&&(s="e")}if("e"==s){if((i+=1)<u)return o(t,r,n,i)}else if("preload"==l.rel&&"style"==l.as)return l.rel="stylesheet";r(t,s,e.defaultPrevented)},!1!==p(t,l)&&s.head.appendChild(l)}function l(e,t,r){var n,i,a=(e=e.push?e:[e]).length,l=a,s=[];for(n=function(e,r,n){if("e"==r&&s.push(e),"b"==r){if(!n)return;s.push(e)}--a||t(s)},i=0;i<l;i++)o(e[i],n,r)}function s(e,r,n){var o,s;if(r&&r.trim&&(o=r),s=(o?n:r)||{},o){if(o in t)throw"LoadJS";t[o]=!0}function c(t,r){l(e,(function(e){a(s,e),t&&a({success:t,error:r},e),i(o,e)}),s)}if(s.returnPromise)return new Promise(c);c()}return s.ready=function(e,t){return function(e,t){e=e.push?e:[e];var i,a,o,l=[],s=e.length,c=s;for(i=function(e,r){r.length&&l.push(e),--c||t(l)};s--;)a=e[s],(o=r[a])?i(a,o):(n[a]=n[a]||[]).push(i)}(e,(function(e){a(t,e)})),s},s.done=function(e){i(e,[])},s.reset=function(){t={},r={},n={}},s.isDefined=function(e){return e in t},s}()}));function rr(e){return new Promise((function(t,r){tr(e,{success:t,error:r})}))}function nr(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,pt.call(this,this.media,e?"play":"pause"))}var ir={setup:function(){var e=this;$e(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,kt.call(e),Oe(window.Vimeo)?ir.ready.call(e):rr(e.config.urls.vimeo.sdk).then((function(){ir.ready.call(e)})).catch((function(t){e.debug.warn("Vimeo SDK (player.js) failed to load",t)}))},ready:function(){var e=this,t=this,r=t.config.vimeo,n=r.premium,i=r.referrerPolicy,a=z(r,B);n&&Object.assign(a,{controls:!1,sidedock:!1});var o=Vt(S({loop:t.config.loop.active,autoplay:t.autoplay,muted:t.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative},a)),l=t.media.getAttribute("src");Le(l)&&(l=t.media.getAttribute(t.config.attributes.embed.id));var s=function(e){return Le(e)?null:je(Number(e))?e:e.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:e}(l),c=We("iframe"),u=Et(t.config.urls.vimeo.iframe,s,o);if(c.setAttribute("src",u),c.setAttribute("allowfullscreen",""),c.setAttribute("allow",["autoplay","fullscreen","picture-in-picture","encrypted-media","accelerometer","gyroscope"].join("; ")),Le(i)||c.setAttribute("referrerPolicy",i),n||!r.customControls)c.setAttribute("data-poster",t.poster),t.media=Ge(c,t.media);else{var p=We("div",{class:t.config.classNames.embedContainer,"data-poster":t.poster});p.appendChild(c),t.media=Ge(p,t.media)}r.customControls||Dt(Et(t.config.urls.vimeo.api,u)).then((function(e){!Le(e)&&e.thumbnail_url&&Zt.setPoster.call(t,e.thumbnail_url).catch((function(){}))})),t.embed=new window.Vimeo.Player(c,{autopause:t.config.autopause,muted:t.muted}),t.media.paused=!0,t.media.currentTime=0,t.supported.ui&&t.embed.disableTextTrack(),t.media.play=function(){return nr.call(t,!0),t.embed.play()},t.media.pause=function(){return nr.call(t,!1),t.embed.pause()},t.media.stop=function(){t.pause(),t.currentTime=0};var d=t.media.currentTime;Object.defineProperty(t.media,"currentTime",{get:function(){return d},set:function(e){var r=t.embed,n=t.media,i=t.paused,a=t.volume,o=i&&!r.hasPlayed;n.seeking=!0,pt.call(t,n,"seeking"),Promise.resolve(o&&r.setVolume(0)).then((function(){return r.setCurrentTime(e)})).then((function(){return o&&r.pause()})).then((function(){return o&&r.setVolume(a)})).catch((function(){}))}});var h=t.config.speed.selected;Object.defineProperty(t.media,"playbackRate",{get:function(){return h},set:function(e){t.embed.setPlaybackRate(e).then((function(){h=e,pt.call(t,t.media,"ratechange")})).catch((function(){t.options.speed=[1]}))}});var f=t.config.volume;Object.defineProperty(t.media,"volume",{get:function(){return f},set:function(e){t.embed.setVolume(e).then((function(){f=e,pt.call(t,t.media,"volumechange")}))}});var m=t.config.muted;Object.defineProperty(t.media,"muted",{get:function(){return m},set:function(e){var r=!!Te(e)&&e;t.embed.setVolume(r?0:t.config.volume).then((function(){m=r,pt.call(t,t.media,"volumechange")}))}});var y,g=t.config.loop;Object.defineProperty(t.media,"loop",{get:function(){return g},set:function(e){var r=Te(e)?e:t.config.loop.active;t.embed.setLoop(r).then((function(){g=r}))}}),t.embed.getVideoUrl().then((function(e){y=e,Ft.setDownloadUrl.call(t)})).catch((function(t){e.debug.warn(t)})),Object.defineProperty(t.media,"currentSrc",{get:function(){return y}}),Object.defineProperty(t.media,"ended",{get:function(){return t.currentTime===t.duration}}),Promise.all([t.embed.getVideoWidth(),t.embed.getVideoHeight()]).then((function(r){var n=L(r,2),i=n[0],a=n[1];t.embed.ratio=xt(i,a),kt.call(e)})),t.embed.setAutopause(t.config.autopause).then((function(e){t.config.autopause=e})),t.embed.getVideoTitle().then((function(r){t.config.title=r,Zt.setTitle.call(e)})),t.embed.getCurrentTime().then((function(e){d=e,pt.call(t,t.media,"timeupdate")})),t.embed.getDuration().then((function(e){t.media.duration=e,pt.call(t,t.media,"durationchange")})),t.embed.getTextTracks().then((function(e){t.media.textTracks=e,Bt.setup.call(t)})),t.embed.on("cuechange",(function(e){var r=e.cues,n=(void 0===r?[]:r).map((function(e){return function(e){var t=document.createDocumentFragment(),r=document.createElement("div");return t.appendChild(r),r.innerHTML=e,t.firstChild.innerText}(e.text)}));Bt.updateCues.call(t,n)})),t.embed.on("loaded",(function(){t.embed.getPaused().then((function(e){nr.call(t,!e),e||pt.call(t,t.media,"playing")})),Ce(t.embed.element)&&t.supported.ui&&t.embed.element.setAttribute("tabindex",-1)})),t.embed.on("bufferstart",(function(){pt.call(t,t.media,"waiting")})),t.embed.on("bufferend",(function(){pt.call(t,t.media,"playing")})),t.embed.on("play",(function(){nr.call(t,!0),pt.call(t,t.media,"playing")})),t.embed.on("pause",(function(){nr.call(t,!1)})),t.embed.on("timeupdate",(function(e){t.media.seeking=!1,d=e.seconds,pt.call(t,t.media,"timeupdate")})),t.embed.on("progress",(function(e){t.media.buffered=e.percent,pt.call(t,t.media,"progress"),1===parseInt(e.percent,10)&&pt.call(t,t.media,"canplaythrough"),t.embed.getDuration().then((function(e){e!==t.media.duration&&(t.media.duration=e,pt.call(t,t.media,"durationchange"))}))})),t.embed.on("seeked",(function(){t.media.seeking=!1,pt.call(t,t.media,"seeked")})),t.embed.on("ended",(function(){t.media.paused=!0,pt.call(t,t.media,"ended")})),t.embed.on("error",(function(e){t.media.error=e,pt.call(t,t.media,"error")})),r.customControls&&setTimeout((function(){return Zt.build.call(t)}),0)}};function ar(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,pt.call(this,this.media,e?"play":"pause"))}function or(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}var lr={setup:function(){var e=this;if($e(this.elements.wrapper,this.config.classNames.embed,!0),Oe(window.YT)&&Pe(window.YT.Player))lr.ready.call(this);else{var t=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){Pe(t)&&t(),lr.ready.call(e)},rr(this.config.urls.youtube.sdk).catch((function(t){e.debug.warn("YouTube API failed to load",t)}))}},getTitle:function(e){var t=this;Dt(Et(this.config.urls.youtube.api,e)).then((function(e){if(Oe(e)){var r=e.title,n=e.height,i=e.width;t.config.title=r,Zt.setTitle.call(t),t.embed.ratio=xt(i,n)}kt.call(t)})).catch((function(){kt.call(t)}))},ready:function(){var e=this,t=e.config.youtube,r=e.media&&e.media.getAttribute("id");if(Le(r)||!r.startsWith("youtube-")){var n=e.media.getAttribute("src");Le(n)&&(n=e.media.getAttribute(this.config.attributes.embed.id));var i=function(e){return Le(e)?null:e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:e}(n),a=We("div",{id:jt(e.provider),"data-poster":t.customControls?e.poster:void 0});if(e.media=Ge(a,e.media),t.customControls){var o=function(e){return"https://i.ytimg.com/vi/".concat(i,"/").concat(e,"default.jpg")};$t(o("maxres"),121).catch((function(){return $t(o("sd"),121)})).catch((function(){return $t(o("hq"))})).then((function(t){return Zt.setPoster.call(e,t.src)})).then((function(t){t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")})).catch((function(){}))}e.embed=new window.YT.Player(e.media,{videoId:i,host:or(t),playerVars:Be({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui&&t.customControls?0:1,disablekb:1,playsinline:e.config.fullscreen.iosNative?0:1,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},t),events:{onError:function(t){if(!e.media.error){var r=t.data,n={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[r]||"An unknown error occured";e.media.error={code:r,message:n},pt.call(e,e.media,"error")}},onPlaybackRateChange:function(t){var r=t.target;e.media.playbackRate=r.getPlaybackRate(),pt.call(e,e.media,"ratechange")},onReady:function(r){if(!Pe(e.media.play)){var n=r.target;lr.getTitle.call(e,i),e.media.play=function(){ar.call(e,!0),n.playVideo()},e.media.pause=function(){ar.call(e,!1),n.pauseVideo()},e.media.stop=function(){n.stopVideo()},e.media.duration=n.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:function(){return Number(n.getCurrentTime())},set:function(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,pt.call(e,e.media,"seeking"),n.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:function(){return n.getPlaybackRate()},set:function(e){n.setPlaybackRate(e)}});var a=e.config.volume;Object.defineProperty(e.media,"volume",{get:function(){return a},set:function(t){a=t,n.setVolume(100*a),pt.call(e,e.media,"volumechange")}});var o=e.config.muted;Object.defineProperty(e.media,"muted",{get:function(){return o},set:function(t){var r=Te(t)?t:o;o=r,n[r?"mute":"unMute"](),n.setVolume(100*a),pt.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:function(){return n.getVideoUrl()}}),Object.defineProperty(e.media,"ended",{get:function(){return e.currentTime===e.duration}});var l=n.getAvailablePlaybackRates();e.options.speed=l.filter((function(t){return e.config.speed.options.includes(t)})),e.supported.ui&&t.customControls&&e.media.setAttribute("tabindex",-1),pt.call(e,e.media,"timeupdate"),pt.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval((function(){e.media.buffered=n.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBuffered<e.media.buffered)&&pt.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,1===e.media.buffered&&(clearInterval(e.timers.buffering),pt.call(e,e.media,"canplaythrough"))}),200),t.customControls&&setTimeout((function(){return Zt.build.call(e)}),50)}},onStateChange:function(r){var n=r.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(r.data)&&(e.media.seeking=!1,pt.call(e,e.media,"seeked")),r.data){case-1:pt.call(e,e.media,"timeupdate"),e.media.buffered=n.getVideoLoadedFraction(),pt.call(e,e.media,"progress");break;case 0:ar.call(e,!1),e.media.loop?(n.stopVideo(),n.playVideo()):pt.call(e,e.media,"ended");break;case 1:t.customControls&&!e.config.autoplay&&e.media.paused&&!e.embed.hasPlayed?e.media.pause():(ar.call(e,!0),pt.call(e,e.media,"playing"),e.timers.playing=setInterval((function(){pt.call(e,e.media,"timeupdate")}),50),e.media.duration!==n.getDuration()&&(e.media.duration=n.getDuration(),pt.call(e,e.media,"durationchange")));break;case 2:e.muted||e.embed.unMute(),ar.call(e,!1);break;case 3:pt.call(e,e.media,"waiting")}pt.call(e,e.elements.container,"statechange",!1,{code:r.data})}}})}}},sr={setup:function(){this.media?($e(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),$e(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&$e(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=We("div",{class:this.config.classNames.video}),qe(this.media,this.elements.wrapper),this.elements.poster=We("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?Ot.setup.call(this):this.isYouTube?lr.setup.call(this):this.isVimeo&&ir.setup.call(this)):this.debug.warn("No media element found!")}},cr=function(){function e(t){var r=this;A(this,e),q(this,"load",(function(){r.enabled&&(Oe(window.google)&&Oe(window.google.ima)?r.ready():rr(r.player.config.urls.googleIMA.sdk).then((function(){r.ready()})).catch((function(){r.trigger("error",new Error("Google IMA SDK failed to load"))})))})),q(this,"ready",(function(){var e;r.enabled||((e=r).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),r.startSafetyTimer(12e3,"ready()"),r.managerPromise.then((function(){r.clearSafetyTimer("onAdsManagerLoaded()")})),r.listeners(),r.setupIMA()})),q(this,"setupIMA",(function(){r.elements.container=We("div",{class:r.player.config.classNames.ads}),r.player.elements.container.appendChild(r.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(r.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(r.player.config.playsinline),r.elements.displayContainer=new google.ima.AdDisplayContainer(r.elements.container,r.player.media),r.loader=new google.ima.AdsLoader(r.elements.displayContainer),r.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(function(e){return r.onAdsManagerLoaded(e)}),!1),r.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){return r.onAdError(e)}),!1),r.requestAds()})),q(this,"requestAds",(function(){var e=r.player.elements.container;try{var t=new google.ima.AdsRequest;t.adTagUrl=r.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!r.player.muted),r.loader.requestAds(t)}catch(e){r.onAdError(e)}})),q(this,"pollCountdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)return clearInterval(r.countdownTimer),void r.elements.container.removeAttribute("data-badge-text");r.countdownTimer=setInterval((function(){var e=Mt(Math.max(r.manager.getRemainingTime(),0)),t="".concat(At("advertisement",r.player.config)," - ").concat(e);r.elements.container.setAttribute("data-badge-text",t)}),100)})),q(this,"onAdsManagerLoaded",(function(e){if(r.enabled){var t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,t.enablePreloading=!0,r.manager=e.getAdsManager(r.player,t),r.cuePoints=r.manager.getCuePoints(),r.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){return r.onAdError(e)})),Object.keys(google.ima.AdEvent.Type).forEach((function(e){r.manager.addEventListener(google.ima.AdEvent.Type[e],(function(e){return r.onAdEvent(e)}))})),r.trigger("loaded")}})),q(this,"addCuePoints",(function(){Le(r.cuePoints)||r.cuePoints.forEach((function(e){if(0!==e&&-1!==e&&e<r.player.duration){var t=r.player.elements.progress;if(Ce(t)){var n=100/r.player.duration*e,i=We("span",{class:r.player.config.classNames.cues});i.style.left="".concat(n.toString(),"%"),t.appendChild(i)}}}))})),q(this,"onAdEvent",(function(e){var t=r.player.elements.container,n=e.getAd(),i=e.getAdData();switch(function(e){pt.call(r.player,r.player.media,"ads".concat(e.replace(/_/g,"").toLowerCase()))}(e.type),e.type){case google.ima.AdEvent.Type.LOADED:r.trigger("loaded"),r.pollCountdown(!0),n.isLinear()||(n.width=t.offsetWidth,n.height=t.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:r.manager.setVolume(r.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:r.player.ended?r.loadAds():r.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:r.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:r.pollCountdown(),r.resumeContent();break;case google.ima.AdEvent.Type.LOG:i.adError&&r.player.debug.warn("Non-fatal ad error: ".concat(i.adError.getMessage()))}})),q(this,"onAdError",(function(e){r.cancel(),r.player.debug.warn("Ads error",e)})),q(this,"listeners",(function(){var e,t=r.player.elements.container;r.player.on("canplay",(function(){r.addCuePoints()})),r.player.on("ended",(function(){r.loader.contentComplete()})),r.player.on("timeupdate",(function(){e=r.player.currentTime})),r.player.on("seeked",(function(){var t=r.player.currentTime;Le(r.cuePoints)||r.cuePoints.forEach((function(n,i){e<n&&n<t&&(r.manager.discardAdBreak(),r.cuePoints.splice(i,1))}))})),window.addEventListener("resize",(function(){r.manager&&r.manager.resize(t.offsetWidth,t.offsetHeight,google.ima.ViewMode.NORMAL)}))})),q(this,"play",(function(){var e=r.player.elements.container;r.managerPromise||r.resumeContent(),r.managerPromise.then((function(){r.manager.setVolume(r.player.volume),r.elements.displayContainer.initialize();try{r.initialized||(r.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),r.manager.start()),r.initialized=!0}catch(e){r.onAdError(e)}})).catch((function(){}))})),q(this,"resumeContent",(function(){r.elements.container.style.zIndex="",r.playing=!1,ft(r.player.media.play())})),q(this,"pauseContent",(function(){r.elements.container.style.zIndex=3,r.playing=!0,r.player.media.pause()})),q(this,"cancel",(function(){r.initialized&&r.resumeContent(),r.trigger("error"),r.loadAds()})),q(this,"loadAds",(function(){r.managerPromise.then((function(){r.manager&&r.manager.destroy(),r.managerPromise=new Promise((function(e){r.on("loaded",e),r.player.debug.log(r.manager)})),r.initialized=!1,r.requestAds()})).catch((function(){}))})),q(this,"trigger",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var a=r.events[e];Se(a)&&a.forEach((function(e){Pe(e)&&e.apply(r,n)}))})),q(this,"on",(function(e,t){return Se(r.events[e])||(r.events[e]=[]),r.events[e].push(t),r})),q(this,"startSafetyTimer",(function(e,t){r.player.debug.log("Safety timer invoked from: ".concat(t)),r.safetyTimer=setTimeout((function(){r.cancel(),r.clearSafetyTimer("startSafetyTimer()")}),e)})),q(this,"clearSafetyTimer",(function(e){xe(r.safetyTimer)||(r.player.debug.log("Safety timer cleared from: ".concat(e)),clearTimeout(r.safetyTimer),r.safetyTimer=null)})),this.player=t,this.config=t.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((function(e,t){r.on("loaded",e),r.on("error",t)})),this.load()}return D(e,[{key:"enabled",get:function(){var e=this.config;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!Le(e.publisherId)||ze(e.tagUrl))}},{key:"tagUrl",get:function(){var e=this.config;return ze(e.tagUrl)?e.tagUrl:"https://go.aniview.com/api/adserver6/vast/?".concat(Vt({AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId}))}}]),e}(),ur=function(e){var t=[];return e.split(/\r\n\r\n|\n\n|\r\r/).forEach((function(e){var r={};e.split(/\r\n|\n|\r/).forEach((function(e){if(je(r.startTime)){if(!Le(e.trim())&&Le(r.text)){var t,n,i=e.trim().split("#xywh=");t=L(i,1),r.text=t[0],i[1]&&(n=L(i[1].split(","),4),r.x=n[0],r.y=n[1],r.w=n[2],r.h=n[3])}}else{var a=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);a&&(r.startTime=60*Number(a[1]||0)*60+60*Number(a[2])+Number(a[3])+Number("0.".concat(a[4])),r.endTime=60*Number(a[6]||0)*60+60*Number(a[7])+Number(a[8])+Number("0.".concat(a[9])))}})),r.text&&t.push(r)})),t},pr=function(e,t){var r={};return e>t.width/t.height?(r.width=t.width,r.height=1/e*t.width):(r.height=t.height,r.width=e*t.height),r},dr=function(){function e(t){var r=this;A(this,e),q(this,"load",(function(){r.player.elements.display.seekTooltip&&(r.player.elements.display.seekTooltip.hidden=r.enabled),r.enabled&&r.getThumbnails().then((function(){r.enabled&&(r.render(),r.determineContainerAutoSizing(),r.loaded=!0)}))})),q(this,"getThumbnails",(function(){return new Promise((function(e){var t=r.player.config.previewThumbnails.src;if(Le(t))throw new Error("Missing previewThumbnails.src config attribute");var n=function(){r.thumbnails.sort((function(e,t){return e.height-t.height})),r.player.debug.log("Preview thumbnails",r.thumbnails),e()};if(Pe(t))t((function(e){r.thumbnails=e,n()}));else{var i=(Ee(t)?[t]:t).map((function(e){return r.getThumbnail(e)}));Promise.all(i).then(n)}}))})),q(this,"getThumbnail",(function(e){return new Promise((function(t){Dt(e).then((function(n){var i={frames:ur(n),height:null,urlPrefix:""};i.frames[0].text.startsWith("/")||i.frames[0].text.startsWith("http://")||i.frames[0].text.startsWith("https://")||(i.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));var a=new Image;a.onload=function(){i.height=a.naturalHeight,i.width=a.naturalWidth,r.thumbnails.push(i),t()},a.src=i.urlPrefix+i.frames[0].text}))}))})),q(this,"startMove",(function(e){if(r.loaded&&Ae(e)&&["touchmove","mousemove"].includes(e.type)&&r.player.media.duration){if("touchmove"===e.type)r.seekTime=r.player.media.duration*(r.player.elements.inputs.seek.value/100);else{var t=r.player.elements.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);r.seekTime=r.player.media.duration*(n/100),r.seekTime<0&&(r.seekTime=0),r.seekTime>r.player.media.duration-1&&(r.seekTime=r.player.media.duration-1),r.mousePosX=e.pageX,r.elements.thumb.time.innerText=Mt(r.seekTime)}r.showImageAtCurrentTime()}})),q(this,"endMove",(function(){r.toggleThumbContainer(!1,!0)})),q(this,"startScrubbing",(function(e){(xe(e.button)||!1===e.button||0===e.button)&&(r.mouseDown=!0,r.player.media.duration&&(r.toggleScrubbingContainer(!0),r.toggleThumbContainer(!1,!0),r.showImageAtCurrentTime()))})),q(this,"endScrubbing",(function(){r.mouseDown=!1,Math.ceil(r.lastTime)===Math.ceil(r.player.media.currentTime)?r.toggleScrubbingContainer(!1):ut.call(r.player,r.player.media,"timeupdate",(function(){r.mouseDown||r.toggleScrubbingContainer(!1)}))})),q(this,"listeners",(function(){r.player.on("play",(function(){r.toggleThumbContainer(!1,!0)})),r.player.on("seeked",(function(){r.toggleThumbContainer(!1)})),r.player.on("timeupdate",(function(){r.lastTime=r.player.media.currentTime}))})),q(this,"render",(function(){r.elements.thumb.container=We("div",{class:r.player.config.classNames.previewThumbnails.thumbContainer}),r.elements.thumb.imageContainer=We("div",{class:r.player.config.classNames.previewThumbnails.imageContainer}),r.elements.thumb.container.appendChild(r.elements.thumb.imageContainer);var e=We("div",{class:r.player.config.classNames.previewThumbnails.timeContainer});r.elements.thumb.time=We("span",{},"00:00"),e.appendChild(r.elements.thumb.time),r.elements.thumb.container.appendChild(e),Ce(r.player.elements.progress)&&r.player.elements.progress.appendChild(r.elements.thumb.container),r.elements.scrubbing.container=We("div",{class:r.player.config.classNames.previewThumbnails.scrubbingContainer}),r.player.elements.wrapper.appendChild(r.elements.scrubbing.container)})),q(this,"destroy",(function(){r.elements.thumb.container&&r.elements.thumb.container.remove(),r.elements.scrubbing.container&&r.elements.scrubbing.container.remove()})),q(this,"showImageAtCurrentTime",(function(){r.mouseDown?r.setScrubbingContainerSize():r.setThumbContainerSizeAndPos();var e=r.thumbnails[0].frames.findIndex((function(e){return r.seekTime>=e.startTime&&r.seekTime<=e.endTime})),t=e>=0,n=0;r.mouseDown||r.toggleThumbContainer(t),t&&(r.thumbnails.forEach((function(t,i){r.loadedImages.includes(t.frames[e].text)&&(n=i)})),e!==r.showingThumb&&(r.showingThumb=e,r.loadImage(n)))})),q(this,"loadImage",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=r.showingThumb,n=r.thumbnails[e],i=n.urlPrefix,a=n.frames[t],o=n.frames[t].text,l=i+o;if(r.currentImageElement&&r.currentImageElement.dataset.filename===o)r.showImage(r.currentImageElement,a,e,t,o,!1),r.currentImageElement.dataset.index=t,r.removeOldImages(r.currentImageElement);else{r.loadingImage&&r.usingSprites&&(r.loadingImage.onload=null);var s=new Image;s.src=l,s.dataset.index=t,s.dataset.filename=o,r.showingThumbFilename=o,r.player.debug.log("Loading image: ".concat(l)),s.onload=function(){return r.showImage(s,a,e,t,o,!0)},r.loadingImage=s,r.removeOldImages(s)}})),q(this,"showImage",(function(e,t,n,i,a){var o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];r.player.debug.log("Showing thumb: ".concat(a,". num: ").concat(i,". qual: ").concat(n,". newimg: ").concat(o)),r.setImageSizeAndOffset(e,t),o&&(r.currentImageContainer.appendChild(e),r.currentImageElement=e,r.loadedImages.includes(a)||r.loadedImages.push(a)),r.preloadNearby(i,!0).then(r.preloadNearby(i,!1)).then(r.getHigherQuality(n,e,t,a))})),q(this,"removeOldImages",(function(e){Array.from(r.currentImageContainer.children).forEach((function(t){if("img"===t.tagName.toLowerCase()){var n=r.usingSprites?500:1e3;if(t.dataset.index!==e.dataset.index&&!t.dataset.deleting){t.dataset.deleting=!0;var i=r.currentImageContainer;setTimeout((function(){i.removeChild(t),r.player.debug.log("Removing thumb: ".concat(t.dataset.filename))}),n)}}}))})),q(this,"preloadNearby",(function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise((function(n){setTimeout((function(){var i=r.thumbnails[0].frames[e].text;if(r.showingThumbFilename===i){var a;a=t?r.thumbnails[0].frames.slice(e):r.thumbnails[0].frames.slice(0,e).reverse();var o=!1;a.forEach((function(e){var t=e.text;if(t!==i&&!r.loadedImages.includes(t)){o=!0,r.player.debug.log("Preloading thumb filename: ".concat(t));var a=r.thumbnails[0].urlPrefix+t,l=new Image;l.src=a,l.onload=function(){r.player.debug.log("Preloaded thumb filename: ".concat(t)),r.loadedImages.includes(t)||r.loadedImages.push(t),n()}}})),o||n()}}),300)}))})),q(this,"getHigherQuality",(function(e,t,n,i){if(e<r.thumbnails.length-1){var a=t.naturalHeight;r.usingSprites&&(a=n.h),a<r.thumbContainerHeight&&setTimeout((function(){r.showingThumbFilename===i&&(r.player.debug.log("Showing higher quality thumb for: ".concat(i)),r.loadImage(e+1))}),300)}})),q(this,"toggleThumbContainer",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r.player.config.classNames.previewThumbnails.thumbContainerShown;r.elements.thumb.container.classList.toggle(n,e),!e&&t&&(r.showingThumb=null,r.showingThumbFilename=null)})),q(this,"toggleScrubbingContainer",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=r.player.config.classNames.previewThumbnails.scrubbingContainerShown;r.elements.scrubbing.container.classList.toggle(t,e),e||(r.showingThumb=null,r.showingThumbFilename=null)})),q(this,"determineContainerAutoSizing",(function(){(r.elements.thumb.imageContainer.clientHeight>20||r.elements.thumb.imageContainer.clientWidth>20)&&(r.sizeSpecifiedInCSS=!0)})),q(this,"setThumbContainerSizeAndPos",(function(){if(r.sizeSpecifiedInCSS){if(r.elements.thumb.imageContainer.clientHeight>20&&r.elements.thumb.imageContainer.clientWidth<20){var e=Math.floor(r.elements.thumb.imageContainer.clientHeight*r.thumbAspectRatio);r.elements.thumb.imageContainer.style.width="".concat(e,"px")}else if(r.elements.thumb.imageContainer.clientHeight<20&&r.elements.thumb.imageContainer.clientWidth>20){var t=Math.floor(r.elements.thumb.imageContainer.clientWidth/r.thumbAspectRatio);r.elements.thumb.imageContainer.style.height="".concat(t,"px")}}else{var n=Math.floor(r.thumbContainerHeight*r.thumbAspectRatio);r.elements.thumb.imageContainer.style.height="".concat(r.thumbContainerHeight,"px"),r.elements.thumb.imageContainer.style.width="".concat(n,"px")}r.setThumbContainerPos()})),q(this,"setThumbContainerPos",(function(){var e=r.player.elements.progress.getBoundingClientRect(),t=r.player.elements.container.getBoundingClientRect(),n=r.elements.thumb.container,i=t.left-e.left+10,a=t.right-e.left-n.clientWidth-10,o=r.mousePosX-e.left-n.clientWidth/2;o<i&&(o=i),o>a&&(o=a),n.style.left="".concat(o,"px")})),q(this,"setScrubbingContainerSize",(function(){var e=pr(r.thumbAspectRatio,{width:r.player.media.clientWidth,height:r.player.media.clientHeight}),t=e.width,n=e.height;r.elements.scrubbing.container.style.width="".concat(t,"px"),r.elements.scrubbing.container.style.height="".concat(n,"px")})),q(this,"setImageSizeAndOffset",(function(e,t){if(r.usingSprites){var n=r.thumbContainerHeight/t.h;e.style.height=e.naturalHeight*n+"px",e.style.width=e.naturalWidth*n+"px",e.style.left="-".concat(t.x*n,"px"),e.style.top="-".concat(t.y*n,"px")}})),this.player=t,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}return D(e,[{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?pr(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}).height:this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}]),e}(),hr={insertElements:function(e,t){var r=this;Ee(t)?Ye(e,this.media,{src:t}):Se(t)&&t.forEach((function(t){Ye(e,r.media,t)}))},change:function(e){var t=this;Ve(e,"sources.length")?(Ot.cancelRequests.call(this),this.destroy.call(this,(function(){t.options.quality=[],Qe(t.media),t.media=null,Ce(t.elements.container)&&t.elements.container.removeAttribute("class");var r=e.sources,n=e.type,i=L(r,1)[0],a=i.provider,o=void 0===a?Yt.html5:a,l=i.src,s="html5"===o?n:"div",c="html5"===o?{}:{src:l};Object.assign(t,{provider:o,type:n,supported:at.check(n,o,t.config.playsinline),media:We(s,c)}),t.elements.container.appendChild(t.media),Te(e.autoplay)&&(t.config.autoplay=e.autoplay),t.isHTML5&&(t.config.crossorigin&&t.media.setAttribute("crossorigin",""),t.config.autoplay&&t.media.setAttribute("autoplay",""),Le(e.poster)||(t.poster=e.poster),t.config.loop.active&&t.media.setAttribute("loop",""),t.config.muted&&t.media.setAttribute("muted",""),t.config.playsinline&&t.media.setAttribute("playsinline","")),Zt.addStyleHook.call(t),t.isHTML5&&hr.insertElements.call(t,"source",r),t.config.title=e.title,sr.setup.call(t),t.isHTML5&&Object.keys(e).includes("tracks")&&hr.insertElements.call(t,"track",e.tracks),(t.isHTML5||t.isEmbed&&!t.supported.ui)&&Zt.build.call(t),t.isHTML5&&t.media.load(),Le(e.previewThumbnails)||(Object.assign(t.config.previewThumbnails,e.previewThumbnails),t.previewThumbnails&&t.previewThumbnails.loaded&&(t.previewThumbnails.destroy(),t.previewThumbnails=null),t.config.previewThumbnails.enabled&&(t.previewThumbnails=new dr(t))),t.fullscreen.update()}),!0)):this.debug.warn("Invalid source format")}};var fr,mr,yr,gr,vr,br,_r=function(){function e(t,r){var n=this;if(A(this,e),q(this,"play",(function(){return Pe(n.media.play)?(n.ads&&n.ads.enabled&&n.ads.managerPromise.then((function(){return n.ads.play()})).catch((function(){return ft(n.media.play())})),n.media.play()):null})),q(this,"pause",(function(){return n.playing&&Pe(n.media.pause)?n.media.pause():null})),q(this,"togglePlay",(function(e){return(Te(e)?e:!n.playing)?n.play():n.pause()})),q(this,"stop",(function(){n.isHTML5?(n.pause(),n.restart()):Pe(n.media.stop)&&n.media.stop()})),q(this,"restart",(function(){n.currentTime=0})),q(this,"rewind",(function(e){n.currentTime-=je(e)?e:n.config.seekTime})),q(this,"forward",(function(e){n.currentTime+=je(e)?e:n.config.seekTime})),q(this,"increaseVolume",(function(e){var t=n.media.muted?0:n.volume;n.volume=t+(je(e)?e:0)})),q(this,"decreaseVolume",(function(e){n.increaseVolume(-e)})),q(this,"airplay",(function(){at.airplay&&n.media.webkitShowPlaybackTargetPicker()})),q(this,"toggleControls",(function(e){if(n.supported.ui&&!n.isAudio){var t=Ze(n.elements.container,n.config.classNames.hideControls),r=void 0===e?void 0:!e,i=$e(n.elements.container,n.config.classNames.hideControls,r);if(i&&Se(n.config.controls)&&n.config.controls.includes("settings")&&!Le(n.config.settings)&&Ft.toggleMenu.call(n,!1),i!==t){var a=i?"controlshidden":"controlsshown";pt.call(n,n.media,a)}return!i}return!1})),q(this,"on",(function(e,t){st.call(n,n.elements.container,e,t)})),q(this,"once",(function(e,t){ut.call(n,n.elements.container,e,t)})),q(this,"off",(function(e,t){ct(n.elements.container,e,t)})),q(this,"destroy",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n.ready){var r=function(){document.body.style.overflow="",n.embed=null,t?(Object.keys(n.elements).length&&(Qe(n.elements.buttons.play),Qe(n.elements.captions),Qe(n.elements.controls),Qe(n.elements.wrapper),n.elements.buttons.play=null,n.elements.captions=null,n.elements.controls=null,n.elements.wrapper=null),Pe(e)&&e()):(dt.call(n),Ot.cancelRequests.call(n),Ge(n.elements.original,n.elements.container),pt.call(n,n.elements.original,"destroyed",!0),Pe(e)&&e.call(n.elements.original),n.ready=!1,setTimeout((function(){n.elements=null,n.media=null}),200))};n.stop(),clearTimeout(n.timers.loading),clearTimeout(n.timers.controls),clearTimeout(n.timers.resized),n.isHTML5?(Zt.toggleNativeControls.call(n,!0),r()):n.isYouTube?(clearInterval(n.timers.buffering),clearInterval(n.timers.playing),null!==n.embed&&Pe(n.embed.destroy)&&n.embed.destroy(),r()):n.isVimeo&&(null!==n.embed&&n.embed.unload().then(r),setTimeout(r,200))}})),q(this,"supports",(function(e){return at.mime.call(n,e)})),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=at.touch,this.media=t,Ee(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||Re(this.media)||Se(this.media))&&(this.media=this.media[0]),this.config=Be({},qt,e.defaults,r||{},function(){try{return JSON.parse(n.media.getAttribute("data-plyr-config"))}catch(e){return{}}}()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Xt(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",at),!xe(this.media)&&Ce(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(at.check().api){var i=this.media.cloneNode(!0);i.autoplay=!1,this.elements.original=i;var a=this.media.tagName.toLowerCase(),o=null,l=null;switch(a){case"div":if(o=this.media.querySelector("iframe"),Ce(o)){if(l=Ht(o.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?Yt.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?Yt.vimeo:null}(l.toString()),this.elements.container=this.media,this.media=o,this.elements.container.className="",l.search.length){var s=["1","true"];s.includes(l.searchParams.get("autoplay"))&&(this.config.autoplay=!0),s.includes(l.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=s.includes(l.searchParams.get("playsinline")),this.config.youtube.hl=l.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(Le(this.provider)||!Object.values(Yt).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=Kt;break;case"video":case"audio":this.type=a,this.provider=Yt.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=at.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new er(this),this.storage=new Nt(this),this.media.plyr=this,Ce(this.elements.container)||(this.elements.container=We("div",{tabindex:0}),qe(this.media,this.elements.container)),Zt.migrateStyles.call(this),Zt.addStyleHook.call(this),sr.setup.call(this),this.config.debug&&st.call(this,this.elements.container,this.config.events.join(" "),(function(e){n.debug.log("event: ".concat(e.type))})),this.fullscreen=new Jt(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&Zt.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new cr(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",(function(){return ft(n.play())})),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new dr(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return D(e,[{key:"isHTML5",get:function(){return this.provider===Yt.html5}},{key:"isEmbed",get:function(){return this.isYouTube||this.isVimeo}},{key:"isYouTube",get:function(){return this.provider===Yt.youtube}},{key:"isVimeo",get:function(){return this.provider===Yt.vimeo}},{key:"isVideo",get:function(){return this.type===Kt}},{key:"isAudio",get:function(){return this.type===Qt}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",get:function(){return Number(this.media.currentTime)},set:function(e){if(this.duration){var t=je(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}}},{key:"buffered",get:function(){var e=this.media.buffered;return je(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,r=je(t)&&t!==1/0?t:0;return e||r}},{key:"volume",get:function(){return Number(this.media.volume)},set:function(e){var t=e;Ee(t)&&(t=Number(t)),je(t)||(t=this.storage.get("volume")),je(t)||(t=this.config.volume),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!Le(e)&&this.muted&&t>0&&(this.muted=!1)}},{key:"muted",get:function(){return Boolean(this.media.muted)},set:function(e){var t=e;Te(t)||(t=this.storage.get("muted")),Te(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",get:function(){return Number(this.media.playbackRate)},set:function(e){var t=this,r=null;je(e)&&(r=e),je(r)||(r=this.storage.get("speed")),je(r)||(r=this.config.speed.selected);var n=this.minimumSpeed,i=this.maximumSpeed;r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:255;return Math.min(Math.max(e,t),r)}(r,n,i),this.config.speed.selected=r,setTimeout((function(){t.media.playbackRate=r}),0)}},{key:"minimumSpeed",get:function(){return this.isYouTube?Math.min.apply(Math,M(this.options.speed)):this.isVimeo?.5:.0625}},{key:"maximumSpeed",get:function(){return this.isYouTube?Math.max.apply(Math,M(this.options.speed)):this.isVimeo?2:16}},{key:"quality",get:function(){return this.media.quality},set:function(e){var t=this.config.quality,r=this.options.quality;if(r.length){var n=[!Le(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(je),i=!0;if(!r.includes(n)){var a=yt(r,n);this.debug.warn("Unsupported quality option: ".concat(n,", using ").concat(a," instead")),n=a,i=!1}t.selected=n,this.media.quality=n,i&&this.storage.set({quality:n})}}},{key:"loop",get:function(){return Boolean(this.media.loop)},set:function(e){var t=Te(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t}},{key:"source",get:function(){return this.media.currentSrc},set:function(e){hr.change.call(this,e)}},{key:"download",get:function(){var e=this.config.urls.download;return ze(e)?e:this.source},set:function(e){ze(e)&&(this.config.urls.download=e,Ft.setDownloadUrl.call(this))}},{key:"poster",get:function(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null},set:function(e){this.isVideo?Zt.setPoster.call(this,e,!1).catch((function(){})):this.debug.warn("Poster can only be set for video")}},{key:"ratio",get:function(){if(!this.isVideo)return null;var e=_t(wt.call(this));return Se(e)?e.join(":"):e},set:function(e){this.isVideo?Ee(e)&&bt(e)?(this.config.ratio=_t(e),kt.call(this)):this.debug.error("Invalid aspect ratio specified (".concat(e,")")):this.debug.warn("Aspect ratio can only be set for video")}},{key:"autoplay",get:function(){return Boolean(this.config.autoplay)},set:function(e){var t=Te(e)?e:this.config.autoplay;this.config.autoplay=t}},{key:"toggleCaptions",value:function(e){Bt.toggle.call(this,e,!1)}},{key:"currentTrack",get:function(){var e=this.captions,t=e.toggled,r=e.currentTrack;return t?r:-1},set:function(e){Bt.set.call(this,e,!1)}},{key:"language",get:function(){return(Bt.getCurrentTrack.call(this)||{}).language},set:function(e){Bt.setLanguage.call(this,e,!1)}},{key:"pip",get:function(){return at.pip?Le(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===Ut:null},set:function(e){if(at.pip){var t=Te(e)?e:!this.pip;Pe(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?Ut:Wt),Pe(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}}}],[{key:"supported",value:function(e,t,r){return at.check(e,t,r)}},{key:"loadSprite",value:function(e,t){return It(e,t)}},{key:"setup",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;return Ee(t)?n=Array.from(document.querySelectorAll(t)):Re(t)?n=Array.from(t):Se(t)&&(n=t.filter(Ce)),Le(n)?null:n.map((function(t){return new e(t,r)}))}}]),e}();function wr(e){e.on("timeupdate",(function(){return function(e){var t,r;if(null!=e&&null!==(t=e.config)&&void 0!==t&&null!==(r=t.mutedPreview)&&void 0!==r&&r.enabled)return;!function(e){var t;if(0===e.currentTime)return;if(null==e||null===(t=e.config)||void 0===t||!t.save_player_position)return;localStorage.setItem("player-progress-".concat(kr(e)),e.currentTime)}(e)}(e)})),e.on("ready",(function(){return xr(e)})),e.on("loadeddata",(function(){return xr(e)}))}function kr(e){var t,r;return null==e||null===(t=e.config)||void 0===t||null===(r=t.blockAttributes)||void 0===r?void 0:r.id}function xr(e){var t,r,n;if(null!=e&&null!==(t=e.config)&&void 0!==t&&t.save_player_position&&(null==e||null===(r=e.config)||void 0===r||null===(n=r.mutedPreview)||void 0===n||!n.enabled)){var i=function(e){return parseFloat(localStorage.getItem("player-progress-".concat(kr(e))))}(e);return e.hls&&i>=0&&e.hls.startLoad(i),e.duration&&(i=Math.min(i,e.duration)),!i||i<1?0:(e.currentTime=i,null!=e&&e.isVimeo&&setTimeout((function(){e.embed.setCurrentTime(i||0)}),0),i)}}_r.defaults=function(e){return JSON.parse(JSON.stringify(e))}(qt);var Or,jr,Er,Tr,Pr=(null===(fr=window)||void 0===fr||null===(mr=fr.prestoPlayer)||void 0===mr||null===(yr=mr.i18n)||void 0===yr?void 0:yr.hide_chapters)||"Hide Chapters",Sr=(null===(gr=window)||void 0===gr||null===(vr=gr.prestoPlayer)||void 0===vr||null===(br=vr.i18n)||void 0===br?void 0:br.show_chapters)||"Show Chapters",Rr='<button class="plyr__controls__item plyr__control" type="button" data-plyr="chapters">\n<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="feather feather-list">\n <line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line>\n <line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line>\n <line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line>\n</svg>\n<span class="label--pressed plyr__tooltip" role="tooltip">'.concat(Pr,'</span>\n<span class="label--not-pressed plyr__tooltip" role="tooltip">').concat(Sr,"</span>\n</button>\n"),Cr='\n<div class="presto-player-toc__wrapper">\n <div class="presto-player-toc__cover" data-player-toc-cover></div>\n <div class="presto-player-toc">\n <div class="presto-player-toc__title">'.concat((null===(Or=window)||void 0===Or||null===(jr=Or.prestoPlayer)||void 0===jr||null===(Er=jr.i18n)||void 0===Er?void 0:Er.chapters)||"Chapters",'</div>\n <div class="presto-player-toc__list" data-player-toc></div>\n </div>\n</div>');function Ar(e){var t,r,n,i,a,o,l,s,c,u,p,d,h,f=0,m={},y=null,g=0;if(i=e.detail.plyr,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return e;var t={};return e.forEach((function(e){var r,n=e.time.split(":");n.length>1&&(r=60*parseInt(n[0])),t[parseInt(n[1])+parseInt(r)]=e})),t}((null===(t=i)||void 0===t||null===(r=t.config)||void 0===r?void 0:r.chapters)||[]),"html5"!==i.provider||i.duration){if(n&&Object.keys(n).length){a=jQuery(i.elements.container).closest(".presto-player__wrapper").find(".plyr");var v=(h=jQuery(i.elements.controls)).find(".plyr__time");v=v.length?v:h.find(".plyr__progress__container"),(c=a.find('[data-plyr="chapters"]')).length||(c=jQuery(Rr).insertAfter(v)),(l=a.find(".presto-player-toc__wrapper")).length||(l=jQuery(Cr).appendTo(a)),u=l.find("[data-player-toc-cover]"),s=l.find("[data-player-toc]"),o=a.find(".plyr__progress__container");var b,_=jQuery('<div class="presto-player__chapters"></div>').appendTo(o);p=jQuery('<div class="presto-player__chapter-markers"></div>').appendTo(_),b=0,s.find(".presto-player-toc__chapter").length||(Object.keys(n).forEach((function(e){b++;var t=n[e],r=jQuery(function(e){var t=e.name,r=void 0===t?"Untitled":t,n=e.order,i=void 0===n?1:n,a=e.highlight;return'<div class="presto-player-toc__chapter '.concat(void 0!==a&&a?"is-highlighted":"",'" data-chapter-item>\n \n <span class="presto-player-toc__order">\n ').concat(i,'\n </span>\n <span class="presto-player-toc__name">\n ').concat(r,"\n </div>\n</div>")}({name:t.title,order:b})).appendTo(s);r.data("presto-player-timestamp",e),m[e]=r,r.on("click",(function(){i.currentTime=parseFloat(e),i.play(),j(!1)}))})),d=l.find("[data-chapter-item]")),O(),c.off("click"),c.on("click",j),x(),i.off("timeupdate"),i.on("timeupdate",x),y=window.setInterval(k,100),u.off("click"),u.on("click",(function(){return j(!1)})),s.off("mouseleave"),s.on("mouseleave",w)}}else i.on("loadedmetadata",Ar);function w(){if(i.playing){var e=setTimeout((function(){j(!1),s.off("mouseleave",w)}),2e3);s.on("mouseenter",(function(){clearTimeout(e)}))}}function k(){g++,i.duration&&(O(),window.clearInterval(y)),g>50&&window.clearInterval(y)}function x(){f=i.currentTime;var e=Object.keys(n).filter((function(e){return e<=f})).map((function(e){return parseInt(e,10)})),t=Math.max.apply(Math,M(e));d&&d.removeClass("is-highlighted"),jQuery(m[t||0]).addClass("is-highlighted")}function O(){i.duration&&(Object.keys(n).forEach((function(e){if(parseInt(e)&&!p.find("[data-timestamp=".concat(e,"]")).length){var t=n[e],r=parseInt(e)/i.duration*100,a=jQuery(function(e){var t=e.position,r=void 0===t?0:t,n=e.name,i=void 0===n?"":n;return'<div class="presto-player-progress__marker plyr__controls__item plyr__control" style="left: '.concat(r,'%" data-timeline-marker>\n <span class="label--not-pressed plyr__tooltip" role="tooltip">').concat(i,"</span>\n </div>")}({position:r,name:"".concat(t.title)})).prependTo(p);a.attr("data-timestamp",e),a.data("timestamp",e),a.on("click",(function(t){i.currentTime=parseInt(e),i.play()}))}})),l.find("[data-timeline-marker]"))}function j(e){void 0!==R(e)?l.toggleClass("is-showing",e):l.toggleClass("is-showing")}}function Nr(e){Tr=e,jQuery(Tr.elements.container).closest(".presto-player__wrapper"),Tr.on("ready",Ar),Tr.on("controlshidden",Dr),Tr.on("controlsshown",Ir)}function Dr(e){var t,r,n;jQuery(null==e||null===(t=e.detail)||void 0===t||null===(r=t.plyr)||void 0===r||null===(n=r.elements)||void 0===n?void 0:n.container).closest(".presto-player__wrapper").addClass("presto-player--hide-controls")}function Ir(e){var t,r,n;jQuery(null==e||null===(t=e.detail)||void 0===t||null===(r=t.plyr)||void 0===r||null===(n=r.elements)||void 0===n?void 0:n.container).closest(".presto-player__wrapper").removeClass("presto-player--hide-controls")}function zr(e){var t,r;return S(S(S({video_current_time:parseInt((null==e?void 0:e.currentTime)||0),video_provider:(null==e?void 0:e.provider)||"html5"},null!=e&&e.duration?{video_duration:parseInt(null==e?void 0:e.duration)}:{}),null!=e&&e.source?{video_url:null==e?void 0:e.source}:{}),null!=e&&null!==(t=e.config)&&void 0!==t&&t.title?{video_title:null==e||null===(r=e.config)||void 0===r?void 0:r.title}:{})}function Lr(e){var t;null===(t=window)||void 0===t||t.gtag("event","Play",zr(e))}function Mr(e){var t;null===(t=window)||void 0===t||t.gtag("event","Pause",zr(e))}function Fr(e){var t;null===(t=window)||void 0===t||t.gtag("event","Player Load",zr(e))}var Hr,Vr={25:!1,50:!1,75:!1,100:!1};function Br(e){if(e.currentTime){var t=parseFloat(e.currentTime)/parseFloat(e.duration)*100;Object.keys(Vr).forEach((function(r){var n;!Vr[r]&&t>=parseInt(r)&&(Vr[r]=!0,null===(n=window)||void 0===n||n.gtag("event","".concat(r," Percent Played"),zr(e)))}))}}var qr="presto-player.analytics",Ur="";function Wr(e){(Hr=e).config.analytics&&(wp.hooks.hasAction("presto.nonceRefreshed",qr)||wp.hooks.addAction("presto.nonceRefreshed",qr,(function(e){Ur=e})),wp.hooks.hasAction("presto.playerPlay",qr)||wp.hooks.addAction("presto.playerPlay",qr,Yr),wp.hooks.hasAction("presto.playerEnded",qr)||wp.hooks.addAction("presto.playerEnded",qr,Yr),wp.hooks.hasAction("presto.playerHidden",qr)||wp.hooks.addAction("presto.playerHidden",qr,Yr),wp.hooks.hasAction("presto.playerPause",qr)||wp.hooks.addAction("presto.playerPause",qr,Yr),wp.hooks.hasAction("presto.playerSeeked",qr)||wp.hooks.addAction("presto.playerSeeked",qr,Yr))}function Yr(e){Qr(function(e){var t,r;return S(S(S({video_current_time:parseInt((null==e?void 0:e.currentTime)||0),video_provider:(null==e?void 0:e.provider)||"html5"},null!=e&&e.duration?{video_duration:parseInt(null==e?void 0:e.duration)}:{}),null!=e&&e.source?{video_url:null==e?void 0:e.source}:{}),null!=e&&null!==(t=e.config)&&void 0!==t&&t.title?{video_title:null==e||null===(r=e.config)||void 0===r?void 0:r.title}:{})}(e))}function Qr(e){var t,r,n,i,a,o,l,s;if(Ur){var c,u,p=new FormData;if(p.append("action","presto_player_progress"),p.append("duration",null==e?void 0:e.video_current_time),p.append("video_id",null===(t=Hr)||void 0===t||null===(r=t.config)||void 0===r?void 0:r.id),p.append("nonce",Ur),null!==(n=window)&&void 0!==n&&null!==(i=n.prestoPlayer)&&void 0!==i&&i.debug_navigator)jQuery.ajax({type:"POST",url:null===(a=window)||void 0===a||null===(o=a.prestoPlayer)||void 0===o?void 0:o.ajaxurl,dataType:"json",cache:!1,data:{action:"presto_player_progress",duration:null==e?void 0:e.video_current_time,video_id:null===(l=Hr)||void 0===l||null===(s=l.config)||void 0===s?void 0:s.id,nonce:Ur}});else navigator.sendBeacon(null===(c=window)||void 0===c||null===(u=c.prestoPlayer)||void 0===u?void 0:u.ajaxurl,p)}}function Kr(e){var t,r;null!==(t=window)&&void 0!==t&&null!==(r=t.prestoPlayer)&&void 0!==r&&r.isPremium&&(!function(){var e;null!==(e=window)&&void 0!==e&&e.gtag&&(wp.hooks.addAction("presto.playerPlay","presto-player",Lr),wp.hooks.addAction("presto.playerPause","presto-player",Mr),wp.hooks.addAction("presto.playerReady","presto-player",Fr),wp.hooks.addAction("presto.playerTimeUpdate","presto-player",Br))}(),Wr(e))}var Gr=function(e){e.on("ready",(function(){var t,r,n,i;null==e||null===(t=e.config)||void 0===t||!t.logo||null!=e&&null!==(r=e.config)&&void 0!==r&&r.logo_added||(jQuery('<img src="'.concat(null==e||null===(n=e.config)||void 0===n?void 0:n.logo,'" class="presto-player__logo is-bottom-right" part="logo">')).insertBefore(null==e||null===(i=e.elements)||void 0===i?void 0:i.controls),e.config.logo_added=!0)}))};function Xr(e){var t;null!=e&&null!==(t=e.config)&&void 0!==t&&t.poster&&(e.poster=e.config.poster)}var Jr=function(e){e.on("ready",(function(){$r("Ready",e)})),e.on("play",(function(){$r("Play",e)})),e.on("playing",(function(){$r("Playing",e)})),e.on("pause",(function(){$r("Pause",e)})),e.on("ended",(function(){$r("Ended",e)})),e.on("seeked",(function(){$r("Seeked",e)})),e.on("timeupdate",(function(){$r("TimeUpdate",e)})),e.on("enterfullscreen",(function(){$r("EnterFullScreen",e)})),e.on("exitfullscreen",(function(){$r("ExitFullScreen",e)})),document.addEventListener("visibilitychange",(function(){$r("hidden"===document.visibilityState?"Hidden":"Visible",e)})),e.on("statechange",(function(t){var r;switch(null==t||null===(r=t.detail)||void 0===r?void 0:r.code){case 0:$r("Ended",e);break;case 1:$r("Play",e);break;case 2:$r("Pause",e)}}))};function $r(e,t){window.wp.hooks.doAction("presto.player".concat(e),t)}var Zr,en=Date.now(),tn=function(e){var t,r;if(e.automations){(null===(r=null===(t=null===window||void 0===window?void 0:window.wp)||void 0===t?void 0:t.hooks)||void 0===r?void 0:r.hasAction("presto.nonceRefreshed","presto-player.progress"))||window.wp.hooks.addAction("presto.nonceRefreshed","presto-player.progress",(function(e){Zr=e})),null===window||void 0===window||window.wp.hooks.addAction("presto.playerTimeUpdate","presto-player",i),null===window||void 0===window||window.wp.hooks.addAction("presto.playerEnded","presto-player",(function(e){return i(e,100)}));var n={0:!1,10:!1,20:!1,30:!1,40:!1,50:!1,60:!1,70:!1,80:!1,90:!1,100:!1}}function i(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Zr&&(null===(t=null==e?void 0:e.config)||void 0===t?void 0:t.ajaxProgress)&&(r||(r=parseFloat(e.currentTime)/parseFloat(e.duration)*100),e.watched=e.watched||{},Object.keys(n).forEach((function(t){var n,i,a,o,l,s,c,u,p,d=parseInt(t);if(!e.watched[d]&&r>=d){e.watched[d]=!0;var h=new FormData;if(h.append("action","presto_player_progress_percent"),h.append("id",null===(n=null==e?void 0:e.config)||void 0===n?void 0:n.id),h.append("percent",d.toString()),h.append("visit_time",en.toString()),h.append("nonce",Zr),(null===(i=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===i?void 0:i.debug)&&console.log("".concat(d," percent watched.")),null===(a=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===a?void 0:a.debug_navigator)window.jQuery.ajax({type:"POST",url:null===(u=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===u?void 0:u.ajaxurl,dataType:"json",cache:!1,data:{action:"presto_player_progress_percent",id:null===(p=null==e?void 0:e.config)||void 0===p?void 0:p.id,visit_time:en,percent:d,nonce:Zr}});else{var f=navigator.sendBeacon(null===(o=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===o?void 0:o.ajaxurl,h);(null===(l=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===l?void 0:l.debug)&&(f?console.log("Successfully queued progress:",{id:null===(s=null==e?void 0:e.config)||void 0===s?void 0:s.id,percent:d,visit_time:en,nonce:Zr}):console.log("Failed to queue progress",{id:null===(c=null==e?void 0:e.config)||void 0===c?void 0:c.id,percent:d,visit_time:en,nonce:Zr}))}}})))}},rn=!1,nn=!1;function an(e){return e.status>=200&&e.status<300?Promise.resolve(e):Promise.reject(new Error(e.statusText))}var on=function(e){var t,r;(e.config.analytics||e.config.automations)&&(null===(r=null===(t=null===window||void 0===window?void 0:window.wp)||void 0===t?void 0:t.hooks)||void 0===r||r.addAction("presto.playerPlaying","presto-player",(function(){null===window||void 0===window||window.wp.hooks.doAction("presto.playerGetNonce")})),null===window||void 0===window||window.wp.hooks.addAction("presto.playerGetNonce","presto-player",(function(){var e;rn||nn||(nn=!0,fetch("".concat(null===(e=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===e?void 0:e.ajaxurl,"?action=presto_refresh_progress_nonce")).then(an).then((function(e){return e.json()})).then((function(e){var t=e.data;null===window||void 0===window||window.wp.hooks.doAction("presto.nonceRefreshed",t),rn=!0})).catch((function(e){console.log("Request failed",e)})).finally((function(){nn=!1})))})))},ln=function(e){var t=window.navigator.userAgent;if(!!t.match(/iPad/i)||!!t.match(/iPhone/i)){var r=function(e,t){for(var r,n,i,a=null==e||null===(r=e.elements)||void 0===r||null===(n=r.container)||void 0===n||null===(i=n.getRootNode())||void 0===i?void 0:i.host;(null!=a?a.nodeType:void 0)===Node.ELEMENT_NODE&&"BODY"!==a.tagName&&"HTML"!==a.tagName;)t?a.classList.add("presto-player-fullscreen-open"):a.classList.remove("presto-player-fullscreen-open"),a=a.parentNode};wp.hooks.addAction("presto.playerEnterFullScreen","presto-player",(function(){var t;null!=e&&null!==(t=e.fullscreen)&&void 0!==t&&t.active&&r(e,!0)})),wp.hooks.addAction("presto.playerExitFullScreen","presto-player",(function(){var t;null!=e&&null!==(t=e.fullscreen)&&void 0!==t&&t.active||r(e,!1)}))}},sn=function(){var e,t=(e=f.a.mark((function e(t){var n,i,a,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("ResizeObserver"in window!=0){e.next=5;break}return e.next=3,r.e(0).then(r.bind(null,27));case 3:a=e.sent,window.ResizeObserver=a.ResizeObserver;case 5:if(o=new ResizeObserver((function(e){var t,r=V(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,i=n.contentRect;jQuery(n.target).find(".plyr__menu__container").css({maxHeight:"".concat(i.height-48,"px")})}}catch(e){r.e(e)}finally{r.f()}})),null!=t&&null!==(n=t.elements)&&void 0!==n&&n.container){e.next=8;break}return e.abrupt("return");case 8:o.observe(null==t||null===(i=t.elements)||void 0===i?void 0:i.container),t.on("playing",(function(){var e,r,n=null==t||null===(e=t.elements)||void 0===e?void 0:e.container.getBoundingClientRect();jQuery(null==t||null===(r=t.elements)||void 0===r?void 0:r.container).find(".plyr__menu__container").css({maxHeight:"".concat(n.height-48,"px")})}));case 10:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){C(a,n,i,o,l,"next",e)}function l(e){C(a,n,i,o,l,"throw",e)}o(void 0)}))});return function(e){return t.apply(this,arguments)}}();function cn(e){var t,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=S(S(S({},i),{iconUrl:"".concat(null===(t=window)||void 0===t||null===(n=t.prestoPlayer)||void 0===n?void 0:n.plugin_url,"img/sprite.svg")}),{chapters:(null==i?void 0:i.chapters)||[],controls:(null==i?void 0:i.controls)||[],settings:Object.keys((null==i?void 0:i.settings)||{}).length?i.settings:{}}),o=new _r(e,a);return"undefined"!=typeof learndash_video_data&&r.e(5).then(r.bind(null,50)).then((function(e){(0,e.default)(o)})),"undefined"!=typeof _tutorobject&&r.e(6).then(r.bind(null,51)).then((function(e){(0,e.default)(o)})),Jr(o),ln(o),sn(o),Gr(o),Xr(o),Nr(o),prestoPlayer.isAdmin||(on(o),tn(a),wr(o),Kr(o)),o}function un(e){return"string"==typeof e&&e.includes(".m3u8")}var pn=function(e){var t=e.config,n=e.selector,i=e.src,a=e.preload;return i&&un(i)?r.e(4).then(r.bind(null,52)).then((function(e){return(0,e.default)({config:t,selector:n,src:i,preload:a})})):new Promise((function(e){return e(new cn(n,S({},t)))}))},dn=function(e,t){if(t){var r=document.createElement("style");e.shadowRoot.append(r),r.appendChild(document.createTextNode(t))}};var hn=function(e){Object(c.a)(O,e);var t,a,u,p,d,h,g,v,b,_,w,k,x=y(O);function O(){var e;return Object(o.a)(this,O),(e=x.call(this)).__registerHost(),Object(m.b)(Object(s.a)(e)),e.previouslyPlaying=!1,e}return Object(l.a)(O,[{key:"play",value:(k=Object(i.a)(f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.shouldLazyLoad=!1,e.abrupt("return",this.player.play());case 2:case"end":return e.stop()}}),e,this)}))),function(){return k.apply(this,arguments)})},{key:"restart",value:(w=Object(i.a)(f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.shouldLazyLoad=!1,e.abrupt("return",this.player.restart());case 2:case"end":return e.stop()}}),e,this)}))),function(){return w.apply(this,arguments)})},{key:"pause",value:(_=Object(i.a)(f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.player.pause());case 1:case"end":return e.stop()}}),e,this)}))),function(){return _.apply(this,arguments)})},{key:"stop",value:(b=Object(i.a)(f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.player.stop());case 1:case"end":return e.stop()}}),e,this)}))),function(){return b.apply(this,arguments)})},{key:"fullscreenToggle",value:(v=Object(i.a)(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.player.fullscreen.toggle(t));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return v.apply(this,arguments)})},{key:"on",value:(g=Object(i.a)(f.a.mark((function e(t,r){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.player.on(t,r));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return g.apply(this,arguments)})},{key:"off",value:(h=Object(i.a)(f.a.mark((function e(t,r){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.player.off(t,r));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return h.apply(this,arguments)})},{key:"handleStickyChange",value:function(){var e=this;(function(e){for(var t=[];e.parentNode&&"body"!=e.parentNode.nodeName.toLowerCase();)e=e.parentNode,t.push(e);return t})(this.el).forEach((function(t){t.classList.toggle("presto-sticky-parent",e.isSticky)}))}},{key:"getConfig",value:function(){return Object.assign(Object.assign({},function(e){var t,r,i,a,o=e.preset,l=void 0===o?{}:o,s=e.chapters,c=e.branding,u=e.src,p=e.analytics,d=e.automations,h=e.autoplay,f=e.blockAttributes,m=void 0===f?{}:f,y=e.provider,g=void 0===y?"":y,v=e.provider_video_id,b=void 0===v?"":v,_=e.youtube,w=e.type,k=e.isAdmin,x=e.i18n,O=e.storage,j=void 0===O?{enabled:!k,key:"presto-player-".concat(l.id)}:O,E=["settings"],T=Object(n.a)(["youtube","vimeo"].includes(g)?["pip"]:[]),P=["play-large","rewind","play","fast-forward","progress","current-time","mute","volume","captions","settings","pip","fullscreen"].filter((function(e){return((null==l?void 0:l[e])||E.includes(e))&&!T.includes(e)}));(null===(t=null==m?void 0:m.mutedPreview)||void 0===t?void 0:t.enabled)&&(j={enabled:!1});var S=Object.assign(Object.assign(Object.assign(Object.assign({id:null==m?void 0:m.id,title:(null==m?void 0:m.title)||"",blockAttributes:Object.assign(Object.assign({},m),{type:w}),src:u,ajaxProgress:!0,analytics:p,automations:d,mutedPreview:{enabled:null===(r=null==m?void 0:m.mutedPreview)||void 0===r?void 0:r.enabled},chapters:s,controls:P,settings:["captions","quality","loop"].concat(Object(n.a)((null==l?void 0:l.speed)?["speed"]:[])),hideControls:null==l?void 0:l.auto_hide,captions:{active:null==l?void 0:l.captions_enabled,language:"auto",update:!1},logo:null==c?void 0:c.logo,logo_width:null==c?void 0:c.logo_width,hide_logo:null==l?void 0:l.hide_logo,lazy_load_youtube:null==l?void 0:l.lazy_load_youtube,save_player_position:!!(null==l?void 0:l.save_player_position),sticky_scroll:null==l?void 0:l.sticky_scroll,play_video_viewport:null==l?void 0:l.play_video_viewport,autoplay:!(!h||(null===(i=window.wp)||void 0===i?void 0:i.blocks))},g?{provider:g}:{}),b?{provider_video_id:b}:{}),(null==m?void 0:m.poster)?{poster:m.poster}:{}),{invertTime:!0,storage:j,resetOnEnd:!!(null==l?void 0:l.reset_on_end),vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,premium:!1,playsinline:!!(null==m?void 0:m.playsInline)},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!!(null==_?void 0:_.noCookie),playsinline:!!(null==m?void 0:m.playsInline)},tooltips:{controls:!0,seek:!0},i18n:x});return(null===(a=null===window||void 0===window?void 0:window.wp)||void 0===a?void 0:a.hooks)&&(S=window.wp.hooks.applyFilters("presto.playerSettings",S)),S}({preset:this.preset,chapters:this.chapters,branding:this.branding,analytics:!!this.analytics,automations:!!this.automations,autoplay:!this.isAdmin&&!!this.autoplay,blockAttributes:this.blockAttributes,provider:this.provider,youtube:this.youtube,provider_video_id:this.provider_video_id,i18n:this.i18n})),this.iconUrl?{iconUrl:this.iconUrl}:{})}},{key:"getPlayerData",value:function(){return{selector:this.playerEl,src:this.src||"",preload:this.preload,provider:this.provider,config:this.getConfig(),isAdmin:this.isAdmin}}},{key:"createPlayer",value:(d=Object(i.a)(f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pn(this.getPlayerData());case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return d.apply(this,arguments)})},{key:"handlePlayerElementChange",value:function(){!function(e){var t=e.src,r=e.el,n=e.preload,i=e.currentTime;if(!r.getAttribute("hls_loaded")&&["metadata","none"].includes(n)&&un(t)){if(i>0)return r.style.height=null,r.style.paddingBottom=null,void r.setAttribute("hls_loaded","1");r.style.height="0px",r.style.paddingBottom="56.25%"}}({src:this.src,el:this.playerEl,preload:this.preload,currentTime:this.currentTime})}},{key:"handleMutedPreview",value:function(e){var t,r,n,i,a,o,l,s=this;this.player&&!this.isAdmin&&(!e&&this.preset.captions_enabled&&setTimeout((function(){var e;s.player.toggleCaptions(null===(e=null==s?void 0:s.preset)||void 0===e?void 0:e.captions_enabled)}),0),(null===(n=null===(r=null===(t=this.originalConfig)||void 0===t?void 0:t.blockAttributes)||void 0===r?void 0:r.mutedPreview)||void 0===n?void 0:n.enabled)&&function(e){var t=e.player,r=e.mutedPreview,n=e.captions,i=e.progress,a=e.savePosition,o=e.onPlay,l=window.navigator.userAgent;if(!l.match(/iPad/i)&&!l.match(/iPhone/i)){t.config.mutedPreview.enabled=r,t.muted=r,t.loop=r,t.config.ajaxProgress=!r&&i,t.config.save_player_position=!r&&a;try{t.toggleCaptions(!!r&&!!n)}catch(e){}return setTimeout((function(){xr(t)||t.restart(),setTimeout((function(){t.muted=r,o()}),0)}),0),t}console.log("ios device, do not do muted autoplay")}({player:this.player,mutedPreview:this.mutedPreview,captions:!!(null===(a=null===(i=this.blockAttributes)||void 0===i?void 0:i.mutedPreview)||void 0===a?void 0:a.captions),progress:null===(o=this.originalConfig)||void 0===o?void 0:o.ajaxProgress,savePosition:null===(l=this.originalConfig)||void 0===l?void 0:l.save_player_position,onPlay:function(){return s.play()}}))}},{key:"onPlayerReady",value:function(){var e,t,r=this;this.observer&&(this.observer.disconnect(),this.observer.observe(this.el)),this.currentTime=this.player.currentTime,this.duration=this.player.duration,this.mutedPreview=null===(t=null===(e=this.blockAttributes)||void 0===e?void 0:e.mutedPreview)||void 0===t?void 0:t.enabled,this.player.on("timeupdate loadedmetadata",(function(){r.currentTime=r.player.currentTime,r.duration=r.player.duration})),this.player.on("playing",(function(){return r.playClass="presto-player--playing"})),this.player.on("pause",(function(){return r.playClass="presto-player--paused"})),this.player.on("ended",(function(){return r.playClass="presto-player--ended"}))}},{key:"handlePlayerEvents",value:function(e){var t=this;e.on("ready",(function(e){t.player=e.detail.plyr,t.onPlayerReady()}))}},{key:"handleLazyLoadChange",value:function(){var e=this;"youtube"!==this.provider||this.shouldLazyLoad||this.isAdmin||setTimeout((function(){e.onReload("play")}),50)}},{key:"shouldLazyLoadVideo",value:function(){var e,t,r;return"youtube"===this.provider&&!this.autoplay&&!(null===(t=null===(e=this.blockAttributes)||void 0===e?void 0:e.mutedPreview)||void 0===t?void 0:t.enabled)&&!!(null===(r=this.preset)||void 0===r?void 0:r.lazy_load_youtube)}},{key:"componentWillLoad",value:function(){var e,t,r=null===(e=this.el.children)||void 0===e?void 0:e[0];r&&r.classList&&r.classList.contains("presto-iframe-fallback-container")&&r.remove(),this.shouldLazyLoad=this.shouldLazyLoadVideo(),this.i18n=null===(t=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===t?void 0:t.i18n,this.originalConfig||(this.originalConfig=this.getConfig()),this.trackIntersection()}},{key:"componentDidLoad",value:(p=Object(i.a)(f.a.mark((function e(){var t=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:setTimeout((function(){t.initialize()}),0);case 1:case"end":return e.stop()}}),e)}))),function(){return p.apply(this,arguments)})},{key:"initialize",value:(u=Object(i.a)(f.a.mark((function e(){var t;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createPlayer();case 2:return t=e.sent,this.handlePlayerEvents(t),this.syncVideoHeight(),dn(this.el,this.css),e.abrupt("return",t);case 7:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"onReload",value:(a=Object(i.a)(f.a.mark((function e(t){var r,n=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.initialize();case 2:r=e.sent,"play"==t&&r.on("ready",(function(){n.play(),r.muted=!0,r.muted=!1,r.off("ready",n.play)}));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"syncVideoHeight",value:(t=Object(i.a)(f.a.mark((function e(){var t,n=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("ResizeObserver"in window!=0){e.next=5;break}return e.next=3,r.e(0).then(r.bind(null,27));case 3:t=e.sent,window.ResizeObserver=t.ResizeObserver;case 5:new ResizeObserver((function(){n.isSticky||(n.videoHeight=n.el.getBoundingClientRect().height)})).observe(this.el);case 7:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"playVideoOnlyInViewport",value:function(){var e;!this.isAdmin&&(null===(e=this.preset)||void 0===e?void 0:e.play_video_viewport)&&this.player&&("visible"===document.visibilityState?this.observer.observe(this.el):(this.player.playing&&(this.previouslyPlaying=!0),this.pause(),this.observer.disconnect()))}},{key:"trackIntersection",value:function(){var e=this;this.observer=new IntersectionObserver((function(t){e.handleVisibilityIntersection(null==t?void 0:t[0])})),this.observer.observe(this.el)}},{key:"handleVisibilityIntersection",value:function(e){e&&(this.handleStickyScroll(e),this.handleVisibilityPlayChange(e))}},{key:"handleStickyScroll",value:function(e){var t,r,n=this;if(null===(t=this.preset)||void 0===t?void 0:t.sticky_scroll)if(this.isAdmin||this.mutedPreview||!(null===(r=null==this?void 0:this.player)||void 0===r?void 0:r.playing))this.isSticky=!1;else{var i=e.boundingClientRect;if(this.isSticky=i.height<-i.top,"visible"===document.visibilityState&&this.isSticky&&this.player){var a=function e(){window.removeEventListener("scroll",e),n.player.paused&&(n.isSticky=!1)};this.player.once("pause",(function(){window.addEventListener("scroll",a)}))}}}},{key:"handleVisibilityPlayChange",value:function(e){var t,r,n,i=this;if(!this.isAdmin&&(null===(t=this.preset)||void 0===t?void 0:t.play_video_viewport)&&(!this.player&&this.originalConfig.autoplay&&(this.previouslyPlaying=!0,this.autoplay=!!(null==e?void 0:e.isIntersecting)),this.player)){if(null==e?void 0:e.isIntersecting)return this.originalConfig.autoplay&&(this.autoplay=!0),this.previouslyPlaying&&this.play(),void(this.previouslyPlaying=!1);if("visible"!==document.visibilityState||!this.isSticky){if(null===(n=null===(r=this.blockAttributes)||void 0===r?void 0:r.mutedPreview)||void 0===n?void 0:n.enabled)return this.previouslyPlaying=!0,this.pause(),void this.player.once("playing",(function(){i.previouslyPlaying=!0,i.pause()}));this.player.playing&&(this.previouslyPlaying=!0),this.pause()}}}},{key:"renderMutedOverlay",value:function(){var e,t=this;if(this.player&&this.mutedPreview&&!this.isAdmin)return Object(m.d)("presto-muted-overlay",{mutedOverlay:null===(e=this.player.config.blockAttributes)||void 0===e?void 0:e.mutedOverlay,preset:this.preset,onPlayVideo:function(){t.mutedPreview=!1,t.play()}})}},{key:"renderVideo",value:function(){var e,t=this;switch(this.provider){case"vimeo":return Object(m.d)("presto-vimeo",{player:this.player,getRef:function(e){return t.playerEl=e},poster:this.poster,src:this.src});case"youtube":return Object(m.d)("presto-youtube",{onReload:function(e){return t.onReload(null==e?void 0:e.detail)},player:this.player,getRef:function(e){return t.playerEl=e},lazyLoad:this.shouldLazyLoad,poster:this.poster,src:this.src});case"bunny":return Object(m.d)("presto-bunny",{thumbnail:null===(e=null==this?void 0:this.bunny)||void 0===e?void 0:e.thumbnail,getRef:function(e){return t.playerEl=e},player:this.player,autoplay:this.autoplay,preload:this.preload,poster:this.poster,playsinline:this.playsinline,src:this.src,tracks:this.tracks});default:return Object(m.d)("presto-video",{getRef:function(e){return t.playerEl=e},player:this.player,autoplay:this.autoplay,preload:this.preload,poster:this.poster,playsinline:this.playsinline,src:this.src,tracks:this.tracks})}}},{key:"renderCTA",value:function(){var e,t,r,n=this;if((null===(e=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===e?void 0:e.isPremium)&&!this.isAdmin&&(null===(r=null===(t=this.preset)||void 0===t?void 0:t.email_collection)||void 0===r?void 0:r.enabled))return Object(m.d)("presto-cta-overlay",{direction:this.direction,player:this.player,preset:this.preset,i18n:this.i18n,onPlayVideo:function(){n.mutedPreview=!1,n.play()},onRewatchVideo:function(){n.mutedPreview=!1},"current-time":this.currentTime,duration:this.duration})}},{key:"renderEmailOverlay",value:function(){var e,t,r=this;if((null===(e=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===e?void 0:e.isPremium)&&!this.isAdmin&&!(null===(t=null===window||void 0===window?void 0:window.prestoPlayer)||void 0===t?void 0:t.logged_in))return Object(m.d)("presto-email-overlay",{direction:this.direction,player:this.player,preset:this.preset,videoId:this.video_id,i18n:this.i18n,onPlayVideo:function(){r.mutedPreview=!1,r.play()},currentTime:this.currentTime,duration:this.duration})}},{key:"renderActionBar",value:function(){var e,t;if(null===(t=null===(e=this.preset)||void 0===e?void 0:e.action_bar)||void 0===t?void 0:t.enabled)return Object(m.d)("presto-action-bar",{config:this.preset.action_bar,currentTime:this.currentTime,duration:this.duration,youtube:this.youtube})}},{key:"stickyPositionClass",value:function(){var e,t;return this.isSticky?(null===(e=this.preset)||void 0===e?void 0:e.sticky_scroll_position)?"presto-sticky--".concat(null===(t=this.preset)||void 0===t?void 0:t.sticky_scroll_position.replace(/\s+/g,"-")):"presto-sticky--bottom-right":""}},{key:"render",value:function(){var e,t,r,n,i;return Object(m.d)(m.a,{style:{height:this.isSticky?"".concat(this.videoHeight,"px"):"auto"}},Object(m.d)("div",{part:"wrapper",dir:this.direction,class:"presto-player__wrapper fitvidsignore\n presto-video-id-".concat(this.video_id,"\n ").concat(this.isSticky?"presto-sticky":"","\n ").concat(this.stickyPositionClass(),"\n ").concat("rtl"===this.direction?"rtl":"","\n ").concat(!!(null===(e=this.preset)||void 0===e?void 0:e.skin)&&"skin-".concat(null===(t=this.preset)||void 0===t?void 0:t.skin),"\n ").concat((null===(r=this.preset)||void 0===r?void 0:r.hide_youtube)?"hide-youtube-ui":"","\n ").concat((null===(n=this.preset)||void 0===n?void 0:n.caption_style)?"caption-style-".concat(null===(i=this.preset)||void 0===i?void 0:i.caption_style):"","\n ").concat(this.mutedPreview?"is-muted-overlay":"","\n ").concat(this.playClass?this.playClass:"")},Object(m.d)("div",null,Object(m.d)("slot",{name:"player-start"}),this.renderCTA(),this.renderEmailOverlay(),Object(m.d)("slot",{name:"player-before-video"}),this.renderVideo(),Object(m.d)("slot",{name:"player-after-video"}),this.renderActionBar(),this.renderMutedOverlay(),Object(m.d)("slot",{name:"player-end"}))))}},{key:"el",get:function(){return this}}],[{key:"watchers",get:function(){return{isSticky:["handleStickyChange"],playerEl:["handlePlayerElementChange"],currentTime:["handlePlayerElementChange"],mutedPreview:["handleMutedPreview"],shouldLazyLoad:["handleLazyLoadChange"]}}},{key:"style",get:function(){return'@charset "UTF-8";@keyframes plyr-progress{to{background-position:var(--plyr-progress-loading-size, 25px) 0}}@keyframes plyr-popup{0%{opacity:0.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{from{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;direction:ltr;display:flex;flex-direction:column;font-family:var(--plyr-font-family, inherit);font-variant-numeric:tabular-nums;font-weight:var(--plyr-font-weight-regular, 400);line-height:var(--plyr-line-height, 1.7);max-width:100%;min-width:200px;position:relative;text-shadow:none;transition:box-shadow 0.3s ease;z-index:0}.plyr video,.plyr audio,.plyr iframe{display:block;height:100%;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui *::after,.plyr--full-ui *::before{box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{touch-action:manipulation}.plyr__badge{background:var(--plyr-badge-background, #4a5464);border-radius:var(--plyr-badge-border-radius, 2px);color:var(--plyr-badge-text-color, #fff);font-size:var(--plyr-font-size-badge, 9px);line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in 0.3s ease;bottom:0;display:none;font-size:var(--plyr-font-size-small, 13px);left:0;padding:var(--plyr-control-spacing, 10px);position:absolute;text-align:center;transition:transform 0.4s ease-in-out;width:100%}.plyr__captions span:empty{display:none}@media (min-width: 480px){.plyr__captions{font-size:var(--plyr-font-size-base, 15px);padding:calc(var(--plyr-control-spacing, 10px) * 2)}}@media (min-width: 768px){.plyr__captions{font-size:var(--plyr-font-size-large, 18px)}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(calc(var(--plyr-control-spacing, 10px) * -4))}.plyr__caption{background:var(--plyr-captions-background, rgba(0, 0, 0, 0.8));border-radius:2px;box-decoration-break:clone;color:var(--plyr-captions-text-color, #fff);line-height:185%;padding:0.2em 0.5em;white-space:pre-wrap}.plyr__caption div{display:inline}.plyr__control{background:transparent;border:0;border-radius:var(--plyr-control-radius, 3px);color:inherit;cursor:pointer;flex-shrink:0;overflow:visible;padding:calc(var(--plyr-control-spacing, 10px) * 0.7);position:relative;transition:all 0.3s ease}.plyr__control svg{display:block;fill:currentColor;height:var(--plyr-control-icon-size, 18px);pointer-events:none;width:var(--plyr-control-icon-size, 18px)}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{outline-color:var(--plyr-tab-focus-color, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}a.plyr__control{text-decoration:none}a.plyr__control::after,a.plyr__control::before{display:none}.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,.plyr__control.plyr__control--pressed .label--not-pressed{display:none}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{align-items:center;display:flex;justify-content:flex-end;text-align:center}.plyr__controls .plyr__progress__container{flex:1;min-width:0}.plyr__controls .plyr__controls__item{margin-left:calc(var(--plyr-control-spacing, 10px) / 4)}.plyr__controls .plyr__controls__item:first-child{margin-left:0;margin-right:auto}.plyr__controls .plyr__controls__item.plyr__progress__container{padding-left:calc(var(--plyr-control-spacing, 10px) / 4)}.plyr__controls .plyr__controls__item.plyr__time{padding:0 calc(var(--plyr-control-spacing, 10px) / 2)}.plyr__controls .plyr__controls__item.plyr__progress__container:first-child,.plyr__controls .plyr__controls__item.plyr__time:first-child,.plyr__controls .plyr__controls__item.plyr__time+.plyr__time{padding-left:0}.plyr__controls:empty{display:none}.plyr [data-plyr=captions],.plyr [data-plyr=pip],.plyr [data-plyr=airplay],.plyr [data-plyr=fullscreen]{display:none}.plyr--captions-enabled [data-plyr=captions],.plyr--pip-supported [data-plyr=pip],.plyr--airplay-supported [data-plyr=airplay],.plyr--fullscreen-enabled [data-plyr=fullscreen]{display:inline-block}.plyr__menu{display:flex;position:relative}.plyr__menu .plyr__control svg{transition:transform 0.3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{animation:plyr-popup 0.2s ease;background:var(--plyr-menu-background, rgba(255, 255, 255, 0.9));border-radius:4px;bottom:100%;box-shadow:var(--plyr-menu-shadow, 0 1px 2px rgba(0, 0, 0, 0.15));color:var(--plyr-menu-color, #4a5464);font-size:var(--plyr-font-size-base, 15px);margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;transition:height 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1)}.plyr__menu__container::after{border:var(--plyr-menu-arrow-size, 4px) solid transparent;border-top-color:var(--plyr-menu-background, rgba(255, 255, 255, 0.9));content:"";height:0;position:absolute;right:calc(((var(--plyr-control-icon-size, 18px) / 2) + calc(var(--plyr-control-spacing, 10px) * 0.7)) - (var(--plyr-menu-arrow-size, 4px) / 2));top:100%;width:0}.plyr__menu__container [role=menu]{padding:calc(var(--plyr-control-spacing, 10px) * 0.7)}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{align-items:center;color:var(--plyr-menu-color, #4a5464);display:flex;font-size:var(--plyr-font-size-menu, var(--plyr-font-size-small, 13px));padding-bottom:calc(calc(var(--plyr-control-spacing, 10px) * 0.7) / 1.5);padding-left:calc(calc(var(--plyr-control-spacing, 10px) * 0.7) * 1.5);padding-right:calc(calc(var(--plyr-control-spacing, 10px) * 0.7) * 1.5);padding-top:calc(calc(var(--plyr-control-spacing, 10px) * 0.7) / 1.5);user-select:none;width:100%}.plyr__menu__container .plyr__control>span{align-items:inherit;display:flex;width:100%}.plyr__menu__container .plyr__control::after{border:var(--plyr-menu-item-arrow-size, 4px) solid transparent;content:"";position:absolute;top:50%;transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:calc(calc(var(--plyr-control-spacing, 10px) * 0.7) * 4)}.plyr__menu__container .plyr__control--forward::after{border-left-color:var(--plyr-menu-arrow-color, #728197);right:calc((calc(var(--plyr-control-spacing, 10px) * 0.7) * 1.5) - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--forward.plyr__tab-focus::after,.plyr__menu__container .plyr__control--forward:hover::after{border-left-color:currentColor}.plyr__menu__container .plyr__control--back{font-weight:var(--plyr-font-weight-regular, 400);margin:calc(var(--plyr-control-spacing, 10px) * 0.7);margin-bottom:calc(calc(var(--plyr-control-spacing, 10px) * 0.7) / 2);padding-left:calc(calc(var(--plyr-control-spacing, 10px) * 0.7) * 4);position:relative;width:calc(100% - (calc(var(--plyr-control-spacing, 10px) * 0.7) * 2))}.plyr__menu__container .plyr__control--back::after{border-right-color:var(--plyr-menu-arrow-color, #728197);left:calc((calc(var(--plyr-control-spacing, 10px) * 0.7) * 1.5) - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--back::before{background:var(--plyr-menu-back-border-color, #dcdfe5);box-shadow:0 1px 0 var(--plyr-menu-back-border-shadow-color, #fff);content:"";height:1px;left:0;margin-top:calc(calc(var(--plyr-control-spacing, 10px) * 0.7) / 2);overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back.plyr__tab-focus::after,.plyr__menu__container .plyr__control--back:hover::after{border-right-color:currentColor}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:calc(var(--plyr-control-spacing, 10px) * 0.7)}.plyr__menu__container .plyr__control[role=menuitemradio]::before,.plyr__menu__container .plyr__control[role=menuitemradio]::after{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]::before{background:rgba(0, 0, 0, 0.1);content:"";display:block;flex-shrink:0;height:16px;margin-right:var(--plyr-control-spacing, 10px);transition:all 0.3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]::after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform 0.3s ease, opacity 0.3s ease;width:6px}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]::before{background:var(--plyr-control-toggle-checked-background, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)))}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]::after{opacity:1;transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio].plyr__tab-focus::before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover::before{background:rgba(35, 40, 47, 0.1)}.plyr__menu__container .plyr__menu__value{align-items:center;display:flex;margin-left:auto;margin-right:calc((calc(var(--plyr-control-spacing, 10px) * 0.7) - 2) * -1);overflow:hidden;padding-left:calc(calc(var(--plyr-control-spacing, 10px) * 0.7) * 3.5);pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;background:transparent;border:0;border-radius:calc(var(--plyr-range-thumb-height, 13px) * 2);color:var(--plyr-range-fill-background, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)));display:block;height:calc((var(--plyr-range-thumb-active-shadow-width, 3px) * 2) + var(--plyr-range-thumb-height, 13px));margin:0;min-width:0;padding:0;transition:box-shadow 0.3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:transparent;border:0;border-radius:calc(var(--plyr-range-track-height, 5px) / 2);height:var(--plyr-range-track-height, 5px);transition:box-shadow 0.3s ease;user-select:none;background-image:linear-gradient(to right, currentColor var(--value, 0%), transparent var(--value, 0%))}.plyr--full-ui input[type=range]::-webkit-slider-thumb{background:var(--plyr-range-thumb-background, #fff);border:0;border-radius:100%;box-shadow:var(--plyr-range-thumb-shadow, 0 1px 1px rgba(35, 40, 47, 0.15), 0 0 0 1px rgba(35, 40, 47, 0.2));height:var(--plyr-range-thumb-height, 13px);position:relative;transition:all 0.2s ease;width:var(--plyr-range-thumb-height, 13px);-webkit-appearance:none;margin-top:calc(((var(--plyr-range-thumb-height, 13px) - var(--plyr-range-track-height, 5px)) / 2) * -1)}.plyr--full-ui input[type=range]::-moz-range-track{background:transparent;border:0;border-radius:calc(var(--plyr-range-track-height, 5px) / 2);height:var(--plyr-range-track-height, 5px);transition:box-shadow 0.3s ease;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:var(--plyr-range-thumb-background, #fff);border:0;border-radius:100%;box-shadow:var(--plyr-range-thumb-shadow, 0 1px 1px rgba(35, 40, 47, 0.15), 0 0 0 1px rgba(35, 40, 47, 0.2));height:var(--plyr-range-thumb-height, 13px);position:relative;transition:all 0.2s ease;width:var(--plyr-range-thumb-height, 13px)}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:calc(var(--plyr-range-track-height, 5px) / 2);height:var(--plyr-range-track-height, 5px)}.plyr--full-ui input[type=range]::-ms-track{background:transparent;border:0;border-radius:calc(var(--plyr-range-track-height, 5px) / 2);height:var(--plyr-range-track-height, 5px);transition:box-shadow 0.3s ease;user-select:none;color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper{background:transparent;border:0;border-radius:calc(var(--plyr-range-track-height, 5px) / 2);height:var(--plyr-range-track-height, 5px);transition:box-shadow 0.3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:transparent;border:0;border-radius:calc(var(--plyr-range-track-height, 5px) / 2);height:var(--plyr-range-track-height, 5px);transition:box-shadow 0.3s ease;user-select:none;background:currentColor}.plyr--full-ui input[type=range]::-ms-thumb{background:var(--plyr-range-thumb-background, #fff);border:0;border-radius:100%;box-shadow:var(--plyr-range-thumb-shadow, 0 1px 1px rgba(35, 40, 47, 0.15), 0 0 0 1px rgba(35, 40, 47, 0.2));height:var(--plyr-range-thumb-height, 13px);position:relative;transition:all 0.2s ease;width:var(--plyr-range-thumb-height, 13px);margin-top:0}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track{outline-color:var(--plyr-tab-focus-color, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}.plyr--full-ui input[type=range].plyr__tab-focus::-moz-range-track{outline-color:var(--plyr-tab-focus-color, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}.plyr--full-ui input[type=range].plyr__tab-focus::-ms-track{outline-color:var(--plyr-tab-focus-color, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}.plyr__poster{background-color:var(--plyr-video-background, var(--plyr-video-background, black));background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity 0.2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr--youtube.plyr--paused.plyr__poster-enabled:not(.plyr--stopped) .plyr__poster{display:none}.plyr__time{font-size:var(--plyr-font-size-time, var(--plyr-font-size-small, 13px))}.plyr__time+.plyr__time::before{content:"⁄";margin-right:var(--plyr-control-spacing, 10px)}@media (max-width: 767px){.plyr__time+.plyr__time{display:none}}.plyr__tooltip{background:var(--plyr-tooltip-background, rgba(255, 255, 255, 0.9));border-radius:var(--plyr-tooltip-radius, 3px);bottom:100%;box-shadow:var(--plyr-tooltip-shadow, 0 1px 2px rgba(0, 0, 0, 0.15));color:var(--plyr-tooltip-color, #4a5464);font-size:var(--plyr-font-size-small, 13px);font-weight:var(--plyr-font-weight-regular, 400);left:50%;line-height:1.3;margin-bottom:calc(calc(var(--plyr-control-spacing, 10px) / 2) * 2);opacity:0;padding:calc(var(--plyr-control-spacing, 10px) / 2) calc(calc(var(--plyr-control-spacing, 10px) / 2) * 1.5);pointer-events:none;position:absolute;transform:translate(-50%, 10px) scale(0.8);transform-origin:50% 100%;transition:transform 0.2s 0.1s ease, opacity 0.2s 0.1s ease;white-space:nowrap;z-index:2}.plyr__tooltip::before{border-left:var(--plyr-tooltip-arrow-size, 4px) solid transparent;border-right:var(--plyr-tooltip-arrow-size, 4px) solid transparent;border-top:var(--plyr-tooltip-arrow-size, 4px) solid var(--plyr-tooltip-background, rgba(255, 255, 255, 0.9));bottom:calc(var(--plyr-tooltip-arrow-size, 4px) * -1);content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr .plyr__control:hover .plyr__tooltip,.plyr .plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__tooltip--visible{opacity:1;transform:translate(-50%, 0) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip{left:0;transform:translate(0, 10px) scale(0.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child .plyr__tooltip::before,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip::before{left:calc((var(--plyr-control-icon-size, 18px) / 2) + calc(var(--plyr-control-spacing, 10px) * 0.7))}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translate(0, 10px) scale(0.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip::before{left:auto;right:calc((var(--plyr-control-icon-size, 18px) / 2) + calc(var(--plyr-control-spacing, 10px) * 0.7));transform:translateX(50%)}.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible{transform:translate(0, 0) scale(1)}.plyr__progress{left:calc(var(--plyr-range-thumb-height, 13px) * 0.5);margin-right:var(--plyr-range-thumb-height, 13px);position:relative}.plyr__progress input[type=range],.plyr__progress__buffer{margin-left:calc(var(--plyr-range-thumb-height, 13px) * -0.5);margin-right:calc(var(--plyr-range-thumb-height, 13px) * -0.5);width:calc(100% + var(--plyr-range-thumb-height, 13px))}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{font-size:var(--plyr-font-size-time, var(--plyr-font-size-small, 13px));left:0}.plyr__progress__buffer{-webkit-appearance:none;background:transparent;border:0;border-radius:100px;height:var(--plyr-range-track-height, 5px);left:0;margin-top:calc((var(--plyr-range-track-height, 5px) / 2) * -1);padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:transparent}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:var(--plyr-range-track-height, 5px);transition:width 0.2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:var(--plyr-range-track-height, 5px);transition:width 0.2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;transition:width 0.2s ease}.plyr--loading .plyr__progress__buffer{animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg, var(--plyr-progress-loading-background, rgba(35, 40, 47, 0.6)) 25%, transparent 25%, transparent 50%, var(--plyr-progress-loading-background, rgba(35, 40, 47, 0.6)) 50%, var(--plyr-progress-loading-background, rgba(35, 40, 47, 0.6)) 75%, transparent 75%, transparent);background-repeat:repeat-x;background-size:var(--plyr-progress-loading-size, 25px) var(--plyr-progress-loading-size, 25px);color:transparent}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:var(--plyr-video-progress-buffered-background, rgba(255, 255, 255, 0.25))}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:var(--plyr-audio-progress-buffered-background, rgba(193, 200, 209, 0.6))}.plyr__volume{align-items:center;display:flex;max-width:110px;min-width:80px;position:relative;width:20%}.plyr__volume input[type=range]{margin-left:calc(var(--plyr-control-spacing, 10px) / 2);margin-right:calc(var(--plyr-control-spacing, 10px) / 2);position:relative;z-index:2}.plyr--is-ios .plyr__volume{min-width:0;width:auto}.plyr--audio{display:block}.plyr--audio .plyr__controls{background:var(--plyr-audio-controls-background, #fff);border-radius:inherit;color:var(--plyr-audio-control-color, #4a5464);padding:var(--plyr-control-spacing, 10px)}.plyr--audio .plyr__control.plyr__tab-focus,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:var(--plyr-audio-control-background-hover, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)));color:var(--plyr-audio-control-color-hover, #fff)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:var(--plyr-audio-range-track-background, var(--plyr-audio-progress-buffered-background, rgba(193, 200, 209, 0.6)))}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:var(--plyr-audio-range-track-background, var(--plyr-audio-progress-buffered-background, rgba(193, 200, 209, 0.6)))}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:var(--plyr-audio-range-track-background, var(--plyr-audio-progress-buffered-background, rgba(193, 200, 209, 0.6)))}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:var(--plyr-range-thumb-shadow, 0 1px 1px rgba(35, 40, 47, 0.15), 0 0 0 1px rgba(35, 40, 47, 0.2)), 0 0 0 var(--plyr-range-thumb-active-shadow-width, 3px) var(--plyr-audio-range-thumb-active-shadow-color, rgba(35, 40, 47, 0.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:var(--plyr-range-thumb-shadow, 0 1px 1px rgba(35, 40, 47, 0.15), 0 0 0 1px rgba(35, 40, 47, 0.2)), 0 0 0 var(--plyr-range-thumb-active-shadow-width, 3px) var(--plyr-audio-range-thumb-active-shadow-color, rgba(35, 40, 47, 0.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:var(--plyr-range-thumb-shadow, 0 1px 1px rgba(35, 40, 47, 0.15), 0 0 0 1px rgba(35, 40, 47, 0.2)), 0 0 0 var(--plyr-range-thumb-active-shadow-width, 3px) var(--plyr-audio-range-thumb-active-shadow-color, rgba(35, 40, 47, 0.1))}.plyr--audio .plyr__progress__buffer{color:var(--plyr-audio-progress-buffered-background, rgba(193, 200, 209, 0.6))}.plyr--video{background:var(--plyr-video-background, var(--plyr-video-background, black));overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:var(--plyr-video-background, var(--plyr-video-background, black));margin:auto;overflow:hidden;position:relative;width:100%}.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{aspect-ratio:16/9}@supports not (aspect-ratio: 16/9){.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{height:0;padding-bottom:56.25%;position:relative}}.plyr__video-embed iframe,.plyr__video-wrapper--fixed-ratio video{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;transform:translateY(-38.28125%)}.plyr--video .plyr__controls{background:var(--plyr-video-controls-background, linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75)));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:var(--plyr-video-control-color, #fff);left:0;padding:calc(var(--plyr-control-spacing, 10px) / 2);padding-top:calc(var(--plyr-control-spacing, 10px) * 2);position:absolute;right:0;transition:opacity 0.4s ease-in-out, transform 0.4s ease-in-out;z-index:3}@media (min-width: 480px){.plyr--video .plyr__controls{padding:var(--plyr-control-spacing, 10px);padding-top:calc(var(--plyr-control-spacing, 10px) * 3.5)}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;transform:translateY(100%)}.plyr--video .plyr__control.plyr__tab-focus,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:var(--plyr-video-control-background-hover, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)));color:var(--plyr-video-control-color-hover, #fff)}.plyr__control--overlaid{background:var(--plyr-video-control-background-hover, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)));border:0;border-radius:100%;color:var(--plyr-video-control-color, #fff);display:none;left:50%;opacity:0.9;padding:calc(var(--plyr-control-spacing, 10px) * 1.5);position:absolute;top:50%;transform:translate(-50%, -50%);transition:0.3s;z-index:2}.plyr__control--overlaid svg{left:2px;position:relative}.plyr__control--overlaid:hover,.plyr__control--overlaid:focus{opacity:1}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:var(--plyr-video-range-track-background, var(--plyr-video-progress-buffered-background, rgba(255, 255, 255, 0.25)))}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:var(--plyr-video-range-track-background, var(--plyr-video-progress-buffered-background, rgba(255, 255, 255, 0.25)))}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:var(--plyr-video-range-track-background, var(--plyr-video-progress-buffered-background, rgba(255, 255, 255, 0.25)))}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:var(--plyr-range-thumb-shadow, 0 1px 1px rgba(35, 40, 47, 0.15), 0 0 0 1px rgba(35, 40, 47, 0.2)), 0 0 0 var(--plyr-range-thumb-active-shadow-width, 3px) var(--plyr-audio-range-thumb-active-shadow-color, rgba(255, 255, 255, 0.5))}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:var(--plyr-range-thumb-shadow, 0 1px 1px rgba(35, 40, 47, 0.15), 0 0 0 1px rgba(35, 40, 47, 0.2)), 0 0 0 var(--plyr-range-thumb-active-shadow-width, 3px) var(--plyr-audio-range-thumb-active-shadow-color, rgba(255, 255, 255, 0.5))}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:var(--plyr-range-thumb-shadow, 0 1px 1px rgba(35, 40, 47, 0.15), 0 0 0 1px rgba(35, 40, 47, 0.2)), 0 0 0 var(--plyr-range-thumb-active-shadow-width, 3px) var(--plyr-audio-range-thumb-active-shadow-color, rgba(255, 255, 255, 0.5))}.plyr--video .plyr__progress__buffer{color:var(--plyr-video-progress-buffered-background, rgba(255, 255, 255, 0.25))}.plyr:fullscreen{background:#000;border-radius:0 !important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width: 1024px){.plyr:fullscreen .plyr__captions{font-size:var(--plyr-font-size-xlarge, 21px)}}.plyr:-webkit-full-screen{background:#000;border-radius:0 !important;height:100%;margin:0;width:100%}.plyr:-webkit-full-screen video{height:100%}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}@media (min-width: 1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:var(--plyr-font-size-xlarge, 21px)}}.plyr:-moz-full-screen{background:#000;border-radius:0 !important;height:100%;margin:0;width:100%}.plyr:-moz-full-screen video{height:100%}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-moz-full-screen.plyr--hide-controls{cursor:none}@media (min-width: 1024px){.plyr:-moz-full-screen .plyr__captions{font-size:var(--plyr-font-size-xlarge, 21px)}}.plyr:-ms-fullscreen{background:#000;border-radius:0 !important;height:100%;margin:0;width:100%}.plyr:-ms-fullscreen video{height:100%}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-ms-fullscreen.plyr--hide-controls{cursor:none}@media (min-width: 1024px){.plyr:-ms-fullscreen .plyr__captions{font-size:var(--plyr-font-size-xlarge, 21px)}}.plyr--fullscreen-fallback{background:#000;border-radius:0 !important;height:100%;margin:0;width:100%;bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width: 1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:var(--plyr-font-size-xlarge, 21px)}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads::after{background:#23282f;border-radius:2px;bottom:var(--plyr-control-spacing, 10px);color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:var(--plyr-control-spacing, 10px);z-index:3}.plyr__ads::after:empty{display:none}.plyr__cues{background:currentColor;display:block;height:var(--plyr-range-track-height, 5px);left:0;margin:-var(--plyr-range-track-height, 5px)/2 0 0;opacity:0.8;position:absolute;top:50%;width:3px;z-index:3}.plyr__preview-thumb{background-color:var(--plyr-tooltip-background, rgba(255, 255, 255, 0.9));border-radius:3px;bottom:100%;box-shadow:var(--plyr-tooltip-shadow, 0 1px 2px rgba(0, 0, 0, 0.15));margin-bottom:calc(calc(var(--plyr-control-spacing, 10px) / 2) * 2);opacity:0;padding:var(--plyr-tooltip-radius, 3px);pointer-events:none;position:absolute;transform:translate(0, 10px) scale(0.8);transform-origin:50% 100%;transition:transform 0.2s 0.1s ease, opacity 0.2s 0.1s ease;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0, 0) scale(1)}.plyr__preview-thumb::before{border-left:var(--plyr-tooltip-arrow-size, 4px) solid transparent;border-right:var(--plyr-tooltip-arrow-size, 4px) solid transparent;border-top:var(--plyr-tooltip-arrow-size, 4px) solid var(--plyr-tooltip-background, rgba(255, 255, 255, 0.9));bottom:calc(var(--plyr-tooltip-arrow-size, 4px) * -1);content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#c1c8d1;border-radius:calc(var(--plyr-tooltip-radius, 3px) - 1px);overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img{height:100%;left:0;max-height:none;max-width:none;position:absolute;top:0;width:100%}.plyr__preview-thumb__time-container{bottom:6px;left:0;position:absolute;right:0;white-space:nowrap;z-index:3}.plyr__preview-thumb__time-container span{background-color:rgba(0, 0, 0, 0.55);border-radius:calc(var(--plyr-tooltip-radius, 3px) - 1px);color:#fff;font-size:var(--plyr-font-size-time, var(--plyr-font-size-small, 13px));padding:3px 6px}.plyr__preview-scrubbing{bottom:0;filter:blur(1px);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;transition:opacity 0.3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none !important}.plyr__sr-only{clip:rect(1px, 1px, 1px, 1px);overflow:hidden;border:0 !important;height:1px !important;padding:0 !important;position:absolute !important;width:1px !important}.plyr [hidden]{display:none !important}video,iframe{max-width:100%}.plyr--html5 .plyr__video-wrapper,.plyr--youtube .plyr__video-wrapper{height:100%}.presto-player__wrapper{position:relative;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.presto-player__wrapper.rtl{direction:rtl}.presto-player__wrapper img{max-width:100%}.presto-player__wrapper .plyr.plyr--video.plyr--menu-open{overflow:hidden}.presto-player__wrapper .plyr--fullscreen-fallback.plyr--vimeo .plyr__video-wrapper{top:50%;transform:translateY(-50%)}.presto-player__wrapper .plyr--fullscreen-fallback.plyr{border-radius:0 !important}.presto-player__wrapper .plyr--fullscreen-fallback.plyr iframe{border-radius:0 !important}.presto-player__wrapper .plyr__menu__container{overflow:auto}.presto-player__wrapper .plyr__menu__container:after{display:none}.presto-player__wrapper img{border:none}.presto-player__wrapper video{margin:auto}.presto-player__wrapper iframe{height:100%}.presto-player__wrapper .plyr--video .plyr__control:active,.presto-player__wrapper .plyr--video .plyr__control:focus{background:#00b3ff;background:var(--plyr-video-control-background-hover, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)));color:#fff;color:var(--plyr-video-control-color-hover, #fff)}.presto-player__wrapper .plyr__poster{background-size:cover;z-index:2}.presto-player__wrapper .presto-player__logo{margin:0;display:block;position:absolute;z-index:3;opacity:0.5;object-fit:contain;transition:bottom 0.4s ease-in-out;max-width:var(--presto-player-logo-width, 75px)}.presto-player__wrapper .presto-player__logo.is-bottom-right{left:auto;right:20px;top:auto;bottom:60px}.presto-player__wrapper .presto-player__logo.is-bottom-left{left:20px;right:auto;top:auto;bottom:60px}@media screen and (min-width: 380px){.presto-player__wrapper.presto-player--hide-controls .presto-player__logo.is-bottom-right,.presto-player__wrapper.presto-player--hide-controls .presto-player__logo.is-bottom-left,.presto-player__wrapper .plyr--hide-controls .presto-player__logo.is-bottom-right,.presto-player__wrapper .plyr--hide-controls .presto-player__logo.is-bottom-left{bottom:20px}}.presto-player__wrapper .presto-player-progress__marker{width:16px;height:16px;padding:0;border:2px solid rgba(255, 255, 255, 0.5);position:absolute;border-radius:9999px;bottom:calc(50% - 8px);z-index:9;margin-left:-8px !important}.presto-player__wrapper.presto-player--ended .plyr--youtube .plyr__poster{display:none}.presto-player__wrapper.presto-player--ended .plyr--youtube .plyr__control.plyr__control--overlaid{display:none}.presto-player__wrapper button.plyr__control.plyr__control--overlaid:focus{background:inherit;border:none;outline:0;position:absolute;top:50%;transform:translate(-50%, -50%)}.presto-player__wrapper .plyr__controls__item.plyr__progress__container{position:relative}.presto-player__wrapper .plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{box-shadow:none}.presto-player__wrapper .plyr--video .plyr__controls{background:var(--plyr-video-controls-background, linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75)))}.presto-player__wrapper .presto-player-toc{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";line-height:1.4;position:absolute;top:auto;right:0;left:0;bottom:0;max-height:calc(100%);max-width:calc(100%);background:rgba(255, 255, 255, 0.9);background:var(--plyr-menu-background, rgba(255, 255, 255, 0.9));left:auto;padding:20px 15px;border-radius:4px;width:100%;z-index:9;box-shadow:0 1px 2px rgba(0, 0, 0, 0.15);box-shadow:var(--plyr-menu-shadow, 0 1px 2px rgba(0, 0, 0, 0.15));color:#4a5464;color:var(--plyr-menu-color, #4a5464);font-size:15px;font-size:var(--plyr-font-size-base, 15px);white-space:nowrap;z-index:3;display:flex;flex-direction:column;transition:bottom 0.25s ease}@media screen and (min-width: 380px){.presto-player__wrapper .presto-player-toc{right:20px;bottom:60px;width:300px;max-height:calc(100% - 80px);max-width:calc(100vw - 70px)}}.presto-player__wrapper .presto-player-toc__wrapper{position:absolute;top:0;left:0;bottom:0;right:0;z-index:3;visibility:hidden;opacity:0;transition:opacity 0.3s ease-in-out, visibility 0.3s ease-in-out}.presto-player__wrapper .presto-player-toc__wrapper.is-showing{visibility:visible;opacity:1}.presto-player__wrapper .presto-player-toc__cover{position:absolute;top:0;left:0;bottom:0;right:0;z-index:3}.presto-player__wrapper .presto-player-toc__list{flex:1;overflow:auto}.presto-player__wrapper .presto-player-toc__title{font-size:12px;font-weight:bold;margin-bottom:10px;margin-left:10px;margin-right:10px;display:none}@media screen and (min-width: 380px){.presto-player__wrapper .presto-player-toc__title{display:block}}.presto-player__wrapper .presto-player-toc__name{white-space:nowrap;overflow:hidden;width:100%;text-overflow:ellipsis}.presto-player__wrapper .presto-player-toc__chapter{padding:12px;border-radius:3px;cursor:pointer;line-height:1;display:flex;align-items:center;transition:background-color 0.4s ease, color 0.4s ease;margin-bottom:2px;position:relative}.presto-player__wrapper .presto-player-toc__chapter:last-child{margin-bottom:0}.presto-player__wrapper .presto-player-toc__chapter.is-highlighted,.presto-player__wrapper .presto-player-toc__chapter:hover{background:#00b3ff;background:var(--plyr-video-control-background-hover, var(--plyr-color-main, var(--plyr-color-main, #00b3ff)));color:#fff;color:var(--plyr-video-control-color-hover, #fff)}.presto-player__wrapper .presto-player-toc__chapter.is-highlighted{padding-right:30px}.presto-player__wrapper .presto-player-toc__chapter.is-highlighted:after{background:rgba(255, 255, 255, 0.5);content:"";display:block;flex-shrink:0;height:8px;width:8px;margin-right:10px;margin-right:var(--plyr-control-spacing, 10px);transition:all 0.3s ease;border-radius:9999px;position:absolute;right:7px}.presto-player__wrapper .presto-player-toc__order{margin-right:12px;opacity:0.5}.presto-player__wrapper.rtl{direction:rtl}.presto-player__wrapper.rtl .presto-player-toc__order{order:2;margin-left:12px;margin-right:0}.presto-player__wrapper.rtl .presto-player-toc__name{direction:rtl}.presto-player__wrapper .presto-player-error{position:absolute;top:0;left:0;bottom:0;right:0;background:rgba(0, 0, 0, 0.9);color:#fff;display:flex;align-items:center;justify-content:center;z-index:10;text-align:center}.presto-player__wrapper .presto-player-error__title{font-size:18px;font-weight:bold;margin-bottom:8px}.presto-player__wrapper .presto-player-error__description{opacity:0.75}.presto-player__wrapper.hide-youtube-ui .plyr__video-embed iframe{top:-50%;height:200%}.presto-player__wrapper .plyr--vimeo.plyr--playing .plyr__video-embed__container{pointer-events:none}.presto-player__wrapper .plyr__control--overlaid{border-radius:6px;padding-left:26px;padding-right:26px;position:absolute !important;top:50% !important}.presto-player__wrapper.skin-stacked .plyr__controls{flex-wrap:wrap}.presto-player__wrapper.skin-stacked .presto-player-progress__marker{transform:scale(0.75)}.presto-player__wrapper.skin-stacked .plyr__controls{justify-content:flex-start}.presto-player__wrapper.skin-stacked .plyr__controls__item.plyr__progress__container{order:-1;flex:1 0 100%}.presto-player__wrapper.skin-stacked .plyr__controls__item.plyr__progress__container+:not(.plyr__time),.presto-player__wrapper.skin-stacked .plyr__controls__item.plyr__progress__container+.plyr__time+*{margin-left:auto}.presto-player__wrapper.skin-stacked .plyr__controls .plyr__controls__item:first-child{margin:0}.presto-player__wrapper.skin-stacked .plyr__progress{height:19px;display:flex;align-items:center}.presto-player__wrapper.skin-stacked .plyr__progress .plyr__progress__buffer{height:3px;transition:all 0.25s ease;position:absolute;top:calc(50% + 1px)}.presto-player__wrapper.skin-stacked .plyr__progress input[type=range]::-moz-range-track{height:3px;transition:all 0.25s ease}.presto-player__wrapper.skin-stacked .plyr__progress input[type=range]::-webkit-slider-runnable-track{height:3px;transition:all 0.25s ease}.presto-player__wrapper.skin-stacked .plyr__progress input[type=range]::-ms-track{height:3px;transition:all 0.25s ease}.presto-player__wrapper.skin-stacked .plyr__progress input[type=range]::-ms-fill-upper{height:3px;transition:all 0.25s ease}.presto-player__wrapper.skin-stacked .plyr__progress input[type=range]::-ms-fill-lower{height:3px;transition:height 0.25s ease}.presto-player__wrapper.skin-stacked .plyr__progress input[type=range]::-webkit-slider-thumb{visibility:hidden;opacity:0;transition:opacity 0.25s ease}.presto-player__wrapper.skin-stacked .plyr__progress input[type=range]::-moz-range-thumb{visibility:hidden;opacity:0;transition:opacity 0.25s ease}.presto-player__wrapper.skin-stacked .plyr__progress input[type=range]::-ms-thumb{visibility:hidden;opacity:0;transition:opacity 0.25s ease}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .presto-player-progress__marker{transform:scale(1)}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .plyr__progress .plyr__progress__buffer{height:5px;top:calc(50%)}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .plyr__progress input[type=range]{overflow:visible}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .plyr__progress input[type=range]::-moz-range-track{height:5px}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .plyr__progress input[type=range]::-webkit-slider-runnable-track{height:5px}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .plyr__progress input[type=range]::-ms-track{height:5px}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .plyr__progress input[type=range]::-ms-fill-upper{height:5px}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .plyr__progress input[type=range]::-ms-fill-lower{height:5px}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .plyr__progress input[type=range]::-webkit-slider-thumb{visibility:visible;opacity:1}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .plyr__progress input[type=range]::-moz-range-thumb{visibility:visible;opacity:1}.presto-player__wrapper.skin-stacked .plyr__progress__container:hover .plyr__progress input[type=range]::-ms-thumb{visibility:visible;opacity:1}.presto-sticky-parent{z-index:99998}@media screen and (min-width: 960px){.presto-sticky{--presto-sticky-space:15px;position:fixed;z-index:3000;max-width:var(--presto-sticky-width, 380px);width:100vw}.presto-sticky .plyr__controls,.presto-sticky .presto-player-toc__wrapper,.presto-sticky presto-action-bar,.presto-sticky .presto-player__logo{display:none}.presto-sticky--top-left{top:var(--presto-sticky-space);left:var(--presto-sticky-space)}.presto-sticky--top-center{top:var(--presto-sticky-space);left:0;right:0;margin:0 auto}.presto-sticky--top-right{top:var(--presto-sticky-space);right:var(--presto-sticky-space)}.presto-sticky--center-left{top:0;bottom:0;margin:auto 0;left:var(--presto-sticky-space);display:flex;align-items:center}.presto-sticky--center-center{top:0;bottom:0;right:0;left:0;margin:auto;display:flex;align-items:center}.presto-sticky--center-right{top:0;bottom:0;margin:auto 0;right:var(--presto-sticky-space);display:flex;align-items:center}.presto-sticky--bottom-left{bottom:var(--presto-sticky-space);left:var(--presto-sticky-space)}.presto-sticky--bottom-center{bottom:var(--presto-sticky-space);left:0;right:0;margin:0 auto}.presto-sticky--bottom-right{bottom:var(--presto-sticky-space);right:var(--presto-sticky-space)}}.presto-player__overlay{position:absolute;top:50%;left:50%;z-index:3}.presto-player__muted-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.presto-player__muted-overlay .plyr__control--overlaid{display:block;opacity:1;visibility:visible}.presto-player__wrapper.is-muted-overlay{cursor:pointer}.presto-player__wrapper.is-muted-overlay .plyr--playing .presto-player__muted-overlay .plyr__control--overlaid{opacity:1;visibility:visible}.presto-player__wrapper.is-muted-overlay .presto-player__logo{display:none}.presto-player__wrapper.is-muted-overlay .plyr__controls{display:none}.presto-player__wrapper.is-muted-overlay .plyr .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(0) !important}.presto-player__wrapper.rtl .plyr__captions{direction:rtl}.presto-player__wrapper.caption-style-full .plyr__captions{background:var(--plyr-captions-background, rgba(0, 0, 0, 0.8));padding-top:0;padding-bottom:0}.presto-player__wrapper.caption-style-full .plyr:not(.plyr--hide-controls):not(.is-muted-overlay) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(calc(var(--plyr-control-spacing, 13px) * -4))}.presto-player__wrapper.caption-style-full.skin-stacked .plyr:not(.plyr--hide-controls):not(.is-muted-overlay) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(calc(var(--plyr-control-spacing, 17px) * -4))}.presto-player__play-cover{cursor:pointer;position:absolute;top:0;left:0;right:0;bottom:0;z-index:99}.presto-player__chapters{width:100%;position:absolute;top:0;height:100%}.presto-player__chapter-markers{margin:0 8px;height:100%;position:relative}.presto-player-progress__marker.plyr__controls__item.plyr__control:hover{border:0;background:#fff}.presto-iframe-fallback-container{position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden}.presto-iframe-fallback-container embed,.presto-iframe-fallback-container iframe,.presto-iframe-fallback-container object{position:absolute;top:0;left:0;width:100%;height:100%}'}}]),O}(Object(d.a)(HTMLElement)),fn=function(e,t){return M(t)},mn=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),Object(m.b)(Object(s.a)(e)),e.prestoBlur=Object(m.c)(Object(s.a)(e),"prestoBlur",7),e.prestoFocus=Object(m.c)(Object(s.a)(e),"prestoFocus",7),e.hasFocus=!1,e.hasLabel=!1,e.hasPrefix=!1,e.hasSuffix=!1,e.type="default",e.size="medium",e.full=!1,e.disabled=!1,e.submit=!1,e}return Object(l.a)(r,[{key:"componentWillLoad",value:function(){this.handleSlotChange()}},{key:"click",value:function(){this.button.click()}},{key:"focus",value:function(e){this.button.focus(e)}},{key:"blur",value:function(){this.button.blur()}},{key:"handleSlotChange",value:function(){this.hasLabel=!!this.button.children,this.hasPrefix=!!this.button.querySelector('[slot="prefix"]'),this.hasSuffix=!!this.button.querySelector('[slot="suffix"]')}},{key:"handleBlur",value:function(){this.hasFocus=!1,this.prestoBlur.emit()}},{key:"handleFocus",value:function(){this.hasFocus=!0,this.prestoFocus.emit()}},{key:"handleClick",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"render",value:function(){var e=this,t=!!this.href,r=Object(m.d)(fn,null,Object(m.d)("span",{part:"prefix",class:"button__prefix"},Object(m.d)("slot",{onSlotchange:function(){return e.handleSlotChange()},name:"prefix"})),Object(m.d)("span",{part:"label",class:"button__label"},Object(m.d)("slot",{onSlotchange:function(){return e.handleSlotChange()}})),Object(m.d)("span",{part:"suffix",class:"button__suffix"},Object(m.d)("slot",{onSlotchange:function(){return e.handleSlotChange()},name:"suffix"}))),n=Object(m.d)("button",{part:"base",class:{button:!0,"button--default":"default"===this.type,"button--primary":"primary"===this.type,"button--success":"success"===this.type,"button--info":"info"===this.type,"button--warning":"warning"===this.type,"button--danger":"danger"===this.type,"button--text":"text"===this.type,"button--small":"small"===this.size,"button--medium":"medium"===this.size,"button--large":"large"===this.size,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--has-label":this.hasLabel,"button--has-prefix":this.hasPrefix,"button--has-suffix":this.hasSuffix},disabled:this.disabled,type:this.submit?"submit":"button",name:this.name,value:this.value,onBlur:function(){return e.handleBlur},onFocus:function(){return e.handleFocus},onClick:function(){return e.handleClick}},r),i=Object(m.d)("a",{part:"base",class:{button:!0,"button--default":"default"===this.type,"button--primary":"primary"===this.type,"button--success":"success"===this.type,"button--info":"info"===this.type,"button--warning":"warning"===this.type,"button--danger":"danger"===this.type,"button--text":"text"===this.type,"button--small":"small"===this.size,"button--medium":"medium"===this.size,"button--large":"large"===this.size,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--has-label":this.hasLabel,"button--has-prefix":this.hasPrefix,"button--has-suffix":this.hasSuffix},href:this.href,target:this.target,download:this.download,rel:this.target?"noreferrer noopener":void 0,role:"button","aria-disabled":this.disabled?"true":"false",tabindex:this.disabled?"-1":"0",onBlur:function(){return e.handleBlur},onFocus:function(){return e.handleFocus},onClick:function(){return e.handleClick}},r);return t?i:n}},{key:"button",get:function(){return this}}],[{key:"style",get:function(){return":host{display:inline-block;width:auto;cursor:pointer}:host([full]){display:block}.button{display:inline-flex;align-items:stretch;justify-content:center;width:100%;border-style:solid;border-width:var(--presto-player-button-border-width);font-family:var(--plyr-font-family, inherit);font-weight:var(--presto-player-button-font-weight, 500);text-decoration:none;user-select:none;white-space:nowrap;vertical-align:middle;padding:0;transition:var(--presto--player-transition-fast, 150ms) background-color, var(--presto-player-transition-fast, 150ms) color, var(--presto-player-transition-fast, 150ms) border, var(--presto--player-transition-fast, 150ms) box-shadow;cursor:inherit;border-radius:var(--presto-player-button-border-radius, 0.25rem)}.button::-moz-focus-inner{border:0}.button:focus{outline:none}.button.button--disabled{opacity:0.5;cursor:not-allowed}.button.button--disabled *{pointer-events:none}.button ::slotted(.presto--icon){pointer-events:none}.button__prefix,.button__suffix{flex:0 0 auto;display:flex;align-items:center}.button__label{display:flex;align-items:center}.button__label ::slotted(presto-icon){vertical-align:-2px}.button.button--default{background-color:var(--presto-player-color-white, #fff);border-color:var(--presto-player-color-gray-300, #d1d5db);color:var(--presto-player-color-gray-600, #4b5563)}.button.button--default:hover:not(.button--disabled){border-color:var(--presto-player-button-color, var(--plyr-color-main));color:var(--presto-player-button-color, var(--plyr-color-main));opacity:0.75}.button.button--default:focus:not(.button--disabled){border-color:var(--presto-player-button-color, var(--plyr-color-main));color:var(--presto-player-button-color, var(--plyr-color-main));opacity:1}.button.button--default:active:not(.button--disabled){border-color:var(--presto-player-button-color, var(--plyr-color-main));color:var(--presto-player-button-color, var(--plyr-color-main));opacity:1}.button.button--primary{background-color:var(--presto-player-button-color, var(--plyr-color-main));border-color:var(--presto-player-button-color, var(--plyr-color-main));color:var(--presto-player-button-text, #fff)}.button.button--primary:hover:not(.button--disabled){opacity:0.9}.button.button--primary:focus:not(.button--disabled){opacity:1}.button.button--primary:active:not(.button--disabled){opacity:1}.button--text{background-color:transparent;border-color:transparent;color:var(--presto-player-button-color, var(--plyr-color-main))}.button--text:hover:not(.button--disabled){background-color:transparent;border-color:transparent;opacity:0.8}.button--text:focus:not(.button--disabled){background-color:transparent;border-color:transparent;opacity:0.7}.button--text:active:not(.button--disabled){background-color:transparent;border-color:transparent;opacity:0.7}.button--small{font-size:var(--presto-player-button-font-size-small, 0.875rem);height:var(--presto-player-button-height-small, 1.875rem);line-height:calc(var(--presto-player-button-height-small, 1.875rem) - var(--presto-player-button-border-width, 1px) * 2)}.button--medium{font-size:var(--presto-player-button-font-size-medium, 1rem);height:var(--presto-player-button-height-medium, 2.5rem);line-height:calc(var(--presto-player-button-height-medium, 2.5rem) - var(--presto-player-button-border-width, 1px) * 2)}.button--large{font-size:var(--presto-player-button-font-size-large, 1.25rem);height:var(--presto-player-button-height-large, 3.125rem);line-height:calc(var(--presto-player-button-height-large, 3.125rem) - var(--presto-player-button-border-width, 1px) * 2)}.button--full{display:block}.button--has-label.button--small .button__label{padding:0 var(--presto-player-button-spacing-small, 0.75rem)}.button--has-label.button--medium .button__label{padding:0 var(--presto-player-button-spacing-medium, 1rem)}.button--has-label.button--large .button__label{padding:0 var(--presto-player-button-spacing-large, 1.25rem)}.button--has-prefix.button--small{padding-left:var(--presto-player-button-spacing-x-small, 0.5rem)}.button--has-prefix.button--small .button__label{padding-left:var(--presto-player-button-spacing-x-small, 0.5rem)}.button--has-prefix.button--medium{padding-left:var(--presto-player-button-spacing-small, 0.75rem)}.button--has-prefix.button--medium .button__label{padding-left:var(--presto-player-button-spacing-small, 0.75rem)}.button--has-prefix.button--large{padding-left:var(--presto-player-button-spacing-small, 0.75rem)}.button--has-prefix.button--large .button__label{padding-left:var(--presto-player-button-spacing-small, 0.75rem)}.button--has-suffix.button--small,.button--caret.button--small{padding-right:var(--presto-player-button-spacing-x-small, 0.5rem)}.button--has-suffix.button--small .button__label,.button--caret.button--small .button__label{padding-right:var(--presto-player-button-spacing-x-small, 0.5rem)}.button--has-suffix.button--medium,.button--caret.button--medium{padding-right:var(--presto-player-button-spacing-small, 0.75rem)}.button--has-suffix.button--medium .button__label,.button--caret.button--medium .button__label{padding-right:var(--presto-player-button-spacing-small, 0.75rem)}.button--has-suffix.button--large,.button--caret.button--large{padding-right:var(--presto-player-button-spacing-small, 0.75rem)}.button--has-suffix.button--large .button__label,.button--caret.button--large .button__label{padding-right:var(--presto-player-button-spacing-small, 0.75rem)}"}}]),r}(Object(d.a)(HTMLElement)),yn=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),Object(m.b)(Object(s.a)(e)),e.effect="sheen",e}return Object(l.a)(r,[{key:"render",value:function(){return Object(m.d)("div",{part:"base",class:{skeleton:!0,"skeleton--pulse":"pulse"===this.effect,"skeleton--sheen":"sheen"===this.effect},"aria-busy":"true","aria-live":"polite"},Object(m.d)("div",{part:"indicator",class:"skeleton__indicator"}))}}],[{key:"style",get:function(){return":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{--border-radius:var(--presto-player-border-radius-pill);--color:#e5e7eb;--sheen-color:#f3f4f6;display:block;position:relative}.skeleton{display:flex;width:100%;height:100%;min-height:1rem}.skeleton__indicator{flex:1 1 auto;background:var(--color);border-radius:var(--border-radius)}.skeleton--sheen .skeleton__indicator{background:linear-gradient(270deg, var(--sheen-color), var(--color), var(--color), var(--sheen-color));background-size:400% 100%;background-size:400% 100%;animation:sheen 8s ease-in-out infinite}.skeleton--pulse .skeleton__indicator{animation:pulse 2s ease-in-out 0.5s infinite}@keyframes sheen{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}"}}]),r}(Object(d.a)(HTMLElement)),gn=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),Object(m.b)(Object(s.a)(e)),e}return Object(l.a)(r,[{key:"render",value:function(){return Object(m.d)("span",{part:"base",class:"spinner","aria-busy":"true","aria-live":"polite"})}}],[{key:"style",get:function(){return":host{position:relative;box-sizing:border-box;--track-color:#0d131e20;--indicator-color:var(--plyr-color-main);--stroke-width:2px;display:inline-flex}:host *,:host *:before,:host *:after{box-sizing:inherit}.spinner{display:inline-block;width:1em;height:1em;border-radius:50%;border:solid var(--stroke-width) var(--track-color);border-top-color:var(--indicator-color);border-right-color:var(--indicator-color);animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}"}}]),r}(Object(d.a)(HTMLElement)),vn=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),e}return Object(l.a)(r,[{key:"render",value:function(){return Object(m.d)("video",{class:"presto-player__player",part:"video",ref:this.getRef,autoplay:this.autoplay,preload:this.preload,"data-poster":this.poster,playsinline:this.playsinline},Object(m.d)("source",{src:this.src}),!!this.tracks&&!!this.tracks.length&&this.tracks.map((function(e){return Object(m.d)("track",{kind:"captions",label:(null==e?void 0:e.label)?e.label:"Captions",src:null==e?void 0:e.src,srclang:(null==e?void 0:e.srcLang)?null==e?void 0:e.srcLang:"en"})})))}}],[{key:"style",get:function(){return":host{display:block}"}}]),r}(Object(d.a)(HTMLElement)),bn=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),Object(m.b)(Object(s.a)(e)),e}return Object(l.a)(r,[{key:"render",value:function(){return Object(m.d)("div",{class:"curtain"},Object(m.d)("div",{class:"content",part:"curtain-content"},Object(m.d)("slot",null)))}}],[{key:"style",get:function(){return':host{font-size:16px}.curtain{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background-color:#000;text-align:center;color:#fff;padding-bottom:56.25%;position:relative;font-size:1.5em}::slotted(:not(:first-child)){margin-top:14px}.content{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:48px}'}}]),r}(Object(d.a)(HTMLElement)),_n=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),e}return Object(l.a)(r,[{key:"getId",value:function(e){var t=/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/))?([0-9]+)/.exec(e||"");return(null==t?void 0:t[5])||""}},{key:"render",value:function(){if(this.src)return v()?Object(m.d)("div",{class:"presto-iframe-fallback-container"},Object(m.d)("iframe",{src:"https://player.vimeo.com/video/".concat(this.getId(this.src),"?loop=false&amp;byline=false&amp;portrait=false&amp;title=false&amp;speed=true&amp;transparent=0&amp;gesture=media"),allowFullScreen:!0,allowTransparency:!0,allow:"autoplay",style:{width:"100%"},class:"presto-fallback-iframe"})):Object(m.d)("div",{class:"plyr__video-embed",part:"embed",ref:this.getRef,"data-plyr-provider":"vimeo","data-plyr-embed-id":this.getId(this.src)})}}],[{key:"style",get:function(){return":host{display:block}"}}]),r}(Object(d.a)(HTMLElement)),wn=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),e.reload=Object(m.c)(Object(s.a)(e),"reload",7),e}return Object(l.a)(r,[{key:"handlePlayerChange",value:function(){this.player&&(this.player.ratio="16:9",this.fixes())}},{key:"fixes",value:function(){var e=this;this.player.on("statechange",(function(t){var r,n,i,a,o;1===t.detail.code&&((null===(o=null===(a=null===(i=null===(n=null===(r=null==t?void 0:t.detail)||void 0===r?void 0:r.plyr)||void 0===n?void 0:n.config)||void 0===i?void 0:i.blockAttributes)||void 0===a?void 0:a.mutedPreview)||void 0===o?void 0:o.enabled)||(e.player.muted=!1))}))}},{key:"getId",value:function(e){var t,r=(e||"").match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/);return r&&11===(null===(t=null==r?void 0:r[2])||void 0===t?void 0:t.length)?r[2]:null}},{key:"loadPlayer",value:function(){this.lazyLoad=!1,this.reloadPlayer=!0}},{key:"componentDidRender",value:function(){this.reloadPlayer&&(this.reloadPlayer=!1,this.reload.emit("play"))}},{key:"setWebView",value:function(){var e,t=null===(e=window.navigator)||void 0===e?void 0:e.standalone,r=window.navigator.userAgent.toLowerCase(),n=/safari/.test(r),i=/iphone|ipod|ipad/.test(r);this.isWebView=i?!t&&!n:r.includes("wv")}},{key:"componentWillLoad",value:function(){this.setWebView(),this.poster||(this.poster="//img.youtube.com/vi/".concat(this.getId(this.src),"/maxresdefault.jpg")),this.lazyLoad&&"iOS"===g()&&(this.lazyLoad=!1)}},{key:"render",value:function(){var e=this;return this.isWebView?Object(m.d)("div",{class:"fallback-container"},Object(m.d)("iframe",{src:this.src,allowFullScreen:!0,allowtransparency:!0,allow:"autoplay"})):this.lazyLoad?Object(m.d)("div",null,Object(m.d)("presto-video",{part:"video",getRef:this.getRef,poster:this.poster,src:""}),Object(m.d)("div",{class:"presto-player__play-cover",onClick:function(){return e.loadPlayer()}})):Object(m.d)("div",{class:"plyr__video-embed",part:"embed",ref:this.getRef,"data-plyr-provider":"youtube","data-plyr-embed-id":this.getId(this.src)})}}],[{key:"watchers",get:function(){return{player:["handlePlayerChange"]}}},{key:"style",get:function(){return":host{display:block}.fallback-container{position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden}.fallback-container iframe,.fallback-container object,.fallback-container embed{position:absolute;top:0;left:0;width:100%;height:100%}"}}]),r}(Object(d.a)(HTMLElement)),kn=function(e){Object(c.a)(r,e);var t=y(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).__registerHost(),e.layout="default",e}return Object(l.a)(r,[{key:"waitForApi",value:function(e){var t=setInterval((function(){var r;(null===(r=null===window||void 0===window?void 0:window.gapi)||void 0===r?void 0:r.ytsubscribe)&&(clearInterval(t),e())}),50)}},{key:"componentDidLoad",value:function(){var e=this,t=document.createElement("script");t.type="text/javascript",t.async=!1,t.src="https://apis.google.com/js/platform.js";var r=document.getElementsByTagName("script")[0];r&&r.parentNode.insertBefore(t,r),this.waitForApi((function(){window.gapi.ytsubscribe.render(e.textInput,{channelId:e.channel,layout:e.layout,count:e.showCount?"default":"hidden"})}))}},{key:"render",value:function(){var e=this;return Object(m.d)("div",{class:"g-ytsubscribe",ref:function(t){return e.textInput=t}})}}],[{key:"style",get:function(){return":host{display:block}"}}]),r}(Object(d.a)(HTMLElement)),xn=Object(m.e)(b,[1,"presto-action-bar",{config:[16],currentTime:[2,"current-time"],duration:[2],direction:[1],youtube:[16],show:[32],youtubeRenderKey:[32]}]),On=Object(m.e)(_,[1,"presto-action-bar-ui",{open:[4]}]),jn=Object(m.e)(w,[0,"presto-bunny",{getRef:[1040],autoplay:[4],src:[1],preload:[1],poster:[1025],player:[8],tracks:[16],playsinline:[4],provider:[1],thumbnail:[1],previewUrl:[1,"preview-url"]}]),En=Object(m.e)(k,[0,"presto-cta-overlay",{player:[8],preset:[16],videoId:[2,"video-id"],i18n:[16],currentTime:[2,"current-time"],duration:[2],direction:[1],enabled:[32],show:[32],loading:[32],error:[32],skipped:[32],percentagePassed:[32],ended:[32]}]),Tn=Object(m.e)(O,[1,"presto-cta-overlay-ui",{headline:[1],defaultHeadline:[1,"default-headline"],bottomText:[1,"bottom-text"],showButton:[4,"show-button"],buttonText:[1,"button-text"],buttonType:[1,"button-type"],buttonLink:[16],allowRewatch:[4,"allow-rewatch"],allowSkip:[4,"allow-skip"],skipText:[1,"skip-text"],rewatchText:[1,"rewatch-text"],direction:[1]}]),Pn=Object(m.e)(j,[0,"presto-email-overlay",{player:[8],preset:[16],videoId:[2,"video-id"],i18n:[16],currentTime:[2,"current-time"],duration:[2],direction:[1],enabled:[32],show:[32],loading:[32],error:[32]}]),Sn=Object(m.e)(E,[1,"presto-email-overlay-ui",{headline:[1],defaultHeadline:[1,"default-headline"],bottomText:[1,"bottom-text"],buttonText:[1,"button-text"],placeholder:[1],allowSkip:[4,"allow-skip"],borderRadius:[2,"border-radius"],skipText:[1,"skip-text"],isLoading:[4,"is-loading"],errorMessage:[1,"error-message"],direction:[1],email:[32]}]),Rn=Object(m.e)(T,[0,"presto-muted-overlay",{mutedPreview:[4,"muted-preview"],mutedOverlay:[16],preset:[16]}]),Cn=Object(m.e)(hn,[1,"presto-player",{video_id:[2],iconUrl:[1,"icon-url"],src:[1],bunny:[16],branding:[16],config:[16],preset:[16],chapters:[16],blockAttributes:[16],tracks:[16],analytics:[4],automations:[4],provider:[1],provider_video_id:[1],actionBar:[16],youtube:[16],type:[1],autoplay:[1540],preload:[1],poster:[1],playsinline:[4],isAdmin:[4,"is-admin"],direction:[1],css:[1],player:[32],playerEl:[32],shouldLazyLoad:[32],mutedPreview:[32],currentTime:[32],duration:[32],isSticky:[32],videoHeight:[32],playClass:[32],previouslyPlaying:[32]},[[8,"visibilitychange","playVideoOnlyInViewport"]]]),An=Object(m.e)(mn,[1,"presto-player-button",{type:[513],size:[513],full:[516],disabled:[516],submit:[516],name:[1],value:[1],href:[1],target:[513],download:[1],hasFocus:[32],hasLabel:[32],hasPrefix:[32],hasSuffix:[32]}]),Nn=Object(m.e)(yn,[1,"presto-player-skeleton",{effect:[1]}]),Dn=Object(m.e)(gn,[1,"presto-player-spinner"]),In=Object(m.e)(vn,[0,"presto-video",{getRef:[1040],autoplay:[4],src:[1],preload:[1],poster:[1],player:[8],tracks:[16],playsinline:[4],provider:[1]}]),zn=Object(m.e)(bn,[1,"presto-video-curtain-ui",{actionUrl:[1,"action-url"]}]),Ln=Object(m.e)(_n,[0,"presto-vimeo",{src:[1],poster:[1],player:[8],getRef:[1040]}]),Mn=Object(m.e)(wn,[0,"presto-youtube",{src:[1],poster:[1025],lazyLoad:[1028,"lazy-load"],player:[8],getRef:[1040],reloadPlayer:[32],isWebView:[32]}]),Fn=Object(m.e)(kn,[0,"presto-youtube-subscribe-button",{channel:[1],layout:[1],showCount:[4,"show-count"]}]),Hn=function(e){"undefined"!=typeof customElements&&[xn,On,jn,En,Tn,Pn,Sn,Rn,Cn,An,Nn,Dn,In,zn,Ln,Mn,Fn].forEach((function(t){customElements.get(t.is)||customElements.define(t.is,t,e)}))}},34:function(e,t,r){r(35),e.exports=r(49)},37:function(e,t){function r(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}r.keys=function(){return[]},r.resolve=r,e.exports=r,r.id=37},49:function(e,t,r){"use strict";r.r(t);var n=r(26),i=r(2),a=r(7),o=r(8),l=r(6),s=r(9),c=r(17),u=r(13),p=r(5),d=r(30),h=r.n(d);function f(e){return{path:e.pathname,hash:e.hash,query:h.a.parse(e.search)}}var m=r(33),y=Object(m.a)(),g=wp.element.createContext({route:f(y.location)}),v=r(18),b=wp.element.useContext,_="";function w(e){var t=e.path,r=e.onRoute,n=e.children,i=b(g).route,a=Object(v.a)("".concat(t))("".concat(i.hash.substr(1)));return a?(r&&(_!==a.path&&r(),_=a.path),React.createElement("div",null,wp.element.cloneElement(n,{route:a}))):null}var k=r(23),x=r.n(k);wp.element.useContext;function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Object(u.a)(e);if(t){var i=Object(u.a)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var j=function(e){Object(s.a)(r,e);var t=O(r);function r(e){var n;Object(a.a)(this,r),n=t.call(this,e),Object(p.a)(Object(l.a)(n),"handleRouteChange",(function(e){var t=f(null==e?void 0:e.location);n.setState({route:t})})),n.routes=Object.keys(e.routes).map((function(t){return e.routes[t].path})),n.unlisten=y.listen(n.handleRouteChange);var i=f(y.location);return n.state={route:i,defaultRoute:null!=e&&e.defaultRoute?"#".concat(null==e?void 0:e.defaultRoute):"#/"},n}return Object(o.a)(r,[{key:"componentWillUnmount",value:function(){this.unlisten()}},{key:"render",value:function(){var e=this.props,t=e.children,r=(e.NotFound,this.state),n=r.route,i=r.defaultRoute;if(!n.hash)return y.push(i),React.createElement("div",null);var a=!1;(this.routes||[]).forEach((function(e){var t=Object(v.a)(n.hash.substr(1))("".concat(n.hash.substr(1)));t&&(a={name:e,data:t})}));var o={route:n,matched:a},l=!a;return React.createElement(g.Provider,{value:o},l?React.createElement("div",null,"Not found"):t)}}]),r}(wp.element.Component),E=function(e){var t=e.width,r=e.height;return React.createElement("svg",{id:"e8f68bdd-4984-4f2e-95b7-7fc8ec281257","data-name":"Layer 1",width:t,height:r,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 918.14 765.54"},React.createElement("defs",null,React.createElement("linearGradient",{id:"27aa7b70-b106-4a00-be67-693c8380e41d",x1:"397.74",y1:"717.25",x2:"397.74",y2:"86.11",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{offset:"0","stop-color":"gray","stop-opacity":"0.25"}),React.createElement("stop",{offset:"0.54","stop-color":"gray","stop-opacity":"0.12"}),React.createElement("stop",{offset:"1","stop-color":"gray","stop-opacity":"0.1"})),React.createElement("linearGradient",{id:"46a816da-c484-41ec-8a6f-fbf14454d910",x1:"288.88",y1:"378.44",x2:"288.88",y2:"209.65",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"32b634d8-28f1-48d9-a868-f602a2cad942",x1:"288.88",y1:"328.29",x2:"288.88",y2:"223.1",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("clipPath",{id:"7a4c6aff-0be0-461b-a111-b3ae1b8fbf73",transform:"translate(-140.93 -67.23)"},React.createElement("rect",{id:"8cc91f6d-19b0-43cc-9c18-2faa83ac34ba","data-name":"<Rectangle>",x:"354.51",y:"291.55",width:"150.6",height:"101.52",fill:"#fff"})),React.createElement("linearGradient",{id:"38f1cb81-8fac-4205-a0ff-a33ac00d354c",x1:"288.88",y1:"594.94",x2:"288.88",y2:"426.14",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"6fc01aaf-135e-403e-a209-43b2a4fe59f1",x1:"288.88",y1:"544.79",x2:"288.88",y2:"439.6",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("clipPath",{id:"79ce363a-d134-40e4-9f82-b96d04a36978",transform:"translate(-140.93 -67.23)"},React.createElement("rect",{id:"5b44e697-61fe-43bd-9a58-5f3e41301748","data-name":"<Rectangle>",x:"354.51",y:"508.05",width:"150.6",height:"101.52",fill:"#fff"})),React.createElement("linearGradient",{id:"54803c44-522d-4b9e-9a34-f1f7b43e8483",x1:"671.57",y1:"760.34",x2:"671.57",y2:"129.2",gradientTransform:"translate(1109.43 -194.1) rotate(90)",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"089a6a47-adaa-499b-aefb-cd6464b62fb8",x1:"670.96",y1:"553.63",x2:"670.96",y2:"387.28",gradientTransform:"translate(1129.51 -168.41) rotate(90)",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"fd8d88e0-7826-450d-9e0b-001d1be709c2",x1:"637.66",y1:"754.12",x2:"637.66",y2:"601.05",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"8d1793c5-b76e-44e2-a52e-569460402331",x1:"778.37",y1:"673.86",x2:"778.37",y2:"569.13",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"}),React.createElement("linearGradient",{id:"4745700d-8097-45ff-9f71-625443fc4ad8",x1:"778.37",y1:"774.41",x2:"778.37",y2:"713.66",xlinkHref:"#27aa7b70-b106-4a00-be67-693c8380e41d"})),React.createElement("title",null,"secure data"),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"162.9",y:"86.11",width:"469.69",height:"631.14",fill:"url(#27aa7b70-b106-4a00-be67-693c8380e41d)"})),React.createElement("rect",{x:"169.02",y:"94.67",width:"455.01",height:"609.12",fill:"#f2f2f2"}),React.createElement("rect",{x:"204.49",y:"120.36",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"204.49",y:"142.37",width:"156.56",height:"4.89",fill:"#6c63ff",opacity:"0.7"}),React.createElement("rect",{x:"384.29",y:"120.36",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"408.75",y:"259.8",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"412.42",y:"273.25",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"419.76",y:"286.7",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"408.75",y:"476.29",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"412.42",y:"489.75",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("rect",{x:"419.76",y:"503.2",width:"156.56",height:"4.89",fill:"#e0e0e0"}),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"205.71",y:"209.65",width:"166.35",height:"168.79",fill:"url(#46a816da-c484-41ec-8a6f-fbf14454d910)"})),React.createElement("rect",{x:"206.76",y:"213.32",width:"163.72",height:"161.45",fill:"#f5f5f5"}),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"212.53",y:"223.1",width:"152.7",height:"105.19",fill:"url(#32b634d8-28f1-48d9-a868-f602a2cad942)"})),React.createElement("rect",{id:"689f37f3-cc41-448d-b172-63ec123bc985","data-name":"<Rectangle>",x:"213.58",y:"224.32",width:"150.6",height:"101.52",fill:"#fff"}),React.createElement("g",{"clip-path":"url(#7a4c6aff-0be0-461b-a111-b3ae1b8fbf73)"},React.createElement("polygon",{points:"200.82 322.18 238.74 263.46 254.64 289.15 288.88 253.68 318.24 289.15 343.93 236.56 409.98 341.75 195.93 334.41 200.82 322.18",fill:"#6c63ff",opacity:"0.4"}),React.createElement("circle",{cx:"230.17",cy:"239",r:"11.01",fill:"#6c63ff",opacity:"0.4"})),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"205.71",y:"426.14",width:"166.35",height:"168.79",fill:"url(#38f1cb81-8fac-4205-a0ff-a33ac00d354c)"})),React.createElement("rect",{x:"206.76",y:"429.81",width:"163.72",height:"161.45",fill:"#f5f5f5"}),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"212.53",y:"439.6",width:"152.7",height:"105.19",fill:"url(#6fc01aaf-135e-403e-a209-43b2a4fe59f1)"})),React.createElement("rect",{id:"b429ac3a-f8a8-4171-bcce-5b6c002c0714","data-name":"<Rectangle>",x:"213.58",y:"440.82",width:"150.6",height:"101.52",fill:"#fff"}),React.createElement("g",{"clip-path":"url(#79ce363a-d134-40e4-9f82-b96d04a36978)"},React.createElement("polygon",{points:"200.82 538.67 238.74 479.96 254.64 505.65 288.88 470.18 318.24 505.65 343.93 453.05 409.98 558.24 195.93 550.9 200.82 538.67",fill:"#bdbdbd",opacity:"0.4"}),React.createElement("circle",{cx:"230.17",cy:"455.5",r:"11.01",fill:"#bdbdbd",opacity:"0.4"})),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"349.09",y:"242.63",width:"631.14",height:"469.69",transform:"translate(-74.16 969.06) rotate(-78.76)",fill:"url(#54803c44-522d-4b9e-9a34-f1f7b43e8483)"})),React.createElement("rect",{x:"359.37",y:"247.33",width:"609.12",height:"455.01",transform:"translate(-72.16 966.22) rotate(-78.76)",fill:"#fff"}),React.createElement("rect",{x:"523.5",y:"197.22",width:"322.91",height:"4.89",transform:"translate(-88.86 -196.94) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("rect",{x:"433.36",y:"650.7",width:"322.91",height:"4.89",transform:"translate(-2.18 -170.66) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("rect",{x:"428.58",y:"671.14",width:"249.52",height:"4.89",transform:"translate(1.01 -162.18) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("rect",{x:"424.6",y:"683.47",width:"92.96",height:"4.89",transform:"translate(1.84 -145.91) rotate(11.24)",fill:"#6c63ff",opacity:"0.7"}),React.createElement("rect",{x:"519.57",y:"209.08",width:"161.45",height:"4.89",transform:"translate(-88.17 -180.2) rotate(11.24)",fill:"#6c63ff",opacity:"0.7"}),React.createElement("rect",{x:"512.84",y:"249.31",width:"291.11",height:"4.89",transform:"translate(-79.21 -190.76) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("rect",{x:"509.47",y:"255.44",width:"70.94",height:"4.89",transform:"translate(-80.19 -168.52) rotate(11.24)",fill:"#3ad29f",opacity:"0.7"}),React.createElement("rect",{x:"501.56",y:"307.59",width:"322.91",height:"4.89",transform:"translate(-67.76 -190.54) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"575.87",y:"357.6",width:"166.35",height:"289.88",transform:"translate(-103.27 983.74) rotate(-78.76)",fill:"url(#089a6a47-adaa-499b-aefb-cd6464b62fb8)"})),React.createElement("rect",{x:"516.06",y:"420.61",width:"286.22",height:"162.68",transform:"translate(-30.42 -186.11) rotate(11.24)",fill:"#fff"}),React.createElement("rect",{x:"496.08",y:"335.18",width:"322.91",height:"4.89",transform:"translate(-62.49 -188.94) rotate(11.24)",fill:"#e0e0e0"}),React.createElement("rect",{x:"547.86",y:"424.02",width:"35.47",height:"118.64",transform:"translate(-35.84 -168.22) rotate(11.24)",fill:"#6c63ff"}),React.createElement("rect",{x:"606.43",y:"475.19",width:"35.47",height:"79.5",transform:"translate(-28.56 -179.03) rotate(11.24)",fill:"#3ad29f"}),React.createElement("rect",{x:"665.23",y:"523.93",width:"35.47",height:"42.81",transform:"translate(-21.5 -189.92) rotate(11.24)",fill:"#f55f44"}),React.createElement("rect",{x:"731.91",y:"492.72",width:"35.47",height:"86.84",transform:"translate(-22.02 -203.09) rotate(11.24)",fill:"#fdd835"}),React.createElement("g",{opacity:"0.5"},React.createElement("rect",{x:"128.65",y:"645.09",width:"3.67",height:"20.79",fill:"#47e6b1"}),React.createElement("rect",{x:"269.58",y:"712.31",width:"3.67",height:"20.79",transform:"translate(853.2 384.07) rotate(90)",fill:"#47e6b1"})),React.createElement("path",{d:"M699.44,75.56a4.49,4.49,0,0,1-2.5-5.43,2.16,2.16,0,0,0,.1-.5h0a2.25,2.25,0,0,0-4-1.49h0a2.16,2.16,0,0,0-.25.44,4.49,4.49,0,0,1-5.43,2.5,2.16,2.16,0,0,0-.5-.1h0a2.25,2.25,0,0,0-1.49,4h0a2.16,2.16,0,0,0,.44.25,4.49,4.49,0,0,1,2.5,5.43,2.16,2.16,0,0,0-.1.5h0a2.25,2.25,0,0,0,4,1.49h0a2.16,2.16,0,0,0,.25-.44,4.49,4.49,0,0,1,5.43-2.5,2.16,2.16,0,0,0,.5.1h0a2.25,2.25,0,0,0,1.49-4h0A2.16,2.16,0,0,0,699.44,75.56Z",transform:"translate(-140.93 -67.23)",fill:"#4d8af0",opacity:"0.5"}),React.createElement("path",{d:"M286.33,179.4a4.49,4.49,0,0,1-2.5-5.43,2.16,2.16,0,0,0,.1-.5h0a2.25,2.25,0,0,0-4-1.49h0a2.16,2.16,0,0,0-.25.44,4.49,4.49,0,0,1-5.43,2.5,2.16,2.16,0,0,0-.5-.1h0a2.25,2.25,0,0,0-1.49,4h0a2.16,2.16,0,0,0,.44.25,4.49,4.49,0,0,1,2.5,5.43,2.16,2.16,0,0,0-.1.5h0a2.25,2.25,0,0,0,4,1.49h0a2.16,2.16,0,0,0,.25-.44,4.49,4.49,0,0,1,5.43-2.5,2.16,2.16,0,0,0,.5.1h0a2.25,2.25,0,0,0,1.49-4h0A2.16,2.16,0,0,0,286.33,179.4Z",transform:"translate(-140.93 -67.23)",fill:"#fdd835",opacity:"0.5"}),React.createElement("path",{d:"M253.63,484.46a4.49,4.49,0,0,1-2.5-5.43,2.16,2.16,0,0,0,.1-.5h0a2.25,2.25,0,0,0-4-1.49h0a2.16,2.16,0,0,0-.25.44,4.49,4.49,0,0,1-5.43,2.5,2.16,2.16,0,0,0-.5-.1h0a2.25,2.25,0,0,0-1.49,4h0a2.16,2.16,0,0,0,.44.25,4.49,4.49,0,0,1,2.5,5.43,2.16,2.16,0,0,0-.1.5h0a2.25,2.25,0,0,0,4,1.49h0a2.16,2.16,0,0,0,.25-.44,4.49,4.49,0,0,1,5.43-2.5,2.16,2.16,0,0,0,.5.1h0a2.25,2.25,0,0,0,1.49-4h0A2.16,2.16,0,0,0,253.63,484.46Z",transform:"translate(-140.93 -67.23)",fill:"#fdd835",opacity:"0.5"}),React.createElement("circle",{cx:"337.81",cy:"28.62",r:"7.34",fill:"#f55f44",opacity:"0.5"}),React.createElement("circle",{cx:"7.34",cy:"317.46",r:"7.34",fill:"#f55f44",opacity:"0.5"}),React.createElement("circle",{cx:"863.76",cy:"120.36",r:"7.34",fill:"#f55f44",opacity:"0.5"}),React.createElement("circle",{cx:"822.17",cy:"339.3",r:"7.34",fill:"#4d8af0",opacity:"0.5"}),React.createElement("circle",{cx:"37.68",cy:"145.22",r:"7.34",fill:"#47e6b1",opacity:"0.5"}),React.createElement("circle",{cx:"853.29",cy:"647.34",r:"7.34",fill:"#47e6b1",opacity:"0.5"}),React.createElement("circle",{cx:"910.8",cy:"430.97",r:"7.34",fill:"#47e6b1",opacity:"0.5"}),React.createElement("rect",{x:"544.42",y:"601.05",width:"186.48",height:"153.07",fill:"url(#fd8d88e0-7826-450d-9e0b-001d1be709c2)"}),React.createElement("path",{d:"M723.82,639a54.55,54.55,0,0,1,109.1,0v34.91h15.27V639a69.82,69.82,0,0,0-139.65,0v34.91h15.27Z",transform:"translate(-140.93 -67.23)",fill:"url(#8d1793c5-b76e-44e2-a52e-569460402331)"}),React.createElement("path",{d:"M726,638.25a52.37,52.37,0,1,1,104.74,0v33.52H845.4V638.25a67,67,0,0,0-134.06,0v33.52H726Z",transform:"translate(-140.93 -67.23)",fill:"#f5f5f5"}),React.createElement("rect",{x:"546.32",y:"602.45",width:"182.24",height:"148.73",fill:"#6c63ff"}),React.createElement("rect",{x:"546.32",y:"602.45",width:"182.24",height:"148.73",fill:"#f5f5f5"}),React.createElement("rect",{x:"546.32",y:"631.77",width:"182.24",height:"90.07",fill:"#6c63ff"}),React.createElement("path",{d:"M791.73,727a13.36,13.36,0,1,0-23.08,9.15v28.51a9.72,9.72,0,0,0,19.44,0V736.18A13.3,13.3,0,0,0,791.73,727Z",transform:"translate(-140.93 -67.23)",fill:"url(#4745700d-8097-45ff-9f71-625443fc4ad8)"}),React.createElement("path",{d:"M789.89,729.38a11.52,11.52,0,1,0-19.9,7.89v24.58a8.38,8.38,0,1,0,16.76,0V737.27A11.47,11.47,0,0,0,789.89,729.38Z",transform:"translate(-140.93 -67.23)",opacity:"0.2"}))},T=wp.i18n.__,P=wp.components,S=P.Flex,R=P.FlexItem,C=P.FlexBlock,A=function(){return React.createElement(S,{style:{padding:"30px",background:"#fff"}},React.createElement(R,null,React.createElement(E,{width:"250px"})),React.createElement(C,{style:{marginLeft:"20px"}},React.createElement("h1",null,T("Get detailed video insights.","presto-player")),React.createElement("p",null,T("Upgrade to Pro and get video insights like plays, watch-time, and drop off numbers.","presto-player")),React.createElement("a",{href:"https://prestoplayer.com",target:"_blank",className:"button button-primary"},T("Learn More","presto-player"))))},N=r(4),D=r(1),I=r.n(D);function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(Object(r),!0).forEach((function(t){Object(p.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}wp.i18n.__;var M=wp.apiFetch,F=wp.element.useState,H=wp.compose.createHigherOrderComponent,V=function(){return H((function(e){return function(t){var r=F(!1),n=Object(i.a)(r,2),a=n[0],o=n[1],l=F(1),s=Object(i.a)(l,2),c=s[0],u=s[1],p=F(0),d=Object(i.a)(p,2),h=d[0],f=d[1],m=F(0),y=Object(i.a)(m,2),g=y[0],v=y[1],b=F([]),_=Object(i.a)(b,2),w=_[0],k=_[1],x=F(""),O=Object(i.a)(x,2),j=O[0],E=O[1],T=function(){var e=Object(N.a)(I.a.mark((function e(t){var r,n,i,a;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.endpoint,n=t.params,i=void 0===n?{}:n,o(!0),e.prev=2,e.next=5,M({path:wp.url.addQueryArgs(r,L({page:c,per_page:5},i)),parse:!1}).then((function(e){var t=e.headers?parseInt(e.headers.get("X-WP-Total")):0,r=e.headers?parseInt(e.headers.get("X-WP-TotalPages")):0;return f(t),v(r),e.json()}));case 5:a=e.sent,k(a),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),console.error(e.t0),null!==e.t0&&void 0!==e.t0&&e.t0.message&&E(e.t0.message);case 13:return e.prev=13,o(!1),e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[2,9,13,16]])})));return function(t){return e.apply(this,arguments)}}();return React.createElement(e,Object.assign({loading:a,setLoading:o,fetchData:T,page:c,setPage:u,total:h,setTotal:f,totalPages:g,setTotalPages:v,data:w,setData:k,error:j,setError:E},t))}}),"withDataList")},B=wp.i18n,q=B.__,U=B.sprintf,W=function(e){var t=(new Date).getTimezoneOffset();return new Date(e.getTime()-60*t*1e3).toISOString().split("T")[0]+"T00:00:00.000Z"},Y=wp.components,Q=Y.Spinner,K=Y.Flex,G=Y.FlexItem,X=function(e){var t=e.height,r=void 0===t?100:t;return React.createElement(K,{style:{height:"".concat(r,"px")},align:"center",justify:"center"},React.createElement(G,null,React.createElement(Q,null)))},J=wp.i18n.__,$=wp.components,Z=$.Card,ee=$.CardBody,te=$.Flex,re=$.FlexBlock,ne=$.Button,ie=$.ButtonGroup,ae=wp.element,oe=ae.useState,le=ae.useEffect,se=function(e){var t=e.page,r=e.setPage,n=e.perPage,a=e.total,o=e.totalPages,l=oe(!1),s=Object(i.a)(l,2),c=s[0],u=s[1],p=oe(!1),d=Object(i.a)(p,2),h=d[0],f=d[1],m=oe(0),y=Object(i.a)(m,2),g=y[0],v=y[1],b=oe(0),_=Object(i.a)(b,2),w=_[0],k=_[1];le((function(){v(Math.min(n*t,a)),k(n*(t-1)+1)}),[n,t,a]);return le((function(){u(t-1>0),f(o>=t+1)}),[t,o]),React.createElement(Z,{size:"large",className:"presto-card pagination"},React.createElement(ee,{className:"presto-flow"},React.createElement(te,null,React.createElement(re,null,sprintf(J("Showing %1s to %2s of %3s","presto-player"),w,g,a)),React.createElement(re,null,React.createElement(te,{justify:"flex-end"},React.createElement(ie,null,React.createElement(ne,{isSecondary:!0,disabled:!c,onClick:function(){r(Math.max(t-1,0))}},J("Previous","presto-player")),React.createElement(ne,{isSecondary:!0,disabled:!h,onClick:function(){r(Math.min(o,t+1))}},J("Next","presto-player"))))))))},ce=wp.i18n.__,ue=wp.element,pe=(ue.useRef,ue.useEffect,ue.useState,wp.components),de=pe.Card,he=pe.CardBody,fe=(pe.Flex,pe.FlexBlock,pe.Button,pe.ButtonGroup,function(e){var t=e.columns,r=e.data,n=e.onRowClick,i=e.title;return r.length?React.createElement(de,{size:"large",className:"presto-card table-card"},React.createElement(he,{className:"presto-flow"},React.createElement("div",{className:"presto-card__title"},i),React.createElement("table",{role:"table",className:x()("presto-table",{"is-clickable":n})},React.createElement("thead",{role:"rowgroup"},React.createElement("tr",{role:"row"},t&&t.map((function(e){return React.createElement("th",{key:e.key,role:"columnheader"},e.label)})))),React.createElement("tbody",{role:"rowgroup"},r.map((function(e,r){return React.createElement("tr",{role:"row",key:"row-".concat(r),onClick:function(){return n&&n(e)}},t.map((function(t,n){return React.createElement("td",{role:"cell","data-title":t.label,key:"row-".concat(r,"-").concat(n),"aria-label":t.label},t.render?t.render(e):React.createElement("div",null,t.value(e)))})))})))))):React.createElement(de,{size:"large",className:"presto-card table-card"},React.createElement(he,{className:"presto-flow"},React.createElement("div",{className:"presto-card__title"},i),React.createElement("div",{style:{opacity:.65}},ce("No data available.","presto-player"))))}),me=wp.i18n.__,ye=wp.element,ge=(ye.useEffect,ye.useState,wp.components),ve=ge.Card,be=ge.CardBody,_e=function(e){var t=e.perPage,r=void 0===t?10:t,n=e.title,i=e.page,a=e.setPage,o=e.loading,l=e.total,s=e.totalPages,c=e.columns,u=e.data,p=e.onSelect;return o?React.createElement(ve,null,React.createElement(X,null)):null!=u&&u.length?React.createElement("div",{className:"datatable"},React.createElement(fe,{data:u,columns:c,perPage:r,onRowClick:p,title:n}),!!l&&React.createElement(se,{page:i,setPage:a,perPage:r,total:l,totalPages:s})):React.createElement(ve,{size:"large",className:"presto-card"},React.createElement(be,{className:"presto-flow"},React.createElement("div",{className:"presto-card__title"},n),React.createElement("div",{style:{opacity:.65}},me("No data available.","presto-player"))))};function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ke(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?we(Object(r),!0).forEach((function(t){Object(p.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var xe=wp.i18n.__,Oe=wp.element.useEffect,je=(0,wp.compose.compose)([V()])((function(e){var t=e.loading,r=e.page,n=e.setPage,i=e.total,a=e.totalPages,o=e.data,l=e.error,s=e.fetchData,c=e.startDate,u=e.endDate;Oe((function(){s({endpoint:"/presto-player/v1/analytics/top-users",params:ke(ke({per_page:5},c?{start:W(c)}:{}),u?{end:W(u)}:{})})}),[r,c,u]);var p=[{key:"name",label:xe("Name","presto-player"),value:function(e){var t;return null==e||null===(t=e.user)||void 0===t?void 0:t.name}},{key:"total_view",label:xe("Total View","presto-player"),value:function(e){var t,r;return null==e||null===(t=e.stats)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.data}},{key:"avg_view_time",label:xe("Avg View Time","presto-player"),render:function(e){var t,r;return React.createElement("div",{className:"presto-badge"},null==e||null===(t=e.stats)||void 0===t||null===(r=t[1])||void 0===r?void 0:r.data)}}];return l?{error:l}:React.createElement(_e,{title:xe("Top Users","presto-player"),page:r,perPage:5,setPage:n,loading:t,total:i,totalPages:a,columns:p,data:o,onSelect:function(e){var t,r;return r=null==e||null===(t=e.user)||void 0===t?void 0:t.id,void y.push("#/user/".concat(r))}})}));function Ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(r),!0).forEach((function(t){Object(p.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Pe=wp.i18n.__,Se=wp.element.useEffect,Re=(0,wp.compose.compose)([V()])((function(e){var t=e.loading,r=e.page,n=e.setPage,i=e.total,a=e.totalPages,o=e.data,l=e.error,s=e.fetchData,c=e.startDate,u=e.endDate,p=e.userId;Se((function(){s({endpoint:"/presto-player/v1/analytics/top-videos",params:Te(Te(Te({per_page:10},c?{start:W(c)}:{}),u?{end:W(u)}:{}),p?{user_id:p}:{})})}),[r,c,u]);var d=[{key:"name",label:Pe("Name","presto-player"),render:function(e){return React.createElement("h3",{style:{marginBottom:0,wordBreak:"break-all"}},e.video.title?e.video.title:Pe("Untitled","presto-player"))}},{key:"total_view",label:Pe("Total View","presto-player"),value:function(e){return e.stats[0].data}},{key:"avg_view_time",label:Pe("Avg View Time","presto-player"),render:function(e){return React.createElement("div",{className:"presto-badge"},e.stats[1].data)}},{key:"view_more",label:"",render:function(e){return React.createElement("span",{style:{color:"var(--wp-admin-theme-color, #007cba)"}},Pe("View Details","presto-player")," →")}}];return l?{error:l}:React.createElement(_e,{title:Pe("Top Videos","presto-player"),perPage:10,page:r,setPage:n,loading:t,total:i,totalPages:a,columns:d,data:o,onSelect:function(e){var t,r;r=null==e||null===(t=e.video)||void 0===t?void 0:t.id,y.push("#/video/".concat(r))}})})),Ce=wp.apiFetch;Ce.use(Ce.createNonceMiddleware(prestoPlayer.nonce)),Ce.use(Ce.createRootURLMiddleware(prestoPlayer.root+prestoPlayer.prestoVersionString));var Ae=Ce,Ne=r(19),De=r.n(Ne);function Ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(r),!0).forEach((function(t){Object(p.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Le=wp.i18n,Me=Le.__,Fe=Le.sprintf,He=wp.components,Ve=(He.Card,He.CardBody),Be=wp.element,qe=Be.useState,Ue=Be.useEffect,We=(Be.useRef,function(e){var t=qe(!0),r=Object(i.a)(t,2),n=r[0],a=r[1],o=qe(0),l=Object(i.a)(o,2),s=l[0],c=l[1],u=e.startDate,p=e.endDate,d=qe([{name:"Views",data:[]}]),h=Object(i.a)(d,2),f=h[0],m=h[1],y={options:{chart:{toolbar:{show:!1}},yaxis:{min:0,labels:{formatter:function(e){return e<1?0:Math.abs(e)>999?Math.sign(e)*(Math.abs(e)/1e3).toFixed(1)+"k":Math.sign(e)*Math.abs(e).toFixed(0)}}},colors:["#7c3aed"],xaxis:{type:"datetime",min:new Date(u).setHours(0,0,0,0),max:new Date(p).setHours(23,59,59,999)},dataLabels:{enabled:!1},stroke:{curve:"smooth"},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,90,100]}}}};Ue((function(){g()}),[e]);var g=function(){a(!0),Ae({path:"/presto-player/v1/analytics/views?"+jQuery.param(ze(ze({},u?{start:W(u)}:{}),p?{end:W(p)}:{})),parse:!1}).then(function(){var e=Object(N.a)(I.a.mark((function e(t){var r,n;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c(t.headers&&t.headers.get("X-WP-Total")),e.next=3,t.json();case 3:r=e.sent,n=[],r.length&&r.forEach((function(e){n.push({x:e.date_time,y:e.total})})),m([{name:"Views",data:n}]);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e)})).finally((function(){a(!1)}))};return n?React.createElement(Ve,null,React.createElement(X,null)):React.createElement(Ve,{className:"presto-flow"},React.createElement("div",{className:"presto-card__title"},Fe(Me("%d Unique Views","presto-player"),s)),React.createElement(De.a,{options:y.options,series:f,type:"area",height:280}))}),Ye=wp.i18n,Qe=Ye.__,Ke=Ye.sprintf,Ge=wp.components,Xe=(Ge.Card,Ge.CardBody),Je=wp.element,$e=Je.useState,Ze=Je.useEffect,et=(Je.useRef,function(e){var t=$e(!0),r=Object(i.a)(t,2),n=r[0],a=r[1],o=$e(0),l=Object(i.a)(o,2),s=l[0],c=l[1],u=e.startDate,p=e.endDate,d=$e([{name:"Views",data:[]}]),h=Object(i.a)(d,2),f=h[0],m=h[1],y={options:{chart:{toolbar:{show:!1}},yaxis:{labels:{formatter:function(e){return Math.abs(e)>999?Math.sign(e)*(Math.abs(e)/1e3).toFixed(1)+"k min":(Math.sign(e)*Math.abs(e)).toFixed(1)+"min"}}},colors:["#7c3aed"],xaxis:{type:"datetime",min:new Date(u).setHours(0,0,0,0),max:new Date(p).setHours(23,59,59,999)},dataLabels:{enabled:!1},stroke:{curve:"smooth"},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,90,100]}}}};Ze((function(){k()}),[e]);var g,v,b,_,w,k=function(){a(!0),Ae({path:"/presto-player/v1/analytics/watch-time?"+jQuery.param({start:W(u),end:W(p)}),parse:!1}).then(function(){var e=Object(N.a)(I.a.mark((function e(t){var r,n,i,a;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json();case 2:r=e.sent,n=r.data,i=r.average,c(parseFloat(i)),a=[],n.length&&n.forEach((function(e){a.push({x:e.date_time,y:(e.total/60).toFixed(2)})})),m([{name:"Watch Time",data:a}]);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e)})).finally((function(){a(!1)}))};return n?React.createElement(Xe,null,React.createElement(X,null)):React.createElement(Xe,{className:"presto-flow"},React.createElement("div",{className:"presto-card__title"},Ke(Qe("%s average watch time","presto-player"),(g=s,v=Math.floor(g/60/60),b=Math.floor(g/60)-60*v,_=g%60,w="",v&&(w+=U(q("%d hours","presto-player"),v)+", "),b&&(w+=U(q("%d minutes","presto-player"),b)+" "),(v||b)&&_&&(w+=q("and","presto-player")+" "),w+=U(q("%d seconds","presto-player"),_)))),React.createElement(De.a,{options:y.options,series:f,type:"area",height:280}))}),tt=wp.i18n.__,rt=wp.components,nt=rt.Panel,it=rt.TabPanel,at=function(e){var t=e.startDate,r=e.endDate;return React.createElement(nt,null,React.createElement(it,{className:"presto-module-tabs",onSelect:function(){},tabs:[{name:"views",title:tt("Views","presto-player")},{name:"watch",title:tt("Watch Time","presto-player")}]},(function(e){switch(e.name){case"views":return React.createElement(We,{startDate:t,endDate:r});case"watch":return React.createElement(et,{startDate:t,endDate:r});default:return React.createElement(React.Fragment,null,"Not Found")}})))},ot=r(31),lt=r.n(ot),st=(r(44),wp.i18n.__),ct=wp.element,ut=ct.useRef,pt=ct.useEffect,dt=ct.useState,ht=function(e){var t=e.startDate,r=e.setStartDate,n=e.endDate,a=e.setEndDate,o=ut(),l=dt(25),s=Object(i.a)(l,2),c=s[0],u=s[1];return pt((function(){new lt.a({element:null==o?void 0:o.current,singleMode:!1,format:"MMMM D YYYY",autoApply:!1,plugins:["ranges"],maxDate:new Date,numberOfMonths:2,buttonText:{apply:st("Apply","presto-player"),cancel:st("Cancel","presto-player")},dropdowns:{minYear:1990,maxYear:null,months:!0,years:!0},setup:function(e){e.setDateRange(t,n),e.on("button:apply",(function(e,t){r(e.dateInstance),a(t.dateInstance),u(o.current.value.length)}))}})}),[o]),React.createElement("div",{className:"component-base-control"},React.createElement("div",{className:"components-base-control__field"},React.createElement("input",{className:"components-text-control__input presto-settings__date-select",ref:o,size:c})))},ft=wp.i18n.__,mt=wp.components,yt=mt.Flex,gt=mt.FlexBlock,vt=mt.FlexItem,bt=(wp.element.useState,function(e){var t=e.startDate,r=e.endDate,n=e.setStartDate,i=e.setEndDate;return React.createElement(React.Fragment,null,React.createElement(yt,null,React.createElement(gt,null,React.createElement("h1",null,ft("Analytics","presto-player"))),React.createElement(vt,null,React.createElement(ht,{startDate:t,setStartDate:n,endDate:r,setEndDate:i}))),React.createElement("div",{className:"presto-flow"},React.createElement("div",{className:"presto-dashboard"},React.createElement("div",{className:"presto-dashboard__row"},React.createElement("div",{className:"presto-dashboard__item is-large"},React.createElement(at,{startDate:t,endDate:r})),React.createElement("div",{className:"presto-dashboard__item"},React.createElement(je,{startDate:t,endDate:r}))),React.createElement("div",{className:"presto-dashboard__row"},React.createElement("div",{className:"presto-dashboard__item is-large"},React.createElement(Re,{startDate:t,endDate:r}))))))}),_t=r(24),wt=wp.components,kt=wt.Card,xt=wt.CardBody,Ot=function(e){var t=e.loading,r=e.title,n=e.value,i=e.label;return t?React.createElement(kt,null,React.createElement(xt,null,React.createElement(X,null))):React.createElement(kt,{className:"presto-player__stat-card"},React.createElement(xt,null,React.createElement("div",{className:"presto-subtitle"},r),React.createElement("h1",null,n),React.createElement("div",null,i)))};function jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach((function(t){Object(p.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Tt,Pt,St,Rt=wp.apiFetch,Ct=wp.element.useState,At=wp.compose.createHigherOrderComponent,Nt=function(){return At((function(e){return function(t){var r=Ct(!1),n=Object(i.a)(r,2),a=n[0],o=n[1],l=Ct([]),s=Object(i.a)(l,2),c=s[0],u=s[1],p=Ct(""),d=Object(i.a)(p,2),h=d[0],f=d[1],m=function(){var e=Object(N.a)(I.a.mark((function e(t){var r,n,i,a;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.endpoint,n=t.params,i=void 0===n?{}:n,o(!0),e.prev=2,e.next=5,Rt({path:wp.url.addQueryArgs(r,Et({},i))});case 5:a=e.sent,u(a),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),console.error(e.t0),null!==e.t0&&void 0!==e.t0&&e.t0.message&&f(e.t0.message);case 13:return e.prev=13,o(!1),e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[2,9,13,16]])})));return function(t){return e.apply(this,arguments)}}();return React.createElement(e,Object.assign({loading:a,setLoading:o,fetchData:m,stat:c,setStat:u,error:h,setError:f},t))}}),"withStat")},Dt=wp.i18n.__,It=wp.compose.compose,zt=wp.element.useEffect,Lt=It([Nt()])((function(e){var t=e.userId,r=e.startDate,n=e.endDate,i=e.stat,a=e.fetchData,o=e.loading;return zt((function(){a({endpoint:"/presto-player/v1/analytics/user/".concat(t,"/total-views"),params:{start:W(r),end:W(n)}})}),[r,n]),React.createElement(Ot,{loading:o,value:parseInt(null==i?void 0:i.view),title:Dt("Total Views","presto-player")})})),Mt=wp.i18n.__,Ft=wp.compose.compose,Ht=wp.element.useEffect,Vt=Ft([Nt()])((function(e){var t=e.userId,r=e.startDate,n=e.endDate,i=e.stat,a=e.fetchData,o=e.loading;return Ht((function(){a({endpoint:"/presto-player/v1/analytics/user/".concat(t,"/average-watchtime"),params:{start:W(r),end:W(n)}})}),[r,n]),React.createElement(Ot,{loading:o,value:parseFloat(null==i?void 0:i.view).toFixed(2),title:Mt("Average Watch Time","presto-player"),label:Mt("seconds","presto-player")})})),Bt=wp.i18n.__,qt=wp.compose.compose,Ut=wp.element.useEffect,Wt=qt([Nt()])((function(e){var t=e.userId,r=e.startDate,n=e.endDate,i=e.stat,a=e.fetchData,o=e.loading;return Ut((function(){a({endpoint:"/presto-player/v1/analytics/user/".concat(t,"/total-watchtime"),params:{start:W(r),end:W(n)}})}),[r,n]),React.createElement(Ot,{loading:o,value:parseFloat(null==i?void 0:i.view).toFixed(2),title:Bt("Total Watch Time","presto-player"),label:Bt("seconds","presto-player")})})),Yt=r(3),Qt=wp.i18n.__,Kt=wp.components,Gt=Kt.Flex,Xt=Kt.FlexBlock,Jt=Kt.FlexItem,$t=Kt.Spinner,Zt=Kt.Button,er=wp.element,tr=er.useEffect,rr=er.useState,nr=wp.apiFetch,ir=function(e){var t,r,n,a,o=e.route,l=e.startDate,s=e.endDate,c=e.setStartDate,u=e.setEndDate,p=rr(!0),d=Object(i.a)(p,2),h=d[0],f=d[1],m=rr({}),g=Object(i.a)(m,2),v=g[0],b=g[1],_=rr(""),w=Object(i.a)(_,2),k=w[0],x=w[1],O=function(){var e=Object(N.a)(I.a.mark((function e(){var t,r;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f(!0),e.prev=1,e.next=4,nr({url:"/wp-json/wp/v2/users/".concat(null==o||null===(t=o.params)||void 0===t?void 0:t.id,"?context=edit")});case 4:r=e.sent,b(r),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),"rest_no_route"===e.t0.code&&x("User Not Found");case 11:return e.prev=11,f(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,8,11,14]])})));return function(){return e.apply(this,arguments)}}();return tr((function(){O()}),[]),k?Object(Yt.b)("div",{className:"presto-flow"},Object(Yt.b)(Gt,null,Object(Yt.b)(Xt,null,Object(Yt.b)("h2",null,k)))):Object(Yt.b)("div",{className:"presto-flow"},Object(Yt.b)(Gt,null,Object(Yt.b)(Xt,null,Object(Yt.b)(Zt,{isSecondary:!0,onClick:function(){y.push("#/")}},"← ",Qt("Back to Dashboard","presto-player")))),Object(Yt.b)(Gt,{wrap:!0},Object(Yt.b)(Xt,null,h?Object(Yt.b)($t,null):Object(Yt.b)("div",{css:Object(Yt.a)(Tt||(Tt=Object(_t.a)(["\n display: flex;\n align-items: center;\n\n .presto__edit-user-button {\n opacity: 0;\n visibility: hidden;\n transition: opacity 0.3s ease;\n }\n\n &:hover {\n .presto__edit-user-button {\n opacity: 1;\n visibility: visible;\n }\n }\n "])))},Object(Yt.b)("div",null,Object(Yt.b)("h1",{className:"presto-dashboard__title"},null==v?void 0:v.name),Object(Yt.b)("p",{css:Object(Yt.a)(Pt||(Pt=Object(_t.a)(["\n margin-top: -10px;\n opacity: 0.65;\n "])))},null==v?void 0:v.email)),!!v.id&&Object(Yt.b)("div",{className:"presto__edit-user-button",css:Object(Yt.a)(St||(St=Object(_t.a)(["\n margin: 0 20px;\n "])))},Object(Yt.b)(Zt,{href:"/wp-admin/user-edit.php?user_id=".concat(null==v?void 0:v.id),isSecondary:!0,isSmall:!0},Qt("View Profile","presto-player")," →")))),Object(Yt.b)(Jt,null,Object(Yt.b)(ht,{startDate:l,setStartDate:c,endDate:s,setEndDate:u}))),Object(Yt.b)("div",{className:"presto-dashboard presto-flow"},Object(Yt.b)("div",{className:"presto-dashboard__row"},Object(Yt.b)("div",{className:"presto-dashboard__item"},Object(Yt.b)(Lt,{userId:null==o||null===(t=o.params)||void 0===t?void 0:t.id,startDate:l,endDate:s})),Object(Yt.b)("div",{className:"presto-dashboard__item"},Object(Yt.b)(Vt,{userId:null==o||null===(r=o.params)||void 0===r?void 0:r.id,startDate:l,endDate:s})),Object(Yt.b)("div",{className:"presto-dashboard__item"},Object(Yt.b)(Wt,{userId:null==o||null===(n=o.params)||void 0===n?void 0:n.id,startDate:l,endDate:s}))),Object(Yt.b)("div",{className:"presto-dashboard__row"},Object(Yt.b)("div",{className:"presto-dashboard__item is-large"},Object(Yt.b)(Re,{startDate:l,endDate:s,userId:null==o||null===(a=o.params)||void 0===a?void 0:a.id})))))},ar=wp.i18n.__,or=wp.compose.compose,lr=wp.element.useEffect,sr=or([Nt()])((function(e){var t=e.video_id,r=e.startDate,n=e.endDate,i=e.stat,a=e.fetchData,o=e.loading;return lr((function(){a({endpoint:"/presto-player/v1/analytics/video/".concat(t,"/average-watchtime"),params:{start:W(r),end:W(n)}})}),[r,n]),React.createElement(Ot,{loading:o,value:parseInt(i),title:ar("Average Watch Time","presto-player"),label:ar("seconds","presto-player")})})),cr=wp.i18n,ur=cr.__,pr=(cr.sprintf,wp.components),dr=pr.Card,hr=pr.CardBody,fr=wp.element,mr=fr.useState,yr=fr.useEffect,gr=(fr.useRef,function(e){var t=e.video_id,r=e.startDate,n=e.endDate,a=mr(!0),o=Object(i.a)(a,2),l=o[0],s=o[1],c=mr([{name:"Views",data:[]}]),u=Object(i.a)(c,2),p=u[0],d=u[1];yr((function(){s(!0),Ae({path:wp.url.addQueryArgs("/presto-player/v1/analytics/video/".concat(t,"/timeline"),{start:W(r),end:W(n)})}).then((function(e){var t=[];e.length&&e.forEach((function(e){t.push({x:e.watch_time,y:e.total})})),d([{name:"Viewers",data:t}])})).catch((function(e){console.error(e)})).finally((function(){s(!1)}))}),[r,n]);var h={options:{chart:{toolbar:{show:!1}},tickAmount:1,yaxis:{labels:{formatter:function(e){return parseInt(e)}}},xaxis:{labels:{formatter:function(e){return t=e,t=1e3*parseInt(t||0),new Date(t).toISOString().substr(11,8);var t}}},colors:["#7c3aed"],dataLabels:{enabled:!1},stroke:{curve:"smooth"},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,90,100]}}}};return l?React.createElement(dr,null,React.createElement(hr,null,React.createElement(X,null))):React.createElement(dr,null,React.createElement(hr,null,React.createElement("div",{className:"presto-card__title"},ur("Audience Retention","presto-player")),React.createElement(De.a,{options:h.options,series:p,type:"area",height:280})))}),vr=wp.i18n.__,br=wp.compose.compose,_r=wp.element.useEffect,wr=br([Nt()])((function(e){var t=e.video_id,r=e.startDate,n=e.endDate,i=e.stat,a=e.fetchData,o=e.loading;return _r((function(){a({endpoint:"/presto-player/v1/analytics/video/".concat(t,"/views"),params:{start:W(r),end:W(n)}})}),[r,n]),React.createElement(Ot,{loading:o,value:parseInt(i),title:vr("Unique Views","presto-player")})})),kr=r(32);function xr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Or(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xr(Object(r),!0).forEach((function(t){Object(p.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var jr=wp.data.useSelect,Er=function(e){var t,r,n,i=e.src,a=e.preset,o=e.branding,l=e.attributes,s=e.adminPreview,c=e.type,u=l.chapters,p=l.mutedOverlay,d=l.mutedPreview,h=jr((function(e){var t;return null===(t=e("presto-player/player"))||void 0===t?void 0:t.youtube()})),f=jr((function(e){var t;return null===(t=e("presto-player/player"))||void 0===t?void 0:t.playerCSS()}));return React.createElement("div",{className:"wp-block-video presto-block-video",style:Or(Or(Or({"--presto-player-border-radius":"".concat(null==a?void 0:a.border_radius,"px")},null!=a&&a.caption_background?{"--plyr-captions-background":a.caption_background}:{}),null!=o&&o.color?{"--plyr-color-main":o.color}:{}),{},{"--presto-player-email-border-radius":"".concat((null==a||null===(t=a.email_collection)||void 0===t?void 0:t.border_radius)||0,"px"),"--presto-player-logo-width":"".concat((null==o?void 0:o.logo_width)||75,"px")})},React.createElement(kr.a,{src:i,css:f,isAdmin:!0,preload:"metadata",preset:a,bunny:{thumbnail:null==l?void 0:l.previewThumbnail,preview:null==l?void 0:l.preview},youtube:{channelId:null==h?void 0:h.channel_id},tracks:!(null==a||!a.captions)&&[{kind:"captions",label:"English",srclang:"en",src:"/path/to/captions.en.vtt",default:!0}],branding:o,chapters:u,blockAttributes:l,poster:l.poster,provider:c},React.createElement("div",{slot:"player-end"},(null==d?void 0:d.enabled)&&(null==p?void 0:p.enabled)&&React.createElement("div",{className:"presto-player__overlay is-image",style:{position:"absolute",width:"".concat((null==p?void 0:p.width)||100,"%"),left:"".concat(100*((null==p||null===(r=p.focalPoint)||void 0===r?void 0:r.x)||.5),"%"),top:"".concat(100*((null==p||null===(n=p.focalPoint)||void 0===n?void 0:n.y)||.5),"%")}},React.createElement("img",{src:null==p?void 0:p.src,style:{transform:"translateX(-50%) translateY(-50%)"}})),s)))};function Tr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(r),!0).forEach((function(t){Object(p.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Sr=wp.i18n.__,Rr=wp.components,Cr=Rr.Flex,Ar=Rr.FlexBlock,Nr=Rr.FlexItem,Dr=Rr.Spinner,Ir=Rr.Button,zr=Rr.TextControl,Lr=wp.element,Mr=Lr.useEffect,Fr=Lr.useState,Hr=wp.apiFetch,Vr=function(e){var t,r,n,a=e.route,o=e.startDate,l=e.endDate,s=e.setStartDate,c=e.setEndDate,u=Fr(!0),p=Object(i.a)(u,2),d=p[0],h=p[1],f=Fr({}),m=Object(i.a)(f,2),g=m[0],v=m[1],b=Fr(""),_=Object(i.a)(b,2),w=_[0],k=_[1],x=Fr(null),O=Object(i.a)(x,2),j=O[0],E=O[1],T=Fr(!1),P=Object(i.a)(T,2),S=P[0],R=P[1],C=function(){var e=Object(N.a)(I.a.mark((function e(){var t,r,n,i;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(!0),e.prev=1,e.next=4,Hr({url:"".concat(null===(t=prestoPlayer)||void 0===t?void 0:t.root).concat(null===(r=prestoPlayer)||void 0===r?void 0:r.prestoVersionString,"videos/").concat(null==a||null===(n=a.params)||void 0===n?void 0:n.id)});case 4:i=e.sent,v(i),E(null==i?void 0:i.title),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),"rest_no_route"===e.t0.code&&k("Video Not Found");case 12:return e.prev=12,h(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])})));return function(){return e.apply(this,arguments)}}(),A=function(){var e=Object(N.a)(I.a.mark((function e(){var t,r;return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("New Video title ".concat(j)),h(!0),e.prev=2,t=Pr(Pr({},g),{title:j}),e.next=6,wp.apiFetch({method:"POST",url:wp.url.addQueryArgs("".concat(prestoPlayer.root).concat(prestoPlayer.prestoVersionString,"videos/").concat(g.id),{_method:"PUT"}),data:t});case 6:if(r=e.sent){e.next=9;break}throw genericError;case 9:R(!1),v(r),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),k(null!==e.t0&&void 0!==e.t0&&e.t0.message?e.t0.message:genericError);case 16:return e.prev=16,h(!1),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[2,13,16,19]])})));return function(){return e.apply(this,arguments)}}(),D=function(){E(null==g?void 0:g.title),R(!1)};return Mr((function(){C()}),[]),w?React.createElement("div",{className:"presto-flow"},React.createElement(Cr,null,React.createElement(Ar,null,React.createElement("h2",null,w)))):React.createElement("div",{className:"presto-flow"},React.createElement(Cr,null,React.createElement(Ar,null,React.createElement(Ir,{isSecondary:!0,onClick:function(){y.push("#/")}},"← ",Sr("Back to Dashboard","presto-player")))),React.createElement(Cr,{wrap:!0},React.createElement(Ar,null,d?React.createElement(Dr,null):S?React.createElement("div",{className:"presto-inline-edit presto-inline-edit--editing"},React.createElement(zr,{className:"presto-inline-edit__input",type:"text",value:j,onChange:function(e){return E(e)}}),React.createElement(Ir,{className:"presto-inline-edit__button",isPrimary:!0,onClick:A}," ","Save"," "),React.createElement(Ir,{className:"presto-inline-edit__button",isSecondary:!0,onClick:D}," ","Cancel"," ")):React.createElement("div",{className:"presto-inline-edit"},React.createElement("h1",{className:"presto-dashboard__title presto-inline-edit__text"},null==g?void 0:g.title),React.createElement("button",{className:"presto-inline-edit__edit",onClick:function(){return R(!0)}},React.createElement("span",{className:"dashicon dashicons dashicons-edit"})))),React.createElement(Nr,null,React.createElement(ht,{startDate:o,setStartDate:s,endDate:l,setEndDate:c}))),React.createElement("div",{className:"presto-dashboard presto-flow"},React.createElement("div",{className:"presto-dashboard__row"},React.createElement("div",{className:"presto-dashboard__item is-large"},React.createElement(wr,{video_id:null==a||null===(t=a.params)||void 0===t?void 0:t.id,startDate:o,endDate:l})),React.createElement("div",{className:"presto-dashboard__item"},!!Object.keys(g||{}).length&&React.createElement(Er,{src:null==g?void 0:g.src,attributes:{},type:null==g?void 0:g.type,preset:{"play-large":!0,play:!0,progress:!0,"current-time":!0}})),React.createElement("div",{className:"presto-dashboard__item"},React.createElement(sr,{video_id:null==a||null===(r=a.params)||void 0===r?void 0:r.id,startDate:o,endDate:l}))),React.createElement("div",{className:"presto-dashboard__row"},React.createElement("div",{className:"presto-dashboard__item is-large"},React.createElement(gr,{video_id:null==a||null===(n=a.params)||void 0===n?void 0:n.id,startDate:o,endDate:l})))))},Br={dashboard:{path:"/"},video:{path:"/video/:id"},user:{path:"/user/:id"}},qr=wp.element.useState,Ur=function(){var e,t=function(){window.scrollTo(0,0)},r=qr(new Date(Date.now()-6048e5)),n=Object(i.a)(r,2),a=n[0],o=n[1],l=qr(new Date),s=Object(i.a)(l,2),c=s[0],u=s[1];return null!==(e=prestoPlayer)&&void 0!==e&&e.isPremium?React.createElement("div",{className:"presto-dashboard__content"},React.createElement(j,{routes:Br},React.createElement(w,{path:Br.dashboard.path,onRoute:t},React.createElement(bt,{startDate:a,endDate:c,setStartDate:o,setEndDate:u})),React.createElement(w,{path:Br.video.path,onRoute:t},React.createElement(Vr,{startDate:a,endDate:c,setStartDate:o,setEndDate:u})),React.createElement(w,{path:Br.user.path,onRoute:t},React.createElement(ir,{startDate:a,endDate:c,setStartDate:o,setEndDate:u})))):React.createElement("div",{className:"presto-dashboard__content"},React.createElement(A,null))},Wr=wp.element.render;Object(n.c)(),Wr(React.createElement(Ur,null),document.getElementById("presto-analytics-page"))}},[[34,2,3]]]);
19
+ //# sourceMappingURL=admin-35e24415.js.map
dist/analytics/admin-35e24415.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["webpack:///./packages/components/dist/custom-elements/index.js","webpack:///./node_modules/@stencil/core/internal/client lazy ^\\.\\/.*$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$ namespace object","webpack:///./src/router/utils.js","webpack:///./src/router/context.js","webpack:///./src/router/route.js","webpack:///./src/router/link.js","webpack:///./src/router/index.js","webpack:///./src/admin/analytics/pages/illustration.js","webpack:///./src/admin/analytics/pages/AnalyticsUpgrade.js","webpack:///./src/admin/analytics/hocs/withDataList.js","webpack:///./src/admin/analytics/util.js","webpack:///./src/admin/settings/components/Loading.js","webpack:///./src/admin/ui/Pagination.js","webpack:///./src/admin/ui/Table.js","webpack:///./src/admin/analytics/components/DataTable.js","webpack:///./src/admin/analytics/components/TopUsers.js","webpack:///./src/admin/analytics/components/TopVideos.js","webpack:///./src/shared/services/fetch.js","webpack:///./src/admin/analytics/components/TotalViewsGraph.js","webpack:///./src/admin/analytics/components/TotalWatchGraph.js","webpack:///./src/admin/analytics/components/OverviewPanel.js","webpack:///./src/admin/analytics/components/DatePicker.js","webpack:///./src/admin/analytics/pages/Dashboard.js","webpack:///./src/admin/ui/StatCard.js","webpack:///./src/admin/analytics/hocs/withStat.js","webpack:///./src/admin/analytics/components/TotalVideoViewsByUser.js","webpack:///./src/admin/analytics/components/VideoAverageWatchTimeByUser.js","webpack:///./src/admin/analytics/components/VideoTotalWatchTimeByUser.js","webpack:///./src/admin/analytics/pages/User.js","webpack:///./src/admin/analytics/components/VideoAverageWatchTime.js","webpack:///./src/admin/analytics/components/VideoTimeline.js","webpack:///./src/admin/analytics/components/VideoViews.js","webpack:///./src/admin/blocks/shared/Player.js","webpack:///./src/admin/analytics/pages/Video.js","webpack:///./src/admin/analytics/routes.js","webpack:///./src/admin/analytics/App.js","webpack:///./src/admin/analytics/index.js"],"names":["getMobileOperatingSystem","userAgent","navigator","vendor","test","platform","maxTouchPoints","isAndroidWebView","standalone","window","toLowerCase","safari","includes","PrestoActionBar$1","__registerHost","attachShadow","show","youtubeRenderKey","this","handleDuration","newVal","oldVal","console","log","button_count","enabled","_a","_b","wp","blocks","current","duration","showAfter","percent","timePassed","currentTime","config","percentage_start","_c","_d","button_type","youtube","channelId","h","key","channel","showCount","_e","_f","_g","_h","_j","_k","_l","type","size","href","button_link","url","target","opensInNewTab","style","Object","assign","button_radius","button_color","button_text_color","button_text","open","background_color","text","slot","youtubeButton","customButton","HTMLElement","PrestoActionBarUi$1","class","part","name","PrestoBunny$1","poster","thumbnail","getRef","player","autoplay","preload","playsinline","src","tracks","PrestoCTAOverlay","playVideo","createEvent","rewatchVideo","percentagePassed","_m","skipped","fullscreen","active","exit","isiOS","blockAttributes","media","webkitExitFullScreen","embed","exitFullscreen","isiOSYoutubeFullscreen","lastTime","once","ended","preset","cta","percentage","handleTime","pause","checkTime","ua","match","provider","emit","setTimeout","play","restart","_o","_p","_q","_r","_s","_t","_u","_v","_w","_x","_y","_z","_0","_1","_2","_3","_4","background_opacity","direction","headline","bottom_text","show_button","buttonLink","allowSkip","show_skip","allowRewatch","show_rewatch","i18n","skip","onSkip","onRewatch","rewatch","fitText","el","kompressor","options","settings","obj","ext","hasOwnProperty","extend$1","minFontSize","maxFontSize","fit","compressor","resizer","fontSize","Math","max","min","clientWidth","parseFloat","module","then","ResizeObserver","observe","length","i","CTAOverlayUI","textInput","e","preventDefault","stopPropagation","handleLink","location","ref","onClick","handleCTAClick","defaultHeadline","bottomText","innerHTML","showButton","full","buttonText","stopImmediatePropagation","xmlns","width","height","viewBox","fill","stroke","points","d","rewatchText","skipText","PrestoEmailOverlay$1","status","localStorage","setItem","JSON","stringify","videoId","getItem","_","old","on","getStorage","email_collection","a","fetch","prestoPlayer","ajaxurl","loading","error","getNonce","response","json","nonce","data","method","body","URLSearchParams","action","preset_id","id","video_id","detail","success","setStorage","emailDefaultHeadline","allow_skip","placeholder","emailPlaceholder","isLoading","errorMessage","onSubmitForm","submit","EmailOverlayUI","submitForm","email","value","onSubmit","handleSubmit","onInput","event","handleChange","required","PrestoMutedOverlay$1","mutedPreview","mutedOverlay","left","focalPoint","x","top","y","transform","ownKeys$1","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread2$1","arguments","source","forEach","_defineProperty$2","getOwnPropertyDescriptors","defineProperties","defineProperty","_typeof","Symbol","iterator","constructor","prototype","asyncGeneratorStep","gen","resolve","reject","_next","_throw","arg","info","done","Promise","_classCallCheck$1","instance","Constructor","TypeError","_defineProperties$1","props","descriptor","configurable","writable","_createClass$1","protoProps","staticProps","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","call","_slicedToArray","arr","Array","isArray","_arrayWithHoles","_i","_arr","_n","next","err","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","_toConsumableArray","_arrayLikeToArray","_arrayWithoutHoles","iter","from","_iterableToArray","_nonIterableSpread","o","minLen","n","toString","slice","len","arr2","_createForOfIteratorHelper","allowArrayLike","it","F","s","f","normalCompletion","didErr","step","return","_excluded","_defineProperty$1","t","_defineProperties","_defineProperty","ownKeys","_objectSpread2","defaults$1","addCSS","thumbWidth","watch","matches$1","document","querySelectorAll","getConstructor$1","instanceOf$1","isNullOrUndefined$1","isObject$1","isString$1","String","isArray$1","isNodeList$1","NodeList","is$1","Element","Event","round","concat","getDecimalPlaces","toFixed","RangeTouch","_classCallCheck","element","querySelector","rangeTouch","init","_createClass","userSelect","webKitUserSelect","touchAction","listeners","set","changedTouches","r","getAttribute","l","getBoundingClientRect","c","clientX","disabled","get","bubbles","dispatchEvent","trigger","MutationObserver","addedNodes","childList","subtree","map","documentElement","getConstructor","instanceOf","Boolean","isNullOrUndefined","isObject","isString","isFunction","Function","isNodeList","isEmpty","is","Number","isNaN","nodeType","ownerDocument","KeyboardEvent","TextTrack","kind","URL","startsWith","hostname","transitionEndEvent","createElement","WebkitTransition","MozTransition","OTransition","transition","find","repaint","hidden","browser","isIE","documentMode","isEdge","isWebkit","isIPhone","isIos","getDeep","split","reduce","extend","undefined","_len","_key","shift","wrap","reverse","cloneNode","parentNode","nextSibling","appendChild","insertBefore","setAttributes","entries","_ref","_ref3","_ref4","setAttribute","innerText","insertElement","removeElement","removeChild","emptyElement","childNodes","lastChild","replaceElement","replaceChild","getAttributesFromSelector","trim","replace","charAt","toggleHidden","toggleClass","classList","contains","hasClass","matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","getElements","elements","container","getElement","setFocus","focus","preventScroll","classNames","tabFocus","defaultCodecs","support","audio","video","check","api","ui","rangeInput","pip","webkitSetPresentationMode","pictureInPictureEnabled","disablePictureInPicture","airplay","WebKitPlaybackTargetAvailabilityEvent","mime","isHTML5","canPlayType","textTracks","touch","transitions","reducedMotion","matchMedia","supportsPassiveListeners","addEventListener","removeEventListener","toggleListener","_this","passive","capture","eventListeners","callback","off","_this2","_len2","_key2","triggerEvent","CustomEvent","plyr","unbindListeners","ready","_this3","silencePromise","dedupe","closest","abs","supportsCSS","CSS","supports","standardRatios","_ref5","_ref6","validateAspectRatio","every","reduceAspectRatio","getAspectRatio","ratio","_this$media","videoWidth","videoHeight","setAspectRatio","isVideo","wrapper","_reduceAspectRatio2","aspectRatio","paddingBottom","isVimeo","vimeo","premium","supported","_e3","offsetWidth","parseInt","getComputedStyle","add","videoFixedRatio","padding","roundAspectRatio","html5","getSources","_this4","getQualityOptions","quality","forced","setup","speed","onChange","_e$media","paused","readyState","playbackRate","load","cancelRequests","blankVideo","debug","generateId","floor","random","format","_len3","_key3","replaceAll","RegExp","toTitleCase","toUpperCase","substr","toPascalCase","getHTML","resources","seekTime","title","_ref7","_ref8","Storage","_this5","parse","storage","removeItem","fetch$1","XMLHttpRequest","responseText","Error","responseType","send","_loadSprite","getElementById","insertAdjacentElement","_e4","_t2","content","catch","getHours","trunc","getSeconds","_formatTime","controls","getIconUrl","iconUrl","host","svg4everybody","cors","findElements","selectors","buttons","rewind","fastForward","mute","captions","progress","inputs","seek","volume","display","buffer","seekTooltip","tooltip","warn","toggleNativeControls","createIcon","iconPrefix","createElementNS","focusable","setAttributeNS","createLabel","join","createBadge","menu","badge","createButton","_this6","toCamelCase","toggle","label","icon","labelPressed","iconPressed","some","control","createRange","autocomplete","role","updateRangeFill","createProgress","_t3","played","createTime","time","bindMenuItemShortcuts","_this7","which","_t4","showMenuPanel","nextElementSibling","firstElementChild","previousElementSibling","lastElementChild","focusFirstMenuItem","createMenuItem","_ref9","_this8","list","_ref9$badge","_ref9$checked","checked","children","bind","currentTrack","formatTime","updateTimeDisplay","updateVolume","setRange","muted","pressed","updateProgress","_this9","getPercentage","_e5","getElementsByTagName","nodeValue","buffered","_e6","_e7","setProperty","updateSeekTooltip","_this10","tooltips","pageX","timeUpdate","invertTime","seeking","durationUpdate","pow","displayDuration","toggleMenuButton","updateSetting","panels","default","getLabel","_e8","setQualityMenu","_this11","checkMenu","sort","setCaptionsMenu","_this12","getTracks","toggled","language","unshift","setSpeedMenu","_this13","minimumSpeed","maximumSpeed","values","popup","toggleMenu","_s2","composedPath","getMenuSize","position","opacity","removeAttribute","scrollWidth","scrollHeight","_this14","_e9","_t5","propertyName","setDownloadUrl","download","create","_this15","u","_t6","_i2","_e10","_t7","_i3","_s3","_n2","_r2","home","_e11","_t8","urls","isEmbed","inject","_this16","loadSprite","_e12","seektime","_ref10","_ref11","_e13","controlPressed","_this$config","_e14","_t9","_i4","labels","_s4","parseUrl","_e15","buildUrlParams","_ref12","_ref13","isYouTube","insertAfter","_e16","protocol","createObjectURL","languages","userLanguage","_e19","update","_this17","_this$captions","meta","currentTrackNode","mode","updateCues","setLanguage","_this18","_e20","_t10","findTrack","_ref14","enableTextTrack","_this19","has","_this20","getCurrentTrack","_e21","activeCues","getCueAsHTML","_e22","caption","defaults","autopause","toggleInvert","clickToPlay","hideControls","resetOnEnd","disableContextMenu","loop","selected","keyboard","focused","global","fallback","iosNative","seekLabel","unmute","enableCaptions","disableCaptions","enterFullscreen","frameTitle","menuBack","normal","start","end","all","reset","advertisement","qualityBadge","2160","1440","1080","720","576","480","auto","sdk","iframe","googleIMA","events","editable","embedContainer","posterEnabled","ads","playing","stopped","hover","cues","isTouch","uiSupported","noTransition","previewThumbnails","thumbContainer","thumbContainerShown","imageContainer","timeContainer","scrubbingContainer","scrubbingContainerShown","attributes","publisherId","tagUrl","byline","portrait","transparent","customControls","referrerPolicy","rel","showinfo","iv_load_policy","modestbranding","noCookie","providers","types","noop","Console","Fullscreen","_this21","scrollPosition","scrollX","scrollY","scrollTo","overflow","head","cleanupViewport","keyCode","activeElement","shiftKey","_e23","forceFallback","native","requestFullscreen","webkitEnterFullscreen","toggleFallback","prefix","property","navigationUI","webkitExitFullscreen","_e24","cancelFullScreen","enter","parentElement","closest$1","proxy","trapFocus","fullscreenElement","shadowRoot","getRootNode","fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","loadImage","Image","onload","onerror","naturalWidth","addStyleHook","build","_this22","checkPlaying","setTitle","setPoster","_e25","togglePoster","_this23","backgroundImage","backgroundSize","_this24","toggleControls","checkLoading","_this25","clearTimeout","timers","lastSeekTime","Date","now","migrateStyles","_this26","getPropertyValue","removeProperty","Listeners","_this27","focusTimer","lastKeyDown","timeStamp","handleKey","firstTouch","setTabFocus","_getAspectRatio$call2","_getViewportSize2","innerWidth","clientHeight","innerHeight","maxWidth","margin","resized","isAudio","_i6","togglePlay","_i$detail","forward","toggleCaptions","currentTarget","hasAttribute","_t11","loaded","startMove","endMove","startScrubbing","endScrubbing","webkitDirectionInvertedFromDevice","_map2","deltaX","deltaY","sign","increaseVolume","lastKey","altKey","ctrlKey","metaKey","_n3","_s5","decreaseVolume","usingNative","loadjs_umd","exports","createCommonjsModule","splice","async","numRetries","before","m","relList","as","onbeforeload","sheet","cssText","code","defaultPrevented","_s6","returnPromise","isDefined","loadScript","assurePlaybackState$1","hasPlayed","Vimeo","_this28","sidedock","gesture","$2","parseId$1","_t12","thumbnail_url","Player","disableTextTrack","stop","setVolume","setCurrentTime","setPlaybackRate","p","g","setLoop","getVideoUrl","getVideoWidth","getVideoHeight","_t13","setAutopause","getVideoTitle","getCurrentTime","getDuration","getTextTracks","_ref15","_ref15$cues","createDocumentFragment","firstChild","stripHTML","getPaused","seconds","assurePlaybackState","getHost","_this29","YT","onYouTubeIframeAPIReady","getTitle","_this30","parseId","_t14","playerVars","hl","disablekb","cc_load_policy","cc_lang_pref","widget_referrer","onError","_i7","_s7","2","5","100","101","150","message","onPlaybackRateChange","getPlaybackRate","onReady","pauseVideo","stopVideo","seekTo","getAvailablePlaybackRates","clearInterval","buffering","setInterval","getVideoLoadedFraction","lastBuffered","onStateChange","unMute","Ads","_this31","google","ima","manager","destroy","displayContainer","remove","startSafetyTimer","managerPromise","clearSafetyTimer","setupIMA","setVpaidMode","ImaSdkSettings","VpaidMode","ENABLED","setLocale","setDisableCustomPlaybackForIOS10Plus","AdDisplayContainer","loader","AdsLoader","AdsManagerLoadedEvent","Type","ADS_MANAGER_LOADED","onAdsManagerLoaded","AdErrorEvent","AD_ERROR","onAdError","requestAds","AdsRequest","adTagUrl","linearAdSlotWidth","linearAdSlotHeight","offsetHeight","nonLinearAdSlotWidth","nonLinearAdSlotHeight","forceNonLinearFullSlot","setAdWillPlayMuted","countdownTimer","getRemainingTime","AdsRenderingSettings","restoreCustomPlaybackStateOnAdBreakComplete","enablePreloading","getAdsManager","cuePoints","getCuePoints","AdEvent","onAdEvent","getAd","getAdData","LOADED","pollCountdown","isLinear","STARTED","ALL_ADS_COMPLETED","loadAds","contentComplete","CONTENT_PAUSE_REQUESTED","pauseContent","CONTENT_RESUME_REQUESTED","resumeContent","LOG","adError","getMessage","cancel","addCuePoints","discardAdBreak","resize","ViewMode","NORMAL","initialize","initialized","zIndex","_len4","_key4","safetyTimer","AV_PUBLISHERID","AV_CHANNELID","AV_URL","cb","AV_WIDTH","AV_HEIGHT","AV_CDIM2","parseVtt","startTime","_t17","_t15$1$split2","_t15","w","_t18","endTime","fitRatio","PreviewThumbnails","_this32","getThumbnails","render","determineContainerAutoSizing","thumbnails","_e26","getThumbnail","frames","urlPrefix","substring","lastIndexOf","naturalHeight","mousePosX","thumb","showImageAtCurrentTime","toggleThumbContainer","button","mouseDown","toggleScrubbingContainer","ceil","scrubbing","setScrubbingContainerSize","setThumbContainerSizeAndPos","findIndex","loadedImages","showingThumb","currentImageElement","dataset","filename","showImage","index","removeOldImages","loadingImage","usingSprites","_i8","showingThumbFilename","setImageSizeAndOffset","currentImageContainer","preloadNearby","getHigherQuality","tagName","deleting","_e27","_s8","_n4","thumbContainerHeight","sizeSpecifiedInCSS","_e29","thumbAspectRatio","_e30","_e31","setThumbContainerPos","right","_fitRatio","lastMouseMoveTime","currentScrubbingImageElement","currentThumbnailImageElement","insertElements","_this33","change","_this34","sources","_t19$","_t19$$provider","crossorigin","_window$1","_window$prestoPlayer$1","_window$prestoPlayer$$1","_window2","_window2$prestoPlayer","_window2$prestoPlayer2","Plyr","_this35","webkitShowPlaybackTargetPicker","_t20","_i9","_s9","_e32","original","unload","failed","jQuery","WeakMap","getProviderByUrl","className","search","_e33","searchParams","tabindex","mozHasAudio","webkitAudioDecodedByteCount","audioTracks","_this36","clamp","_e34","currentSrc","_this$captions2","webkitPresentationMode","pictureInPictureElement","requestPictureInPicture","exitPictureInPicture","saveTime","_player$config2","_player$config2$muted","_player$config5","save_player_position","getId","updateTime","saveProgress","resumeProgress","_player$config","_player$config$blockA","_player$config3","_player$config4","_player$config4$muted","getTime","hls","startLoad","cloneDeep","_window","_window$prestoPlayer","_window$prestoPlayer$","player$1","hideChapters","hide_chapters","showChapters","show_chapters","toc","chapters","addChapterControl","_player","$wrapper","$playerTimeline","$tocContainer","$tocListContainer","$button","$tocCover","$timeline","$allChapters","$controls","$items","checker","wait","formatted","chapter","pieces","formatChapters","$appendButton","appendTo","order","$timelineWrapper","timestamp","$item","_ref$name","_ref$order","_ref$highlight","highlight","tocItem","toggleToc","addChapterTimelineMarkers","currentChapter","maybeAddMarkers","onTocMouseOut","timeout","passedNumbers","item","currentChapterIndex","removeClass","addClass","$marker","_ref$position","marker","prependTo","attr","setControls","pl","addParentClass","removeParentClass","_e$detail","_e$detail$plyr","_e$detail$plyr$elemen","_e$detail2","_e$detail2$plyr","_e$detail2$plyr$eleme","videoData$1","video_current_time","video_provider","video_duration","video_url","video_title","videoStart","gtag","videoPause","_window3","videoLoad","_window4","watched","25","50","75","videoTime","_window5","namespace$1","nonce$1","wpTracking","analytics","hooks","hasAction","addAction","newNonce","sendVideoData","sendData","videoData","_window3$prestoPlayer","_player2","_player2$config","formData","FormData","append","debug_navigator","ajax","dataType","cache","sendBeacon","isPremium","gaTracking","customLogo","_player$elements","logo","logo_added","actions","doAction","visibilityState","visit_time","ajaxProgress","automations","sendTimeUpdate","0","10","20","30","40","60","70","80","90","result","fetching","fetched","statusText","finally","handleFullScreen","_player$elements$cont","_player$elements$cont2","elem","Node","ELEMENT_NODE","_player$fullscreen","_player$fullscreen2","menuSizing","fn","mark","_callee","_player$elements2","ro","_context","prev","sent","_step","_iterator","entry","cr","contentRect","css","maxHeight","abrupt","_player$elements3","_player$elements4","self","args","PrestoPlayer$2","plugin_url","learndash_video_data","learnDash","_tutorobject","tutor","isAdmin","isHLS","createPlayer","selector","customCSS","createTextNode","PrestoPlayer$1","previouslyPlaying","shouldLazyLoad","func","parents","nodeName","getParents","parent","isSticky","branding","provider_video_id","playerSettings","auto_hide","captions_enabled","logo_width","hide_logo","lazy_load_youtube","sticky_scroll","play_video_viewport","reset_on_end","playsInline","applyFilters","playerEl","getConfig","getPlayerData","hlsPreloadSize","val","originalConfig","savePosition","onPlay","mutedAutoplay","observer","disconnect","playClass","onPlayerReady","onReload","shouldLazyLoadVideo","trackIntersection","handlePlayerEvents","syncVideoHeight","IntersectionObserver","handleVisibilityIntersection","handleStickyScroll","handleVisibilityPlayChange","rect","boundingClientRect","namedListener","isIntersecting","onPlayVideo","ev","lazyLoad","bunny","onRewatchVideo","logged_in","action_bar","sticky_scroll_position","Host","dir","stickyPositionClass","skin","hide_youtube","caption_style","renderCTA","renderEmailOverlay","renderVideo","renderActionBar","renderMutedOverlay","Fragment","PrestoPlayerButton$1","prestoBlur","prestoFocus","hasFocus","hasLabel","hasPrefix","hasSuffix","handleSlotChange","click","blur","isLink","interior","onSlotchange","onBlur","handleBlur","onFocus","handleFocus","handleClick","link","PrestoSkeleton","effect","PrestoSpinner","PrestoVideo$1","track","srclang","srcLang","CurtainUI","PrestoVimeo$1","exec","allowFullScreen","allowTransparency","allow","PrestoYoutube$1","reload","fixes","reloadPlayer","ios","isWebView","setWebView","allowtransparency","loadPlayer","PrestoYoutubeSubscribeButton$1","layout","interval","gapi","ytsubscribe","po","waitForApi","count","PrestoActionBar","proxyCustomElement","PrestoActionBarUi","PrestoBunny","PrestoCtaOverlay","PrestoCtaOverlayUi","PrestoEmailOverlay","PrestoEmailOverlayUi","PrestoMutedOverlay","PrestoPlayer","PrestoPlayerButton","PrestoPlayerSkeleton","PrestoPlayerSpinner","PrestoVideo","PrestoVideoCurtainUi","PrestoVimeo","PrestoYoutube","PrestoYoutubeSubscribeButton","defineCustomElements","opts","customElements","cmp","define","webpackEmptyAsyncContext","req","locationToRoute","path","pathname","hash","query","qs","history","createBrowserHistory","RouterContext","createContext","route","useContext","Route","onRoute","matched","checkMatch","cloneElement","Router","setState","routes","unlisten","listen","handleRouteChange","state","defaultRoute","NotFound","isMatched","routerContextValue","is404","Provider","Component","data-name","xmlnsXlink","x1","y1","x2","y2","gradientUnits","offset","stop-color","stop-opacity","xlinkHref","gradientTransform","clip-path","cx","cy","__","components","Flex","FlexItem","FlexBlock","background","marginLeft","apiFetch","useState","createHigherOrderComponent","compose","WrappedComponent","setLoading","page","setPage","total","setTotal","totalPages","setTotalPages","setData","setError","fetchData","endpoint","params","addQueryArgs","per_page","res","headers","responseData","sprintf","convertDateTimeToAbsoluteDate","dateTime","getTimezoneOffset","toISOString","Spinner","align","justify","Card","CardBody","Button","ButtonGroup","useEffect","perPage","hasPrevious","setHasPrevious","hasNext","setHasNext","setEnd","setStart","isSecondary","useRef","columns","onRowClick","column","row","rowIndex","columnIndex","data-title","aria-label","onSelect","Loading","Table","Pagination","withDataList","startDate","endDate","user","stats","DataTable","userId","user_id","marginBottom","wordBreak","color","use","createNonceMiddleware","createRootURLMiddleware","root","prestoVersionString","totalViews","setTotalViews","series","setSeries","chart","toolbar","yaxis","formatter","num","colors","xaxis","setHours","dataLabels","curve","gradient","shadeIntensity","opacityFrom","opacityTo","stops","fetchViews","param","date_time","averageTime","setAverageTime","fetchMinutes","savedSeconds","hours","minutes","out","average","Panel","TabPanel","tabs","tab","TotalViewsGraph","TotalWatchGraph","setStartDate","setEndDate","dateRef","inputSize","setInputSize","Litepicker","singleMode","autoApply","plugins","maxDate","numberOfMonths","dropdowns","minYear","maxYear","months","years","picker","setDateRange","dateInstance","DatePicker","OverviewPanel","TopUsers","TopVideos","stat","setStat","withStat","StatCard","view","User","setUser","getUser","isSmall","TotalVideoViewsByUser","VideoAverageWatchTimeByUser","VideoTotalWatchTimeByUser","watch_time","tickAmount","useSelect","adminPreview","select","playerCSS","border_radius","caption_background","previewThumbnail","preview","channel_id","TextControl","Video","setVideo","thisName","setThisName","editing","setEditing","getVideo","putVideo","_method","saved","genericError","cancelEditing","isPrimary","VideoViews","VideoAverageWatchTime","VideoTimeline","dashboard","scrollToTop","Dashboard","AnalyticsUpgrade","App"],"mappings":";;;;;;;;;;;;;;;;;wzBAiBA,SAASA,IACP,IAAIC,EAAYC,UAAUD,WAAaC,UAAUC,OAEjD,MAAI,iBAAiBC,KAAKH,GACjB,gBAEL,WAAWG,KAAKH,GACX,UAGmB,aAAvBC,UAAUG,UAA2BH,UAAUI,eAAiB,GAAM,uBAAuBF,KAAKF,UAAUG,UACxG,MAEF,UA4BT,SAASE,IACP,MAAmC,YAA/BP,MAvBAQ,EAAaC,OAAOP,UAAP,WAAgCD,EAAYQ,OAAOP,UAAUD,UAAUS,cAAeC,EAAS,SAASP,KAAKH,KAAkB,mBAAmBG,KAAKH,IAEjKO,GAAcG,GAITH,GAAeG,GAMrBV,EAAUW,SAAS,QAb3B,IACMJ,EAA6CP,EAAsDU,EA+BzG,IAEME,EAAiB,wCACrB,aAAe,IAAD,8BACZ,gBACKC,iBACLC,YAAa,gBACb,EAAKC,MAAO,EACZ,EAAKC,iBAAmB,EALZ,EADO,qDAQrB,WACEC,KAAKC,mBATc,qCAWrB,SAAwBC,EAAQC,GAC9BC,QAAQC,IAAIH,IACPA,aAAuC,EAASA,EAAOI,iBAAmBH,aAA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,OAAI,UAACnjD,oBAAD,OAAC,EAAc+rC,UASjB,2BAAK5I,UAAU,6BACb,oBAAC,EAAD,CAAQiX,OAAQA,IACd,oBAACP,EAAD,CAAOX,KAAMkB,GAAO6M,UAAU/N,KAAMY,QAASoN,GAC3C,oBAACC,GAAD,CACEpH,UAAWA,EACXC,QAASA,EACTkD,aAAcA,EACdC,WAAYA,KAGhB,oBAACtJ,EAAD,CAAOX,KAAMkB,GAAOloC,MAAMgnC,KAAMY,QAASoN,GACvC,oBAAC,GAAD,CACEnH,UAAWA,EACXC,QAASA,EACTkD,aAAcA,EACdC,WAAYA,KAGhB,oBAACtJ,EAAD,CAAOX,KAAMkB,GAAO6F,KAAK/G,KAAMY,QAASoN,GACtC,oBAAC,GAAD,CACEnH,UAAWA,EACXC,QAASA,EACTkD,aAAcA,EACdC,WAAYA,OA9BlB,2BAAKhgB,UAAU,6BACb,oBAACikB,EAAD,QCxBAnpB,GAAWnqC,GAAG4W,QAAduzB,OAIRya,cAeAza,GAAO,oBAACopB,GAAD,MAAS/9C,SAASqQ,eAAe,4B","file":"analytics/admin-35e24415.js","sourcesContent":["import { attachShadow, h, createEvent, Host, proxyCustomElement } from '@stencil/core/internal/client';\nexport { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';\n\n/**\n * Find out if time is passed.\n * @returns boolean\n */\nfunction timePassed({ current, duration, showAfter }) {\n if (current === showAfter) {\n return true;\n }\n let percent = (current / duration) * 100;\n if (99.9 < percent) {\n percent = 100;\n }\n return percent >= showAfter;\n}\nfunction getMobileOperatingSystem() {\n var userAgent = navigator.userAgent || navigator.vendor;\n // Windows Phone must come first because its UA also contains \"Android\"\n if (/windows phone/i.test(userAgent)) {\n return 'Windows Phone';\n }\n if (/android/i.test(userAgent)) {\n return 'Android';\n }\n // iOS detection from: http://stackoverflow.com/a/9039885/177710\n if ((navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1) || /(iPad|iPhone|iPod)/gi.test(navigator.platform)) {\n return 'iOS';\n }\n return 'unknown';\n}\nfunction isIOS() {\n return getMobileOperatingSystem() === 'iOS';\n}\nfunction isWebView() {\n var standalone = window.navigator['standalone'], userAgent = window.navigator.userAgent.toLowerCase(), safari = /safari/.test(userAgent), ios = /iphone|ipod|ipad/.test(userAgent);\n if (ios) {\n if (!standalone && safari) {\n // Safari\n return false;\n }\n else if (!standalone && !safari) {\n // iOS webview\n return true;\n }\n }\n else {\n if (userAgent.includes('wv')) {\n // Android webview\n return true;\n }\n else {\n // Chrome\n return false;\n }\n }\n}\nfunction isAndroidWebView() {\n if (getMobileOperatingSystem() === 'Android' && isWebView()) {\n return true;\n }\n else {\n return false;\n }\n}\n\nconst prestoActionBarCss = \":host{display:block}\";\n\nconst PrestoActionBar$1 = class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n attachShadow(this);\n this.show = false;\n this.youtubeRenderKey = 1;\n }\n componentWillLoad() {\n this.handleDuration();\n }\n handleButtonCountChange(newVal, oldVal) {\n console.log(newVal);\n if ((newVal === null || newVal === void 0 ? void 0 : newVal.button_count) !== (oldVal === null || oldVal === void 0 ? void 0 : oldVal.button_count)) {\n this.youtubeRenderKey++;\n }\n if (newVal === null || newVal === void 0 ? void 0 : newVal.enabled) {\n this.handleDuration();\n }\n }\n /**\n * Wait for duration to start before checking time\n * @returns void\n */\n handleDuration() {\n var _a, _b;\n if ((_a = window === null || window === void 0 ? void 0 : window.wp) === null || _a === void 0 ? void 0 : _a.blocks) {\n this.show = true;\n return;\n }\n this.show = timePassed({\n current: this.currentTime,\n duration: this.duration,\n showAfter: ((_b = this.config) === null || _b === void 0 ? void 0 : _b.percentage_start) || 0,\n });\n }\n youtubeButton() {\n var _a, _b, _c, _d;\n if (((_a = this.config) === null || _a === void 0 ? void 0 : _a.button_type) !== 'youtube' || !((_b = this.youtube) === null || _b === void 0 ? void 0 : _b.channelId)) {\n return;\n }\n return h(\"presto-youtube-subscribe-button\", { key: this.youtubeRenderKey, channel: (_c = this.youtube) === null || _c === void 0 ? void 0 : _c.channelId, showCount: (_d = this.config) === null || _d === void 0 ? void 0 : _d.button_count });\n }\n customButton() {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;\n if (((_a = this.config) === null || _a === void 0 ? void 0 : _a.button_type) !== 'custom') {\n return;\n }\n return (h(\"presto-player-button\", { type: \"primary\", size: \"small\", href: (_c = (_b = this.config) === null || _b === void 0 ? void 0 : _b.button_link) === null || _c === void 0 ? void 0 : _c.url, target: ((_e = (_d = this.config) === null || _d === void 0 ? void 0 : _d.button_link) === null || _e === void 0 ? void 0 : _e.opensInNewTab) ? '_blank' : '_self', style: Object.assign(Object.assign({ '--presto-player-button-border-radius': `${(_f = this.config) === null || _f === void 0 ? void 0 : _f.button_radius}px` }, (((_g = this.config) === null || _g === void 0 ? void 0 : _g.button_color)\n ? {\n '--presto-player-button-color': `${(_h = this.config) === null || _h === void 0 ? void 0 : _h.button_color}`,\n }\n : {})), (((_j = this.config) === null || _j === void 0 ? void 0 : _j.button_text_color)\n ? {\n '--presto-player-button-text': `${(_k = this.config) === null || _k === void 0 ? void 0 : _k.button_text_color}`,\n }\n : {})) }, (_l = this.config) === null || _l === void 0 ? void 0 : _l.button_text));\n }\n render() {\n var _a, _b;\n return (h(\"presto-action-bar-ui\", { open: this.show, style: {\n '--presto-action-bar-background': ((_a = this.config) === null || _a === void 0 ? void 0 : _a.background_color) || '#1d1d1d',\n } }, (_b = this.config) === null || _b === void 0 ? void 0 :\n _b.text, h(\"div\", { slot: \"button\" }, this.youtubeButton(), this.customButton())));\n }\n get el() { return this; }\n static get watchers() { return {\n \"config\": [\"handleButtonCountChange\"],\n \"currentTime\": [\"handleDuration\"],\n \"duration\": [\"handleDuration\"]\n }; }\n static get style() { return prestoActionBarCss; }\n};\n\nconst prestoActionBarUiCss = \":host{display:block;overflow:hidden}.bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;background:var(--presto-action-bar-background, #1d1d1d);color:#fff;padding:0 var(--presto-action-bar-padding, 6px);line-height:1em;font-size:16px;margin-top:-100%;transition:margin var(--presto-action-bar-animation-speed, 0.5s) ease-in-out;transform:translate3d(0)}.bar.bar--open{margin-top:0}.bar__button{margin:var(--presto-action-bar-padding, 6px);display:flex;align-items:center}.bar__content{margin:var(--presto-action-bar-padding, 6px);width:100%;text-align:center}@media screen and (min-width: 480px){.bar__content{width:auto}}\";\n\nconst PrestoActionBarUi$1 = class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n attachShadow(this);\n }\n render() {\n return (h(\"div\", { class: {\n 'bar': true,\n 'bar--open': this.open,\n } }, h(\"span\", { part: \"content\", class: \"bar__content\" }, h(\"slot\", null)), h(\"span\", { part: \"button\", class: \"bar__button\" }, h(\"slot\", { name: \"button\" }))));\n }\n static get style() { return prestoActionBarUiCss; }\n};\n\nconst PrestoBunny$1 = class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n }\n componentWillLoad() {\n this.poster = this.poster || this.thumbnail; // maybe add bunny thumbnail\n }\n render() {\n return (h(\"presto-video\", { getRef: this.getRef, player: this.player, autoplay: this.autoplay, preload: this.preload, poster: this.poster, playsinline: this.playsinline, src: this.src, tracks: this.tracks }));\n }\n};\n\nconst prestoCtaOverlayCss = \":host{display:block}\";\n\nconst PrestoCTAOverlay = class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.playVideo = createEvent(this, \"playVideo\", 7);\n this.rewatchVideo = createEvent(this, \"rewatchVideo\", 7);\n this.percentagePassed = 0;\n }\n componentWillLoad() {\n this.handleDuration();\n }\n /**\n * Find out if time is passed.\n * @returns boolean\n */\n timePassed({ current, duration, showAfter }) {\n if (current === showAfter) {\n return true;\n }\n let percent = (current / duration) * 100;\n if (99.9 < percent) {\n percent = 100;\n }\n return percent >= showAfter;\n }\n handleFullScreen() {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;\n if (!this.enabled)\n return; // not enabled.\n if (this.skipped)\n return; // already skipped.\n if (!this.player)\n return; // need a player\n // exit fullscreen.\n if (this.player.fullscreen.active) {\n this.player.fullscreen.exit();\n }\n // handle iOS.\n if (this.isiOS() && !((_c = (_b = (_a = this.player) === null || _a === void 0 ? void 0 : _a.config) === null || _b === void 0 ? void 0 : _b.blockAttributes) === null || _c === void 0 ? void 0 : _c.playsinline)) {\n // html5\n typeof ((_e = (_d = this === null || this === void 0 ? void 0 : this.player) === null || _d === void 0 ? void 0 : _d.media) === null || _e === void 0 ? void 0 : _e.webkitExitFullScreen) === 'function' && ((_f = this.player) === null || _f === void 0 ? void 0 : _f.media.webkitExitFullScreen());\n // vimeo\n typeof ((_h = (_g = this === null || this === void 0 ? void 0 : this.player) === null || _g === void 0 ? void 0 : _g.embed) === null || _h === void 0 ? void 0 : _h.exitFullscreen) === 'function' && ((_k = (_j = this === null || this === void 0 ? void 0 : this.player) === null || _j === void 0 ? void 0 : _j.embed) === null || _k === void 0 ? void 0 : _k.exitFullscreen());\n // youtube hack\n if (this.isiOSYoutubeFullscreen()) {\n const lastTime = this.player.currentTime;\n this.player.currentTime = this.player.duration;\n this.player.once('playing', () => {\n this.player.currentTime = lastTime;\n });\n }\n }\n // handle ended - make sure 100% works if time is off.\n if (this.player.ended) {\n console.log('ended');\n this.ended = true;\n if (((_m = (_l = this.preset) === null || _l === void 0 ? void 0 : _l.cta) === null || _m === void 0 ? void 0 : _m.percentage) === 100) {\n this.show = true;\n }\n }\n }\n /**\n * Wait for duration to start before checking time\n * @returns void\n */\n handleDuration() {\n var _a, _b;\n this.enabled = this.skipped ? false : (_b = (_a = this.preset) === null || _a === void 0 ? void 0 : _a.cta) === null || _b === void 0 ? void 0 : _b.enabled;\n this.handleTime();\n }\n handlePercentagePassed() {\n this.percentagePassed = (this.currentTime / this.duration) * 100;\n }\n handlePercentagePassedChange() {\n this.ended = this.percentagePassed >= 99.9;\n }\n /**\n * Watch current time and check if we should\n * pause the video.\n */\n handleEnabled() {\n if (!this.show)\n return; // not showing.\n if (this.skipped)\n return; // already skipped.\n if (!this.player)\n return; // need a player object.\n // pause player\n this.player.pause();\n }\n /**\n * When current time changes, check to see if we should\n * enable the overlay\n * @returns void\n */\n handleTime() {\n var _a, _b;\n if (!this.enabled)\n return; // not enabled.\n if (this.skipped)\n return; // skipped.\n if (((_b = (_a = this.preset) === null || _a === void 0 ? void 0 : _a.cta) === null || _b === void 0 ? void 0 : _b.percentage) === 100)\n return; // we'll catch this on ended event.\n this.checkTime();\n }\n /**\n * Is this an IOS device,\n */\n isiOS() {\n const ua = window.navigator.userAgent;\n return !!ua.match(/iPad/i) || !!ua.match(/iPhone/i);\n }\n /**\n * Is iOS Youtube Fullscreen.\n */\n isiOSYoutubeFullscreen() {\n var _a, _b, _c;\n return this.isiOS() && this.player.provider === 'youtube' && !((_c = (_b = (_a = this.player) === null || _a === void 0 ? void 0 : _a.config) === null || _b === void 0 ? void 0 : _b.blockAttributes) === null || _c === void 0 ? void 0 : _c.playsinline);\n }\n /**\n * Set enabled/disabled based on time that has passed\n */\n checkTime() {\n var _a, _b;\n this.show = this.timePassed({\n current: this.currentTime,\n duration: this.duration,\n showAfter: ((_b = (_a = this.preset) === null || _a === void 0 ? void 0 : _a.cta) === null || _b === void 0 ? void 0 : _b.percentage) || 0,\n });\n }\n /**\n * Skip email collection\n */\n skip() {\n this.skipped = true;\n this.show = false;\n this.playVideo.emit();\n }\n /**\n * Handle rewatch click.\n */\n rewatch() {\n this.ended = false;\n this.show = false;\n this.rewatchVideo.emit();\n this.player.once('timeupdate', () => {\n setTimeout(() => this.player.play(), 500);\n });\n this.player.restart();\n }\n /**\n * Maybe render\n * @returns JSX\n */\n render() {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;\n if (!this.show) {\n return;\n }\n return (h(\"presto-cta-overlay-ui\", { style: Object.assign(Object.assign(Object.assign({ '--presto-player-button-border-radius': `${(_b = (_a = this.preset) === null || _a === void 0 ? void 0 : _a.cta) === null || _b === void 0 ? void 0 : _b.button_radius}px` }, (((_d = (_c = this.preset) === null || _c === void 0 ? void 0 : _c.cta) === null || _d === void 0 ? void 0 : _d.background_opacity) ? { '--presto-player-cta-background-opacity': `${((_f = (_e = this.preset) === null || _e === void 0 ? void 0 : _e.cta) === null || _f === void 0 ? void 0 : _f.background_opacity) / 100}` } : {})), (((_h = (_g = this.preset) === null || _g === void 0 ? void 0 : _g.cta) === null || _h === void 0 ? void 0 : _h.button_color)\n ? {\n '--presto-player-button-color': `${(_k = (_j = this.preset) === null || _j === void 0 ? void 0 : _j.cta) === null || _k === void 0 ? void 0 : _k.button_color}`,\n }\n : {})), (((_m = (_l = this.preset) === null || _l === void 0 ? void 0 : _l.cta) === null || _m === void 0 ? void 0 : _m.button_text_color)\n ? {\n '--presto-player-button-text': `${(_p = (_o = this.preset) === null || _o === void 0 ? void 0 : _o.cta) === null || _p === void 0 ? void 0 : _p.button_text_color}`,\n }\n : {})), direction: this.direction, class: \"cta-overlay\", headline: (_r = (_q = this.preset) === null || _q === void 0 ? void 0 : _q.cta) === null || _r === void 0 ? void 0 : _r.headline, \"bottom-text\": (_t = (_s = this.preset) === null || _s === void 0 ? void 0 : _s.cta) === null || _t === void 0 ? void 0 : _t.bottom_text, \"show-button\": (_v = (_u = this.preset) === null || _u === void 0 ? void 0 : _u.cta) === null || _v === void 0 ? void 0 : _v.show_button, buttonLink: (_x = (_w = this.preset) === null || _w === void 0 ? void 0 : _w.cta) === null || _x === void 0 ? void 0 : _x.button_link, allowSkip: !this.ended && ((_z = (_y = this.preset) === null || _y === void 0 ? void 0 : _y.cta) === null || _z === void 0 ? void 0 : _z.show_skip), allowRewatch: this.ended && ((_1 = (_0 = this.preset) === null || _0 === void 0 ? void 0 : _0.cta) === null || _1 === void 0 ? void 0 : _1.show_rewatch), \"skip-text\": (_2 = this === null || this === void 0 ? void 0 : this.i18n) === null || _2 === void 0 ? void 0 : _2.skip, \"button-text\": (_4 = (_3 = this.preset) === null || _3 === void 0 ? void 0 : _3.cta) === null || _4 === void 0 ? void 0 : _4.button_text, onSkip: () => this.skip(), onRewatch: () => this.rewatch() }));\n }\n static get watchers() { return {\n \"currentTime\": [\"handleFullScreen\", \"handlePercentagePassed\", \"handleEnabled\", \"handleTime\"],\n \"duration\": [\"handleDuration\", \"handlePercentagePassed\"],\n \"percentagePassed\": [\"handlePercentagePassedChange\"]\n }; }\n static get style() { return prestoCtaOverlayCss; }\n};\n\n/*!\n * FitText-UMD\n *\n * Copyright 2011, Dave Rupert http://daverupert.com\n * Released under the WTFPL license\n * http://sam.zoy.org/wtfpl/\n * Modified by Slawomir Kolodziej http://slawekk.info\n * Modified by Peace Chen to support modules\n *\n * Date: Tue Jan 12 2016 10:03:36 GMT-0600 (CST)\n */\nvar extend$1 = function extend(obj, ext) {\n for (var key in ext) {\n if (ext.hasOwnProperty(key)) obj[key] = ext[key];\n }\n\n return obj;\n};\n\nconst fitText = (function (el, kompressor, options) {\n var settings = extend$1({\n minFontSize: -1 / 0,\n maxFontSize: 1 / 0\n }, options);\n\n var fit = function fit(el) {\n var compressor = kompressor || 1;\n\n var resizer = function resizer() {\n el.style.fontSize = Math.max(Math.min(el.clientWidth / (compressor * 10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize)) + 'px';\n }; // Call once to set.\n\n\n resizer();\n\n if ('ResizeObserver' in window === false) {\n // Loads polyfill asynchronously, only if required.\n var module = import('./resize-observer.js').then(function () {\n window.ResizeObserver = module.ResizeObserver; // Bind events\n\n var ro = new ResizeObserver(resizer);\n ro.observe(el);\n });\n } else {\n // Bind events\n var ro = new ResizeObserver(resizer);\n ro.observe(el);\n }\n };\n\n if (el.length) for (var i = 0; i < el.length; i++) {\n fit(el[i]);\n } else fit(el); // return set of elements\n\n return el;\n});\n\nconst prestoCtaOverlayUiCss = \":host{display:block;font-size:16px;width:100%;height:100%;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;z-index:99999;user-select:none}*{box-sizing:border-box}a{color:#fff}.wrapper{height:100%;position:relative;color:#fff;font-family:var(--plyr-font-family, \\\"San Francisco\\\", -apple-system, BlinkMacSystemFont, \\\".SFNSText-Regular\\\", Avenir, \\\"Avenir Next\\\", \\\"Helvetica Neue\\\", \\\"Segoe UI\\\", Helvetica, Arial, sans-serif)}.overlay{position:relative;display:flex;align-items:center;justify-content:center;padding:48px;height:100%}.overlay.has-link{cursor:pointer}.overlay:before{content:\\\"\\\";border-radius:var(--presto-player-border-radius, 0);opacity:var(--presto-player-cta-background-opacity, 0.75);position:absolute;top:0;left:0;bottom:0;right:0;background-color:var(--presto-player-cta-background, #000);z-index:-1;box-shadow:inset 0 0 100px black}.content{width:80%;max-width:600px}.content *~*{margin-top:22px}button{background:var(--plyr-color-main, #000);appearance:none;padding:6px 12px;align-items:center;display:inline-flex;border-width:1px;border-color:transparent;color:#fff;border-radius:0;cursor:pointer;font-size:0.8em;border-radius:0 var(--presto-player-cta-border-radius, 0) var(--presto-player-cta-border-radius) 0}@media screen and (min-width: 700px){button{padding:10px 18px}}button:focus{box-shadow:white 0px 0px 0px 2px, var(--plyr-color-main, #000) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;z-index:1}button:focus,button:hover{outline:none}h1{font-size:1.5em;font-weight:500;margin:0;line-height:1.1em}.skip,.rewatch{font-size:0.8em;font-weight:600;position:absolute;top:0;right:0;padding:4%;cursor:pointer}.rewatch{display:inline-flex;align-items:center;right:auto;left:0}.rewatch .icon{margin-right:5px}p{font-size:0.85em;margin:0;margin-top:1.5em;line-height:1.4em;opacity:0.75}\";\n\nconst CTAOverlayUI = class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n attachShadow(this);\n this.skip = createEvent(this, \"skip\", 7);\n this.rewatch = createEvent(this, \"rewatch\", 7);\n }\n componentDidLoad() {\n fitText(this.textInput, 3, {\n maxFontSize: 20,\n minFontSize: 8,\n });\n }\n handleCTAClick(e) {\n var _a;\n if (!((_a = this.buttonLink) === null || _a === void 0 ? void 0 : _a.url)) {\n return;\n }\n e.preventDefault();\n e.stopPropagation();\n this.handleLink();\n }\n handleLink() {\n var _a, _b, _c;\n if ((_a = this.buttonLink) === null || _a === void 0 ? void 0 : _a.opensInNewTab) {\n window.open((_b = this.buttonLink) === null || _b === void 0 ? void 0 : _b.url, '_blank');\n }\n else {\n window.location.href = (_c = this.buttonLink) === null || _c === void 0 ? void 0 : _c.url;\n }\n }\n render() {\n var _a, _b, _c;\n return (h(\"div\", { class: \"wrapper\", ref: el => (this.textInput = el) }, h(\"div\", { onClick: e => this.handleCTAClick(e), class: `overlay ${this.direction === 'rtl' ? 'rtl' : ''} ${((_a = this.buttonLink) === null || _a === void 0 ? void 0 : _a.url) ? 'has-link' : ''}` }, h(\"div\", { class: \"content\" }, h(\"h1\", { part: \"cta-headline\" }, this.headline || this.defaultHeadline), this.bottomText && h(\"p\", { part: \"cta-bottom-text\", innerHTML: this.bottomText }), this.showButton && (h(\"presto-player-button\", { full: true, onClick: e => this.handleCTAClick(e), part: \"cta-button\", href: (_b = this === null || this === void 0 ? void 0 : this.buttonLink) === null || _b === void 0 ? void 0 : _b.url, target: ((_c = this === null || this === void 0 ? void 0 : this.buttonLink) === null || _c === void 0 ? void 0 : _c.opensInNewTab) ? '_blank' : '_self', class: \"button\", type: \"primary\" }, this.buttonText)))), !!this.allowRewatch && (h(\"div\", { class: \"rewatch\", onClick: e => {\n e.preventDefault();\n e.stopImmediatePropagation();\n this.rewatch.emit();\n } }, h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\", viewBox: \"0 0 24 24\", fill: \"none\", stroke: \"currentColor\", \"stroke-width\": \"3\", \"stroke-linecap\": \"round\", \"stroke-linejoin\": \"round\", class: \"icon icon-corner-up-left\" }, h(\"polyline\", { points: \"9 14 4 9 9 4\" }), h(\"path\", { d: \"M20 20v-7a4 4 0 0 0-4-4H4\" })), this.rewatchText || 'Rewatch')), !!this.allowSkip && (h(\"div\", { class: \"skip\", onClick: e => {\n e.preventDefault();\n this.skip.emit();\n } }, this.skipText || 'Skip', \" \\u2192\"))));\n }\n static get style() { return prestoCtaOverlayUiCss; }\n};\n\nconst prestoEmailOverlayCss = \":host{display:block}\";\n\nconst PrestoEmailOverlay$1 = class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.playVideo = createEvent(this, \"playVideo\", 7);\n }\n /**\n * Set email collection in local storage\n * @param status string\n */\n setStorage(status) {\n window.localStorage.setItem('presto.videos.email_collection', JSON.stringify({ [this.videoId]: status }));\n }\n /**\n * Get email collection in local storage\n * @returns status string\n */\n getStorage() {\n return window.localStorage.getItem('presto.videos.email_collection');\n }\n componentWillLoad() {\n this.handleDuration();\n }\n /**\n * Find out if time is passed.\n * @returns boolean\n */\n timePassed({ current, duration, showAfter }) {\n if (current === showAfter) {\n return true;\n }\n let percent = (current / duration) * 100;\n if (99.9 < percent) {\n percent = 100;\n }\n return percent >= showAfter;\n }\n handlePlayerInit(_, old) {\n // only the first time\n if (old) {\n return;\n }\n // don't allow player to be played if email overlay is showing\n this.player.on('play playing timeupdate', () => {\n // skipped\n if (this.getStorage()) {\n return;\n }\n // pause if enabled\n if (this.show) {\n this.player.pause();\n }\n });\n }\n /**\n * Wait for duration to start before checking time\n * @returns void\n */\n handleDuration() {\n var _a, _b;\n this.enabled = this.getStorage() ? false : (_b = (_a = this.preset) === null || _a === void 0 ? void 0 : _a.email_collection) === null || _b === void 0 ? void 0 : _b.enabled;\n this.handleTime();\n }\n /**\n * When current time changes, check to see if we should\n * enable the overlay\n * @returns void\n */\n handleTime() {\n if (!this.enabled) {\n return;\n }\n if (this.getStorage()) {\n return;\n }\n this.checkTime();\n }\n /**\n * Set enabled/disabled based on time that has passed\n */\n checkTime() {\n var _a, _b;\n this.show = this.timePassed({\n current: this.currentTime,\n duration: this.duration,\n showAfter: ((_b = (_a = this.preset) === null || _a === void 0 ? void 0 : _a.email_collection) === null || _b === void 0 ? void 0 : _b.percentage) || 0,\n });\n }\n /**\n * Fetch updated nonce in case of caching\n * @returns Promise\n */\n async getNonce() {\n var _a;\n return fetch(`${(_a = window === null || window === void 0 ? void 0 : window.prestoPlayer) === null || _a === void 0 ? void 0 : _a.ajaxurl}?action=presto_refresh_progress_nonce`);\n }\n /**\n * Submit email collection\n * @param e Event\n */\n async submit(e) {\n var _a;\n this.loading = true;\n this.error = '';\n // get nonce refresh\n const response = await this.getNonce();\n const { data: nonce } = await response.json();\n // handle submit\n try {\n let response = await fetch((_a = window === null || window === void 0 ? void 0 : window.prestoPlayer) === null || _a === void 0 ? void 0 : _a.ajaxurl, {\n method: 'post',\n body: new URLSearchParams(Object.assign({ action: 'presto_player_email_submit', nonce, preset_id: this.preset.id, video_id: this.videoId }, ((e === null || e === void 0 ? void 0 : e.detail) || {}))),\n });\n const { success, data } = await response.json();\n if (success) {\n this.setStorage('collected');\n this.show = false;\n this.playVideo.emit();\n }\n else {\n throw data;\n }\n }\n catch (e) {\n const error = e === null || e === void 0 ? void 0 : e[0];\n if (error && typeof error === 'string') {\n this.error = error;\n }\n }\n finally {\n this.loading = false;\n }\n }\n /**\n * Skip email collection\n */\n skip() {\n this.setStorage('skipped');\n this.show = false;\n this.playVideo.emit();\n }\n /**\n * Maybe render\n * @returns JSX\n */\n render() {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;\n if (!this.show) {\n return;\n }\n return (h(\"presto-email-overlay-ui\", { direction: this.direction, class: \"email-overlay\", headline: (_b = (_a = this.preset) === null || _a === void 0 ? void 0 : _a.email_collection) === null || _b === void 0 ? void 0 : _b.headline, defaultHeadline: (_c = this === null || this === void 0 ? void 0 : this.i18n) === null || _c === void 0 ? void 0 : _c.emailDefaultHeadline, bottomText: (_e = (_d = this.preset) === null || _d === void 0 ? void 0 : _d.email_collection) === null || _e === void 0 ? void 0 : _e.bottom_text, allowSkip: (_g = (_f = this.preset) === null || _f === void 0 ? void 0 : _f.email_collection) === null || _g === void 0 ? void 0 : _g.allow_skip, skipText: (_h = this === null || this === void 0 ? void 0 : this.i18n) === null || _h === void 0 ? void 0 : _h.skip, buttonText: (_k = (_j = this.preset) === null || _j === void 0 ? void 0 : _j.email_collection) === null || _k === void 0 ? void 0 : _k.button_text, placeholder: (_l = this === null || this === void 0 ? void 0 : this.i18n) === null || _l === void 0 ? void 0 : _l.emailPlaceholder, isLoading: this.loading, errorMessage: this.error, onSubmitForm: e => this.submit(e), onSkip: () => this.skip() }));\n }\n static get watchers() { return {\n \"player\": [\"handlePlayerInit\"],\n \"duration\": [\"handleDuration\"],\n \"currentTime\": [\"handleTime\"]\n }; }\n static get style() { return prestoEmailOverlayCss; }\n};\n\nconst prestoEmailOverlayUiCss = \":host{display:block;font-size:16px;width:100%;height:100%;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;z-index:99999}*{box-sizing:border-box}a{color:#fff}.overlay{position:relative;display:flex;align-items:center;text-align:center;justify-content:center;padding:48px;color:#fff;font-family:var(--plyr-font-family, \\\"San Francisco\\\", -apple-system, BlinkMacSystemFont, \\\".SFNSText-Regular\\\", Avenir, \\\"Avenir Next\\\", \\\"Helvetica Neue\\\", \\\"Segoe UI\\\", Helvetica, Arial, sans-serif);height:100%}.overlay:before{content:\\\"\\\";border-radius:var(--presto-player-border-radius, 0);opacity:var(--presto-player-email-background-opacity, 0.75);position:absolute;top:0;left:0;bottom:0;right:0;background-color:var(--presto-player-email-background, #000);z-index:-1;box-shadow:inset 0 0 100px black}.content{width:20em}form{display:flex;align-items:stretch;justify-content:center}input{background:#fff;border:none;font-size:0.8em;line-height:20px;padding:6px 8px;border-radius:0;border-width:1px;border-style:solid;border-color:transparent;border-radius:var(--presto-player-email-border-radius, 0) 0 0 var(--presto-player-email-border-radius);flex:1}@media screen and (min-width: 700px){input{padding:10px 14px}}input:focus{border-color:var(--plyr-color-main, #000);z-index:1}input:focus,input:hover{outline:none}.rtl input{border-radius:0 var(--presto-player-email-border-radius, 0) var(--presto-player-email-border-radius) 0}button{background:var(--plyr-color-main, #000);appearance:none;padding:6px 12px;align-items:center;display:inline-flex;border-width:1px;border-color:transparent;color:#fff;border-radius:0;cursor:pointer;font-size:0.8em;border-radius:0 var(--presto-player-email-border-radius, 0) var(--presto-player-email-border-radius) 0}@media screen and (min-width: 700px){button{padding:10px 18px}}button:focus{box-shadow:white 0px 0px 0px 2px, var(--plyr-color-main, #000) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;z-index:1}button:focus,button:hover{outline:none}.rtl button{border-radius:var(--presto-player-email-border-radius, 0) 0 0 var(--presto-player-email-border-radius)}h1{font-size:1.5em;font-weight:500;margin:0 0 22px 0;max-width:600px;line-height:1.1em}.skip{font-size:0.8em;font-weight:600;position:absolute;top:0;right:0;padding:4%;cursor:pointer}p{font-size:0.7em;margin:0;margin-top:1.5em}\";\n\nconst EmailOverlayUI = class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n attachShadow(this);\n this.submitForm = createEvent(this, \"submitForm\", 7);\n this.skip = createEvent(this, \"skip\", 7);\n }\n /**\n * Handle form submission\n * @param e Event\n */\n handleSubmit(e) {\n this.submitForm.emit({\n email: this.email,\n });\n e.preventDefault();\n }\n componentDidLoad() {\n fitText(this.textInput, 3, {\n maxFontSize: 20,\n minFontSize: 8,\n });\n }\n /**\n * Handle input change\n * @param e Event\n */\n handleChange(e) {\n this.email = e.target.value;\n }\n render() {\n return (h(\"div\", { class: `overlay ${this.direction === 'rtl' ? 'rtl' : ''}`, ref: el => (this.textInput = el) }, h(\"div\", { class: \"content\" }, h(\"h1\", null, this.headline || this.defaultHeadline), this.isLoading ? (h(\"presto-player-spinner\", null)) : (h(\"form\", { onSubmit: e => this.handleSubmit(e) }, h(\"input\", { type: \"email\", placeholder: this.placeholder, value: this.email, onInput: event => this.handleChange(event), required: true }), h(\"button\", { type: \"submit\" }, this.buttonText || 'Play'))), this.errorMessage && h(\"p\", { class: \"error\" }, this.errorMessage), this.bottomText && h(\"p\", { innerHTML: this.bottomText }), !!this.allowSkip && (h(\"div\", { class: \"skip\", onClick: () => {\n this.skip.emit();\n } }, this.skipText || 'Skip', \" \\u2192\")))));\n }\n static get style() { return prestoEmailOverlayUiCss; }\n};\n\nconst prestoMutedOverlayCss = \":host{display:block}\";\n\nconst PrestoMutedOverlay$1 = class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.playVideo = createEvent(this, \"playVideo\", 7);\n }\n render() {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j;\n return (h(\"div\", { class: \"presto-player__muted-overlay\", onClick: () => {\n this.mutedPreview = false;\n this.playVideo.emit();\n } }, ((_a = this.preset) === null || _a === void 0 ? void 0 : _a['play-large']) &&\n h(\"div\", { class: \"plyr__control plyr__control--overlaid\", \"data-plyr\": \"play\", \"aria-label\": \"Play\", part: \"muted-overlay-play\" }, h(\"svg\", { id: \"plyr-play\", viewBox: \"0 0 18 18\" }, h(\"path\", { d: \"M15.562 8.1L3.87.225c-.818-.562-1.87 0-1.87.9v15.75c0 .9 1.052 1.462 1.87.9L15.563 9.9c.584-.45.584-1.35 0-1.8z\" })), h(\"span\", { class: \"plyr__sr-only\" }, \"Play\")), ((_b = this.mutedOverlay) === null || _b === void 0 ? void 0 : _b.enabled) && ((_c = this.mutedOverlay) === null || _c === void 0 ? void 0 : _c.src) ? (h(\"div\", { class: \"presto-player__overlay is-image\", part: \"muted-overlay-image\", style: {\n width: `${((_d = this.mutedOverlay) === null || _d === void 0 ? void 0 : _d.width) || 50}%`,\n left: `${(((_f = (_e = this.mutedOverlay) === null || _e === void 0 ? void 0 : _e.focalPoint) === null || _f === void 0 ? void 0 : _f.x) || 0.5) * 100}%`,\n top: `${(((_h = (_g = this.mutedOverlay) === null || _g === void 0 ? void 0 : _g.focalPoint) === null || _h === void 0 ? void 0 : _h.y) || 0.5) * 100}%`,\n } }, h(\"img\", { src: (_j = this.mutedOverlay) === null || _j === void 0 ? void 0 : _j.src, style: { transform: 'translateX(-50%) translateY(-50%)' } }))) : ('')));\n }\n static get style() { return prestoMutedOverlayCss; }\n};\n\nfunction ownKeys$1(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2$1(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys$1(Object(source), true).forEach(function (key) {\n _defineProperty$2(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys$1(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nfunction _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}\n\nfunction _classCallCheck$1(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties$1(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass$1(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties$1(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _defineProperty$2(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\n if (!it) {\n if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function () {};\n\n return {\n s: F,\n n: function () {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function (e) {\n throw e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function () {\n it = it.call(o);\n },\n n: function () {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function (e) {\n didErr = true;\n err = e;\n },\n f: function () {\n try {\n if (!normalCompletion && it.return != null) it.return();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}\n\nvar _excluded = [\"premium\", \"referrerPolicy\"];\n\nfunction _defineProperty$1(e, t, i) {\n return t in e ? Object.defineProperty(e, t, {\n value: i,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[t] = i, e;\n}\n\nfunction _classCallCheck(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n}\n\nfunction _defineProperties(e, t) {\n for (var i = 0; i < t.length; i++) {\n var s = t[i];\n s.enumerable = s.enumerable || !1, s.configurable = !0, \"value\" in s && (s.writable = !0), Object.defineProperty(e, s.key, s);\n }\n}\n\nfunction _createClass(e, t, i) {\n return t && _defineProperties(e.prototype, t), i && _defineProperties(e, i), e;\n}\n\nfunction _defineProperty(e, t, i) {\n return t in e ? Object.defineProperty(e, t, {\n value: i,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[t] = i, e;\n}\n\nfunction ownKeys(e, t) {\n var i = Object.keys(e);\n\n if (Object.getOwnPropertySymbols) {\n var s = Object.getOwnPropertySymbols(e);\n t && (s = s.filter(function (t) {\n return Object.getOwnPropertyDescriptor(e, t).enumerable;\n })), i.push.apply(i, s);\n }\n\n return i;\n}\n\nfunction _objectSpread2(e) {\n for (var t = 1; t < arguments.length; t++) {\n var i = null != arguments[t] ? arguments[t] : {};\n t % 2 ? ownKeys(Object(i), !0).forEach(function (t) {\n _defineProperty(e, t, i[t]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(i)) : ownKeys(Object(i)).forEach(function (t) {\n Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(i, t));\n });\n }\n\n return e;\n}\n\nvar defaults$1 = {\n addCSS: !0,\n thumbWidth: 15,\n watch: !0\n};\n\nfunction matches$1(e, t) {\n return function () {\n return Array.from(document.querySelectorAll(t)).includes(this);\n }.call(e, t);\n}\n\nfunction trigger(e, t) {\n if (e && t) {\n var i = new Event(t, {\n bubbles: !0\n });\n e.dispatchEvent(i);\n }\n}\n\nvar getConstructor$1 = function getConstructor$1(e) {\n return null != e ? e.constructor : null;\n},\n instanceOf$1 = function instanceOf$1(e, t) {\n return !!(e && t && e instanceof t);\n},\n isNullOrUndefined$1 = function isNullOrUndefined$1(e) {\n return null == e;\n},\n isObject$1 = function isObject$1(e) {\n return getConstructor$1(e) === Object;\n},\n isNumber$1 = function isNumber$1(e) {\n return getConstructor$1(e) === Number && !Number.isNaN(e);\n},\n isString$1 = function isString$1(e) {\n return getConstructor$1(e) === String;\n},\n isBoolean$1 = function isBoolean$1(e) {\n return getConstructor$1(e) === Boolean;\n},\n isFunction$1 = function isFunction$1(e) {\n return getConstructor$1(e) === Function;\n},\n isArray$1 = function isArray$1(e) {\n return Array.isArray(e);\n},\n isNodeList$1 = function isNodeList$1(e) {\n return instanceOf$1(e, NodeList);\n},\n isElement$1 = function isElement$1(e) {\n return instanceOf$1(e, Element);\n},\n isEvent$1 = function isEvent$1(e) {\n return instanceOf$1(e, Event);\n},\n isEmpty$1 = function isEmpty$1(e) {\n return isNullOrUndefined$1(e) || (isString$1(e) || isArray$1(e) || isNodeList$1(e)) && !e.length || isObject$1(e) && !Object.keys(e).length;\n},\n is$1 = {\n nullOrUndefined: isNullOrUndefined$1,\n object: isObject$1,\n number: isNumber$1,\n string: isString$1,\n boolean: isBoolean$1,\n function: isFunction$1,\n array: isArray$1,\n nodeList: isNodeList$1,\n element: isElement$1,\n event: isEvent$1,\n empty: isEmpty$1\n};\n\nfunction getDecimalPlaces(e) {\n var t = \"\".concat(e).match(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);\n return t ? Math.max(0, (t[1] ? t[1].length : 0) - (t[2] ? +t[2] : 0)) : 0;\n}\n\nfunction round(e, t) {\n if (1 > t) {\n var i = getDecimalPlaces(t);\n return parseFloat(e.toFixed(i));\n }\n\n return Math.round(e / t) * t;\n}\n\nvar RangeTouch = function () {\n function e(t, i) {\n _classCallCheck(this, e), is$1.element(t) ? this.element = t : is$1.string(t) && (this.element = document.querySelector(t)), is$1.element(this.element) && is$1.empty(this.element.rangeTouch) && (this.config = _objectSpread2({}, defaults$1, {}, i), this.init());\n }\n\n return _createClass(e, [{\n key: \"init\",\n value: function value() {\n e.enabled && (this.config.addCSS && (this.element.style.userSelect = \"none\", this.element.style.webKitUserSelect = \"none\", this.element.style.touchAction = \"manipulation\"), this.listeners(!0), this.element.rangeTouch = this);\n }\n }, {\n key: \"destroy\",\n value: function value() {\n e.enabled && (this.config.addCSS && (this.element.style.userSelect = \"\", this.element.style.webKitUserSelect = \"\", this.element.style.touchAction = \"\"), this.listeners(!1), this.element.rangeTouch = null);\n }\n }, {\n key: \"listeners\",\n value: function value(e) {\n var t = this,\n i = e ? \"addEventListener\" : \"removeEventListener\";\n [\"touchstart\", \"touchmove\", \"touchend\"].forEach(function (e) {\n t.element[i](e, function (e) {\n return t.set(e);\n }, !1);\n });\n }\n }, {\n key: \"get\",\n value: function value(t) {\n if (!e.enabled || !is$1.event(t)) return null;\n var i,\n s = t.target,\n n = t.changedTouches[0],\n r = parseFloat(s.getAttribute(\"min\")) || 0,\n a = parseFloat(s.getAttribute(\"max\")) || 100,\n o = parseFloat(s.getAttribute(\"step\")) || 1,\n l = s.getBoundingClientRect(),\n c = 100 / l.width * (this.config.thumbWidth / 2) / 100;\n return 0 > (i = 100 / l.width * (n.clientX - l.left)) ? i = 0 : 100 < i && (i = 100), 50 > i ? i -= (100 - 2 * i) * c : 50 < i && (i += 2 * (i - 50) * c), r + round(i / 100 * (a - r), o);\n }\n }, {\n key: \"set\",\n value: function value(t) {\n e.enabled && is$1.event(t) && !t.target.disabled && (t.preventDefault(), t.target.value = this.get(t), trigger(t.target, \"touchend\" === t.type ? \"change\" : \"input\"));\n }\n }], [{\n key: \"setup\",\n value: function value(t) {\n var i = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n s = null;\n if (is$1.empty(t) || is$1.string(t) ? s = Array.from(document.querySelectorAll(is$1.string(t) ? t : 'input[type=\"range\"]')) : is$1.element(t) ? s = [t] : is$1.nodeList(t) ? s = Array.from(t) : is$1.array(t) && (s = t.filter(is$1.element)), is$1.empty(s)) return null;\n\n var n = _objectSpread2({}, defaults$1, {}, i);\n\n if (is$1.string(t) && n.watch) {\n var r = new MutationObserver(function (i) {\n Array.from(i).forEach(function (i) {\n Array.from(i.addedNodes).forEach(function (i) {\n is$1.element(i) && matches$1(i, t) && new e(i, n);\n });\n });\n });\n r.observe(document.body, {\n childList: !0,\n subtree: !0\n });\n }\n\n return s.map(function (t) {\n return new e(t, i);\n });\n }\n }, {\n key: \"enabled\",\n get: function get() {\n return \"ontouchstart\" in document.documentElement;\n }\n }]), e;\n}();\n\nvar getConstructor = function getConstructor(e) {\n return null != e ? e.constructor : null;\n},\n instanceOf = function instanceOf(e, t) {\n return Boolean(e && t && e instanceof t);\n},\n isNullOrUndefined = function isNullOrUndefined(e) {\n return null == e;\n},\n isObject = function isObject(e) {\n return getConstructor(e) === Object;\n},\n isNumber = function isNumber(e) {\n return getConstructor(e) === Number && !Number.isNaN(e);\n},\n isString = function isString(e) {\n return getConstructor(e) === String;\n},\n isBoolean = function isBoolean(e) {\n return getConstructor(e) === Boolean;\n},\n isFunction = function isFunction(e) {\n return getConstructor(e) === Function;\n},\n isArray = function isArray(e) {\n return Array.isArray(e);\n},\n isWeakMap = function isWeakMap(e) {\n return instanceOf(e, WeakMap);\n},\n isNodeList = function isNodeList(e) {\n return instanceOf(e, NodeList);\n},\n isTextNode = function isTextNode(e) {\n return getConstructor(e) === Text;\n},\n isEvent = function isEvent(e) {\n return instanceOf(e, Event);\n},\n isKeyboardEvent = function isKeyboardEvent(e) {\n return instanceOf(e, KeyboardEvent);\n},\n isCue = function isCue(e) {\n return instanceOf(e, window.TextTrackCue) || instanceOf(e, window.VTTCue);\n},\n isTrack = function isTrack(e) {\n return instanceOf(e, TextTrack) || !isNullOrUndefined(e) && isString(e.kind);\n},\n isPromise = function isPromise(e) {\n return instanceOf(e, Promise) && isFunction(e.then);\n},\n isElement = function isElement(e) {\n return null !== e && \"object\" == _typeof(e) && 1 === e.nodeType && \"object\" == _typeof(e.style) && \"object\" == _typeof(e.ownerDocument);\n},\n isEmpty = function isEmpty(e) {\n return isNullOrUndefined(e) || (isString(e) || isArray(e) || isNodeList(e)) && !e.length || isObject(e) && !Object.keys(e).length;\n},\n isUrl = function isUrl(e) {\n if (instanceOf(e, window.URL)) return !0;\n if (!isString(e)) return !1;\n var t = e;\n e.startsWith(\"http://\") && e.startsWith(\"https://\") || (t = \"http://\".concat(e));\n\n try {\n return !isEmpty(new URL(t).hostname);\n } catch (e) {\n return !1;\n }\n};\n\nvar is = {\n nullOrUndefined: isNullOrUndefined,\n object: isObject,\n number: isNumber,\n string: isString,\n boolean: isBoolean,\n function: isFunction,\n array: isArray,\n weakMap: isWeakMap,\n nodeList: isNodeList,\n element: isElement,\n textNode: isTextNode,\n event: isEvent,\n keyboardEvent: isKeyboardEvent,\n cue: isCue,\n track: isTrack,\n promise: isPromise,\n url: isUrl,\n empty: isEmpty\n};\n\nvar transitionEndEvent = function () {\n var e = document.createElement(\"span\"),\n t = {\n WebkitTransition: \"webkitTransitionEnd\",\n MozTransition: \"transitionend\",\n OTransition: \"oTransitionEnd otransitionend\",\n transition: \"transitionend\"\n },\n i = Object.keys(t).find(function (t) {\n return void 0 !== e.style[t];\n });\n return !!is.string(i) && t[i];\n}();\n\nfunction repaint(e, t) {\n setTimeout(function () {\n try {\n e.hidden = !0, e.hidden = !1;\n } catch (e) {}\n }, t);\n}\n\nvar browser = {\n isIE: Boolean(window.document.documentMode),\n isEdge: window.navigator.userAgent.includes(\"Edge\"),\n isWebkit: \"WebkitAppearance\" in document.documentElement.style && !/Edge/.test(navigator.userAgent),\n isIPhone: /(iPhone|iPod)/gi.test(navigator.platform),\n isIos: \"MacIntel\" === navigator.platform && navigator.maxTouchPoints > 1 || /(iPad|iPhone|iPod)/gi.test(navigator.platform)\n};\n\nfunction cloneDeep(e) {\n return JSON.parse(JSON.stringify(e));\n}\n\nfunction getDeep(e, t) {\n return t.split(\".\").reduce(function (e, t) {\n return e && e[t];\n }, e);\n}\n\nfunction extend() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n for (var _len = arguments.length, t = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n t[_key - 1] = arguments[_key];\n }\n\n if (!t.length) return e;\n var i = t.shift();\n return is.object(i) ? (Object.keys(i).forEach(function (t) {\n is.object(i[t]) ? (Object.keys(e).includes(t) || Object.assign(e, _defineProperty$2({}, t, {})), extend(e[t], i[t])) : Object.assign(e, _defineProperty$2({}, t, i[t]));\n }), extend.apply(void 0, [e].concat(t))) : e;\n}\n\nfunction wrap(e, t) {\n var i = e.length ? e : [e];\n Array.from(i).reverse().forEach(function (e, i) {\n var s = i > 0 ? t.cloneNode(!0) : t,\n n = e.parentNode,\n r = e.nextSibling;\n s.appendChild(e), r ? n.insertBefore(s, r) : n.appendChild(s);\n });\n}\n\nfunction setAttributes(e, t) {\n is.element(e) && !is.empty(t) && Object.entries(t).filter(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n e = _ref2[1];\n\n return !is.nullOrUndefined(e);\n }).forEach(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n t = _ref4[0],\n i = _ref4[1];\n\n return e.setAttribute(t, i);\n });\n}\n\nfunction createElement(e, t, i) {\n var s = document.createElement(e);\n return is.object(t) && setAttributes(s, t), is.string(i) && (s.innerText = i), s;\n}\n\nfunction insertAfter(e, t) {\n is.element(e) && is.element(t) && t.parentNode.insertBefore(e, t.nextSibling);\n}\n\nfunction insertElement(e, t, i, s) {\n is.element(t) && t.appendChild(createElement(e, i, s));\n}\n\nfunction removeElement(e) {\n is.nodeList(e) || is.array(e) ? Array.from(e).forEach(removeElement) : is.element(e) && is.element(e.parentNode) && e.parentNode.removeChild(e);\n}\n\nfunction emptyElement(e) {\n if (!is.element(e)) return;\n var t = e.childNodes.length;\n\n for (; t > 0;) {\n e.removeChild(e.lastChild), t -= 1;\n }\n}\n\nfunction replaceElement(e, t) {\n return is.element(t) && is.element(t.parentNode) && is.element(e) ? (t.parentNode.replaceChild(e, t), e) : null;\n}\n\nfunction getAttributesFromSelector(e, t) {\n if (!is.string(e) || is.empty(e)) return {};\n var i = {},\n s = extend({}, t);\n return e.split(\",\").forEach(function (e) {\n var t = e.trim(),\n n = t.replace(\".\", \"\"),\n r = t.replace(/[[\\]]/g, \"\").split(\"=\"),\n _r = _slicedToArray(r, 1),\n a = _r[0],\n o = r.length > 1 ? r[1].replace(/[\"']/g, \"\") : \"\";\n\n switch (t.charAt(0)) {\n case \".\":\n is.string(s.class) ? i.class = \"\".concat(s.class, \" \").concat(n) : i.class = n;\n break;\n\n case \"#\":\n i.id = t.replace(\"#\", \"\");\n break;\n\n case \"[\":\n i[a] = o;\n }\n }), extend(s, i);\n}\n\nfunction toggleHidden(e, t) {\n if (!is.element(e)) return;\n var i = t;\n is.boolean(i) || (i = !e.hidden), e.hidden = i;\n}\n\nfunction toggleClass(e, t, i) {\n if (is.nodeList(e)) return Array.from(e).map(function (e) {\n return toggleClass(e, t, i);\n });\n\n if (is.element(e)) {\n var s = \"toggle\";\n return void 0 !== i && (s = i ? \"add\" : \"remove\"), e.classList[s](t), e.classList.contains(t);\n }\n\n return !1;\n}\n\nfunction hasClass(e, t) {\n return is.element(e) && e.classList.contains(t);\n}\n\nfunction matches(e, t) {\n var _Element = Element,\n i = _Element.prototype;\n return (i.matches || i.webkitMatchesSelector || i.mozMatchesSelector || i.msMatchesSelector || function () {\n return Array.from(document.querySelectorAll(t)).includes(this);\n }).call(e, t);\n}\n\nfunction closest$1(e, t) {\n var _Element2 = Element,\n i = _Element2.prototype;\n return (i.closest || function () {\n var e = this;\n\n do {\n if (matches.matches(e, t)) return e;\n e = e.parentElement || e.parentNode;\n } while (null !== e && 1 === e.nodeType);\n\n return null;\n }).call(e, t);\n}\n\nfunction getElements(e) {\n return this.elements.container.querySelectorAll(e);\n}\n\nfunction getElement(e) {\n return this.elements.container.querySelector(e);\n}\n\nfunction setFocus() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;\n is.element(e) && (e.focus({\n preventScroll: !0\n }), t && toggleClass(e, this.config.classNames.tabFocus));\n}\n\nvar defaultCodecs = {\n \"audio/ogg\": \"vorbis\",\n \"audio/wav\": \"1\",\n \"video/webm\": \"vp8, vorbis\",\n \"video/mp4\": \"avc1.42E01E, mp4a.40.2\",\n \"video/ogg\": \"theora\"\n},\n support = {\n audio: \"canPlayType\" in document.createElement(\"audio\"),\n video: \"canPlayType\" in document.createElement(\"video\"),\n check: function check(e, t, i) {\n var s = browser.isIPhone && i && support.playsinline,\n n = support[e] || \"html5\" !== t;\n return {\n api: n,\n ui: n && support.rangeInput && (\"video\" !== e || !browser.isIPhone || s)\n };\n },\n pip: !(browser.isIPhone || !is.function(createElement(\"video\").webkitSetPresentationMode) && (!document.pictureInPictureEnabled || createElement(\"video\").disablePictureInPicture)),\n airplay: is.function(window.WebKitPlaybackTargetAvailabilityEvent),\n playsinline: \"playsInline\" in document.createElement(\"video\"),\n mime: function mime(e) {\n if (is.empty(e)) return !1;\n\n var _e$split = e.split(\"/\"),\n _e$split2 = _slicedToArray(_e$split, 1),\n t = _e$split2[0];\n\n var i = e;\n if (!this.isHTML5 || t !== this.type) return !1;\n Object.keys(defaultCodecs).includes(i) && (i += \"; codecs=\\\"\".concat(defaultCodecs[e], \"\\\"\"));\n\n try {\n return Boolean(i && this.media.canPlayType(i).replace(/no/, \"\"));\n } catch (e) {\n return !1;\n }\n },\n textTracks: \"textTracks\" in document.createElement(\"video\"),\n rangeInput: function () {\n var e = document.createElement(\"input\");\n return e.type = \"range\", \"range\" === e.type;\n }(),\n touch: \"ontouchstart\" in document.documentElement,\n transitions: !1 !== transitionEndEvent,\n reducedMotion: \"matchMedia\" in window && window.matchMedia(\"(prefers-reduced-motion)\").matches\n},\n supportsPassiveListeners = function () {\n var e = !1;\n\n try {\n var t = Object.defineProperty({}, \"passive\", {\n get: function get() {\n return e = !0, null;\n }\n });\n window.addEventListener(\"test\", null, t), window.removeEventListener(\"test\", null, t);\n } catch (e) {}\n\n return e;\n}();\n\nfunction toggleListener(e, t, i) {\n var _this = this;\n\n var s = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : !1;\n var n = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : !0;\n var r = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : !1;\n if (!e || !(\"addEventListener\" in e) || is.empty(t) || !is.function(i)) return;\n var a = t.split(\" \");\n var o = r;\n supportsPassiveListeners && (o = {\n passive: n,\n capture: r\n }), a.forEach(function (t) {\n _this && _this.eventListeners && s && _this.eventListeners.push({\n element: e,\n type: t,\n callback: i,\n options: o\n }), e[s ? \"addEventListener\" : \"removeEventListener\"](t, i, o);\n });\n}\n\nfunction on(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"\";\n var i = arguments.length > 2 ? arguments[2] : undefined;\n var s = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : !0;\n var n = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : !1;\n toggleListener.call(this, e, t, i, !0, s, n);\n}\n\nfunction off(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"\";\n var i = arguments.length > 2 ? arguments[2] : undefined;\n var s = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : !0;\n var n = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : !1;\n toggleListener.call(this, e, t, i, !1, s, n);\n}\n\nfunction once(e) {\n var _this2 = this;\n\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"\";\n var i = arguments.length > 2 ? arguments[2] : undefined;\n var s = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : !0;\n var n = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : !1;\n\n var r = function r() {\n for (var _len2 = arguments.length, a = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n a[_key2] = arguments[_key2];\n }\n\n off(e, t, r, s, n), i.apply(_this2, a);\n };\n\n toggleListener.call(this, e, t, r, !0, s, n);\n}\n\nfunction triggerEvent(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"\";\n var i = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !1;\n var s = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n if (!is.element(e) || is.empty(t)) return;\n var n = new CustomEvent(t, {\n bubbles: i,\n detail: _objectSpread2$1(_objectSpread2$1({}, s), {}, {\n plyr: this\n })\n });\n e.dispatchEvent(n);\n}\n\nfunction unbindListeners() {\n this && this.eventListeners && (this.eventListeners.forEach(function (e) {\n var t = e.element,\n i = e.type,\n s = e.callback,\n n = e.options;\n t.removeEventListener(i, s, n);\n }), this.eventListeners = []);\n}\n\nfunction ready() {\n var _this3 = this;\n\n return new Promise(function (e) {\n return _this3.ready ? setTimeout(e, 0) : on.call(_this3, _this3.elements.container, \"ready\", e);\n }).then(function () {});\n}\n\nfunction silencePromise(e) {\n is.promise(e) && e.then(null, function () {});\n}\n\nfunction dedupe(e) {\n return is.array(e) ? e.filter(function (t, i) {\n return e.indexOf(t) === i;\n }) : e;\n}\n\nfunction closest(e, t) {\n return is.array(e) && e.length ? e.reduce(function (e, i) {\n return Math.abs(i - t) < Math.abs(e - t) ? i : e;\n }) : null;\n}\n\nfunction supportsCSS(e) {\n return !(!window || !window.CSS) && window.CSS.supports(e);\n}\n\nvar standardRatios = [[1, 1], [4, 3], [3, 4], [5, 4], [4, 5], [3, 2], [2, 3], [16, 10], [10, 16], [16, 9], [9, 16], [21, 9], [9, 21], [32, 9], [9, 32]].reduce(function (e, _ref5) {\n var _ref6 = _slicedToArray(_ref5, 2),\n t = _ref6[0],\n i = _ref6[1];\n\n return _objectSpread2$1(_objectSpread2$1({}, e), {}, _defineProperty$2({}, t / i, [t, i]));\n}, {});\n\nfunction validateAspectRatio(e) {\n if (!(is.array(e) || is.string(e) && e.includes(\":\"))) return !1;\n return (is.array(e) ? e : e.split(\":\")).map(Number).every(is.number);\n}\n\nfunction reduceAspectRatio(e) {\n if (!is.array(e) || !e.every(is.number)) return null;\n\n var _e = _slicedToArray(e, 2),\n t = _e[0],\n i = _e[1],\n s = function s(e, t) {\n return 0 === t ? e : s(t, e % t);\n },\n n = s(t, i);\n\n return [t / n, i / n];\n}\n\nfunction getAspectRatio(e) {\n var _this$embed;\n\n var t = function t(e) {\n return validateAspectRatio(e) ? e.split(\":\").map(Number) : null;\n };\n\n var i = t(e);\n\n if (null === i && (i = t(this.config.ratio)), null === i && !is.empty(this.embed) && is.array(this.embed.ratio) && (_this$embed = this.embed, i = _this$embed.ratio, _this$embed), null === i && this.isHTML5) {\n var _this$media = this.media,\n _e2 = _this$media.videoWidth,\n _t = _this$media.videoHeight;\n i = [_e2, _t];\n }\n\n return reduceAspectRatio(i);\n}\n\nfunction setAspectRatio(e) {\n if (!this.isVideo) return {};\n var t = this.elements.wrapper,\n i = getAspectRatio.call(this, e);\n if (!is.array(i)) return {};\n\n var _reduceAspectRatio = reduceAspectRatio(i),\n _reduceAspectRatio2 = _slicedToArray(_reduceAspectRatio, 2),\n s = _reduceAspectRatio2[0],\n n = _reduceAspectRatio2[1],\n r = 100 / s * n;\n\n if (supportsCSS(\"aspect-ratio: \".concat(s, \"/\").concat(n)) ? t.style.aspectRatio = \"\".concat(s, \"/\").concat(n) : t.style.paddingBottom = \"\".concat(r, \"%\"), this.isVimeo && !this.config.vimeo.premium && this.supported.ui) {\n var _e3 = 100 / this.media.offsetWidth * parseInt(window.getComputedStyle(this.media).paddingBottom, 10),\n _i = (_e3 - r) / (_e3 / 50);\n\n this.fullscreen.active ? t.style.paddingBottom = null : this.media.style.transform = \"translateY(-\".concat(_i, \"%)\");\n } else this.isHTML5 && t.classList.add(this.config.classNames.videoFixedRatio);\n\n return {\n padding: r,\n ratio: i\n };\n}\n\nfunction roundAspectRatio(e, t) {\n var i = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : .05;\n var s = e / t,\n n = closest(Object.keys(standardRatios), s);\n return Math.abs(n - s) <= i ? standardRatios[n] : [e, t];\n}\n\nfunction getViewportSize() {\n return [Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0), Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0)];\n}\n\nvar html5 = {\n getSources: function getSources() {\n var _this4 = this;\n\n if (!this.isHTML5) return [];\n return Array.from(this.media.querySelectorAll(\"source\")).filter(function (e) {\n var t = e.getAttribute(\"type\");\n return !!is.empty(t) || support.mime.call(_this4, t);\n });\n },\n getQualityOptions: function getQualityOptions() {\n return this.config.quality.forced ? this.config.quality.options : html5.getSources.call(this).map(function (e) {\n return Number(e.getAttribute(\"size\"));\n }).filter(Boolean);\n },\n setup: function setup() {\n if (!this.isHTML5) return;\n var e = this;\n e.options.speed = e.config.speed.options, is.empty(this.config.ratio) || setAspectRatio.call(e), Object.defineProperty(e.media, \"quality\", {\n get: function get() {\n var t = html5.getSources.call(e).find(function (t) {\n return t.getAttribute(\"src\") === e.source;\n });\n return t && Number(t.getAttribute(\"size\"));\n },\n set: function set(t) {\n if (e.quality !== t) {\n if (e.config.quality.forced && is.function(e.config.quality.onChange)) e.config.quality.onChange(t);else {\n var i = html5.getSources.call(e).find(function (e) {\n return Number(e.getAttribute(\"size\")) === t;\n });\n if (!i) return;\n var _e$media = e.media,\n s = _e$media.currentTime,\n n = _e$media.paused,\n r = _e$media.preload,\n a = _e$media.readyState,\n o = _e$media.playbackRate;\n e.media.src = i.getAttribute(\"src\"), (\"none\" !== r || a) && (e.once(\"loadedmetadata\", function () {\n e.speed = o, e.currentTime = s, n || silencePromise(e.play());\n }), e.media.load());\n }\n triggerEvent.call(e, e.media, \"qualitychange\", !1, {\n quality: t\n });\n }\n }\n });\n },\n cancelRequests: function cancelRequests() {\n this.isHTML5 && (removeElement(html5.getSources.call(this)), this.media.setAttribute(\"src\", this.config.blankVideo), this.media.load(), this.debug.log(\"Cancelled network requests\"));\n }\n};\n\nfunction generateId(e) {\n return \"\".concat(e, \"-\").concat(Math.floor(1e4 * Math.random()));\n}\n\nfunction format(e) {\n for (var _len3 = arguments.length, t = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n t[_key3 - 1] = arguments[_key3];\n }\n\n return is.empty(e) ? e : e.toString().replace(/{(\\d+)}/g, function (e, i) {\n return t[i].toString();\n });\n}\n\nfunction getPercentage(e, t) {\n return 0 === e || 0 === t || Number.isNaN(e) || Number.isNaN(t) ? 0 : (e / t * 100).toFixed(2);\n}\n\nvar replaceAll = function replaceAll() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"\";\n var i = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\";\n return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\\]/\\\\])/g, \"\\\\$1\"), \"g\"), i.toString());\n},\n toTitleCase = function toTitleCase() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n return e.toString().replace(/\\w\\S*/g, function (e) {\n return e.charAt(0).toUpperCase() + e.substr(1).toLowerCase();\n });\n};\n\nfunction toPascalCase() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n var t = e.toString();\n return t = replaceAll(t, \"-\", \" \"), t = replaceAll(t, \"_\", \" \"), t = toTitleCase(t), replaceAll(t, \" \", \"\");\n}\n\nfunction toCamelCase() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n var t = e.toString();\n return t = toPascalCase(t), t.charAt(0).toLowerCase() + t.slice(1);\n}\n\nfunction stripHTML(e) {\n var t = document.createDocumentFragment(),\n i = document.createElement(\"div\");\n return t.appendChild(i), i.innerHTML = e, t.firstChild.innerText;\n}\n\nfunction getHTML(e) {\n var t = document.createElement(\"div\");\n return t.appendChild(e), t.innerHTML;\n}\n\nvar resources = {\n pip: \"PIP\",\n airplay: \"AirPlay\",\n html5: \"HTML5\",\n vimeo: \"Vimeo\",\n youtube: \"YouTube\"\n},\n i18n = {\n get: function get() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (is.empty(e) || is.empty(t)) return \"\";\n var i = getDeep(t.i18n, e);\n if (is.empty(i)) return Object.keys(resources).includes(e) ? resources[e] : \"\";\n var s = {\n \"{seektime}\": t.seekTime,\n \"{title}\": t.title\n };\n return Object.entries(s).forEach(function (_ref7) {\n var _ref8 = _slicedToArray(_ref7, 2),\n e = _ref8[0],\n t = _ref8[1];\n\n i = replaceAll(i, e, t);\n }), i;\n }\n};\n\nvar Storage = /*#__PURE__*/function () {\n function Storage(e) {\n var _this5 = this;\n\n _classCallCheck$1(this, Storage);\n\n _defineProperty$1(this, \"get\", function (e) {\n if (!Storage.supported || !_this5.enabled) return null;\n var t = window.localStorage.getItem(_this5.key);\n if (is.empty(t)) return null;\n var i = JSON.parse(t);\n return is.string(e) && e.length ? i[e] : i;\n }), _defineProperty$1(this, \"set\", function (e) {\n if (!Storage.supported || !_this5.enabled) return;\n if (!is.object(e)) return;\n\n var t = _this5.get();\n\n is.empty(t) && (t = {}), extend(t, e), window.localStorage.setItem(_this5.key, JSON.stringify(t));\n }), this.enabled = e.config.storage.enabled, this.key = e.config.storage.key;\n }\n\n _createClass$1(Storage, null, [{\n key: \"supported\",\n get: function get() {\n try {\n if (!(\"localStorage\" in window)) return !1;\n var e = \"___test\";\n return window.localStorage.setItem(e, e), window.localStorage.removeItem(e), !0;\n } catch (e) {\n return !1;\n }\n }\n }]);\n\n return Storage;\n}();\n\nfunction fetch$1(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"text\";\n return new Promise(function (i, s) {\n try {\n var _s = new XMLHttpRequest();\n\n if (!(\"withCredentials\" in _s)) return;\n _s.addEventListener(\"load\", function () {\n if (\"text\" === t) try {\n i(JSON.parse(_s.responseText));\n } catch (e) {\n i(_s.responseText);\n } else i(_s.response);\n }), _s.addEventListener(\"error\", function () {\n throw new Error(_s.status);\n }), _s.open(\"GET\", e, !0), _s.responseType = t, _s.send();\n } catch (e) {\n s(e);\n }\n });\n}\n\nfunction _loadSprite(e, t) {\n if (!is.string(e)) return;\n var i = is.string(t);\n var s = !1;\n\n var n = function n() {\n return null !== document.getElementById(t);\n },\n r = function r(e, t) {\n e.innerHTML = t, i && n() || document.body.insertAdjacentElement(\"afterbegin\", e);\n };\n\n if (!i || !n()) {\n var _n = Storage.supported,\n a = document.createElement(\"div\");\n\n if (a.setAttribute(\"hidden\", \"\"), i && a.setAttribute(\"id\", t), _n) {\n var _e4 = window.localStorage.getItem(\"cache-\".concat(t));\n\n if (s = null !== _e4, s) {\n var _t2 = JSON.parse(_e4);\n\n r(a, _t2.content);\n }\n }\n\n fetch$1(e).then(function (e) {\n is.empty(e) || (_n && window.localStorage.setItem(\"cache-\".concat(t), JSON.stringify({\n content: e\n })), r(a, e));\n }).catch(function () {});\n }\n}\n\nvar getHours = function getHours(e) {\n return Math.trunc(e / 60 / 60 % 60, 10);\n},\n getSeconds = function getSeconds(e) {\n return Math.trunc(e % 60, 10);\n};\n\nfunction _formatTime() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;\n var i = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !1;\n if (!is.number(e)) return _formatTime(void 0, t, i);\n\n var s = function s(e) {\n return \"0\".concat(e).slice(-2);\n };\n\n var n = getHours(e);\n var r = (a = e, Math.trunc(a / 60 % 60, 10));\n var a;\n var o = getSeconds(e);\n return n = t || n > 0 ? \"\".concat(n, \":\") : \"\", \"\".concat(i && e > 0 ? \"-\" : \"\").concat(n).concat(s(r), \":\").concat(s(o));\n}\n\nvar controls = {\n getIconUrl: function getIconUrl() {\n var e = new URL(this.config.iconUrl, window.location),\n t = window.location.host ? window.location.host : window.top.location.host,\n i = e.host !== t || browser.isIE && !window.svg4everybody;\n return {\n url: this.config.iconUrl,\n cors: i\n };\n },\n findElements: function findElements() {\n try {\n return this.elements.controls = getElement.call(this, this.config.selectors.controls.wrapper), this.elements.buttons = {\n play: getElements.call(this, this.config.selectors.buttons.play),\n pause: getElement.call(this, this.config.selectors.buttons.pause),\n restart: getElement.call(this, this.config.selectors.buttons.restart),\n rewind: getElement.call(this, this.config.selectors.buttons.rewind),\n fastForward: getElement.call(this, this.config.selectors.buttons.fastForward),\n mute: getElement.call(this, this.config.selectors.buttons.mute),\n pip: getElement.call(this, this.config.selectors.buttons.pip),\n airplay: getElement.call(this, this.config.selectors.buttons.airplay),\n settings: getElement.call(this, this.config.selectors.buttons.settings),\n captions: getElement.call(this, this.config.selectors.buttons.captions),\n fullscreen: getElement.call(this, this.config.selectors.buttons.fullscreen)\n }, this.elements.progress = getElement.call(this, this.config.selectors.progress), this.elements.inputs = {\n seek: getElement.call(this, this.config.selectors.inputs.seek),\n volume: getElement.call(this, this.config.selectors.inputs.volume)\n }, this.elements.display = {\n buffer: getElement.call(this, this.config.selectors.display.buffer),\n currentTime: getElement.call(this, this.config.selectors.display.currentTime),\n duration: getElement.call(this, this.config.selectors.display.duration)\n }, is.element(this.elements.progress) && (this.elements.display.seekTooltip = this.elements.progress.querySelector(\".\".concat(this.config.classNames.tooltip))), !0;\n } catch (e) {\n return this.debug.warn(\"It looks like there is a problem with your custom controls HTML\", e), this.toggleNativeControls(!0), !1;\n }\n },\n createIcon: function createIcon(e, t) {\n var i = \"http://www.w3.org/2000/svg\",\n s = controls.getIconUrl.call(this),\n n = \"\".concat(s.cors ? \"\" : s.url, \"#\").concat(this.config.iconPrefix),\n r = document.createElementNS(i, \"svg\");\n setAttributes(r, extend(t, {\n \"aria-hidden\": \"true\",\n focusable: \"false\"\n }));\n var a = document.createElementNS(i, \"use\"),\n o = \"\".concat(n, \"-\").concat(e);\n return \"href\" in a && a.setAttributeNS(\"http://www.w3.org/1999/xlink\", \"href\", o), a.setAttributeNS(\"http://www.w3.org/1999/xlink\", \"xlink:href\", o), r.appendChild(a), r;\n },\n createLabel: function createLabel(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i = i18n.get(e, this.config);\n return createElement(\"span\", _objectSpread2$1(_objectSpread2$1({}, t), {}, {\n class: [t.class, this.config.classNames.hidden].filter(Boolean).join(\" \")\n }), i);\n },\n createBadge: function createBadge(e) {\n if (is.empty(e)) return null;\n var t = createElement(\"span\", {\n class: this.config.classNames.menu.value\n });\n return t.appendChild(createElement(\"span\", {\n class: this.config.classNames.menu.badge\n }, e)), t;\n },\n createButton: function createButton(e, t) {\n var _this6 = this;\n\n var i = extend({}, t);\n var s = toCamelCase(e);\n var n = {\n element: \"button\",\n toggle: !1,\n label: null,\n icon: null,\n labelPressed: null,\n iconPressed: null\n };\n\n switch ([\"element\", \"icon\", \"label\"].forEach(function (e) {\n Object.keys(i).includes(e) && (n[e] = i[e], delete i[e]);\n }), \"button\" !== n.element || Object.keys(i).includes(\"type\") || (i.type = \"button\"), Object.keys(i).includes(\"class\") ? i.class.split(\" \").some(function (e) {\n return e === _this6.config.classNames.control;\n }) || extend(i, {\n class: \"\".concat(i.class, \" \").concat(this.config.classNames.control)\n }) : i.class = this.config.classNames.control, e) {\n case \"play\":\n n.toggle = !0, n.label = \"play\", n.labelPressed = \"pause\", n.icon = \"play\", n.iconPressed = \"pause\";\n break;\n\n case \"mute\":\n n.toggle = !0, n.label = \"mute\", n.labelPressed = \"unmute\", n.icon = \"volume\", n.iconPressed = \"muted\";\n break;\n\n case \"captions\":\n n.toggle = !0, n.label = \"enableCaptions\", n.labelPressed = \"disableCaptions\", n.icon = \"captions-off\", n.iconPressed = \"captions-on\";\n break;\n\n case \"fullscreen\":\n n.toggle = !0, n.label = \"enterFullscreen\", n.labelPressed = \"exitFullscreen\", n.icon = \"enter-fullscreen\", n.iconPressed = \"exit-fullscreen\";\n break;\n\n case \"play-large\":\n i.class += \" \".concat(this.config.classNames.control, \"--overlaid\"), s = \"play\", n.label = \"play\", n.icon = \"play\";\n break;\n\n default:\n is.empty(n.label) && (n.label = s), is.empty(n.icon) && (n.icon = e);\n }\n\n var r = createElement(n.element);\n return n.toggle ? (r.appendChild(controls.createIcon.call(this, n.iconPressed, {\n class: \"icon--pressed\"\n })), r.appendChild(controls.createIcon.call(this, n.icon, {\n class: \"icon--not-pressed\"\n })), r.appendChild(controls.createLabel.call(this, n.labelPressed, {\n class: \"label--pressed\"\n })), r.appendChild(controls.createLabel.call(this, n.label, {\n class: \"label--not-pressed\"\n }))) : (r.appendChild(controls.createIcon.call(this, n.icon)), r.appendChild(controls.createLabel.call(this, n.label))), extend(i, getAttributesFromSelector(this.config.selectors.buttons[s], i)), setAttributes(r, i), \"play\" === s ? (is.array(this.elements.buttons[s]) || (this.elements.buttons[s] = []), this.elements.buttons[s].push(r)) : this.elements.buttons[s] = r, r;\n },\n createRange: function createRange(e, t) {\n var i = createElement(\"input\", extend(getAttributesFromSelector(this.config.selectors.inputs[e]), {\n type: \"range\",\n min: 0,\n max: 100,\n step: .01,\n value: 0,\n autocomplete: \"off\",\n role: \"slider\",\n \"aria-label\": i18n.get(e, this.config),\n \"aria-valuemin\": 0,\n \"aria-valuemax\": 100,\n \"aria-valuenow\": 0\n }, t));\n return this.elements.inputs[e] = i, controls.updateRangeFill.call(this, i), RangeTouch.setup(i), i;\n },\n createProgress: function createProgress(e, t) {\n var i = createElement(\"progress\", extend(getAttributesFromSelector(this.config.selectors.display[e]), {\n min: 0,\n max: 100,\n value: 0,\n role: \"progressbar\",\n \"aria-hidden\": !0\n }, t));\n\n if (\"volume\" !== e) {\n i.appendChild(createElement(\"span\", null, \"0\"));\n var _t3 = {\n played: \"played\",\n buffer: \"buffered\"\n }[e],\n s = _t3 ? i18n.get(_t3, this.config) : \"\";\n i.innerText = \"% \".concat(s.toLowerCase());\n }\n\n return this.elements.display[e] = i, i;\n },\n createTime: function createTime(e, t) {\n var i = getAttributesFromSelector(this.config.selectors.display[e], t),\n s = createElement(\"div\", extend(i, {\n class: \"\".concat(i.class ? i.class : \"\", \" \").concat(this.config.classNames.display.time, \" \").trim(),\n \"aria-label\": i18n.get(e, this.config)\n }), \"00:00\");\n return this.elements.display[e] = s, s;\n },\n bindMenuItemShortcuts: function bindMenuItemShortcuts(e, t) {\n var _this7 = this;\n\n on.call(this, e, \"keydown keyup\", function (i) {\n if (![32, 38, 39, 40].includes(i.which)) return;\n if (i.preventDefault(), i.stopPropagation(), \"keydown\" === i.type) return;\n var s = matches(e, '[role=\"menuitemradio\"]');\n if (!s && [32, 39].includes(i.which)) controls.showMenuPanel.call(_this7, t, !0);else {\n var _t4;\n\n 32 !== i.which && (40 === i.which || s && 39 === i.which ? (_t4 = e.nextElementSibling, is.element(_t4) || (_t4 = e.parentNode.firstElementChild)) : (_t4 = e.previousElementSibling, is.element(_t4) || (_t4 = e.parentNode.lastElementChild)), setFocus.call(_this7, _t4, !0));\n }\n }, !1), on.call(this, e, \"keyup\", function (e) {\n 13 === e.which && controls.focusFirstMenuItem.call(_this7, null, !0);\n });\n },\n createMenuItem: function createMenuItem(_ref9) {\n var _this8 = this;\n\n var e = _ref9.value,\n t = _ref9.list,\n i = _ref9.type,\n s = _ref9.title,\n _ref9$badge = _ref9.badge,\n n = _ref9$badge === void 0 ? null : _ref9$badge,\n _ref9$checked = _ref9.checked,\n r = _ref9$checked === void 0 ? !1 : _ref9$checked;\n var a = getAttributesFromSelector(this.config.selectors.inputs[i]),\n o = createElement(\"button\", extend(a, {\n type: \"button\",\n role: \"menuitemradio\",\n class: \"\".concat(this.config.classNames.control, \" \").concat(a.class ? a.class : \"\").trim(),\n \"aria-checked\": r,\n value: e\n })),\n l = createElement(\"span\");\n l.innerHTML = s, is.element(n) && l.appendChild(n), o.appendChild(l), Object.defineProperty(o, \"checked\", {\n enumerable: !0,\n get: function get() {\n return \"true\" === o.getAttribute(\"aria-checked\");\n },\n set: function set(e) {\n e && Array.from(o.parentNode.children).filter(function (e) {\n return matches(e, '[role=\"menuitemradio\"]');\n }).forEach(function (e) {\n return e.setAttribute(\"aria-checked\", \"false\");\n }), o.setAttribute(\"aria-checked\", e ? \"true\" : \"false\");\n }\n }), this.listeners.bind(o, \"click keyup\", function (t) {\n if (!is.keyboardEvent(t) || 32 === t.which) {\n switch (t.preventDefault(), t.stopPropagation(), o.checked = !0, i) {\n case \"language\":\n _this8.currentTrack = Number(e);\n break;\n\n case \"quality\":\n _this8.quality = e;\n break;\n\n case \"speed\":\n _this8.speed = parseFloat(e);\n }\n\n controls.showMenuPanel.call(_this8, \"home\", is.keyboardEvent(t));\n }\n }, i, !1), controls.bindMenuItemShortcuts.call(this, o, i), t.appendChild(o);\n },\n formatTime: function formatTime() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;\n if (!is.number(e)) return e;\n return _formatTime(e, getHours(this.duration) > 0, t);\n },\n updateTimeDisplay: function updateTimeDisplay() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var i = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !1;\n is.element(e) && is.number(t) && (e.innerText = controls.formatTime(t, i));\n },\n updateVolume: function updateVolume() {\n this.supported.ui && (is.element(this.elements.inputs.volume) && controls.setRange.call(this, this.elements.inputs.volume, this.muted ? 0 : this.volume), is.element(this.elements.buttons.mute) && (this.elements.buttons.mute.pressed = this.muted || 0 === this.volume));\n },\n setRange: function setRange(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n is.element(e) && (e.value = t, controls.updateRangeFill.call(this, e));\n },\n updateProgress: function updateProgress(e) {\n var _this9 = this;\n\n if (!this.supported.ui || !is.event(e)) return;\n var t = 0;\n\n var i = function i(e, t) {\n var i = is.number(t) ? t : 0,\n s = is.element(e) ? e : _this9.elements.display.buffer;\n\n if (is.element(s)) {\n s.value = i;\n var _e5 = s.getElementsByTagName(\"span\")[0];\n is.element(_e5) && (_e5.childNodes[0].nodeValue = i);\n }\n };\n\n if (e) switch (e.type) {\n case \"timeupdate\":\n case \"seeking\":\n case \"seeked\":\n t = getPercentage(this.currentTime, this.duration), \"timeupdate\" === e.type && controls.setRange.call(this, this.elements.inputs.seek, t);\n break;\n\n case \"playing\":\n case \"progress\":\n i(this.elements.display.buffer, 100 * this.buffered);\n }\n },\n updateRangeFill: function updateRangeFill(e) {\n var t = is.event(e) ? e.target : e;\n\n if (is.element(t) && \"range\" === t.getAttribute(\"type\")) {\n if (matches(t, this.config.selectors.inputs.seek)) {\n t.setAttribute(\"aria-valuenow\", this.currentTime);\n\n var _e6 = controls.formatTime(this.currentTime),\n i = controls.formatTime(this.duration),\n s = i18n.get(\"seekLabel\", this.config);\n\n t.setAttribute(\"aria-valuetext\", s.replace(\"{currentTime}\", _e6).replace(\"{duration}\", i));\n } else if (matches(t, this.config.selectors.inputs.volume)) {\n var _e7 = 100 * t.value;\n\n t.setAttribute(\"aria-valuenow\", _e7), t.setAttribute(\"aria-valuetext\", \"\".concat(_e7.toFixed(1), \"%\"));\n } else t.setAttribute(\"aria-valuenow\", t.value);\n\n browser.isWebkit && t.style.setProperty(\"--value\", t.value / t.max * 100 + \"%\");\n }\n },\n updateSeekTooltip: function updateSeekTooltip(e) {\n var _this10 = this;\n\n if (!this.config.tooltips.seek || !is.element(this.elements.inputs.seek) || !is.element(this.elements.display.seekTooltip) || 0 === this.duration) return;\n\n var t = \"\".concat(this.config.classNames.tooltip, \"--visible\"),\n i = function i(e) {\n return toggleClass(_this10.elements.display.seekTooltip, t, e);\n };\n\n if (this.touch) return void i(!1);\n var s = 0;\n var n = this.elements.progress.getBoundingClientRect();\n if (is.event(e)) s = 100 / n.width * (e.pageX - n.left);else {\n if (!hasClass(this.elements.display.seekTooltip, t)) return;\n s = parseFloat(this.elements.display.seekTooltip.style.left, 10);\n }\n s < 0 ? s = 0 : s > 100 && (s = 100), controls.updateTimeDisplay.call(this, this.elements.display.seekTooltip, this.duration / 100 * s), this.elements.display.seekTooltip.style.left = \"\".concat(s, \"%\"), is.event(e) && [\"mouseenter\", \"mouseleave\"].includes(e.type) && i(\"mouseenter\" === e.type);\n },\n timeUpdate: function timeUpdate(e) {\n var t = !is.element(this.elements.display.duration) && this.config.invertTime;\n controls.updateTimeDisplay.call(this, this.elements.display.currentTime, t ? this.duration - this.currentTime : this.currentTime, t), e && \"timeupdate\" === e.type && this.media.seeking || controls.updateProgress.call(this, e);\n },\n durationUpdate: function durationUpdate() {\n if (!this.supported.ui || !this.config.invertTime && this.currentTime) return;\n if (this.duration >= Math.pow(2, 32)) return toggleHidden(this.elements.display.currentTime, !0), void toggleHidden(this.elements.progress, !0);\n is.element(this.elements.inputs.seek) && this.elements.inputs.seek.setAttribute(\"aria-valuemax\", this.duration);\n var e = is.element(this.elements.display.duration);\n !e && this.config.displayDuration && this.paused && controls.updateTimeDisplay.call(this, this.elements.display.currentTime, this.duration), e && controls.updateTimeDisplay.call(this, this.elements.display.duration, this.duration), controls.updateSeekTooltip.call(this);\n },\n toggleMenuButton: function toggleMenuButton(e, t) {\n toggleHidden(this.elements.settings.buttons[e], !t);\n },\n updateSetting: function updateSetting(e, t, i) {\n var s = this.elements.settings.panels[e];\n var n = null,\n r = t;\n if (\"captions\" === e) n = this.currentTrack;else {\n if (n = is.empty(i) ? this[e] : i, is.empty(n) && (n = this.config[e].default), !is.empty(this.options[e]) && !this.options[e].includes(n)) return void this.debug.warn(\"Unsupported value of '\".concat(n, \"' for \").concat(e));\n if (!this.config[e].options.includes(n)) return void this.debug.warn(\"Disabled value of '\".concat(n, \"' for \").concat(e));\n }\n if (is.element(r) || (r = s && s.querySelector('[role=\"menu\"]')), !is.element(r)) return;\n this.elements.settings.buttons[e].querySelector(\".\".concat(this.config.classNames.menu.value)).innerHTML = controls.getLabel.call(this, e, n);\n var a = r && r.querySelector(\"[value=\\\"\".concat(n, \"\\\"]\"));\n is.element(a) && (a.checked = !0);\n },\n getLabel: function getLabel(e, t) {\n switch (e) {\n case \"speed\":\n return 1 === t ? i18n.get(\"normal\", this.config) : \"\".concat(t, \"&times;\");\n\n case \"quality\":\n if (is.number(t)) {\n if (0 === t) return i18n.get(\"auto\", this.config);\n\n var _e8 = i18n.get(\"qualityLabel.\".concat(t), this.config);\n\n return _e8.length ? _e8 : \"\".concat(t, \"p\");\n }\n\n return toTitleCase(t);\n\n case \"captions\":\n return captions.getLabel.call(this);\n\n default:\n return null;\n }\n },\n setQualityMenu: function setQualityMenu(e) {\n var _this11 = this;\n\n if (!is.element(this.elements.settings.panels.quality)) return;\n var t = \"quality\",\n i = this.elements.settings.panels.quality.querySelector('[role=\"menu\"]');\n is.array(e) && (this.options.quality = dedupe(e).filter(function (e) {\n return _this11.config.quality.options.includes(e);\n }));\n var s = !is.empty(this.options.quality) && this.options.quality.length > 1;\n if (controls.toggleMenuButton.call(this, t, s), emptyElement(i), controls.checkMenu.call(this), !s) return;\n\n var n = function n(e) {\n var t = i18n.get(\"qualityBadge.\".concat(e), _this11.config);\n return t.length ? controls.createBadge.call(_this11, t) : null;\n };\n\n this.options.quality.sort(function (e, t) {\n var i = _this11.config.quality.options;\n return i.indexOf(e) > i.indexOf(t) ? 1 : -1;\n }).forEach(function (e) {\n controls.createMenuItem.call(_this11, {\n value: e,\n list: i,\n type: t,\n title: controls.getLabel.call(_this11, \"quality\", e),\n badge: n(e)\n });\n }), controls.updateSetting.call(this, t, i);\n },\n setCaptionsMenu: function setCaptionsMenu() {\n var _this12 = this;\n\n if (!is.element(this.elements.settings.panels.captions)) return;\n var e = \"captions\",\n t = this.elements.settings.panels.captions.querySelector('[role=\"menu\"]'),\n i = captions.getTracks.call(this),\n s = Boolean(i.length);\n if (controls.toggleMenuButton.call(this, e, s), emptyElement(t), controls.checkMenu.call(this), !s) return;\n var n = i.map(function (e, i) {\n return {\n value: i,\n checked: _this12.captions.toggled && _this12.currentTrack === i,\n title: captions.getLabel.call(_this12, e),\n badge: e.language && controls.createBadge.call(_this12, e.language.toUpperCase()),\n list: t,\n type: \"language\"\n };\n });\n n.unshift({\n value: -1,\n checked: !this.captions.toggled,\n title: i18n.get(\"disabled\", this.config),\n list: t,\n type: \"language\"\n }), n.forEach(controls.createMenuItem.bind(this)), controls.updateSetting.call(this, e, t);\n },\n setSpeedMenu: function setSpeedMenu() {\n var _this13 = this;\n\n if (!is.element(this.elements.settings.panels.speed)) return;\n var e = \"speed\",\n t = this.elements.settings.panels.speed.querySelector('[role=\"menu\"]');\n this.options.speed = this.options.speed.filter(function (e) {\n return e >= _this13.minimumSpeed && e <= _this13.maximumSpeed;\n });\n var i = !is.empty(this.options.speed) && this.options.speed.length > 1;\n controls.toggleMenuButton.call(this, e, i), emptyElement(t), controls.checkMenu.call(this), i && (this.options.speed.forEach(function (i) {\n controls.createMenuItem.call(_this13, {\n value: i,\n list: t,\n type: e,\n title: controls.getLabel.call(_this13, \"speed\", i)\n });\n }), controls.updateSetting.call(this, e, t));\n },\n checkMenu: function checkMenu() {\n var e = this.elements.settings.buttons,\n t = !is.empty(e) && Object.values(e).some(function (e) {\n return !e.hidden;\n });\n toggleHidden(this.elements.settings.menu, !t);\n },\n focusFirstMenuItem: function focusFirstMenuItem(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;\n if (this.elements.settings.popup.hidden) return;\n var i = e;\n is.element(i) || (i = Object.values(this.elements.settings.panels).find(function (e) {\n return !e.hidden;\n }));\n var s = i.querySelector('[role^=\"menuitem\"]');\n setFocus.call(this, s, t);\n },\n toggleMenu: function toggleMenu(e) {\n var t = this.elements.settings.popup,\n i = this.elements.buttons.settings;\n if (!is.element(t) || !is.element(i)) return;\n var s = t.hidden;\n var n = s;\n if (is.boolean(e)) n = e;else if (is.keyboardEvent(e) && 27 === e.which) n = !1;else if (is.event(e)) {\n var _s2 = is.function(e.composedPath) ? e.composedPath()[0] : e.target,\n r = t.contains(_s2);\n\n if (r || !r && e.target !== i && n) return;\n }\n i.setAttribute(\"aria-expanded\", n), toggleHidden(t, !n), toggleClass(this.elements.container, this.config.classNames.menu.open, n), n && is.keyboardEvent(e) ? controls.focusFirstMenuItem.call(this, null, !0) : n || s || setFocus.call(this, i, is.keyboardEvent(e));\n },\n getMenuSize: function getMenuSize(e) {\n var t = e.cloneNode(!0);\n t.style.position = \"absolute\", t.style.opacity = 0, t.removeAttribute(\"hidden\"), e.parentNode.appendChild(t);\n var i = t.scrollWidth,\n s = t.scrollHeight;\n return removeElement(t), {\n width: i,\n height: s\n };\n },\n showMenuPanel: function showMenuPanel() {\n var _this14 = this;\n\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;\n var i = this.elements.container.querySelector(\"#plyr-settings-\".concat(this.id, \"-\").concat(e));\n if (!is.element(i)) return;\n var s = i.parentNode,\n n = Array.from(s.children).find(function (e) {\n return !e.hidden;\n });\n\n if (support.transitions && !support.reducedMotion) {\n s.style.width = \"\".concat(n.scrollWidth, \"px\"), s.style.height = \"\".concat(n.scrollHeight, \"px\");\n\n var _e9 = controls.getMenuSize.call(this, i),\n _t5 = function _t5(e) {\n e.target === s && [\"width\", \"height\"].includes(e.propertyName) && (s.style.width = \"\", s.style.height = \"\", off.call(_this14, s, transitionEndEvent, _t5));\n };\n\n on.call(this, s, transitionEndEvent, _t5), s.style.width = \"\".concat(_e9.width, \"px\"), s.style.height = \"\".concat(_e9.height, \"px\");\n }\n\n toggleHidden(n, !0), toggleHidden(i, !1), controls.focusFirstMenuItem.call(this, i, t);\n },\n setDownloadUrl: function setDownloadUrl() {\n var e = this.elements.buttons.download;\n is.element(e) && e.setAttribute(\"href\", this.download);\n },\n create: function create(e) {\n var _this15 = this;\n\n var t = controls.bindMenuItemShortcuts,\n i = controls.createButton,\n s = controls.createProgress,\n n = controls.createRange,\n r = controls.createTime,\n a = controls.setQualityMenu,\n o = controls.setSpeedMenu,\n l = controls.showMenuPanel;\n this.elements.controls = null, is.array(this.config.controls) && this.config.controls.includes(\"play-large\") && this.elements.container.appendChild(i.call(this, \"play-large\"));\n var c = createElement(\"div\", getAttributesFromSelector(this.config.selectors.controls.wrapper));\n this.elements.controls = c;\n var u = {\n class: \"plyr__controls__item\"\n };\n return dedupe(is.array(this.config.controls) ? this.config.controls : []).forEach(function (a) {\n if (\"restart\" === a && c.appendChild(i.call(_this15, \"restart\", u)), \"rewind\" === a && c.appendChild(i.call(_this15, \"rewind\", u)), \"play\" === a && c.appendChild(i.call(_this15, \"play\", u)), \"fast-forward\" === a && c.appendChild(i.call(_this15, \"fast-forward\", u)), \"progress\" === a) {\n var _t6 = createElement(\"div\", {\n class: \"\".concat(u.class, \" plyr__progress__container\")\n }),\n _i2 = createElement(\"div\", getAttributesFromSelector(_this15.config.selectors.progress));\n\n if (_i2.appendChild(n.call(_this15, \"seek\", {\n id: \"plyr-seek-\".concat(e.id)\n })), _i2.appendChild(s.call(_this15, \"buffer\")), _this15.config.tooltips.seek) {\n var _e10 = createElement(\"span\", {\n class: _this15.config.classNames.tooltip\n }, \"00:00\");\n\n _i2.appendChild(_e10), _this15.elements.display.seekTooltip = _e10;\n }\n\n _this15.elements.progress = _i2, _t6.appendChild(_this15.elements.progress), c.appendChild(_t6);\n }\n\n if (\"current-time\" === a && c.appendChild(r.call(_this15, \"currentTime\", u)), \"duration\" === a && c.appendChild(r.call(_this15, \"duration\", u)), \"mute\" === a || \"volume\" === a) {\n var _t7 = _this15.elements.volume;\n\n if (is.element(_t7) && c.contains(_t7) || (_t7 = createElement(\"div\", extend({}, u, {\n class: \"\".concat(u.class, \" plyr__volume\").trim()\n })), _this15.elements.volume = _t7, c.appendChild(_t7)), \"mute\" === a && _t7.appendChild(i.call(_this15, \"mute\")), \"volume\" === a && !browser.isIos) {\n var _i3 = {\n max: 1,\n step: .05,\n value: _this15.config.volume\n };\n\n _t7.appendChild(n.call(_this15, \"volume\", extend(_i3, {\n id: \"plyr-volume-\".concat(e.id)\n })));\n }\n }\n\n if (\"captions\" === a && c.appendChild(i.call(_this15, \"captions\", u)), \"settings\" === a && !is.empty(_this15.config.settings)) {\n var _s3 = createElement(\"div\", extend({}, u, {\n class: \"\".concat(u.class, \" plyr__menu\").trim(),\n hidden: \"\"\n }));\n\n _s3.appendChild(i.call(_this15, \"settings\", {\n \"aria-haspopup\": !0,\n \"aria-controls\": \"plyr-settings-\".concat(e.id),\n \"aria-expanded\": !1\n }));\n\n var _n2 = createElement(\"div\", {\n class: \"plyr__menu__container\",\n id: \"plyr-settings-\".concat(e.id),\n hidden: \"\"\n }),\n _r2 = createElement(\"div\"),\n _a = createElement(\"div\", {\n id: \"plyr-settings-\".concat(e.id, \"-home\")\n }),\n _o = createElement(\"div\", {\n role: \"menu\"\n });\n\n _a.appendChild(_o), _r2.appendChild(_a), _this15.elements.settings.panels.home = _a, _this15.config.settings.forEach(function (i) {\n var s = createElement(\"button\", extend(getAttributesFromSelector(_this15.config.selectors.buttons.settings), {\n type: \"button\",\n class: \"\".concat(_this15.config.classNames.control, \" \").concat(_this15.config.classNames.control, \"--forward\"),\n role: \"menuitem\",\n \"aria-haspopup\": !0,\n hidden: \"\"\n }));\n t.call(_this15, s, i), on.call(_this15, s, \"click\", function () {\n l.call(_this15, i, !1);\n });\n var n = createElement(\"span\", null, i18n.get(i, _this15.config)),\n a = createElement(\"span\", {\n class: _this15.config.classNames.menu.value\n });\n a.innerHTML = e[i], n.appendChild(a), s.appendChild(n), _o.appendChild(s);\n var c = createElement(\"div\", {\n id: \"plyr-settings-\".concat(e.id, \"-\").concat(i),\n hidden: \"\"\n }),\n u = createElement(\"button\", {\n type: \"button\",\n class: \"\".concat(_this15.config.classNames.control, \" \").concat(_this15.config.classNames.control, \"--back\")\n });\n u.appendChild(createElement(\"span\", {\n \"aria-hidden\": !0\n }, i18n.get(i, _this15.config))), u.appendChild(createElement(\"span\", {\n class: _this15.config.classNames.hidden\n }, i18n.get(\"menuBack\", _this15.config))), on.call(_this15, c, \"keydown\", function (e) {\n 37 === e.which && (e.preventDefault(), e.stopPropagation(), l.call(_this15, \"home\", !0));\n }, !1), on.call(_this15, u, \"click\", function () {\n l.call(_this15, \"home\", !1);\n }), c.appendChild(u), c.appendChild(createElement(\"div\", {\n role: \"menu\"\n })), _r2.appendChild(c), _this15.elements.settings.buttons[i] = s, _this15.elements.settings.panels[i] = c;\n }), _n2.appendChild(_r2), _s3.appendChild(_n2), c.appendChild(_s3), _this15.elements.settings.popup = _n2, _this15.elements.settings.menu = _s3;\n }\n\n if (\"pip\" === a && support.pip && c.appendChild(i.call(_this15, \"pip\", u)), \"airplay\" === a && support.airplay && c.appendChild(i.call(_this15, \"airplay\", u)), \"download\" === a) {\n var _e11 = extend({}, u, {\n element: \"a\",\n href: _this15.download,\n target: \"_blank\"\n });\n\n _this15.isHTML5 && (_e11.download = \"\");\n var _t8 = _this15.config.urls.download;\n !is.url(_t8) && _this15.isEmbed && extend(_e11, {\n icon: \"logo-\".concat(_this15.provider),\n label: _this15.provider\n }), c.appendChild(i.call(_this15, \"download\", _e11));\n }\n\n \"fullscreen\" === a && c.appendChild(i.call(_this15, \"fullscreen\", u));\n }), this.isHTML5 && a.call(this, html5.getQualityOptions.call(this)), o.call(this), c;\n },\n inject: function inject() {\n var _this16 = this;\n\n if (this.config.loadSprite) {\n var _e12 = controls.getIconUrl.call(this);\n\n _e12.cors && _loadSprite(_e12.url, \"sprite-plyr\");\n }\n\n this.id = Math.floor(1e4 * Math.random());\n var e = null;\n this.elements.controls = null;\n var t = {\n id: this.id,\n seektime: this.config.seekTime,\n title: this.config.title\n };\n var i = !0;\n is.function(this.config.controls) && (this.config.controls = this.config.controls.call(this, t)), this.config.controls || (this.config.controls = []), is.element(this.config.controls) || is.string(this.config.controls) ? e = this.config.controls : (e = controls.create.call(this, {\n id: this.id,\n seektime: this.config.seekTime,\n speed: this.speed,\n quality: this.quality,\n captions: captions.getLabel.call(this)\n }), i = !1);\n var s;\n i && is.string(this.config.controls) && (e = function (e) {\n var i = e;\n return Object.entries(t).forEach(function (_ref10) {\n var _ref11 = _slicedToArray(_ref10, 2),\n e = _ref11[0],\n t = _ref11[1];\n\n i = replaceAll(i, \"{\".concat(e, \"}\"), t);\n }), i;\n }(e)), is.string(this.config.selectors.controls.container) && (s = document.querySelector(this.config.selectors.controls.container)), is.element(s) || (s = this.elements.container);\n\n if (s[is.element(e) ? \"insertAdjacentElement\" : \"insertAdjacentHTML\"](\"afterbegin\", e), is.element(this.elements.controls) || controls.findElements.call(this), !is.empty(this.elements.buttons)) {\n var _e13 = function _e13(e) {\n var t = _this16.config.classNames.controlPressed;\n Object.defineProperty(e, \"pressed\", {\n enumerable: !0,\n get: function get() {\n return hasClass(e, t);\n },\n set: function set() {\n var i = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !1;\n toggleClass(e, t, i);\n }\n });\n };\n\n Object.values(this.elements.buttons).filter(Boolean).forEach(function (t) {\n is.array(t) || is.nodeList(t) ? Array.from(t).filter(Boolean).forEach(_e13) : _e13(t);\n });\n }\n\n if (browser.isEdge && repaint(s), this.config.tooltips.controls) {\n var _this$config = this.config,\n _e14 = _this$config.classNames,\n _t9 = _this$config.selectors,\n _i4 = \"\".concat(_t9.controls.wrapper, \" \").concat(_t9.labels, \" .\").concat(_e14.hidden),\n _s4 = getElements.call(this, _i4);\n\n Array.from(_s4).forEach(function (e) {\n toggleClass(e, _this16.config.classNames.hidden, !1), toggleClass(e, _this16.config.classNames.tooltip, !0);\n });\n }\n }\n};\n\nfunction parseUrl(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;\n var i = e;\n\n if (t) {\n var _e15 = document.createElement(\"a\");\n\n _e15.href = i, i = _e15.href;\n }\n\n try {\n return new URL(i);\n } catch (e) {\n return null;\n }\n}\n\nfunction buildUrlParams(e) {\n var t = new URLSearchParams();\n return is.object(e) && Object.entries(e).forEach(function (_ref12) {\n var _ref13 = _slicedToArray(_ref12, 2),\n e = _ref13[0],\n i = _ref13[1];\n\n t.set(e, i);\n }), t;\n}\n\nvar captions = {\n setup: function setup() {\n var _e17, _e18, _this$config$captions;\n\n if (!this.supported.ui) return;\n if (!this.isVideo || this.isYouTube || this.isHTML5 && !support.textTracks) return void (is.array(this.config.controls) && this.config.controls.includes(\"settings\") && this.config.settings.includes(\"captions\") && controls.setCaptionsMenu.call(this));\n\n if (is.element(this.elements.captions) || (this.elements.captions = createElement(\"div\", getAttributesFromSelector(this.config.selectors.captions)), insertAfter(this.elements.captions, this.elements.wrapper)), browser.isIE && window.URL) {\n var _e16 = this.media.querySelectorAll(\"track\");\n\n Array.from(_e16).forEach(function (e) {\n var t = e.getAttribute(\"src\"),\n i = parseUrl(t);\n null !== i && i.hostname !== window.location.href.hostname && [\"http:\", \"https:\"].includes(i.protocol) && fetch$1(t, \"blob\").then(function (t) {\n e.setAttribute(\"src\", window.URL.createObjectURL(t));\n }).catch(function () {\n removeElement(e);\n });\n });\n }\n\n var e = dedupe((navigator.languages || [navigator.language || navigator.userLanguage || \"en\"]).map(function (e) {\n return e.split(\"-\")[0];\n }));\n var t = (this.storage.get(\"language\") || this.config.captions.language || \"auto\").toLowerCase();\n \"auto\" === t && (_e17 = e, _e18 = _slicedToArray(_e17, 1), t = _e18[0], _e17);\n var i = this.storage.get(\"captions\");\n\n if (is.boolean(i) || (_this$config$captions = this.config.captions, i = _this$config$captions.active, _this$config$captions), Object.assign(this.captions, {\n toggled: !1,\n active: i,\n language: t,\n languages: e\n }), this.isHTML5) {\n var _e19 = this.config.captions.update ? \"addtrack removetrack\" : \"removetrack\";\n\n on.call(this, this.media.textTracks, _e19, captions.update.bind(this));\n }\n\n setTimeout(captions.update.bind(this), 0);\n },\n update: function update() {\n var _this17 = this;\n\n var e = captions.getTracks.call(this, !0),\n _this$captions = this.captions,\n t = _this$captions.active,\n i = _this$captions.language,\n s = _this$captions.meta,\n n = _this$captions.currentTrackNode,\n r = Boolean(e.find(function (e) {\n return e.language === i;\n }));\n this.isHTML5 && this.isVideo && e.filter(function (e) {\n return !s.get(e);\n }).forEach(function (e) {\n _this17.debug.log(\"Track added\", e), s.set(e, {\n default: \"showing\" === e.mode\n }), \"showing\" === e.mode && (e.mode = \"hidden\"), on.call(_this17, e, \"cuechange\", function () {\n return captions.updateCues.call(_this17);\n });\n }), (r && this.language !== i || !e.includes(n)) && (captions.setLanguage.call(this, i), captions.toggle.call(this, t && r)), toggleClass(this.elements.container, this.config.classNames.captions.enabled, !is.empty(e)), is.array(this.config.controls) && this.config.controls.includes(\"settings\") && this.config.settings.includes(\"captions\") && controls.setCaptionsMenu.call(this);\n },\n toggle: function toggle(e) {\n var _this18 = this;\n\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;\n if (!this.supported.ui) return;\n var i = this.captions.toggled,\n s = this.config.classNames.captions.active,\n n = is.nullOrUndefined(e) ? !i : e;\n\n if (n !== i) {\n if (t || (this.captions.active = n, this.storage.set({\n captions: n\n })), !this.language && n && !t) {\n var _e20 = captions.getTracks.call(this),\n _t10 = captions.findTrack.call(this, [this.captions.language].concat(_toConsumableArray(this.captions.languages)), !0);\n\n return this.captions.language = _t10.language, void captions.set.call(this, _e20.indexOf(_t10));\n }\n\n this.elements.buttons.captions && (this.elements.buttons.captions.pressed = n), toggleClass(this.elements.container, s, n), this.captions.toggled = n, controls.updateSetting.call(this, \"captions\"), triggerEvent.call(this, this.media, n ? \"captionsenabled\" : \"captionsdisabled\");\n }\n\n setTimeout(function () {\n n && _this18.captions.toggled && _this18.captions.currentTrackNode && (_this18.captions.currentTrackNode.mode = \"hidden\");\n });\n },\n set: function set(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;\n var i = captions.getTracks.call(this);\n if (-1 !== e) {\n if (is.number(e)) {\n if (e in i) {\n if (this.captions.currentTrack !== e) {\n this.captions.currentTrack = e;\n\n var s = i[e],\n _ref14 = s || {},\n n = _ref14.language;\n\n this.captions.currentTrackNode = s, controls.updateSetting.call(this, \"captions\"), t || (this.captions.language = n, this.storage.set({\n language: n\n })), this.isVimeo && this.embed.enableTextTrack(n), triggerEvent.call(this, this.media, \"languagechange\");\n }\n\n captions.toggle.call(this, !0, t), this.isHTML5 && this.isVideo && captions.updateCues.call(this);\n } else this.debug.warn(\"Track not found\", e);\n } else this.debug.warn(\"Invalid caption argument\", e);\n } else captions.toggle.call(this, !1, t);\n },\n setLanguage: function setLanguage(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;\n if (!is.string(e)) return void this.debug.warn(\"Invalid language argument\", e);\n var i = e.toLowerCase();\n this.captions.language = i;\n var s = captions.getTracks.call(this),\n n = captions.findTrack.call(this, [i]);\n captions.set.call(this, s.indexOf(n), t);\n },\n getTracks: function getTracks() {\n var _this19 = this;\n\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !1;\n return Array.from((this.media || {}).textTracks || []).filter(function (t) {\n return !_this19.isHTML5 || e || _this19.captions.meta.has(t);\n }).filter(function (e) {\n return [\"captions\", \"subtitles\"].includes(e.kind);\n });\n },\n findTrack: function findTrack(e) {\n var _this20 = this;\n\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;\n\n var i = captions.getTracks.call(this),\n s = function s(e) {\n return Number((_this20.captions.meta.get(e) || {}).default);\n },\n n = Array.from(i).sort(function (e, t) {\n return s(t) - s(e);\n });\n\n var r;\n return e.every(function (e) {\n return r = n.find(function (t) {\n return t.language === e;\n }), !r;\n }), r || (t ? n[0] : void 0);\n },\n getCurrentTrack: function getCurrentTrack() {\n return captions.getTracks.call(this)[this.currentTrack];\n },\n getLabel: function getLabel(e) {\n var t = e;\n return !is.track(t) && support.textTracks && this.captions.toggled && (t = captions.getCurrentTrack.call(this)), is.track(t) ? is.empty(t.label) ? is.empty(t.language) ? i18n.get(\"enabled\", this.config) : e.language.toUpperCase() : t.label : i18n.get(\"disabled\", this.config);\n },\n updateCues: function updateCues(e) {\n if (!this.supported.ui) return;\n if (!is.element(this.elements.captions)) return void this.debug.warn(\"No captions element to render to\");\n if (!is.nullOrUndefined(e) && !Array.isArray(e)) return void this.debug.warn(\"updateCues: Invalid input\", e);\n var t = e;\n\n if (!t) {\n var _e21 = captions.getCurrentTrack.call(this);\n\n t = Array.from((_e21 || {}).activeCues || []).map(function (e) {\n return e.getCueAsHTML();\n }).map(getHTML);\n }\n\n var i = t.map(function (e) {\n return e.trim();\n }).join(\"\\n\");\n\n if (i !== this.elements.captions.innerHTML) {\n emptyElement(this.elements.captions);\n\n var _e22 = createElement(\"span\", getAttributesFromSelector(this.config.selectors.caption));\n\n _e22.innerHTML = i, this.elements.captions.appendChild(_e22), triggerEvent.call(this, this.media, \"cuechange\");\n }\n }\n},\n defaults = {\n enabled: !0,\n title: \"\",\n debug: !1,\n autoplay: !1,\n autopause: !0,\n playsinline: !0,\n seekTime: 10,\n volume: 1,\n muted: !1,\n duration: null,\n displayDuration: !0,\n invertTime: !0,\n toggleInvert: !0,\n ratio: null,\n clickToPlay: !0,\n hideControls: !0,\n resetOnEnd: !1,\n disableContextMenu: !0,\n loadSprite: !0,\n iconPrefix: \"plyr\",\n iconUrl: \"https://cdn.plyr.io/3.6.8/plyr.svg\",\n blankVideo: \"https://cdn.plyr.io/static/blank.mp4\",\n quality: {\n default: 576,\n options: [4320, 2880, 2160, 1440, 1080, 720, 576, 480, 360, 240],\n forced: !1,\n onChange: null\n },\n loop: {\n active: !1\n },\n speed: {\n selected: 1,\n options: [.5, .75, 1, 1.25, 1.5, 1.75, 2, 4]\n },\n keyboard: {\n focused: !0,\n global: !1\n },\n tooltips: {\n controls: !1,\n seek: !0\n },\n captions: {\n active: !1,\n language: \"auto\",\n update: !1\n },\n fullscreen: {\n enabled: !0,\n fallback: !0,\n iosNative: !1\n },\n storage: {\n enabled: !0,\n key: \"plyr\"\n },\n controls: [\"play-large\", \"play\", \"progress\", \"current-time\", \"mute\", \"volume\", \"captions\", \"settings\", \"pip\", \"airplay\", \"fullscreen\"],\n settings: [\"captions\", \"quality\", \"speed\"],\n i18n: {\n restart: \"Restart\",\n rewind: \"Rewind {seektime}s\",\n play: \"Play\",\n pause: \"Pause\",\n fastForward: \"Forward {seektime}s\",\n seek: \"Seek\",\n seekLabel: \"{currentTime} of {duration}\",\n played: \"Played\",\n buffered: \"Buffered\",\n currentTime: \"Current time\",\n duration: \"Duration\",\n volume: \"Volume\",\n mute: \"Mute\",\n unmute: \"Unmute\",\n enableCaptions: \"Enable captions\",\n disableCaptions: \"Disable captions\",\n download: \"Download\",\n enterFullscreen: \"Enter fullscreen\",\n exitFullscreen: \"Exit fullscreen\",\n frameTitle: \"Player for {title}\",\n captions: \"Captions\",\n settings: \"Settings\",\n pip: \"PIP\",\n menuBack: \"Go back to previous menu\",\n speed: \"Speed\",\n normal: \"Normal\",\n quality: \"Quality\",\n loop: \"Loop\",\n start: \"Start\",\n end: \"End\",\n all: \"All\",\n reset: \"Reset\",\n disabled: \"Disabled\",\n enabled: \"Enabled\",\n advertisement: \"Ad\",\n qualityBadge: {\n 2160: \"4K\",\n 1440: \"HD\",\n 1080: \"HD\",\n 720: \"HD\",\n 576: \"SD\",\n 480: \"SD\"\n },\n auto: \"AUTO\"\n },\n urls: {\n download: null,\n vimeo: {\n sdk: \"https://player.vimeo.com/api/player.js\",\n iframe: \"https://player.vimeo.com/video/{0}?{1}\",\n api: \"https://vimeo.com/api/oembed.json?url={0}\"\n },\n youtube: {\n sdk: \"https://www.youtube.com/iframe_api\",\n api: \"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}\"\n },\n googleIMA: {\n sdk: \"https://imasdk.googleapis.com/js/sdkloader/ima3.js\"\n }\n },\n listeners: {\n seek: null,\n play: null,\n pause: null,\n restart: null,\n rewind: null,\n fastForward: null,\n mute: null,\n volume: null,\n captions: null,\n download: null,\n fullscreen: null,\n pip: null,\n airplay: null,\n speed: null,\n quality: null,\n loop: null,\n language: null\n },\n events: [\"ended\", \"progress\", \"stalled\", \"playing\", \"waiting\", \"canplay\", \"canplaythrough\", \"loadstart\", \"loadeddata\", \"loadedmetadata\", \"timeupdate\", \"volumechange\", \"play\", \"pause\", \"error\", \"seeking\", \"seeked\", \"emptied\", \"ratechange\", \"cuechange\", \"download\", \"enterfullscreen\", \"exitfullscreen\", \"captionsenabled\", \"captionsdisabled\", \"languagechange\", \"controlshidden\", \"controlsshown\", \"ready\", \"statechange\", \"qualitychange\", \"adsloaded\", \"adscontentpause\", \"adscontentresume\", \"adstarted\", \"adsmidpoint\", \"adscomplete\", \"adsallcomplete\", \"adsimpression\", \"adsclick\"],\n selectors: {\n editable: \"input, textarea, select, [contenteditable]\",\n container: \".plyr\",\n controls: {\n container: null,\n wrapper: \".plyr__controls\"\n },\n labels: \"[data-plyr]\",\n buttons: {\n play: '[data-plyr=\"play\"]',\n pause: '[data-plyr=\"pause\"]',\n restart: '[data-plyr=\"restart\"]',\n rewind: '[data-plyr=\"rewind\"]',\n fastForward: '[data-plyr=\"fast-forward\"]',\n mute: '[data-plyr=\"mute\"]',\n captions: '[data-plyr=\"captions\"]',\n download: '[data-plyr=\"download\"]',\n fullscreen: '[data-plyr=\"fullscreen\"]',\n pip: '[data-plyr=\"pip\"]',\n airplay: '[data-plyr=\"airplay\"]',\n settings: '[data-plyr=\"settings\"]',\n loop: '[data-plyr=\"loop\"]'\n },\n inputs: {\n seek: '[data-plyr=\"seek\"]',\n volume: '[data-plyr=\"volume\"]',\n speed: '[data-plyr=\"speed\"]',\n language: '[data-plyr=\"language\"]',\n quality: '[data-plyr=\"quality\"]'\n },\n display: {\n currentTime: \".plyr__time--current\",\n duration: \".plyr__time--duration\",\n buffer: \".plyr__progress__buffer\",\n loop: \".plyr__progress__loop\",\n volume: \".plyr__volume--display\"\n },\n progress: \".plyr__progress\",\n captions: \".plyr__captions\",\n caption: \".plyr__caption\"\n },\n classNames: {\n type: \"plyr--{0}\",\n provider: \"plyr--{0}\",\n video: \"plyr__video-wrapper\",\n embed: \"plyr__video-embed\",\n videoFixedRatio: \"plyr__video-wrapper--fixed-ratio\",\n embedContainer: \"plyr__video-embed__container\",\n poster: \"plyr__poster\",\n posterEnabled: \"plyr__poster-enabled\",\n ads: \"plyr__ads\",\n control: \"plyr__control\",\n controlPressed: \"plyr__control--pressed\",\n playing: \"plyr--playing\",\n paused: \"plyr--paused\",\n stopped: \"plyr--stopped\",\n loading: \"plyr--loading\",\n hover: \"plyr--hover\",\n tooltip: \"plyr__tooltip\",\n cues: \"plyr__cues\",\n hidden: \"plyr__sr-only\",\n hideControls: \"plyr--hide-controls\",\n isIos: \"plyr--is-ios\",\n isTouch: \"plyr--is-touch\",\n uiSupported: \"plyr--full-ui\",\n noTransition: \"plyr--no-transition\",\n display: {\n time: \"plyr__time\"\n },\n menu: {\n value: \"plyr__menu__value\",\n badge: \"plyr__badge\",\n open: \"plyr--menu-open\"\n },\n captions: {\n enabled: \"plyr--captions-enabled\",\n active: \"plyr--captions-active\"\n },\n fullscreen: {\n enabled: \"plyr--fullscreen-enabled\",\n fallback: \"plyr--fullscreen-fallback\"\n },\n pip: {\n supported: \"plyr--pip-supported\",\n active: \"plyr--pip-active\"\n },\n airplay: {\n supported: \"plyr--airplay-supported\",\n active: \"plyr--airplay-active\"\n },\n tabFocus: \"plyr__tab-focus\",\n previewThumbnails: {\n thumbContainer: \"plyr__preview-thumb\",\n thumbContainerShown: \"plyr__preview-thumb--is-shown\",\n imageContainer: \"plyr__preview-thumb__image-container\",\n timeContainer: \"plyr__preview-thumb__time-container\",\n scrubbingContainer: \"plyr__preview-scrubbing\",\n scrubbingContainerShown: \"plyr__preview-scrubbing--is-shown\"\n }\n },\n attributes: {\n embed: {\n provider: \"data-plyr-provider\",\n id: \"data-plyr-embed-id\"\n }\n },\n ads: {\n enabled: !1,\n publisherId: \"\",\n tagUrl: \"\"\n },\n previewThumbnails: {\n enabled: !1,\n src: \"\"\n },\n vimeo: {\n byline: !1,\n portrait: !1,\n title: !1,\n speed: !0,\n transparent: !1,\n customControls: !0,\n referrerPolicy: null,\n premium: !1\n },\n youtube: {\n rel: 0,\n showinfo: 0,\n iv_load_policy: 3,\n modestbranding: 1,\n customControls: !0,\n noCookie: !1\n }\n},\n pip = {\n active: \"picture-in-picture\",\n inactive: \"inline\"\n},\n providers = {\n html5: \"html5\",\n youtube: \"youtube\",\n vimeo: \"vimeo\"\n},\n types = {\n audio: \"audio\",\n video: \"video\"\n};\n\nfunction getProviderByUrl(e) {\n return /^(https?:\\/\\/)?(www\\.)?(youtube\\.com|youtube-nocookie\\.com|youtu\\.?be)\\/.+$/.test(e) ? providers.youtube : /^https?:\\/\\/player.vimeo.com\\/video\\/\\d{0,9}(?=\\b|\\/)/.test(e) ? providers.vimeo : null;\n}\n\nvar noop = function noop() {};\n\nvar Console = /*#__PURE__*/function () {\n function Console() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !1;\n\n _classCallCheck$1(this, Console);\n\n this.enabled = window.console && e, this.enabled && this.log(\"Debugging enabled\");\n }\n\n _createClass$1(Console, [{\n key: \"log\",\n get: function get() {\n return this.enabled ? Function.prototype.bind.call(console.log, console) : noop;\n }\n }, {\n key: \"warn\",\n get: function get() {\n return this.enabled ? Function.prototype.bind.call(console.warn, console) : noop;\n }\n }, {\n key: \"error\",\n get: function get() {\n return this.enabled ? Function.prototype.bind.call(console.error, console) : noop;\n }\n }]);\n\n return Console;\n}();\n\nvar Fullscreen = /*#__PURE__*/function () {\n function Fullscreen(e) {\n var _this21 = this;\n\n _classCallCheck$1(this, Fullscreen);\n\n _defineProperty$1(this, \"onChange\", function () {\n if (!_this21.enabled) return;\n var e = _this21.player.elements.buttons.fullscreen;\n is.element(e) && (e.pressed = _this21.active);\n var t = _this21.target === _this21.player.media ? _this21.target : _this21.player.elements.container;\n triggerEvent.call(_this21.player, t, _this21.active ? \"enterfullscreen\" : \"exitfullscreen\", !0);\n }), _defineProperty$1(this, \"toggleFallback\", function () {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !1;\n\n if (e ? _this21.scrollPosition = {\n x: window.scrollX || 0,\n y: window.scrollY || 0\n } : window.scrollTo(_this21.scrollPosition.x, _this21.scrollPosition.y), document.body.style.overflow = e ? \"hidden\" : \"\", toggleClass(_this21.target, _this21.player.config.classNames.fullscreen.fallback, e), browser.isIos) {\n var t = document.head.querySelector('meta[name=\"viewport\"]');\n var i = \"viewport-fit=cover\";\n t || (t = document.createElement(\"meta\"), t.setAttribute(\"name\", \"viewport\"));\n var s = is.string(t.content) && t.content.includes(i);\n e ? (_this21.cleanupViewport = !s, s || (t.content += \",\".concat(i))) : _this21.cleanupViewport && (t.content = t.content.split(\",\").filter(function (e) {\n return e.trim() !== i;\n }).join(\",\"));\n }\n\n _this21.onChange();\n }), _defineProperty$1(this, \"trapFocus\", function (e) {\n if (browser.isIos || !_this21.active || \"Tab\" !== e.key || 9 !== e.keyCode) return;\n\n var t = document.activeElement,\n i = getElements.call(_this21.player, \"a[href], button:not(:disabled), input:not(:disabled), [tabindex]\"),\n _i5 = _slicedToArray(i, 1),\n s = _i5[0],\n n = i[i.length - 1];\n\n t !== n || e.shiftKey ? t === s && e.shiftKey && (n.focus(), e.preventDefault()) : (s.focus(), e.preventDefault());\n }), _defineProperty$1(this, \"update\", function () {\n if (_this21.enabled) {\n var _e23;\n\n _e23 = _this21.forceFallback ? \"Fallback (forced)\" : Fullscreen.native ? \"Native\" : \"Fallback\", _this21.player.debug.log(\"\".concat(_e23, \" fullscreen enabled\"));\n } else _this21.player.debug.log(\"Fullscreen not supported and fallback disabled\");\n\n toggleClass(_this21.player.elements.container, _this21.player.config.classNames.fullscreen.enabled, _this21.enabled);\n }), _defineProperty$1(this, \"enter\", function () {\n _this21.enabled && (browser.isIos && _this21.player.config.fullscreen.iosNative ? _this21.player.isVimeo ? _this21.player.embed.requestFullscreen() : _this21.target.webkitEnterFullscreen() : !Fullscreen.native || _this21.forceFallback ? _this21.toggleFallback(!0) : _this21.prefix ? is.empty(_this21.prefix) || _this21.target[\"\".concat(_this21.prefix, \"Request\").concat(_this21.property)]() : _this21.target.requestFullscreen({\n navigationUI: \"hide\"\n }));\n }), _defineProperty$1(this, \"exit\", function () {\n if (_this21.enabled) if (browser.isIos && _this21.player.config.fullscreen.iosNative) _this21.target.webkitExitFullscreen(), silencePromise(_this21.player.play());else if (!Fullscreen.native || _this21.forceFallback) _this21.toggleFallback(!1);else if (_this21.prefix) {\n if (!is.empty(_this21.prefix)) {\n var _e24 = \"moz\" === _this21.prefix ? \"Cancel\" : \"Exit\";\n\n document[\"\".concat(_this21.prefix).concat(_e24).concat(_this21.property)]();\n }\n } else (document.cancelFullScreen || document.exitFullscreen).call(document);\n }), _defineProperty$1(this, \"toggle\", function () {\n _this21.active ? _this21.exit() : _this21.enter();\n }), this.player = e, this.prefix = Fullscreen.prefix, this.property = Fullscreen.property, this.scrollPosition = {\n x: 0,\n y: 0\n }, this.forceFallback = \"force\" === e.config.fullscreen.fallback, this.player.elements.fullscreen = e.config.fullscreen.container && closest$1(this.player.elements.container, e.config.fullscreen.container), on.call(this.player, document, \"ms\" === this.prefix ? \"MSFullscreenChange\" : \"\".concat(this.prefix, \"fullscreenchange\"), function () {\n _this21.onChange();\n }), on.call(this.player, this.player.elements.container, \"dblclick\", function (e) {\n is.element(_this21.player.elements.controls) && _this21.player.elements.controls.contains(e.target) || _this21.player.listeners.proxy(e, _this21.toggle, \"fullscreen\");\n }), on.call(this, this.player.elements.container, \"keydown\", function (e) {\n return _this21.trapFocus(e);\n }), this.update();\n }\n\n _createClass$1(Fullscreen, [{\n key: \"usingNative\",\n get: function get() {\n return Fullscreen.native && !this.forceFallback;\n }\n }, {\n key: \"enabled\",\n get: function get() {\n return (Fullscreen.native || this.player.config.fullscreen.fallback) && this.player.config.fullscreen.enabled && this.player.supported.ui && this.player.isVideo;\n }\n }, {\n key: \"active\",\n get: function get() {\n if (!this.enabled) return !1;\n if (!Fullscreen.native || this.forceFallback) return hasClass(this.target, this.player.config.classNames.fullscreen.fallback);\n var e = this.prefix ? document[\"\".concat(this.prefix).concat(this.property, \"Element\")] : document.fullscreenElement;\n return e && e.shadowRoot ? e === this.target.getRootNode().host : e === this.target;\n }\n }, {\n key: \"target\",\n get: function get() {\n return browser.isIos && this.player.config.fullscreen.iosNative ? this.player.media : this.player.elements.fullscreen || this.player.elements.container;\n }\n }], [{\n key: \"native\",\n get: function get() {\n return !!(document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled);\n }\n }, {\n key: \"prefix\",\n get: function get() {\n if (is.function(document.exitFullscreen)) return \"\";\n var e = \"\";\n return [\"webkit\", \"moz\", \"ms\"].some(function (t) {\n return !(!is.function(document[\"\".concat(t, \"ExitFullscreen\")]) && !is.function(document[\"\".concat(t, \"CancelFullScreen\")])) && (e = t, !0);\n }), e;\n }\n }, {\n key: \"property\",\n get: function get() {\n return \"moz\" === this.prefix ? \"FullScreen\" : \"Fullscreen\";\n }\n }]);\n\n return Fullscreen;\n}();\n\nfunction loadImage(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n return new Promise(function (i, s) {\n var n = new Image(),\n r = function r() {\n delete n.onload, delete n.onerror, (n.naturalWidth >= t ? i : s)(n);\n };\n\n Object.assign(n, {\n onload: r,\n onerror: r,\n src: e\n });\n });\n}\n\nvar ui = {\n addStyleHook: function addStyleHook() {\n toggleClass(this.elements.container, this.config.selectors.container.replace(\".\", \"\"), !0), toggleClass(this.elements.container, this.config.classNames.uiSupported, this.supported.ui);\n },\n toggleNativeControls: function toggleNativeControls() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !1;\n e && this.isHTML5 ? this.media.setAttribute(\"controls\", \"\") : this.media.removeAttribute(\"controls\");\n },\n build: function build() {\n var _this22 = this;\n\n if (this.listeners.media(), !this.supported.ui) return this.debug.warn(\"Basic support only for \".concat(this.provider, \" \").concat(this.type)), void ui.toggleNativeControls.call(this, !0);\n is.element(this.elements.controls) || (controls.inject.call(this), this.listeners.controls()), ui.toggleNativeControls.call(this), this.isHTML5 && captions.setup.call(this), this.volume = null, this.muted = null, this.loop = null, this.quality = null, this.speed = null, controls.updateVolume.call(this), controls.timeUpdate.call(this), ui.checkPlaying.call(this), toggleClass(this.elements.container, this.config.classNames.pip.supported, support.pip && this.isHTML5 && this.isVideo), toggleClass(this.elements.container, this.config.classNames.airplay.supported, support.airplay && this.isHTML5), toggleClass(this.elements.container, this.config.classNames.isIos, browser.isIos), toggleClass(this.elements.container, this.config.classNames.isTouch, this.touch), this.ready = !0, setTimeout(function () {\n triggerEvent.call(_this22, _this22.media, \"ready\");\n }, 0), ui.setTitle.call(this), this.poster && ui.setPoster.call(this, this.poster, !1).catch(function () {}), this.config.duration && controls.durationUpdate.call(this);\n },\n setTitle: function setTitle() {\n var e = i18n.get(\"play\", this.config);\n\n if (is.string(this.config.title) && !is.empty(this.config.title) && (e += \", \".concat(this.config.title)), Array.from(this.elements.buttons.play || []).forEach(function (t) {\n t.setAttribute(\"aria-label\", e);\n }), this.isEmbed) {\n var _e25 = getElement.call(this, \"iframe\");\n\n if (!is.element(_e25)) return;\n var t = is.empty(this.config.title) ? \"video\" : this.config.title,\n i = i18n.get(\"frameTitle\", this.config);\n\n _e25.setAttribute(\"title\", i.replace(\"{title}\", t));\n }\n },\n togglePoster: function togglePoster(e) {\n toggleClass(this.elements.container, this.config.classNames.posterEnabled, e);\n },\n setPoster: function setPoster(e) {\n var _this23 = this;\n\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;\n return t && this.poster ? Promise.reject(new Error(\"Poster already set\")) : (this.media.setAttribute(\"data-poster\", e), this.elements.poster.removeAttribute(\"hidden\"), ready.call(this).then(function () {\n return loadImage(e);\n }).catch(function (t) {\n throw e === _this23.poster && ui.togglePoster.call(_this23, !1), t;\n }).then(function () {\n if (e !== _this23.poster) throw new Error(\"setPoster cancelled by later call to setPoster\");\n }).then(function () {\n return Object.assign(_this23.elements.poster.style, {\n backgroundImage: \"url('\".concat(e, \"')\"),\n backgroundSize: \"\"\n }), ui.togglePoster.call(_this23, !0), e;\n }));\n },\n checkPlaying: function checkPlaying(e) {\n var _this24 = this;\n\n toggleClass(this.elements.container, this.config.classNames.playing, this.playing), toggleClass(this.elements.container, this.config.classNames.paused, this.paused), toggleClass(this.elements.container, this.config.classNames.stopped, this.stopped), Array.from(this.elements.buttons.play || []).forEach(function (e) {\n Object.assign(e, {\n pressed: _this24.playing\n }), e.setAttribute(\"aria-label\", i18n.get(_this24.playing ? \"pause\" : \"play\", _this24.config));\n }), is.event(e) && \"timeupdate\" === e.type || ui.toggleControls.call(this);\n },\n checkLoading: function checkLoading(e) {\n var _this25 = this;\n\n this.loading = [\"stalled\", \"waiting\"].includes(e.type), clearTimeout(this.timers.loading), this.timers.loading = setTimeout(function () {\n toggleClass(_this25.elements.container, _this25.config.classNames.loading, _this25.loading), ui.toggleControls.call(_this25);\n }, this.loading ? 250 : 0);\n },\n toggleControls: function toggleControls(e) {\n var t = this.elements.controls;\n\n if (t && this.config.hideControls) {\n var i = this.touch && this.lastSeekTime + 2e3 > Date.now();\n this.toggleControls(Boolean(e || this.loading || this.paused || t.pressed || t.hover || i));\n }\n },\n migrateStyles: function migrateStyles() {\n var _this26 = this;\n\n Object.values(_objectSpread2$1({}, this.media.style)).filter(function (e) {\n return !is.empty(e) && is.string(e) && e.startsWith(\"--plyr\");\n }).forEach(function (e) {\n _this26.elements.container.style.setProperty(e, _this26.media.style.getPropertyValue(e)), _this26.media.style.removeProperty(e);\n }), is.empty(this.media.style) && this.media.removeAttribute(\"style\");\n }\n};\n\nvar Listeners = /*#__PURE__*/function () {\n function Listeners(e) {\n var _this27 = this;\n\n _classCallCheck$1(this, Listeners);\n\n _defineProperty$1(this, \"firstTouch\", function () {\n var e = _this27.player,\n t = e.elements;\n e.touch = !0, toggleClass(t.container, e.config.classNames.isTouch, !0);\n }), _defineProperty$1(this, \"setTabFocus\", function (e) {\n var t = _this27.player,\n i = t.elements;\n if (clearTimeout(_this27.focusTimer), \"keydown\" === e.type && 9 !== e.which) return;\n \"keydown\" === e.type && (_this27.lastKeyDown = e.timeStamp);\n var s = e.timeStamp - _this27.lastKeyDown <= 20;\n (\"focus\" !== e.type || s) && (function () {\n var e = t.config.classNames.tabFocus;\n toggleClass(getElements.call(t, \".\".concat(e)), e, !1);\n }(), \"focusout\" !== e.type && (_this27.focusTimer = setTimeout(function () {\n var e = document.activeElement;\n i.container.contains(e) && toggleClass(document.activeElement, t.config.classNames.tabFocus, !0);\n }, 10)));\n }), _defineProperty$1(this, \"global\", function () {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !0;\n var t = _this27.player;\n t.config.keyboard.global && toggleListener.call(t, window, \"keydown keyup\", _this27.handleKey, e, !1), toggleListener.call(t, document.body, \"click\", _this27.toggleMenu, e), once.call(t, document.body, \"touchstart\", _this27.firstTouch), toggleListener.call(t, document.body, \"keydown focus blur focusout\", _this27.setTabFocus, e, !1, !0);\n }), _defineProperty$1(this, \"container\", function () {\n var e = _this27.player,\n t = e.config,\n i = e.elements,\n s = e.timers;\n !t.keyboard.global && t.keyboard.focused && on.call(e, i.container, \"keydown keyup\", _this27.handleKey, !1), on.call(e, i.container, \"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen\", function (t) {\n var n = i.controls;\n n && \"enterfullscreen\" === t.type && (n.pressed = !1, n.hover = !1);\n var r = 0;\n [\"touchstart\", \"touchmove\", \"mousemove\"].includes(t.type) && (ui.toggleControls.call(e, !0), r = e.touch ? 3e3 : 2e3), clearTimeout(s.controls), s.controls = setTimeout(function () {\n return ui.toggleControls.call(e, !1);\n }, r);\n });\n\n var n = function n() {\n if (!e.isVimeo || e.config.vimeo.premium) return;\n\n var t = i.wrapper,\n s = e.fullscreen.active,\n _getAspectRatio$call = getAspectRatio.call(e),\n _getAspectRatio$call2 = _slicedToArray(_getAspectRatio$call, 2),\n n = _getAspectRatio$call2[0],\n r = _getAspectRatio$call2[1],\n a = supportsCSS(\"aspect-ratio: \".concat(n, \" / \").concat(r));\n\n if (!s) return void (a ? (t.style.width = null, t.style.height = null) : (t.style.maxWidth = null, t.style.margin = null));\n\n var _getViewportSize = getViewportSize(),\n _getViewportSize2 = _slicedToArray(_getViewportSize, 2),\n o = _getViewportSize2[0],\n l = _getViewportSize2[1],\n c = o / l > n / r;\n\n a ? (t.style.width = c ? \"auto\" : \"100%\", t.style.height = c ? \"100%\" : \"auto\") : (t.style.maxWidth = c ? l / r * n + \"px\" : null, t.style.margin = c ? \"0 auto\" : null);\n },\n r = function r() {\n clearTimeout(s.resized), s.resized = setTimeout(n, 50);\n };\n\n on.call(e, i.container, \"enterfullscreen exitfullscreen\", function (t) {\n var s = e.fullscreen.target;\n if (s !== i.container) return;\n if (!e.isEmbed && is.empty(e.config.ratio)) return;\n n();\n (\"enterfullscreen\" === t.type ? on : off).call(e, window, \"resize\", r);\n });\n }), _defineProperty$1(this, \"media\", function () {\n var e = _this27.player,\n t = e.elements;\n\n if (on.call(e, e.media, \"timeupdate seeking seeked\", function (t) {\n return controls.timeUpdate.call(e, t);\n }), on.call(e, e.media, \"durationchange loadeddata loadedmetadata\", function (t) {\n return controls.durationUpdate.call(e, t);\n }), on.call(e, e.media, \"ended\", function () {\n e.isHTML5 && e.isVideo && e.config.resetOnEnd && (e.restart(), e.pause());\n }), on.call(e, e.media, \"progress playing seeking seeked\", function (t) {\n return controls.updateProgress.call(e, t);\n }), on.call(e, e.media, \"volumechange\", function (t) {\n return controls.updateVolume.call(e, t);\n }), on.call(e, e.media, \"playing play pause ended emptied timeupdate\", function (t) {\n return ui.checkPlaying.call(e, t);\n }), on.call(e, e.media, \"waiting canplay seeked playing\", function (t) {\n return ui.checkLoading.call(e, t);\n }), e.supported.ui && e.config.clickToPlay && !e.isAudio) {\n var _i6 = getElement.call(e, \".\".concat(e.config.classNames.video));\n\n if (!is.element(_i6)) return;\n on.call(e, t.container, \"click\", function (s) {\n ([t.container, _i6].includes(s.target) || _i6.contains(s.target)) && (e.touch && e.config.hideControls || (e.ended ? (_this27.proxy(s, e.restart, \"restart\"), _this27.proxy(s, function () {\n silencePromise(e.play());\n }, \"play\")) : _this27.proxy(s, function () {\n silencePromise(e.togglePlay());\n }, \"play\")));\n });\n }\n\n e.supported.ui && e.config.disableContextMenu && on.call(e, t.wrapper, \"contextmenu\", function (e) {\n e.preventDefault();\n }, !1), on.call(e, e.media, \"volumechange\", function () {\n e.storage.set({\n volume: e.volume,\n muted: e.muted\n });\n }), on.call(e, e.media, \"ratechange\", function () {\n controls.updateSetting.call(e, \"speed\"), e.storage.set({\n speed: e.speed\n });\n }), on.call(e, e.media, \"qualitychange\", function (t) {\n controls.updateSetting.call(e, \"quality\", null, t.detail.quality);\n }), on.call(e, e.media, \"ready qualitychange\", function () {\n controls.setDownloadUrl.call(e);\n });\n var i = e.config.events.concat([\"keyup\", \"keydown\"]).join(\" \");\n on.call(e, e.media, i, function (i) {\n var _i$detail = i.detail,\n s = _i$detail === void 0 ? {} : _i$detail;\n \"error\" === i.type && (s = e.media.error), triggerEvent.call(e, t.container, i.type, !0, s);\n });\n }), _defineProperty$1(this, \"proxy\", function (e, t, i) {\n var s = _this27.player,\n n = s.config.listeners[i];\n var r = !0;\n is.function(n) && (r = n.call(s, e)), !1 !== r && is.function(t) && t.call(s, e);\n }), _defineProperty$1(this, \"bind\", function (e, t, i, s) {\n var n = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : !0;\n var r = _this27.player,\n a = r.config.listeners[s],\n o = is.function(a);\n on.call(r, e, t, function (e) {\n return _this27.proxy(e, i, s);\n }, n && !o);\n }), _defineProperty$1(this, \"controls\", function () {\n var e = _this27.player,\n t = e.elements,\n i = browser.isIE ? \"change\" : \"input\";\n\n if (t.buttons.play && Array.from(t.buttons.play).forEach(function (t) {\n _this27.bind(t, \"click\", function () {\n silencePromise(e.togglePlay());\n }, \"play\");\n }), _this27.bind(t.buttons.restart, \"click\", e.restart, \"restart\"), _this27.bind(t.buttons.rewind, \"click\", function () {\n e.lastSeekTime = Date.now(), e.rewind();\n }, \"rewind\"), _this27.bind(t.buttons.fastForward, \"click\", function () {\n e.lastSeekTime = Date.now(), e.forward();\n }, \"fastForward\"), _this27.bind(t.buttons.mute, \"click\", function () {\n e.muted = !e.muted;\n }, \"mute\"), _this27.bind(t.buttons.captions, \"click\", function () {\n return e.toggleCaptions();\n }), _this27.bind(t.buttons.download, \"click\", function () {\n triggerEvent.call(e, e.media, \"download\");\n }, \"download\"), _this27.bind(t.buttons.fullscreen, \"click\", function () {\n e.fullscreen.toggle();\n }, \"fullscreen\"), _this27.bind(t.buttons.pip, \"click\", function () {\n e.pip = \"toggle\";\n }, \"pip\"), _this27.bind(t.buttons.airplay, \"click\", e.airplay, \"airplay\"), _this27.bind(t.buttons.settings, \"click\", function (t) {\n t.stopPropagation(), t.preventDefault(), controls.toggleMenu.call(e, t);\n }, null, !1), _this27.bind(t.buttons.settings, \"keyup\", function (t) {\n var i = t.which;\n [13, 32].includes(i) && (13 !== i ? (t.preventDefault(), t.stopPropagation(), controls.toggleMenu.call(e, t)) : controls.focusFirstMenuItem.call(e, null, !0));\n }, null, !1), _this27.bind(t.settings.menu, \"keydown\", function (t) {\n 27 === t.which && controls.toggleMenu.call(e, t);\n }), _this27.bind(t.inputs.seek, \"mousedown mousemove\", function (e) {\n var i = t.progress.getBoundingClientRect(),\n s = 100 / i.width * (e.pageX - i.left);\n e.currentTarget.setAttribute(\"seek-value\", s);\n }), _this27.bind(t.inputs.seek, \"mousedown mouseup keydown keyup touchstart touchend\", function (t) {\n var i = t.currentTarget,\n s = t.keyCode ? t.keyCode : t.which,\n n = \"play-on-seeked\";\n if (is.keyboardEvent(t) && 39 !== s && 37 !== s) return;\n e.lastSeekTime = Date.now();\n var r = i.hasAttribute(n),\n a = [\"mouseup\", \"touchend\", \"keyup\"].includes(t.type);\n r && a ? (i.removeAttribute(n), silencePromise(e.play())) : !a && e.playing && (i.setAttribute(n, \"\"), e.pause());\n }), browser.isIos) {\n var _t11 = getElements.call(e, 'input[type=\"range\"]');\n\n Array.from(_t11).forEach(function (e) {\n return _this27.bind(e, i, function (e) {\n return repaint(e.target);\n });\n });\n }\n\n _this27.bind(t.inputs.seek, i, function (t) {\n var i = t.currentTarget;\n var s = i.getAttribute(\"seek-value\");\n is.empty(s) && (s = i.value), i.removeAttribute(\"seek-value\"), e.currentTime = s / i.max * e.duration;\n }, \"seek\"), _this27.bind(t.progress, \"mouseenter mouseleave mousemove\", function (t) {\n return controls.updateSeekTooltip.call(e, t);\n }), _this27.bind(t.progress, \"mousemove touchmove\", function (t) {\n var i = e.previewThumbnails;\n i && i.loaded && i.startMove(t);\n }), _this27.bind(t.progress, \"mouseleave touchend click\", function () {\n var t = e.previewThumbnails;\n t && t.loaded && t.endMove(!1, !0);\n }), _this27.bind(t.progress, \"mousedown touchstart\", function (t) {\n var i = e.previewThumbnails;\n i && i.loaded && i.startScrubbing(t);\n }), _this27.bind(t.progress, \"mouseup touchend\", function (t) {\n var i = e.previewThumbnails;\n i && i.loaded && i.endScrubbing(t);\n }), browser.isWebkit && Array.from(getElements.call(e, 'input[type=\"range\"]')).forEach(function (t) {\n _this27.bind(t, \"input\", function (t) {\n return controls.updateRangeFill.call(e, t.target);\n });\n }), e.config.toggleInvert && !is.element(t.display.duration) && _this27.bind(t.display.currentTime, \"click\", function () {\n 0 !== e.currentTime && (e.config.invertTime = !e.config.invertTime, controls.timeUpdate.call(e));\n }), _this27.bind(t.inputs.volume, i, function (t) {\n e.volume = t.target.value;\n }, \"volume\"), _this27.bind(t.controls, \"mouseenter mouseleave\", function (i) {\n t.controls.hover = !e.touch && \"mouseenter\" === i.type;\n }), t.fullscreen && Array.from(t.fullscreen.children).filter(function (e) {\n return !e.contains(t.container);\n }).forEach(function (i) {\n _this27.bind(i, \"mouseenter mouseleave\", function (i) {\n t.controls.hover = !e.touch && \"mouseenter\" === i.type;\n });\n }), _this27.bind(t.controls, \"mousedown mouseup touchstart touchend touchcancel\", function (e) {\n t.controls.pressed = [\"mousedown\", \"touchstart\"].includes(e.type);\n }), _this27.bind(t.controls, \"focusin\", function () {\n var i = e.config,\n s = e.timers;\n toggleClass(t.controls, i.classNames.noTransition, !0), ui.toggleControls.call(e, !0), setTimeout(function () {\n toggleClass(t.controls, i.classNames.noTransition, !1);\n }, 0);\n var n = _this27.touch ? 3e3 : 4e3;\n clearTimeout(s.controls), s.controls = setTimeout(function () {\n return ui.toggleControls.call(e, !1);\n }, n);\n }), _this27.bind(t.inputs.volume, \"wheel\", function (t) {\n var i = t.webkitDirectionInvertedFromDevice,\n _map = [t.deltaX, -t.deltaY].map(function (e) {\n return i ? -e : e;\n }),\n _map2 = _slicedToArray(_map, 2),\n s = _map2[0],\n n = _map2[1],\n r = Math.sign(Math.abs(s) > Math.abs(n) ? s : n);\n\n e.increaseVolume(r / 50);\n var a = e.media.volume;\n (1 === r && a < 1 || -1 === r && a > 0) && t.preventDefault();\n }, \"volume\", !1);\n }), this.player = e, this.lastKey = null, this.focusTimer = null, this.lastKeyDown = null, this.handleKey = this.handleKey.bind(this), this.toggleMenu = this.toggleMenu.bind(this), this.setTabFocus = this.setTabFocus.bind(this), this.firstTouch = this.firstTouch.bind(this);\n }\n\n _createClass$1(Listeners, [{\n key: \"handleKey\",\n value: function handleKey(e) {\n var t = this.player,\n i = t.elements,\n s = e.keyCode ? e.keyCode : e.which,\n n = \"keydown\" === e.type,\n r = n && s === this.lastKey;\n if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) return;\n if (!is.number(s)) return;\n\n if (n) {\n var _n3 = document.activeElement;\n\n if (is.element(_n3)) {\n var _s5 = t.config.selectors.editable,\n _r3 = i.inputs.seek;\n if (_n3 !== _r3 && matches(_n3, _s5)) return;\n if (32 === e.which && matches(_n3, 'button, [role^=\"menuitem\"]')) return;\n }\n\n switch ([32, 37, 38, 39, 40, 48, 49, 50, 51, 52, 53, 54, 56, 57, 67, 70, 73, 75, 76, 77, 79].includes(s) && (e.preventDefault(), e.stopPropagation()), s) {\n case 48:\n case 49:\n case 50:\n case 51:\n case 52:\n case 53:\n case 54:\n case 55:\n case 56:\n case 57:\n r || (t.currentTime = t.duration / 10 * (s - 48));\n break;\n\n case 32:\n case 75:\n r || silencePromise(t.togglePlay());\n break;\n\n case 38:\n t.increaseVolume(.1);\n break;\n\n case 40:\n t.decreaseVolume(.1);\n break;\n\n case 77:\n r || (t.muted = !t.muted);\n break;\n\n case 39:\n t.forward();\n break;\n\n case 37:\n t.rewind();\n break;\n\n case 70:\n t.fullscreen.toggle();\n break;\n\n case 67:\n r || t.toggleCaptions();\n break;\n\n case 76:\n t.loop = !t.loop;\n }\n\n 27 === s && !t.fullscreen.usingNative && t.fullscreen.active && t.fullscreen.toggle(), this.lastKey = s;\n } else this.lastKey = null;\n }\n }, {\n key: \"toggleMenu\",\n value: function toggleMenu(e) {\n controls.toggleMenu.call(this.player, e);\n }\n }]);\n\n return Listeners;\n}();\n\nfunction createCommonjsModule(e, t) {\n return e(t = {\n exports: {}\n }, t.exports), t.exports;\n}\n\nvar loadjs_umd = createCommonjsModule(function (e, t) {\n e.exports = function () {\n var e = function e() {},\n t = {},\n i = {},\n s = {};\n\n function n(e, t) {\n e = e.push ? e : [e];\n var n,\n r,\n a,\n o = [],\n l = e.length,\n c = l;\n\n for (n = function n(e, i) {\n i.length && o.push(e), --c || t(o);\n }; l--;) {\n r = e[l], (a = i[r]) ? n(r, a) : (s[r] = s[r] || []).push(n);\n }\n }\n\n function r(e, t) {\n if (e) {\n var n = s[e];\n if (i[e] = t, n) for (; n.length;) {\n n[0](e, t), n.splice(0, 1);\n }\n }\n }\n\n function a(t, i) {\n t.call && (t = {\n success: t\n }), i.length ? (t.error || e)(i) : (t.success || e)(t);\n }\n\n function o(t, i, s, n) {\n var r,\n a,\n l = document,\n c = s.async,\n u = (s.numRetries || 0) + 1,\n d = s.before || e,\n h = t.replace(/[\\?|#].*$/, \"\"),\n m = t.replace(/^(css|img)!/, \"\");\n n = n || 0, /(^css!|\\.css$)/.test(h) ? ((a = l.createElement(\"link\")).rel = \"stylesheet\", a.href = m, (r = \"hideFocus\" in a) && a.relList && (r = 0, a.rel = \"preload\", a.as = \"style\")) : /(^img!|\\.(png|gif|jpg|svg|webp)$)/.test(h) ? (a = l.createElement(\"img\")).src = m : ((a = l.createElement(\"script\")).src = t, a.async = void 0 === c || c), a.onload = a.onerror = a.onbeforeload = function (e) {\n var l = e.type[0];\n if (r) try {\n a.sheet.cssText.length || (l = \"e\");\n } catch (e) {\n 18 != e.code && (l = \"e\");\n }\n\n if (\"e\" == l) {\n if ((n += 1) < u) return o(t, i, s, n);\n } else if (\"preload\" == a.rel && \"style\" == a.as) return a.rel = \"stylesheet\";\n\n i(t, l, e.defaultPrevented);\n }, !1 !== d(t, a) && l.head.appendChild(a);\n }\n\n function l(e, t, i) {\n var s,\n n,\n r = (e = e.push ? e : [e]).length,\n a = r,\n l = [];\n\n for (s = function s(e, i, _s6) {\n if (\"e\" == i && l.push(e), \"b\" == i) {\n if (!_s6) return;\n l.push(e);\n }\n\n --r || t(l);\n }, n = 0; n < a; n++) {\n o(e[n], s, i);\n }\n }\n\n function c(e, i, s) {\n var n, o;\n\n if (i && i.trim && (n = i), o = (n ? s : i) || {}, n) {\n if (n in t) throw \"LoadJS\";\n t[n] = !0;\n }\n\n function c(t, i) {\n l(e, function (e) {\n a(o, e), t && a({\n success: t,\n error: i\n }, e), r(n, e);\n }, o);\n }\n\n if (o.returnPromise) return new Promise(c);\n c();\n }\n\n return c.ready = function (e, t) {\n return n(e, function (e) {\n a(t, e);\n }), c;\n }, c.done = function (e) {\n r(e, []);\n }, c.reset = function () {\n t = {}, i = {}, s = {};\n }, c.isDefined = function (e) {\n return e in t;\n }, c;\n }();\n});\n\nfunction loadScript(e) {\n return new Promise(function (t, i) {\n loadjs_umd(e, {\n success: t,\n error: i\n });\n });\n}\n\nfunction parseId$1(e) {\n if (is.empty(e)) return null;\n if (is.number(Number(e))) return e;\n return e.match(/^.*(vimeo.com\\/|video\\/)(\\d+).*/) ? RegExp.$2 : e;\n}\n\nfunction assurePlaybackState$1(e) {\n e && !this.embed.hasPlayed && (this.embed.hasPlayed = !0), this.media.paused === e && (this.media.paused = !e, triggerEvent.call(this, this.media, e ? \"play\" : \"pause\"));\n}\n\nvar vimeo = {\n setup: function setup() {\n var e = this;\n toggleClass(e.elements.wrapper, e.config.classNames.embed, !0), e.options.speed = e.config.speed.options, setAspectRatio.call(e), is.object(window.Vimeo) ? vimeo.ready.call(e) : loadScript(e.config.urls.vimeo.sdk).then(function () {\n vimeo.ready.call(e);\n }).catch(function (t) {\n e.debug.warn(\"Vimeo SDK (player.js) failed to load\", t);\n });\n },\n ready: function ready() {\n var _this28 = this;\n\n var e = this,\n t = e.config.vimeo,\n i = t.premium,\n s = t.referrerPolicy,\n n = _objectWithoutProperties(t, _excluded);\n\n i && Obj