(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"0016":function(e,t,n){t=e.exports=n("2350")(!0),t.push([e.i,".dv-decoration-11{position:relative;width:100%;height:100%;display:flex}.dv-decoration-11 .decoration-content{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center}","",{version:3,sources:["D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/decoration11/src/D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/decoration11/src/D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/decoration11/src/main.css"],names:[],mappings:"AAAA,kBACE,kBACA,WACA,YACA,YACF,CACA,sCACE,kBACA,MACA,OACA,WACA,YACA,aACA,mBACA,sBACF,CAAA",file:"main.css",sourcesContent:[".dv-decoration-11 {\n position: relative;\n width: 100%;\n height: 100%;\n display: flex;\n}\n.dv-decoration-11 .decoration-content {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n"],sourceRoot:""}])},"00b4":function(e,t,n){"use strict";n("ac1f");var r=n("23e7"),i=n("c65b"),o=n("1626"),a=n("825a"),s=n("577e"),l=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),u=/./.test;r({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=a(this),n=s(e),r=t.exec;if(!o(r))return i(u,t,n);var l=i(r,t,n);return null!==l&&(a(l),!0)}})},"00ce":function(e,t,n){"use strict";var r,i=n("a284"),o=n("a645"),a=n("417f"),s=n("dc99"),l=n("1409"),u=n("67ee"),c=n("0d25"),d=n("67d9"),f=n("17aa"),h=n("6591"),p=n("e050"),v=n("ab2b"),g=n("59eb"),m=n("c3ae"),y=n("8ca0"),b=Function,_=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(t){}},A=n("2aa9"),C=n("71c9"),w=function(){throw new c},k=A?function(){try{return w}catch(e){try{return A(arguments,"callee").get}catch(t){return w}}}():w,T=n("5156")(),x=n("833a"),E=n("17bc"),S=n("f2e1"),j=n("e16f"),q=n("926d"),O={},P="undefined"!==typeof Uint8Array&&x?x(Uint8Array):r,B={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":T&&x?x([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"===typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":O,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":T&&x?x(x([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&T&&x?x((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&T&&x?x((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":T&&x?x(""[Symbol.iterator]()):r,"%Symbol%":T?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":k,"%TypedArray%":P,"%TypeError%":c,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet,"%Function.prototype.call%":q,"%Function.prototype.apply%":j,"%Object.defineProperty%":C,"%Object.getPrototypeOf%":E,"%Math.abs%":f,"%Math.floor%":h,"%Math.max%":p,"%Math.min%":v,"%Math.pow%":g,"%Math.round%":m,"%Math.sign%":y,"%Reflect.getPrototypeOf%":S};if(x)try{null.error}catch(K){var I=x(x(K));B["%Error.prototype%"]=I}var L=function e(t){var n;if("%AsyncFunction%"===t)n=_("async function () {}");else if("%GeneratorFunction%"===t)n=_("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=_("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&x&&(n=x(i.prototype))}return B[t]=n,n},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=n("0f7c"),N=n("9671"),R=D.call(q,Array.prototype.concat),F=D.call(j,Array.prototype.splice),U=D.call(q,String.prototype.replace),z=D.call(q,String.prototype.slice),W=D.call(q,RegExp.prototype.exec),H=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,G=function(e){var t=z(e,0,1),n=z(e,-1);if("%"===t&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return U(e,H,(function(e,t,n,i){r[r.length]=n?U(i,V,"$1"):t||e})),r},Y=function(e,t){var n,r=e;if(N(M,r)&&(n=M[r],r="%"+n[0]+"%"),N(B,r)){var i=B[r];if(i===O&&(i=L(r)),"undefined"===typeof i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=G(e),r=n.length>0?n[0]:"",i=Y("%"+r+"%",t),o=i.name,a=i.value,s=!1,l=i.alias;l&&(r=l[0],F(n,R([0,1],l)));for(var d=1,f=!0;d=n.length){var g=A(a,h);f=!!g,a=f&&"get"in g&&!("originalValue"in g.get)?g.get:a[h]}else f=N(a,h),a=a[h];f&&!s&&(B[o]=a)}}return a}},"00ee":function(e,t,n){"use strict";var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"0129":function(e,t,n){"use strict";var r=function(){this.init=function(){var e={};this.on=function(t,n){e[t]||(e[t]=[]),e[t]=e[t].concat(n)},this.off=function(t,n){var r;return!!e[t]&&(r=e[t].indexOf(n),e[t]=e[t].slice(),e[t].splice(r,1),r>-1)},this.trigger=function(t){var n,r,i,o;if(n=e[t],n)if(2===arguments.length)for(i=n.length,r=0;rpolyline{fill:none}.dv-border-box-4 .sw1{stroke-width:1}.dv-border-box-4 .sw3{stroke-width:.15625vw;stroke-linecap:round}.dv-border-box-4 .dv-bb4-line-1,.dv-border-box-4 .dv-bb4-line-2{stroke-width:1}.dv-border-box-4 .dv-bb4-line-3,.dv-border-box-4 .dv-bb4-line-4{stroke-width:.15625vw;stroke-linecap:round}.dv-border-box-4 .dv-bb4-line-5,.dv-border-box-4 .dv-bb4-line-6,.dv-border-box-4 .dv-bb4-line-7{stroke-width:1}.dv-border-box-4 .dv-bb4-line-8,.dv-border-box-4 .dv-bb4-line-9{stroke-width:.15625vw;stroke-linecap:round}.dv-border-box-4 .dv-bb4-line-9{stroke-dasharray:100 250}.dv-border-box-4 .dv-bb4-line-10{stroke-width:1;stroke-dasharray:80 270}.dv-border-box-4 .border-box-content{position:relative;width:100%;height:100%}","",{version:3,sources:["D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/borderBox4/src/D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/borderBox4/src/D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/borderBox4/src/main.css"],names:[],mappings:"AAAA,iBACE,kBACA,WACA,WACF,CACA,6BACE,wBACF,CACA,0CACE,kBACA,WACA,YACA,MACA,MACF,CACA,mDACE,SACF,CACA,sBACE,cACF,CACA,sBACE,sBACA,oBACF,CAIA,gEACE,cACF,CAKA,gEACE,sBACA,oBACF,CAOA,gGACE,cACF,CAKA,gEAHE,sBACA,oBAMF,CAJA,gCAGE,wBACF,CACA,iCACE,eACA,uBACF,CACA,qCACE,kBACA,WACA,WACF,CAAA",file:"main.css",sourcesContent:[".dv-border-box-4 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-4 .dv-reverse {\n transform: rotate(180deg);\n}\n.dv-border-box-4 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-4 .dv-border-svg-container > polyline {\n fill: none;\n}\n.dv-border-box-4 .sw1 {\n stroke-width: 1;\n}\n.dv-border-box-4 .sw3 {\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-1 {\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-2 {\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-3 {\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-4 {\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-5 {\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-6 {\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-7 {\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-8 {\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-9 {\n stroke-width: 3px;\n stroke-linecap: round;\n stroke-dasharray: 100 250;\n}\n.dv-border-box-4 .dv-bb4-line-10 {\n stroke-width: 1;\n stroke-dasharray: 80 270;\n}\n.dv-border-box-4 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n"],sourceRoot:""}])},"0366":function(e,t,n){"use strict";var r=n("4625"),i=n("59ed"),o=n("40d5"),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},"037e":function(e,t,n){var r=n("2ad5");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("0d7a7b54",r,!0,{sourceMap:!0,shadowMode:!1})},"042d":function(e,t,n){var r=n("39e6");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("4b31aaea",r,!0,{sourceMap:!0,shadowMode:!1})},"045f":function(e,t,n){"use strict";var r=n("be09"),i=n("a559"),o=n("8362"),a=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();"undefined"===typeof t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t};function s(e,t){for(var n=0;n0&&(p=setTimeout((function(){if(!d){d=!0,h.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",o(e)}}),e.timeout)),h.setRequestHeader)for(u in y)y.hasOwnProperty(u)&&h.setRequestHeader(u,y[u]);else if(e.headers&&!l(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(h.responseType=e.responseType),"beforeSend"in e&&"function"===typeof e.beforeSend&&e.beforeSend(h),h.send(m||null),h}function f(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(n){}return null}function h(){}e.exports=c,e.exports.default=c,c.XMLHttpRequest=r.XMLHttpRequest||h,c.XDomainRequest="withCredentials"in new c.XMLHttpRequest?c.XMLHttpRequest:r.XDomainRequest,s(["get","put","post","patch","head","delete"],(function(e){c["delete"===e?"del":e]=function(t,n,r){return n=u(t,n,r),n.method=e.toUpperCase(),d(n)}}))},"04f8":function(e,t,n){"use strict";var r=n("1212"),i=n("d039"),o=n("cfe9"),a=o.String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"04fb":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n("7037")),o=r(n("970b"));n("0ca1");var a=r(n("9886")),s=n("5557"),l=n("a736"),u=function e(t){if((0,o["default"])(this,e),!t)return!1;var n=t.clientWidth,r=t.clientHeight,i=document.createElement("canvas");i.setAttribute("width",n),i.setAttribute("height",r),t.appendChild(i);var s={container:t,canvas:i,render:new a["default"](i),option:null};Object.assign(this,s)};t["default"]=u,u.prototype.setOption=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e||"object"!==(0,i["default"])(e))return!1;t&&this.render.graphs.forEach((function(e){return e.animationEnd()}));var n=(0,s.deepClone)(e,!0);(0,l.mergeColor)(this,n),(0,l.grid)(this,n),(0,l.axis)(this,n),(0,l.radarAxis)(this,n),(0,l.title)(this,n),(0,l.bar)(this,n),(0,l.line)(this,n),(0,l.pie)(this,n),(0,l.radar)(this,n),(0,l.gauge)(this,n),(0,l.legend)(this,n),this.option=e,this.render.launchAnimation()},u.prototype.resize=function(){var e=this.container,t=this.canvas,n=this.render,r=this.option,i=e.clientWidth,o=e.clientHeight;t.setAttribute("width",i),t.setAttribute("height",o),n.area=[i,o],this.setOption(r)}},"050c":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bezierCurveToPolyline",{enumerable:!0,get:function(){return i.bezierCurveToPolyline}}),Object.defineProperty(t,"getBezierCurveLength",{enumerable:!0,get:function(){return i.getBezierCurveLength}}),Object.defineProperty(t,"polylineToBezierCurve",{enumerable:!0,get:function(){return o["default"]}}),t["default"]=void 0;var i=n("2db9"),o=r(n("ae10")),a={bezierCurveToPolyline:i.bezierCurveToPolyline,getBezierCurveLength:i.getBezierCurveLength,polylineToBezierCurve:o["default"]};t["default"]=a},"0538":function(e,t,n){"use strict";var r=n("e330"),i=n("59ed"),o=n("861d"),a=n("1a2d"),s=n("f36a"),l=n("40d5"),u=Function,c=r([].concat),d=r([].join),f={},h=function(e,t,n){if(!a(f,t)){for(var r=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=t.xAxis,r=t.yAxis,i=t.series,o=[];n&&r&&i&&(o=y(n,r),o=b(o),o=o.filter((function(e){var t=e.show;return t})),o=_(o),o=A(o,i),o=I(o),o=L(o,e),o=M(o,e),o=N(o,e),o=R(o,e)),(0,l.doUpdate)({chart:e,series:o,key:"axisLine",getGraphConfig:F}),(0,l.doUpdate)({chart:e,series:o,key:"axisTick",getGraphConfig:W}),(0,l.doUpdate)({chart:e,series:o,key:"axisLabel",getGraphConfig:G}),(0,l.doUpdate)({chart:e,series:o,key:"axisName",getGraphConfig:Q}),(0,l.doUpdate)({chart:e,series:o,key:"splitLine",getGraphConfig:te}),e.axisData=o}function y(e,t){var n,r,i=[],o=[];e instanceof Array?(n=i).push.apply(n,(0,s["default"])(e)):i.push(e);t instanceof Array?(r=o).push.apply(r,(0,s["default"])(t)):o.push(t);return i.splice(2),o.splice(2),i=i.map((function(e,t){return h(h({},e),{},{index:t,axis:"x"})})),o=o.map((function(e,t){return h(h({},e),{},{index:t,axis:"y"})})),[].concat((0,s["default"])(i),(0,s["default"])(o))}function b(e){var t=e.filter((function(e){var t=e.axis;return"x"===t})),n=e.filter((function(e){var t=e.axis;return"y"===t}));return t=t.map((function(e){return(0,c.deepMerge)((0,d.deepClone)(u.xAxisConfig),e)})),n=n.map((function(e){return(0,c.deepMerge)((0,d.deepClone)(u.yAxisConfig),e)})),[].concat((0,s["default"])(t),(0,s["default"])(n))}function _(e){var t=e.filter((function(e){var t=e.data;return"value"===t})),n=e.filter((function(e){var t=e.data;return"value"!==t}));return t.forEach((function(e){"boolean"!==typeof e.boundaryGap&&(e.boundaryGap=!1)})),n.forEach((function(e){"boolean"!==typeof e.boundaryGap&&(e.boundaryGap=!0)})),[].concat((0,s["default"])(t),(0,s["default"])(n))}function A(e,t){var n=e.filter((function(e){var t=e.data;return"value"===t})),r=e.filter((function(e){var t=e.data;return t instanceof Array}));return n=C(n,t),r=P(r),[].concat((0,s["default"])(n),(0,s["default"])(r))}function C(e,t){return e.map((function(e){var n=w(e,t),r=x(e,n),i=(0,o["default"])(r,2),a=i[0],s=i[1],l=B(a,s,e),u=e.axisLabel.formatter,c=[];return c=a<0&&s>0?j(a,s,l):q(a,s,l),c=c.map((function(e){return parseFloat(e.toFixed(2))})),h(h({},e),{},{maxValue:c.slice(-1)[0],minValue:c[0],label:O(c,u)})}))}function w(e,t){if(t=t.filter((function(e){var t=e.show,n=e.type;return!1!==t&&"pie"!==n})),0===t.length)return[0,0];var n=e.index,r=e.axis;t=T(t);var i=r+"Axis",o=t.filter((function(e){return e[i]===n}));return o.length||(o=t),k(o)}function k(e){if(e){var t=Math.min.apply(Math,(0,s["default"])(e.map((function(e){var t=e.data;return Math.min.apply(Math,(0,s["default"])((0,c.filterNonNumber)(t)))})))),n=Math.max.apply(Math,(0,s["default"])(e.map((function(e){var t=e.data;return Math.max.apply(Math,(0,s["default"])((0,c.filterNonNumber)(t)))}))));return[t,n]}}function T(e){var t=(0,d.deepClone)(e,!0);return e.forEach((function(n,r){var i=(0,c.mergeSameStackData)(n,e);t[r].data=i})),t}function x(e,t){var n=e.min,r=e.max,a=e.axis,s=(0,o["default"])(t,2),l=s[0],u=s[1],c=(0,i["default"])(n),d=(0,i["default"])(r);if(S(n)||(n=p[a+"AxisConfig"].min,c="string"),S(r)||(r=p[a+"AxisConfig"].max,d="string"),"string"===c){n=parseInt(l-v(l*parseFloat(n)/100));var f=E(n);n=parseFloat((n/f-.1).toFixed(1))*f}if("string"===d){r=parseInt(u+v(u*parseFloat(r)/100));var h=E(r);r=parseFloat((r/h+.1).toFixed(1))*h}return[n,r]}function E(e){var t=v(e).toString(),n=t.length,r=t.replace(/0*$/g,"").indexOf("0"),i=n-1;return-1!==r&&(i-=r),g(10,i)}function S(e){var t=(0,i["default"])(e),n="string"===t&&/^\d+%$/.test(e),r="number"===t;return n||r}function j(e,t,n){var r=[],i=[],o=0,a=0;do{r.push(o-=n)}while(o>e);do{i.push(a+=n)}while(a1&&(u=parseInt(u.toString().replace(/\d$/,"0"))),0===u&&(u=1),"number"===typeof i&&uo?o:u}function I(e){var t=e.filter((function(e){var t=e.axis;return"x"===t})),n=e.filter((function(e){var t=e.axis;return"y"===t}));return t[0]&&!t[0].position&&(t[0].position=u.xAxisConfig.position),t[1]&&!t[1].position&&(t[1].position="bottom"===t[0].position?"top":"bottom"),n[0]&&!n[0].position&&(n[0].position=u.yAxisConfig.position),n[1]&&!n[1].position&&(n[1].position="left"===n[0].position?"right":"left"),[].concat((0,s["default"])(t),(0,s["default"])(n))}function L(e,t){var n=t.gridArea,r=n.x,i=n.y,o=n.w,a=n.h;return e=e.map((function(e){var t=e.position,n=[];return"left"===t?n=[[r,i],[r,i+a]].reverse():"right"===t?n=[[r+o,i],[r+o,i+a]].reverse():"top"===t?n=[[r,i],[r+o,i]]:"bottom"===t&&(n=[[r,i+a],[r+o,i+a]]),h(h({},e),{},{linePosition:n})})),e}function M(e,t){return e.map((function(e){var t=e.axis,n=e.linePosition,r=e.position,i=e.label,a=e.boundaryGap;"boolean"!==typeof a&&(a=p[t+"AxisConfig"].boundaryGap);var s=i.length,l=(0,o["default"])(n,2),u=(0,o["default"])(l[0],2),c=u[0],d=u[1],f=(0,o["default"])(l[1],2),v=f[0],g=f[1],m="x"===t?v-c:g-d,y=m/(a?s:s-1),b=new Array(s).fill(0).map((function(e,n){return"x"===t?[c+y*(a?n+.5:n),d]:[c,d+y*(a?n+.5:n)]})),_=D(t,a,r,b,y);return h(h({},e),{},{tickPosition:b,tickLinePosition:_,tickGap:y})}))}function D(e,t,n,r,i){var a="x"===e?1:0,s=5;"x"===e&&"top"===n&&(s=-5),"y"===e&&"left"===n&&(s=-5);var l=r.map((function(e){var t=(0,d.deepClone)(e);return t[a]+=s,[(0,d.deepClone)(e),t]}));return t?(a="x"===e?0:1,s=i/2,l.forEach((function(e){var t=(0,o["default"])(e,2),n=t[0],r=t[1];n[a]+=s,r[a]+=s})),l):l}function N(e,t){return e.map((function(e){var t=e.nameGap,n=e.nameLocation,r=e.position,i=e.linePosition,a=(0,o["default"])(i,2),l=a[0],u=a[1],c=(0,s["default"])(l);"end"===n&&(c=(0,s["default"])(u)),"center"===n&&(c[0]=(l[0]+u[0])/2,c[1]=(l[1]+u[1])/2);var d=0;"top"===r&&"center"===n&&(d=1),"bottom"===r&&"center"===n&&(d=1),"left"===r&&"center"!==n&&(d=1),"right"===r&&"center"!==n&&(d=1);var f=t;return"top"===r&&"end"!==n&&(f*=-1),"left"===r&&"start"!==n&&(f*=-1),"bottom"===r&&"start"===n&&(f*=-1),"right"===r&&"end"===n&&(f*=-1),c[d]+=f,h(h({},e),{},{namePosition:c})}))}function R(e,t){var n=t.gridArea,r=n.w,i=n.h;return e.map((function(e){var t=e.tickLinePosition,n=e.position,a=e.boundaryGap,l=0,u=r;"top"!==n&&"bottom"!==n||(l=1),"top"!==n&&"bottom"!==n||(u=i),"right"!==n&&"bottom"!==n||(u*=-1);var c=t.map((function(e){var t=(0,o["default"])(e,1),n=t[0],r=(0,s["default"])(n);return r[l]+=u,[(0,s["default"])(n),r]}));return a||c.shift(),h(h({},e),{},{splitLinePosition:c})}))}function F(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel;return[{name:"polyline",index:r,visible:e.axisLine.show,animationCurve:t,animationFrame:n,shape:U(e),style:z(e)}]}function U(e){var t=e.linePosition;return{points:t}}function z(e){return e.axisLine.style}function W(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,i=H(e),o=V(e);return i.map((function(i){return{name:"polyline",index:r,visible:e.axisTick.show,animationCurve:t,animationFrame:n,shape:i,style:o}}))}function H(e){var t=e.tickLinePosition;return t.map((function(e){return{points:e}}))}function V(e){return e.axisTick.style}function G(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,i=Y(e),o=X(e,i);return i.map((function(i,a){return{name:"text",index:r,visible:e.axisLabel.show,animationCurve:t,animationFrame:n,shape:i,style:o[a],setGraphCenter:function(){}}}))}function Y(e){var t=e.label,n=e.tickPosition,r=e.position;return n.map((function(e,n){return{position:K(e,r),content:t[n].toString()}}))}function K(e,t){var n=0,r=10;return"top"!==t&&"bottom"!==t||(n=1),"top"!==t&&"left"!==t||(r=-10),e=(0,d.deepClone)(e),e[n]+=r,e}function X(e,t){var n=e.position,r=e.axisLabel.style,i=$(n);r=(0,c.deepMerge)(i,r);var o=t.map((function(e){var t=e.position;return h(h({},r),{},{graphCenter:t})}));return o}function $(e){return"left"===e?{textAlign:"right",textBaseline:"middle"}:"right"===e?{textAlign:"left",textBaseline:"middle"}:"top"===e?{textAlign:"center",textBaseline:"bottom"}:"bottom"===e?{textAlign:"center",textBaseline:"top"}:void 0}function Q(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel;return[{name:"text",index:r,animationCurve:t,animationFrame:n,shape:J(e),style:Z(e)}]}function J(e){var t=e.name,n=e.namePosition;return{content:t,position:n}}function Z(e){var t=e.nameLocation,n=e.position,r=e.nameTextStyle,i=ee(n,t);return(0,c.deepMerge)(i,r)}function ee(e,t){return"top"===e&&"start"===t||"bottom"===e&&"start"===t||"left"===e&&"center"===t?{textAlign:"right",textBaseline:"middle"}:"top"===e&&"end"===t||"bottom"===e&&"end"===t||"right"===e&&"center"===t?{textAlign:"left",textBaseline:"middle"}:"top"===e&&"center"===t||"left"===e&&"end"===t||"right"===e&&"end"===t?{textAlign:"center",textBaseline:"bottom"}:"bottom"===e&&"center"===t||"left"===e&&"start"===t||"right"===e&&"start"===t?{textAlign:"center",textBaseline:"top"}:void 0}function te(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,i=ne(e),o=re(e);return i.map((function(i){return{name:"polyline",index:r,visible:e.splitLine.show,animationCurve:t,animationFrame:n,shape:i,style:o}}))}function ne(e){var t=e.splitLinePosition;return t.map((function(e){return{points:e}}))}function re(e){return e.splitLine.style}},"06c5":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n("a630"),n("fb6a"),n("b0c0"),n("d3b7"),n("ac1f"),n("00b4"),n("25f0"),n("3ca3");var r=n("6b75");function i(e,t){if(e){if("string"==typeof e)return Object(r["a"])(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r["a"])(e,t):void 0}}},"06cf":function(e,t,n){"use strict";var r=n("83ab"),i=n("c65b"),o=n("d1e7"),a=n("5c6c"),s=n("fc6a"),l=n("a04b"),u=n("1a2d"),c=n("0cfb"),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),c)try{return d(e,t)}catch(n){}if(u(e,t))return a(!i(o.f,e,t),e[t])}},"077e":function(e,t,n){t=e.exports=n("2350")(!0),t.push([e.i,".dv-border-box-12{position:relative;width:100%;height:100%}.dv-border-box-12 .dv-border-svg-container{position:absolute;width:100%;height:100%;top:0;left:0}.dv-border-box-12 .border-box-content{position:relative;width:100%;height:100%}","",{version:3,sources:["D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/borderBox12/src/D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/borderBox12/src/D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/borderBox12/src/main.css"],names:[],mappings:"AAAA,kBACE,kBACA,WACA,WACF,CACA,2CACE,kBACA,WACA,YACA,MACA,MACF,CACA,sCACE,kBACA,WACA,WACF,CAAA",file:"main.css",sourcesContent:[".dv-border-box-12 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-12 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-12 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n"],sourceRoot:""}])},"07ac":function(e,t,n){"use strict";var r=n("23e7"),i=n("6f53").values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},"07fa":function(e,t,n){"use strict";var r=n("50c4");e.exports=function(e){return r(e.length)}},"083a":function(e,t,n){"use strict";var r=n("0d51"),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+r(t)+" of "+r(e))}},"0949":function(e,t,n){var r,i;(function(o,a){r=a,i="function"===typeof r?r.call(t,n,t,e):r,void 0===i||(e.exports=i)})("undefined"!=typeof window&&window,(function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},r=n[e]=n[e]||[];return-1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{},r=n[e]=n[e]||{};return r[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=n.indexOf(t);return-1!=r&&n.splice(r,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var r=this._onceEvents&&this._onceEvents[e],i=0;i0?s:0,c,d,!f);var h=(0,l.getCircleRadianPoint)(i,a,u,d).map((function(e){return parseInt(e)+.5})),p=(0,l.getCircleRadianPoint)(i,a,s,c).map((function(e){return parseInt(e)+.5}));n.lineTo.apply(n,(0,o["default"])(h)),n.arc(i,a,u>0?u:0,d,c,f),n.lineTo.apply(n,(0,o["default"])(p)),n.closePath(),n.stroke(),n.fill()}},p={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,gradientStartAngle:null,gradientEndAngle:null},validator:function(e){var t=e.shape,n=["rx","ry","r","startAngle","endAngle"];return!n.find((function(e){return"number"!==typeof t[e]}))},draw:function(e,t){var n=e.ctx,r=t.shape,i=t.style,o=i.gradient;o=o.map((function(e){return(0,u.getColorFromRgbValue)(e)})),1===o.length&&(o=[o[0],o[0]]);var a=o.length-1,s=r.gradientStartAngle,d=r.gradientEndAngle,f=r.startAngle,h=r.endAngle,p=r.r,v=r.rx,g=r.ry;null===s&&(s=f),null===d&&(d=h);var m=(d-s)/a;m===2*Math.PI&&(m=2*Math.PI-.001);for(var y=0;yh&&(w=h,k=!0),n.arc(v,g,p,C,w),n.strokeStyle=A,n.stroke(),k)break}}},v={shape:{number:[],content:"",position:[0,0],toFixed:0,rowGap:0,formatter:null},validator:function(e){var t=e.shape,n=t.number,r=t.content,i=t.position;return n instanceof Array&&"string"===typeof r&&i instanceof Array},draw:function(e,t){var n=e.ctx,r=t.shape,i=r.number,o=r.content,a=r.toFixed,l=r.rowGap,u=r.formatter,c=o.split("{nt}"),d="";c.forEach((function(e,t){var n=i[t];"number"!==typeof n&&(n=""),"number"===typeof n&&(n=n.toFixed(a),"function"===typeof u&&(n=u(n))),d+=e+(n||"")})),s.text.draw({ctx:n},{shape:f(f({},r),{},{content:d,rowGap:l})})}},g={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,n=t.x,r=t.y,i=t.w,o=t.h;return"number"===typeof n&&"number"===typeof r&&"number"===typeof i&&"number"===typeof o},draw:function(e,t){var n=e.ctx,r=t.shape;n.beginPath();var i=r.x,o=r.y,a=r.w,s=r.h,l=s/2;n.strokeStyle=n.fillStyle,n.moveTo(i,o+l),n.lineTo(i+a,o+l),n.lineWidth=1,n.stroke(),n.beginPath();var u=l-10;u<=0&&(u=3),n.arc(i+a/2,o+l,u,0,2*Math.PI),n.lineWidth=5,n.stroke(),n.fillStyle="#fff",n.fill()},hoverCheck:function(e,t){var n=t.shape,r=n.x,i=n.y,o=n.w,a=n.h;return(0,l.checkPointIsInRect)(e,r,i,o,a)},setGraphCenter:function(e,t){var n=t.shape,r=t.style,i=n.x,o=n.y,a=n.w,s=n.h;r.graphCenter=[i+a/2,o+s/2]}};(0,a.extendNewGraph)("pie",h),(0,a.extendNewGraph)("agArc",p),(0,a.extendNewGraph)("numberText",v),(0,a.extendNewGraph)("lineIcon",g)},"0cb2":function(e,t,n){"use strict";var r=n("e330"),i=n("7b0b"),o=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,f){var h=n+e.length,p=r.length,v=c;return void 0!==d&&(d=i(d),v=u),s(f,v,(function(i,s){var u;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,h);case"<":u=d[l(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var f=o(c/10);return 0===f?i:f<=p?void 0===r[f-1]?a(s,1):r[f-1]+a(s,1):i}u=r[c-1]}return void 0===u?"":u}))}},"0ccb":function(e,t,n){"use strict";var r=n("e330"),i=n("50c4"),o=n("577e"),a=n("1148"),s=n("1d80"),l=r(a),u=r("".slice),c=Math.ceil,d=function(e){return function(t,n,r){var a,d,f=o(s(t)),h=i(n),p=f.length,v=void 0===r?" ":o(r);return h<=p||""===v?f:(a=h-p,d=l(v,c(a/v.length)),d.length>a&&(d=u(d,0,a)),e?f+d:d+f)}};e.exports={start:d(!1),end:d(!0)}},"0cd4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.radarAxisConfig=void 0;var r={show:!0,center:["50%","50%"],radius:"65%",startAngle:-Math.PI/2,splitNum:5,polygon:!1,axisLabel:{show:!0,labelGap:15,color:[],style:{fill:"#333"}},axisLine:{show:!0,color:[],style:{stroke:"#999",lineWidth:1}},splitLine:{show:!0,color:[],style:{stroke:"#d4d4d4",lineWidth:1}},splitArea:{show:!1,color:["#f5f5f5","#e6e6e6"],style:{}},rLevel:-10,animationCurve:"easeOutCubic",animationFrane:50};t.radarAxisConfig=r},"0cfb":function(e,t,n){"use strict";var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d25":function(e,t,n){"use strict";e.exports=TypeError},"0d26":function(e,t,n){"use strict";var r=n("e330"),i=Error,o=r("".replace),a=function(e){return String(new i(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=o(e,s,"");return e}},"0d51":function(e,t,n){"use strict";var r=String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},"0de0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return/mp4a\.\d+.\d+/i.test(e)},i=function(e){return/avc1\.[\da-f]+/i.test(e)},o=function(e){var t={type:"",parameters:{}},n=e.trim().split(";");return t.type=n.shift().trim(),n.forEach((function(e){var n=e.trim().split("=");if(n.length>1){var r=n[0].replace(/"/g,"").trim(),i=n[1].replace(/"/g,"").trim();t.parameters[r]=i}})),t},a=function(e){return e.map((function(e){return e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){var r=("00"+Number(t).toString(16)).slice(-2),i=("00"+Number(n).toString(16)).slice(-2);return"avc1."+r+"00"+i}))}))};t["default"]={isAudioCodec:r,parseContentType:o,isVideoCodec:i,translateLegacyCodecs:a},e.exports=t["default"]},"0e44":function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u(Array.isArray(e)?[]:{},e,t):e}function a(e,t,n){return e.concat(t).map((function(e){return o(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=o;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach((function(t){r[t]=o(e[t],n)})),s(t).forEach((function(i){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(r[i]=l(e,i)&&n.isMergeableObject(t[i])?function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(i,n)(e[i],t[i],n):o(t[i],n))})),r}(e,t,n):o(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var c=u;function d(e){var t=(e=e||{}).storage||window&&window.localStorage,n=e.key||"vuex";function r(e,t){var n=t.getItem(e);try{return"string"==typeof n?JSON.parse(n):"object"==typeof n?n:void 0}catch(e){}}function i(){return!0}function o(e,t,n){return n.setItem(e,JSON.stringify(t))}function a(e,t){return Array.isArray(t)?t.reduce((function(t,n){return function(e,t,n,r){return!/^(__proto__|constructor|prototype)$/.test(t)&&((t=t.split?t.split("."):t.slice(0)).slice(0,-1).reduce((function(e,t){return e[t]=e[t]||{}}),e)[t.pop()]=n),e}(t,n,(r=e,void 0===(r=((i=n).split?i.split("."):i).reduce((function(e,t){return e&&e[t]}),r))?void 0:r));var r,i}),{}):e}function s(e){return function(t){return e.subscribe(t)}}(e.assertStorage||function(){t.setItem("@@",1),t.removeItem("@@")})(t);var l,u=function(){return(e.getState||r)(n,t)};return e.fetchBeforeUse&&(l=u()),function(r){e.fetchBeforeUse||(l=u()),"object"==typeof l&&null!==l&&(r.replaceState(e.overwrite?l:c(r.state,l,{arrayMerge:e.arrayMerger||function(e,t){return t},clone:!1})),(e.rehydrated||function(){})(r)),(e.subscriber||s)(r)((function(r,s){(e.filter||i)(r)&&(e.setState||o)(n,(e.reducer||a)(s,e.paths),t)}))}}t["a"]=d},"0f7c":function(e,t,n){"use strict";var r=n("688e");e.exports=Function.prototype.bind||r},"107c":function(e,t,n){"use strict";var r=n("d039"),i=n("cfe9"),o=i.RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},"10db":function(e,t,n){t=e.exports=n("2350")(!0),t.push([e.i,".dv-decoration-8{display:flex;width:100%;height:100%}","",{version:3,sources:["D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/decoration8/src/D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/decoration8/src/D:/jenkins/workspace/tj_zsj_web/node_modules/@jiaminghi/data-view/lib/components/decoration8/src/main.css"],names:[],mappings:"AAAA,iBACE,aACA,WACA,WACF,CAAA",file:"main.css",sourcesContent:[".dv-decoration-8 {\n display: flex;\n width: 100%;\n height: 100%;\n}\n"],sourceRoot:""}])},1148:function(e,t,n){"use strict";var r=n("5926"),i=n("577e"),o=n("1d80"),a=RangeError;e.exports=function(e){var t=i(o(this)),n="",s=r(e);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},"11b0":function(e,t,n){function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("d3b7"),n("3ca3"),n("ddb0"),e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"11b09":function(e,t,n){var r=n("26c6");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("21dc8424",r,!0,{sourceMap:!0,shadowMode:!1})},1212:function(e,t,n){"use strict";var r,i,o=n("cfe9"),a=n("b5db"),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(r=c.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),e.exports=i},1276:function(e,t,n){"use strict";var r=n("c65b"),i=n("e330"),o=n("d784"),a=n("825a"),s=n("7234"),l=n("1d80"),u=n("4840"),c=n("8aa5"),d=n("50c4"),f=n("577e"),h=n("dc4a"),p=n("14c3"),v=n("9f7f"),g=n("d039"),m=v.UNSUPPORTED_Y,y=4294967295,b=Math.min,_=i([].push),A=i("".slice),C=!g((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),w="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;o("split",(function(e,t,n){var i="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:r(t,this,e,n)}:t;return[function(t,n){var o=l(this),a=s(t)?void 0:h(t,e);return a?r(a,t,o,n):r(i,f(o),t,n)},function(e,r){var o=a(this),s=f(e);if(!w){var l=n(i,o,s,r,i!==t);if(l.done)return l.value}var h=u(o,RegExp),v=o.unicode,g=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(m?"g":"y"),C=new h(m?"^(?:"+o.source+")":o,g),k=void 0===r?y:r>>>0;if(0===k)return[];if(0===s.length)return null===p(C,s)?[s]:[];var T=0,x=0,E=[];while(x=0&&e<=100}function o(){var e=100,t=3,n=0,o=100,a=0,s=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!i(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!==typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!i(e))throw new Error("RegionAnchorX must be between 0 and 100.");o=e}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(e){if(!i(e))throw new Error("RegionAnchorY must be between 0 and 100.");n=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!i(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!i(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return l},set:function(e){var t=r(e);if(!1===t)throw new SyntaxError("An invalid or illegal string was specified.");l=t}}})}e.exports=o},"12c6":function(e,t,n){ /** * @license * Video.js 6.13.0 * Copyright Brightcove, Inc. * Available under Apache License Version 2.0 * * * Includes vtt.js * Available under Apache License Version 2.0 * */ function r(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var i=r(n("ea7c")),o=r(n("4742")),a=r(n("1b8d")),s=r(n("8c10")),l=r(n("eec7")),u=r(n("bec7")),c="6.13.0",d=i.navigator&&i.navigator.userAgent||"",f=/AppleWebKit\/([\d.]+)/i.exec(d),h=f?parseFloat(f.pop()):null,p=/iPad/i.test(d),v=/iPhone/i.test(d)&&!p,g=/iPod/i.test(d),m=v||p||g,y=function(){var e=d.match(/OS (\d+)_/i);return e&&e[1]?e[1]:null}(),b=/Android/i.test(d),_=function(){var e=d.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t||null}(),A=b&&/webkit/i.test(d)&&_<2.3,C=b&&_<5&&h<537,w=/Firefox/i.test(d),k=/Edge/i.test(d),T=!k&&(/Chrome/i.test(d)||/CriOS/i.test(d)),x=function(){var e=d.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),E=/MSIE\s8\.0/.test(d),S=function(){var e=/MSIE\s(\d+)\.\d/.exec(d),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(d)&&/rv:11.0/.test(d)&&(t=11),t}(),j=/Safari/i.test(d)&&!T&&!b&&!k,q=(j||m)&&!T,O=ne()&&("ontouchstart"in i||i.navigator.maxTouchPoints||i.DocumentTouch&&i.document instanceof i.DocumentTouch),P=ne()&&"backgroundSize"in i.document.createElement("video").style,B=(Object.freeze||Object)({IS_IPAD:p,IS_IPHONE:v,IS_IPOD:g,IS_IOS:m,IOS_VERSION:y,IS_ANDROID:b,ANDROID_VERSION:_,IS_OLD_ANDROID:A,IS_NATIVE_ANDROID:C,IS_FIREFOX:w,IS_EDGE:k,IS_CHROME:T,CHROME_VERSION:x,IS_IE8:E,IE_VERSION:S,IS_SAFARI:j,IS_ANY_SAFARI:q,TOUCH_ENABLED:O,BACKGROUND_SIZE_SUPPORTED:P}),I="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},D=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},N=function(e,t){return e.raw=t,e},R=Object.prototype.toString,F=function(e){return H(e)?Object.keys(e):[]};function U(e,t){F(e).forEach((function(n){return t(e[n],n)}))}function z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return F(e).reduce((function(n,r){return t(n,e[r],r)}),n)}function W(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],i=o.createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){var n=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(X.warn(a(J,e,n)),i.setAttribute(e,n)):"textContent"===e?se(i,n):i[e]=n})),Object.getOwnPropertyNames(n).forEach((function(e){i.setAttribute(e,n[e])})),r&&xe(i,r),i}function se(e,t){return"undefined"===typeof e.textContent?e.innerText=t:e.textContent=t,e}function le(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function ue(e,t){return ee(t),e.classList?e.classList.contains(t):te(t).test(e.className)}function ce(e,t){return e.classList?e.classList.add(t):ue(e,t)||(e.className=(e.className+" "+t).trim()),e}function de(e,t){return e.classList?e.classList.remove(t):(ee(t),e.className=e.className.split(/\s+/).filter((function(e){return e!==t})).join(" ")),e}function fe(e,t,n){var r=ue(e,t);if("function"===typeof n&&(n=n(e,t)),"boolean"!==typeof n&&(n=!r),n!==r)return n?ce(e,t):de(e,t),e}function he(e,t){Object.getOwnPropertyNames(t).forEach((function(n){var r=t[n];null===r||"undefined"===typeof r||!1===r?e.removeAttribute(n):e.setAttribute(n,!0===r?"":r)}))}function pe(e){var t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,i=r.length-1;i>=0;i--){var o=r[i].name,a=r[i].value;"boolean"!==typeof e[o]&&-1===n.indexOf(","+o+",")||(a=null!==a),t[o]=a}return t}function ve(e,t){return e.getAttribute(t)}function ge(e,t,n){e.setAttribute(t,n)}function me(e,t){e.removeAttribute(t)}function ye(){o.body.focus(),o.onselectstart=function(){return!1}}function be(){o.onselectstart=function(){return!0}}function _e(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((function(e){void 0!==t[e]&&(n[e]=t[e])})),n.height||(n.height=parseFloat(Q(e,"height"))),n.width||(n.width=parseFloat(Q(e,"width"))),n}}function Ae(e){var t=void 0;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=o.documentElement,r=o.body,a=n.clientLeft||r.clientLeft||0,s=i.pageXOffset||r.scrollLeft,l=t.left+s-a,u=n.clientTop||r.clientTop||0,c=i.pageYOffset||r.scrollTop,d=t.top+c-u;return{left:Math.round(l),top:Math.round(d)}}function Ce(e,t){var n={},r=Ae(e),i=e.offsetWidth,o=e.offsetHeight,a=r.top,s=r.left,l=t.pageY,u=t.pageX;return t.changedTouches&&(u=t.changedTouches[0].pageX,l=t.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-l+o)/o)),n.x=Math.max(0,Math.min(1,(u-s)/i)),n}function we(e){return H(e)&&3===e.nodeType}function ke(e){while(e.firstChild)e.removeChild(e.firstChild);return e}function Te(e){return"function"===typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((function(e){return"function"===typeof e&&(e=e()),re(e)||we(e)?e:"string"===typeof e&&/\S/.test(e)?o.createTextNode(e):void 0})).filter((function(e){return e}))}function xe(e,t){return Te(t).forEach((function(t){return e.appendChild(t)})),e}function Ee(e,t){return xe(ke(e),t)}function Se(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||(9===S||0===e.button&&1===e.buttons))}var je=oe("querySelector"),qe=oe("querySelectorAll"),Oe=(Object.freeze||Object)({isReal:ne,isEl:re,isInFrame:ie,createEl:ae,textContent:se,prependTo:le,hasClass:ue,addClass:ce,removeClass:de,toggleClass:fe,setAttributes:he,getAttributes:pe,getAttribute:ve,setAttribute:ge,removeAttribute:me,blockTextSelection:ye,unblockTextSelection:be,getBoundingClientRect:_e,findPosition:Ae,getPointerPosition:Ce,isTextNode:we,emptyEl:ke,normalizeContent:Te,appendContent:xe,insertContent:Ee,isSingleLeftClick:Se,$:je,$$:qe}),Pe=1;function Be(){return Pe++}var Ie={},Le="vdata"+(new Date).getTime();function Me(e){var t=e[Le];return t||(t=e[Le]=Be()),Ie[t]||(Ie[t]={}),Ie[t]}function De(e){var t=e[Le];return!!t&&!!Object.getOwnPropertyNames(Ie[t]).length}function Ne(e){var t=e[Le];if(t){delete Ie[t];try{delete e[Le]}catch(n){e.removeAttribute?e.removeAttribute(Le):e[Le]=null}}}function Re(e,t){var n=Me(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&Ne(e)}function Fe(e,t,n,r){n.forEach((function(n){e(t,n,r)}))}function Ue(e){function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped){var r=e||i.event;for(var a in e={},r)"layerX"!==a&&"layerY"!==a&&"keyLocation"!==a&&"webkitMovementX"!==a&&"webkitMovementY"!==a&&("returnValue"===a&&r.preventDefault||(e[a]=r[a]));if(e.target||(e.target=e.srcElement||o),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var s=o.documentElement,l=o.body;e.pageX=e.clientX+(s&&s.scrollLeft||l&&l.scrollLeft||0)-(s&&s.clientLeft||l&&l.clientLeft||0),e.pageY=e.clientY+(s&&s.scrollTop||l&&l.scrollTop||0)-(s&&s.clientTop||l&&l.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e}var ze=!1;(function(){try{var e=Object.defineProperty({},"passive",{get:function(){ze=!0}});i.addEventListener("test",null,e),i.removeEventListener("test",null,e)}catch(t){}})();var We=["touchstart","touchmove"];function He(e,t,n){if(Array.isArray(t))return Fe(He,e,t,n);var r=Me(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=Be()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=Ue(t);var i=r.handlers[t.type];if(i)for(var o=i.slice(0),a=0,s=o.length;a-1&&(i={passive:!0}),e.addEventListener(t,r.dispatcher,i)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function Ve(e,t,n){if(De(e)){var r=Me(e);if(r.handlers){if(Array.isArray(t))return Fe(Ve,e,t,n);var i=function(e,t){r.handlers[t]=[],Re(e,t)};if(void 0!==t){var o=r.handlers[t];if(o)if(n){if(n.guid)for(var a=0;a0)for(var i=0,a=e.length;i0)for(var s=0,l=t.length;s0)for(var u=0,c=n.length;u0)for(var d=0,f=r.length;d=t&&(e.apply(void 0,arguments),n=r)};return r},rt=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i,o=void 0,a=function(){r.clearTimeout(o),o=null},s=function(){var i=this,a=arguments,s=function(){o=null,s=null,n||e.apply(i,a)};!o&&n&&e.apply(i,a),r.clearTimeout(o),o=r.setTimeout(s,t)};return s.cancel=a,s},it=function(){};it.prototype.allowedEvents_={},it.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},He(this,e,t),this.addEventListener=n},it.prototype.addEventListener=it.prototype.on,it.prototype.off=function(e,t){Ve(this,e,t)},it.prototype.removeEventListener=it.prototype.off,it.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},Ye(this,e,t),this.addEventListener=n},it.prototype.trigger=function(e){var t=e.type||e;"string"===typeof e&&(e={type:t}),e=Ue(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),Ge(this,e)},it.prototype.dispatchEvent=it.prototype.trigger;var ot=function(e){return e instanceof it||!!e.eventBusEl_&&["on","one","off","trigger"].every((function(t){return"function"===typeof e[t]}))},at=function(e){return"string"===typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},st=function(e){if(!e.nodeName&&!ot(e))throw new Error("Invalid target; must be a DOM node or evented object.")},lt=function(e){if(!at(e))throw new Error("Invalid event type; must be a non-empty string or array.")},ut=function(e){if("function"!==typeof e)throw new Error("Invalid listener; must be a function.")},ct=function(e,t){var n=t.length<3||t[0]===e||t[0]===e.eventBusEl_,r=void 0,i=void 0,o=void 0;return n?(r=e.eventBusEl_,t.length>=3&&t.shift(),i=t[0],o=t[1]):(r=t[0],i=t[1],o=t[2]),st(r),lt(i),ut(o),o=tt(e,o),{isTargetingSelf:n,target:r,type:i,listener:o}},dt=function(e,t,n,r){st(e),e.nodeName?Ke[t](e,n,r):e[t](n,r)},ft={on:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=t.eventBusKey;if(n){if(!e[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');e.eventBusEl_=e[n]}else e.eventBusEl_=ae("span",{className:"vjs-event-bus"});return W(e,ft),e.on("dispose",(function(){e.off(),i.setTimeout((function(){e.eventBusEl_=null}),0)})),e}var pt={state:{},setState:function(e){var t=this;"function"===typeof e&&(e=e());var n=void 0;return U(e,(function(e,r){t.state[r]!==e&&(n=n||{},n[r]={from:t.state[r],to:e}),t.state[r]=e})),n&&ot(this)&&this.trigger({changes:n,type:"statechanged"}),n}};function vt(e,t){return W(e,pt),e.state=W({},e.state,t),"function"===typeof e.handleStateChanged&&ot(e)&&e.on("statechanged",e.handleStateChanged),e}function gt(e){return"string"!==typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}function mt(e,t){return gt(e)===gt(t)}function yt(){for(var e={},t=arguments.length,n=Array(t),r=0;r=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),Ne(this.el_),this.el_=null),this.player_=null},e.prototype.player=function(){return this.player_},e.prototype.options=function(e){return X.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),e?(this.options_=yt(this.options_,e),this.options_):this.options_},e.prototype.el=function(){return this.el_},e.prototype.createEl=function(e,t,n){return ae(e,t,n)},e.prototype.localize=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages(),o=i&&i[r],a=r&&r.split("-")[0],s=i&&i[a],l=n;return o&&o[e]?l=o[e]:s&&s[e]&&(l=s[e]),t&&(l=l.replace(/\{(\d+)\}/g,(function(e,n){var r=t[n-1],i=r;return"undefined"===typeof r&&(i=e),i}))),l},e.prototype.contentEl=function(){return this.contentEl_||this.el_},e.prototype.id=function(){return this.id_},e.prototype.name=function(){return this.name_},e.prototype.children=function(){return this.children_},e.prototype.getChildById=function(e){return this.childIndex_[e]},e.prototype.getChild=function(e){if(e)return e=gt(e),this.childNameIndex_[e]},e.prototype.addChild=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,i=void 0,o=void 0;if("string"===typeof t){o=gt(t);var a=n.componentClass||o;n.name=o;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!==typeof s)return null;i=new s(this.player_||this,n)}else i=t;if(this.children_.splice(r,0,i),"function"===typeof i.id&&(this.childIndex_[i.id()]=i),o=o||i.name&>(i.name()),o&&(this.childNameIndex_[o]=i),"function"===typeof i.el&&i.el()){var l=this.contentEl().children,u=l[r]||null;this.contentEl().insertBefore(i.el(),u)}return i},e.prototype.removeChild=function(e){if("string"===typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){this.childIndex_[e.id()]=null,this.childNameIndex_[e.name()]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},e.prototype.initChildren=function(){var t=this,n=this.options_.children;if(n){var r=this.options_,i=function(e){var n=e.name,i=e.opts;if(void 0!==r[n]&&(i=r[n]),!1!==i){!0===i&&(i={}),i.playerOptions=t.options_.playerOptions;var o=t.addChild(n,i);o&&(t[n]=o)}},o=void 0,a=e.getComponent("Tech");o=Array.isArray(n)?n:Object.keys(n),o.concat(Object.keys(this.options_).filter((function(e){return!o.some((function(t){return"string"===typeof t?e===t:e===t.name}))}))).map((function(e){var r=void 0,i=void 0;return"string"===typeof e?(r=e,i=n[r]||t.options_[r]||{}):(r=e.name,i=e),{name:r,opts:i}})).filter((function(t){var n=e.getComponent(t.opts.componentClass||gt(t.name));return n&&!a.isTech(n)})).forEach(i)}},e.prototype.buildCSSClass=function(){return""},e.prototype.ready=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},e.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)},e.prototype.$=function(e,t){return je(e,t||this.contentEl())},e.prototype.$$=function(e,t){return qe(e,t||this.contentEl())},e.prototype.hasClass=function(e){return ue(this.el_,e)},e.prototype.addClass=function(e){ce(this.el_,e)},e.prototype.removeClass=function(e){de(this.el_,e)},e.prototype.toggleClass=function(e,t){fe(this.el_,e,t)},e.prototype.show=function(){this.removeClass("vjs-hidden")},e.prototype.hide=function(){this.addClass("vjs-hidden")},e.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},e.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},e.prototype.getAttribute=function(e){return ve(this.el_,e)},e.prototype.setAttribute=function(e,t){ge(this.el_,e,t)},e.prototype.removeAttribute=function(e){me(this.el_,e)},e.prototype.width=function(e,t){return this.dimension("width",e,t)},e.prototype.height=function(e,t){return this.dimension("height",e,t)},e.prototype.dimensions=function(e,t){this.width(e,!0),this.height(t)},e.prototype.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t===t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var r=this.el_.style[e],i=r.indexOf("px");return-1!==i?parseInt(r.slice(0,i),10):parseInt(this.el_["offset"+gt(e)],10)},e.prototype.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if("function"===typeof i.getComputedStyle){var n=i.getComputedStyle(this.el_);t=n.getPropertyValue(e)||n[e]}if(t=parseFloat(t),0===t){var r="offset"+gt(e);t=this.el_[r]}return t},e.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.prototype.currentWidth=function(){return this.currentDimension("width")},e.prototype.currentHeight=function(){return this.currentDimension("height")},e.prototype.focus=function(){this.el_.focus()},e.prototype.blur=function(){this.el_.blur()},e.prototype.emitTapEvents=function(){var e=0,t=null,n=10,r=200,i=void 0;this.on("touchstart",(function(n){1===n.touches.length&&(t={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},e=(new Date).getTime(),i=!0)})),this.on("touchmove",(function(e){if(e.touches.length>1)i=!1;else if(t){var r=e.touches[0].pageX-t.pageX,o=e.touches[0].pageY-t.pageY,a=Math.sqrt(r*r+o*o);a>n&&(i=!1)}}));var o=function(){i=!1};this.on("touchleave",o),this.on("touchcancel",o),this.on("touchend",(function(n){if(t=null,!0===i){var o=(new Date).getTime()-e;o0&&u.map((function(e){return l[e]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=n,n},e.getComponent=function(t){if(t)return t=gt(t),e.components_&&e.components_[t]?e.components_[t]:void 0},e}();function _t(e,t,n){if("number"!==typeof t||t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+n+").")}function At(e,t,n,r){return _t(e,r,n.length-1),n[r][t]}function Ct(e){return void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:At.bind(null,"start",0,e),end:At.bind(null,"end",1,e)}}function wt(e,t){return Array.isArray(e)?Ct(e):void 0===e||void 0===t?Ct():Ct([[e,t]])}function kt(e,t){var n=0,r=void 0,i=void 0;if(!t)return 0;e&&e.length||(e=wt(0,0));for(var o=0;ot&&(i=t),n+=i-r;return n/t}bt.prototype.supportsRaf_="function"===typeof i.requestAnimationFrame&&"function"===typeof i.cancelAnimationFrame,bt.registerComponent("Component",bt);for(var Tt={},xt=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],Et=xt[0],St=void 0,jt=0;jt0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;L(this,t);var a=D(this,e.call(this));if(!i&&(i=a,E))for(var s in i=o.createElement("custom"),t.prototype)"constructor"!==s&&(i[s]=t.prototype[s]);i.tracks_=[],Object.defineProperty(i,"length",{get:function(){return this.tracks_.length}});for(var l=0;l0&&void 0!==arguments[0]?arguments[0]:[];L(this,t);for(var a=void 0,s=i.length-1;s>=0;s--)if(i[s].enabled){Ht(i,i[s]);break}if(E){for(var l in a=o.createElement("custom"),zt.prototype)"constructor"!==l&&(a[l]=zt.prototype[l]);for(var u in t.prototype)"constructor"!==u&&(a[u]=t.prototype[u])}return n=D(this,e.call(this,i,a)),a=n,a.changing_=!1,r=a,D(n,r)}return M(t,e),t.prototype.addTrack=function(t){var n=this;t.enabled&&Ht(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",(function(){n.changing_||(n.changing_=!0,Ht(n,t),n.changing_=!1,n.trigger("change"))}))},t}(zt),Gt=function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];L(this,t);for(var a=void 0,s=i.length-1;s>=0;s--)if(i[s].selected){Gt(i,i[s]);break}if(E){for(var l in a=o.createElement("custom"),zt.prototype)"constructor"!==l&&(a[l]=zt.prototype[l]);for(var u in t.prototype)"constructor"!==u&&(a[u]=t.prototype[u])}return n=D(this,e.call(this,i,a)),a=n,a.changing_=!1,Object.defineProperty(a,"selectedIndex",{get:function(){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:[];L(this,t);var a=void 0;if(E){for(var s in a=o.createElement("custom"),zt.prototype)"constructor"!==s&&(a[s]=zt.prototype[s]);for(var l in t.prototype)"constructor"!==l&&(a[l]=t.prototype[l])}return n=D(this,e.call(this,i,a)),a=n,r=a,D(n,r)}return M(t,e),t.prototype.addTrack=function(t){e.prototype.addTrack.call(this,t),t.addEventListener("modechange",tt(this,(function(){this.trigger("change")})));var n=["metadata","chapters"];-1===n.indexOf(t.kind)&&t.addEventListener("modechange",tt(this,(function(){this.trigger("selectedlanguagechange")})))},t}(zt),Xt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];L(this,e);var n=this;if(E)for(var r in n=o.createElement("custom"),e.prototype)"constructor"!==r&&(n[r]=e.prototype[r]);n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var i=0,a=t.length;i0&&void 0!==arguments[0]?arguments[0]:{};L(this,t);var i=D(this,e.call(this)),a=i;if(E)for(var s in a=o.createElement("custom"),t.prototype)"constructor"!==s&&(a[s]=t.prototype[s]);var l={id:r.id||"vjs_track_"+Be(),kind:r.kind||"",label:r.label||"",language:r.language||""},u=function(e){Object.defineProperty(a,e,{get:function(){return l[e]},set:function(){}})};for(var c in l)u(c);return n=a,D(i,n)}return M(t,e),t}(it),nn=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=o.createElement("a");n.href=e;var r=""===n.host&&"file:"!==n.protocol,a=void 0;r&&(a=o.createElement("div"),a.innerHTML='',n=a.firstChild,a.setAttribute("style","display:none; position:absolute;"),o.body.appendChild(a));for(var s={},l=0;lx',e=t.firstChild.href}return e},on=function(e){if("string"===typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,n=t.exec(e);if(n)return n.pop().toLowerCase()}return""},an=function(e){var t=i.location,n=nn(e),r=":"===n.protocol?t.protocol:n.protocol,o=r+n.host!==t.protocol+t.host;return o},sn=(Object.freeze||Object)({parseUrl:nn,getAbsoluteURL:rn,getFileExtension:on,isCrossOrigin:an}),ln=function(e,t){var n=new i.WebVTT.Parser(i,i.vttjs,i.WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(i.console&&i.console.groupCollapsed&&i.console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach((function(e){return X.error(e)})),i.console&&i.console.groupEnd&&i.console.groupEnd()),n.flush()},un=function(e,t){var n={uri:e},r=an(e);r&&(n.cors=r),l(n,tt(this,(function(e,n,r){if(e)return X.error(e,n);if(t.loaded_=!0,"function"!==typeof i.WebVTT){if(t.tech_){var o=function(){return ln(r,t)};t.tech_.on("vttjsloaded",o),t.tech_.on("vttjserror",(function(){X.error("vttjs failed to load, stopping trying to process "+t.src),t.tech_.off("vttjsloaded",o)}))}}else ln(r,t)})))},cn=function(e){function t(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(L(this,t),!i.tech)throw new Error("A tech was not provided.");var o=yt(i,{kind:Zt[i.kind]||"subtitles",language:i.language||i.srclang||""}),a=en[o.mode]||"disabled",s=o["default"];"metadata"!==o.kind&&"chapters"!==o.kind||(a="hidden");var l=(n=D(this,e.call(this,o)),n);if(l.tech_=o.tech,E)for(var u in t.prototype)"constructor"!==u&&(l[u]=t.prototype[u]);l.cues_=[],l.activeCues_=[];var c=new $t(l.cues_),d=new $t(l.activeCues_),f=!1,h=tt(l,(function(){this.activeCues=this.activeCues,f&&(this.trigger("cuechange"),f=!1)}));return"disabled"!==a&&l.tech_.ready((function(){l.tech_.on("timeupdate",h)}),!0),Object.defineProperty(l,"default",{get:function(){return s},set:function(){}}),Object.defineProperty(l,"mode",{get:function(){return a},set:function(e){var t=this;en[e]&&(a=e,"disabled"!==a?this.tech_.ready((function(){t.tech_.on("timeupdate",h)}),!0):this.tech_.off("timeupdate",h),this.trigger("modechange"))}}),Object.defineProperty(l,"cues",{get:function(){return this.loaded_?c:null},set:function(){}}),Object.defineProperty(l,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return d;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n=e||i.startTime===i.endTime&&i.startTime<=e&&i.startTime+.5>=e)&&t.push(i)}if(f=!1,t.length!==this.activeCues_.length)f=!0;else for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};L(this,t);var o=yt(i,{kind:Jt[i.kind]||""}),a=(n=D(this,e.call(this,o)),n),s=!1;if(E)for(var l in t.prototype)"constructor"!==l&&(a[l]=t.prototype[l]);return Object.defineProperty(a,"enabled",{get:function(){return s},set:function(e){"boolean"===typeof e&&e!==s&&(s=e,this.trigger("enabledchange"))}}),o.enabled&&(a.enabled=o.enabled),a.loaded_=!0,r=a,D(n,r)}return M(t,e),t}(tn),fn=function(e){function t(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};L(this,t);var o=yt(i,{kind:Qt[i.kind]||""}),a=(n=D(this,e.call(this,o)),n),s=!1;if(E)for(var l in t.prototype)"constructor"!==l&&(a[l]=t.prototype[l]);return Object.defineProperty(a,"selected",{get:function(){return s},set:function(e){"boolean"===typeof e&&e!==s&&(s=e,this.trigger("selectedchange"))}}),o.selected&&(a.selected=o.selected),r=a,D(n,r)}return M(t,e),t}(tn),hn=0,pn=1,vn=2,gn=3,mn=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};L(this,t);var r=D(this,e.call(this)),i=void 0,a=r;if(E)for(var s in a=o.createElement("custom"),t.prototype)"constructor"!==s&&(a[s]=t.prototype[s]);var l,u=new cn(n);return a.kind=u.kind,a.src=u.src,a.srclang=u.language,a.label=u.label,a["default"]=u["default"],Object.defineProperty(a,"readyState",{get:function(){return i}}),Object.defineProperty(a,"track",{get:function(){return u}}),i=hn,u.addEventListener("loadeddata",(function(){i=vn,a.trigger({type:"load",target:a})})),E?(l=a,D(r,l)):r}return M(t,e),t}(it);mn.prototype.allowedEvents_={load:"load"},mn.NONE=hn,mn.LOADING=pn,mn.LOADED=vn,mn.ERROR=gn;var yn={audio:{ListClass:Vt,TrackClass:dn,capitalName:"Audio"},video:{ListClass:Yt,TrackClass:fn,capitalName:"Video"},text:{ListClass:Kt,TrackClass:cn,capitalName:"Text"}};Object.keys(yn).forEach((function(e){yn[e].getterName=e+"Tracks",yn[e].privateName=e+"Tracks_"}));var bn={remoteText:{ListClass:Kt,TrackClass:cn,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Xt,TrackClass:mn,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},_n=yt(yn,bn);function An(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=e.textTracks();i.kind=t,n&&(i.label=n),r&&(i.language=r),i.tech=e;var a=new _n.text.TrackClass(i);return o.addTrack(a),a}bn.names=Object.keys(bn),yn.names=Object.keys(yn),_n.names=[].concat(bn.names).concat(yn.names);var Cn=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};L(this,t),n.reportTouchActivity=!1;var i=D(this,e.call(this,null,n,r));return i.hasStarted_=!1,i.on("playing",(function(){this.hasStarted_=!0})),i.on("loadstart",(function(){this.hasStarted_=!1})),_n.names.forEach((function(e){var t=_n[e];n&&n[t.getterName]&&(i[t.privateName]=n[t.getterName])})),i.featuresProgressEvents||i.manualProgressOn(),i.featuresTimeupdateEvents||i.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(e){!1===n["native"+e+"Tracks"]&&(i["featuresNative"+e+"Tracks"]=!1)})),!1===n.nativeCaptions||!1===n.nativeTextTracks?i.featuresNativeTextTracks=!1:!0!==n.nativeCaptions&&!0!==n.nativeTextTracks||(i.featuresNativeTextTracks=!0),i.featuresNativeTextTracks||i.emulateTextTracks(),i.autoRemoteTextTracks_=new _n.text.ListClass,i.initTrackListeners(),n.nativeControlsForTouch||i.emitTapEvents(),i.constructor&&(i.name_=i.constructor.name||"Unknown Tech"),i}return M(t,e),t.prototype.triggerSourceset=function(e){var t=this;this.isReady_||this.one("ready",(function(){return t.setTimeout((function(){return t.triggerSourceset(e)}),1)})),this.trigger({src:e,type:"sourceset"})},t.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},t.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},t.prototype.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(tt(this,(function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()})),500)},t.prototype.onDurationChange=function(e){this.duration_=this.duration()},t.prototype.buffered=function(){return wt(0,0)},t.prototype.bufferedPercent=function(){return kt(this.buffered(),this.duration_)},t.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},t.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},t.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},t.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.dispose=function(){this.clearTracks(yn.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},t.prototype.clearTracks=function(e){var t=this;e=[].concat(e),e.forEach((function(e){var n=t[e+"Tracks"]()||[],r=n.length;while(r--){var i=n[r];"text"===e&&t.removeRemoteTextTrack(i),n.removeTrack(i)}}))},t.prototype.cleanupAutoTextTracks=function(){var e=this.autoRemoteTextTracks_||[],t=e.length;while(t--){var n=e[t];this.removeRemoteTextTrack(n)}},t.prototype.reset=function(){},t.prototype.error=function(e){return void 0!==e&&(this.error_=new Ot(e),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?wt(0,0):wt()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTrackListeners=function(){var e=this;yn.names.forEach((function(t){var n=yn[t],r=function(){e.trigger(t+"trackchange")},i=e[n.getterName]();i.addEventListener("removetrack",r),i.addEventListener("addtrack",r),e.on("dispose",(function(){i.removeEventListener("removetrack",r),i.removeEventListener("addtrack",r)}))}))},t.prototype.addWebVttScript_=function(){var e=this;if(!i.WebVTT)if(o.body.contains(this.el())){if(!this.options_["vtt.js"]&&V(u)&&Object.keys(u).length>0)return void this.trigger("vttjsloaded");var t=o.createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.4/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",(function(){t.onload=null,t.onerror=null})),i.WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)},t.prototype.emulateTextTracks=function(){var e=this,t=this.textTracks(),n=this.remoteTextTracks(),r=function(e){return t.addTrack(e.track)},i=function(e){return t.removeTrack(e.track)};n.on("addtrack",r),n.on("removetrack",i),this.addWebVttScript_();var o=function(){return e.trigger("texttrackchange")},a=function(){o();for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],r=this.createRemoteTextTrack(t);return!0!==n&&!1!==n&&(X.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),!0!==n&&this.ready((function(){return e.autoRemoteTextTracks_.addTrack(r.track)})),r},t.prototype.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)},t.prototype.getVideoPlaybackQuality=function(){return{}},t.prototype.setPoster=function(){},t.prototype.playsinline=function(){},t.prototype.setPlaysinline=function(){},t.prototype.canPlayType=function(){return""},t.canPlayType=function(){return""},t.canPlaySource=function(e,n){return t.canPlayType(e.type)},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");if(!t.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!t.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=gt(e),t.techs_[e]=n,"Tech"!==e&&t.defaultTechOrder_.push(e),n},t.getTech=function(e){if(e)return e=gt(e),t.techs_&&t.techs_[e]?t.techs_[e]:i&&i.videojs&&i.videojs[e]?(X.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),i.videojs[e]):void 0},t}(bt);_n.names.forEach((function(e){var t=_n[e];Cn.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),Cn.prototype.featuresVolumeControl=!0,Cn.prototype.featuresMuteControl=!0,Cn.prototype.featuresFullscreenResize=!1,Cn.prototype.featuresPlaybackRate=!1,Cn.prototype.featuresProgressEvents=!1,Cn.prototype.featuresSourceset=!1,Cn.prototype.featuresTimeupdateEvents=!1,Cn.prototype.featuresNativeTextTracks=!1,Cn.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n=e.sourceHandlers||[],r=void 0,i=0;i3&&void 0!==arguments[3]?arguments[3]:null,i="call"+gt(n),o=e.reduce(Ln(i),r),a=o===Tn,s=a?null:t[n](o);return Mn(e,n,s,a),s}var Pn={buffered:1,currentTime:1,duration:1,seekable:1,played:1,paused:1},Bn={setCurrentTime:1},In={play:1,pause:1};function Ln(e){return function(t,n){return t===Tn?Tn:n[e]?n[e](t):t}}function Mn(e,t,n,r){for(var i=e.length-1;i>=0;i--){var o=e[i];o[t]&&o[t](r,n)}}function Dn(e){kn[e.id()]=null}function Nn(e,t){var n=kn[e.id()],r=null;if(void 0===n||null===n)return r=t(e),kn[e.id()]=[[t,r]],r;for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],r=arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=t[0],s=t.slice(1);if("string"===typeof a)Rn(e,wn[a],n,r,i,o);else if(a){var l=Nn(r,a);if(!l.setSource)return i.push(l),Rn(e,s,n,r,i,o);l.setSource(W({},e),(function(t,a){if(t)return Rn(e,s,n,r,i,o);i.push(l),Rn(a,e.type===a.type?s:wn[a.type],n,r,i,o)}))}else s.length?Rn(e,s,n,r,i,o):o?n(e,i):Rn(e,wn["*"],n,r,i,!0)}var Fn={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",mp3:"audio/mpeg",aac:"audio/aac",oga:"audio/ogg",m3u8:"application/x-mpegURL"},Un=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=on(e),n=Fn[t.toLowerCase()];return n||""},zn=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var n=e.cache_.sources.filter((function(e){return e.src===t}));if(n.length)return n[0].type;for(var r=e.$$("source"),i=0;i0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=W({innerHTML:'',className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&X.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=W({role:"button"},r),this.tabIndex_=n.tabIndex;var i=e.prototype.createEl.call(this,t,n,r);return this.createControlTextEl(i),i},t.prototype.dispose=function(){this.controlTextEl_=null,e.prototype.dispose.call(this)},t.prototype.createControlTextEl=function(e){return this.controlTextEl_=ae("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},t.prototype.controlText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(void 0===e)return this.controlText_||"Need Text";var n=this.localize(e);this.controlText_=e,se(this.controlTextEl_,n),this.nonIconControl||t.setAttribute("title",n)},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!==typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur))},t.prototype.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!==typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off(["tap","click"],this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur)},t.prototype.handleClick=function(e){},t.prototype.handleFocus=function(e){He(o,"keydown",tt(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.trigger("click")):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(e){Ve(o,"keydown",tt(this,this.handleKeyPress))},t}(bt);bt.registerComponent("ClickableComponent",Gn);var Yn=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.update(),n.on("posterchange",tt(i,i.update)),i}return M(t,e),t.prototype.dispose=function(){this.player().off("posterchange",this.update),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=ae("div",{className:"vjs-poster",tabIndex:-1});return P||(this.fallbackImg_=ae("img"),e.appendChild(this.fallbackImg_)),e},t.prototype.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},t.prototype.setSrc=function(e){if(this.fallbackImg_)this.fallbackImg_.src=e;else{var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(e){this.player_.controls()&&(this.player_.paused()?It(this.player_.play()):this.player_.pause())},t}(Gn);bt.registerComponent("PosterImage",Yn);var Kn="#222",Xn="#ccc",$n={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function Qn(e,t){var n=void 0;if(4===e.length)n=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");n=e.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function Jn(e,t,n){try{e.style[t]=n}catch(r){return}}var Zn=function(e){function t(n,r,o){L(this,t);var a=D(this,e.call(this,n,r,o)),s=tt(a,a.updateDisplay);return n.on("loadstart",tt(a,a.toggleDisplay)),n.on("texttrackchange",s),n.on("loadstart",tt(a,a.preselectTrack)),n.ready(tt(a,(function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)this.hide();else{n.on("fullscreenchange",s),n.on("playerresize",s),i.addEventListener&&i.addEventListener("orientationchange",s),n.on("dispose",(function(){return i.removeEventListener("orientationchange",s)}));for(var e=this.options_.playerOptions.tracks||[],t=0;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e="button",t=W({innerHTML:'',className:this.buildCSSClass()},t),n=W({type:"button"},n);var r=bt.prototype.createEl.call(this,e,t,n);return this.createControlTextEl(r),r},t.prototype.addChild=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return X.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),bt.prototype.addChild.call(this,e,t)},t.prototype.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},t.prototype.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&e.prototype.handleKeyPress.call(this,t)},t}(Gn);bt.registerComponent("Button",tr);var nr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.mouseused_=!1,i.on("mousedown",i.handleMouseDown),i}return M(t,e),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY)It(t);else{var n=this.player_.getChild("controlBar"),r=n&&n.getChild("playToggle");if(r){var i=function(){return r.focus()};Bt(t)?t.then(i,(function(){})):this.setTimeout(i,1)}else this.player_.focus()}},t.prototype.handleKeyPress=function(t){this.mouseused_=!1,e.prototype.handleKeyPress.call(this,t)},t.prototype.handleMouseDown=function(e){this.mouseused_=!0},t}(tr);nr.prototype.controlText_="Play Video",bt.registerComponent("BigPlayButton",nr);var rr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.controlText(r&&r.controlText||i.localize("Close")),i}return M(t,e),t.prototype.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},t}(tr);bt.registerComponent("CloseButton",rr);var ir=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.on(n,"play",i.handlePlay),i.on(n,"pause",i.handlePause),i.on(n,"ended",i.handleEnded),i}return M(t,e),t.prototype.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},t.prototype.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},t.prototype.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},t.prototype.handleEnded=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},t}(tr);ir.prototype.controlText_="Play",bt.registerComponent("PlayToggle",ir);var or=function(e,t){e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),i=Math.floor(e/3600),o=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(i=r=n="-"),i=i>0||a>0?i+":":"",r=((i||o>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,i+r+n},ar=or;function sr(e){ar=e}function lr(){ar=or}var ur=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return ar(e,t)},cr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.throttledUpdateContent=nt(tt(i,i.updateContent),25),i.on(n,"timeupdate",i.throttledUpdateContent),i}return M(t,e),t.prototype.createEl=function(t){var n=this.buildCSSClass(),r=e.prototype.createEl.call(this,"div",{className:n+" vjs-time-control vjs-control",innerHTML:''+this.localize(this.labelText_)+" "});return this.contentEl_=ae("span",{className:n+"-display"},{"aria-live":"off"}),this.updateTextNode_(),r.appendChild(this.contentEl_),r},t.prototype.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},t.prototype.updateTextNode_=function(){if(this.contentEl_){while(this.contentEl_.firstChild)this.contentEl_.removeChild(this.contentEl_.firstChild);this.textNode_=o.createTextNode(this.formattedTime_||this.formatTime_(0)),this.contentEl_.appendChild(this.textNode_)}},t.prototype.formatTime_=function(e){return ur(e)},t.prototype.updateFormattedTime_=function(e){var t=this.formatTime_(e);t!==this.formattedTime_&&(this.formattedTime_=t,this.requestAnimationFrame(this.updateTextNode_))},t.prototype.updateContent=function(e){},t}(bt);cr.prototype.labelText_="Time",cr.prototype.controlText_="Time",bt.registerComponent("TimeDisplay",cr);var dr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.on(n,"ended",i.handleEnded),i}return M(t,e),t.prototype.buildCSSClass=function(){return"vjs-current-time"},t.prototype.updateContent=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateFormattedTime_(t)},t.prototype.handleEnded=function(e){this.player_.duration()&&this.updateFormattedTime_(this.player_.duration())},t}(cr);dr.prototype.labelText_="Current Time",dr.prototype.controlText_="Current Time",bt.registerComponent("CurrentTimeDisplay",dr);var fr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.on(n,"durationchange",i.updateContent),i.on(n,"loadedmetadata",i.throttledUpdateContent),i}return M(t,e),t.prototype.buildCSSClass=function(){return"vjs-duration"},t.prototype.updateContent=function(e){var t=this.player_.duration();t&&this.duration_!==t&&(this.duration_=t,this.updateFormattedTime_(t))},t}(cr);fr.prototype.labelText_="Duration",fr.prototype.controlText_="Duration",bt.registerComponent("DurationDisplay",fr);var hr=function(e){function t(){return L(this,t),D(this,e.apply(this,arguments))}return M(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"
/
"})},t}(bt);bt.registerComponent("TimeDivider",hr);var pr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.on(n,"durationchange",i.throttledUpdateContent),i.on(n,"ended",i.handleEnded),i}return M(t,e),t.prototype.buildCSSClass=function(){return"vjs-remaining-time"},t.prototype.formatTime_=function(t){return"-"+e.prototype.formatTime_.call(this,t)},t.prototype.updateContent=function(e){this.player_.duration()&&(this.player_.remainingTimeDisplay?this.updateFormattedTime_(this.player_.remainingTimeDisplay()):this.updateFormattedTime_(this.player_.remainingTime()))},t.prototype.handleEnded=function(e){this.player_.duration()&&this.updateFormattedTime_(0)},t}(cr);pr.prototype.labelText_="Remaining Time",pr.prototype.controlText_="Remaining Time",bt.registerComponent("RemainingTimeDisplay",pr);var vr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.updateShowing(),i.on(i.player(),"durationchange",i.updateShowing),i}return M(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=ae("div",{className:"vjs-live-display",innerHTML:''+this.localize("Stream Type")+" "+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},t.prototype.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(bt);bt.registerComponent("LiveDisplay",vr);var gr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.bar=i.getChild(i.options_.barName),i.vertical(!!i.options_.vertical),i.enable(),i}return M(t,e),t.prototype.enabled=function(){return this.enabled_},t.prototype.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},t.prototype.disable=function(){if(this.enabled()){var e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this.off("click",this.handleClick),this.off(this.player_,"controlsvisible",this.update),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},t.prototype.createEl=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=W({tabIndex:0},n),r=W({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},t.prototype.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||T||e.preventDefault(),ye(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchmove",this.handleMouseMove),this.on(t,"touchend",this.handleMouseUp),this.handleMouseMove(e)},t.prototype.handleMouseMove=function(e){},t.prototype.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;be(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.update()},t.prototype.update=function(){if(this.el_){var e=this.getPercent(),t=this.bar;if(t){("number"!==typeof e||e!==e||e<0||e===1/0)&&(e=0);var n=(100*e).toFixed(2)+"%",r=t.el().style;return this.vertical()?r.height=n:r.width=n,e}}},t.prototype.calculateDistance=function(e){var t=Ce(this.el_,e);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepBack()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepForward())},t.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleClick=function(e){e.stopImmediatePropagation(),e.preventDefault()},t.prototype.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(bt);bt.registerComponent("Slider",gr);var mr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.partEls_=[],i.on(n,"progress",i.update),i}return M(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:''+this.localize("Loaded")+": 0%"})},t.prototype.dispose=function(){this.partEls_=null,e.prototype.dispose.call(this)},t.prototype.update=function(e){var t=this.player_.buffered(),n=this.player_.duration(),r=this.player_.bufferedEnd(),i=this.partEls_,o=function(e,t){var n=e/t||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=o(r,n);for(var a=0;at.length;c--)this.el_.removeChild(i[c-1]);i.length=t.length},t}(bt);bt.registerComponent("LoadProgressBar",mr);var yr=function(e){function t(){return L(this,t),D(this,e.apply(this,arguments))}return M(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},t.prototype.update=function(e,t,n){var r=_e(this.el_),i=_e(this.player_.el()),o=e.width*t;if(i&&r){var a=e.left-i.left+o,s=e.width-o+(i.right-e.right),l=r.width/2;ar.width&&(l=r.width),this.el_.style.right="-"+l+"px",se(this.el_,n)}},t}(bt);bt.registerComponent("TimeTooltip",yr);var br=function(e){function t(){return L(this,t),D(this,e.apply(this,arguments))}return M(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:''+this.localize("Progress")+": 0%"})},t.prototype.update=function(e,t){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var r=n.player_.scrubbing()?n.player_.getCache().currentTime:n.player_.currentTime(),i=ur(r,n.player_.duration()),o=n.getChild("timeTooltip");o&&o.update(e,t,i)}))},t}(bt);br.prototype.options_={children:[]},S&&!(S>8)||m||b||br.prototype.options_.children.push("timeTooltip"),bt.registerComponent("PlayProgressBar",br);var _r=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.update=nt(tt(i,i.update),25),i}return M(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.update=function(e,t){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var r=n.player_.duration(),i=ur(t*r,r);n.el_.style.left=e.width*t+"px",n.getChild("timeTooltip").update(e,t,i)}))},t}(bt);_r.prototype.options_={children:["timeTooltip"]},bt.registerComponent("MouseTimeDisplay",_r);var Ar=5,Cr=30,wr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.setEventHandlers_(),i}return M(t,e),t.prototype.setEventHandlers_=function(){var e=this;this.update=nt(tt(this,this.update),Cr),this.on(this.player_,"timeupdate",this.update),this.on(this.player_,"ended",this.handleEnded),this.updateInterval=null,this.on(this.player_,["playing"],(function(){e.clearInterval(e.updateInterval),e.updateInterval=e.setInterval((function(){e.requestAnimationFrame((function(){e.update()}))}),Cr)})),this.on(this.player_,["ended","pause","waiting"],(function(){e.clearInterval(e.updateInterval)})),this.on(this.player_,["timeupdate","ended"],this.update)},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},t.prototype.update_=function(e,t){var n=this.player_.duration();this.el_.setAttribute("aria-valuenow",(100*t).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[ur(e,n),ur(n,n)],"{1} of {2}")),this.bar.update(_e(this.el_),t)},t.prototype.update=function(t){var n=e.prototype.update.call(this);return this.update_(this.getCurrentTime_(),n),n},t.prototype.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},t.prototype.handleEnded=function(e){this.update_(this.player_.duration(),1)},t.prototype.getPercent=function(){var e=this.getCurrentTime_()/this.player_.duration();return e>=1?1:e},t.prototype.handleMouseDown=function(t){Se(t)&&(t.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},t.prototype.handleMouseMove=function(e){if(Se(e)){var t=this.calculateDistance(e)*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t)}},t.prototype.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},t.prototype.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},t.prototype.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying&&It(this.player_.play())},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+Ar)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-Ar)},t.prototype.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleAction(t)):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t}(gr);wr.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},S&&!(S>8)||m||b||wr.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),wr.prototype.playerEvent="timeupdate",bt.registerComponent("SeekBar",wr);var kr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.handleMouseMove=nt(tt(i,i.handleMouseMove),25),i.throttledHandleMouseSeek=nt(tt(i,i.handleMouseSeek),25),i.enable(),i}return M(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t.prototype.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var n=t.getChild("mouseTimeDisplay"),r=t.el(),i=_e(r),o=Ce(r,e).x;o>1?o=1:o<0&&(o=0),n&&n.update(i,o)}},t.prototype.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},t.prototype.enabled=function(){return this.enabled_},t.prototype.disable=function(){this.children().forEach((function(e){return e.disable&&e.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},t.prototype.enable=function(){this.children().forEach((function(e){return e.enable&&e.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},t.prototype.handleMouseDown=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},t.prototype.handleMouseUp=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseUp(e),this.off(t,"mousemove",this.throttledHandleMouseSeek),this.off(t,"touchmove",this.throttledHandleMouseSeek),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},t}(bt);kr.prototype.options_={children:["seekBar"]},bt.registerComponent("ProgressControl",kr);var Tr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.on(n,"fullscreenchange",i.handleFullscreenChange),!1===o[Tt.fullscreenEnabled]&&i.disable(),i}return M(t,e),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(tr);Tr.prototype.controlText_="Fullscreen",bt.registerComponent("FullscreenToggle",Tr);var xr=function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))},Er=function(e){function t(){return L(this,t),D(this,e.apply(this,arguments))}return M(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:''})},t}(bt);bt.registerComponent("VolumeLevel",Er);var Sr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.on("slideractive",i.updateLastVolume_),i.on(n,"volumechange",i.updateARIAAttributes),n.ready((function(){return i.updateARIAAttributes()})),i}return M(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},t.prototype.handleMouseDown=function(t){Se(t)&&e.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(e){Se(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},t.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},t.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},t.prototype.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},t.prototype.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},t.prototype.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",(function(){0===e.player_.volume()&&e.player_.lastVolume_(t)}))},t}(gr);Sr.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Sr.prototype.playerEvent="volumechange",bt.registerComponent("VolumeBar",Sr);var jr=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};L(this,t),r.vertical=r.vertical||!1,("undefined"===typeof r.volumeBar||V(r.volumeBar))&&(r.volumeBar=r.volumeBar||{},r.volumeBar.vertical=r.vertical);var i=D(this,e.call(this,n,r));return xr(i,n),i.throttledHandleMouseMove=nt(tt(i,i.handleMouseMove),25),i.on("mousedown",i.handleMouseDown),i.on("touchstart",i.handleMouseDown),i.on(i.volumeBar,["focus","slideractive"],(function(){i.volumeBar.addClass("vjs-slider-active"),i.addClass("vjs-slider-active"),i.trigger("slideractive")})),i.on(i.volumeBar,["blur","sliderinactive"],(function(){i.volumeBar.removeClass("vjs-slider-active"),i.removeClass("vjs-slider-active"),i.trigger("sliderinactive")})),i}return M(t,e),t.prototype.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},t.prototype.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},t.prototype.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},t.prototype.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(bt);jr.prototype.options_={children:["volumeBar"]},bt.registerComponent("VolumeControl",jr);var qr=function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))},Or=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return qr(i,n),i.on(n,["loadstart","volumechange"],i.update),i}return M(t,e),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){var t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},t.prototype.update=function(e){this.updateIcon_(),this.updateControlText_()},t.prototype.updateIcon_=function(){var e=this.player_.volume(),t=3;m&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var n=0;n<4;n++)de(this.el_,"vjs-vol-"+n);ce(this.el_,"vjs-vol-"+t)},t.prototype.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume(),t=e?"Unmute":"Mute";this.controlText()!==t&&this.controlText(t)},t}(tr);Or.prototype.controlText_="Mute",bt.registerComponent("MuteToggle",Or);var Pr=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};L(this,t),"undefined"!==typeof r.inline?r.inline=r.inline:r.inline=!0,("undefined"===typeof r.volumeControl||V(r.volumeControl))&&(r.volumeControl=r.volumeControl||{},r.volumeControl.vertical=!r.inline);var i=D(this,e.call(this,n,r));return i.on(n,["loadstart"],i.volumePanelState_),i.on(i.volumeControl,["slideractive"],i.sliderActive_),i.on(i.volumeControl,["sliderinactive"],i.sliderInactive_),i}return M(t,e),t.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},t.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},t.prototype.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},t.prototype.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},t}(bt);Pr.prototype.options_={children:["muteToggle","volumeControl"]},bt.registerComponent("VolumePanel",Pr);var Br=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return r&&(i.menuButton_=r.menuButton),i.focusedChild_=-1,i.on("keydown",i.handleKeyPress),i}return M(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",tt(this,(function(t){this.menuButton_&&(this.menuButton_.unpressButton(),"CaptionSettingsMenuItem"!==e.name()&&this.menuButton_.focus())})))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=ae(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),He(n,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),n},t.prototype.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepForward()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},t.prototype.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},t.prototype.focus=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.children().slice(),n=t.length&&t[0].className&&/vjs-menu-title/.test(t[0].className);n&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(bt);bt.registerComponent("Menu",Br);var Ir=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};L(this,t);var i=D(this,e.call(this,n,r));i.menuButton_=new tr(n,r),i.menuButton_.controlText(i.controlText_),i.menuButton_.el_.setAttribute("aria-haspopup","true");var o=tr.prototype.buildCSSClass();return i.menuButton_.el_.className=i.buildCSSClass()+" "+o,i.menuButton_.removeClass("vjs-control"),i.addChild(i.menuButton_),i.update(),i.enabled_=!0,i.on(i.menuButton_,"tap",i.handleClick),i.on(i.menuButton_,"click",i.handleClick),i.on(i.menuButton_,"focus",i.handleFocus),i.on(i.menuButton_,"blur",i.handleBlur),i.on("keydown",i.handleSubmenuKeyPress),i}return M(t,e),t.prototype.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},t.prototype.createMenu=function(){var e=new Br(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=ae("li",{className:"vjs-menu-title",innerHTML:gt(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,e.children_.unshift(t),le(t,e.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(e,t)},t.prototype.handleClick=function(e){this.one(this.menu.contentEl(),"mouseleave",tt(this,(function(e){this.unpressButton(),this.el_.blur()}))),this.buttonPressed_?this.unpressButton():this.pressButton()},t.prototype.focus=function(){this.menuButton_.focus()},t.prototype.blur=function(){this.menuButton_.blur()},t.prototype.handleFocus=function(){He(o,"keydown",tt(this,this.handleKeyPress))},t.prototype.handleBlur=function(){Ve(o,"keydown",tt(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(e){27===e.which||9===e.which?(this.buttonPressed_&&this.unpressButton(),9!==e.which&&(e.preventDefault(),this.menuButton_.el_.focus())):38!==e.which&&40!==e.which||this.buttonPressed_||(this.pressButton(),e.preventDefault())},t.prototype.handleSubmenuKeyPress=function(e){27!==e.which&&9!==e.which||(this.buttonPressed_&&this.unpressButton(),9!==e.which&&(e.preventDefault(),this.menuButton_.el_.focus()))},t.prototype.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),m&&ie())return;this.menu.focus()}},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},t.prototype.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},t.prototype.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},t}(bt);bt.registerComponent("MenuButton",Ir);var Lr=function(e){function t(n,r){L(this,t);var i=r.tracks,o=D(this,e.call(this,n,r));if(o.items.length<=1&&o.hide(),!i)return D(o);var a=tt(o,o.update);return i.addEventListener("removetrack",a),i.addEventListener("addtrack",a),o.player_.on("ready",a),o.player_.on("dispose",(function(){i.removeEventListener("removetrack",a),i.removeEventListener("addtrack",a)})),o}return M(t,e),t}(Ir);bt.registerComponent("TrackButton",Lr);var Mr=function(e){function t(n,r){L(this,t);var i=D(this,e.call(this,n,r));return i.selectable=r.selectable,i.isSelected_=r.selected||!1,i.multiSelectable=r.multiSelectable,i.selected(i.isSelected_),i.selectable?i.multiSelectable?i.el_.setAttribute("role","menuitemcheckbox"):i.el_.setAttribute("role","menuitemradio"):i.el_.setAttribute("role","menuitem"),i}return M(t,e),t.prototype.createEl=function(t,n,r){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",W({className:"vjs-menu-item",innerHTML:''+this.localize(this.options_.label)+"",tabIndex:-1},n),r)},t.prototype.handleClick=function(e){this.selected(!0)},t.prototype.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},t}(Gn);bt.registerComponent("MenuItem",Mr);var Dr=function(e){function t(n,r){L(this,t);var a=r.track,s=n.textTracks();r.label=a.label||a.language||"Unknown",r.selected="showing"===a.mode;var l=D(this,e.call(this,n,r));l.track=a;var u=function(){for(var e=arguments.length,t=Array(e),n=0;n-1?"showing"!==a.mode&&(a.mode="showing"):"disabled"!==a.mode&&(a.mode="disabled")}},t.prototype.handleTracksChange=function(e){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},t.prototype.handleSelectedLanguageChange=function(e){if("showing"===this.track.mode){var t=this.player_.cache_.selectedLanguage;if(t&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},t.prototype.dispose=function(){this.track=null,e.prototype.dispose.call(this)},t}(Mr);bt.registerComponent("TextTrackMenuItem",Dr);var Nr=function(e){function t(n,r){return L(this,t),r.track={player:n,kind:r.kind,kinds:r.kinds,default:!1,mode:"disabled"},r.kinds||(r.kinds=[r.kind]),r.label?r.track.label=r.label:r.track.label=r.kinds.join(" and ")+" off",r.selectable=!0,r.multiSelectable=!1,D(this,e.call(this,n,r))}return M(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r-1&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},t.prototype.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(Dr);bt.registerComponent("OffTextTrackMenuItem",Nr);var Rr=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return L(this,t),r.tracks=n.textTracks(),D(this,e.call(this,n,r))}return M(t,e),t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dr,n=void 0;this.label_&&(n=this.label_+" off"),e.push(new Nr(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i-1){var a=new t(this.player_,{track:o,selectable:!0,multiSelectable:!1});a.addClass("vjs-"+o.kind+"-menu-item"),e.push(a)}}return e},t}(Lr);bt.registerComponent("TextTrackButton",Rr);var Fr=function(e){function t(n,r){L(this,t);var i=r.track,o=r.cue,a=n.currentTime();r.selectable=!0,r.multiSelectable=!1,r.label=o.text,r.selected=o.startTime<=a&&a=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(gt(this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},t.prototype.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n