mux-embed
Advanced tools
Comparing version 2.0.25 to 2.0.26
/** | ||
* mux-embed | ||
* @version 2.0.25 | ||
* @version 2.0.26 | ||
* @copyright 2016 Mux, Inc | ||
* @license | ||
*/ | ||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.mux=e()}}(function(){var e;return function e(t,i,a){function r(o,s){if(!i[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(n)return n(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var d=i[o]={exports:{}};t[o][0].call(d.exports,function(e){var i=t[o][1][e];return r(i?i:e)},d,d.exports,e,t,i,a)}return i[o].exports}for(var n="function"==typeof require&&require,o=0;o<a.length;o++)r(a[o]);return r}({1:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){var t={};for(var i in e)e.hasOwnProperty(i)&&(t[e[i]]=i);return t}function n(e){var t={};return Object.keys(e).forEach(function(i){if(e.hasOwnProperty(i)&&void 0!==e[i]){var a=i.split("_"),r=a[0],n=u[r];n||(s.default.debug("Data key word `"+a[0]+"` not expected in "+i),n=r+"_"),a.splice(1).forEach(function(e){c[e]?n+=c[e]:(s.default.debug("Data key word `"+e+"` not expected in "+i),n+="_"+e+"_")}),t[n]=e[i]}}),t}Object.defineProperty(i,"__esModule",{value:!0}),i.default=n;var o=e("./utils/log.js"),s=a(o),l={a:"property",d:"ad",e:"event",f:"experiment",m:"mux",p:"player",s:"session",t:"timestamp",u:"viewer",v:"video",w:"page",x:"view"},u=r(l),d={ad:"ad",ag:"aggregate",ap:"api",al:"application",ar:"architecture",au:"autoplay",br:"break",cd:"code",cg:"category",cn:"config",co:"count",cp:"complete",ct:"content",cu:"current",dg:"downscaling",dm:"domain",dn:"cdn",do:"downscale",du:"duration",dv:"device",ec:"encoding",en:"end",eg:"engine",em:"embed",er:"error",ev:"events",ex:"expires",fi:"first",fm:"family",fq:"frequency",fr:"frame",fs:"fullscreen",ho:"host",ht:"height",id:"id",ii:"init",in:"instance",ip:"ip",is:"is",ke:"key",la:"language",li:"live",lo:"load",ma:"max",me:"message",mi:"mime",ml:"midroll",mn:"manufacturer",mx:"mux",nm:"name",no:"number",on:"on",os:"os",pa:"paused",pb:"playback",pd:"producer",pe:"percentage",ph:"playhead",pi:"plugin",pl:"preroll",po:"poster",pr:"preload",ra:"rate",re:"rebuffer",ro:"ratio",se:"session",sk:"seek",sm:"stream",sq:"sequence",sr:"series",st:"start",so:"source",su:"startup",sw:"software",tc:"tech",ti:"time",tl:"total",to:"to",tt:"title",ty:"type",ug:"upscaling",up:"upscale",ur:"url",us:"user",va:"variant",vd:"viewed",vi:"video",ve:"version",vw:"view",vr:"viewer",wd:"width",wa:"watch"},c=r(d)},{"./utils/log.js":17}],2:[function(e,t,i){"use strict";function a(){this.isAdBreak=!1,this.on("adbreakstart",function(){this.isAdBreak=!0}),this.on("play",function(){this.isAdBreak=!1}),this.on("playing",function(){this.isAdBreak=!1}),this.on("seeking",function(){this.isAdBreak=!1}),this.on("viewend",function(){this.isAdBreak=!1})}Object.defineProperty(i,"__esModule",{value:!0}),i.default=a},{}],3:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){},r=0;a.prototype.on=function(e,t,i){return t._eventEmitterGuid=t._eventEmitterGuid||++r,this._listeners=this._listeners||{},this._listeners[e]=this._listeners[e]||[],i&&(t=t.bind(i)),this._listeners[e].push(t),t},a.prototype.off=function(e,t){var i=this._listeners&&this._listeners[e];i&&i.forEach(function(e,a){e._eventEmitterGuid===t._eventEmitterGuid&&i.splice(a,1)})},a.prototype.one=function(e,t,i){var a=this;t._eventEmitterGuid=t._eventEmitterGuid||++r;var n=function r(){a.off(e,r),t.apply(i||this,arguments)};n._eventEmitterGuid=t._eventEmitterGuid,this.on(e,n)},a.prototype.emit=function(e,t){var i=this;t=t||{};var a=this._listeners&&this._listeners[e]||[],r=this._listeners&&this._listeners["after"+e]||[],n=function(t,a){t=t.slice(),t.forEach(function(t){t.call(i,{type:e},a)})};n(a,t),n(r,t)},i.default=a},{}],4:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("global/window"),n=a(r),o=function(){this._playbackHeartbeatInterval=null,this._playheadShouldBeProgressing=!1,this.on("playing",function(){this._playheadShouldBeProgressing=!0}),this.on("play",this._startPlaybackHeartbeatInterval),this.on("adbreakstart",this._startPlaybackHeartbeatInterval),this.on("adplay",this._startPlaybackHeartbeatInterval),this.on("seeking",this._startPlaybackHeartbeatInterval),this.on("pause",this._stopPlaybackHeartbeatInterval),this.on("ended",this._stopPlaybackHeartbeatInterval),this.on("viewend",this._stopPlaybackHeartbeatInterval),this.on("error",this._stopPlaybackHeartbeatInterval),this.on("adpause",this._stopPlaybackHeartbeatInterval),this.on("adbreakend",this._stopPlaybackHeartbeatInterval),this.on("seeked",function(){this.data.player_is_paused&&this._stopPlaybackHeartbeatInterval()}),this.on("timeupdate",function(){this.emit("playbackheartbeat",{viewer_time:Date.now()})})};o.prototype._startPlaybackHeartbeatInterval=function(){var e=this;null===this._playbackHeartbeatInterval&&(this.emit("playbackheartbeat",{viewer_time:Date.now()}),this._playbackHeartbeatInterval=n.default.setInterval(function(){e.emit("playbackheartbeat",{viewer_time:Date.now()})},this.playbackHeartbeatTime))},o.prototype._stopPlaybackHeartbeatInterval=function(){this._playheadShouldBeProgressing=!1,null!==this._playbackHeartbeatInterval&&(n.default.clearInterval(this._playbackHeartbeatInterval),this.emit("playbackheartbeatend",{viewer_time:Date.now()}),this._playbackHeartbeatInterval=null)},i.default=o},{"global/window":28}],5:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("../utils/safe-increment.js"),n=a(r),o=function(){this._playbackTimeTrackerLastPlayheadPosition=-1,this.on("playbackheartbeat",this._updatePlaybackTime),this.on("playbackheartbeatend",this._clearPlaybackTimeState),this.on("seeking",this._clearPlaybackTimeState)};o.prototype._updatePlaybackTime=function(){var e=this.data.player_playhead_time;if(this._playbackTimeTrackerLastPlayheadPosition>=0&&e>this._playbackTimeTrackerLastPlayheadPosition){var t=e-this._playbackTimeTrackerLastPlayheadPosition;t<=1e3&&(0,n.default)(this.data,"view_content_playback_time",t)}this._playbackTimeTrackerLastPlayheadPosition=e},o.prototype._clearPlaybackTimeState=function(){this._updatePlaybackTime(),this._playbackTimeTrackerLastPlayheadPosition=-1},i.default=o},{"../utils/safe-increment.js":19}],6:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){this.on("playbackheartbeat",this._updatePlayheadTime),this.on("playbackheartbeatend",this._updatePlayheadTime),this.on("timeupdate",this._updatePlayheadTime),this.on("destroy",function(){this.off("timeupdate",this._updatePlayheadTime)})};a.prototype._updatePlayheadTime=function(e,t){t.player_playhead_time?this.data.player_playhead_time=t.player_playhead_time:this.getPlayheadTime&&(this.data.player_playhead_time=this.getPlayheadTime())},i.default=a},{}],7:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("../utils/safe-increment.js"),n=a(r),o=function(){this._lastCheckedTime=null,this._lastPlayheadTime=null,this._lastPlayheadTimeUpdatedTime=null,this.on("playbackheartbeat",this._checkIfRebuffering),this.on("playbackheartbeatend",this._cleanupRebufferTracker),this.on("seeking",function(){this._cleanupRebufferTracker(null,{viewer_time:Date.now()})})};o.prototype._checkIfRebuffering=function(e,t){if(this.isSeeking||this.isAdBreak||!this._playheadShouldBeProgressing)return void this._cleanupRebufferTracker(e,t);if(null===this._lastCheckedTime)return this._lastCheckedTime=t.viewer_time,this._lastPlayheadTime=this.data.player_playhead_time,void(this._lastPlayheadTimeUpdatedTime=t.viewer_time);if(this._lastPlayheadTime!==this.data.player_playhead_time)return this._rebuffering&&(this._rebuffering=!1,this._updateRebufferMetrics(t.viewer_time-this._lastCheckedTime),this.emit("rebufferend")),this._lastCheckedTime=t.viewer_time,this._lastPlayheadTime=this.data.player_playhead_time,void(this._lastPlayheadTimeUpdatedTime=t.viewer_time);var i=t.viewer_time-this._lastPlayheadTimeUpdatedTime;i>=this.minimumRebufferDuration&&(this._rebuffering?this._updateRebufferMetrics(t.viewer_time-this._lastCheckedTime):(this._rebuffering=!0,(0,n.default)(this.data,"view_rebuffer_count",1),this._updateRebufferMetrics(i),this.emit("rebufferstart"))),this._lastCheckedTime=t.viewer_time},o.prototype._cleanupRebufferTracker=function(e,t){this._rebuffering&&(this._rebuffering=!1,this._updateRebufferMetrics(t.viewer_time-this._lastCheckedTime),this.emit("rebufferend")),this._lastCheckedTime=null,this._lastPlayheadTime=null,this._lastPlayheadTimeUpdatedTime=null},o.prototype._updateRebufferMetrics=function(e){e>0&&(0,n.default)(this.data,"view_rebuffer_duration",e),this.data.view_watch_time>=0&&this.data.view_rebuffer_count>0&&(this.data.view_rebuffer_frequency=this.data.view_rebuffer_count/this.data.view_watch_time,this.data.view_rebuffer_percentage=this.data.view_rebuffer_duration/this.data.view_watch_time)},i.default=o},{"../utils/safe-increment.js":19}],8:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(){var e=this;this.on("viewinit",function(){this._lastPlayheadPosition=-1});var t=["pause","rebufferstart","seeking","error","adbreakstart","hb"],i=["playing","hb"];t.forEach(function(t){e.on(t,function(){if(this._lastPlayheadPosition>=0&&this.data.player_playhead_time>=0&&this._lastPlayerWidth>=0&&this._lastSourceWidth>0&&this._lastPlayerHeight>=0&&this._lastSourceHeight>0){var e=this.data.player_playhead_time-this._lastPlayheadPosition;if(e<0)return void(this._lastPlayheadPosition=-1);var t=Math.min(this._lastPlayerWidth/this._lastSourceWidth,this._lastPlayerHeight/this._lastSourceHeight),i=Math.max(0,t-1),a=Math.max(0,1-t);this.data.view_max_upscale_percentage=Math.max(this.data.view_max_upscale_percentage||0,i),this.data.view_max_downscale_percentage=Math.max(this.data.view_max_downscale_percentage||0,a),(0,o.default)(this.data,"view_total_content_playback_time",e),(0,o.default)(this.data,"view_total_upscaling",i*e),(0,o.default)(this.data,"view_total_downscaling",a*e)}this._lastPlayheadPosition=-1})}),i.forEach(function(t){e.on(t,function(){this._lastPlayheadPosition=this.data.player_playhead_time,this._lastPlayerWidth=this.data.player_width,this._lastPlayerHeight=this.data.player_height,this._lastSourceWidth=this.data.video_source_width,this._lastSourceHeight=this.data.video_source_height})})}Object.defineProperty(i,"__esModule",{value:!0}),i.default=r;var n=e("../utils/safe-increment.js"),o=a(n)},{"../utils/safe-increment.js":19}],9:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(){this.isSeeking=!1,this.on("seeking",function(){this._lastSeekingTime=Date.now(),this.isSeeking===!1&&(this.isSeeking=!0,this.send("seeking"))}),this.on("seeked",function(){this.isSeeking=!1;var e=this._lastSeekingTime||Date.now(),t=Date.now()-e;(0,o.default)(this.data,"view_seek_count",1),(0,o.default)(this.data,"view_seek_duration",t);var i=this.data.view_max_seek_time||0;this.data.view_max_seek_time=Math.max(i,t)}),this.on("viewend",function(){this.isSeeking=!1})}Object.defineProperty(i,"__esModule",{value:!0}),i.default=r;var n=e("../utils/safe-increment.js"),o=a(n)},{"../utils/safe-increment.js":19}],10:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){this.on("viewinit",function(){var e=this.data,t=e.view_id,i=function(e){"playing"===e.type&&"undefined"==typeof this.data.view_time_to_first_frame?this.calculateTimeToFirstFrame(Date.now(),t):"adplaying"===e.type&&("undefined"==typeof this.data.view_content_playback_time||this.data.view_content_playback_time<=1e3)&&this.calculateTimeToFirstFrame(Date.now(),t)};this.one("playing",i),this.one("adplaying",i),this.one("viewend",function(){this.off("playing",i),this.off("adplaying",i)})})};a.prototype.calculateTimeToFirstFrame=function(e,t){t===this.data.view_id&&(this.data.view_time_to_first_frame=e-this.data.view_start,(this.data.player_autoplay_on||this.data.video_is_autoplay)&&this.NAVIGATION_START&&(this.data.view_aggregate_startup_time=e-this.NAVIGATION_START))},i.default=a},{}],11:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("../utils/safe-increment.js"),n=a(r),o=function(){this._watchTimeTrackerLastCheckedTime=null,this.on("playbackheartbeat",this._updateWatchTime),this.on("playbackheartbeatend",this._clearWatchTimeState)};o.prototype._updateWatchTime=function(e,t){var i=t.viewer_time;null===this._watchTimeTrackerLastCheckedTime&&(this._watchTimeTrackerLastCheckedTime=i),(0,n.default)(this.data,"view_watch_time",i-this._watchTimeTrackerLastCheckedTime),this._updateRebufferMetrics(),this._watchTimeTrackerLastCheckedTime=i},o.prototype._clearWatchTimeState=function(e,t){this._updateWatchTime(e,t),this._watchTimeTrackerLastCheckedTime=null},i.default=o},{"../utils/safe-increment.js":19}],12:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},n=e("global/window"),o=a(n),s=e("platform"),l=a(s),u=e("qs"),d=a(u),c=e("./vendor/js-cookie.js"),f=a(c),p=e("./minify-keys.js"),h=a(p),y=e("./utils/image-beacon.js"),_=a(y),m=e("./utils/beacon-url.js"),b=a(m),v=e("lodash.assign"),g=a(v),w=e("./utils/log.js"),x=a(w),k=e("./utils/uuid.js"),T=e("./player-monitor.js"),S=a(T),O=e("./video-el-monitor.js"),j=a(O),P=e("./utils/utils-public.js"),E=a(P),M="2.0.25",A="2.0",I=o.default.MUX_VAR_NAME||"mux",D=o.default[I],C={},R={};i.default=function(){function e(){var e=void 0,t=Date.now();try{e=d.default.parse(f.default.get("muxData")||"")}catch(e){}e=e||{},e.mux_viewer_id=e.mux_viewer_id||(0,k.generateUUID)(),e.session_start&&(e.sst=e.session_start,delete e.session_start),e.session_id&&(e.sid=e.session_id,delete e.session_id),e.session_expires&&(e.sex=e.session_expires,delete e.session_expires),(!e.sex||e.sex<t)&&(e.sid=(0,k.generateUUID)(),e.sst=t),e.sex=t+15e5,f.default.set("muxData",d.default.stringify(e),{expires:7300});var i={session_id:e.sid,session_start:e.sst,session_expires:e.sex,mux_viewer_id:e.mux_viewer_id};return i}function t(e,t){e=Array.prototype.slice.apply(e),t=t||Date.now();var i=e[e.length-1],a=void 0;return"object"!==("undefined"==typeof i?"undefined":r(i))?(e.push({viewer_time:t}),e):(i.viewer_time||(a=(0,g.default)({},i),a.viewer_time=t,e[e.length-1]=a),e)}if(!D||!D.loaded){var i=o.default[I]=function(e){var a=arguments,r=Date.now();"string"==typeof e?i.hasOwnProperty(e)?o.default.setTimeout(function(){a=Array.prototype.splice.call(a,1),a=t(a,r),i[e].apply(null,a)},0):x.default.warn("`"+e+"` is an unknown task"):"function"==typeof e?o.default.setTimeout(function(){e(i)},0):x.default.warn("`"+e+"` is invalid.")};i.loaded=Date.now(),i.VERSION=M,i.API_VERSION=A,i.PLAYER_TRACKED=!1,i.monitor=function(e,t){return(0,j.default)(i,e,t)},i.init=function(e,t){C[e]=new S.default(i,e,t)},i.emit=function(e,t,i){C[e]?(C[e].emit(t,i),"destroy"===t&&delete C[e]):x.default.error("A monitor for `"+e+"` has not been initialized.")};var a={mux_api_version:A,mux_embed_version:M,page_url:o.default.location.href,viewer_application_name:l.default.name,viewer_application_version:l.default.version,viewer_application_engine:l.default.layout,viewer_device_name:l.default.product,viewer_device_category:"",viewer_device_manufacturer:l.default.manufacturer,viewer_os_family:l.default.os&&l.default.os.family,viewer_os_architecture:l.default.os&&l.default.os.architecture,viewer_os_version:l.default.os&&l.default.os.version};return i.send=function(t,n){if(t&&!i.checkDoNotTrack()){var o=e()||{},s={};if(!n||"object"!==("undefined"==typeof n?"undefined":r(n)))return x.default.error("A data object was expected in send() but was not provided");"pageloadstart"===t&&(a.page_load_start=n.viewer_time),(0,g.default)(s,a),(0,g.default)(s,n),(0,g.default)(s,o),s.event=t,s.user_id&&(s.viewer_user_id=s.user_id,delete s.user_id),s=(0,h.default)(s),x.default.debug("Sending event: ",t,s),n.property_key&&(R[n.property_key]=R[n.property_key]||(0,b.default)(n.property_key),_.default.send(R[n.property_key],t,s))}},i.checkDoNotTrack=function(){var e=o.default.navigator,t=o.default.doNotTrack||e.doNotTrack||e.msDoNotTrack;return"1"===t},i.checkDoNotTrack()&&x.default.debug("The browser's Do Not Track flag is enabled - Mux beaconing is disabled."),i.log=x.default,i.utils=E.default,i}}()},{"./minify-keys.js":1,"./player-monitor.js":13,"./utils/beacon-url.js":14,"./utils/image-beacon.js":16,"./utils/log.js":17,"./utils/utils-public.js":21,"./utils/uuid.js":22,"./vendor/js-cookie.js":24,"./video-el-monitor.js":25,"global/window":28,"lodash.assign":29,platform:31,qs:32}],13:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("./utils/log.js"),n=a(r),o=e("lodash.assign"),s=a(o),l=e("./utils/uuid.js"),u=e("global/document"),d=a(u),c=e("global/window"),f=a(c),p=e("./mixins/event-emitter.js"),h=a(p),y=e("./mixins/playback-heartbeat.js"),_=a(y),m=e("./utils/safe-increment.js"),b=a(m),v=e("./utils/video-id-from-src.js"),g=a(v),w=e("./mixins/watch-time-tracker.js"),x=a(w),k=e("./mixins/playback-time-tracker.js"),T=a(k),S=e("./mixins/playhead-time-tracker.js"),O=a(S),j=e("./mixins/rebuffer-tracker.js"),P=a(j),E=e("./mixins/time-to-first-frame-tracker.js"),M=a(E),A=e("./mixins/scaling-tracker.js"),I=a(A),D=e("./mixins/seeking-tracker.js"),C=a(D),R=e("./mixins/ad-tracker.js"),N=a(R),L=["viewstart","ended","loadstart","pause","play","playing","ratechange","stalled","waiting","adplay","adpause","adended","aderror","adplaying","adrequest","adresponse","adbreakstart","adbreakend","rebufferstart","rebufferend","seeked","error","hb"],B=function(e,t,i){var a=this;this.DOM_CONTENT_LOADED_EVENT_END=f.default.performance&&f.default.performance.timing.domContentLoadedEventEnd,this.NAVIGATION_START=f.default.performance&&f.default.performance.timing.navigationStart;var r={debug:!1,minimumRebufferDuration:100,playbackHeartbeatTime:25};this.mux=e,this.id=t,i=(0,s.default)(r,i),n.default.setLevel(i.debug?"debug":"warn"),this.getPlayheadTime=i.getPlayheadTime,this.getStateData=i.getStateData||function(){},this.minimumRebufferDuration=i.minimumRebufferDuration,this.playbackHeartbeatTime=i.playbackHeartbeatTime,this.data={player_instance_id:(0,l.generateShortID)()},this.data.view_sequence_number=1,this.data.player_sequence_number=1,this.on("viewinit",function(e,t){this._resetVideoData(),this._resetViewData(),this.updateStateData(),(0,s.default)(this.data,t),this._initializeViewData();var i=function(){"undefined"==typeof this.data.view_start&&(this.data.view_start=Date.now(),this.emit("viewstart"))}.bind(this);this.one("play",i),this.one("adbreakstart",i)}),this.on("videochange",function(e,t){this.emit("viewend"),this.send("viewend"),this.emit("viewinit",t)}),this.on("destroy",function(e,t){"undefined"!=typeof this.data.view_start&&(this.emit("viewend"),this.send("viewend")),f.default.clearTimeout(this._heartBeatTimeout)}),this.on("playerready",function(e,t){(0,s.default)(this.data,t)}),L.forEach(function(e){a.on(e,function(t,i){0!==e.indexOf("ad")&&this.updateStateData(),(0,s.default)(this.data,{viewer_time:Date.now()},i),this._sanitizeData()}),a.on("after"+e,function(){this.send(e)})});var o=function(e){var t=Date.now();this.data.player_init_time&&(this.data.player_startup_time=t-this.data.player_init_time),!this.mux.PLAYER_TRACKED&&this.NAVIGATION_START&&(this.mux.PLAYER_TRACKED=!0,(this.data.player_init_time||this.DOM_CONTENT_LOADED_EVENT_END)&&(this.data.page_load_time=Math.min(this.data.player_init_time||1/0,this.DOM_CONTENT_LOADED_EVENT_END||1/0)-this.NAVIGATION_START)),this.send("playerready"),delete this.data.player_startup_time,delete this.data.page_load_time};this.one("playerready",o),C.default.apply(this),N.default.apply(this),O.default.apply(this),_.default.apply(this),I.default.apply(this),x.default.apply(this),T.default.apply(this),P.default.apply(this),M.default.apply(this),this.emit("viewinit",i.data)};(0,s.default)(B.prototype,O.default.prototype),(0,s.default)(B.prototype,h.default.prototype),(0,s.default)(B.prototype,C.default.prototype),(0,s.default)(B.prototype,N.default.prototype),(0,s.default)(B.prototype,_.default.prototype),(0,s.default)(B.prototype,x.default.prototype),(0,s.default)(B.prototype,T.default.prototype),(0,s.default)(B.prototype,P.default.prototype),(0,s.default)(B.prototype,M.default.prototype),B.prototype.updateStateData=function(){(0,s.default)(this.data,this.getStateData()),this.getPlayheadTime&&(this.data.player_playhead_time=this.getPlayheadTime()),this._sanitizeData()},B.prototype.send=function(e){var t=(0,s.default)({},this.data);if(1===t.player_error_code&&(delete t.player_error_code,delete t.player_error_message),t.player_source_duration===1/0||t.video_source_duration===1/0?t.video_source_is_live=!0:(t.player_source_duration>0||t.video_source_duration>0)&&(t.video_source_is_live=!1),t.video_source_url=t.video_source_url||t.player_source_url,t.video_source_url){var i=d.default.createElement("a");i.href=t.video_source_url;var a=i.hostname,r=a.match(/[^\.]+\.[^\.]+$/);r&&r.length&&(t.video_source_domain=r[0]),t.video_source_host_name=a}delete t.ad_request_id,n.default.debug("Sending `"+e+"`",t),this.mux.send(e,t),this.data.view_sequence_number++,this.data.player_sequence_number++,this._restartHeartBeat()},B.prototype._sanitizeData=function(){var e=this,t=["player_width","player_height","video_source_width","video_source_height","player_playhead_time"];t.forEach(function(t){var i=parseInt(e.data[t],10);e.data[t]=isNaN(i)?void 0:i})},B.prototype._resetVideoData=function(e,t){var i=this;Object.keys(this.data).forEach(function(e){0===e.indexOf("video_")&&delete i.data[e]})},B.prototype._resetViewData=function(){var e=this;Object.keys(this.data).forEach(function(t){0===t.indexOf("view_")&&delete e.data[t]}),this.data.view_sequence_number=1},B.prototype._initializeViewData=function(){var e=this,t=this.data.view_id=(0,l.generateUUID)();this.data.video_id||(this.data.video_id=(0,g.default)(this.data.player_source_url));var i=function(){t===e.data.view_id&&(0,b.default)(e.data,"player_view_count",1)};this.data.player_is_paused?this.one("play",i):i()},B.prototype._restartHeartBeat=function(){var e=this;f.default.clearTimeout(this._heartBeatTimeout),this._heartBeatTimeout=f.default.setTimeout(function(){e.data.player_is_paused||e.emit("hb")},1e4)},i.default=B},{"./mixins/ad-tracker.js":2,"./mixins/event-emitter.js":3,"./mixins/playback-heartbeat.js":4,"./mixins/playback-time-tracker.js":5,"./mixins/playhead-time-tracker.js":6,"./mixins/rebuffer-tracker.js":7,"./mixins/scaling-tracker.js":8,"./mixins/seeking-tracker.js":9,"./mixins/time-to-first-frame-tracker.js":10,"./mixins/watch-time-tracker.js":11,"./utils/log.js":17,"./utils/safe-increment.js":19,"./utils/uuid.js":22,"./utils/video-id-from-src.js":23,"global/document":27,"global/window":28,"lodash.assign":29}],14:[function(e,t,i){"use strict";function a(e){return e=e||"",e.match(/^[a-z0-9]+$/)?"https://"+e+".litix.io":"https://img.litix.io/a.gif"}Object.defineProperty(i,"__esModule",{value:!0}),i.default=a},{}],15:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(o.default.defaultView&&o.default.defaultView.getComputedStyle)return o.default.defaultView.getComputedStyle(e,null).getPropertyValue(t)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=r;var n=e("global/document"),o=a(n)},{"global/document":27}],16:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("qs"),n=a(r),o={};o.send=function(e,t,i){var a=new Image;return a.src=e+"?e="+t+"&"+n.default.stringify(i),a},i.default=o},{qs:32}],17:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("loglevel"),n=a(r),o=n.default.methodFactory;n.default.methodFactory=function(e,t,i){var a=o(e,t,i);return function(){for(var e=["[mux]"],t=0;t<arguments.length;t++)e.push(arguments[t]);a.apply(void 0,e)}},n.default.setLevel(n.default.getLevel()),i.default=n.default},{loglevel:30}],18:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t,i,a){var r=a;if(e&&"function"==typeof e[t])try{r=e[t].apply(e,i)}catch(e){o.default.debug("safeCall error",e)}return r}Object.defineProperty(i,"__esModule",{value:!0}),i.default=r;var n=e("./log.js"),o=a(n)},{"./log.js":17}],19:[function(e,t,i){"use strict";function a(e,t,i){i=void 0===i?1:i,e[t]=e[t]||0,e[t]+=i}Object.defineProperty(i,"__esModule",{value:!0}),i.default=a},{}],20:[function(e,t,i){"use strict";function a(e){return Math.floor(1e3*e)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=a},{}],21:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("./safe-call.js"),n=a(r),o=e("./safe-increment.js"),s=a(o),l=e("./get-computed-style.js"),u=a(l),d=e("./seconds-to-ms.js"),c=a(d),f={};f.safeCall=n.default,f.safeIncrement=s.default,f.getComputedStyle=u.default,f.secondsToMs=c.default,i.default=f},{"./get-computed-style.js":15,"./safe-call.js":18,"./safe-increment.js":19,"./seconds-to-ms.js":20}],22:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,i="x"===e?t:3&t|8;return i.toString(16)})},r=function(){return("000000"+(Math.random()*Math.pow(36,6)<<0).toString(36)).slice(-6)};i.generateUUID=a,i.generateShortID=r},{}],23:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){var t=o.default.createElement("a");t.href=e;var i=t.pathname.replace(/\.[^\/.]+$/,"");return l.default.btoa(t.host+i).split("=")[0]}Object.defineProperty(i,"__esModule",{value:!0}),i.default=r;var n=e("global/document"),o=a(n),s=e("global/window"),l=a(s)},{"global/document":27,"global/window":28}],24:[function(e,t,i){"use strict";!function(e){t.exports=e()}(function(){function e(i){function a(e,r,n){var o;if(arguments.length>1){if(n=t({path:"/"},a.defaults,n),"number"==typeof n.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*n.expires),n.expires=s}try{o=JSON.stringify(r),/^[\{\[]/.test(o)&&(r=o)}catch(e){}return r=i.write?i.write(r,e):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape),document.cookie=[e,"=",r,n.expires&&"; expires="+n.expires.toUTCString(),n.path&&"; path="+n.path,n.domain&&"; domain="+n.domain,n.secure?"; secure":""].join("")}e||(o={});for(var l=document.cookie?document.cookie.split("; "):[],u=/(%[0-9A-Z]{2})+/g,d=0;d<l.length;d++){var c=l[d].split("="),f=c[0].replace(u,decodeURIComponent),p=c.slice(1).join("=");'"'===p.charAt(0)&&(p=p.slice(1,-1));try{if(p=i.read?i.read(p,f):i(p,f)||p.replace(u,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(e){}if(e===f){o=p;break}e||(o[f]=p)}catch(e){}}return o}return a.get=a.set=a,a.getJSON=function(){return a.apply({json:!0},[].slice.call(arguments))},a.defaults={},a.remove=function(e,i){a(e,"",t(i,{expires:-1}))},a.withConverter=e,a}var t=function(){for(var e=0,t={};e<arguments.length;e++){var i=arguments[e];for(var a in i)t[a]=i[a]}return t};return e(function(){})})},{}],25:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t,i){var a=f(t),r=n(a,3),o=r[0],s=r[1],l=r[2],p=e.log,h=e.utils.getComputedStyle,y=e.utils.secondsToMs;return o?"video"!==l&&"audio"!==l?p.error("The element of `"+s+"` was not a media element."):(i=i||{},i.data=(0,u.default)({player_software:"HTML5 Video Element",player_mux_plugin:"VideoElementMonitor",player_mux_plugin_version:"2.0.25"},i.data),i.getPlayheadTime=function(){return y(o.currentTime)},i.getStateData=function(){return{player_is_paused:o.paused,player_playhead_time:y(o.currentTime),player_width:parseInt(h(o,"width")),player_height:parseInt(h(o,"height")),player_autoplay_on:o.autoplay,player_preload_on:o.preload,player_error_code:o.error&&o.error.code,player_error_message:o.error&&c[o.error.code],video_poster_url:o.poster,video_source_url:o.currentSrc,video_source_duration:y(o.duration),video_source_height:o.videoHeight,video_source_width:o.videoWidth}},o.mux=o.mux||{},o.mux.swapElement=function(t){var i=f(t),a=n(i,3),r=a[0],s=a[1],l=a[2];return r?"video"!==l&&"audio"!==l?e.log.error("The element of `"+s+"` was not a media element."):(r.mux=r.mux||{},r.mux.listeners=(0,u.default)({},o.mux.listeners),delete o.mux.listeners,Object.keys(r.mux.listeners).forEach(function(e){o.removeEventListener(e,r.mux.listeners[e],!1),r.addEventListener(e,r.mux.listeners[e],!1)}),r.mux.swapElement=o.mux.swapElement,delete o.mux.swapElement,void(o=r)):e.log.error("No element was found with the `"+s+"` query selector.")},e.init(s,i),e.emit(s,"playerready"),o.paused||(e.emit(s,"play"),o.readyState>2&&e.emit(s,"playing")),o.mux.listeners={},void d.forEach(function(t){o.mux.listeners[t]=function(){e.emit(s,t)},o.addEventListener(t,o.mux.listeners[t],!1)})):p.error("No element was found with the `"+s+"` query selector.")}Object.defineProperty(i,"__esModule",{value:!0});var n=function(){function e(e,t){var i=[],a=!0,r=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){r=!0,n=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw n}}return i}return function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();i.default=r;var o=e("global/document"),s=a(o),l=e("lodash.assign"),u=a(l),d=["loadstart","pause","play","playing","seeking","seeked","timeupdate","ratechange","stalled","waiting","error","ended"],c={1:"MEDIA_ERR_ABORTED",2:"MEDIA_ERR_NETWORK",3:"MEDIA_ERR_DECODE",4:"MEDIA_ERR_SRC_NOT_SUPPORTED"},f=function(e){var t=void 0;e&&"undefined"!=typeof e.nodeName?(t=e,e=t.id?t.id:t.className):t=s.default.querySelector(e);var i=t&&t.nodeName?t.nodeName.toLowerCase():"";return[t,e,i]}},{"global/document":27,"lodash.assign":29}],26:[function(e,t,i){},{}],27:[function(e,t,i){(function(i){var a="undefined"!=typeof i?i:"undefined"!=typeof window?window:{},r=e("min-document");if("undefined"!=typeof document)t.exports=document;else{var n=a["__GLOBAL_DOCUMENT_CACHE@4"];n||(n=a["__GLOBAL_DOCUMENT_CACHE@4"]=r),t.exports=n}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":26}],28:[function(e,t,i){(function(e){"undefined"!=typeof window?t.exports=window:"undefined"!=typeof e?t.exports=e:"undefined"!=typeof self?t.exports=self:t.exports={}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],29:[function(e,t,i){function a(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}function r(e){return function(t){return null==t?void 0:t[e]}}function n(e,t){for(var i=-1,a=Array(e);++i<e;)a[i]=t(i);return a}function o(e,t){ | ||
return function(i){return e(t(i))}}function s(e,t,i){var a=e[t];D.call(e,t)&&_(a,i)&&(void 0!==i||t in e)||(e[t]=i)}function l(e,t){return null!=e&&(D.call(e,t)||"object"==typeof e&&t in e&&null===U(e))}function u(e,t){return t=B(void 0===t?e.length-1:t,0),function(){for(var i=arguments,r=-1,n=B(i.length-t,0),o=Array(n);++r<n;)o[r]=i[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=i[r];return s[t]=o,a(e,this,s)}}function d(e,t,i,a){i||(i={});for(var r=-1,n=t.length;++r<n;){var o=t[r],l=a?a(i[o],e[o],o,i,e):void 0;s(i,o,void 0===l?e[o]:l)}return i}function c(e){return u(function(t,i){var a=-1,r=i.length,n=r>1?i[r-1]:void 0,o=r>2?i[2]:void 0;for(n=e.length>3&&"function"==typeof n?(r--,n):void 0,o&&h(i[0],i[1],o)&&(n=r<3?void 0:n,r=1),t=Object(t);++a<r;){var s=i[a];s&&e(t,s,a,n)}return t})}function f(e){var t=e?e.length:void 0;return w(t)&&(G(e)||T(e)||m(e))?n(t,String):null}function p(e,t){return t=null==t?O:t,!!t&&("number"==typeof e||A.test(e))&&e>-1&&e%1==0&&e<t}function h(e,t,i){if(!x(i))return!1;var a=typeof t;return!!("number"==a?b(i)&&p(t,i.length):"string"==a&&t in i)&&_(i[t],e)}function y(e){var t=e&&e.constructor,i="function"==typeof t&&t.prototype||I;return e===i}function _(e,t){return e===t||e!==e&&t!==t}function m(e){return v(e)&&D.call(e,"callee")&&(!R.call(e,"callee")||C.call(e)==j)}function b(e){return null!=e&&w(F(e))&&!g(e)}function v(e){return k(e)&&b(e)}function g(e){var t=x(e)?C.call(e):"";return t==P||t==E}function w(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=O}function x(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function k(e){return!!e&&"object"==typeof e}function T(e){return"string"==typeof e||!G(e)&&k(e)&&C.call(e)==M}function S(e){var t=y(e);if(!t&&!b(e))return H(e);var i=f(e),a=!!i,r=i||[],n=r.length;for(var o in e)!l(e,o)||a&&("length"==o||p(o,n))||t&&"constructor"==o||r.push(o);return r}var O=9007199254740991,j="[object Arguments]",P="[object Function]",E="[object GeneratorFunction]",M="[object String]",A=/^(?:0|[1-9]\d*)$/,I=Object.prototype,D=I.hasOwnProperty,C=I.toString,R=I.propertyIsEnumerable,N=Object.getPrototypeOf,L=Object.keys,B=Math.max,W=!R.call({valueOf:1},"valueOf"),H=o(L,Object),F=r("length"),U=o(N,Object),G=Array.isArray,V=c(function(e,t){if(W||y(t)||b(t))return void d(t,S(t),e);for(var i in t)D.call(t,i)&&s(e,i,t[i])});t.exports=V},{}],30:[function(t,i,a){!function(t,a){"use strict";"function"==typeof e&&e.amd?e(a):"object"==typeof i&&i.exports?i.exports=a():t.log=a()}(this,function(){"use strict";function e(e){return typeof console!==s&&(void 0!==console[e]?t(console,e):void 0!==console.log?t(console,"log"):o)}function t(e,t){var i=e[t];if("function"==typeof i.bind)return i.bind(e);try{return Function.prototype.bind.call(i,e)}catch(t){return function(){return Function.prototype.apply.apply(i,[e,arguments])}}}function i(e,t,i){return function(){typeof console!==s&&(a.call(this,t,i),this[e].apply(this,arguments))}}function a(e,t){for(var i=0;i<l.length;i++){var a=l[i];this[a]=i<e?o:this.methodFactory(a,e,t)}}function r(t,a,r){return e(t)||i.apply(this,arguments)}function n(e,t,i){function n(e){var t=(l[e]||"silent").toUpperCase();try{return void(window.localStorage[c]=t)}catch(e){}try{window.document.cookie=encodeURIComponent(c)+"="+t+";"}catch(e){}}function o(){var e;try{e=window.localStorage[c]}catch(e){}if(typeof e===s)try{var t=window.document.cookie,i=t.indexOf(encodeURIComponent(c)+"=");i&&(e=/^([^;]+)/.exec(t.slice(i))[1])}catch(e){}return void 0===d.levels[e]&&(e=void 0),e}var u,d=this,c="loglevel";e&&(c+=":"+e),d.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},d.methodFactory=i||r,d.getLevel=function(){return u},d.setLevel=function(t,i){if("string"==typeof t&&void 0!==d.levels[t.toUpperCase()]&&(t=d.levels[t.toUpperCase()]),!("number"==typeof t&&t>=0&&t<=d.levels.SILENT))throw"log.setLevel() called with invalid level: "+t;if(u=t,i!==!1&&n(t),a.call(d,t,e),typeof console===s&&t<d.levels.SILENT)return"No console available for logging"},d.setDefaultLevel=function(e){o()||d.setLevel(e,!1)},d.enableAll=function(e){d.setLevel(d.levels.TRACE,e)},d.disableAll=function(e){d.setLevel(d.levels.SILENT,e)};var f=o();null==f&&(f=null==t?"WARN":t),d.setLevel(f,!1)}var o=function(){},s="undefined",l=["trace","debug","info","warn","error"],u=new n,d={};u.getLogger=function(e){if("string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=d[e];return t||(t=d[e]=new n(e,u.getLevel(),u.methodFactory)),t};var c=typeof window!==s?window.log:void 0;return u.noConflict=function(){return typeof window!==s&&window.log===u&&(window.log=c),u},u})},{}],31:[function(t,i,a){(function(t){(function(){"use strict";function r(e){return e=String(e),e.charAt(0).toUpperCase()+e.slice(1)}function n(e,t,i){var a={6.4:"10",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&i&&/^Win/i.test(e)&&(a=a[/[\d.]+$/.exec(e)])&&(e="Windows "+a),e=String(e),t&&i&&(e=e.replace(RegExp(t,"i"),i)),e=s(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").split(" on ")[0])}function o(e,t){var i=-1,a=e?e.length:0;if("number"==typeof a&&a>-1&&a<=w)for(;++i<a;)t(e[i],i,e);else l(e,t)}function s(e){return e=p(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:r(e)}function l(e,t){for(var i in e)S.call(e,i)&&t(e[i],i,e)}function u(e){return null==e?r(e):O.call(e).slice(8,-1)}function d(e,t){var i=null!=e?typeof e[t]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(i)||"object"==i&&!e[t])}function c(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function f(e,t){var i=null;return o(e,function(a,r){i=t(i,a,r,e)}),i}function p(e){return String(e).replace(/^ +| +$/g,"")}function h(e){function t(t){return f(t,function(t,i){return t||RegExp("\\b"+(i.pattern||c(i))+"\\b","i").exec(e)&&(i.label||i)})}function i(t){return f(t,function(t,i,a){return t||(i[z]||i[/^[a-z]+(?: +[a-z]+\b)*/i.exec(z)]||RegExp("\\b"+c(a)+"(?:\\b|\\w*\\d)","i").exec(e))&&a})}function a(t){return f(t,function(t,i){return t||RegExp("\\b"+(i.pattern||c(i))+"\\b","i").exec(e)&&(i.label||i)})}function r(t){return f(t,function(t,i){var a=i.pattern||c(i);return!t&&(t=RegExp("\\b"+a+"(?:/[\\d.]+|[ \\w.]*)","i").exec(e))&&(t=n(t,a,i.label||i)),t})}function o(t){return f(t,function(t,i){var a=i.pattern||c(i);return!t&&(t=RegExp("\\b"+a+" *\\d+[.\\w_]*","i").exec(e)||RegExp("\\b"+a+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(e))&&((t=String(i.label&&!RegExp(a,"i").test(i.label)?i.label:t).split("/"))[1]&&!/[\d.]+/.test(t[0])&&(t[0]+=" "+t[1]),i=i.label||i,t=s(t[0].replace(RegExp(a,"i"),i).replace(RegExp("; *(?:"+i+"[_-])?","i")," ").replace(RegExp("("+i+")[-_.]?(\\w)","i"),"$1 $2"))),t})}function y(t){return f(t,function(t,i){return t||(RegExp(i+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(e)||0)[1]||null})}function b(){return this.description||""}var v=_,g=e&&"object"==typeof e&&"String"!=u(e);g&&(v=e,e=null);var w=v.navigator||{},T=w.userAgent||"";e||(e=T);var S,j,P=g||k==m,E=g?!!w.likeChrome:/\bChrome\b/.test(e)&&!/internal|\n/i.test(O.toString()),M="Object",A=g?M:"ScriptBridgingProxyObject",I=g?M:"Environment",D=g&&v.java?"JavaPackage":u(v.java),C=g?M:"RuntimeObject",R=/\bJava/.test(D)&&v.java,N=R&&u(v.environment)==I,L=R?"a":"α",B=R?"b":"β",W=v.document||{},H=v.operamini||v.opera,F=x.test(F=g&&H?H["[[Class]]"]:u(H))?F:H=null,U=e,G=[],V=null,$=e==T,q=$&&H&&"function"==typeof H.version&&H.version(),K=t(["Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),X=a(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel",{label:"SRWare Iron",pattern:"Iron"},"K-Meleon","Konqueror","Lunascape","Maxthon","Midori","Nook Browser","PhantomJS","Raven","Rekonq","RockMelt","SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser","Sunrise","Swiftfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),z=o([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nook","PlayBook","PlayStation 4","PlayStation 3","PlayStation Vita","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),J=i({Apple:{iPad:1,iPhone:1,iPod:1},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{"PlayStation 4":1,"PlayStation 3":1,"PlayStation Vita":1}}),Y=r(["Windows Phone ","Android","CentOS","Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);if(K&&(K=[K]),J&&!z&&(z=o([J])),(S=/\bGoogle TV\b/.exec(z))&&(z=S[0]),/\bSimulator\b/i.test(e)&&(z=(z?z+" ":"")+"Simulator"),"Opera Mini"==X&&/\bOPiOS\b/.test(e)&&G.push("running in Turbo/Uncompressed mode"),/^iP/.test(z)?(X||(X="Safari"),Y="iOS"+((S=/ OS ([\d_]+)/i.exec(e))?" "+S[1].replace(/_/g,"."):"")):"Konqueror"!=X||/buntu/i.test(Y)?J&&"Google"!=J&&(/Chrome/.test(X)&&!/\bMobile Safari\b/i.test(e)||/\bVita\b/.test(z))?(X="Android Browser",Y=/\bAndroid\b/.test(Y)?Y:"Android"):X&&!(S=!/\bMinefield\b|\(Android;/i.test(e)&&/\b(?:Firefox|Safari)\b/.exec(X))||(X&&!z&&/[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(S+"/")+8))&&(X=null),(S=z||J||Y)&&(z||J||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Y))&&(X=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Y)?Y:S)+" Browser")):Y="Kubuntu",(S=/\((Mobile|Tablet).*?Firefox\b/i.exec(e))&&S[1]&&(Y="Firefox OS",z||(z=S[1])),q||(q=y(["(?:Cloud9|CriOS|CrMo|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|Silk(?!/[\\d.]+$))","Version",c(X),"(?:Firefox|Minefield|NetFront)"])),"iCab"==K&&parseFloat(q)>3?K=["WebKit"]:"Trident"!=K&&(S=/\bOpera\b/.test(X)&&(/\bOPR\b/.test(e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&"WebKit"||!K&&/\bMSIE\b/i.test(e)&&("Mac OS"==Y?"Tasman":"Trident"))?K=[S]:/\bPlayStation\b(?! Vita\b)/i.test(X)&&"WebKit"==K&&(K=["NetFront"]),"IE"==X&&(S=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])?(X+=" Mobile",Y="Windows Phone "+(/\+$/.test(S)?S:S+".x"),G.unshift("desktop mode")):/\bWPDesktop\b/i.test(e)?(X="IE Mobile",Y="Windows Phone 8+",G.unshift("desktop mode"),q||(q=(/\brv:([\d.]+)/.exec(e)||0)[1])):"IE"!=X&&"Trident"==K&&(S=/\brv:([\d.]+)/.exec(e))?(/\bWPDesktop\b/i.test(e)||(X&&G.push("identifying as "+X+(q?" "+q:"")),X="IE"),q=S[1]):"Chrome"!=X&&"IE"==X||!(S=/\bEdge\/([\d.]+)/.exec(e))||(X="Microsoft Edge",q=S[1],K=["Trident"]),$){if(d(v,"global"))if(R&&(S=R.lang.System,U=S.getProperty("os.arch"),Y=Y||S.getProperty("os.name")+" "+S.getProperty("os.version")),P&&d(v,"system")&&(S=[v.system])[0]){Y||(Y=S[0].os||null);try{S[1]=v.require("ringo/engine").version,q=S[1].join("."),X="RingoJS"}catch(e){S[0].global.system==v.system&&(X="Narwhal")}}else"object"==typeof v.process&&(S=v.process)?(X="Node.js",U=S.arch,Y=S.platform,q=/[\d.]+/.exec(S.version)[0]):N&&(X="Rhino");else u(S=v.runtime)==A?(X="Adobe AIR",Y=S.flash.system.Capabilities.os):u(S=v.phantom)==C?(X="PhantomJS",q=(S=S.version||null)&&S.major+"."+S.minor+"."+S.patch):"number"==typeof W.documentMode&&(S=/\bTrident\/(\d+)/i.exec(e))&&(q=[q,W.documentMode],(S=+S[1]+4)!=q[1]&&(G.push("IE "+q[1]+" mode"),K&&(K[1]=""),q[1]=S),q="IE"==X?String(q[1].toFixed(1)):q[0]);Y=Y&&s(Y)}q&&(S=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(q)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+($&&w.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")&&(V=/b/i.test(S)?"beta":"alpha",q=q.replace(RegExp(S+"\\+?$"),"")+("beta"==V?B:L)+(/\d+\+?/.exec(S)||"")),"Fennec"==X||"Firefox"==X&&/\b(?:Android|Firefox OS)\b/.test(Y)?X="Firefox Mobile":"Maxthon"==X&&q?q=q.replace(/\.[\d.]+/,".x"):"Silk"==X?(/\bMobi/i.test(e)||(Y="Android",G.unshift("desktop mode")),/Accelerated *= *true/i.test(e)&&G.unshift("accelerated")):/\bXbox\b/i.test(z)?(Y=null,"Xbox 360"==z&&/\bIEMobile\b/.test(e)&&G.unshift("mobile mode")):!/^(?:Chrome|IE|Opera)$/.test(X)&&(!X||z||/Browser|Mobi/.test(X))||"Windows CE"!=Y&&!/Mobi/i.test(e)?"IE"==X&&$&&null===v.external?G.unshift("platform preview"):(/\bBlackBerry\b/.test(z)||/\bBB10\b/.test(e))&&(S=(RegExp(z.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||q)?(S=[S,/BB10/.test(e)],Y=(S[1]?(z=null,J="BlackBerry"):"Device Software")+" "+S[0],q=null):this!=l&&"Wii"!=z&&($&&H||/Opera/.test(X)&&/\b(?:MSIE|Firefox)\b/i.test(e)||"Firefox"==X&&/\bOS X (?:\d+\.){2,}/.test(Y)||"IE"==X&&(Y&&!/^Win/.test(Y)&&q>5.5||/\bWindows XP\b/.test(Y)&&q>8||8==q&&!/\bTrident\b/.test(e)))&&!x.test(S=h.call(l,e.replace(x,"")+";"))&&S.name&&(S="ing as "+S.name+((S=S.version)?" "+S:""),x.test(X)?(/\bIE\b/.test(S)&&"Mac OS"==Y&&(Y=null),S="identify"+S):(S="mask"+S,X=F?s(F.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(S)&&(Y=null),$||(q=null)),K=["Presto"],G.push(S)):X+=" Mobile",(S=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1])&&(S=[parseFloat(S.replace(/\.(\d)$/,".0$1")),S],"Safari"==X&&"+"==S[1].slice(-1)?(X="WebKit Nightly",V="alpha",q=S[1].slice(0,-1)):q!=S[1]&&q!=(S[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])||(q=null),S[1]=(/\bChrome\/([\d.]+)/i.exec(e)||0)[1],537.36==S[0]&&537.36==S[2]&&parseFloat(S[1])>=28&&"IE"!=X&&"Microsoft Edge"!=X&&(K=["Blink"]),$&&(E||S[1])?(K&&(K[1]="like Chrome"),S=S[1]||(S=S[0],S<530?1:S<532?2:S<532.05?3:S<533?4:S<534.03?5:S<534.07?6:S<534.1?7:S<534.13?8:S<534.16?9:S<534.24?10:S<534.3?11:S<535.01?12:S<535.02?"13+":S<535.07?15:S<535.11?16:S<535.19?17:S<536.05?18:S<536.1?19:S<537.01?20:S<537.11?"21+":S<537.13?23:S<537.18?24:S<537.24?25:S<537.36?26:"Blink"!=K?"27":"28")):(K&&(K[1]="like Safari"),S=S[0],S=S<400?1:S<500?2:S<526?3:S<533?4:S<534?"4+":S<535?5:S<537?6:S<538?7:S<601?8:"8"),K&&(K[1]+=" "+(S+="number"==typeof S?".x":/[.+]/.test(S)?"":"+")),"Safari"==X&&(!q||parseInt(q)>45)&&(q=S)),"Opera"==X&&(S=/\bzbov|zvav$/.exec(Y))?(X+=" ",G.unshift("desktop mode"),"zvav"==S?(X+="Mini",q=null):X+="Mobile",Y=Y.replace(RegExp(" *"+S+"$"),"")):"Safari"==X&&/\bChrome\b/.exec(K&&K[1])&&(G.unshift("desktop mode"),X="Chrome Mobile",q=null,/\bOS X\b/.test(Y)?(J="Apple",Y="iOS 4.3+"):Y=null),q&&0==q.indexOf(S=/[\d.]+$/.exec(Y))&&e.indexOf("/"+S+"-")>-1&&(Y=p(Y.replace(S,""))),K&&!/\b(?:Avant|Nook)\b/.test(X)&&(/Browser|Lunascape|Maxthon/.test(X)||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test(X)&&K[1])&&(S=K[K.length-1])&&G.push(S),G.length&&(G=["("+G.join("; ")+")"]),J&&z&&z.indexOf(J)<0&&G.push("on "+J),z&&G.push((/^on /.test(G[G.length-1])?"":"on ")+z),Y&&(S=/ ([\d.+]+)$/.exec(Y),j=S&&"/"==Y.charAt(Y.length-S[0].length-1),Y={architecture:32,family:S&&!j?Y.replace(S[0],""):Y,version:S?S[1]:null,toString:function(){var e=this.version;return this.family+(e&&!j?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(S=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(U))&&!/\bi686\b/i.test(U)&&(Y&&(Y.architecture=64,Y.family=Y.family.replace(RegExp(" *"+S),"")),X&&(/\bWOW64\b/i.test(e)||$&&/\w(?:86|32)$/.test(w.cpuClass||w.platform)&&!/\bWin64; x64\b/i.test(e))&&G.unshift("32-bit")),e||(e=null);var Z={};return Z.description=e,Z.layout=K&&K[0],Z.manufacturer=J,Z.name=X,Z.prerelease=V,Z.product=z,Z.ua=e,Z.version=X&&q,Z.os=Y||{architecture:null,family:null,version:null,toString:function(){return"null"}},Z.parse=h,Z.toString=b,Z.version&&G.unshift(q),Z.name&&G.unshift(X),Y&&X&&(Y!=String(Y).split(" ")[0]||Y!=X.split(" ")[0]&&!z)&&G.push(z?"("+Y+")":"on "+Y),G.length&&(Z.description=G.join(" ")),Z}var y={function:!0,object:!0},_=y[typeof window]&&window||this,m=_,b=y[typeof a]&&a,v=y[typeof i]&&i&&!i.nodeType&&i,g=b&&v&&"object"==typeof t&&t;!g||g.global!==g&&g.window!==g&&g.self!==g||(_=g);var w=Math.pow(2,53)-1,x=/\bOpera/,k=this,T=Object.prototype,S=T.hasOwnProperty,O=T.toString;"function"==typeof e&&"object"==typeof e.amd&&e.amd?e(function(){return h()}):b&&v?l(h(),function(e,t){b[t]=e}):_.platform=h()}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],32:[function(e,t,i){"use strict";var a=e("./stringify"),r=e("./parse");t.exports={stringify:a,parse:r}},{"./parse":33,"./stringify":34}],33:[function(e,t,i){"use strict";var a=e("./utils"),r=Object.prototype.hasOwnProperty,n={delimiter:"&",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1,decoder:a.decode},o=function(e,t){for(var i={},a=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),n=0;n<a.length;++n){var o,s,l=a[n],u=l.indexOf("]=")===-1?l.indexOf("="):l.indexOf("]=")+1;u===-1?(o=t.decoder(l),s=t.strictNullHandling?null:""):(o=t.decoder(l.slice(0,u)),s=t.decoder(l.slice(u+1))),r.call(i,o)?i[o]=[].concat(i[o]).concat(s):i[o]=s}return i},s=function e(t,i,a){if(!t.length)return i;var r,n=t.shift();if("[]"===n)r=[],r=r.concat(e(t,i,a));else{r=a.plainObjects?Object.create(null):{};var o="["===n[0]&&"]"===n[n.length-1]?n.slice(1,n.length-1):n,s=parseInt(o,10);!isNaN(s)&&n!==o&&String(s)===o&&s>=0&&a.parseArrays&&s<=a.arrayLimit?(r=[],r[s]=e(t,i,a)):r[o]=e(t,i,a)}return r},l=function(e,t,i){if(e){var a=i.allowDots?e.replace(/\.([^\.\[]+)/g,"[$1]"):e,n=/^([^\[\]]*)/,o=/(\[[^\[\]]*\])/g,l=n.exec(a),u=[];if(l[1]){if(!i.plainObjects&&r.call(Object.prototype,l[1])&&!i.allowPrototypes)return;u.push(l[1])}for(var d=0;null!==(l=o.exec(a))&&d<i.depth;)d+=1,(i.plainObjects||!r.call(Object.prototype,l[1].replace(/\[|\]/g,""))||i.allowPrototypes)&&u.push(l[1]);return l&&u.push("["+a.slice(l.index)+"]"),s(u,t,i)}};t.exports=function(e,t){var i=t||{};if(null!==i.decoder&&void 0!==i.decoder&&"function"!=typeof i.decoder)throw new TypeError("Decoder has to be a function.");if(i.delimiter="string"==typeof i.delimiter||a.isRegExp(i.delimiter)?i.delimiter:n.delimiter,i.depth="number"==typeof i.depth?i.depth:n.depth,i.arrayLimit="number"==typeof i.arrayLimit?i.arrayLimit:n.arrayLimit,i.parseArrays=i.parseArrays!==!1,i.decoder="function"==typeof i.decoder?i.decoder:n.decoder,i.allowDots="boolean"==typeof i.allowDots?i.allowDots:n.allowDots,i.plainObjects="boolean"==typeof i.plainObjects?i.plainObjects:n.plainObjects,i.allowPrototypes="boolean"==typeof i.allowPrototypes?i.allowPrototypes:n.allowPrototypes,i.parameterLimit="number"==typeof i.parameterLimit?i.parameterLimit:n.parameterLimit,i.strictNullHandling="boolean"==typeof i.strictNullHandling?i.strictNullHandling:n.strictNullHandling,""===e||null===e||"undefined"==typeof e)return i.plainObjects?Object.create(null):{};for(var r="string"==typeof e?o(e,i):e,s=i.plainObjects?Object.create(null):{},u=Object.keys(r),d=0;d<u.length;++d){var c=u[d],f=l(c,r[c],i);s=a.merge(s,f,i)}return a.compact(s)}},{"./utils":35}],34:[function(e,t,i){"use strict";var a=e("./utils"),r={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},n={delimiter:"&",strictNullHandling:!1,skipNulls:!1,encode:!0,encoder:a.encode},o=function e(t,i,r,n,o,s,l,u,d){var c=t;if("function"==typeof l)c=l(i,c);else if(c instanceof Date)c=c.toISOString();else if(null===c){if(n)return s?s(i):i;c=""}if("string"==typeof c||"number"==typeof c||"boolean"==typeof c||a.isBuffer(c))return s?[s(i)+"="+s(c)]:[i+"="+String(c)];var f=[];if("undefined"==typeof c)return f;var p;if(Array.isArray(l))p=l;else{var h=Object.keys(c);p=u?h.sort(u):h}for(var y=0;y<p.length;++y){var _=p[y];o&&null===c[_]||(f=Array.isArray(c)?f.concat(e(c[_],r(i,_),r,n,o,s,l,u,d)):f.concat(e(c[_],i+(d?"."+_:"["+_+"]"),r,n,o,s,l,u,d)))}return f};t.exports=function(e,t){var i,a,s=e,l=t||{},u="undefined"==typeof l.delimiter?n.delimiter:l.delimiter,d="boolean"==typeof l.strictNullHandling?l.strictNullHandling:n.strictNullHandling,c="boolean"==typeof l.skipNulls?l.skipNulls:n.skipNulls,f="boolean"==typeof l.encode?l.encode:n.encode,p=f?"function"==typeof l.encoder?l.encoder:n.encoder:null,h="function"==typeof l.sort?l.sort:null,y="undefined"!=typeof l.allowDots&&l.allowDots;if(null!==l.encoder&&void 0!==l.encoder&&"function"!=typeof l.encoder)throw new TypeError("Encoder has to be a function.");"function"==typeof l.filter?(a=l.filter,s=a("",s)):Array.isArray(l.filter)&&(i=a=l.filter);var _=[];if("object"!=typeof s||null===s)return"";var m;m=l.arrayFormat in r?l.arrayFormat:"indices"in l?l.indices?"indices":"repeat":"indices";var b=r[m];i||(i=Object.keys(s)),h&&i.sort(h);for(var v=0;v<i.length;++v){var g=i[v];c&&null===s[g]||(_=_.concat(o(s[g],g,b,d,c,p,a,h,y)))}return _.join(u)}},{"./utils":35}],35:[function(e,t,i){"use strict";var a=function(){for(var e=new Array(256),t=0;t<256;++t)e[t]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}();i.arrayToObject=function(e,t){for(var i=t.plainObjects?Object.create(null):{},a=0;a<e.length;++a)"undefined"!=typeof e[a]&&(i[a]=e[a]);return i},i.merge=function(e,t,a){if(!t)return e;if("object"!=typeof t){if(Array.isArray(e))e.push(t);else{if("object"!=typeof e)return[e,t];e[t]=!0}return e}if("object"!=typeof e)return[e].concat(t);var r=e;return Array.isArray(e)&&!Array.isArray(t)&&(r=i.arrayToObject(e,a)),Object.keys(t).reduce(function(e,r){var n=t[r];return Object.prototype.hasOwnProperty.call(e,r)?e[r]=i.merge(e[r],n,a):e[r]=n,e},r)},i.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},i.encode=function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),i="",r=0;r<t.length;++r){var n=t.charCodeAt(r);45===n||46===n||95===n||126===n||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122?i+=t.charAt(r):n<128?i+=a[n]:n<2048?i+=a[192|n>>6]+a[128|63&n]:n<55296||n>=57344?i+=a[224|n>>12]+a[128|n>>6&63]+a[128|63&n]:(r+=1,n=65536+((1023&n)<<10|1023&t.charCodeAt(r)),i+=a[240|n>>18]+a[128|n>>12&63]+a[128|n>>6&63]+a[128|63&n])}return i},i.compact=function(e,t){if("object"!=typeof e||null===e)return e;var a=t||[],r=a.indexOf(e);if(r!==-1)return a[r];if(a.push(e),Array.isArray(e)){for(var n=[],o=0;o<e.length;++o)e[o]&&"object"==typeof e[o]?n.push(i.compact(e[o],a)):"undefined"!=typeof e[o]&&n.push(e[o]);return n}for(var s=Object.keys(e),l=0;l<s.length;++l){var u=s[l];e[u]=i.compact(e[u],a)}return e},i.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},i.isBuffer=function(e){return null!==e&&"undefined"!=typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}]},{},[12])(12)}); | ||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.mux=e()}}(function(){var e;return function e(t,i,a){function r(o,s){if(!i[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(n)return n(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var d=i[o]={exports:{}};t[o][0].call(d.exports,function(e){var i=t[o][1][e];return r(i?i:e)},d,d.exports,e,t,i,a)}return i[o].exports}for(var n="function"==typeof require&&require,o=0;o<a.length;o++)r(a[o]);return r}({1:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){var t={};for(var i in e)e.hasOwnProperty(i)&&(t[e[i]]=i);return t}function n(e){var t={};return Object.keys(e).forEach(function(i){if(e.hasOwnProperty(i)&&void 0!==e[i]){var a=i.split("_"),r=a[0],n=u[r];n||(s.default.debug("Data key word `"+a[0]+"` not expected in "+i),n=r+"_"),a.splice(1).forEach(function(e){c[e]?n+=c[e]:(s.default.debug("Data key word `"+e+"` not expected in "+i),n+="_"+e+"_")}),t[n]=e[i]}}),t}Object.defineProperty(i,"__esModule",{value:!0}),i.default=n;var o=e("./utils/log.js"),s=a(o),l={a:"property",d:"ad",e:"event",f:"experiment",m:"mux",p:"player",s:"session",t:"timestamp",u:"viewer",v:"video",w:"page",x:"view"},u=r(l),d={ad:"ad",ag:"aggregate",ap:"api",al:"application",ar:"architecture",au:"autoplay",br:"break",cd:"code",cg:"category",cn:"config",co:"count",cp:"complete",ct:"content",cu:"current",dg:"downscaling",dm:"domain",dn:"cdn",do:"downscale",du:"duration",dv:"device",ec:"encoding",en:"end",eg:"engine",em:"embed",er:"error",ev:"events",ex:"expires",fi:"first",fm:"family",fq:"frequency",fr:"frame",fs:"fullscreen",ho:"host",ht:"height",id:"id",ii:"init",in:"instance",ip:"ip",is:"is",ke:"key",la:"language",li:"live",lo:"load",ma:"max",me:"message",mi:"mime",ml:"midroll",mn:"manufacturer",mx:"mux",nm:"name",no:"number",on:"on",os:"os",pa:"paused",pb:"playback",pd:"producer",pe:"percentage",ph:"playhead",pi:"plugin",pl:"preroll",po:"poster",pr:"preload",ra:"rate",re:"rebuffer",ro:"ratio",se:"session",sk:"seek",sm:"stream",sq:"sequence",sr:"series",st:"start",so:"source",su:"startup",sw:"software",tc:"tech",ti:"time",tl:"total",to:"to",tt:"title",ty:"type",ug:"upscaling",up:"upscale",ur:"url",us:"user",va:"variant",vd:"viewed",vi:"video",ve:"version",vw:"view",vr:"viewer",wd:"width",wa:"watch"},c=r(d)},{"./utils/log.js":17}],2:[function(e,t,i){"use strict";function a(){this.isAdBreak=!1,this.on("adbreakstart",function(){this.isAdBreak=!0}),this.on("play",function(){this.isAdBreak=!1}),this.on("playing",function(){this.isAdBreak=!1}),this.on("seeking",function(){this.isAdBreak=!1}),this.on("viewend",function(){this.isAdBreak=!1})}Object.defineProperty(i,"__esModule",{value:!0}),i.default=a},{}],3:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){},r=0;a.prototype.on=function(e,t,i){return t._eventEmitterGuid=t._eventEmitterGuid||++r,this._listeners=this._listeners||{},this._listeners[e]=this._listeners[e]||[],i&&(t=t.bind(i)),this._listeners[e].push(t),t},a.prototype.off=function(e,t){var i=this._listeners&&this._listeners[e];i&&i.forEach(function(e,a){e._eventEmitterGuid===t._eventEmitterGuid&&i.splice(a,1)})},a.prototype.one=function(e,t,i){var a=this;t._eventEmitterGuid=t._eventEmitterGuid||++r;var n=function r(){a.off(e,r),t.apply(i||this,arguments)};n._eventEmitterGuid=t._eventEmitterGuid,this.on(e,n)},a.prototype.emit=function(e,t){var i=this;t=t||{};var a=this._listeners&&this._listeners[e]||[],r=this._listeners&&this._listeners["after"+e]||[],n=function(t,a){t=t.slice(),t.forEach(function(t){t.call(i,{type:e},a)})};n(a,t),n(r,t)},i.default=a},{}],4:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("global/window"),n=a(r),o=function(){this._playbackHeartbeatInterval=null,this._playheadShouldBeProgressing=!1,this.on("playing",function(){this._playheadShouldBeProgressing=!0}),this.on("play",this._startPlaybackHeartbeatInterval),this.on("adbreakstart",this._startPlaybackHeartbeatInterval),this.on("adplay",this._startPlaybackHeartbeatInterval),this.on("seeking",this._startPlaybackHeartbeatInterval),this.on("pause",this._stopPlaybackHeartbeatInterval),this.on("ended",this._stopPlaybackHeartbeatInterval),this.on("viewend",this._stopPlaybackHeartbeatInterval),this.on("error",this._stopPlaybackHeartbeatInterval),this.on("adpause",this._stopPlaybackHeartbeatInterval),this.on("adbreakend",this._stopPlaybackHeartbeatInterval),this.on("seeked",function(){this.data.player_is_paused&&this._stopPlaybackHeartbeatInterval()}),this.on("timeupdate",function(){this.emit("playbackheartbeat",{viewer_time:Date.now()})})};o.prototype._startPlaybackHeartbeatInterval=function(){var e=this;null===this._playbackHeartbeatInterval&&(this.emit("playbackheartbeat",{viewer_time:Date.now()}),this._playbackHeartbeatInterval=n.default.setInterval(function(){e.emit("playbackheartbeat",{viewer_time:Date.now()})},this.playbackHeartbeatTime))},o.prototype._stopPlaybackHeartbeatInterval=function(){this._playheadShouldBeProgressing=!1,null!==this._playbackHeartbeatInterval&&(n.default.clearInterval(this._playbackHeartbeatInterval),this.emit("playbackheartbeatend",{viewer_time:Date.now()}),this._playbackHeartbeatInterval=null)},i.default=o},{"global/window":29}],5:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("../utils/safe-increment.js"),n=a(r),o=function(){this._playbackTimeTrackerLastPlayheadPosition=-1,this.on("playbackheartbeat",this._updatePlaybackTime),this.on("playbackheartbeatend",this._clearPlaybackTimeState),this.on("seeking",this._clearPlaybackTimeState)};o.prototype._updatePlaybackTime=function(){var e=this.data.player_playhead_time;if(this._playbackTimeTrackerLastPlayheadPosition>=0&&e>this._playbackTimeTrackerLastPlayheadPosition){var t=e-this._playbackTimeTrackerLastPlayheadPosition;t<=1e3&&(0,n.default)(this.data,"view_content_playback_time",t)}this._playbackTimeTrackerLastPlayheadPosition=e},o.prototype._clearPlaybackTimeState=function(){this._updatePlaybackTime(),this._playbackTimeTrackerLastPlayheadPosition=-1},i.default=o},{"../utils/safe-increment.js":19}],6:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){this.on("playbackheartbeat",this._updatePlayheadTime),this.on("playbackheartbeatend",this._updatePlayheadTime),this.on("timeupdate",this._updatePlayheadTime),this.on("destroy",function(){this.off("timeupdate",this._updatePlayheadTime)})};a.prototype._updatePlayheadTime=function(e,t){t.player_playhead_time?this.data.player_playhead_time=t.player_playhead_time:this.getPlayheadTime&&(this.data.player_playhead_time=this.getPlayheadTime())},i.default=a},{}],7:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("../utils/safe-increment.js"),n=a(r),o=function(){this._lastCheckedTime=null,this._lastPlayheadTime=null,this._lastPlayheadTimeUpdatedTime=null,this.on("playbackheartbeat",this._checkIfRebuffering),this.on("playbackheartbeatend",this._cleanupRebufferTracker),this.on("seeking",function(){this._cleanupRebufferTracker(null,{viewer_time:Date.now()})})};o.prototype._checkIfRebuffering=function(e,t){if(this.isSeeking||this.isAdBreak||!this._playheadShouldBeProgressing)return void this._cleanupRebufferTracker(e,t);if(null===this._lastCheckedTime)return this._lastCheckedTime=t.viewer_time,this._lastPlayheadTime=this.data.player_playhead_time,void(this._lastPlayheadTimeUpdatedTime=t.viewer_time);if(this._lastPlayheadTime!==this.data.player_playhead_time)return this._rebuffering&&(this._rebuffering=!1,this._updateRebufferMetrics(t.viewer_time-this._lastCheckedTime),this.emit("rebufferend")),this._lastCheckedTime=t.viewer_time,this._lastPlayheadTime=this.data.player_playhead_time,void(this._lastPlayheadTimeUpdatedTime=t.viewer_time);var i=t.viewer_time-this._lastPlayheadTimeUpdatedTime;i>=this.minimumRebufferDuration&&(this._rebuffering?this._updateRebufferMetrics(t.viewer_time-this._lastCheckedTime):(this._rebuffering=!0,(0,n.default)(this.data,"view_rebuffer_count",1),this._updateRebufferMetrics(i),this.emit("rebufferstart"))),this._lastCheckedTime=t.viewer_time},o.prototype._cleanupRebufferTracker=function(e,t){this._rebuffering&&(this._rebuffering=!1,this._updateRebufferMetrics(t.viewer_time-this._lastCheckedTime),this.emit("rebufferend")),this._lastCheckedTime=null,this._lastPlayheadTime=null,this._lastPlayheadTimeUpdatedTime=null},o.prototype._updateRebufferMetrics=function(e){e>0&&(0,n.default)(this.data,"view_rebuffer_duration",e),this.data.view_watch_time>=0&&this.data.view_rebuffer_count>0&&(this.data.view_rebuffer_frequency=this.data.view_rebuffer_count/this.data.view_watch_time,this.data.view_rebuffer_percentage=this.data.view_rebuffer_duration/this.data.view_watch_time)},i.default=o},{"../utils/safe-increment.js":19}],8:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(){var e=this;this.on("viewinit",function(){this._lastPlayheadPosition=-1});var t=["pause","rebufferstart","seeking","error","adbreakstart","hb"],i=["playing","hb"];t.forEach(function(t){e.on(t,function(){if(this._lastPlayheadPosition>=0&&this.data.player_playhead_time>=0&&this._lastPlayerWidth>=0&&this._lastSourceWidth>0&&this._lastPlayerHeight>=0&&this._lastSourceHeight>0){var e=this.data.player_playhead_time-this._lastPlayheadPosition;if(e<0)return void(this._lastPlayheadPosition=-1);var t=Math.min(this._lastPlayerWidth/this._lastSourceWidth,this._lastPlayerHeight/this._lastSourceHeight),i=Math.max(0,t-1),a=Math.max(0,1-t);this.data.view_max_upscale_percentage=Math.max(this.data.view_max_upscale_percentage||0,i),this.data.view_max_downscale_percentage=Math.max(this.data.view_max_downscale_percentage||0,a),(0,o.default)(this.data,"view_total_content_playback_time",e),(0,o.default)(this.data,"view_total_upscaling",i*e),(0,o.default)(this.data,"view_total_downscaling",a*e)}this._lastPlayheadPosition=-1})}),i.forEach(function(t){e.on(t,function(){this._lastPlayheadPosition=this.data.player_playhead_time,this._lastPlayerWidth=this.data.player_width,this._lastPlayerHeight=this.data.player_height,this._lastSourceWidth=this.data.video_source_width,this._lastSourceHeight=this.data.video_source_height})})}Object.defineProperty(i,"__esModule",{value:!0}),i.default=r;var n=e("../utils/safe-increment.js"),o=a(n)},{"../utils/safe-increment.js":19}],9:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(){this.isSeeking=!1,this.on("seeking",function(){this._lastSeekingTime=Date.now(),this.isSeeking===!1&&(this.isSeeking=!0,this.send("seeking"))}),this.on("seeked",function(){this.isSeeking=!1;var e=this._lastSeekingTime||Date.now(),t=Date.now()-e;(0,o.default)(this.data,"view_seek_count",1),(0,o.default)(this.data,"view_seek_duration",t);var i=this.data.view_max_seek_time||0;this.data.view_max_seek_time=Math.max(i,t)}),this.on("viewend",function(){this.isSeeking=!1})}Object.defineProperty(i,"__esModule",{value:!0}),i.default=r;var n=e("../utils/safe-increment.js"),o=a(n)},{"../utils/safe-increment.js":19}],10:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){this.on("viewinit",function(){var e=this.data,t=e.view_id,i=function(e){"playing"===e.type&&"undefined"==typeof this.data.view_time_to_first_frame?this.calculateTimeToFirstFrame(Date.now(),t):"adplaying"===e.type&&("undefined"==typeof this.data.view_content_playback_time||this.data.view_content_playback_time<=1e3)&&this.calculateTimeToFirstFrame(Date.now(),t)};this.one("playing",i),this.one("adplaying",i),this.one("viewend",function(){this.off("playing",i),this.off("adplaying",i)})})};a.prototype.calculateTimeToFirstFrame=function(e,t){t===this.data.view_id&&(this.data.view_time_to_first_frame=e-this.data.view_start,(this.data.player_autoplay_on||this.data.video_is_autoplay)&&this.NAVIGATION_START&&(this.data.view_aggregate_startup_time=e-this.NAVIGATION_START))},i.default=a},{}],11:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("../utils/safe-increment.js"),n=a(r),o=function(){this._watchTimeTrackerLastCheckedTime=null,this.on("playbackheartbeat",this._updateWatchTime),this.on("playbackheartbeatend",this._clearWatchTimeState)};o.prototype._updateWatchTime=function(e,t){var i=t.viewer_time;null===this._watchTimeTrackerLastCheckedTime&&(this._watchTimeTrackerLastCheckedTime=i),(0,n.default)(this.data,"view_watch_time",i-this._watchTimeTrackerLastCheckedTime),this._updateRebufferMetrics(),this._watchTimeTrackerLastCheckedTime=i},o.prototype._clearWatchTimeState=function(e,t){this._updateWatchTime(e,t),this._watchTimeTrackerLastCheckedTime=null},i.default=o},{"../utils/safe-increment.js":19}],12:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},n=e("global/window"),o=a(n),s=e("platform"),l=a(s),u=e("qs"),d=a(u),c=e("./vendor/js-cookie.js"),f=a(c),p=e("./minify-keys.js"),h=a(p),y=e("./utils/image-beacon.js"),_=a(y),m=e("./utils/beacon-url.js"),b=a(m),v=e("lodash.assign"),g=a(v),w=e("./utils/log.js"),x=a(w),k=e("./utils/uuid.js"),T=e("./player-monitor.js"),S=a(T),j=e("./video-el-monitor.js"),O=a(j),P=e("./utils/utils-public.js"),E=a(P),M="2.0.26",A="2.0",I=o.default.MUX_VAR_NAME||"mux",D=o.default[I],C={},R={};i.default=function(){function e(){var e=void 0,t=Date.now();try{e=d.default.parse(f.default.get("muxData")||"")}catch(e){}e=e||{},e.mux_viewer_id=e.mux_viewer_id||(0,k.generateUUID)(),e.session_start&&(e.sst=e.session_start,delete e.session_start),e.session_id&&(e.sid=e.session_id,delete e.session_id),e.session_expires&&(e.sex=e.session_expires,delete e.session_expires),(!e.sex||e.sex<t)&&(e.sid=(0,k.generateUUID)(),e.sst=t),e.sex=t+15e5,f.default.set("muxData",d.default.stringify(e),{expires:7300});var i={session_id:e.sid,session_start:e.sst,session_expires:e.sex,mux_viewer_id:e.mux_viewer_id};return i}function t(e,t){e=Array.prototype.slice.apply(e),t=t||Date.now();var i=e[e.length-1],a=void 0;return"object"!==("undefined"==typeof i?"undefined":r(i))?(e.push({viewer_time:t}),e):(i.viewer_time||(a=(0,g.default)({},i),a.viewer_time=t,e[e.length-1]=a),e)}if(!D||!D.loaded){var i=o.default[I]=function(e){var a=arguments,r=Date.now();"string"==typeof e?i.hasOwnProperty(e)?o.default.setTimeout(function(){a=Array.prototype.splice.call(a,1),a=t(a,r),i[e].apply(null,a)},0):x.default.warn("`"+e+"` is an unknown task"):"function"==typeof e?o.default.setTimeout(function(){e(i)},0):x.default.warn("`"+e+"` is invalid.")};i.loaded=Date.now(),i.VERSION=M,i.API_VERSION=A,i.PLAYER_TRACKED=!1,i.monitor=function(e,t){return(0,O.default)(i,e,t)},i.init=function(e,t){C[e]=new S.default(i,e,t)},i.emit=function(e,t,i){C[e]?(C[e].emit(t,i),"destroy"===t&&delete C[e]):x.default.error("A monitor for `"+e+"` has not been initialized.")};var a={mux_api_version:A,mux_embed_version:M,page_url:o.default.location.href,viewer_application_name:l.default.name,viewer_application_version:l.default.version,viewer_application_engine:l.default.layout,viewer_device_name:l.default.product,viewer_device_category:"",viewer_device_manufacturer:l.default.manufacturer,viewer_os_family:l.default.os&&l.default.os.family,viewer_os_architecture:l.default.os&&l.default.os.architecture,viewer_os_version:l.default.os&&l.default.os.version};return i.send=function(t,n){if(t&&!i.checkDoNotTrack()){var o=e()||{},s={};if(!n||"object"!==("undefined"==typeof n?"undefined":r(n)))return x.default.error("A data object was expected in send() but was not provided");"pageloadstart"===t&&(a.page_load_start=n.viewer_time),(0,g.default)(s,a),(0,g.default)(s,n),(0,g.default)(s,o),s.event=t,s.user_id&&(s.viewer_user_id=s.user_id,delete s.user_id),s=(0,h.default)(s),x.default.debug("Sending event: ",t,s),n.property_key&&(R[n.property_key]=R[n.property_key]||(0,b.default)(n.property_key),_.default.send(R[n.property_key],t,s))}},i.checkDoNotTrack=function(){var e=o.default.navigator,t=o.default.doNotTrack||e.doNotTrack||e.msDoNotTrack;return"1"===t},i.checkDoNotTrack()&&x.default.debug("The browser's Do Not Track flag is enabled - Mux beaconing is disabled."),i.log=x.default,i.utils=E.default,i}}()},{"./minify-keys.js":1,"./player-monitor.js":13,"./utils/beacon-url.js":14,"./utils/image-beacon.js":16,"./utils/log.js":17,"./utils/utils-public.js":21,"./utils/uuid.js":22,"./vendor/js-cookie.js":24,"./video-el-monitor.js":26,"global/window":29,"lodash.assign":30,platform:31,qs:32}],13:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("./utils/log.js"),n=a(r),o=e("lodash.assign"),s=a(o),l=e("./utils/uuid.js"),u=e("global/document"),d=a(u),c=e("global/window"),f=a(c),p=e("./mixins/event-emitter.js"),h=a(p),y=e("./mixins/playback-heartbeat.js"),_=a(y),m=e("./utils/safe-increment.js"),b=a(m),v=e("./utils/video-id-from-src.js"),g=a(v),w=e("./mixins/watch-time-tracker.js"),x=a(w),k=e("./mixins/playback-time-tracker.js"),T=a(k),S=e("./mixins/playhead-time-tracker.js"),j=a(S),O=e("./mixins/rebuffer-tracker.js"),P=a(O),E=e("./mixins/time-to-first-frame-tracker.js"),M=a(E),A=e("./mixins/scaling-tracker.js"),I=a(A),D=e("./mixins/seeking-tracker.js"),C=a(D),R=e("./mixins/ad-tracker.js"),N=a(R),L=["viewstart","ended","loadstart","pause","play","playing","ratechange","stalled","waiting","adplay","adpause","adended","aderror","adplaying","adrequest","adresponse","adbreakstart","adbreakend","rebufferstart","rebufferend","seeked","error","hb"],B=function(e,t,i){var a=this;this.DOM_CONTENT_LOADED_EVENT_END=f.default.performance&&f.default.performance.timing.domContentLoadedEventEnd,this.NAVIGATION_START=f.default.performance&&f.default.performance.timing.navigationStart;var r={debug:!1,minimumRebufferDuration:100,playbackHeartbeatTime:25};this.mux=e,this.id=t,i=(0,s.default)(r,i),n.default.setLevel(i.debug?"debug":"warn"),this.getPlayheadTime=i.getPlayheadTime,this.getStateData=i.getStateData||function(){},this.minimumRebufferDuration=i.minimumRebufferDuration,this.playbackHeartbeatTime=i.playbackHeartbeatTime,this.data={player_instance_id:(0,l.generateShortID)()},this.data.view_sequence_number=1,this.data.player_sequence_number=1,this.on("viewinit",function(e,t){this._resetVideoData(),this._resetViewData(),this.updateStateData(),(0,s.default)(this.data,t),this._initializeViewData();var i=function(){"undefined"==typeof this.data.view_start&&(this.data.view_start=Date.now(),this.emit("viewstart"))}.bind(this);this.one("play",i),this.one("adbreakstart",i)}),this.on("videochange",function(e,t){this.emit("viewend"),this.send("viewend"),this.emit("viewinit",t)}),this.on("destroy",function(e,t){"undefined"!=typeof this.data.view_start&&(this.emit("viewend"),this.send("viewend")),f.default.clearTimeout(this._heartBeatTimeout)}),this.on("playerready",function(e,t){(0,s.default)(this.data,t)}),L.forEach(function(e){a.on(e,function(t,i){0!==e.indexOf("ad")&&this.updateStateData(),(0,s.default)(this.data,{viewer_time:Date.now()},i),this._sanitizeData()}),a.on("after"+e,function(){this.send(e)})});var o=function(e){var t=Date.now();this.data.player_init_time&&(this.data.player_startup_time=t-this.data.player_init_time),!this.mux.PLAYER_TRACKED&&this.NAVIGATION_START&&(this.mux.PLAYER_TRACKED=!0,(this.data.player_init_time||this.DOM_CONTENT_LOADED_EVENT_END)&&(this.data.page_load_time=Math.min(this.data.player_init_time||1/0,this.DOM_CONTENT_LOADED_EVENT_END||1/0)-this.NAVIGATION_START)),this.send("playerready"),delete this.data.player_startup_time,delete this.data.page_load_time};this.one("playerready",o),C.default.apply(this),N.default.apply(this),j.default.apply(this),_.default.apply(this),I.default.apply(this),x.default.apply(this),T.default.apply(this),P.default.apply(this),M.default.apply(this),this.emit("viewinit",i.data)};(0,s.default)(B.prototype,j.default.prototype),(0,s.default)(B.prototype,h.default.prototype),(0,s.default)(B.prototype,C.default.prototype),(0,s.default)(B.prototype,N.default.prototype),(0,s.default)(B.prototype,_.default.prototype),(0,s.default)(B.prototype,x.default.prototype),(0,s.default)(B.prototype,T.default.prototype),(0,s.default)(B.prototype,P.default.prototype),(0,s.default)(B.prototype,M.default.prototype),B.prototype.updateStateData=function(){(0,s.default)(this.data,this.getStateData()),this.getPlayheadTime&&(this.data.player_playhead_time=this.getPlayheadTime()),this._sanitizeData()},B.prototype.send=function(e){var t=(0,s.default)({},this.data);if(1===t.player_error_code&&(delete t.player_error_code,delete t.player_error_message),t.player_source_duration===1/0||t.video_source_duration===1/0?t.video_source_is_live=!0:(t.player_source_duration>0||t.video_source_duration>0)&&(t.video_source_is_live=!1),t.video_source_url=t.video_source_url||t.player_source_url,t.video_source_url){var i=d.default.createElement("a");i.href=t.video_source_url;var a=i.hostname,r=a.match(/[^\.]+\.[^\.]+$/);r&&r.length&&(t.video_source_domain=r[0]),t.video_source_host_name=a}delete t.ad_request_id,n.default.debug("Sending `"+e+"`",t),this.mux.send(e,t),this.data.view_sequence_number++,this.data.player_sequence_number++,this._restartHeartBeat()},B.prototype._sanitizeData=function(){var e=this,t=["player_width","player_height","video_source_width","video_source_height","player_playhead_time"];t.forEach(function(t){var i=parseInt(e.data[t],10);e.data[t]=isNaN(i)?void 0:i})},B.prototype._resetVideoData=function(e,t){var i=this;Object.keys(this.data).forEach(function(e){0===e.indexOf("video_")&&delete i.data[e]})},B.prototype._resetViewData=function(){var e=this;Object.keys(this.data).forEach(function(t){0===t.indexOf("view_")&&delete e.data[t]}),this.data.view_sequence_number=1},B.prototype._initializeViewData=function(){var e=this,t=this.data.view_id=(0,l.generateUUID)();this.data.video_id||(this.data.video_id=(0,g.default)(this.data.player_source_url));var i=function(){t===e.data.view_id&&(0,b.default)(e.data,"player_view_count",1)};this.data.player_is_paused?this.one("play",i):i()},B.prototype._restartHeartBeat=function(){var e=this;f.default.clearTimeout(this._heartBeatTimeout),this._heartBeatTimeout=f.default.setTimeout(function(){e.data.player_is_paused||e.emit("hb")},1e4)},i.default=B},{"./mixins/ad-tracker.js":2,"./mixins/event-emitter.js":3,"./mixins/playback-heartbeat.js":4,"./mixins/playback-time-tracker.js":5,"./mixins/playhead-time-tracker.js":6,"./mixins/rebuffer-tracker.js":7,"./mixins/scaling-tracker.js":8,"./mixins/seeking-tracker.js":9,"./mixins/time-to-first-frame-tracker.js":10,"./mixins/watch-time-tracker.js":11,"./utils/log.js":17,"./utils/safe-increment.js":19,"./utils/uuid.js":22,"./utils/video-id-from-src.js":23,"global/document":28,"global/window":29,"lodash.assign":30}],14:[function(e,t,i){"use strict";function a(e){return e=e||"",e.match(/^[a-z0-9]+$/)?"https://"+e+".litix.io":"https://img.litix.io/a.gif"}Object.defineProperty(i,"__esModule",{value:!0}),i.default=a},{}],15:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(o.default.defaultView&&o.default.defaultView.getComputedStyle)return o.default.defaultView.getComputedStyle(e,null).getPropertyValue(t)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=r;var n=e("global/document"),o=a(n)},{"global/document":28}],16:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("qs"),n=a(r),o={};o.send=function(e,t,i){var a=new Image;return a.src=e+"?e="+t+"&"+n.default.stringify(i),a},i.default=o},{qs:32}],17:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("../vendor/loglevel.js"),n=a(r),o=n.default.methodFactory;n.default.methodFactory=function(e,t,i){var a=o(e,t,i);return function(){for(var e=["[mux]"],t=0;t<arguments.length;t++)e.push(arguments[t]);a.apply(void 0,e)}},n.default.setLevel(n.default.getLevel()),i.default=n.default},{"../vendor/loglevel.js":25}],18:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t,i,a){var r=a;if(e&&"function"==typeof e[t])try{r=e[t].apply(e,i)}catch(e){o.default.debug("safeCall error",e)}return r}Object.defineProperty(i,"__esModule",{value:!0}),i.default=r;var n=e("./log.js"),o=a(n)},{"./log.js":17}],19:[function(e,t,i){"use strict";function a(e,t,i){i=void 0===i?1:i,e[t]=e[t]||0,e[t]+=i}Object.defineProperty(i,"__esModule",{value:!0}),i.default=a},{}],20:[function(e,t,i){"use strict";function a(e){return Math.floor(1e3*e)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=a},{}],21:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(i,"__esModule",{value:!0});var r=e("./safe-call.js"),n=a(r),o=e("./safe-increment.js"),s=a(o),l=e("./get-computed-style.js"),u=a(l),d=e("./seconds-to-ms.js"),c=a(d),f={};f.safeCall=n.default,f.safeIncrement=s.default,f.getComputedStyle=u.default,f.secondsToMs=c.default,i.default=f},{"./get-computed-style.js":15,"./safe-call.js":18,"./safe-increment.js":19,"./seconds-to-ms.js":20}],22:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,i="x"===e?t:3&t|8;return i.toString(16)})},r=function(){return("000000"+(Math.random()*Math.pow(36,6)<<0).toString(36)).slice(-6)};i.generateUUID=a,i.generateShortID=r},{}],23:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){var t=o.default.createElement("a");t.href=e;var i=t.pathname.replace(/\.[^\/.]+$/,"");return l.default.btoa(t.host+i).split("=")[0]}Object.defineProperty(i,"__esModule",{value:!0}),i.default=r;var n=e("global/document"),o=a(n),s=e("global/window"),l=a(s)},{"global/document":28,"global/window":29}],24:[function(e,t,i){"use strict";!function(e){t.exports=e()}(function(){function e(i){function a(e,r,n){var o;if(arguments.length>1){if(n=t({path:"/"},a.defaults,n),"number"==typeof n.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*n.expires),n.expires=s}try{o=JSON.stringify(r),/^[\{\[]/.test(o)&&(r=o)}catch(e){}return r=i.write?i.write(r,e):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape),document.cookie=[e,"=",r,n.expires&&"; expires="+n.expires.toUTCString(),n.path&&"; path="+n.path,n.domain&&"; domain="+n.domain,n.secure?"; secure":""].join("")}e||(o={});for(var l=document.cookie?document.cookie.split("; "):[],u=/(%[0-9A-Z]{2})+/g,d=0;d<l.length;d++){var c=l[d].split("="),f=c[0].replace(u,decodeURIComponent),p=c.slice(1).join("=");'"'===p.charAt(0)&&(p=p.slice(1,-1));try{if(p=i.read?i.read(p,f):i(p,f)||p.replace(u,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(e){}if(e===f){o=p;break}e||(o[f]=p)}catch(e){}}return o}return a.get=a.set=a,a.getJSON=function(){return a.apply({json:!0},[].slice.call(arguments))},a.defaults={},a.remove=function(e,i){a(e,"",t(i,{expires:-1}))},a.withConverter=e,a}var t=function(){for(var e=0,t={};e<arguments.length;e++){var i=arguments[e];for(var a in i)t[a]=i[a]}return t};return e(function(){})})},{}],25:[function(e,t,i){"use strict";var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};!function(e,i){"object"===("undefined"==typeof t?"undefined":a(t))&&t.exports?t.exports=i():e.log=i()}(void 0,function(){function e(e){return("undefined"==typeof console?"undefined":a(console))!==l&&(void 0!==console[e]?t(console,e):void 0!==console.log?t(console,"log"):s)}function t(e,t){var i=e[t];if("function"==typeof i.bind)return i.bind(e);try{return Function.prototype.bind.call(i,e)}catch(t){return function(){return Function.prototype.apply.apply(i,[e,arguments])}}}function i(e,t,i){return function(){("undefined"==typeof console?"undefined":a(console))!==l&&(r.call(this,t,i),this[e].apply(this,arguments))}}function r(e,t){for(var i=0;i<u.length;i++){var a=u[i];this[a]=i<e?s:this.methodFactory(a,e,t)}}function n(t,a,r){return e(t)||i.apply(this,arguments)}function o(e,t,i){function o(e){var t=(u[e]||"silent").toUpperCase();try{return void(window.localStorage[f]=t)}catch(e){}try{window.document.cookie=encodeURIComponent(f)+"="+t+";"}catch(e){}}function s(){var e;try{e=window.localStorage[f]}catch(e){}if(("undefined"==typeof e?"undefined":a(e))===l)try{var t=window.document.cookie,i=t.indexOf(encodeURIComponent(f)+"=");i&&(e=/^([^;]+)/.exec(t.slice(i))[1])}catch(e){}return void 0===c.levels[e]&&(e=void 0),e}var d,c=this,f="loglevel";e&&(f+=":"+e),c.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},c.methodFactory=i||n,c.getLevel=function(){return d},c.setLevel=function(t,i){if("string"==typeof t&&void 0!==c.levels[t.toUpperCase()]&&(t=c.levels[t.toUpperCase()]),!("number"==typeof t&&t>=0&&t<=c.levels.SILENT))throw"log.setLevel() called with invalid level: "+t;if(d=t,i!==!1&&o(t),r.call(c,t,e),("undefined"==typeof console?"undefined":a(console))===l&&t<c.levels.SILENT)return"No console available for logging"},c.setDefaultLevel=function(e){s()||c.setLevel(e,!1)},c.enableAll=function(e){c.setLevel(c.levels.TRACE,e)},c.disableAll=function(e){c.setLevel(c.levels.SILENT,e)};var p=s();null==p&&(p=null==t?"WARN":t),c.setLevel(p,!1)}var s=function(){},l="undefined",u=["trace","debug","info","warn","error"],d=new o,c={};d.getLogger=function(e){if("string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=c[e];return t||(t=c[e]=new o(e,d.getLevel(),d.methodFactory)),t};var f=("undefined"==typeof window?"undefined":a(window))!==l?window.log:void 0;return d.noConflict=function(){return("undefined"==typeof window?"undefined":a(window))!==l&&window.log===d&&(window.log=f),d},d})},{}],26:[function(e,t,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t,i){var a=f(t),r=n(a,3),o=r[0],s=r[1],l=r[2],p=e.log,h=e.utils.getComputedStyle,y=e.utils.secondsToMs;return o?"video"!==l&&"audio"!==l?p.error("The element of `"+s+"` was not a media element."):(i=i||{},i.data=(0,u.default)({player_software:"HTML5 Video Element",player_mux_plugin:"VideoElementMonitor",player_mux_plugin_version:"2.0.26"},i.data),i.getPlayheadTime=function(){return y(o.currentTime)},i.getStateData=function(){return{player_is_paused:o.paused,player_playhead_time:y(o.currentTime),player_width:parseInt(h(o,"width")),player_height:parseInt(h(o,"height")),player_autoplay_on:o.autoplay,player_preload_on:o.preload,player_error_code:o.error&&o.error.code,player_error_message:o.error&&c[o.error.code],video_poster_url:o.poster,video_source_url:o.currentSrc,video_source_duration:y(o.duration),video_source_height:o.videoHeight,video_source_width:o.videoWidth}},o.mux=o.mux||{},o.mux.swapElement=function(t){var i=f(t),a=n(i,3),r=a[0],s=a[1],l=a[2];return r?"video"!==l&&"audio"!==l?e.log.error("The element of `"+s+"` was not a media element."):(r.mux=r.mux||{}, | ||
r.mux.listeners=(0,u.default)({},o.mux.listeners),delete o.mux.listeners,Object.keys(r.mux.listeners).forEach(function(e){o.removeEventListener(e,r.mux.listeners[e],!1),r.addEventListener(e,r.mux.listeners[e],!1)}),r.mux.swapElement=o.mux.swapElement,delete o.mux.swapElement,void(o=r)):e.log.error("No element was found with the `"+s+"` query selector.")},e.init(s,i),e.emit(s,"playerready"),o.paused||(e.emit(s,"play"),o.readyState>2&&e.emit(s,"playing")),o.mux.listeners={},void d.forEach(function(t){o.mux.listeners[t]=function(){e.emit(s,t)},o.addEventListener(t,o.mux.listeners[t],!1)})):p.error("No element was found with the `"+s+"` query selector.")}Object.defineProperty(i,"__esModule",{value:!0});var n=function(){function e(e,t){var i=[],a=!0,r=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){r=!0,n=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw n}}return i}return function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();i.default=r;var o=e("global/document"),s=a(o),l=e("lodash.assign"),u=a(l),d=["loadstart","pause","play","playing","seeking","seeked","timeupdate","ratechange","stalled","waiting","error","ended"],c={1:"MEDIA_ERR_ABORTED",2:"MEDIA_ERR_NETWORK",3:"MEDIA_ERR_DECODE",4:"MEDIA_ERR_SRC_NOT_SUPPORTED"},f=function(e){var t=void 0;e&&"undefined"!=typeof e.nodeName?(t=e,e=t.id?t.id:t.className):t=s.default.querySelector(e);var i=t&&t.nodeName?t.nodeName.toLowerCase():"";return[t,e,i]}},{"global/document":28,"lodash.assign":30}],27:[function(e,t,i){},{}],28:[function(e,t,i){(function(i){var a="undefined"!=typeof i?i:"undefined"!=typeof window?window:{},r=e("min-document");if("undefined"!=typeof document)t.exports=document;else{var n=a["__GLOBAL_DOCUMENT_CACHE@4"];n||(n=a["__GLOBAL_DOCUMENT_CACHE@4"]=r),t.exports=n}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":27}],29:[function(e,t,i){(function(e){"undefined"!=typeof window?t.exports=window:"undefined"!=typeof e?t.exports=e:"undefined"!=typeof self?t.exports=self:t.exports={}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],30:[function(e,t,i){function a(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}function r(e){return function(t){return null==t?void 0:t[e]}}function n(e,t){for(var i=-1,a=Array(e);++i<e;)a[i]=t(i);return a}function o(e,t){return function(i){return e(t(i))}}function s(e,t,i){var a=e[t];D.call(e,t)&&_(a,i)&&(void 0!==i||t in e)||(e[t]=i)}function l(e,t){return null!=e&&(D.call(e,t)||"object"==typeof e&&t in e&&null===U(e))}function u(e,t){return t=B(void 0===t?e.length-1:t,0),function(){for(var i=arguments,r=-1,n=B(i.length-t,0),o=Array(n);++r<n;)o[r]=i[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=i[r];return s[t]=o,a(e,this,s)}}function d(e,t,i,a){i||(i={});for(var r=-1,n=t.length;++r<n;){var o=t[r],l=a?a(i[o],e[o],o,i,e):void 0;s(i,o,void 0===l?e[o]:l)}return i}function c(e){return u(function(t,i){var a=-1,r=i.length,n=r>1?i[r-1]:void 0,o=r>2?i[2]:void 0;for(n=e.length>3&&"function"==typeof n?(r--,n):void 0,o&&h(i[0],i[1],o)&&(n=r<3?void 0:n,r=1),t=Object(t);++a<r;){var s=i[a];s&&e(t,s,a,n)}return t})}function f(e){var t=e?e.length:void 0;return w(t)&&(G(e)||T(e)||m(e))?n(t,String):null}function p(e,t){return t=null==t?j:t,!!t&&("number"==typeof e||A.test(e))&&e>-1&&e%1==0&&e<t}function h(e,t,i){if(!x(i))return!1;var a=typeof t;return!!("number"==a?b(i)&&p(t,i.length):"string"==a&&t in i)&&_(i[t],e)}function y(e){var t=e&&e.constructor,i="function"==typeof t&&t.prototype||I;return e===i}function _(e,t){return e===t||e!==e&&t!==t}function m(e){return v(e)&&D.call(e,"callee")&&(!R.call(e,"callee")||C.call(e)==O)}function b(e){return null!=e&&w(F(e))&&!g(e)}function v(e){return k(e)&&b(e)}function g(e){var t=x(e)?C.call(e):"";return t==P||t==E}function w(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=j}function x(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function k(e){return!!e&&"object"==typeof e}function T(e){return"string"==typeof e||!G(e)&&k(e)&&C.call(e)==M}function S(e){var t=y(e);if(!t&&!b(e))return H(e);var i=f(e),a=!!i,r=i||[],n=r.length;for(var o in e)!l(e,o)||a&&("length"==o||p(o,n))||t&&"constructor"==o||r.push(o);return r}var j=9007199254740991,O="[object Arguments]",P="[object Function]",E="[object GeneratorFunction]",M="[object String]",A=/^(?:0|[1-9]\d*)$/,I=Object.prototype,D=I.hasOwnProperty,C=I.toString,R=I.propertyIsEnumerable,N=Object.getPrototypeOf,L=Object.keys,B=Math.max,W=!R.call({valueOf:1},"valueOf"),H=o(L,Object),F=r("length"),U=o(N,Object),G=Array.isArray,V=c(function(e,t){if(W||y(t)||b(t))return void d(t,S(t),e);for(var i in t)D.call(t,i)&&s(e,i,t[i])});t.exports=V},{}],31:[function(t,i,a){(function(t){(function(){"use strict";function r(e){return e=String(e),e.charAt(0).toUpperCase()+e.slice(1)}function n(e,t,i){var a={6.4:"10",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&i&&/^Win/i.test(e)&&(a=a[/[\d.]+$/.exec(e)])&&(e="Windows "+a),e=String(e),t&&i&&(e=e.replace(RegExp(t,"i"),i)),e=s(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").split(" on ")[0])}function o(e,t){var i=-1,a=e?e.length:0;if("number"==typeof a&&a>-1&&a<=w)for(;++i<a;)t(e[i],i,e);else l(e,t)}function s(e){return e=p(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:r(e)}function l(e,t){for(var i in e)S.call(e,i)&&t(e[i],i,e)}function u(e){return null==e?r(e):j.call(e).slice(8,-1)}function d(e,t){var i=null!=e?typeof e[t]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(i)||"object"==i&&!e[t])}function c(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function f(e,t){var i=null;return o(e,function(a,r){i=t(i,a,r,e)}),i}function p(e){return String(e).replace(/^ +| +$/g,"")}function h(e){function t(t){return f(t,function(t,i){return t||RegExp("\\b"+(i.pattern||c(i))+"\\b","i").exec(e)&&(i.label||i)})}function i(t){return f(t,function(t,i,a){return t||(i[z]||i[/^[a-z]+(?: +[a-z]+\b)*/i.exec(z)]||RegExp("\\b"+c(a)+"(?:\\b|\\w*\\d)","i").exec(e))&&a})}function a(t){return f(t,function(t,i){return t||RegExp("\\b"+(i.pattern||c(i))+"\\b","i").exec(e)&&(i.label||i)})}function r(t){return f(t,function(t,i){var a=i.pattern||c(i);return!t&&(t=RegExp("\\b"+a+"(?:/[\\d.]+|[ \\w.]*)","i").exec(e))&&(t=n(t,a,i.label||i)),t})}function o(t){return f(t,function(t,i){var a=i.pattern||c(i);return!t&&(t=RegExp("\\b"+a+" *\\d+[.\\w_]*","i").exec(e)||RegExp("\\b"+a+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(e))&&((t=String(i.label&&!RegExp(a,"i").test(i.label)?i.label:t).split("/"))[1]&&!/[\d.]+/.test(t[0])&&(t[0]+=" "+t[1]),i=i.label||i,t=s(t[0].replace(RegExp(a,"i"),i).replace(RegExp("; *(?:"+i+"[_-])?","i")," ").replace(RegExp("("+i+")[-_.]?(\\w)","i"),"$1 $2"))),t})}function y(t){return f(t,function(t,i){return t||(RegExp(i+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(e)||0)[1]||null})}function b(){return this.description||""}var v=_,g=e&&"object"==typeof e&&"String"!=u(e);g&&(v=e,e=null);var w=v.navigator||{},T=w.userAgent||"";e||(e=T);var S,O,P=g||k==m,E=g?!!w.likeChrome:/\bChrome\b/.test(e)&&!/internal|\n/i.test(j.toString()),M="Object",A=g?M:"ScriptBridgingProxyObject",I=g?M:"Environment",D=g&&v.java?"JavaPackage":u(v.java),C=g?M:"RuntimeObject",R=/\bJava/.test(D)&&v.java,N=R&&u(v.environment)==I,L=R?"a":"α",B=R?"b":"β",W=v.document||{},H=v.operamini||v.opera,F=x.test(F=g&&H?H["[[Class]]"]:u(H))?F:H=null,U=e,G=[],V=null,$=e==T,q=$&&H&&"function"==typeof H.version&&H.version(),K=t(["Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),X=a(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel",{label:"SRWare Iron",pattern:"Iron"},"K-Meleon","Konqueror","Lunascape","Maxthon","Midori","Nook Browser","PhantomJS","Raven","Rekonq","RockMelt","SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser","Sunrise","Swiftfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),z=o([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nook","PlayBook","PlayStation 4","PlayStation 3","PlayStation Vita","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),J=i({Apple:{iPad:1,iPhone:1,iPod:1},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{"PlayStation 4":1,"PlayStation 3":1,"PlayStation Vita":1}}),Y=r(["Windows Phone ","Android","CentOS","Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);if(K&&(K=[K]),J&&!z&&(z=o([J])),(S=/\bGoogle TV\b/.exec(z))&&(z=S[0]),/\bSimulator\b/i.test(e)&&(z=(z?z+" ":"")+"Simulator"),"Opera Mini"==X&&/\bOPiOS\b/.test(e)&&G.push("running in Turbo/Uncompressed mode"),/^iP/.test(z)?(X||(X="Safari"),Y="iOS"+((S=/ OS ([\d_]+)/i.exec(e))?" "+S[1].replace(/_/g,"."):"")):"Konqueror"!=X||/buntu/i.test(Y)?J&&"Google"!=J&&(/Chrome/.test(X)&&!/\bMobile Safari\b/i.test(e)||/\bVita\b/.test(z))?(X="Android Browser",Y=/\bAndroid\b/.test(Y)?Y:"Android"):X&&!(S=!/\bMinefield\b|\(Android;/i.test(e)&&/\b(?:Firefox|Safari)\b/.exec(X))||(X&&!z&&/[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(S+"/")+8))&&(X=null),(S=z||J||Y)&&(z||J||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Y))&&(X=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Y)?Y:S)+" Browser")):Y="Kubuntu",(S=/\((Mobile|Tablet).*?Firefox\b/i.exec(e))&&S[1]&&(Y="Firefox OS",z||(z=S[1])),q||(q=y(["(?:Cloud9|CriOS|CrMo|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|Silk(?!/[\\d.]+$))","Version",c(X),"(?:Firefox|Minefield|NetFront)"])),"iCab"==K&&parseFloat(q)>3?K=["WebKit"]:"Trident"!=K&&(S=/\bOpera\b/.test(X)&&(/\bOPR\b/.test(e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&"WebKit"||!K&&/\bMSIE\b/i.test(e)&&("Mac OS"==Y?"Tasman":"Trident"))?K=[S]:/\bPlayStation\b(?! Vita\b)/i.test(X)&&"WebKit"==K&&(K=["NetFront"]),"IE"==X&&(S=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])?(X+=" Mobile",Y="Windows Phone "+(/\+$/.test(S)?S:S+".x"),G.unshift("desktop mode")):/\bWPDesktop\b/i.test(e)?(X="IE Mobile",Y="Windows Phone 8+",G.unshift("desktop mode"),q||(q=(/\brv:([\d.]+)/.exec(e)||0)[1])):"IE"!=X&&"Trident"==K&&(S=/\brv:([\d.]+)/.exec(e))?(/\bWPDesktop\b/i.test(e)||(X&&G.push("identifying as "+X+(q?" "+q:"")),X="IE"),q=S[1]):"Chrome"!=X&&"IE"==X||!(S=/\bEdge\/([\d.]+)/.exec(e))||(X="Microsoft Edge",q=S[1],K=["Trident"]),$){if(d(v,"global"))if(R&&(S=R.lang.System,U=S.getProperty("os.arch"),Y=Y||S.getProperty("os.name")+" "+S.getProperty("os.version")),P&&d(v,"system")&&(S=[v.system])[0]){Y||(Y=S[0].os||null);try{S[1]=v.require("ringo/engine").version,q=S[1].join("."),X="RingoJS"}catch(e){S[0].global.system==v.system&&(X="Narwhal")}}else"object"==typeof v.process&&(S=v.process)?(X="Node.js",U=S.arch,Y=S.platform,q=/[\d.]+/.exec(S.version)[0]):N&&(X="Rhino");else u(S=v.runtime)==A?(X="Adobe AIR",Y=S.flash.system.Capabilities.os):u(S=v.phantom)==C?(X="PhantomJS",q=(S=S.version||null)&&S.major+"."+S.minor+"."+S.patch):"number"==typeof W.documentMode&&(S=/\bTrident\/(\d+)/i.exec(e))&&(q=[q,W.documentMode],(S=+S[1]+4)!=q[1]&&(G.push("IE "+q[1]+" mode"),K&&(K[1]=""),q[1]=S),q="IE"==X?String(q[1].toFixed(1)):q[0]);Y=Y&&s(Y)}q&&(S=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(q)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+($&&w.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")&&(V=/b/i.test(S)?"beta":"alpha",q=q.replace(RegExp(S+"\\+?$"),"")+("beta"==V?B:L)+(/\d+\+?/.exec(S)||"")),"Fennec"==X||"Firefox"==X&&/\b(?:Android|Firefox OS)\b/.test(Y)?X="Firefox Mobile":"Maxthon"==X&&q?q=q.replace(/\.[\d.]+/,".x"):"Silk"==X?(/\bMobi/i.test(e)||(Y="Android",G.unshift("desktop mode")),/Accelerated *= *true/i.test(e)&&G.unshift("accelerated")):/\bXbox\b/i.test(z)?(Y=null,"Xbox 360"==z&&/\bIEMobile\b/.test(e)&&G.unshift("mobile mode")):!/^(?:Chrome|IE|Opera)$/.test(X)&&(!X||z||/Browser|Mobi/.test(X))||"Windows CE"!=Y&&!/Mobi/i.test(e)?"IE"==X&&$&&null===v.external?G.unshift("platform preview"):(/\bBlackBerry\b/.test(z)||/\bBB10\b/.test(e))&&(S=(RegExp(z.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||q)?(S=[S,/BB10/.test(e)],Y=(S[1]?(z=null,J="BlackBerry"):"Device Software")+" "+S[0],q=null):this!=l&&"Wii"!=z&&($&&H||/Opera/.test(X)&&/\b(?:MSIE|Firefox)\b/i.test(e)||"Firefox"==X&&/\bOS X (?:\d+\.){2,}/.test(Y)||"IE"==X&&(Y&&!/^Win/.test(Y)&&q>5.5||/\bWindows XP\b/.test(Y)&&q>8||8==q&&!/\bTrident\b/.test(e)))&&!x.test(S=h.call(l,e.replace(x,"")+";"))&&S.name&&(S="ing as "+S.name+((S=S.version)?" "+S:""),x.test(X)?(/\bIE\b/.test(S)&&"Mac OS"==Y&&(Y=null),S="identify"+S):(S="mask"+S,X=F?s(F.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(S)&&(Y=null),$||(q=null)),K=["Presto"],G.push(S)):X+=" Mobile",(S=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1])&&(S=[parseFloat(S.replace(/\.(\d)$/,".0$1")),S],"Safari"==X&&"+"==S[1].slice(-1)?(X="WebKit Nightly",V="alpha",q=S[1].slice(0,-1)):q!=S[1]&&q!=(S[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])||(q=null),S[1]=(/\bChrome\/([\d.]+)/i.exec(e)||0)[1],537.36==S[0]&&537.36==S[2]&&parseFloat(S[1])>=28&&"IE"!=X&&"Microsoft Edge"!=X&&(K=["Blink"]),$&&(E||S[1])?(K&&(K[1]="like Chrome"),S=S[1]||(S=S[0],S<530?1:S<532?2:S<532.05?3:S<533?4:S<534.03?5:S<534.07?6:S<534.1?7:S<534.13?8:S<534.16?9:S<534.24?10:S<534.3?11:S<535.01?12:S<535.02?"13+":S<535.07?15:S<535.11?16:S<535.19?17:S<536.05?18:S<536.1?19:S<537.01?20:S<537.11?"21+":S<537.13?23:S<537.18?24:S<537.24?25:S<537.36?26:"Blink"!=K?"27":"28")):(K&&(K[1]="like Safari"),S=S[0],S=S<400?1:S<500?2:S<526?3:S<533?4:S<534?"4+":S<535?5:S<537?6:S<538?7:S<601?8:"8"),K&&(K[1]+=" "+(S+="number"==typeof S?".x":/[.+]/.test(S)?"":"+")),"Safari"==X&&(!q||parseInt(q)>45)&&(q=S)),"Opera"==X&&(S=/\bzbov|zvav$/.exec(Y))?(X+=" ",G.unshift("desktop mode"),"zvav"==S?(X+="Mini",q=null):X+="Mobile",Y=Y.replace(RegExp(" *"+S+"$"),"")):"Safari"==X&&/\bChrome\b/.exec(K&&K[1])&&(G.unshift("desktop mode"),X="Chrome Mobile",q=null,/\bOS X\b/.test(Y)?(J="Apple",Y="iOS 4.3+"):Y=null),q&&0==q.indexOf(S=/[\d.]+$/.exec(Y))&&e.indexOf("/"+S+"-")>-1&&(Y=p(Y.replace(S,""))),K&&!/\b(?:Avant|Nook)\b/.test(X)&&(/Browser|Lunascape|Maxthon/.test(X)||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test(X)&&K[1])&&(S=K[K.length-1])&&G.push(S),G.length&&(G=["("+G.join("; ")+")"]),J&&z&&z.indexOf(J)<0&&G.push("on "+J),z&&G.push((/^on /.test(G[G.length-1])?"":"on ")+z),Y&&(S=/ ([\d.+]+)$/.exec(Y),O=S&&"/"==Y.charAt(Y.length-S[0].length-1),Y={architecture:32,family:S&&!O?Y.replace(S[0],""):Y,version:S?S[1]:null,toString:function(){var e=this.version;return this.family+(e&&!O?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(S=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(U))&&!/\bi686\b/i.test(U)&&(Y&&(Y.architecture=64,Y.family=Y.family.replace(RegExp(" *"+S),"")),X&&(/\bWOW64\b/i.test(e)||$&&/\w(?:86|32)$/.test(w.cpuClass||w.platform)&&!/\bWin64; x64\b/i.test(e))&&G.unshift("32-bit")),e||(e=null);var Z={};return Z.description=e,Z.layout=K&&K[0],Z.manufacturer=J,Z.name=X,Z.prerelease=V,Z.product=z,Z.ua=e,Z.version=X&&q,Z.os=Y||{architecture:null,family:null,version:null,toString:function(){return"null"}},Z.parse=h,Z.toString=b,Z.version&&G.unshift(q),Z.name&&G.unshift(X),Y&&X&&(Y!=String(Y).split(" ")[0]||Y!=X.split(" ")[0]&&!z)&&G.push(z?"("+Y+")":"on "+Y),G.length&&(Z.description=G.join(" ")),Z}var y={function:!0,object:!0},_=y[typeof window]&&window||this,m=_,b=y[typeof a]&&a,v=y[typeof i]&&i&&!i.nodeType&&i,g=b&&v&&"object"==typeof t&&t;!g||g.global!==g&&g.window!==g&&g.self!==g||(_=g);var w=Math.pow(2,53)-1,x=/\bOpera/,k=this,T=Object.prototype,S=T.hasOwnProperty,j=T.toString;"function"==typeof e&&"object"==typeof e.amd&&e.amd?e(function(){return h()}):b&&v?l(h(),function(e,t){b[t]=e}):_.platform=h()}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],32:[function(e,t,i){"use strict";var a=e("./stringify"),r=e("./parse");t.exports={stringify:a,parse:r}},{"./parse":33,"./stringify":34}],33:[function(e,t,i){"use strict";var a=e("./utils"),r=Object.prototype.hasOwnProperty,n={delimiter:"&",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1,decoder:a.decode},o=function(e,t){for(var i={},a=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),n=0;n<a.length;++n){var o,s,l=a[n],u=l.indexOf("]=")===-1?l.indexOf("="):l.indexOf("]=")+1;u===-1?(o=t.decoder(l),s=t.strictNullHandling?null:""):(o=t.decoder(l.slice(0,u)),s=t.decoder(l.slice(u+1))),r.call(i,o)?i[o]=[].concat(i[o]).concat(s):i[o]=s}return i},s=function e(t,i,a){if(!t.length)return i;var r,n=t.shift();if("[]"===n)r=[],r=r.concat(e(t,i,a));else{r=a.plainObjects?Object.create(null):{};var o="["===n[0]&&"]"===n[n.length-1]?n.slice(1,n.length-1):n,s=parseInt(o,10);!isNaN(s)&&n!==o&&String(s)===o&&s>=0&&a.parseArrays&&s<=a.arrayLimit?(r=[],r[s]=e(t,i,a)):r[o]=e(t,i,a)}return r},l=function(e,t,i){if(e){var a=i.allowDots?e.replace(/\.([^\.\[]+)/g,"[$1]"):e,n=/^([^\[\]]*)/,o=/(\[[^\[\]]*\])/g,l=n.exec(a),u=[];if(l[1]){if(!i.plainObjects&&r.call(Object.prototype,l[1])&&!i.allowPrototypes)return;u.push(l[1])}for(var d=0;null!==(l=o.exec(a))&&d<i.depth;)d+=1,(i.plainObjects||!r.call(Object.prototype,l[1].replace(/\[|\]/g,""))||i.allowPrototypes)&&u.push(l[1]);return l&&u.push("["+a.slice(l.index)+"]"),s(u,t,i)}};t.exports=function(e,t){var i=t||{};if(null!==i.decoder&&void 0!==i.decoder&&"function"!=typeof i.decoder)throw new TypeError("Decoder has to be a function.");if(i.delimiter="string"==typeof i.delimiter||a.isRegExp(i.delimiter)?i.delimiter:n.delimiter,i.depth="number"==typeof i.depth?i.depth:n.depth,i.arrayLimit="number"==typeof i.arrayLimit?i.arrayLimit:n.arrayLimit,i.parseArrays=i.parseArrays!==!1,i.decoder="function"==typeof i.decoder?i.decoder:n.decoder,i.allowDots="boolean"==typeof i.allowDots?i.allowDots:n.allowDots,i.plainObjects="boolean"==typeof i.plainObjects?i.plainObjects:n.plainObjects,i.allowPrototypes="boolean"==typeof i.allowPrototypes?i.allowPrototypes:n.allowPrototypes,i.parameterLimit="number"==typeof i.parameterLimit?i.parameterLimit:n.parameterLimit,i.strictNullHandling="boolean"==typeof i.strictNullHandling?i.strictNullHandling:n.strictNullHandling,""===e||null===e||"undefined"==typeof e)return i.plainObjects?Object.create(null):{};for(var r="string"==typeof e?o(e,i):e,s=i.plainObjects?Object.create(null):{},u=Object.keys(r),d=0;d<u.length;++d){var c=u[d],f=l(c,r[c],i);s=a.merge(s,f,i)}return a.compact(s)}},{"./utils":35}],34:[function(e,t,i){"use strict";var a=e("./utils"),r={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},n={delimiter:"&",strictNullHandling:!1,skipNulls:!1,encode:!0,encoder:a.encode},o=function e(t,i,r,n,o,s,l,u,d){var c=t;if("function"==typeof l)c=l(i,c);else if(c instanceof Date)c=c.toISOString();else if(null===c){if(n)return s?s(i):i;c=""}if("string"==typeof c||"number"==typeof c||"boolean"==typeof c||a.isBuffer(c))return s?[s(i)+"="+s(c)]:[i+"="+String(c)];var f=[];if("undefined"==typeof c)return f;var p;if(Array.isArray(l))p=l;else{var h=Object.keys(c);p=u?h.sort(u):h}for(var y=0;y<p.length;++y){var _=p[y];o&&null===c[_]||(f=Array.isArray(c)?f.concat(e(c[_],r(i,_),r,n,o,s,l,u,d)):f.concat(e(c[_],i+(d?"."+_:"["+_+"]"),r,n,o,s,l,u,d)))}return f};t.exports=function(e,t){var i,a,s=e,l=t||{},u="undefined"==typeof l.delimiter?n.delimiter:l.delimiter,d="boolean"==typeof l.strictNullHandling?l.strictNullHandling:n.strictNullHandling,c="boolean"==typeof l.skipNulls?l.skipNulls:n.skipNulls,f="boolean"==typeof l.encode?l.encode:n.encode,p=f?"function"==typeof l.encoder?l.encoder:n.encoder:null,h="function"==typeof l.sort?l.sort:null,y="undefined"!=typeof l.allowDots&&l.allowDots;if(null!==l.encoder&&void 0!==l.encoder&&"function"!=typeof l.encoder)throw new TypeError("Encoder has to be a function.");"function"==typeof l.filter?(a=l.filter,s=a("",s)):Array.isArray(l.filter)&&(i=a=l.filter);var _=[];if("object"!=typeof s||null===s)return"";var m;m=l.arrayFormat in r?l.arrayFormat:"indices"in l?l.indices?"indices":"repeat":"indices";var b=r[m];i||(i=Object.keys(s)),h&&i.sort(h);for(var v=0;v<i.length;++v){var g=i[v];c&&null===s[g]||(_=_.concat(o(s[g],g,b,d,c,p,a,h,y)))}return _.join(u)}},{"./utils":35}],35:[function(e,t,i){"use strict";var a=function(){for(var e=new Array(256),t=0;t<256;++t)e[t]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}();i.arrayToObject=function(e,t){for(var i=t.plainObjects?Object.create(null):{},a=0;a<e.length;++a)"undefined"!=typeof e[a]&&(i[a]=e[a]);return i},i.merge=function(e,t,a){if(!t)return e;if("object"!=typeof t){if(Array.isArray(e))e.push(t);else{if("object"!=typeof e)return[e,t];e[t]=!0}return e}if("object"!=typeof e)return[e].concat(t);var r=e;return Array.isArray(e)&&!Array.isArray(t)&&(r=i.arrayToObject(e,a)),Object.keys(t).reduce(function(e,r){var n=t[r];return Object.prototype.hasOwnProperty.call(e,r)?e[r]=i.merge(e[r],n,a):e[r]=n,e},r)},i.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},i.encode=function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),i="",r=0;r<t.length;++r){var n=t.charCodeAt(r);45===n||46===n||95===n||126===n||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122?i+=t.charAt(r):n<128?i+=a[n]:n<2048?i+=a[192|n>>6]+a[128|63&n]:n<55296||n>=57344?i+=a[224|n>>12]+a[128|n>>6&63]+a[128|63&n]:(r+=1,n=65536+((1023&n)<<10|1023&t.charCodeAt(r)),i+=a[240|n>>18]+a[128|n>>12&63]+a[128|n>>6&63]+a[128|63&n])}return i},i.compact=function(e,t){if("object"!=typeof e||null===e)return e;var a=t||[],r=a.indexOf(e);if(r!==-1)return a[r];if(a.push(e),Array.isArray(e)){for(var n=[],o=0;o<e.length;++o)e[o]&&"object"==typeof e[o]?n.push(i.compact(e[o],a)):"undefined"!=typeof e[o]&&n.push(e[o]);return n}for(var s=Object.keys(e),l=0;l<s.length;++l){var u=s[l];e[u]=i.compact(e[u],a)}return e},i.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},i.isBuffer=function(e){return null!==e&&"undefined"!=typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}]},{},[12])(12)}); |
{ | ||
"name": "mux-embed", | ||
"version": "2.0.25", | ||
"version": "2.0.26", | ||
"author": "Mux, Inc", | ||
@@ -42,5 +42,3 @@ "description": "Mux Javascript SDK and HTML5 Video element monitor", | ||
"global": "^4.3.0", | ||
"js-cookie": "^2.1.0", | ||
"lodash.assign": "^4.0.1", | ||
"loglevel": "^1.4.0", | ||
"platform": "^1.3.1", | ||
@@ -47,0 +45,0 @@ "qs": "^6.1.0" |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
59713
4
- Removedjs-cookie@^2.1.0
- Removedloglevel@^1.4.0
- Removedjs-cookie@2.2.1(transitive)
- Removedloglevel@1.9.2(transitive)