From c9db6741f2596d68a7ce148cd83f72c877e1c63f Mon Sep 17 00:00:00 2001 From: mozzie Date: Tue, 14 Mar 2023 21:13:02 +0800 Subject: [PATCH] feat: login --- apps/admin/src/api/index.ts | 2 +- apps/web/index.html | 1 - apps/web/public/player/font/VideoJS.eot | Bin 6952 -> 0 bytes apps/web/public/player/font/VideoJS.svg | 108 - apps/web/public/player/font/VideoJS.ttf | Bin 6788 -> 0 bytes apps/web/public/player/font/VideoJS.woff | Bin 4168 -> 0 bytes apps/web/public/player/ie8/videojs-ie8.js | 2600 -- apps/web/public/player/ie8/videojs-ie8.min.js | 1 - apps/web/public/player/lang/ar.js | 34 - apps/web/public/player/lang/ba.js | 26 - apps/web/public/player/lang/bg.js | 26 - apps/web/public/player/lang/ca.js | 26 - apps/web/public/player/lang/cs.js | 26 - apps/web/public/player/lang/da.js | 26 - apps/web/public/player/lang/de.js | 84 - apps/web/public/player/lang/el.js | 40 - apps/web/public/player/lang/en.js | 100 - apps/web/public/player/lang/es.js | 27 - apps/web/public/player/lang/fa.js | 84 - apps/web/public/player/lang/fi.js | 26 - apps/web/public/player/lang/fr.js | 84 - apps/web/public/player/lang/gl.js | 27 - apps/web/public/player/lang/he.js | 84 - apps/web/public/player/lang/hr.js | 26 - apps/web/public/player/lang/hu.js | 26 - apps/web/public/player/lang/it.js | 26 - apps/web/public/player/lang/ja.js | 26 - apps/web/public/player/lang/ko.js | 26 - apps/web/public/player/lang/nb.js | 26 - apps/web/public/player/lang/nl.js | 84 - apps/web/public/player/lang/nn.js | 26 - apps/web/public/player/lang/pl.js | 34 - apps/web/public/player/lang/pt-BR.js | 26 - apps/web/public/player/lang/pt-PT.js | 41 - apps/web/public/player/lang/ru.js | 84 - apps/web/public/player/lang/sk.js | 84 - apps/web/public/player/lang/sr.js | 26 - apps/web/public/player/lang/sv.js | 26 - apps/web/public/player/lang/tr.js | 76 - apps/web/public/player/lang/uk.js | 40 - apps/web/public/player/lang/vi.js | 84 - apps/web/public/player/lang/zh-CN.js | 118 - apps/web/public/player/lang/zh-TW.js | 83 - .../player/libs/TXLivePlayer-1.2.3.min.js | 1 - .../public/player/libs/dash.all.min.2.9.3.js | 32 - .../public/player/libs/dash.all.min.4.5.2.js | 2 - .../public/player/libs/dash.all.min.v3.1.3.js | 22 - apps/web/public/player/libs/flv.min.1.5.js | 7 - apps/web/public/player/libs/flv.min.1.6.2.js | 10 - apps/web/public/player/libs/flv.min.1.6.3.js | 10 - apps/web/public/player/libs/hls.min.0.12.4.js | 2 - .../web/public/player/libs/hls.min.0.13.2m.js | 4 - apps/web/public/player/libs/hls.min.1.1.5.js | 28831 ---------------- apps/web/public/player/libs/hls.min.1.1.6.js | 4 - .../public/player/libs/vconsole.min.3.3.0.js | 10 - apps/web/public/player/tcplayer.min.css | 1 - apps/web/public/player/tcplayer.v4.7.2.min.js | 17 - apps/web/public/player/tcplayer_pure.min.css | 1 - apps/web/src/assets/logo.svg | 3 + apps/web/src/router/Guard.tsx | 22 +- apps/web/src/view/Login/index.less | 98 +- apps/web/src/view/Login/index.tsx | 46 +- 62 files changed, 107 insertions(+), 33436 deletions(-) delete mode 100644 apps/web/public/player/font/VideoJS.eot delete mode 100644 apps/web/public/player/font/VideoJS.svg delete mode 100644 apps/web/public/player/font/VideoJS.ttf delete mode 100644 apps/web/public/player/font/VideoJS.woff delete mode 100644 apps/web/public/player/ie8/videojs-ie8.js delete mode 100644 apps/web/public/player/ie8/videojs-ie8.min.js delete mode 100644 apps/web/public/player/lang/ar.js delete mode 100644 apps/web/public/player/lang/ba.js delete mode 100644 apps/web/public/player/lang/bg.js delete mode 100644 apps/web/public/player/lang/ca.js delete mode 100644 apps/web/public/player/lang/cs.js delete mode 100644 apps/web/public/player/lang/da.js delete mode 100644 apps/web/public/player/lang/de.js delete mode 100644 apps/web/public/player/lang/el.js delete mode 100644 apps/web/public/player/lang/en.js delete mode 100644 apps/web/public/player/lang/es.js delete mode 100644 apps/web/public/player/lang/fa.js delete mode 100644 apps/web/public/player/lang/fi.js delete mode 100644 apps/web/public/player/lang/fr.js delete mode 100644 apps/web/public/player/lang/gl.js delete mode 100644 apps/web/public/player/lang/he.js delete mode 100644 apps/web/public/player/lang/hr.js delete mode 100644 apps/web/public/player/lang/hu.js delete mode 100644 apps/web/public/player/lang/it.js delete mode 100644 apps/web/public/player/lang/ja.js delete mode 100644 apps/web/public/player/lang/ko.js delete mode 100644 apps/web/public/player/lang/nb.js delete mode 100644 apps/web/public/player/lang/nl.js delete mode 100644 apps/web/public/player/lang/nn.js delete mode 100644 apps/web/public/player/lang/pl.js delete mode 100644 apps/web/public/player/lang/pt-BR.js delete mode 100644 apps/web/public/player/lang/pt-PT.js delete mode 100644 apps/web/public/player/lang/ru.js delete mode 100644 apps/web/public/player/lang/sk.js delete mode 100644 apps/web/public/player/lang/sr.js delete mode 100644 apps/web/public/player/lang/sv.js delete mode 100644 apps/web/public/player/lang/tr.js delete mode 100644 apps/web/public/player/lang/uk.js delete mode 100644 apps/web/public/player/lang/vi.js delete mode 100644 apps/web/public/player/lang/zh-CN.js delete mode 100644 apps/web/public/player/lang/zh-TW.js delete mode 100644 apps/web/public/player/libs/TXLivePlayer-1.2.3.min.js delete mode 100644 apps/web/public/player/libs/dash.all.min.2.9.3.js delete mode 100644 apps/web/public/player/libs/dash.all.min.4.5.2.js delete mode 100644 apps/web/public/player/libs/dash.all.min.v3.1.3.js delete mode 100644 apps/web/public/player/libs/flv.min.1.5.js delete mode 100644 apps/web/public/player/libs/flv.min.1.6.2.js delete mode 100644 apps/web/public/player/libs/flv.min.1.6.3.js delete mode 100644 apps/web/public/player/libs/hls.min.0.12.4.js delete mode 100644 apps/web/public/player/libs/hls.min.0.13.2m.js delete mode 100644 apps/web/public/player/libs/hls.min.1.1.5.js delete mode 100644 apps/web/public/player/libs/hls.min.1.1.6.js delete mode 100644 apps/web/public/player/libs/vconsole.min.3.3.0.js delete mode 100644 apps/web/public/player/tcplayer.min.css delete mode 100644 apps/web/public/player/tcplayer.v4.7.2.min.js delete mode 100644 apps/web/public/player/tcplayer_pure.min.css create mode 100644 apps/web/src/assets/logo.svg diff --git a/apps/admin/src/api/index.ts b/apps/admin/src/api/index.ts index 1aaa748..58d329b 100644 --- a/apps/admin/src/api/index.ts +++ b/apps/admin/src/api/index.ts @@ -12,4 +12,4 @@ export const createCourse = (p: ICreateCourseRequest) => R.post("/api/course/create", { ...p }); export const adminLogin = (p: IAdminLogin) => - R.post("/api/admin/user/auth", { ...p }); + R.post("/api/user/admin/auth", { ...p }); diff --git a/apps/web/index.html b/apps/web/index.html index 2734cae..faef69d 100644 --- a/apps/web/index.html +++ b/apps/web/index.html @@ -5,7 +5,6 @@ Vite + React + TS -
diff --git a/apps/web/public/player/font/VideoJS.eot b/apps/web/public/player/font/VideoJS.eot deleted file mode 100644 index 1acb79a13dbaa7b9abec34eac74b7a90547ee647..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6952 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/web/public/player/font/VideoJS.ttf b/apps/web/public/player/font/VideoJS.ttf deleted file mode 100644 index bbe4780fc8d758edb911a66d2f718744fa0870a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6788 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 OF THE DOCUMENT** - * - * Video.js uses the video tag as an embed code, even in IE8 which - * doesn't have support for HTML5 video. The following code is needed - * to make it possible to use the video tag. Otherwise IE8 ignores everything - * inside the video tag. - */ -if (typeof window.HTMLVideoElement === 'undefined') { - document.createElement('video'); - document.createElement('audio'); - document.createElement('track'); -} - -/*! - * https://github.com/es-shims/es5-shim - * @license es5-shim Copyright 2009-2015 by contributors, MIT License - * see https://github.com/es-shims/es5-shim/blob/master/LICENSE - */ - -// vim: ts=4 sts=4 sw=4 expandtab - -// Add semicolon to prevent IIFE from being passed as argument to concatenated code. -; - -// UMD (Universal Module Definition) -// see https://github.com/umdjs/umd/blob/master/templates/returnExports.js -(function (root, factory) { - 'use strict'; - - /* global define, exports, module */ - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(factory); - } else if (typeof exports === 'object') { - // Node. Does not work with strict CommonJS, but - // only CommonJS-like enviroments that support module.exports, - // like Node. - module.exports = factory(); - } else { - // Browser globals (root is window) - root.returnExports = factory(); - } -}(this, function () { - -/** - * Brings an environment as close to ECMAScript 5 compliance - * as is possible with the facilities of erstwhile engines. - * - * Annotated ES5: http://es5.github.com/ (specific links below) - * ES5 Spec: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf - * Required reading: http://javascriptweblog.wordpress.com/2011/12/05/extending-javascript-natives/ - */ - -// Shortcut to an often accessed properties, in order to avoid multiple -// dereference that costs universally. This also holds a reference to known-good -// functions. -var $Array = Array; -var ArrayPrototype = $Array.prototype; -var $Object = Object; -var ObjectPrototype = $Object.prototype; -var FunctionPrototype = Function.prototype; -var $String = String; -var StringPrototype = $String.prototype; -var $Number = Number; -var NumberPrototype = $Number.prototype; -var array_slice = ArrayPrototype.slice; -var array_splice = ArrayPrototype.splice; -var array_push = ArrayPrototype.push; -var array_unshift = ArrayPrototype.unshift; -var array_concat = ArrayPrototype.concat; -var call = FunctionPrototype.call; -var apply = FunctionPrototype.apply; -var max = Math.max; -var min = Math.min; - -// Having a toString local variable name breaks in Opera so use to_string. -var to_string = ObjectPrototype.toString; - -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; -var isCallable; /* inlined from https://npmjs.com/is-callable */ var fnToStr = Function.prototype.toString, tryFunctionObject = function tryFunctionObject(value) { try { fnToStr.call(value); return true; } catch (e) { return false; } }, fnClass = '[object Function]', genClass = '[object GeneratorFunction]'; isCallable = function isCallable(value) { if (typeof value !== 'function') { return false; } if (hasToStringTag) { return tryFunctionObject(value); } var strClass = to_string.call(value); return strClass === fnClass || strClass === genClass; }; -var isRegex; /* inlined from https://npmjs.com/is-regex */ var regexExec = RegExp.prototype.exec, tryRegexExec = function tryRegexExec(value) { try { regexExec.call(value); return true; } catch (e) { return false; } }, regexClass = '[object RegExp]'; isRegex = function isRegex(value) { if (typeof value !== 'object') { return false; } return hasToStringTag ? tryRegexExec(value) : to_string.call(value) === regexClass; }; -var isString; /* inlined from https://npmjs.com/is-string */ var strValue = String.prototype.valueOf, tryStringObject = function tryStringObject(value) { try { strValue.call(value); return true; } catch (e) { return false; } }, stringClass = '[object String]'; isString = function isString(value) { if (typeof value === 'string') { return true; } if (typeof value !== 'object') { return false; } return hasToStringTag ? tryStringObject(value) : to_string.call(value) === stringClass; }; - -/* inlined from http://npmjs.com/define-properties */ -var supportsDescriptors = $Object.defineProperty && (function () { - try { - var obj = {}; - $Object.defineProperty(obj, 'x', { enumerable: false, value: obj }); - for (var _ in obj) { return false; } - return obj.x === obj; - } catch (e) { /* this is ES3 */ - return false; - } -}()); -var defineProperties = (function (has) { - // Define configurable, writable, and non-enumerable props - // if they don't exist. - var defineProperty; - if (supportsDescriptors) { - defineProperty = function (object, name, method, forceAssign) { - if (!forceAssign && (name in object)) { return; } - $Object.defineProperty(object, name, { - configurable: true, - enumerable: false, - writable: true, - value: method - }); - }; - } else { - defineProperty = function (object, name, method, forceAssign) { - if (!forceAssign && (name in object)) { return; } - object[name] = method; - }; - } - return function defineProperties(object, map, forceAssign) { - for (var name in map) { - if (has.call(map, name)) { - defineProperty(object, name, map[name], forceAssign); - } - } - }; -}(ObjectPrototype.hasOwnProperty)); - -// -// Util -// ====== -// - -/* replaceable with https://npmjs.com/package/es-abstract /helpers/isPrimitive */ -var isPrimitive = function isPrimitive(input) { - var type = typeof input; - return input === null || (type !== 'object' && type !== 'function'); -}; - -var isActualNaN = $Number.isNaN || function (x) { return x !== x; }; - -var ES = { - // ES5 9.4 - // http://es5.github.com/#x9.4 - // http://jsperf.com/to-integer - /* replaceable with https://npmjs.com/package/es-abstract ES5.ToInteger */ - ToInteger: function ToInteger(num) { - var n = +num; - if (isActualNaN(n)) { - n = 0; - } else if (n !== 0 && n !== (1 / 0) && n !== -(1 / 0)) { - n = (n > 0 || -1) * Math.floor(Math.abs(n)); - } - return n; - }, - - /* replaceable with https://npmjs.com/package/es-abstract ES5.ToPrimitive */ - ToPrimitive: function ToPrimitive(input) { - var val, valueOf, toStr; - if (isPrimitive(input)) { - return input; - } - valueOf = input.valueOf; - if (isCallable(valueOf)) { - val = valueOf.call(input); - if (isPrimitive(val)) { - return val; - } - } - toStr = input.toString; - if (isCallable(toStr)) { - val = toStr.call(input); - if (isPrimitive(val)) { - return val; - } - } - throw new TypeError(); - }, - - // ES5 9.9 - // http://es5.github.com/#x9.9 - /* replaceable with https://npmjs.com/package/es-abstract ES5.ToObject */ - ToObject: function (o) { - if (o == null) { // this matches both null and undefined - throw new TypeError("can't convert " + o + ' to object'); - } - return $Object(o); - }, - - /* replaceable with https://npmjs.com/package/es-abstract ES5.ToUint32 */ - ToUint32: function ToUint32(x) { - return x >>> 0; - } -}; - -// -// Function -// ======== -// - -// ES-5 15.3.4.5 -// http://es5.github.com/#x15.3.4.5 - -var Empty = function Empty() {}; - -defineProperties(FunctionPrototype, { - bind: function bind(that) { // .length is 1 - // 1. Let Target be the this value. - var target = this; - // 2. If IsCallable(Target) is false, throw a TypeError exception. - if (!isCallable(target)) { - throw new TypeError('Function.prototype.bind called on incompatible ' + target); - } - // 3. Let A be a new (possibly empty) internal list of all of the - // argument values provided after thisArg (arg1, arg2 etc), in order. - // XXX slicedArgs will stand in for "A" if used - var args = array_slice.call(arguments, 1); // for normal call - // 4. Let F be a new native ECMAScript object. - // 11. Set the [[Prototype]] internal property of F to the standard - // built-in Function prototype object as specified in 15.3.3.1. - // 12. Set the [[Call]] internal property of F as described in - // 15.3.4.5.1. - // 13. Set the [[Construct]] internal property of F as described in - // 15.3.4.5.2. - // 14. Set the [[HasInstance]] internal property of F as described in - // 15.3.4.5.3. - var bound; - var binder = function () { - - if (this instanceof bound) { - // 15.3.4.5.2 [[Construct]] - // When the [[Construct]] internal method of a function object, - // F that was created using the bind function is called with a - // list of arguments ExtraArgs, the following steps are taken: - // 1. Let target be the value of F's [[TargetFunction]] - // internal property. - // 2. If target has no [[Construct]] internal method, a - // TypeError exception is thrown. - // 3. Let boundArgs be the value of F's [[BoundArgs]] internal - // property. - // 4. Let args be a new list containing the same values as the - // list boundArgs in the same order followed by the same - // values as the list ExtraArgs in the same order. - // 5. Return the result of calling the [[Construct]] internal - // method of target providing args as the arguments. - - var result = target.apply( - this, - array_concat.call(args, array_slice.call(arguments)) - ); - if ($Object(result) === result) { - return result; - } - return this; - - } else { - // 15.3.4.5.1 [[Call]] - // When the [[Call]] internal method of a function object, F, - // which was created using the bind function is called with a - // this value and a list of arguments ExtraArgs, the following - // steps are taken: - // 1. Let boundArgs be the value of F's [[BoundArgs]] internal - // property. - // 2. Let boundThis be the value of F's [[BoundThis]] internal - // property. - // 3. Let target be the value of F's [[TargetFunction]] internal - // property. - // 4. Let args be a new list containing the same values as the - // list boundArgs in the same order followed by the same - // values as the list ExtraArgs in the same order. - // 5. Return the result of calling the [[Call]] internal method - // of target providing boundThis as the this value and - // providing args as the arguments. - - // equiv: target.call(this, ...boundArgs, ...args) - return target.apply( - that, - array_concat.call(args, array_slice.call(arguments)) - ); - - } - - }; - - // 15. If the [[Class]] internal property of Target is "Function", then - // a. Let L be the length property of Target minus the length of A. - // b. Set the length own property of F to either 0 or L, whichever is - // larger. - // 16. Else set the length own property of F to 0. - - var boundLength = max(0, target.length - args.length); - - // 17. Set the attributes of the length own property of F to the values - // specified in 15.3.5.1. - var boundArgs = []; - for (var i = 0; i < boundLength; i++) { - array_push.call(boundArgs, '$' + i); - } - - // XXX Build a dynamic function with desired amount of arguments is the only - // way to set the length property of a function. - // In environments where Content Security Policies enabled (Chrome extensions, - // for ex.) all use of eval or Function costructor throws an exception. - // However in all of these environments Function.prototype.bind exists - // and so this code will never be executed. - bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this, arguments); }')(binder); - - if (target.prototype) { - Empty.prototype = target.prototype; - bound.prototype = new Empty(); - // Clean up dangling references. - Empty.prototype = null; - } - - // TODO - // 18. Set the [[Extensible]] internal property of F to true. - - // TODO - // 19. Let thrower be the [[ThrowTypeError]] function Object (13.2.3). - // 20. Call the [[DefineOwnProperty]] internal method of F with - // arguments "caller", PropertyDescriptor {[[Get]]: thrower, [[Set]]: - // thrower, [[Enumerable]]: false, [[Configurable]]: false}, and - // false. - // 21. Call the [[DefineOwnProperty]] internal method of F with - // arguments "arguments", PropertyDescriptor {[[Get]]: thrower, - // [[Set]]: thrower, [[Enumerable]]: false, [[Configurable]]: false}, - // and false. - - // TODO - // NOTE Function objects created using Function.prototype.bind do not - // have a prototype property or the [[Code]], [[FormalParameters]], and - // [[Scope]] internal properties. - // XXX can't delete prototype in pure-js. - - // 22. Return F. - return bound; - } -}); - -// _Please note: Shortcuts are defined after `Function.prototype.bind` as we -// use it in defining shortcuts. -var owns = call.bind(ObjectPrototype.hasOwnProperty); -var toStr = call.bind(ObjectPrototype.toString); -var arraySlice = call.bind(array_slice); -var arraySliceApply = apply.bind(array_slice); -var strSlice = call.bind(StringPrototype.slice); -var strSplit = call.bind(StringPrototype.split); -var strIndexOf = call.bind(StringPrototype.indexOf); -var pushCall = call.bind(array_push); -var isEnum = call.bind(ObjectPrototype.propertyIsEnumerable); -var arraySort = call.bind(ArrayPrototype.sort); - -// -// Array -// ===== -// - -var isArray = $Array.isArray || function isArray(obj) { - return toStr(obj) === '[object Array]'; -}; - -// ES5 15.4.4.12 -// http://es5.github.com/#x15.4.4.13 -// Return len+argCount. -// [bugfix, ielt8] -// IE < 8 bug: [].unshift(0) === undefined but should be "1" -var hasUnshiftReturnValueBug = [].unshift(0) !== 1; -defineProperties(ArrayPrototype, { - unshift: function () { - array_unshift.apply(this, arguments); - return this.length; - } -}, hasUnshiftReturnValueBug); - -// ES5 15.4.3.2 -// http://es5.github.com/#x15.4.3.2 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/isArray -defineProperties($Array, { isArray: isArray }); - -// The IsCallable() check in the Array functions -// has been replaced with a strict check on the -// internal class of the object to trap cases where -// the provided function was actually a regular -// expression literal, which in V8 and -// JavaScriptCore is a typeof "function". Only in -// V8 are regular expression literals permitted as -// reduce parameters, so it is desirable in the -// general case for the shim to match the more -// strict and common behavior of rejecting regular -// expressions. - -// ES5 15.4.4.18 -// http://es5.github.com/#x15.4.4.18 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/array/forEach - -// Check failure of by-index access of string characters (IE < 9) -// and failure of `0 in boxedString` (Rhino) -var boxedString = $Object('a'); -var splitString = boxedString[0] !== 'a' || !(0 in boxedString); - -var properlyBoxesContext = function properlyBoxed(method) { - // Check node 0.6.21 bug where third parameter is not boxed - var properlyBoxesNonStrict = true; - var properlyBoxesStrict = true; - var threwException = false; - if (method) { - try { - method.call('foo', function (_, __, context) { - if (typeof context !== 'object') { properlyBoxesNonStrict = false; } - }); - - method.call([1], function () { - 'use strict'; - - properlyBoxesStrict = typeof this === 'string'; - }, 'x'); - } catch (e) { - threwException = true; - } - } - return !!method && !threwException && properlyBoxesNonStrict && properlyBoxesStrict; -}; - -defineProperties(ArrayPrototype, { - forEach: function forEach(callbackfn/*, thisArg*/) { - var object = ES.ToObject(this); - var self = splitString && isString(this) ? strSplit(this, '') : object; - var i = -1; - var length = ES.ToUint32(self.length); - var T; - if (arguments.length > 1) { - T = arguments[1]; - } - - // If no callback function or if callback is not a callable function - if (!isCallable(callbackfn)) { - throw new TypeError('Array.prototype.forEach callback must be a function'); - } - - while (++i < length) { - if (i in self) { - // Invoke the callback function with call, passing arguments: - // context, property value, property key, thisArg object - if (typeof T === 'undefined') { - callbackfn(self[i], i, object); - } else { - callbackfn.call(T, self[i], i, object); - } - } - } - } -}, !properlyBoxesContext(ArrayPrototype.forEach)); - -// ES5 15.4.4.19 -// http://es5.github.com/#x15.4.4.19 -// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map -defineProperties(ArrayPrototype, { - map: function map(callbackfn/*, thisArg*/) { - var object = ES.ToObject(this); - var self = splitString && isString(this) ? strSplit(this, '') : object; - var length = ES.ToUint32(self.length); - var result = $Array(length); - var T; - if (arguments.length > 1) { - T = arguments[1]; - } - - // If no callback function or if callback is not a callable function - if (!isCallable(callbackfn)) { - throw new TypeError('Array.prototype.map callback must be a function'); - } - - for (var i = 0; i < length; i++) { - if (i in self) { - if (typeof T === 'undefined') { - result[i] = callbackfn(self[i], i, object); - } else { - result[i] = callbackfn.call(T, self[i], i, object); - } - } - } - return result; - } -}, !properlyBoxesContext(ArrayPrototype.map)); - -// ES5 15.4.4.20 -// http://es5.github.com/#x15.4.4.20 -// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter -defineProperties(ArrayPrototype, { - filter: function filter(callbackfn/*, thisArg*/) { - var object = ES.ToObject(this); - var self = splitString && isString(this) ? strSplit(this, '') : object; - var length = ES.ToUint32(self.length); - var result = []; - var value; - var T; - if (arguments.length > 1) { - T = arguments[1]; - } - - // If no callback function or if callback is not a callable function - if (!isCallable(callbackfn)) { - throw new TypeError('Array.prototype.filter callback must be a function'); - } - - for (var i = 0; i < length; i++) { - if (i in self) { - value = self[i]; - if (typeof T === 'undefined' ? callbackfn(value, i, object) : callbackfn.call(T, value, i, object)) { - pushCall(result, value); - } - } - } - return result; - } -}, !properlyBoxesContext(ArrayPrototype.filter)); - -// ES5 15.4.4.16 -// http://es5.github.com/#x15.4.4.16 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/every -defineProperties(ArrayPrototype, { - every: function every(callbackfn/*, thisArg*/) { - var object = ES.ToObject(this); - var self = splitString && isString(this) ? strSplit(this, '') : object; - var length = ES.ToUint32(self.length); - var T; - if (arguments.length > 1) { - T = arguments[1]; - } - - // If no callback function or if callback is not a callable function - if (!isCallable(callbackfn)) { - throw new TypeError('Array.prototype.every callback must be a function'); - } - - for (var i = 0; i < length; i++) { - if (i in self && !(typeof T === 'undefined' ? callbackfn(self[i], i, object) : callbackfn.call(T, self[i], i, object))) { - return false; - } - } - return true; - } -}, !properlyBoxesContext(ArrayPrototype.every)); - -// ES5 15.4.4.17 -// http://es5.github.com/#x15.4.4.17 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/some -defineProperties(ArrayPrototype, { - some: function some(callbackfn/*, thisArg */) { - var object = ES.ToObject(this); - var self = splitString && isString(this) ? strSplit(this, '') : object; - var length = ES.ToUint32(self.length); - var T; - if (arguments.length > 1) { - T = arguments[1]; - } - - // If no callback function or if callback is not a callable function - if (!isCallable(callbackfn)) { - throw new TypeError('Array.prototype.some callback must be a function'); - } - - for (var i = 0; i < length; i++) { - if (i in self && (typeof T === 'undefined' ? callbackfn(self[i], i, object) : callbackfn.call(T, self[i], i, object))) { - return true; - } - } - return false; - } -}, !properlyBoxesContext(ArrayPrototype.some)); - -// ES5 15.4.4.21 -// http://es5.github.com/#x15.4.4.21 -// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduce -var reduceCoercesToObject = false; -if (ArrayPrototype.reduce) { - reduceCoercesToObject = typeof ArrayPrototype.reduce.call('es5', function (_, __, ___, list) { return list; }) === 'object'; -} -defineProperties(ArrayPrototype, { - reduce: function reduce(callbackfn/*, initialValue*/) { - var object = ES.ToObject(this); - var self = splitString && isString(this) ? strSplit(this, '') : object; - var length = ES.ToUint32(self.length); - - // If no callback function or if callback is not a callable function - if (!isCallable(callbackfn)) { - throw new TypeError('Array.prototype.reduce callback must be a function'); - } - - // no value to return if no initial value and an empty array - if (length === 0 && arguments.length === 1) { - throw new TypeError('reduce of empty array with no initial value'); - } - - var i = 0; - var result; - if (arguments.length >= 2) { - result = arguments[1]; - } else { - do { - if (i in self) { - result = self[i++]; - break; - } - - // if array contains no values, no initial value to return - if (++i >= length) { - throw new TypeError('reduce of empty array with no initial value'); - } - } while (true); - } - - for (; i < length; i++) { - if (i in self) { - result = callbackfn(result, self[i], i, object); - } - } - - return result; - } -}, !reduceCoercesToObject); - -// ES5 15.4.4.22 -// http://es5.github.com/#x15.4.4.22 -// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduceRight -var reduceRightCoercesToObject = false; -if (ArrayPrototype.reduceRight) { - reduceRightCoercesToObject = typeof ArrayPrototype.reduceRight.call('es5', function (_, __, ___, list) { return list; }) === 'object'; -} -defineProperties(ArrayPrototype, { - reduceRight: function reduceRight(callbackfn/*, initial*/) { - var object = ES.ToObject(this); - var self = splitString && isString(this) ? strSplit(this, '') : object; - var length = ES.ToUint32(self.length); - - // If no callback function or if callback is not a callable function - if (!isCallable(callbackfn)) { - throw new TypeError('Array.prototype.reduceRight callback must be a function'); - } - - // no value to return if no initial value, empty array - if (length === 0 && arguments.length === 1) { - throw new TypeError('reduceRight of empty array with no initial value'); - } - - var result; - var i = length - 1; - if (arguments.length >= 2) { - result = arguments[1]; - } else { - do { - if (i in self) { - result = self[i--]; - break; - } - - // if array contains no values, no initial value to return - if (--i < 0) { - throw new TypeError('reduceRight of empty array with no initial value'); - } - } while (true); - } - - if (i < 0) { - return result; - } - - do { - if (i in self) { - result = callbackfn(result, self[i], i, object); - } - } while (i--); - - return result; - } -}, !reduceRightCoercesToObject); - -// ES5 15.4.4.14 -// http://es5.github.com/#x15.4.4.14 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/indexOf -var hasFirefox2IndexOfBug = ArrayPrototype.indexOf && [0, 1].indexOf(1, 2) !== -1; -defineProperties(ArrayPrototype, { - indexOf: function indexOf(searchElement/*, fromIndex */) { - var self = splitString && isString(this) ? strSplit(this, '') : ES.ToObject(this); - var length = ES.ToUint32(self.length); - - if (length === 0) { - return -1; - } - - var i = 0; - if (arguments.length > 1) { - i = ES.ToInteger(arguments[1]); - } - - // handle negative indices - i = i >= 0 ? i : max(0, length + i); - for (; i < length; i++) { - if (i in self && self[i] === searchElement) { - return i; - } - } - return -1; - } -}, hasFirefox2IndexOfBug); - -// ES5 15.4.4.15 -// http://es5.github.com/#x15.4.4.15 -// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/lastIndexOf -var hasFirefox2LastIndexOfBug = ArrayPrototype.lastIndexOf && [0, 1].lastIndexOf(0, -3) !== -1; -defineProperties(ArrayPrototype, { - lastIndexOf: function lastIndexOf(searchElement/*, fromIndex */) { - var self = splitString && isString(this) ? strSplit(this, '') : ES.ToObject(this); - var length = ES.ToUint32(self.length); - - if (length === 0) { - return -1; - } - var i = length - 1; - if (arguments.length > 1) { - i = min(i, ES.ToInteger(arguments[1])); - } - // handle negative indices - i = i >= 0 ? i : length - Math.abs(i); - for (; i >= 0; i--) { - if (i in self && searchElement === self[i]) { - return i; - } - } - return -1; - } -}, hasFirefox2LastIndexOfBug); - -// ES5 15.4.4.12 -// http://es5.github.com/#x15.4.4.12 -var spliceNoopReturnsEmptyArray = (function () { - var a = [1, 2]; - var result = a.splice(); - return a.length === 2 && isArray(result) && result.length === 0; -}()); -defineProperties(ArrayPrototype, { - // Safari 5.0 bug where .splice() returns undefined - splice: function splice(start, deleteCount) { - if (arguments.length === 0) { - return []; - } else { - return array_splice.apply(this, arguments); - } - } -}, !spliceNoopReturnsEmptyArray); - -var spliceWorksWithEmptyObject = (function () { - var obj = {}; - ArrayPrototype.splice.call(obj, 0, 0, 1); - return obj.length === 1; -}()); -defineProperties(ArrayPrototype, { - splice: function splice(start, deleteCount) { - if (arguments.length === 0) { return []; } - var args = arguments; - this.length = max(ES.ToInteger(this.length), 0); - if (arguments.length > 0 && typeof deleteCount !== 'number') { - args = arraySlice(arguments); - if (args.length < 2) { - pushCall(args, this.length - start); - } else { - args[1] = ES.ToInteger(deleteCount); - } - } - return array_splice.apply(this, args); - } -}, !spliceWorksWithEmptyObject); -var spliceWorksWithLargeSparseArrays = (function () { - // Per https://github.com/es-shims/es5-shim/issues/295 - // Safari 7/8 breaks with sparse arrays of size 1e5 or greater - var arr = new $Array(1e5); - // note: the index MUST be 8 or larger or the test will false pass - arr[8] = 'x'; - arr.splice(1, 1); - // note: this test must be defined *after* the indexOf shim - // per https://github.com/es-shims/es5-shim/issues/313 - return arr.indexOf('x') === 7; -}()); -var spliceWorksWithSmallSparseArrays = (function () { - // Per https://github.com/es-shims/es5-shim/issues/295 - // Opera 12.15 breaks on this, no idea why. - var n = 256; - var arr = []; - arr[n] = 'a'; - arr.splice(n + 1, 0, 'b'); - return arr[n] === 'a'; -}()); -defineProperties(ArrayPrototype, { - splice: function splice(start, deleteCount) { - var O = ES.ToObject(this); - var A = []; - var len = ES.ToUint32(O.length); - var relativeStart = ES.ToInteger(start); - var actualStart = relativeStart < 0 ? max((len + relativeStart), 0) : min(relativeStart, len); - var actualDeleteCount = min(max(ES.ToInteger(deleteCount), 0), len - actualStart); - - var k = 0; - var from; - while (k < actualDeleteCount) { - from = $String(actualStart + k); - if (owns(O, from)) { - A[k] = O[from]; - } - k += 1; - } - - var items = arraySlice(arguments, 2); - var itemCount = items.length; - var to; - if (itemCount < actualDeleteCount) { - k = actualStart; - while (k < (len - actualDeleteCount)) { - from = $String(k + actualDeleteCount); - to = $String(k + itemCount); - if (owns(O, from)) { - O[to] = O[from]; - } else { - delete O[to]; - } - k += 1; - } - k = len; - while (k > (len - actualDeleteCount + itemCount)) { - delete O[k - 1]; - k -= 1; - } - } else if (itemCount > actualDeleteCount) { - k = len - actualDeleteCount; - while (k > actualStart) { - from = $String(k + actualDeleteCount - 1); - to = $String(k + itemCount - 1); - if (owns(O, from)) { - O[to] = O[from]; - } else { - delete O[to]; - } - k -= 1; - } - } - k = actualStart; - for (var i = 0; i < items.length; ++i) { - O[k] = items[i]; - k += 1; - } - O.length = len - actualDeleteCount + itemCount; - - return A; - } -}, !spliceWorksWithLargeSparseArrays || !spliceWorksWithSmallSparseArrays); - -var originalJoin = ArrayPrototype.join; -var hasStringJoinBug; -try { - hasStringJoinBug = Array.prototype.join.call('123', ',') !== '1,2,3'; -} catch (e) { - hasStringJoinBug = true; -} -if (hasStringJoinBug) { - defineProperties(ArrayPrototype, { - join: function join(separator) { - var sep = typeof separator === 'undefined' ? ',' : separator; - return originalJoin.call(isString(this) ? strSplit(this, '') : this, sep); - } - }, hasStringJoinBug); -} - -var hasJoinUndefinedBug = [1, 2].join(undefined) !== '1,2'; -if (hasJoinUndefinedBug) { - defineProperties(ArrayPrototype, { - join: function join(separator) { - var sep = typeof separator === 'undefined' ? ',' : separator; - return originalJoin.call(this, sep); - } - }, hasJoinUndefinedBug); -} - -var pushShim = function push(item) { - var O = ES.ToObject(this); - var n = ES.ToUint32(O.length); - var i = 0; - while (i < arguments.length) { - O[n + i] = arguments[i]; - i += 1; - } - O.length = n + i; - return n + i; -}; - -var pushIsNotGeneric = (function () { - var obj = {}; - var result = Array.prototype.push.call(obj, undefined); - return result !== 1 || obj.length !== 1 || typeof obj[0] !== 'undefined' || !owns(obj, 0); -}()); -defineProperties(ArrayPrototype, { - push: function push(item) { - if (isArray(this)) { - return array_push.apply(this, arguments); - } - return pushShim.apply(this, arguments); - } -}, pushIsNotGeneric); - -// This fixes a very weird bug in Opera 10.6 when pushing `undefined -var pushUndefinedIsWeird = (function () { - var arr = []; - var result = arr.push(undefined); - return result !== 1 || arr.length !== 1 || typeof arr[0] !== 'undefined' || !owns(arr, 0); -}()); -defineProperties(ArrayPrototype, { push: pushShim }, pushUndefinedIsWeird); - -// ES5 15.2.3.14 -// http://es5.github.io/#x15.4.4.10 -// Fix boxed string bug -defineProperties(ArrayPrototype, { - slice: function (start, end) { - var arr = isString(this) ? strSplit(this, '') : this; - return arraySliceApply(arr, arguments); - } -}, splitString); - -var sortIgnoresNonFunctions = (function () { - try { - [1, 2].sort(null); - [1, 2].sort({}); - return true; - } catch (e) { /**/ } - return false; -}()); -var sortThrowsOnRegex = (function () { - // this is a problem in Firefox 4, in which `typeof /a/ === 'function'` - try { - [1, 2].sort(/a/); - return false; - } catch (e) { /**/ } - return true; -}()); -var sortIgnoresUndefined = (function () { - // applies in IE 8, for one. - try { - [1, 2].sort(undefined); - return true; - } catch (e) { /**/ } - return false; -}()); -defineProperties(ArrayPrototype, { - sort: function sort(compareFn) { - if (typeof compareFn === 'undefined') { - return arraySort(this); - } - if (!isCallable(compareFn)) { - throw new TypeError('Array.prototype.sort callback must be a function'); - } - return arraySort(this, compareFn); - } -}, sortIgnoresNonFunctions || !sortIgnoresUndefined || !sortThrowsOnRegex); - -// -// Object -// ====== -// - -// ES5 15.2.3.14 -// http://es5.github.com/#x15.2.3.14 - -// http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation -var hasDontEnumBug = !({ 'toString': null }).propertyIsEnumerable('toString'); -var hasProtoEnumBug = function () {}.propertyIsEnumerable('prototype'); -var hasStringEnumBug = !owns('x', '0'); -var equalsConstructorPrototype = function (o) { - var ctor = o.constructor; - return ctor && ctor.prototype === o; -}; -var blacklistedKeys = { - $window: true, - $console: true, - $parent: true, - $self: true, - $frame: true, - $frames: true, - $frameElement: true, - $webkitIndexedDB: true, - $webkitStorageInfo: true, - $external: true -}; -var hasAutomationEqualityBug = (function () { - /* globals window */ - if (typeof window === 'undefined') { return false; } - for (var k in window) { - try { - if (!blacklistedKeys['$' + k] && owns(window, k) && window[k] !== null && typeof window[k] === 'object') { - equalsConstructorPrototype(window[k]); - } - } catch (e) { - return true; - } - } - return false; -}()); -var equalsConstructorPrototypeIfNotBuggy = function (object) { - if (typeof window === 'undefined' || !hasAutomationEqualityBug) { return equalsConstructorPrototype(object); } - try { - return equalsConstructorPrototype(object); - } catch (e) { - return false; - } -}; -var dontEnums = [ - 'toString', - 'toLocaleString', - 'valueOf', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'constructor' -]; -var dontEnumsLength = dontEnums.length; - -// taken directly from https://github.com/ljharb/is-arguments/blob/master/index.js -// can be replaced with require('is-arguments') if we ever use a build process instead -var isStandardArguments = function isArguments(value) { - return toStr(value) === '[object Arguments]'; -}; -var isLegacyArguments = function isArguments(value) { - return value !== null && - typeof value === 'object' && - typeof value.length === 'number' && - value.length >= 0 && - !isArray(value) && - isCallable(value.callee); -}; -var isArguments = isStandardArguments(arguments) ? isStandardArguments : isLegacyArguments; - -defineProperties($Object, { - keys: function keys(object) { - var isFn = isCallable(object); - var isArgs = isArguments(object); - var isObject = object !== null && typeof object === 'object'; - var isStr = isObject && isString(object); - - if (!isObject && !isFn && !isArgs) { - throw new TypeError('Object.keys called on a non-object'); - } - - var theKeys = []; - var skipProto = hasProtoEnumBug && isFn; - if ((isStr && hasStringEnumBug) || isArgs) { - for (var i = 0; i < object.length; ++i) { - pushCall(theKeys, $String(i)); - } - } - - if (!isArgs) { - for (var name in object) { - if (!(skipProto && name === 'prototype') && owns(object, name)) { - pushCall(theKeys, $String(name)); - } - } - } - - if (hasDontEnumBug) { - var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); - for (var j = 0; j < dontEnumsLength; j++) { - var dontEnum = dontEnums[j]; - if (!(skipConstructor && dontEnum === 'constructor') && owns(object, dontEnum)) { - pushCall(theKeys, dontEnum); - } - } - } - return theKeys; - } -}); - -var keysWorksWithArguments = $Object.keys && (function () { - // Safari 5.0 bug - return $Object.keys(arguments).length === 2; -}(1, 2)); -var keysHasArgumentsLengthBug = $Object.keys && (function () { - var argKeys = $Object.keys(arguments); - return arguments.length !== 1 || argKeys.length !== 1 || argKeys[0] !== 1; -}(1)); -var originalKeys = $Object.keys; -defineProperties($Object, { - keys: function keys(object) { - if (isArguments(object)) { - return originalKeys(arraySlice(object)); - } else { - return originalKeys(object); - } - } -}, !keysWorksWithArguments || keysHasArgumentsLengthBug); - -// -// Date -// ==== -// - -var hasNegativeMonthYearBug = new Date(-3509827329600292).getUTCMonth() !== 0; -var aNegativeTestDate = new Date(-1509842289600292); -var aPositiveTestDate = new Date(1449662400000); -var hasToUTCStringFormatBug = aNegativeTestDate.toUTCString() !== 'Mon, 01 Jan -45875 11:59:59 GMT'; -var hasToDateStringFormatBug; -var hasToStringFormatBug; -var timeZoneOffset = aNegativeTestDate.getTimezoneOffset(); -if (timeZoneOffset < -720) { - hasToDateStringFormatBug = aNegativeTestDate.toDateString() !== 'Tue Jan 02 -45875'; - hasToStringFormatBug = !(/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/).test(aPositiveTestDate.toString()); -} else { - hasToDateStringFormatBug = aNegativeTestDate.toDateString() !== 'Mon Jan 01 -45875'; - hasToStringFormatBug = !(/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/).test(aPositiveTestDate.toString()); -} - -var originalGetFullYear = call.bind(Date.prototype.getFullYear); -var originalGetMonth = call.bind(Date.prototype.getMonth); -var originalGetDate = call.bind(Date.prototype.getDate); -var originalGetUTCFullYear = call.bind(Date.prototype.getUTCFullYear); -var originalGetUTCMonth = call.bind(Date.prototype.getUTCMonth); -var originalGetUTCDate = call.bind(Date.prototype.getUTCDate); -var originalGetUTCDay = call.bind(Date.prototype.getUTCDay); -var originalGetUTCHours = call.bind(Date.prototype.getUTCHours); -var originalGetUTCMinutes = call.bind(Date.prototype.getUTCMinutes); -var originalGetUTCSeconds = call.bind(Date.prototype.getUTCSeconds); -var originalGetUTCMilliseconds = call.bind(Date.prototype.getUTCMilliseconds); -var dayName = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri']; -var monthName = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; -var daysInMonth = function daysInMonth(month, year) { - return originalGetDate(new Date(year, month, 0)); -}; - -defineProperties(Date.prototype, { - getFullYear: function getFullYear() { - if (!this || !(this instanceof Date)) { - throw new TypeError('this is not a Date object.'); - } - var year = originalGetFullYear(this); - if (year < 0 && originalGetMonth(this) > 11) { - return year + 1; - } - return year; - }, - getMonth: function getMonth() { - if (!this || !(this instanceof Date)) { - throw new TypeError('this is not a Date object.'); - } - var year = originalGetFullYear(this); - var month = originalGetMonth(this); - if (year < 0 && month > 11) { - return 0; - } - return month; - }, - getDate: function getDate() { - if (!this || !(this instanceof Date)) { - throw new TypeError('this is not a Date object.'); - } - var year = originalGetFullYear(this); - var month = originalGetMonth(this); - var date = originalGetDate(this); - if (year < 0 && month > 11) { - if (month === 12) { - return date; - } - var days = daysInMonth(0, year + 1); - return (days - date) + 1; - } - return date; - }, - getUTCFullYear: function getUTCFullYear() { - if (!this || !(this instanceof Date)) { - throw new TypeError('this is not a Date object.'); - } - var year = originalGetUTCFullYear(this); - if (year < 0 && originalGetUTCMonth(this) > 11) { - return year + 1; - } - return year; - }, - getUTCMonth: function getUTCMonth() { - if (!this || !(this instanceof Date)) { - throw new TypeError('this is not a Date object.'); - } - var year = originalGetUTCFullYear(this); - var month = originalGetUTCMonth(this); - if (year < 0 && month > 11) { - return 0; - } - return month; - }, - getUTCDate: function getUTCDate() { - if (!this || !(this instanceof Date)) { - throw new TypeError('this is not a Date object.'); - } - var year = originalGetUTCFullYear(this); - var month = originalGetUTCMonth(this); - var date = originalGetUTCDate(this); - if (year < 0 && month > 11) { - if (month === 12) { - return date; - } - var days = daysInMonth(0, year + 1); - return (days - date) + 1; - } - return date; - } -}, hasNegativeMonthYearBug); - -defineProperties(Date.prototype, { - toUTCString: function toUTCString() { - if (!this || !(this instanceof Date)) { - throw new TypeError('this is not a Date object.'); - } - var day = originalGetUTCDay(this); - var date = originalGetUTCDate(this); - var month = originalGetUTCMonth(this); - var year = originalGetUTCFullYear(this); - var hour = originalGetUTCHours(this); - var minute = originalGetUTCMinutes(this); - var second = originalGetUTCSeconds(this); - return dayName[day] + ', ' + - (date < 10 ? '0' + date : date) + ' ' + - monthName[month] + ' ' + - year + ' ' + - (hour < 10 ? '0' + hour : hour) + ':' + - (minute < 10 ? '0' + minute : minute) + ':' + - (second < 10 ? '0' + second : second) + ' GMT'; - } -}, hasNegativeMonthYearBug || hasToUTCStringFormatBug); - -// Opera 12 has `,` -defineProperties(Date.prototype, { - toDateString: function toDateString() { - if (!this || !(this instanceof Date)) { - throw new TypeError('this is not a Date object.'); - } - var day = this.getDay(); - var date = this.getDate(); - var month = this.getMonth(); - var year = this.getFullYear(); - return dayName[day] + ' ' + - monthName[month] + ' ' + - (date < 10 ? '0' + date : date) + ' ' + - year; - } -}, hasNegativeMonthYearBug || hasToDateStringFormatBug); - -// can't use defineProperties here because of toString enumeration issue in IE <= 8 -if (hasNegativeMonthYearBug || hasToStringFormatBug) { - Date.prototype.toString = function toString() { - if (!this || !(this instanceof Date)) { - throw new TypeError('this is not a Date object.'); - } - var day = this.getDay(); - var date = this.getDate(); - var month = this.getMonth(); - var year = this.getFullYear(); - var hour = this.getHours(); - var minute = this.getMinutes(); - var second = this.getSeconds(); - var timezoneOffset = this.getTimezoneOffset(); - var hoursOffset = Math.floor(Math.abs(timezoneOffset) / 60); - var minutesOffset = Math.floor(Math.abs(timezoneOffset) % 60); - return dayName[day] + ' ' + - monthName[month] + ' ' + - (date < 10 ? '0' + date : date) + ' ' + - year + ' ' + - (hour < 10 ? '0' + hour : hour) + ':' + - (minute < 10 ? '0' + minute : minute) + ':' + - (second < 10 ? '0' + second : second) + ' GMT' + - (timezoneOffset > 0 ? '-' : '+') + - (hoursOffset < 10 ? '0' + hoursOffset : hoursOffset) + - (minutesOffset < 10 ? '0' + minutesOffset : minutesOffset); - }; - if (supportsDescriptors) { - $Object.defineProperty(Date.prototype, 'toString', { - configurable: true, - enumerable: false, - writable: true - }); - } -} - -// ES5 15.9.5.43 -// http://es5.github.com/#x15.9.5.43 -// This function returns a String value represent the instance in time -// represented by this Date object. The format of the String is the Date Time -// string format defined in 15.9.1.15. All fields are present in the String. -// The time zone is always UTC, denoted by the suffix Z. If the time value of -// this object is not a finite Number a RangeError exception is thrown. -var negativeDate = -62198755200000; -var negativeYearString = '-000001'; -var hasNegativeDateBug = Date.prototype.toISOString && new Date(negativeDate).toISOString().indexOf(negativeYearString) === -1; -var hasSafari51DateBug = Date.prototype.toISOString && new Date(-1).toISOString() !== '1969-12-31T23:59:59.999Z'; - -defineProperties(Date.prototype, { - toISOString: function toISOString() { - if (!isFinite(this)) { - throw new RangeError('Date.prototype.toISOString called on non-finite value.'); - } - - var year = originalGetUTCFullYear(this); - - var month = originalGetUTCMonth(this); - // see https://github.com/es-shims/es5-shim/issues/111 - year += Math.floor(month / 12); - month = (month % 12 + 12) % 12; - - // the date time string format is specified in 15.9.1.15. - var result = [month + 1, originalGetUTCDate(this), originalGetUTCHours(this), originalGetUTCMinutes(this), originalGetUTCSeconds(this)]; - year = ( - (year < 0 ? '-' : (year > 9999 ? '+' : '')) + - strSlice('00000' + Math.abs(year), (0 <= year && year <= 9999) ? -4 : -6) - ); - - for (var i = 0; i < result.length; ++i) { - // pad months, days, hours, minutes, and seconds to have two digits. - result[i] = strSlice('00' + result[i], -2); - } - // pad milliseconds to have three digits. - return ( - year + '-' + arraySlice(result, 0, 2).join('-') + - 'T' + arraySlice(result, 2).join(':') + '.' + - strSlice('000' + originalGetUTCMilliseconds(this), -3) + 'Z' - ); - } -}, hasNegativeDateBug || hasSafari51DateBug); - -// ES5 15.9.5.44 -// http://es5.github.com/#x15.9.5.44 -// This function provides a String representation of a Date object for use by -// JSON.stringify (15.12.3). -var dateToJSONIsSupported = (function () { - try { - return Date.prototype.toJSON && - new Date(NaN).toJSON() === null && - new Date(negativeDate).toJSON().indexOf(negativeYearString) !== -1 && - Date.prototype.toJSON.call({ // generic - toISOString: function () { return true; } - }); - } catch (e) { - return false; - } -}()); -if (!dateToJSONIsSupported) { - Date.prototype.toJSON = function toJSON(key) { - // When the toJSON method is called with argument key, the following - // steps are taken: - - // 1. Let O be the result of calling ToObject, giving it the this - // value as its argument. - // 2. Let tv be ES.ToPrimitive(O, hint Number). - var O = $Object(this); - var tv = ES.ToPrimitive(O); - // 3. If tv is a Number and is not finite, return null. - if (typeof tv === 'number' && !isFinite(tv)) { - return null; - } - // 4. Let toISO be the result of calling the [[Get]] internal method of - // O with argument "toISOString". - var toISO = O.toISOString; - // 5. If IsCallable(toISO) is false, throw a TypeError exception. - if (!isCallable(toISO)) { - throw new TypeError('toISOString property is not callable'); - } - // 6. Return the result of calling the [[Call]] internal method of - // toISO with O as the this value and an empty argument list. - return toISO.call(O); - - // NOTE 1 The argument is ignored. - - // NOTE 2 The toJSON function is intentionally generic; it does not - // require that its this value be a Date object. Therefore, it can be - // transferred to other kinds of objects for use as a method. However, - // it does require that any such object have a toISOString method. An - // object is free to use the argument key to filter its - // stringification. - }; -} - -// ES5 15.9.4.2 -// http://es5.github.com/#x15.9.4.2 -// based on work shared by Daniel Friesen (dantman) -// http://gist.github.com/303249 -var supportsExtendedYears = Date.parse('+033658-09-27T01:46:40.000Z') === 1e15; -var acceptsInvalidDates = !isNaN(Date.parse('2012-04-04T24:00:00.500Z')) || !isNaN(Date.parse('2012-11-31T23:59:59.000Z')) || !isNaN(Date.parse('2012-12-31T23:59:60.000Z')); -var doesNotParseY2KNewYear = isNaN(Date.parse('2000-01-01T00:00:00.000Z')); -if (doesNotParseY2KNewYear || acceptsInvalidDates || !supportsExtendedYears) { - // XXX global assignment won't work in embeddings that use - // an alternate object for the context. - /* global Date: true */ - /* eslint-disable no-undef */ - var maxSafeUnsigned32Bit = Math.pow(2, 31) - 1; - var hasSafariSignedIntBug = isActualNaN(new Date(1970, 0, 1, 0, 0, 0, maxSafeUnsigned32Bit + 1).getTime()); - Date = (function (NativeDate) { - /* eslint-enable no-undef */ - // Date.length === 7 - var DateShim = function Date(Y, M, D, h, m, s, ms) { - var length = arguments.length; - var date; - if (this instanceof NativeDate) { - var seconds = s; - var millis = ms; - if (hasSafariSignedIntBug && length >= 7 && ms > maxSafeUnsigned32Bit) { - // work around a Safari 8/9 bug where it treats the seconds as signed - var msToShift = Math.floor(ms / maxSafeUnsigned32Bit) * maxSafeUnsigned32Bit; - var sToShift = Math.floor(msToShift / 1e3); - seconds += sToShift; - millis -= sToShift * 1e3; - } - date = length === 1 && $String(Y) === Y ? // isString(Y) - // We explicitly pass it through parse: - new NativeDate(DateShim.parse(Y)) : - // We have to manually make calls depending on argument - // length here - length >= 7 ? new NativeDate(Y, M, D, h, m, seconds, millis) : - length >= 6 ? new NativeDate(Y, M, D, h, m, seconds) : - length >= 5 ? new NativeDate(Y, M, D, h, m) : - length >= 4 ? new NativeDate(Y, M, D, h) : - length >= 3 ? new NativeDate(Y, M, D) : - length >= 2 ? new NativeDate(Y, M) : - length >= 1 ? new NativeDate(Y) : - new NativeDate(); - } else { - date = NativeDate.apply(this, arguments); - } - if (!isPrimitive(date)) { - // Prevent mixups with unfixed Date object - defineProperties(date, { constructor: DateShim }, true); - } - return date; - }; - - // 15.9.1.15 Date Time String Format. - var isoDateExpression = new RegExp('^' + - '(\\d{4}|[+-]\\d{6})' + // four-digit year capture or sign + - // 6-digit extended year - '(?:-(\\d{2})' + // optional month capture - '(?:-(\\d{2})' + // optional day capture - '(?:' + // capture hours:minutes:seconds.milliseconds - 'T(\\d{2})' + // hours capture - ':(\\d{2})' + // minutes capture - '(?:' + // optional :seconds.milliseconds - ':(\\d{2})' + // seconds capture - '(?:(\\.\\d{1,}))?' + // milliseconds capture - ')?' + - '(' + // capture UTC offset component - 'Z|' + // UTC capture - '(?:' + // offset specifier +/-hours:minutes - '([-+])' + // sign capture - '(\\d{2})' + // hours offset capture - ':(\\d{2})' + // minutes offset capture - ')' + - ')?)?)?)?' + - '$'); - - var months = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365]; - - var dayFromMonth = function dayFromMonth(year, month) { - var t = month > 1 ? 1 : 0; - return ( - months[month] + - Math.floor((year - 1969 + t) / 4) - - Math.floor((year - 1901 + t) / 100) + - Math.floor((year - 1601 + t) / 400) + - 365 * (year - 1970) - ); - }; - - var toUTC = function toUTC(t) { - var s = 0; - var ms = t; - if (hasSafariSignedIntBug && ms > maxSafeUnsigned32Bit) { - // work around a Safari 8/9 bug where it treats the seconds as signed - var msToShift = Math.floor(ms / maxSafeUnsigned32Bit) * maxSafeUnsigned32Bit; - var sToShift = Math.floor(msToShift / 1e3); - s += sToShift; - ms -= sToShift * 1e3; - } - return $Number(new NativeDate(1970, 0, 1, 0, 0, s, ms)); - }; - - // Copy any custom methods a 3rd party library may have added - for (var key in NativeDate) { - if (owns(NativeDate, key)) { - DateShim[key] = NativeDate[key]; - } - } - - // Copy "native" methods explicitly; they may be non-enumerable - defineProperties(DateShim, { - now: NativeDate.now, - UTC: NativeDate.UTC - }, true); - DateShim.prototype = NativeDate.prototype; - defineProperties(DateShim.prototype, { - constructor: DateShim - }, true); - - // Upgrade Date.parse to handle simplified ISO 8601 strings - var parseShim = function parse(string) { - var match = isoDateExpression.exec(string); - if (match) { - // parse months, days, hours, minutes, seconds, and milliseconds - // provide default values if necessary - // parse the UTC offset component - var year = $Number(match[1]), - month = $Number(match[2] || 1) - 1, - day = $Number(match[3] || 1) - 1, - hour = $Number(match[4] || 0), - minute = $Number(match[5] || 0), - second = $Number(match[6] || 0), - millisecond = Math.floor($Number(match[7] || 0) * 1000), - // When time zone is missed, local offset should be used - // (ES 5.1 bug) - // see https://bugs.ecmascript.org/show_bug.cgi?id=112 - isLocalTime = Boolean(match[4] && !match[8]), - signOffset = match[9] === '-' ? 1 : -1, - hourOffset = $Number(match[10] || 0), - minuteOffset = $Number(match[11] || 0), - result; - var hasMinutesOrSecondsOrMilliseconds = minute > 0 || second > 0 || millisecond > 0; - if ( - hour < (hasMinutesOrSecondsOrMilliseconds ? 24 : 25) && - minute < 60 && second < 60 && millisecond < 1000 && - month > -1 && month < 12 && hourOffset < 24 && - minuteOffset < 60 && // detect invalid offsets - day > -1 && - day < (dayFromMonth(year, month + 1) - dayFromMonth(year, month)) - ) { - result = ( - (dayFromMonth(year, month) + day) * 24 + - hour + - hourOffset * signOffset - ) * 60; - result = ( - (result + minute + minuteOffset * signOffset) * 60 + - second - ) * 1000 + millisecond; - if (isLocalTime) { - result = toUTC(result); - } - if (-8.64e15 <= result && result <= 8.64e15) { - return result; - } - } - return NaN; - } - return NativeDate.parse.apply(this, arguments); - }; - defineProperties(DateShim, { parse: parseShim }); - - return DateShim; - }(Date)); - /* global Date: false */ -} - -// ES5 15.9.4.4 -// http://es5.github.com/#x15.9.4.4 -if (!Date.now) { - Date.now = function now() { - return new Date().getTime(); - }; -} - -// -// Number -// ====== -// - -// ES5.1 15.7.4.5 -// http://es5.github.com/#x15.7.4.5 -var hasToFixedBugs = NumberPrototype.toFixed && ( - (0.00008).toFixed(3) !== '0.000' || - (0.9).toFixed(0) !== '1' || - (1.255).toFixed(2) !== '1.25' || - (1000000000000000128).toFixed(0) !== '1000000000000000128' -); - -var toFixedHelpers = { - base: 1e7, - size: 6, - data: [0, 0, 0, 0, 0, 0], - multiply: function multiply(n, c) { - var i = -1; - var c2 = c; - while (++i < toFixedHelpers.size) { - c2 += n * toFixedHelpers.data[i]; - toFixedHelpers.data[i] = c2 % toFixedHelpers.base; - c2 = Math.floor(c2 / toFixedHelpers.base); - } - }, - divide: function divide(n) { - var i = toFixedHelpers.size, c = 0; - while (--i >= 0) { - c += toFixedHelpers.data[i]; - toFixedHelpers.data[i] = Math.floor(c / n); - c = (c % n) * toFixedHelpers.base; - } - }, - numToString: function numToString() { - var i = toFixedHelpers.size; - var s = ''; - while (--i >= 0) { - if (s !== '' || i === 0 || toFixedHelpers.data[i] !== 0) { - var t = $String(toFixedHelpers.data[i]); - if (s === '') { - s = t; - } else { - s += strSlice('0000000', 0, 7 - t.length) + t; - } - } - } - return s; - }, - pow: function pow(x, n, acc) { - return (n === 0 ? acc : (n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc))); - }, - log: function log(x) { - var n = 0; - var x2 = x; - while (x2 >= 4096) { - n += 12; - x2 /= 4096; - } - while (x2 >= 2) { - n += 1; - x2 /= 2; - } - return n; - } -}; - -var toFixedShim = function toFixed(fractionDigits) { - var f, x, s, m, e, z, j, k; - - // Test for NaN and round fractionDigits down - f = $Number(fractionDigits); - f = isActualNaN(f) ? 0 : Math.floor(f); - - if (f < 0 || f > 20) { - throw new RangeError('Number.toFixed called with invalid number of decimals'); - } - - x = $Number(this); - - if (isActualNaN(x)) { - return 'NaN'; - } - - // If it is too big or small, return the string value of the number - if (x <= -1e21 || x >= 1e21) { - return $String(x); - } - - s = ''; - - if (x < 0) { - s = '-'; - x = -x; - } - - m = '0'; - - if (x > 1e-21) { - // 1e-21 < x < 1e21 - // -70 < log2(x) < 70 - e = toFixedHelpers.log(x * toFixedHelpers.pow(2, 69, 1)) - 69; - z = (e < 0 ? x * toFixedHelpers.pow(2, -e, 1) : x / toFixedHelpers.pow(2, e, 1)); - z *= 0x10000000000000; // Math.pow(2, 52); - e = 52 - e; - - // -18 < e < 122 - // x = z / 2 ^ e - if (e > 0) { - toFixedHelpers.multiply(0, z); - j = f; - - while (j >= 7) { - toFixedHelpers.multiply(1e7, 0); - j -= 7; - } - - toFixedHelpers.multiply(toFixedHelpers.pow(10, j, 1), 0); - j = e - 1; - - while (j >= 23) { - toFixedHelpers.divide(1 << 23); - j -= 23; - } - - toFixedHelpers.divide(1 << j); - toFixedHelpers.multiply(1, 1); - toFixedHelpers.divide(2); - m = toFixedHelpers.numToString(); - } else { - toFixedHelpers.multiply(0, z); - toFixedHelpers.multiply(1 << (-e), 0); - m = toFixedHelpers.numToString() + strSlice('0.00000000000000000000', 2, 2 + f); - } - } - - if (f > 0) { - k = m.length; - - if (k <= f) { - m = s + strSlice('0.0000000000000000000', 0, f - k + 2) + m; - } else { - m = s + strSlice(m, 0, k - f) + '.' + strSlice(m, k - f); - } - } else { - m = s + m; - } - - return m; -}; -defineProperties(NumberPrototype, { toFixed: toFixedShim }, hasToFixedBugs); - -var hasToPrecisionUndefinedBug = (function () { - try { - return 1.0.toPrecision(undefined) === '1'; - } catch (e) { - return true; - } -}()); -var originalToPrecision = NumberPrototype.toPrecision; -defineProperties(NumberPrototype, { - toPrecision: function toPrecision(precision) { - return typeof precision === 'undefined' ? originalToPrecision.call(this) : originalToPrecision.call(this, precision); - } -}, hasToPrecisionUndefinedBug); - -// -// String -// ====== -// - -// ES5 15.5.4.14 -// http://es5.github.com/#x15.5.4.14 - -// [bugfix, IE lt 9, firefox 4, Konqueror, Opera, obscure browsers] -// Many browsers do not split properly with regular expressions or they -// do not perform the split correctly under obscure conditions. -// See http://blog.stevenlevithan.com/archives/cross-browser-split -// I've tested in many browsers and this seems to cover the deviant ones: -// 'ab'.split(/(?:ab)*/) should be ["", ""], not [""] -// '.'.split(/(.?)(.?)/) should be ["", ".", "", ""], not ["", ""] -// 'tesst'.split(/(s)*/) should be ["t", undefined, "e", "s", "t"], not -// [undefined, "t", undefined, "e", ...] -// ''.split(/.?/) should be [], not [""] -// '.'.split(/()()/) should be ["."], not ["", "", "."] - -if ( - 'ab'.split(/(?:ab)*/).length !== 2 || - '.'.split(/(.?)(.?)/).length !== 4 || - 'tesst'.split(/(s)*/)[1] === 't' || - 'test'.split(/(?:)/, -1).length !== 4 || - ''.split(/.?/).length || - '.'.split(/()()/).length > 1 -) { - (function () { - var compliantExecNpcg = typeof (/()??/).exec('')[1] === 'undefined'; // NPCG: nonparticipating capturing group - var maxSafe32BitInt = Math.pow(2, 32) - 1; - - StringPrototype.split = function (separator, limit) { - var string = String(this); - if (typeof separator === 'undefined' && limit === 0) { - return []; - } - - // If `separator` is not a regex, use native split - if (!isRegex(separator)) { - return strSplit(this, separator, limit); - } - - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + // in ES6 - (separator.sticky ? 'y' : ''), // Firefox 3+ and ES6 - lastLastIndex = 0, - // Make `global` and avoid `lastIndex` issues by working with a copy - separator2, match, lastIndex, lastLength; - var separatorCopy = new RegExp(separator.source, flags + 'g'); - if (!compliantExecNpcg) { - // Doesn't need flags gy, but they don't hurt - separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\s)', flags); - } - /* Values for `limit`, per the spec: - * If undefined: 4294967295 // maxSafe32BitInt - * If 0, Infinity, or NaN: 0 - * If positive number: limit = Math.floor(limit); if (limit > 4294967295) limit -= 4294967296; - * If negative number: 4294967296 - Math.floor(Math.abs(limit)) - * If other: Type-convert, then use the above rules - */ - var splitLimit = typeof limit === 'undefined' ? maxSafe32BitInt : ES.ToUint32(limit); - match = separatorCopy.exec(string); - while (match) { - // `separatorCopy.lastIndex` is not reliable cross-browser - lastIndex = match.index + match[0].length; - if (lastIndex > lastLastIndex) { - pushCall(output, strSlice(string, lastLastIndex, match.index)); - // Fix browsers whose `exec` methods don't consistently return `undefined` for - // nonparticipating capturing groups - if (!compliantExecNpcg && match.length > 1) { - /* eslint-disable no-loop-func */ - match[0].replace(separator2, function () { - for (var i = 1; i < arguments.length - 2; i++) { - if (typeof arguments[i] === 'undefined') { - match[i] = void 0; - } - } - }); - /* eslint-enable no-loop-func */ - } - if (match.length > 1 && match.index < string.length) { - array_push.apply(output, arraySlice(match, 1)); - } - lastLength = match[0].length; - lastLastIndex = lastIndex; - if (output.length >= splitLimit) { - break; - } - } - if (separatorCopy.lastIndex === match.index) { - separatorCopy.lastIndex++; // Avoid an infinite loop - } - match = separatorCopy.exec(string); - } - if (lastLastIndex === string.length) { - if (lastLength || !separatorCopy.test('')) { - pushCall(output, ''); - } - } else { - pushCall(output, strSlice(string, lastLastIndex)); - } - return output.length > splitLimit ? strSlice(output, 0, splitLimit) : output; - }; - }()); - -// [bugfix, chrome] -// If separator is undefined, then the result array contains just one String, -// which is the this value (converted to a String). If limit is not undefined, -// then the output array is truncated so that it contains no more than limit -// elements. -// "0".split(undefined, 0) -> [] -} else if ('0'.split(void 0, 0).length) { - StringPrototype.split = function split(separator, limit) { - if (typeof separator === 'undefined' && limit === 0) { return []; } - return strSplit(this, separator, limit); - }; -} - -var str_replace = StringPrototype.replace; -var replaceReportsGroupsCorrectly = (function () { - var groups = []; - 'x'.replace(/x(.)?/g, function (match, group) { - pushCall(groups, group); - }); - return groups.length === 1 && typeof groups[0] === 'undefined'; -}()); - -if (!replaceReportsGroupsCorrectly) { - StringPrototype.replace = function replace(searchValue, replaceValue) { - var isFn = isCallable(replaceValue); - var hasCapturingGroups = isRegex(searchValue) && (/\)[*?]/).test(searchValue.source); - if (!isFn || !hasCapturingGroups) { - return str_replace.call(this, searchValue, replaceValue); - } else { - var wrappedReplaceValue = function (match) { - var length = arguments.length; - var originalLastIndex = searchValue.lastIndex; - searchValue.lastIndex = 0; - var args = searchValue.exec(match) || []; - searchValue.lastIndex = originalLastIndex; - pushCall(args, arguments[length - 2], arguments[length - 1]); - return replaceValue.apply(this, args); - }; - return str_replace.call(this, searchValue, wrappedReplaceValue); - } - }; -} - -// ECMA-262, 3rd B.2.3 -// Not an ECMAScript standard, although ECMAScript 3rd Edition has a -// non-normative section suggesting uniform semantics and it should be -// normalized across all browsers -// [bugfix, IE lt 9] IE < 9 substr() with negative value not working in IE -var string_substr = StringPrototype.substr; -var hasNegativeSubstrBug = ''.substr && '0b'.substr(-1) !== 'b'; -defineProperties(StringPrototype, { - substr: function substr(start, length) { - var normalizedStart = start; - if (start < 0) { - normalizedStart = max(this.length + start, 0); - } - return string_substr.call(this, normalizedStart, length); - } -}, hasNegativeSubstrBug); - -// ES5 15.5.4.20 -// whitespace from: http://es5.github.io/#x15.5.4.20 -var ws = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028' + - '\u2029\uFEFF'; -var zeroWidth = '\u200b'; -var wsRegexChars = '[' + ws + ']'; -var trimBeginRegexp = new RegExp('^' + wsRegexChars + wsRegexChars + '*'); -var trimEndRegexp = new RegExp(wsRegexChars + wsRegexChars + '*$'); -var hasTrimWhitespaceBug = StringPrototype.trim && (ws.trim() || !zeroWidth.trim()); -defineProperties(StringPrototype, { - // http://blog.stevenlevithan.com/archives/faster-trim-javascript - // http://perfectionkills.com/whitespace-deviations/ - trim: function trim() { - if (typeof this === 'undefined' || this === null) { - throw new TypeError("can't convert " + this + ' to object'); - } - return $String(this).replace(trimBeginRegexp, '').replace(trimEndRegexp, ''); - } -}, hasTrimWhitespaceBug); -var trim = call.bind(String.prototype.trim); - -var hasLastIndexBug = StringPrototype.lastIndexOf && 'abcあい'.lastIndexOf('あい', 2) !== -1; -defineProperties(StringPrototype, { - lastIndexOf: function lastIndexOf(searchString) { - if (typeof this === 'undefined' || this === null) { - throw new TypeError("can't convert " + this + ' to object'); - } - var S = $String(this); - var searchStr = $String(searchString); - var numPos = arguments.length > 1 ? $Number(arguments[1]) : NaN; - var pos = isActualNaN(numPos) ? Infinity : ES.ToInteger(numPos); - var start = min(max(pos, 0), S.length); - var searchLen = searchStr.length; - var k = start + searchLen; - while (k > 0) { - k = max(0, k - searchLen); - var index = strIndexOf(strSlice(S, k, start + searchLen), searchStr); - if (index !== -1) { - return k + index; - } - } - return -1; - } -}, hasLastIndexBug); - -var originalLastIndexOf = StringPrototype.lastIndexOf; -defineProperties(StringPrototype, { - lastIndexOf: function lastIndexOf(searchString) { - return originalLastIndexOf.apply(this, arguments); - } -}, StringPrototype.lastIndexOf.length !== 1); - -// ES-5 15.1.2.2 -/* eslint-disable radix */ -if (parseInt(ws + '08') !== 8 || parseInt(ws + '0x16') !== 22) { -/* eslint-enable radix */ - /* global parseInt: true */ - parseInt = (function (origParseInt) { - var hexRegex = /^[\-+]?0[xX]/; - return function parseInt(str, radix) { - var string = trim(str); - var defaultedRadix = $Number(radix) || (hexRegex.test(string) ? 16 : 10); - return origParseInt(string, defaultedRadix); - }; - }(parseInt)); -} - -// https://es5.github.io/#x15.1.2.3 -if (1 / parseFloat('-0') !== -Infinity) { - /* global parseFloat: true */ - parseFloat = (function (origParseFloat) { - return function parseFloat(string) { - var inputString = trim(string); - var result = origParseFloat(inputString); - return result === 0 && strSlice(inputString, 0, 1) === '-' ? -0 : result; - }; - }(parseFloat)); -} - -if (String(new RangeError('test')) !== 'RangeError: test') { - var errorToStringShim = function toString() { - if (typeof this === 'undefined' || this === null) { - throw new TypeError("can't convert " + this + ' to object'); - } - var name = this.name; - if (typeof name === 'undefined') { - name = 'Error'; - } else if (typeof name !== 'string') { - name = $String(name); - } - var msg = this.message; - if (typeof msg === 'undefined') { - msg = ''; - } else if (typeof msg !== 'string') { - msg = $String(msg); - } - if (!name) { - return msg; - } - if (!msg) { - return name; - } - return name + ': ' + msg; - }; - // can't use defineProperties here because of toString enumeration issue in IE <= 8 - Error.prototype.toString = errorToStringShim; -} - -if (supportsDescriptors) { - var ensureNonEnumerable = function (obj, prop) { - if (isEnum(obj, prop)) { - var desc = Object.getOwnPropertyDescriptor(obj, prop); - desc.enumerable = false; - Object.defineProperty(obj, prop, desc); - } - }; - ensureNonEnumerable(Error.prototype, 'message'); - if (Error.prototype.message !== '') { - Error.prototype.message = ''; - } - ensureNonEnumerable(Error.prototype, 'name'); -} - -if (String(/a/mig) !== '/a/gim') { - var regexToString = function toString() { - var str = '/' + this.source + '/'; - if (this.global) { - str += 'g'; - } - if (this.ignoreCase) { - str += 'i'; - } - if (this.multiline) { - str += 'm'; - } - return str; - }; - // can't use defineProperties here because of toString enumeration issue in IE <= 8 - RegExp.prototype.toString = regexToString; -} - -})); - -/*! - * https://github.com/es-shims/es5-shim - * @license es5-shim Copyright 2009-2015 by contributors, MIT License - * see https://github.com/es-shims/es5-shim/blob/master/LICENSE - */ - -// vim: ts=4 sts=4 sw=4 expandtab - -// Add semicolon to prevent IIFE from being passed as argument to concatenated code. -; - -// UMD (Universal Module Definition) -// see https://github.com/umdjs/umd/blob/master/templates/returnExports.js -(function (root, factory) { - 'use strict'; - - /* global define, exports, module */ - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(factory); - } else if (typeof exports === 'object') { - // Node. Does not work with strict CommonJS, but - // only CommonJS-like enviroments that support module.exports, - // like Node. - module.exports = factory(); - } else { - // Browser globals (root is window) - root.returnExports = factory(); - } -}(this, function () { - -var call = Function.call; -var prototypeOfObject = Object.prototype; -var owns = call.bind(prototypeOfObject.hasOwnProperty); -var isEnumerable = call.bind(prototypeOfObject.propertyIsEnumerable); -var toStr = call.bind(prototypeOfObject.toString); - -// If JS engine supports accessors creating shortcuts. -var defineGetter; -var defineSetter; -var lookupGetter; -var lookupSetter; -var supportsAccessors = owns(prototypeOfObject, '__defineGetter__'); -if (supportsAccessors) { - /* eslint-disable no-underscore-dangle */ - defineGetter = call.bind(prototypeOfObject.__defineGetter__); - defineSetter = call.bind(prototypeOfObject.__defineSetter__); - lookupGetter = call.bind(prototypeOfObject.__lookupGetter__); - lookupSetter = call.bind(prototypeOfObject.__lookupSetter__); - /* eslint-enable no-underscore-dangle */ -} - -// ES5 15.2.3.2 -// http://es5.github.com/#x15.2.3.2 -if (!Object.getPrototypeOf) { - // https://github.com/es-shims/es5-shim/issues#issue/2 - // http://ejohn.org/blog/objectgetprototypeof/ - // recommended by fschaefer on github - // - // sure, and webreflection says ^_^ - // ... this will nerever possibly return null - // ... Opera Mini breaks here with infinite loops - Object.getPrototypeOf = function getPrototypeOf(object) { - /* eslint-disable no-proto */ - var proto = object.__proto__; - /* eslint-enable no-proto */ - if (proto || proto === null) { - return proto; - } else if (toStr(object.constructor) === '[object Function]') { - return object.constructor.prototype; - } else if (object instanceof Object) { - return prototypeOfObject; - } else { - // Correctly return null for Objects created with `Object.create(null)` - // (shammed or native) or `{ __proto__: null}`. Also returns null for - // cross-realm objects on browsers that lack `__proto__` support (like - // IE <11), but that's the best we can do. - return null; - } - }; -} - -// ES5 15.2.3.3 -// http://es5.github.com/#x15.2.3.3 - -var doesGetOwnPropertyDescriptorWork = function doesGetOwnPropertyDescriptorWork(object) { - try { - object.sentinel = 0; - return Object.getOwnPropertyDescriptor(object, 'sentinel').value === 0; - } catch (exception) { - return false; - } -}; - -// check whether getOwnPropertyDescriptor works if it's given. Otherwise, shim partially. -if (Object.defineProperty) { - var getOwnPropertyDescriptorWorksOnObject = doesGetOwnPropertyDescriptorWork({}); - var getOwnPropertyDescriptorWorksOnDom = typeof document === 'undefined' || - doesGetOwnPropertyDescriptorWork(document.createElement('div')); - if (!getOwnPropertyDescriptorWorksOnDom || !getOwnPropertyDescriptorWorksOnObject) { - var getOwnPropertyDescriptorFallback = Object.getOwnPropertyDescriptor; - } -} - -if (!Object.getOwnPropertyDescriptor || getOwnPropertyDescriptorFallback) { - var ERR_NON_OBJECT = 'Object.getOwnPropertyDescriptor called on a non-object: '; - - /* eslint-disable no-proto */ - Object.getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) { - if ((typeof object !== 'object' && typeof object !== 'function') || object === null) { - throw new TypeError(ERR_NON_OBJECT + object); - } - - // make a valiant attempt to use the real getOwnPropertyDescriptor - // for I8's DOM elements. - if (getOwnPropertyDescriptorFallback) { - try { - return getOwnPropertyDescriptorFallback.call(Object, object, property); - } catch (exception) { - // try the shim if the real one doesn't work - } - } - - var descriptor; - - // If object does not owns property return undefined immediately. - if (!owns(object, property)) { - return descriptor; - } - - // If object has a property then it's for sure `configurable`, and - // probably `enumerable`. Detect enumerability though. - descriptor = { - enumerable: isEnumerable(object, property), - configurable: true - }; - - // If JS engine supports accessor properties then property may be a - // getter or setter. - if (supportsAccessors) { - // Unfortunately `__lookupGetter__` will return a getter even - // if object has own non getter property along with a same named - // inherited getter. To avoid misbehavior we temporary remove - // `__proto__` so that `__lookupGetter__` will return getter only - // if it's owned by an object. - var prototype = object.__proto__; - var notPrototypeOfObject = object !== prototypeOfObject; - // avoid recursion problem, breaking in Opera Mini when - // Object.getOwnPropertyDescriptor(Object.prototype, 'toString') - // or any other Object.prototype accessor - if (notPrototypeOfObject) { - object.__proto__ = prototypeOfObject; - } - - var getter = lookupGetter(object, property); - var setter = lookupSetter(object, property); - - if (notPrototypeOfObject) { - // Once we have getter and setter we can put values back. - object.__proto__ = prototype; - } - - if (getter || setter) { - if (getter) { - descriptor.get = getter; - } - if (setter) { - descriptor.set = setter; - } - // If it was accessor property we're done and return here - // in order to avoid adding `value` to the descriptor. - return descriptor; - } - } - - // If we got this far we know that object has an own property that is - // not an accessor so we set it as a value and return descriptor. - descriptor.value = object[property]; - descriptor.writable = true; - return descriptor; - }; - /* eslint-enable no-proto */ -} - -// ES5 15.2.3.4 -// http://es5.github.com/#x15.2.3.4 -if (!Object.getOwnPropertyNames) { - Object.getOwnPropertyNames = function getOwnPropertyNames(object) { - return Object.keys(object); - }; -} - -// ES5 15.2.3.5 -// http://es5.github.com/#x15.2.3.5 -if (!Object.create) { - - // Contributed by Brandon Benvie, October, 2012 - var createEmpty; - var supportsProto = !({ __proto__: null } instanceof Object); - // the following produces false positives - // in Opera Mini => not a reliable check - // Object.prototype.__proto__ === null - - // Check for document.domain and active x support - // No need to use active x approach when document.domain is not set - // see https://github.com/es-shims/es5-shim/issues/150 - // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 - /* global ActiveXObject */ - var shouldUseActiveX = function shouldUseActiveX() { - // return early if document.domain not set - if (!document.domain) { - return false; - } - - try { - return !!new ActiveXObject('htmlfile'); - } catch (exception) { - return false; - } - }; - - // This supports IE8 when document.domain is used - // see https://github.com/es-shims/es5-shim/issues/150 - // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 - var getEmptyViaActiveX = function getEmptyViaActiveX() { - var empty; - var xDoc; - - xDoc = new ActiveXObject('htmlfile'); - - xDoc.write('"),b.close(),a=b.parentWindow.Object.prototype,b=null,a},u=function(){var a,c=b.createElement("iframe"),d=b.body||b.documentElement;return c.style.display="none",d.appendChild(c),c.src="javascript:",a=c.contentWindow.Object.prototype,d.removeChild(c),c=null,a};q=r||"undefined"==typeof b?function(){return{__proto__:null}}:function(){var a=s()?t():u();delete a.constructor,delete a.hasOwnProperty,delete a.propertyIsEnumerable,delete a.isPrototypeOf,delete a.toLocaleString,delete a.toString,delete a.valueOf;var b=function(){};return b.prototype=a,q=function(){return new b},new b},Object.create=function(a,b){var c,d=function(){};if(null===a)c=q();else{if("object"!=typeof a&&"function"!=typeof a)throw new TypeError("Object prototype may only be an Object or null");d.prototype=a,c=new d,c.__proto__=a}return void 0!==b&&Object.defineProperties(c,b),c}}var v=function(a){try{return Object.defineProperty(a,"sentinel",{}),"sentinel"in a}catch(b){return!1}};if(Object.defineProperty){var w=v({}),x="undefined"==typeof b||v(b.createElement("div"));if(!w||!x)var y=Object.defineProperty,z=Object.defineProperties}if(!Object.defineProperty||y){var A="Property description must be an object: ",B="Object.defineProperty called on non-object: ",C="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(b,f,h){if("object"!=typeof b&&"function"!=typeof b||null===b)throw new TypeError(B+b);if("object"!=typeof h&&"function"!=typeof h||null===h)throw new TypeError(A+h);if(y)try{return y.call(Object,b,f,h)}catch(i){}if("value"in h)if(k&&(d(b,f)||e(b,f))){var j=b.__proto__;b.__proto__=g,delete b[f],b[f]=h.value,b.__proto__=j}else b[f]=h.value;else{if(!k&&("get"in h||"set"in h))throw new TypeError(C);"get"in h&&a(b,f,h.get),"set"in h&&c(b,f,h.set)}return b}}(!Object.defineProperties||z)&&(Object.defineProperties=function(a,b){if(z)try{return z.call(Object,a,b)}catch(c){}return Object.keys(b).forEach(function(c){"__proto__"!==c&&Object.defineProperty(a,c,b[c])}),a}),Object.seal||(Object.seal=function(a){if(Object(a)!==a)throw new TypeError("Object.seal can only be called on Objects.");return a}),Object.freeze||(Object.freeze=function(a){if(Object(a)!==a)throw new TypeError("Object.freeze can only be called on Objects.");return a});try{Object.freeze(function(){})}catch(D){Object.freeze=function(a){return function(b){return"function"==typeof b?b:a(b)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(a){if(Object(a)!==a)throw new TypeError("Object.preventExtensions can only be called on Objects.");return a}),Object.isSealed||(Object.isSealed=function(a){if(Object(a)!==a)throw new TypeError("Object.isSealed can only be called on Objects.");return!1}),Object.isFrozen||(Object.isFrozen=function(a){if(Object(a)!==a)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1}),Object.isExtensible||(Object.isExtensible=function(a){if(Object(a)!==a)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var b="";h(a,b);)b+="?";a[b]=!0;var c=h(a,b);return delete a[b],c})})}(window,document); \ No newline at end of file diff --git a/apps/web/public/player/lang/ar.js b/apps/web/public/player/lang/ar.js deleted file mode 100644 index cf4dda6..0000000 --- a/apps/web/public/player/lang/ar.js +++ /dev/null @@ -1,34 +0,0 @@ -TCPlayer.addLanguage("ar",{ - "Play": "تشغيل", - "Pause": "إيقاف", - "Current Time": "الوقت الحالي", - "Duration Time": "مدة", - "Remaining Time": "الوقت المتبقي", - "Stream Type": "نوع التيار", - "LIVE": "مباشر", - "Loaded": "تم التحميل", - "Progress": "التقدم", - "Fullscreen": "ملء الشاشة", - "Non-Fullscreen": "تعطيل ملء الشاشة", - "Mute": "صامت", - "Unmute": "غير الصامت", - "Playback Rate": "معدل التشغيل", - "Subtitles": "الترجمة", - "subtitles off": "إيقاف الترجمة", - "Captions": "التعليقات", - "captions off": "إيقاف التعليقات", - "Chapters": "فصول", - "You aborted the media playback": "لقد ألغيت تشغيل الفيديو", - "A network error caused the media download to fail part-way.": "تسبب خطأ في الشبكة بفشل تحميل الفيديو بالكامل.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "لا يمكن تحميل الفيديو بسبب فشل في الخادوم أو الشبكة ، أو فشل بسبب عدم إمكانية قراءة تنسيق الفيديو.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "تم إيقاف تشغيل الفيديو بسبب مشكلة فساد أو لأن الفيديو المستخدم يستخدم ميزات غير مدعومة من متصفحك.", - "No compatible source was found for this media.": "فشل العثور على أي مصدر متوافق مع هذا الفيديو.", - "Play Video": "تشغيل الفيديو", - "Close": "أغلق", - "Modal Window": "نافذة مشروطة", - "This is a modal window": "هذه نافذة مشروطة", - "This modal can be closed by pressing the Escape key or activating the close button.": "يمكن غلق هذه النافذة المشروطة عن طريق الضغط على زر الخروج أو تفعيل زر الإغلاق", - ", opens captions settings dialog": ", تفتح نافذة خيارات التعليقات", - ", opens subtitles settings dialog": ", تفتح نافذة خيارات الترجمة", - ", selected": ", مختار" -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/ba.js b/apps/web/public/player/lang/ba.js deleted file mode 100644 index dc1ddd6..0000000 --- a/apps/web/public/player/lang/ba.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("ba",{ - "Play": "Pusti", - "Pause": "Pauza", - "Current Time": "Trenutno vrijeme", - "Duration Time": "Vrijeme trajanja", - "Remaining Time": "Preostalo vrijeme", - "Stream Type": "Način strimovanja", - "LIVE": "UŽIVO", - "Loaded": "Učitan", - "Progress": "Progres", - "Fullscreen": "Puni ekran", - "Non-Fullscreen": "Mali ekran", - "Mute": "Prigušen", - "Unmute": "Ne-prigušen", - "Playback Rate": "Stopa reprodukcije", - "Subtitles": "Podnaslov", - "subtitles off": "Podnaslov deaktiviran", - "Captions": "Titlovi", - "captions off": "Titlovi deaktivirani", - "Chapters": "Poglavlja", - "You aborted the media playback": "Isključili ste reprodukciju videa.", - "A network error caused the media download to fail part-way.": "Video se prestao preuzimati zbog greške na mreži.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video se ne može reproducirati zbog servera, greške u mreži ili je format ne podržan.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Reprodukcija videa je zaustavljenja zbog greške u formatu ili zbog verzije vašeg pretraživača.", - "No compatible source was found for this media.": "Nije nađen nijedan kompatibilan izvor ovog videa." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/bg.js b/apps/web/public/player/lang/bg.js deleted file mode 100644 index 954a773..0000000 --- a/apps/web/public/player/lang/bg.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("bg",{ - "Play": "Възпроизвеждане", - "Pause": "Пауза", - "Current Time": "Текущо време", - "Duration Time": "Продължителност", - "Remaining Time": "Оставащо време", - "Stream Type": "Тип на потока", - "LIVE": "НА ЖИВО", - "Loaded": "Заредено", - "Progress": "Прогрес", - "Fullscreen": "Цял екран", - "Non-Fullscreen": "Спиране на цял екран", - "Mute": "Без звук", - "Unmute": "Със звук", - "Playback Rate": "Скорост на възпроизвеждане", - "Subtitles": "Субтитри", - "subtitles off": "Спряни субтитри", - "Captions": "Аудио надписи", - "captions off": "Спряни аудио надписи", - "Chapters": "Глави", - "You aborted the media playback": "Спряхте възпроизвеждането на видеото", - "A network error caused the media download to fail part-way.": "Грешка в мрежата провали изтеглянето на видеото.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Видеото не може да бъде заредено заради проблем със сървъра или мрежата или защото този формат не е поддържан.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Възпроизвеждането на видеото беше прекъснато заради проблем с файла или защото видеото използва опции които браузърът Ви не поддържа.", - "No compatible source was found for this media.": "Не беше намерен съвместим източник за това видео." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/ca.js b/apps/web/public/player/lang/ca.js deleted file mode 100644 index aa554ae..0000000 --- a/apps/web/public/player/lang/ca.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("ca",{ - "Play": "Reproducció", - "Pause": "Pausa", - "Current Time": "Temps reproduït", - "Duration Time": "Durada total", - "Remaining Time": "Temps restant", - "Stream Type": "Tipus de seqüència", - "LIVE": "EN DIRECTE", - "Loaded": "Carregat", - "Progress": "Progrés", - "Fullscreen": "Pantalla completa", - "Non-Fullscreen": "Pantalla no completa", - "Mute": "Silencia", - "Unmute": "Amb so", - "Playback Rate": "Velocitat de reproducció", - "Subtitles": "Subtítols", - "subtitles off": "Subtítols desactivats", - "Captions": "Llegendes", - "captions off": "Llegendes desactivades", - "Chapters": "Capítols", - "You aborted the media playback": "Heu interromput la reproducció del vídeo.", - "A network error caused the media download to fail part-way.": "Un error de la xarxa ha interromput la baixada del vídeo.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "No s'ha pogut carregar el vídeo perquè el servidor o la xarxa han fallat, o bé perquè el seu format no és compatible.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La reproducció de vídeo s'ha interrumput per un problema de corrupció de dades o bé perquè el vídeo demanava funcions que el vostre navegador no ofereix.", - "No compatible source was found for this media.": "No s'ha trobat cap font compatible amb el vídeo." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/cs.js b/apps/web/public/player/lang/cs.js deleted file mode 100644 index b22221c..0000000 --- a/apps/web/public/player/lang/cs.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("cs",{ - "Play": "Přehrát", - "Pause": "Pauza", - "Current Time": "Aktuální čas", - "Duration Time": "Doba trvání", - "Remaining Time": "Zbývající čas", - "Stream Type": "Stream Type", - "LIVE": "ŽIVĚ", - "Loaded": "Načteno", - "Progress": "Stav", - "Fullscreen": "Celá obrazovka", - "Non-Fullscreen": "Zmenšená obrazovka", - "Mute": "Ztlumit zvuk", - "Unmute": "Přehrát zvuk", - "Playback Rate": "Rychlost přehrávání", - "Subtitles": "Titulky", - "subtitles off": "Titulky vypnuty", - "Captions": "Popisky", - "captions off": "Popisky vypnuty", - "Chapters": "Kapitoly", - "You aborted the media playback": "Přehrávání videa je přerušeno.", - "A network error caused the media download to fail part-way.": "Video nemohlo být načteno, kvůli chybě v síti.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video nemohlo být načteno, buď kvůli chybě serveru nebo sítě nebo proto, že daný formát není podporován.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Váš prohlížeč nepodporuje formát videa.", - "No compatible source was found for this media.": "Špatně zadaný zdroj videa." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/da.js b/apps/web/public/player/lang/da.js deleted file mode 100644 index 21d0037..0000000 --- a/apps/web/public/player/lang/da.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("da",{ - "Play": "Afspil", - "Pause": "Pause", - "Current Time": "Aktuel tid", - "Duration Time": "Varighed", - "Remaining Time": "Resterende tid", - "Stream Type": "Stream-type", - "LIVE": "LIVE", - "Loaded": "Indlæst", - "Progress": "Status", - "Fullscreen": "Fuldskærm", - "Non-Fullscreen": "Luk fuldskærm", - "Mute": "Uden lyd", - "Unmute": "Med lyd", - "Playback Rate": "Afspilningsrate", - "Subtitles": "Undertekster", - "subtitles off": "Uden undertekster", - "Captions": "Undertekster for hørehæmmede", - "captions off": "Uden undertekster for hørehæmmede", - "Chapters": "Kapitler", - "You aborted the media playback": "Du afbrød videoafspilningen.", - "A network error caused the media download to fail part-way.": "En netværksfejl fik download af videoen til at fejle.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Videoen kunne ikke indlæses, enten fordi serveren eller netværket fejlede, eller fordi formatet ikke er understøttet.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Videoafspilningen blev afbrudt på grund af ødelagte data eller fordi videoen benyttede faciliteter som din browser ikke understøtter.", - "No compatible source was found for this media.": "Fandt ikke en kompatibel kilde for denne media." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/de.js b/apps/web/public/player/lang/de.js deleted file mode 100644 index 915d3d1..0000000 --- a/apps/web/public/player/lang/de.js +++ /dev/null @@ -1,84 +0,0 @@ -TCPlayer.addLanguage("de",{ - "Play": "Wiedergabe", - "Pause": "Pause", - "Replay": "Erneut abspielen", - "Current Time": "Aktueller Zeitpunkt", - "Duration Time": "Dauer", - "Remaining Time": "Verbleibende Zeit", - "Stream Type": "Streamtyp", - "LIVE": "LIVE", - "Loaded": "Geladen", - "Progress": "Status", - "Fullscreen": "Vollbild", - "Non-Fullscreen": "Kein Vollbild", - "Mute": "Ton aus", - "Unmute": "Ton ein", - "Playback Rate": "Wiedergabegeschwindigkeit", - "Subtitles": "Untertitel", - "subtitles off": "Untertitel aus", - "Captions": "Untertitel", - "captions off": "Untertitel aus", - "Chapters": "Kapitel", - "You aborted the media playback": "Sie haben die Videowiedergabe abgebrochen.", - "A network error caused the media download to fail part-way.": "Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.", - "No compatible source was found for this media.": "Für dieses Video wurde keine kompatible Quelle gefunden.", - "Play Video": "Video abspielen", - "Close": "Schließen", - "Modal Window": "Modales Fenster", - "This is a modal window": "Dies ist ein modales Fenster", - "This modal can be closed by pressing the Escape key or activating the close button.": "Durch Drücken der Esc-Taste bzw. Betätigung der Schaltfläche \"Schließen\" wird dieses modale Fenster geschlossen.", - ", opens captions settings dialog": ", öffnet Einstellungen für Untertitel", - ", opens subtitles settings dialog": ", öffnet Einstellungen für Untertitel", - ", selected": ", ausgewählt", - "captions settings": "Untertiteleinstellungen", - "subtitles settings": "Untertiteleinstellungen", - "descriptions settings": "Einstellungen für Beschreibungen", - "Close Modal Dialog": "Modales Fenster schließen", - "Descriptions": "Beschreibungen", - "descriptions off": "Beschreibungen aus", - "The media is encrypted and we do not have the keys to decrypt it.": "Die Entschlüsselungsschlüssel für den verschlüsselten Medieninhalt sind nicht verfügbar.", - ", opens descriptions settings dialog": ", öffnet Einstellungen für Beschreibungen", - "Audio Track": "Tonspur", - "Text": "Schrift", - "White": "Weiß", - "Black": "Schwarz", - "Red": "Rot", - "Green": "Grün", - "Blue": "Blau", - "Yellow": "Gelb", - "Magenta": "Magenta", - "Cyan": "Türkis", - "Background": "Hintergrund", - "Window": "Fenster", - "Transparent": "Durchsichtig", - "Semi-Transparent": "Halbdurchsichtig", - "Opaque": "Undurchsictig", - "Font Size": "Schriftgröße", - "Text Edge Style": "Textkantenstil", - "None": "Kein", - "Raised": "Erhoben", - "Depressed": "Gedrückt", - "Uniform": "Uniform", - "Dropshadow": "Schlagschatten", - "Font Family": "Schristfamilie", - "Proportional Sans-Serif": "Proportionale Sans-Serif", - "Monospace Sans-Serif": "Monospace Sans-Serif", - "Proportional Serif": "Proportionale Serif", - "Monospace Serif": "Monospace Serif", - "Casual": "Zwanglos", - "Script": "Schreibeschrift", - "Small Caps": "Small-Caps", - "Reset": "Zurücksetzen", - "restore all settings to the default values": "Alle Einstellungen auf die Standardwerte zurücksetzen", - "Done": "Fertig", - "Caption Settings Dialog": "Einstellungsdialog für Untertitel", - "Beginning of dialog window. Escape will cancel and close the window.": "Anfang des Dialogfensters. Esc bricht ab und schließt das Fenster.", - "End of dialog window.": "Ende des Dialogfensters.", - "Audio Player": "Audio-Player", - "Video Player": "Video-Player", - "Progress Bar": "Forschrittsbalken", - "progress bar timing: currentTime={1} duration={2}": "{1} von {2}", - "Volume Level": "Lautstärkestufe" -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/el.js b/apps/web/public/player/lang/el.js deleted file mode 100644 index b1394cb..0000000 --- a/apps/web/public/player/lang/el.js +++ /dev/null @@ -1,40 +0,0 @@ -TCPlayer.addLanguage("el",{ - "Play": "Aναπαραγωγή", - "Pause": "Παύση", - "Current Time": "Τρέχων χρόνος", - "Duration Time": "Συνολικός χρόνος", - "Remaining Time": "Υπολοιπόμενος χρόνος", - "Stream Type": "Τύπος ροής", - "LIVE": "ΖΩΝΤΑΝΑ", - "Loaded": "Φόρτωση επιτυχής", - "Progress": "Πρόοδος", - "Fullscreen": "Πλήρης οθόνη", - "Non-Fullscreen": "Έξοδος από πλήρη οθόνη", - "Mute": "Σίγαση", - "Unmute": "Kατάργηση σίγασης", - "Playback Rate": "Ρυθμός αναπαραγωγής", - "Subtitles": "Υπότιτλοι", - "subtitles off": "απόκρυψη υπότιτλων", - "Captions": "Λεζάντες", - "captions off": "απόκρυψη λεζάντων", - "Chapters": "Κεφάλαια", - "Close Modal Dialog": "Κλείσιμο παραθύρου", - "Descriptions": "Περιγραφές", - "descriptions off": "απόκρυψη περιγραφών", - "Audio Track": "Ροή ήχου", - "You aborted the media playback": "Ακυρώσατε την αναπαραγωγή", - "A network error caused the media download to fail part-way.": "Ένα σφάλμα δικτύου προκάλεσε την αποτυχία μεταφόρτωσης του αρχείου προς αναπαραγωγή.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Το αρχείο προς αναπαραγωγή δεν ήταν δυνατό να φορτωθεί είτε γιατί υπήρξε σφάλμα στον διακομιστή ή το δίκτυο, είτε γιατί ο τύπος του αρχείου δεν υποστηρίζεται.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Η αναπαραγωγή ακυρώθηκε είτε λόγω κατεστραμμένου αρχείου, είτε γιατί το αρχείο απαιτεί λειτουργίες που δεν υποστηρίζονται από το πρόγραμμα περιήγησης που χρησιμοποιείτε.", - "No compatible source was found for this media.": "Δεν βρέθηκε συμβατή πηγή αναπαραγωγής για το συγκεκριμένο αρχείο.", - "The media is encrypted and we do not have the keys to decrypt it.": "Το αρχείο προς αναπαραγωγή είναι κρυπτογραφημένo και δεν υπάρχουν τα απαραίτητα κλειδιά αποκρυπτογράφησης.", - "Play Video": "Αναπαραγωγή βίντεο", - "Close": "Κλείσιμο", - "Modal Window": "Aναδυόμενο παράθυρο", - "This is a modal window": "Το παρών είναι ένα αναδυόμενο παράθυρο", - "This modal can be closed by pressing the Escape key or activating the close button.": "Αυτό το παράθυρο μπορεί να εξαφανιστεί πατώντας το πλήκτρο Escape ή πατώντας το κουμπί κλεισίματος.", - ", opens captions settings dialog": ", εμφανίζει τις ρυθμίσεις για τις λεζάντες", - ", opens subtitles settings dialog": ", εμφανίζει τις ρυθμίσεις για τους υπότιτλους", - ", opens descriptions settings dialog": ", εμφανίζει τις ρυθμίσεις για τις περιγραφές", - ", selected": ", επιλεγμένο" -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/en.js b/apps/web/public/player/lang/en.js deleted file mode 100644 index c6d194b..0000000 --- a/apps/web/public/player/lang/en.js +++ /dev/null @@ -1,100 +0,0 @@ -TCPlayer.addLanguage("en",{ - "Audio Player": "Audio Player", - "Video Player": "Video Player", - "Play": "Play", - "Pause": "Pause", - "Replay": "Replay", - "Current Time": "Current Time", - "Duration Time": "Duration Time", - "Remaining Time": "Remaining Time", - "Stream Type": "Stream Type", - "LIVE": "LIVE", - "Loaded": "Loaded", - "Progress": "Progress", - "Progress Bar": "Progress Bar", - "progress bar timing: currentTime={1} duration={2}": "{1} of {2}", - "Fullscreen": "Fullscreen", - "Non-Fullscreen": "Non-Fullscreen", - "Mute": "Mute", - "Unmute": "Unmute", - "Playback Rate": "Playback Rate", - "Subtitles": "Subtitles", - "subtitles off": "subtitles off", - "Captions": "Captions", - "captions off": "captions off", - "Chapters": "Chapters", - "Descriptions": "Descriptions", - "descriptions off": "descriptions off", - "Audio Track": "Audio Track", - "Volume Level": "Volume Level", - "You aborted the media playback": "You aborted the media playback", - "A network error caused the media download to fail part-way.": "A network error caused the media download to fail part-way.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "The media could not be loaded, either because the server or network failed or because the format is not supported.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.", - "No compatible source was found for this media.": "No compatible source was found for this media.", - "The media is encrypted and we do not have the keys to decrypt it.": "The media is encrypted and we do not have the keys to decrypt it.", - "Play Video": "Play Video", - "Close": "Close", - "Close Modal Dialog": "Close Modal Dialog", - "Modal Window": "Modal Window", - "This is a modal window": "This is a modal window", - "This modal can be closed by pressing the Escape key or activating the close button.": "This modal can be closed by pressing the Escape key or activating the close button.", - ", opens captions settings dialog": ", opens captions settings dialog", - ", opens subtitles settings dialog": ", opens subtitles settings dialog", - ", opens descriptions settings dialog": ", opens descriptions settings dialog", - ", selected": ", selected", - "captions settings": "captions settings", - "subtitles settings": "subititles settings", - "descriptions settings": "descriptions settings", - "Text": "Text", - "White": "White", - "Black": "Black", - "Red": "Red", - "Green": "Green", - "Blue": "Blue", - "Yellow": "Yellow", - "Magenta": "Magenta", - "Cyan": "Cyan", - "Background": "Background", - "Window": "Window", - "Transparent": "Transparent", - "Semi-Transparent": "Semi-Transparent", - "Opaque": "Opaque", - "Font Size": "Font Size", - "Text Edge Style": "Text Edge Style", - "None": "None", - "Raised": "Raised", - "Depressed": "Depressed", - "Uniform": "Uniform", - "Dropshadow": "Dropshadow", - "Font Family": "Font Family", - "Proportional Sans-Serif": "Proportional Sans-Serif", - "Monospace Sans-Serif": "Monospace Sans-Serif", - "Proportional Serif": "Proportional Serif", - "Monospace Serif": "Monospace Serif", - "Casual": "Casual", - "Script": "Script", - "Small Caps": "Small Caps", - "Reset": "Reset", - "restore all settings to the default values": "restore all settings to the default values", - "Done": "Done", - "Caption Settings Dialog": "Caption Settings Dialog", - "Beginning of dialog window. Escape will cancel and close the window.": "Beginning of dialog window. Escape will cancel and close the window.", - "End of dialog window.": "End of dialog window.", - "Powered by Tencent Cloud.": "Powered by Tencent Cloud.", - "Rise an internal exception when playing HLS.": "Rise an internal exception when playing HLS.", - "The media file does not exist. Please check if the fileID is correct.": "The media file does not exist. Please check if the fileID is correct.", - "The trial duration is illegal. The trial duration must be within the video duration.": "The trial duration is illegal. The trial duration must be within the video duration.", - "Param pcfg is not unique.": "Param pcfg is not unique.", - "The license has expired. Please check whether the expiration time setting is reasonable.": "The license has expired. Please check whether the expiration time setting is reasonable.", - "Did not find an adaptive stream that can be played.": "Did not find an adaptive stream that can be played. View document", - "Invalid request format, please check the request format.": "Invalid request format, please check the request format.", - "AppID is not exist, Please check if the AppID is correct.": "AppID is not exist. Please check if the AppID is correct.", - "Without anti-leech information.": "Without anti-leech information.", - "psign check failed.": "Param psign check failed, View document", - "Other errors.": "Other errors.", - "Internal error.": "Internal error.", - "Mirror": "mirror", - "Video statistic": "Video statistic", - "Play Next": "play next" -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/es.js b/apps/web/public/player/lang/es.js deleted file mode 100644 index a988aeb..0000000 --- a/apps/web/public/player/lang/es.js +++ /dev/null @@ -1,27 +0,0 @@ -TCPlayer.addLanguage("es",{ - "Play": "Reproducción", - "Play Video": "Reproducción Vídeo", - "Pause": "Pausa", - "Current Time": "Tiempo reproducido", - "Duration Time": "Duración total", - "Remaining Time": "Tiempo restante", - "Stream Type": "Tipo de secuencia", - "LIVE": "DIRECTO", - "Loaded": "Cargado", - "Progress": "Progreso", - "Fullscreen": "Pantalla completa", - "Non-Fullscreen": "Pantalla no completa", - "Mute": "Silenciar", - "Unmute": "No silenciado", - "Playback Rate": "Velocidad de reproducción", - "Subtitles": "Subtítulos", - "subtitles off": "Subtítulos desactivados", - "Captions": "Subtítulos especiales", - "captions off": "Subtítulos especiales desactivados", - "Chapters": "Capítulos", - "You aborted the media playback": "Ha interrumpido la reproducción del vídeo.", - "A network error caused the media download to fail part-way.": "Un error de red ha interrumpido la descarga del vídeo.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "No se ha podido cargar el vídeo debido a un fallo de red o del servidor o porque el formato es incompatible.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La reproducción de vídeo se ha interrumpido por un problema de corrupción de datos o porque el vídeo precisa funciones que su navegador no ofrece.", - "No compatible source was found for this media.": "No se ha encontrado ninguna fuente compatible con este vídeo." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/fa.js b/apps/web/public/player/lang/fa.js deleted file mode 100644 index 9a56fb9..0000000 --- a/apps/web/public/player/lang/fa.js +++ /dev/null @@ -1,84 +0,0 @@ -TCPlayer.addLanguage("fa",{ - "Audio Player": "پخش کننده صوتی", - "Video Player": "پخش کننده ویدیو", - "Play": "پخش", - "Pause": "مکث", - "Replay": "بازپخش", - "Current Time": "زمان کنونی", - "Duration Time": "مدت زمان", - "Remaining Time": "زمان باقیمانده", - "Stream Type": "نوع استریم", - "LIVE": "زنده", - "Loaded": "بارگیری شده", - "Progress": "پیشرفت", - "Progress Bar": "نوار پیشرفت", - "progress bar timing: currentTime={1} duration={2}": "{1} از {2}", - "Fullscreen": "تمام‌صفحه", - "Non-Fullscreen": "غیر تمام‌صفحه", - "Mute": "بی صدا", - "Unmute": "صدا دار", - "Playback Rate": "سرعت پخش", - "Subtitles": "زیرنویس", - "subtitles off": "بدون زیرنویس", - "Captions": "زیرتوضیح", - "captions off": "بدون زیرتوضیح", - "Chapters": "قسمت‌ها", - "Descriptions": "توصیف", - "descriptions off": "بدون توصیف", - "Audio Track": "صوت", - "Volume Level": "میزان صدا", - "You aborted the media playback": "شما پخش را قطع کردید.", - "A network error caused the media download to fail part-way.": "خطای شبکه باعث عدم بارگیری بخشی از رسانه شد.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": ".رسانه قابل بارگیری نیست. علت آن ممکن است خطا در اتصال یا عدم پشتیبانی از فرمت باشد", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "پخش رسانه به علت اشکال در آن یا عدم پشتیبانی مرورگر شما قطع شد.", - "No compatible source was found for this media.": "هیچ منبع سازگاری، برای این رسانه پیدا نشد.", - "The media is encrypted and we do not have the keys to decrypt it.": "این رسانه رمزنگاری شده است و ما کلید رمزگشایی آن را نداریم.", - "Play Video": "پخش ویدیو", - "Close": "بستن", - "Close Modal Dialog": "بستن پنجره مودال", - "Modal Window": "پنجره مودال", - "This is a modal window": "این پنجره مودال", - "This modal can be closed by pressing the Escape key or activating the close button.": "این پنجره با دکمه اسکیپ با دکمه بستن قابل بسته شدن میباشد.", - ", opens captions settings dialog": ", تنظیمات زیرتوضیح را باز میکند", - ", opens subtitles settings dialog": ", تنظیمات زیرنویس را باز میکند", - ", opens descriptions settings dialog": ", تنظیمات توصیفات را باز میکند", - ", selected": ", انتخاب شده", - "captions settings": "تنظیمات زیرتوضیح", - "subtitles settings": "تنظیمات زیرنویس", - "descriptions settings": "تنظیمات توصیفات", - "Text": "متن", - "White": "سفید", - "Black": "سیاه", - "Red": "قرمز", - "Green": "سبز", - "Blue": "آبی", - "Yellow": "زرد", - "Magenta": "ارغوانی", - "Cyan": "سبزآبی", - "Background": "زمینه", - "Window": "پنجره", - "Transparent": "شفاف", - "Semi-Transparent": "نیمه شفاف", - "Opaque": "مات", - "Font Size": "اندازه فونت", - "Text Edge Style": "سبک لبه متن", - "None": "هیچ", - "Raised": "برآمده", - "Depressed": "فرورفته", - "Uniform": "یکنواخت", - "Dropshadow": "سایه دار", - "Font Family": "نوع فونت", - "Proportional Sans-Serif": "سنس-سریف متناسب", - "Monospace Sans-Serif": "سنس-سریف هم اندازه", - "Proportional Serif": "سریف متناسب", - "Monospace Serif": "سریف هم اندازه", - "Casual": "فانتزی", - "Script": "دست خط", - "Small Caps": "حروف کوچک به بزرگ", - "Reset": "باز نشاندن", - "restore all settings to the default values": "بازیابی همه تنظیمات به حالت اولیه", - "Done": "تکمیل", - "Caption Settings Dialog": "پنجره تنظیمات عناوین", - "Beginning of dialog window. Escape will cancel and close the window.": "ابتدای پنجره محاوره‌ای. دکمه اسکیپ پنجره را لغو میکند و میبندد.", - "End of dialog window.": "انتهای پنجره محاوره‌ای." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/fi.js b/apps/web/public/player/lang/fi.js deleted file mode 100644 index 07ea3e8..0000000 --- a/apps/web/public/player/lang/fi.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("fi",{ - "Play": "Toisto", - "Pause": "Tauko", - "Current Time": "Tämänhetkinen aika", - "Duration Time": "Kokonaisaika", - "Remaining Time": "Jäljellä oleva aika", - "Stream Type": "Lähetystyyppi", - "LIVE": "LIVE", - "Loaded": "Ladattu", - "Progress": "Edistyminen", - "Fullscreen": "Koko näyttö", - "Non-Fullscreen": "Koko näyttö pois", - "Mute": "Ääni pois", - "Unmute": "Ääni päällä", - "Playback Rate": "Toistonopeus", - "Subtitles": "Tekstitys", - "subtitles off": "Tekstitys pois", - "Captions": "Tekstitys", - "captions off": "Tekstitys pois", - "Chapters": "Kappaleet", - "You aborted the media playback": "Olet keskeyttänyt videotoiston.", - "A network error caused the media download to fail part-way.": "Verkkovirhe keskeytti videon latauksen.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Videon lataus ei onnistunut joko palvelin- tai verkkovirheestä tai väärästä formaatista johtuen.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Videon toisto keskeytyi, koska media on vaurioitunut tai käyttää käyttää toimintoja, joita selaimesi ei tue.", - "No compatible source was found for this media.": "Tälle videolle ei löytynyt yhteensopivaa lähdettä." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/fr.js b/apps/web/public/player/lang/fr.js deleted file mode 100644 index 48d7aab..0000000 --- a/apps/web/public/player/lang/fr.js +++ /dev/null @@ -1,84 +0,0 @@ -TCPlayer.addLanguage("fr",{ - "Audio Player": "Lecteur audio", - "Video Player": "Lecteur vidéo", - "Play": "Lecture", - "Pause": "Pause", - "Replay": "Revoir", - "Current Time": "Temps actuel", - "Duration Time": "Durée", - "Remaining Time": "Temps restant", - "Stream Type": "Type de flux", - "LIVE": "EN DIRECT", - "Loaded": "Chargé", - "Progress": "Progression", - "Progress Bar": "Barre de progression", - "progress bar timing: currentTime={1} duration={2}": "{1} de {2}", - "Fullscreen": "Plein écran", - "Non-Fullscreen": "Fenêtré", - "Mute": "Sourdine", - "Unmute": "Son activé", - "Playback Rate": "Vitesse de lecture", - "Subtitles": "Sous-titres", - "subtitles off": "Sous-titres désactivés", - "Captions": "Sous-titres transcrits", - "captions off": "Sous-titres transcrits désactivés", - "Chapters": "Chapitres", - "Descriptions": "Descriptions", - "descriptions off": "descriptions désactivées", - "Audio Track": "Piste audio", - "Volume Level": "Niveau de volume", - "You aborted the media playback": "Vous avez interrompu la lecture de la vidéo.", - "A network error caused the media download to fail part-way.": "Une erreur de réseau a interrompu le téléchargement de la vidéo.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Cette vidéo n'a pas pu être chargée, soit parce que le serveur ou le réseau a échoué ou parce que le format n'est pas reconnu.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La lecture de la vidéo a été interrompue à cause d'un problème de corruption ou parce que la vidéo utilise des fonctionnalités non prises en charge par votre navigateur.", - "No compatible source was found for this media.": "Aucune source compatible n'a été trouvée pour cette vidéo.", - "The media is encrypted and we do not have the keys to decrypt it.": "Le média est chiffré et nous n'avons pas les clés pour le déchiffrer.", - "Play Video": "Lire la vidéo", - "Close": "Fermer", - "Close Modal Dialog": "Fermer la boîte de dialogue modale", - "Modal Window": "Fenêtre modale", - "This is a modal window": "Ceci est une fenêtre modale", - "This modal can be closed by pressing the Escape key or activating the close button.": "Ce modal peut être fermé en appuyant sur la touche Échap ou activer le bouton de fermeture.", - ", opens captions settings dialog": ", ouvrir les paramètres des sous-titres transcrits", - ", opens subtitles settings dialog": ", ouvrir les paramètres des sous-titres", - ", opens descriptions settings dialog": ", ouvrir les paramètres des descriptions", - ", selected": ", sélectionné", - "captions settings": "Paramètres des sous-titres transcrits", - "subtitles settings": "Paramètres des sous-titres", - "descriptions settings": "Paramètres des descriptions", - "Text": "Texte", - "White": "Blanc", - "Black": "Noir", - "Red": "Rouge", - "Green": "Vert", - "Blue": "Bleu", - "Yellow": "Jaune", - "Magenta": "Magenta", - "Cyan": "Cyan", - "Background": "Arrière-plan", - "Window": "Fenêtre", - "Transparent": "Transparent", - "Semi-Transparent": "Semi-transparent", - "Opaque": "Opaque", - "Font Size": "Taille des caractères", - "Text Edge Style": "Style des contours du texte", - "None": "Aucun", - "Raised": "Élevé", - "Depressed": "Enfoncé", - "Uniform": "Uniforme", - "Dropshadow": "Ombre portée", - "Font Family": "Famille de polices", - "Proportional Sans-Serif": "Polices à chasse variable sans empattement (Proportional Sans-Serif)", - "Monospace Sans-Serif": "Polices à chasse fixe sans empattement (Monospace Sans-Serif)", - "Proportional Serif": "Polices à chasse variable avec empattement (Proportional Serif)", - "Monospace Serif": "Polices à chasse fixe avec empattement (Monospace Serif)", - "Casual": "Manuscrite", - "Script": "Scripte", - "Small Caps": "Petites capitales", - "Reset": "Réinitialiser", - "restore all settings to the default values": "Restaurer tous les paramètres aux valeurs par défaut", - "Done": "Terminé", - "Caption Settings Dialog": "Boîte de dialogue des paramètres des sous-titres transcrits", - "Beginning of dialog window. Escape will cancel and close the window.": "Début de la fenêtre de dialogue. La touche d'échappement annulera et fermera la fenêtre.", - "End of dialog window.": "Fin de la fenêtre de dialogue." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/gl.js b/apps/web/public/player/lang/gl.js deleted file mode 100644 index 241423b..0000000 --- a/apps/web/public/player/lang/gl.js +++ /dev/null @@ -1,27 +0,0 @@ -TCPlayer.addLanguage("gl",{ - "Play": "Reprodución", - "Play Video": "Reprodución Vídeo", - "Pause": "Pausa", - "Current Time": "Tempo reproducido", - "Duration Time": "Duración total", - "Remaining Time": "Tempo restante", - "Stream Type": "Tipo de secuencia", - "LIVE": "DIRECTO", - "Loaded": "Cargado", - "Progress": "Progreso", - "Fullscreen": "Pantalla completa", - "Non-Fullscreen": "Pantalla non completa", - "Mute": "Silenciar", - "Unmute": "Non silenciado", - "Playback Rate": "Velocidade de reprodución", - "Subtitles": "Subtítulos", - "subtitles off": "Subtítulos desactivados", - "Captions": "Subtítulos con lenda", - "captions off": "Subtítulos con lenda desactivados", - "Chapters": "Capítulos", - "You aborted the media playback": "Interrompeches a reprodución do vídeo.", - "A network error caused the media download to fail part-way.": "Un erro de rede interrompeu a descarga do vídeo.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Non se puido cargar o vídeo debido a un fallo de rede ou do servidor ou porque o formato é incompatible.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "A reproducción de vídeo interrompeuse por un problema de corrupción de datos ou porque o vídeo precisa funcións que o teu navegador non ofrece.", - "No compatible source was found for this media.": "Non se atopou ningunha fonte compatible con este vídeo." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/he.js b/apps/web/public/player/lang/he.js deleted file mode 100644 index e0b0f15..0000000 --- a/apps/web/public/player/lang/he.js +++ /dev/null @@ -1,84 +0,0 @@ -TCPlayer.addLanguage("he",{ - "Audio Player": "נַגָּן שמע", - "Video Player": "נַגָּן וידאו", - "Play": "נַגֵּן", - "Pause": "השהה", - "Replay": "נַגֵּן שוב", - "Current Time": "זמן נוכחי", - "Duration Time": "זמן כולל", - "Remaining Time": "זמן נותר", - "Stream Type": "סוג Stream", - "LIVE": "שידור חי", - "Loaded": "נטען", - "Progress": "התקדמות", - "Progress Bar": "סרגל התקדמות", - "progress bar timing: currentTime={1} duration={2}": "{1} מתוך {2}", - "Fullscreen": "מסך מלא", - "Non-Fullscreen": "מסך לא מלא", - "Mute": "השתק", - "Unmute": "בטל השתקה", - "Playback Rate": "קצב ניגון", - "Subtitles": "כתוביות", - "subtitles off": "כתוביות כבויות", - "Captions": "כיתובים", - "captions off": "כיתובים כבויים", - "Chapters": "פרקים", - "Descriptions": "תיאורים", - "descriptions off": "תיאורים כבויים", - "Audio Track": "רצועת שמע", - "Volume Level": "רמת ווליום", - "You aborted the media playback": "ביטלת את השמעת המדיה", - "A network error caused the media download to fail part-way.": "שגיאת רשת גרמה להורדת המדיה להיכשל באמצע.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "לא ניתן לטעון את המדיה, או מכיוון שהרשת או השרת כשלו או מכיוון שהפורמט אינו נתמך.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "השמעת המדיה בוטלה בשל בעית השחטת מידע או מכיוון שהמדיה עשתה שימוש בתכונות שהדפדפן שלך לא תמך בהן.", - "No compatible source was found for this media.": "לא נמצא מקור תואם עבור מדיה זו.", - "The media is encrypted and we do not have the keys to decrypt it.": "המדיה מוצפנת ואין בידינו את המפתח כדי לפענח אותה.", - "Play Video": "נַגֵּן וידאו", - "Close": "סְגוֹר", - "Close Modal Dialog": "סְגוֹר דו-שיח מודאלי", - "Modal Window": "חלון מודאלי", - "This is a modal window": "זהו חלון מודאלי", - "This modal can be closed by pressing the Escape key or activating the close button.": "ניתן לסגור חלון מודאלי זה ע\"י לחיצה על כפתור ה-Escape או הפעלת כפתור הסגירה.", - ", opens captions settings dialog": ", פותח חלון הגדרות כיתובים", - ", opens subtitles settings dialog": ", פותח חלון הגדרות כתוביות", - ", opens descriptions settings dialog": ", פותח חלון הגדרות תיאורים", - ", selected": ", נבחר/ו", - "captions settings": "הגדרות כיתובים", - "subtitles settings": "הגדרות כתוביות", - "descriptions settings": "הגדרות תיאורים", - "Text": "טקסט", - "White": "לבן", - "Black": "שחור", - "Red": "אדום", - "Green": "ירוק", - "Blue": "כחול", - "Yellow": "צהוב", - "Magenta": "מַגֶ'נטָה", - "Cyan": "טורקיז", - "Background": "רקע", - "Window": "חלון", - "Transparent": "שקוף", - "Semi-Transparent": "שקוף למחצה", - "Opaque": "אָטוּם", - "Font Size": "גודל גופן", - "Text Edge Style": "סגנון קצוות טקסט", - "None": "ללא", - "Raised": "מורם", - "Depressed": "מורד", - "Uniform": "אחיד", - "Dropshadow": "הטלת צל", - "Font Family": "משפחת גופן", - "Proportional Sans-Serif": "פרופורציוני וללא תגיות (Proportional Sans-Serif)", - "Monospace Sans-Serif": "ברוחב אחיד וללא תגיות (Monospace Sans-Serif)", - "Proportional Serif": "פרופורציוני ועם תגיות (Proportional Serif)", - "Monospace Serif": "ברוחב אחיד ועם תגיות (Monospace Serif)", - "Casual": "אַגָבִי", - "Script": "תסריט", - "Small Caps": "אותיות קטנות", - "Reset": "אִפּוּס", - "restore all settings to the default values": "שחזר את כל ההגדרות לערכי ברירת המחדל", - "Done": "בוצע", - "Caption Settings Dialog": "דו-שיח הגדרות כיתובים", - "Beginning of dialog window. Escape will cancel and close the window.": "תחילת חלון דו-שיח. Escape יבטל ויסגור את החלון", - "End of dialog window.": "סוף חלון דו-שיח." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/hr.js b/apps/web/public/player/lang/hr.js deleted file mode 100644 index 0191aeb..0000000 --- a/apps/web/public/player/lang/hr.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("hr",{ - "Play": "Pusti", - "Pause": "Pauza", - "Current Time": "Trenutno vrijeme", - "Duration Time": "Vrijeme trajanja", - "Remaining Time": "Preostalo vrijeme", - "Stream Type": "Način strimovanja", - "LIVE": "UŽIVO", - "Loaded": "Učitan", - "Progress": "Progres", - "Fullscreen": "Puni ekran", - "Non-Fullscreen": "Mali ekran", - "Mute": "Prigušen", - "Unmute": "Ne-prigušen", - "Playback Rate": "Stopa reprodukcije", - "Subtitles": "Podnaslov", - "subtitles off": "Podnaslov deaktiviran", - "Captions": "Titlovi", - "captions off": "Titlovi deaktivirani", - "Chapters": "Poglavlja", - "You aborted the media playback": "Isključili ste reprodukciju videa.", - "A network error caused the media download to fail part-way.": "Video se prestao preuzimati zbog greške na mreži.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video se ne može reproducirati zbog servera, greške u mreži ili je format ne podržan.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Reprodukcija videa je zaustavljenja zbog greške u formatu ili zbog verzije vašeg pretraživača.", - "No compatible source was found for this media.": "Nije nađen nijedan kompatibilan izvor ovog videa." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/hu.js b/apps/web/public/player/lang/hu.js deleted file mode 100644 index 977cdb3..0000000 --- a/apps/web/public/player/lang/hu.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("hu",{ - "Play": "Lejátszás", - "Pause": "Szünet", - "Current Time": "Aktuális időpont", - "Duration Time": "Hossz", - "Remaining Time": "Hátralévő idő", - "Stream Type": "Adatfolyam típusa", - "LIVE": "ÉLŐ", - "Loaded": "Betöltve", - "Progress": "Állapot", - "Fullscreen": "Teljes képernyő", - "Non-Fullscreen": "Normál méret", - "Mute": "Némítás", - "Unmute": "Némítás kikapcsolva", - "Playback Rate": "Lejátszási sebesség", - "Subtitles": "Feliratok", - "subtitles off": "Feliratok kikapcsolva", - "Captions": "Magyarázó szöveg", - "captions off": "Magyarázó szöveg kikapcsolva", - "Chapters": "Fejezetek", - "You aborted the media playback": "Leállította a lejátszást", - "A network error caused the media download to fail part-way.": "Hálózati hiba miatt a videó részlegesen töltődött le.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "A videó nem tölthető be hálózati vagy kiszolgálói hiba miatt, vagy a formátuma nem támogatott.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "A lejátszás adatsérülés miatt leállt, vagy a videó egyes tulajdonságait a böngészője nem támogatja.", - "No compatible source was found for this media.": "Nincs kompatibilis forrás ehhez a videóhoz." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/it.js b/apps/web/public/player/lang/it.js deleted file mode 100644 index fed56e0..0000000 --- a/apps/web/public/player/lang/it.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("it",{ - "Play": "Play", - "Pause": "Pausa", - "Current Time": "Orario attuale", - "Duration Time": "Durata", - "Remaining Time": "Tempo rimanente", - "Stream Type": "Tipo del Streaming", - "LIVE": "LIVE", - "Loaded": "Caricato", - "Progress": "Stato", - "Fullscreen": "Schermo intero", - "Non-Fullscreen": "Chiudi schermo intero", - "Mute": "Muto", - "Unmute": "Audio", - "Playback Rate": "Tasso di riproduzione", - "Subtitles": "Sottotitoli", - "subtitles off": "Senza sottotitoli", - "Captions": "Sottotitoli non udenti", - "captions off": "Senza sottotitoli non udenti", - "Chapters": "Capitolo", - "You aborted the media playback": "La riproduzione del filmato è stata interrotta.", - "A network error caused the media download to fail part-way.": "Il download del filmato è stato interrotto a causa di un problema rete.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Il filmato non può essere caricato a causa di un errore nel server o nella rete o perché il formato non viene supportato.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "La riproduzione del filmato è stata interrotta a causa di un file danneggiato o per l’utilizzo di impostazioni non supportate dal browser.", - "No compatible source was found for this media.": "Non ci sono fonti compatibili per questo filmato." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/ja.js b/apps/web/public/player/lang/ja.js deleted file mode 100644 index 9681dbb..0000000 --- a/apps/web/public/player/lang/ja.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("ja",{ - "Play": "再生", - "Pause": "一時停止", - "Current Time": "現在の時間", - "Duration Time": "長さ", - "Remaining Time": "残りの時間", - "Stream Type": "ストリームの種類", - "LIVE": "ライブ", - "Loaded": "ロード済み", - "Progress": "進行状況", - "Fullscreen": "フルスクリーン", - "Non-Fullscreen": "フルスクリーン以外", - "Mute": "ミュート", - "Unmute": "ミュート解除", - "Playback Rate": "再生レート", - "Subtitles": "サブタイトル", - "subtitles off": "サブタイトル オフ", - "Captions": "キャプション", - "captions off": "キャプション オフ", - "Chapters": "チャプター", - "You aborted the media playback": "動画再生を中止しました", - "A network error caused the media download to fail part-way.": "ネットワーク エラーにより動画のダウンロードが途中で失敗しました", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "サーバーまたはネットワークのエラー、またはフォーマットがサポートされていないため、動画をロードできませんでした", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "破損の問題、またはお使いのブラウザがサポートしていない機能が動画に使用されていたため、動画の再生が中止されました", - "No compatible source was found for this media.": "この動画に対して互換性のあるソースが見つかりませんでした" -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/ko.js b/apps/web/public/player/lang/ko.js deleted file mode 100644 index 133ec03..0000000 --- a/apps/web/public/player/lang/ko.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("ko",{ - "Play": "재생", - "Pause": "일시중지", - "Current Time": "현재 시간", - "Duration Time": "지정 기간", - "Remaining Time": "남은 시간", - "Stream Type": "스트리밍 유형", - "LIVE": "라이브", - "Loaded": "로드됨", - "Progress": "진행", - "Fullscreen": "전체 화면", - "Non-Fullscreen": "전체 화면 해제", - "Mute": "음소거", - "Unmute": "음소거 해제", - "Playback Rate": "재생 비율", - "Subtitles": "서브타이틀", - "subtitles off": "서브타이틀 끄기", - "Captions": "자막", - "captions off": "자막 끄기", - "Chapters": "챕터", - "You aborted the media playback": "비디오 재생을 취소했습니다.", - "A network error caused the media download to fail part-way.": "네트워크 오류로 인하여 비디오 일부를 다운로드하지 못 했습니다.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "비디오를 로드할 수 없습니다. 서버 혹은 네트워크 오류 때문이거나 지원되지 않는 형식 때문일 수 있습니다.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "비디오 재생이 취소됐습니다. 비디오가 손상되었거나 비디오가 사용하는 기능을 브라우저에서 지원하지 않는 것 같습니다.", - "No compatible source was found for this media.": "비디오에 호환되지 않는 소스가 있습니다." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/nb.js b/apps/web/public/player/lang/nb.js deleted file mode 100644 index 7d991c5..0000000 --- a/apps/web/public/player/lang/nb.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("nb",{ - "Play": "Spill", - "Pause": "Pause", - "Current Time": "Aktuell tid", - "Duration Time": "Varighet", - "Remaining Time": "Gjenstående tid", - "Stream Type": "Type strøm", - "LIVE": "DIREKTE", - "Loaded": "Lastet inn", - "Progress": "Status", - "Fullscreen": "Fullskjerm", - "Non-Fullscreen": "Lukk fullskjerm", - "Mute": "Lyd av", - "Unmute": "Lyd på", - "Playback Rate": "Avspillingsrate", - "Subtitles": "Undertekst på", - "subtitles off": "Undertekst av", - "Captions": "Undertekst for hørselshemmede på", - "captions off": "Undertekst for hørselshemmede av", - "Chapters": "Kapitler", - "You aborted the media playback": "Du avbrøt avspillingen.", - "A network error caused the media download to fail part-way.": "En nettverksfeil avbrøt nedlasting av videoen.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Videoen kunne ikke lastes ned, på grunn av nettverksfeil eller serverfeil, eller fordi formatet ikke er støttet.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Videoavspillingen ble avbrudt på grunn av ødelagte data eller fordi videoen ville gjøre noe som nettleseren din ikke har støtte for.", - "No compatible source was found for this media.": "Fant ikke en kompatibel kilde for dette mediainnholdet." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/nl.js b/apps/web/public/player/lang/nl.js deleted file mode 100644 index bedc3c1..0000000 --- a/apps/web/public/player/lang/nl.js +++ /dev/null @@ -1,84 +0,0 @@ -TCPlayer.addLanguage("nl",{ - "Audio Player": "Audiospeler", - "Video Player": "Videospeler", - "Play": "Afspelen", - "Pause": "Pauzeren", - "Replay": "Opnieuw afspelen", - "Current Time": "Huidige tijd", - "Duration Time": "Tijdsduur", - "Remaining Time": "Resterende tijd", - "Stream Type": "Streamtype", - "LIVE": "LIVE", - "Loaded": "Geladen", - "Progress": "Voortgang", - "Progress Bar": "Voortgangsbalk", - "progress bar timing: currentTime={1} duration={2}": "{1} van {2}", - "Fullscreen": "Volledig scherm", - "Non-Fullscreen": "Geen volledig scherm", - "Mute": "Dempen", - "Unmute": "Niet dempen", - "Playback Rate": "Afspeelsnelheid", - "Subtitles": "Ondertiteling", - "subtitles off": "ondertiteling uit", - "Captions": "Bijschriften", - "captions off": "bijschriften uit", - "Chapters": "Hoofdstukken", - "Descriptions": "Beschrijvingen", - "descriptions off": "beschrijvingen uit", - "Audio Track": "Audiospoor", - "Volume Level": "Geluidsniveau", - "You aborted the media playback": "U heeft het afspelen van de media afgebroken", - "A network error caused the media download to fail part-way.": "Een netwerkfout heeft ervoor gezorgd dat het downloaden van de media halverwege is mislukt.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "De media kon niet worden geladen, dit komt doordat of de server of het netwerk mislukt of doordat het formaat niet wordt ondersteund.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Het afspelen van de media is afgebroken door een probleem met beschadeigde gegevens of doordat de media functies gebruikt die uw browser niet ondersteund.", - "No compatible source was found for this media.": "Er is geen geschikte bron voor deze media gevonden.", - "The media is encrypted and we do not have the keys to decrypt it.": "De media is versleuteld en we hebben de sleutels niet om deze te ontsleutelen.", - "Play Video": "Video afspelen", - "Close": "Sluiten", - "Close Modal Dialog": "Extra venster sluiten", - "Modal Window": "Extra venster", - "This is a modal window": "Dit is een extra venster", - "This modal can be closed by pressing the Escape key or activating the close button.": "Dit venster kan worden gesloten door op de Escape-toets te drukken of door de sluiten-knop te activeren.", - ", opens captions settings dialog": ", opent instellingen-venster voor bijschriften", - ", opens subtitles settings dialog": ", opent instellingen-venster voor ondertitelingen", - ", opens descriptions settings dialog": ", opent instellingen-venster voor beschrijvingen", - ", selected": ", geselecteerd", - "captions settings": "bijschriften-instellingen", - "subtitles settings": "ondertiteling-instellingen", - "descriptions settings": "beschrijvingen-instellingen", - "Text": "Tekst", - "White": "Wit", - "Black": "Zwart", - "Red": "Rood", - "Green": "Groen", - "Blue": "Blauw", - "Yellow": "Geel", - "Magenta": "Magenta", - "Cyan": "Cyaan", - "Background": "Achtergrond", - "Window": "Venster", - "Transparent": "Transparant", - "Semi-Transparent": "Semi-transparant", - "Opaque": "Ondoorzichtig", - "Font Size": "Lettergrootte", - "Text Edge Style": "Stijl tekstrand", - "None": "Geen", - "Raised": "Verhoogd", - "Depressed": "Ingedrukt", - "Uniform": "Uniform", - "Dropshadow": "Schaduw", - "Font Family": "Lettertype", - "Proportional Sans-Serif": "Proportioneel sans-serif", - "Monospace Sans-Serif": "Monospace sans-serif", - "Proportional Serif": "Proportioneel serif", - "Monospace Serif": "Monospace serif", - "Casual": "Luchtig", - "Script": "Script", - "Small Caps": "Kleine hoofdletters", - "Reset": "Herstellen", - "restore all settings to the default values": "alle instellingen naar de standaardwaarden herstellen", - "Done": "Klaar", - "Caption Settings Dialog": "Venster voor bijschriften-instellingen", - "Beginning of dialog window. Escape will cancel and close the window.": "Begin van dialoogvenster. Escape zal annuleren en het venster sluiten.", - "End of dialog window.": "Einde van dialoogvenster." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/nn.js b/apps/web/public/player/lang/nn.js deleted file mode 100644 index e3d2f8d..0000000 --- a/apps/web/public/player/lang/nn.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("nn",{ - "Play": "Spel", - "Pause": "Pause", - "Current Time": "Aktuell tid", - "Duration Time": "Varigheit", - "Remaining Time": "Tid attende", - "Stream Type": "Type straum", - "LIVE": "DIREKTE", - "Loaded": "Lasta inn", - "Progress": "Status", - "Fullscreen": "Fullskjerm", - "Non-Fullscreen": "Stenga fullskjerm", - "Mute": "Ljod av", - "Unmute": "Ljod på", - "Playback Rate": "Avspelingsrate", - "Subtitles": "Teksting på", - "subtitles off": "Teksting av", - "Captions": "Teksting for høyrselshemma på", - "captions off": "Teksting for høyrselshemma av", - "Chapters": "Kapitel", - "You aborted the media playback": "Du avbraut avspelinga.", - "A network error caused the media download to fail part-way.": "Ein nettverksfeil avbraut nedlasting av videoen.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Videoen kunne ikkje lastas ned, på grunn av ein nettverksfeil eller serverfeil, eller av di formatet ikkje er stoda.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Videoavspelinga blei broten på grunn av øydelagde data eller av di videoen ville gjera noe som nettlesaren din ikkje stodar.", - "No compatible source was found for this media.": "Fant ikke en kompatibel kilde for dette mediainnholdet." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/pl.js b/apps/web/public/player/lang/pl.js deleted file mode 100644 index 496cbb0..0000000 --- a/apps/web/public/player/lang/pl.js +++ /dev/null @@ -1,34 +0,0 @@ -TCPlayer.addLanguage("pl",{ - "Play": "Odtwarzaj", - "Pause": "Pauza", - "Current Time": "Aktualny czas", - "Duration Time": "Czas trwania", - "Remaining Time": "Pozostały czas", - "Stream Type": "Typ strumienia", - "LIVE": "NA ŻYWO", - "Loaded": "Załadowany", - "Progress": "Status", - "Fullscreen": "Pełny ekran", - "Non-Fullscreen": "Pełny ekran niedostępny", - "Mute": "Wyłącz dźwięk", - "Unmute": "Włącz dźwięk", - "Playback Rate": "Szybkość odtwarzania", - "Subtitles": "Napisy", - "subtitles off": "Napisy wyłączone", - "Captions": "Transkrypcja", - "captions off": "Transkrypcja wyłączona", - "Chapters": "Rozdziały", - "You aborted the media playback": "Odtwarzanie zostało przerwane", - "A network error caused the media download to fail part-way.": "Problemy z siecią spowodowały błąd przy pobieraniu materiału wideo.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Materiał wideo nie może być załadowany, ponieważ wystąpił problem z siecią lub format nie jest obsługiwany", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Odtwarzanie materiału wideo zostało przerwane z powodu uszkodzonego pliku wideo lub z powodu błędu funkcji, które nie są wspierane przez przeglądarkę.", - "No compatible source was found for this media.": "Dla tego materiału wideo nie znaleziono kompatybilnego źródła.", - "Play Video": "Odtwarzaj wideo", - "Close": "Zamknij", - "Modal Window": "Okno Modala", - "This is a modal window": "To jest okno modala", - "This modal can be closed by pressing the Escape key or activating the close button.": "Ten modal możesz zamknąć naciskając przycisk Escape albo wybierając przycisk Zamknij.", - ", opens captions settings dialog": ", otwiera okno dialogowe ustawień transkrypcji", - ", opens subtitles settings dialog": ", otwiera okno dialogowe napisów", - ", selected": ", zaznaczone" -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/pt-BR.js b/apps/web/public/player/lang/pt-BR.js deleted file mode 100644 index 90352de..0000000 --- a/apps/web/public/player/lang/pt-BR.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("pt-BR",{ - "Play": "Tocar", - "Pause": "Pausar", - "Current Time": "Tempo", - "Duration Time": "Duração", - "Remaining Time": "Tempo Restante", - "Stream Type": "Tipo de Stream", - "LIVE": "AO VIVO", - "Loaded": "Carregado", - "Progress": "Progresso", - "Fullscreen": "Tela Cheia", - "Non-Fullscreen": "Tela Normal", - "Mute": "Mudo", - "Unmute": "Habilitar Som", - "Playback Rate": "Velocidade", - "Subtitles": "Legendas", - "subtitles off": "Sem Legendas", - "Captions": "Anotações", - "captions off": "Sem Anotações", - "Chapters": "Capítulos", - "You aborted the media playback": "Você parou a execução do vídeo.", - "A network error caused the media download to fail part-way.": "Um erro na rede fez o vídeo parar parcialmente.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "O vídeo não pode ser carregado, ou porque houve um problema com sua rede ou pelo formato do vídeo não ser suportado.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "A execução foi interrompida por um problema com o vídeo ou por seu navegador não dar suporte ao seu formato.", - "No compatible source was found for this media.": "Não foi encontrada fonte de vídeo compatível." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/pt-PT.js b/apps/web/public/player/lang/pt-PT.js deleted file mode 100644 index da471c8..0000000 --- a/apps/web/public/player/lang/pt-PT.js +++ /dev/null @@ -1,41 +0,0 @@ -TCPlayer.addLanguage("pt-PT",{ - "Play": "Reproduzir", - "Pause": "Parar", - "Replay": "Reiniciar", - "Current Time": "Tempo Atual", - "Duration Time": "Duração", - "Remaining Time": "Tempo Restante", - "Stream Type": "Tipo de Stream", - "LIVE": "EM DIRETO", - "Loaded": "Carregado", - "Progress": "Progresso", - "Fullscreen": "Ecrã inteiro", - "Non-Fullscreen": "Ecrã normal", - "Mute": "Desativar som", - "Unmute": "Ativar som", - "Playback Rate": "Velocidade de reprodução", - "Subtitles": "Legendas", - "subtitles off": "desativar legendas", - "Captions": "Anotações", - "captions off": "desativar anotações", - "Chapters": "Capítulos", - "Close Modal Dialog": "Fechar Janela Modal", - "Descriptions": "Descrições", - "descriptions off": "desativar descrições", - "Audio Track": "Faixa Áudio", - "You aborted the media playback": "Parou a reprodução do vídeo.", - "A network error caused the media download to fail part-way.": "Um erro na rede fez o vídeo falhar parcialmente.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "O vídeo não pode ser carregado, ou porque houve um problema na rede ou no servidor, ou porque formato do vídeo não é compatível.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "A reprodução foi interrompida por um problema com o vídeo ou porque o formato não é compatível com o seu navegador.", - "No compatible source was found for this media.": "Não foi encontrada uma fonte de vídeo compatível.", - "The media is encrypted and we do not have the keys to decrypt it.": "O vídeo está encriptado e não há uma chave para o desencriptar.", - "Play Video": "Reproduzir Vídeo", - "Close": "Fechar", - "Modal Window": "Janela Modal", - "This is a modal window": "Isto é uma janela modal", - "This modal can be closed by pressing the Escape key or activating the close button.": "Esta modal pode ser fechada pressionando a tecla ESC ou ativando o botão de fechar.", - ", opens captions settings dialog": ", abre janela com definições de legendas", - ", opens subtitles settings dialog": ", abre janela com definições de legendas", - ", opens descriptions settings dialog": ", abre janela com definições de descrições", - ", selected": ", seleccionado" -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/ru.js b/apps/web/public/player/lang/ru.js deleted file mode 100644 index e7c5166..0000000 --- a/apps/web/public/player/lang/ru.js +++ /dev/null @@ -1,84 +0,0 @@ -TCPlayer.addLanguage("ru",{ - "Audio Player": "Аудио проигрыватель", - "Video Player": "Видео проигрыватель", - "Play": "Воспроизвести", - "Pause": "Приостановить", - "Replay": "Воспроизвести снова", - "Current Time": "Текущее время", - "Duration Time": "Продолжительность", - "Remaining Time": "Оставшееся время", - "Stream Type": "Тип потока", - "LIVE": "ОНЛАЙН", - "Loaded": "Загрузка", - "Progress": "Прогресс", - "Progress Bar": "Индикатор загрузки", - "progress bar timing: currentTime={1} duration={2}": "{1} из {2}", - "Fullscreen": "Полноэкранный режим", - "Non-Fullscreen": "Неполноэкранный режим", - "Mute": "Без звука", - "Unmute": "Со звуком", - "Playback Rate": "Скорость воспроизведения", - "Subtitles": "Субтитры", - "subtitles off": "Субтитры выкл.", - "Captions": "Подписи", - "captions off": "Подписи выкл.", - "Chapters": "Главы", - "Descriptions": "Описания", - "descriptions off": "Отключить описания", - "Audio Track": "Звуковая дорожка", - "Volume Level": "Уровень громкости", - "You aborted the media playback": "Вы прервали воспроизведение видео", - "A network error caused the media download to fail part-way.": "Ошибка сети вызвала сбой во время загрузки видео.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Невозможно загрузить видео из-за сетевого или серверного сбоя либо формат не поддерживается.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Воспроизведение видео было приостановлено из-за повреждения либо в связи с тем, что видео использует функции, неподдерживаемые вашим браузером.", - "No compatible source was found for this media.": "Совместимые источники для этого видео отсутствуют.", - "The media is encrypted and we do not have the keys to decrypt it.": "Видео в зашифрованном виде, и у нас нет ключей для расшифровки.", - "Play Video": "Воспроизвести видео", - "Close": "Закрыть", - "Close Modal Dialog": "Закрыть модальное окно", - "Modal Window": "Модальное окно", - "This is a modal window": "Это модальное окно", - "This modal can be closed by pressing the Escape key or activating the close button.": "Модальное окно можно закрыть нажав Esc или кнопку закрытия окна.", - ", opens captions settings dialog": ", откроется диалог настройки подписей", - ", opens subtitles settings dialog": ", откроется диалог настройки субтитров", - ", opens descriptions settings dialog": ", откроется диалог настройки описаний", - ", selected": ", выбрано", - "captions settings": "настройки подписей", - "subtitles settings": "настройки субтитров", - "descriptions settings": "настройки описаний", - "Text": "Текст", - "White": "Белый", - "Black": "Черный", - "Red": "Красный", - "Green": "Зеленый", - "Blue": "Синий", - "Yellow": "Желтый", - "Magenta": "Пурпурный", - "Cyan": "Голубой", - "Background": "Фон", - "Window": "Окно", - "Transparent": "Прозрачный", - "Semi-Transparent": "Полупрозрачный", - "Opaque": "Прозрачность", - "Font Size": "Размер шрифта", - "Text Edge Style": "Стиль края текста", - "None": "Ничего", - "Raised": "Поднятый", - "Depressed": "Пониженный", - "Uniform": "Одинаковый", - "Dropshadow": "Тень", - "Font Family": "Шрифт", - "Proportional Sans-Serif": "Пропорциональный без засечек", - "Monospace Sans-Serif": "Моноширинный без засечек", - "Proportional Serif": "Пропорциональный с засечками", - "Monospace Serif": "Моноширинный с засечками", - "Casual": "Случайный", - "Script": "Письменный", - "Small Caps": "Малые прописные", - "Reset": "Сбросить", - "restore all settings to the default values": "сбросить все найстройки по умолчанию", - "Done": "Готово", - "Caption Settings Dialog": "Диалог настроек подписи", - "Beginning of dialog window. Escape will cancel and close the window.": "Начало диалоговго окна. Кнопка Escape закроет или отменит окно", - "End of dialog window.": "Конец диалогового окна." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/sk.js b/apps/web/public/player/lang/sk.js deleted file mode 100644 index 81b0c62..0000000 --- a/apps/web/public/player/lang/sk.js +++ /dev/null @@ -1,84 +0,0 @@ -TCPlayer.addLanguage("sk",{ - "Audio Player": "Zvukový prehrávač", - "Video Player": "Video prehrávač", - "Play": "Prehrať", - "Pause": "Pozastaviť", - "Replay": "Prehrať znova", - "Current Time": "Aktuálny čas", - "Duration Time": "Čas trvania", - "Remaining Time": "Zostávajúci čas", - "Stream Type": "Typ stopy", - "LIVE": "NAŽIVO", - "Loaded": "Načítané", - "Progress": "Priebeh", - "Progress Bar": "Ukazovateľ priebehu", - "progress bar timing: currentTime={1} duration={2}": "časovanie ukazovateľa priebehu: currentTime={1} duration={2}", - "Fullscreen": "Režim celej obrazovky", - "Non-Fullscreen": "Režim normálnej obrazovky", - "Mute": "Stlmiť", - "Unmute": "Zrušiť stlmenie", - "Playback Rate": "Rýchlosť prehrávania", - "Subtitles": "Titulky", - "subtitles off": "titulky vypnuté", - "Captions": "Popisky", - "captions off": "popisky vypnuté", - "Chapters": "Kapitoly", - "Descriptions": "Opisy", - "descriptions off": "opisy vypnuté", - "Audio Track": "Zvuková stopa", - "Volume Level": "Úroveň hlasitosti", - "You aborted the media playback": "Prerušili ste prehrávanie", - "A network error caused the media download to fail part-way.": "Sťahovanie súboru bolo zrušené pre chybu na sieti.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Súbor sa nepodarilo načítať pre chybu servera, sieťového pripojenia, alebo je formát súboru nepodporovaný.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Prehrávanie súboru bolo prerušené pre poškodené dáta, alebo súbor používa vlastnosti, ktoré váš prehliadač nepodporuje.", - "No compatible source was found for this media.": "Nebol nájdený žiaden kompatibilný zdroj pre tento súbor.", - "The media is encrypted and we do not have the keys to decrypt it.": "Súbor je zašifrovaný a nie je k dispozícii kľúč na rozšifrovanie.", - "Play Video": "Prehrať video", - "Close": "Zatvoriť", - "Close Modal Dialog": "Zatvoriť modálne okno", - "Modal Window": "Modálne okno", - "This is a modal window": "Toto je modálne okno", - "This modal can be closed by pressing the Escape key or activating the close button.": "Toto modálne okno je možné zatvoriť stlačením klávesy Escape, alebo aktivovaním tlačidla na zatvorenie.", - ", opens captions settings dialog": ", otvorí okno nastavení popiskov", - ", opens subtitles settings dialog": ", otvorí okno nastavení titulkov", - ", opens descriptions settings dialog": ", otvorí okno nastavení opisov", - ", selected": ", označené", - "captions settings": "nastavenia popiskov", - "subtitles settings": "nastavenia titulkov", - "descriptions settings": "nastavenia opisov", - "Text": "Text", - "White": "Biela", - "Black": "Čierna", - "Red": "Červená", - "Green": "Zelená", - "Blue": "Modrá", - "Yellow": "Žltá", - "Magenta": "Ružová", - "Cyan": "Tyrkysová", - "Background": "Pozadie", - "Window": "Okno", - "Transparent": "Priesvitné", - "Semi-Transparent": "Polopriesvitné", - "Opaque": "Plné", - "Font Size": "Veľkosť písma", - "Text Edge Style": "Typ okrajov písma", - "None": "Žiadne", - "Raised": "Zvýšené", - "Depressed": "Znížené", - "Uniform": "Pravidelné", - "Dropshadow": "S tieňom", - "Font Family": "Typ písma", - "Proportional Sans-Serif": "Proporčné bezpätkové", - "Monospace Sans-Serif": "Pravidelné, bezpätkové", - "Proportional Serif": "Proporčné pätkové", - "Monospace Serif": "Pravidelné pätkové", - "Casual": "Bežné", - "Script": "Písané", - "Small Caps": "Malé kapitálky", - "Reset": "Resetovať", - "restore all settings to the default values": "všetky nastavenia na základné hodnoty", - "Done": "Hotovo", - "Caption Settings Dialog": "Okno nastavení popiskov", - "Beginning of dialog window. Escape will cancel and close the window.": "Začiatok okna. Klávesa Escape zruší a zavrie okno.", - "End of dialog window.": "Koniec okna." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/sr.js b/apps/web/public/player/lang/sr.js deleted file mode 100644 index 0b488fe..0000000 --- a/apps/web/public/player/lang/sr.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("sr",{ - "Play": "Pusti", - "Pause": "Pauza", - "Current Time": "Trenutno vrijeme", - "Duration Time": "Vrijeme trajanja", - "Remaining Time": "Preostalo vrijeme", - "Stream Type": "Način strimovanja", - "LIVE": "UŽIVO", - "Loaded": "Učitan", - "Progress": "Progres", - "Fullscreen": "Puni ekran", - "Non-Fullscreen": "Mali ekran", - "Mute": "Prigušen", - "Unmute": "Ne-prigušen", - "Playback Rate": "Stopa reprodukcije", - "Subtitles": "Podnaslov", - "subtitles off": "Podnaslov deaktiviran", - "Captions": "Titlovi", - "captions off": "Titlovi deaktivirani", - "Chapters": "Poglavlja", - "You aborted the media playback": "Isključili ste reprodukciju videa.", - "A network error caused the media download to fail part-way.": "Video se prestao preuzimati zbog greške na mreži.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video se ne može reproducirati zbog servera, greške u mreži ili je format ne podržan.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Reprodukcija videa je zaustavljenja zbog greške u formatu ili zbog verzije vašeg pretraživača.", - "No compatible source was found for this media.": "Nije nađen nijedan kompatibilan izvor ovog videa." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/sv.js b/apps/web/public/player/lang/sv.js deleted file mode 100644 index ae39051..0000000 --- a/apps/web/public/player/lang/sv.js +++ /dev/null @@ -1,26 +0,0 @@ -TCPlayer.addLanguage("sv",{ - "Play": "Spela", - "Pause": "Pausa", - "Current Time": "Aktuell tid", - "Duration Time": "Total tid", - "Remaining Time": "Återstående tid", - "Stream Type": "Strömningstyp", - "LIVE": "LIVE", - "Loaded": "Laddad", - "Progress": "Förlopp", - "Fullscreen": "Fullskärm", - "Non-Fullscreen": "Ej fullskärm", - "Mute": "Ljud av", - "Unmute": "Ljud på", - "Playback Rate": "Uppspelningshastighet", - "Subtitles": "Text på", - "subtitles off": "Text av", - "Captions": "Text på", - "captions off": "Text av", - "Chapters": "Kapitel", - "You aborted the media playback": "Du har avbrutit videouppspelningen.", - "A network error caused the media download to fail part-way.": "Ett nätverksfel gjorde att nedladdningen av videon avbröts.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Det gick inte att ladda videon, antingen på grund av ett server- eller nätverksfel, eller för att formatet inte stöds.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Uppspelningen avbröts på grund av att videon är skadad, eller också för att videon använder funktioner som din webbläsare inte stöder.", - "No compatible source was found for this media.": "Det gick inte att hitta någon kompatibel källa för den här videon." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/tr.js b/apps/web/public/player/lang/tr.js deleted file mode 100644 index 85f3ba2..0000000 --- a/apps/web/public/player/lang/tr.js +++ /dev/null @@ -1,76 +0,0 @@ -TCPlayer.addLanguage("tr",{ - "Play": "Oynat", - "Pause": "Duraklat", - "Replay": "Yeniden Oynat", - "Current Time": "Süre", - "Duration Time": "Toplam Süre", - "Remaining Time": "Kalan Süre", - "Stream Type": "Yayın Tipi", - "LIVE": "CANLI", - "Loaded": "Yüklendi", - "Progress": "Yükleniyor", - "Fullscreen": "Tam Ekran", - "Non-Fullscreen": "Küçük Ekran", - "Mute": "Ses Kapa", - "Unmute": "Ses Aç", - "Playback Rate": "Oynatma Hızı", - "Subtitles": "Altyazı", - "subtitles off": "Altyazı Kapalı", - "Captions": "Altyazı", - "captions off": "Altyazı Kapalı", - "Chapters": "Bölümler", - "Close Modal Dialog": "Dialogu Kapat", - "Descriptions": "Açıklamalar", - "descriptions off": "Açıklamalar kapalı", - "Audio Track": "Ses Dosyası", - "You aborted the media playback": "Video oynatmayı iptal ettiniz", - "A network error caused the media download to fail part-way.": "Video indirilirken bağlantı sorunu oluştu.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video oynatılamadı, ağ ya da sunucu hatası veya belirtilen format desteklenmiyor.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Tarayıcınız desteklemediği için videoda hata oluştu.", - "No compatible source was found for this media.": "Video için kaynak bulunamadı.", - "The media is encrypted and we do not have the keys to decrypt it.": "Video, şifrelenmiş bir kaynaktan geliyor ve oynatmak için gerekli anahtar bulunamadı.", - "Play Video": "Videoyu Oynat", - "Close": "Kapat", - "Modal Window": "Modal Penceresi", - "This is a modal window": "Bu bir modal penceresidir", - "This modal can be closed by pressing the Escape key or activating the close button.": "Bu modal ESC tuşuna basarak ya da kapata tıklanarak kapatılabilir.", - ", opens captions settings dialog": ", altyazı ayarları menüsünü açar", - ", opens subtitles settings dialog": ", altyazı ayarları menüsünü açar", - ", opens descriptions settings dialog": ", açıklama ayarları menüsünü açar", - ", selected": ", seçildi", - "captions settings": "altyazı ayarları", - "subtitles settings": "altyazı ayarları", - "descriptions settings": "açıklama ayarları", - "Text": "Yazı", - "White": "Beyaz", - "Black": "Siyah", - "Red": "Kırmızı", - "Green": "Yeşil", - "Blue": "Mavi", - "Yellow": "Sarı", - "Magenta": "Macenta", - "Cyan": "Açık Mavi (Camgöbeği)", - "Background": "Arka plan", - "Window": "Pencere", - "Transparent": "Saydam", - "Semi-Transparent": "Yarı-Saydam", - "Opaque": "Mat", - "Font Size": "Yazı Boyutu", - "Text Edge Style": "Yazı Kenarlıkları", - "None": "Hiçbiri", - "Raised": "Kabartılmış", - "Depressed": "Yassı", - "Uniform": "Düz", - "Dropshadow": "Gölgeli", - "Font Family": "Yazı Tipi", - "Proportional Sans-Serif": "Orantılı Sans-Serif", - "Monospace Sans-Serif": "Eşaralıklı Sans-Serif", - "Proportional Serif": "Orantılı Serif", - "Monospace Serif": "Eşaralıklı Serif", - "Casual": "Gündelik", - "Script": "El Yazısı", - "Small Caps": "Küçük Boyutlu Büyük Harfli", - "Done": "Tamam", - "Caption Settings Dialog": "Altyazı Ayarları Menüsü", - "Beginning of dialog window. Escape will cancel and close the window.": "Diyalog penceresinin başlangıcı. ESC tuşu işlemi iptal edip pencereyi kapatacaktır." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/uk.js b/apps/web/public/player/lang/uk.js deleted file mode 100644 index 92511cc..0000000 --- a/apps/web/public/player/lang/uk.js +++ /dev/null @@ -1,40 +0,0 @@ -TCPlayer.addLanguage("uk",{ - "Play": "Відтворити", - "Pause": "Призупинити", - "Current Time": "Поточний час", - "Duration Time": "Тривалість", - "Remaining Time": "Час, що залишився", - "Stream Type": "Тип потоку", - "LIVE": "НАЖИВО", - "Loaded": "Завантаження", - "Progress": "Прогрес", - "Fullscreen": "Повноекранний режим", - "Non-Fullscreen": "Неповноекранний режим", - "Mute": "Без звуку", - "Unmute": "Зі звуком", - "Playback Rate": "Швидкість відтворення", - "Subtitles": "Субтитри", - "subtitles off": "Без субтитрів", - "Captions": "Підписи", - "captions off": "Без підписів", - "Chapters": "Розділи", - "Close Modal Dialog": "Закрити модальний діалог", - "Descriptions": "Описи", - "descriptions off": "Без описів", - "Audio Track": "Аудіодоріжка", - "You aborted the media playback": "Ви припинили відтворення відео", - "A network error caused the media download to fail part-way.": "Помилка мережі викликала збій під час завантаження відео.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Неможливо завантажити відео через мережевий чи серверний збій або формат не підтримується.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Відтворення відео було припинено через пошкодження або у зв'язку з тим, що відео використовує функції, які не підтримуються вашим браузером.", - "No compatible source was found for this media.": "Сумісні джерела для цього відео відсутні.", - "The media is encrypted and we do not have the keys to decrypt it.": "Відео в зашифрованому вигляді, і ми не маємо ключі для розшифровки.", - "Play Video": "Відтворити відео", - "Close": "Закрити", - "Modal Window": "Модальне вікно", - "This is a modal window": "Це модальне вікно.", - "This modal can be closed by pressing the Escape key or activating the close button.": "Модальне вікно можна закрити, натиснувши клавішу Esc або кнопку закриття вікна.", - ", opens captions settings dialog": ", відкриється діалогове вікно налаштування підписів", - ", opens subtitles settings dialog": ", відкриється діалогове вікно налаштування субтитрів", - ", opens descriptions settings dialog": ", відкриється діалогове вікно налаштування описів", - ", selected": ", обраний" -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/vi.js b/apps/web/public/player/lang/vi.js deleted file mode 100644 index 8ef7c81..0000000 --- a/apps/web/public/player/lang/vi.js +++ /dev/null @@ -1,84 +0,0 @@ -TCPlayer.addLanguage("vi",{ - "Audio Player": "Trình phát Audio", - "Video Player": "Trình phát Video", - "Play": "Phát", - "Pause": "Tạm dừng", - "Replay": "Phát lại", - "Current Time": "Thời gian hiện tại", - "Duration Time": "Độ dài", - "Remaining Time": "Thời gian còn lại", - "Stream Type": "Kiểu Stream", - "LIVE": "TRỰC TIẾP", - "Loaded": "Đã tải", - "Progress": "Tiến trình", - "Progress Bar": "Thanh tiến trình", - "progress bar timing: currentTime={1} duration={2}": "{1} của {2}", - "Fullscreen": "Toàn màn hình", - "Non-Fullscreen": "Thoát toàn màn hình", - "Mute": "Tắt tiếng", - "Unmute": "Bật âm thanh", - "Playback Rate": "Tỉ lệ phát lại", - "Subtitles": "Phụ đề", - "subtitles off": "tắt phụ đề", - "Captions": "Chú thích", - "captions off": "tắt chú thích", - "Chapters": "Chương", - "Descriptions": "Mô tả", - "descriptions off": "tắt mô tả", - "Audio Track": "Track âm thanh", - "Volume Level": "Mức âm lượng", - "You aborted the media playback": "Bạn đã hủy việc phát lại media.", - "A network error caused the media download to fail part-way.": "Một lỗi mạng dẫn đến việc tải media bị lỗi.", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "Video không tải được, mạng hay server có lỗi hoặc định dạng không được hỗ trợ.", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "Phát media đã bị hủy do một sai lỗi hoặc media sử dụng những tính năng trình duyệt không hỗ trợ.", - "No compatible source was found for this media.": "Không có nguồn tương thích cho media này.", - "The media is encrypted and we do not have the keys to decrypt it.": "Media đã được mã hóa và chúng tôi không có để giải mã nó.", - "Play Video": "Phát Video", - "Close": "Đóng", - "Close Modal Dialog": "Đóng cửa sổ", - "Modal Window": "Cửa sổ", - "This is a modal window": "Đây là một cửa sổ", - "This modal can be closed by pressing the Escape key or activating the close button.": "Cửa sổ này có thể thoát bằng việc nhấn phím Esc hoặc kích hoạt nút đóng.", - ", opens captions settings dialog": ", mở hộp thoại cài đặt chú thích", - ", opens subtitles settings dialog": ", mở hộp thoại cài đặt phụ đề", - ", opens descriptions settings dialog": ", mở hộp thoại cài đặt mô tả", - ", selected": ", đã chọn", - "captions settings": "cài đặt chú thích", - "subtitles settings": "cài đặt phụ đề", - "descriptions settings": "cài đặt mô tả", - "Text": "Văn bản", - "White": "Trắng", - "Black": "Đen", - "Red": "Đỏ", - "Green": "Xanh lá cây", - "Blue": "Xanh da trời", - "Yellow": "Vàng", - "Magenta": "Đỏ tươi", - "Cyan": "Lam", - "Background": "Nền", - "Window": "Cửa sổ", - "Transparent": "Trong suốt", - "Semi-Transparent": "Bán trong suốt", - "Opaque": "Mờ", - "Font Size": "Kích cỡ phông chữ", - "Text Edge Style": "Dạng viền văn bản", - "None": "None", - "Raised": "Raised", - "Depressed": "Depressed", - "Uniform": "Uniform", - "Dropshadow": "Dropshadow", - "Font Family": "Phông chữ", - "Proportional Sans-Serif": "Proportional Sans-Serif", - "Monospace Sans-Serif": "Monospace Sans-Serif", - "Proportional Serif": "Proportional Serif", - "Monospace Serif": "Monospace Serif", - "Casual": "Casual", - "Script": "Script", - "Small Caps": "Small Caps", - "Reset": "Đặt lại", - "restore all settings to the default values": "khôi phục lại tất cả các cài đặt về giá trị mặc định", - "Done": "Xong", - "Caption Settings Dialog": "Hộp thoại cài đặt chú thích", - "Beginning of dialog window. Escape will cancel and close the window.": "Bắt đầu cửa sổ hộp thoại. Esc sẽ thoát và đóng cửa sổ.", - "End of dialog window.": "Kết thúc cửa sổ hộp thoại." -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/zh-CN.js b/apps/web/public/player/lang/zh-CN.js deleted file mode 100644 index 5ab91eb..0000000 --- a/apps/web/public/player/lang/zh-CN.js +++ /dev/null @@ -1,118 +0,0 @@ -TCPlayer.addLanguage("zh-CN",{ - "Play": "播放", - "Pause": "暂停", - "Current Time": "当前时间", - "Duration Time": "时长", - "Remaining Time": "剩余时间", - "Stream Type": "媒体流类型", - "LIVE": "直播", - "Loaded": "加载完毕", - "Progress": "进度", - "Fullscreen": "全屏", - "Non-Fullscreen": "退出全屏", - "Mute": "静音", - "Unmute": "取消静音", - "Playback Rate": "播放速度", - "Subtitles": "字幕", - "subtitles off": "关闭字幕", - "Captions": "内嵌字幕", - "captions off": "关闭内嵌字幕", - "Chapters": "节目段落", - "Close Modal Dialog": "关闭弹窗", - "Descriptions": "描述", - "descriptions off": "关闭描述", - "Audio Track": "音轨", - "You aborted the media playback": "视频播放被终止", - "A network error caused the media download to fail part-way.": "网络错误导致视频下载中途失败。", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "视频因格式不支持或者服务器或网络的问题无法加载。", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "由于视频文件损坏或是该视频使用了你的浏览器不支持的功能,播放终止。", - "No compatible source was found for this media.": "无法找到此视频兼容的源或者当前环境无法播放该视频。", - "The media is encrypted and we do not have the keys to decrypt it.": "视频已加密,无法解密。", - "Play Video": "播放视频", - "Close": "关闭", - "Modal Window": "弹窗", - "This is a modal window": "这是一个弹窗", - "This modal can be closed by pressing the Escape key or activating the close button.": "可以按ESC按键或启用关闭按钮来关闭此弹窗。", - ", opens captions settings dialog": ", 开启标题设置弹窗", - ", opens subtitles settings dialog": ", 开启字幕设置弹窗", - ", opens descriptions settings dialog": ", 开启描述设置弹窗", - ", selected": ", 选择", - "captions settings": "字幕设定", - "Audio Player": "音频播放器", - "Video Player": "视频播放器", - "Replay": "重播", - "Progress Bar": "进度小节", - "Volume Level": "音量", - "subtitles settings": "字幕设定", - "descriptions settings": "描述设定", - "Text": "文字", - "White": "白", - "Black": "黑", - "Red": "红", - "Green": "绿", - "Blue": "蓝", - "Yellow": "黄", - "Magenta": "紫红", - "Cyan": "青", - "Background": "背景", - "Window": "视窗", - "Transparent": "透明", - "Semi-Transparent": "半透明", - "Opaque": "不透明", - "Font Size": "字体尺寸", - "Text Edge Style": "字体边缘样式", - "None": "无", - "Raised": "浮雕", - "Depressed": "压低", - "Uniform": "均匀", - "Dropshadow": "下阴影", - "Font Family": "字体库", - "Proportional Sans-Serif": "比例无细体", - "Monospace Sans-Serif": "单间隔无细体", - "Proportional Serif": "比例细体", - "Monospace Serif": "单间隔细体", - "Casual": "舒适", - "Script": "手写体", - "Small Caps": "小型大写字体", - "Reset": "重启", - "restore all settings to the default values": "恢复全部设定至预设值", - "Done": "完成", - "Caption Settings Dialog": "字幕设定视窗", - "Beginning of dialog window. Escape will cancel and close the window.": "开始对话视窗。离开会取消及关闭视窗", - "End of dialog window.": "结束对话视窗", - "auto": "自动", - "Request timed out.": "请求超时,请稍后再试。", - "Could not download the video.": "无法加载视频,请检查网络。", - "Server is not respond.": "服务器请求失败,请稍后再试。", - "Server respond error data.": "服务器返回数据有误,请稍后再试。", - "Last time play at ": "上次看到 ", - "Resume play": "恢复播放", - "Powered by Tencent Cloud.": "腾讯云提供技术支持", - "Rise an internal exception when playing HLS.": "播放 HLS 时出现内部异常。", - "Authentication failed.": "防盗链参数鉴权失败。", - "Server failed.": "媒体服务器错误。", - "Get file error.": "媒体服务器获取文件错误。", - "The media file does not exist. Please check if the fileID is correct.": "媒体文件不存在,请检查 fileID 是否正确。", - "No video transcoding information found.": "没有找到视频转码信息。", - "Current browser not support DRM.": "浏览器不支持当前 DRM 方案。", - "The trial duration is illegal. The trial duration must be within the video duration.": "试看时长不合法,试看时长要在视频时长范围内。", - "Param pcfg is not unique.": "pcfg 不唯一。", - "The license has expired. Please check whether the expiration time setting is reasonable.": "license 过期,请检查过期时间设置是否合理。", - "Did not find an adaptive stream that can be played.": "没有找到可以播放的自适应码流,查看文档。", - "Invalid request format, please check the request format.": "请求格式不合法,请检查请求格式。", - "AppID is not exist, Please check if the AppID is correct.": "AppID 不存在,请检查 AppID 是否正确。", - "Without anti-leech information.": "没带防盗链检测。", - "qsign invalid.": "播放参数 qsign 校验失败", - "psign check failed.": "播放参数 psign 校验失败,查看文档。", - "Other errors.": "其他错误。", - "Internal error.": "内部错误。", - "Response data verification failed.": "响应数据校验失败", - "Mirror": "镜像", - "Video statistic": "视频统计信息", - "Play Next": "下一个", - "Current browser not support play this stream, please select another one.": "无法找到此视频兼容的源或者当前环境无法播放该视频,请选择其他视频播放。", - "Server respond error data.(eg. stream not exist)": "媒体服务器获取数据异常,可能该视频不存在,请选择其他视频播放。", - "Video play failed, please refresh to start play again.": "视频播放器失败,请刷新并重新播放。", - "Connection to the server has failed and the number of connection retries has exceeded the set value.": "媒体服务器连接异常,并达到最大重试次数,请检查网络是否正常并刷新重试", - "Video decoding failure.": "视频解码失败,请选择其他视频播放。" -}); \ No newline at end of file diff --git a/apps/web/public/player/lang/zh-TW.js b/apps/web/public/player/lang/zh-TW.js deleted file mode 100644 index dda0aeb..0000000 --- a/apps/web/public/player/lang/zh-TW.js +++ /dev/null @@ -1,83 +0,0 @@ -TCPlayer.addLanguage("zh-TW",{ - "Play": "播放", - "Pause": "暫停", - "Current Time": "目前時間", - "Duration Time": "總共時間", - "Remaining Time": "剩餘時間", - "Stream Type": "串流類型", - "LIVE": "直播", - "Loaded": "載入完畢", - "Progress": "進度", - "Fullscreen": "全螢幕", - "Non-Fullscreen": "退出全螢幕", - "Mute": "靜音", - "Unmute": "取消靜音", - "Playback Rate": " 播放速率", - "Subtitles": "字幕", - "subtitles off": "關閉字幕", - "Captions": "內嵌字幕", - "captions off": "關閉內嵌字幕", - "Chapters": "章節", - "Close Modal Dialog": "關閉彈窗", - "Descriptions": "描述", - "descriptions off": "關閉描述", - "Audio Track": "音軌", - "You aborted the media playback": "影片播放已終止", - "A network error caused the media download to fail part-way.": "網路錯誤導致影片下載失敗。", - "The media could not be loaded, either because the server or network failed or because the format is not supported.": "影片因格式不支援或者伺服器或網路的問題無法載入。", - "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "由於影片檔案損毀或是該影片使用了您的瀏覽器不支援的功能,播放終止。", - "No compatible source was found for this media.": "無法找到相容此影片的來源。", - "The media is encrypted and we do not have the keys to decrypt it.": "影片已加密,無法解密。", - "Play Video": "播放影片", - "Close": "關閉", - "Modal Window": "對話框", - "This is a modal window": "這是一個對話框", - "This modal can be closed by pressing the Escape key or activating the close button.": "可以按ESC按鍵或啟用關閉按鈕來關閉此對話框。", - ", opens captions settings dialog": ", 開啟標題設定對話框", - ", opens subtitles settings dialog": ", 開啟字幕設定對話框", - ", opens descriptions settings dialog": ", 開啟描述設定對話框", - ", selected": ", 選擇", - "captions settings": "字幕設定", - "Audio Player": "音頻播放器", - "Video Player": "視頻播放器", - "Replay": "重播", - "Progress Bar": "進度小節", - "Volume Level": "音量", - "subtitles settings": "字幕設定", - "descriptions settings": "描述設定", - "Text": "文字", - "White": "白", - "Black": "黑", - "Red": "紅", - "Green": "綠", - "Blue": "藍", - "Yellow": "黃", - "Magenta": "紫紅", - "Cyan": "青", - "Background": "背景", - "Window": "視窗", - "Transparent": "透明", - "Semi-Transparent": "半透明", - "Opaque": "不透明", - "Font Size": "字型尺寸", - "Text Edge Style": "字型邊緣樣式", - "None": "無", - "Raised": "浮雕", - "Depressed": "壓低", - "Uniform": "均勻", - "Dropshadow": "下陰影", - "Font Family": "字型庫", - "Proportional Sans-Serif": "比例無細體", - "Monospace Sans-Serif": "單間隔無細體", - "Proportional Serif": "比例細體", - "Monospace Serif": "單間隔細體", - "Casual": "輕便的", - "Script": "手寫體", - "Small Caps": "小型大寫字體", - "Reset": "重置", - "restore all settings to the default values": "恢復全部設定至預設值", - "Done": "完成", - "Caption Settings Dialog": "字幕設定視窗", - "Beginning of dialog window. Escape will cancel and close the window.": "開始對話視窗。離開會取消及關閉視窗", - "End of dialog window.": "結束對話視窗" -}); \ No newline at end of file diff --git a/apps/web/public/player/libs/TXLivePlayer-1.2.3.min.js b/apps/web/public/player/libs/TXLivePlayer-1.2.3.min.js deleted file mode 100644 index 9082117..0000000 --- a/apps/web/public/player/libs/TXLivePlayer-1.2.3.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).TXLivePlayer=t()}(this,(function(){"use strict";function e(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(r){if("default"!==r&&!(r in e)){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}}))})),Object.freeze(e)}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n=function(e){try{return!!e()}catch(e){return!0}},i=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),o=i,s=Function.prototype,a=s.bind,c=s.call,u=o&&a.bind(c,c),l=o?function(e){return e&&u(e)}:function(e){return e&&function(){return c.apply(e,arguments)}},d=l({}.isPrototypeOf),p=function(e){return e&&e.Math==Math&&e},f=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof t&&t)||function(){return this}()||Function("return this")(),h=i,v=Function.prototype,m=v.apply,y=v.call,g="object"==typeof Reflect&&Reflect.apply||(h?y.bind(m):function(){return y.apply(m,arguments)}),b=function(e){return"function"==typeof e},S={},T=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),_=i,C=Function.prototype.call,w=_?C.bind(C):function(){return C.apply(C,arguments)},E={},R={}.propertyIsEnumerable,P=Object.getOwnPropertyDescriptor,A=P&&!R.call({1:2},1);E.f=A?function(e){var t=P(this,e);return!!t&&t.enumerable}:R;var M,k,O=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},D=l,I=D({}.toString),x=D("".slice),L=function(e){return x(I(e),8,-1)},N=n,F=L,j=Object,B=l("".split),V=N((function(){return!j("z").propertyIsEnumerable(0)}))?function(e){return"String"==F(e)?B(e,""):j(e)}:j,U=TypeError,z=function(e){if(null==e)throw U("Can't call method on "+e);return e},G=V,W=z,Y=function(e){return G(W(e))},q=b,H=function(e){return"object"==typeof e?null!==e:q(e)},J={},Q=J,K=f,Z=b,X=function(e){return Z(e)?e:void 0},$=function(e,t){return arguments.length<2?X(Q[e])||X(K[e]):Q[e]&&Q[e][t]||K[e]&&K[e][t]},ee=$("navigator","userAgent")||"",te=f,re=ee,ne=te.process,ie=te.Deno,oe=ne&&ne.versions||ie&&ie.version,se=oe&&oe.v8;se&&(k=(M=se.split("."))[0]>0&&M[0]<4?1:+(M[0]+M[1])),!k&&re&&(!(M=re.match(/Edge\/(\d+)/))||M[1]>=74)&&(M=re.match(/Chrome\/(\d+)/))&&(k=+M[1]);var ae=k,ce=ae,ue=n,le=!!Object.getOwnPropertySymbols&&!ue((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ce&&ce<41})),de=le&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,pe=$,fe=b,he=d,ve=Object,me=de?function(e){return"symbol"==typeof e}:function(e){var t=pe("Symbol");return fe(t)&&he(t.prototype,ve(e))},ye=String,ge=function(e){try{return ye(e)}catch(e){return"Object"}},be=b,Se=ge,Te=TypeError,_e=function(e){if(be(e))return e;throw Te(Se(e)+" is not a function")},Ce=_e,we=function(e,t){var r=e[t];return null==r?void 0:Ce(r)},Ee=w,Re=b,Pe=H,Ae=TypeError,Me={exports:{}},ke=f,Oe=Object.defineProperty,De=function(e,t){try{Oe(ke,e,{value:t,configurable:!0,writable:!0})}catch(r){ke[e]=t}return t},Ie="__core-js_shared__",xe=f[Ie]||De(Ie,{}),Le=xe;(Me.exports=function(e,t){return Le[e]||(Le[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.23.3",mode:"pure",copyright:"漏 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE",source:"https://github.com/zloirock/core-js"});var Ne=z,Fe=Object,je=function(e){return Fe(Ne(e))},Be=je,Ve=l({}.hasOwnProperty),Ue=Object.hasOwn||function(e,t){return Ve(Be(e),t)},ze=l,Ge=0,We=Math.random(),Ye=ze(1..toString),qe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ye(++Ge+We,36)},He=f,Je=Me.exports,Qe=Ue,Ke=qe,Ze=le,Xe=de,$e=Je("wks"),et=He.Symbol,tt=et&&et.for,rt=Xe?et:et&&et.withoutSetter||Ke,nt=function(e){if(!Qe($e,e)||!Ze&&"string"!=typeof $e[e]){var t="Symbol."+e;Ze&&Qe(et,e)?$e[e]=et[e]:$e[e]=Xe&&tt?tt(t):rt(t)}return $e[e]},it=w,ot=H,st=me,at=we,ct=function(e,t){var r,n;if("string"===t&&Re(r=e.toString)&&!Pe(n=Ee(r,e)))return n;if(Re(r=e.valueOf)&&!Pe(n=Ee(r,e)))return n;if("string"!==t&&Re(r=e.toString)&&!Pe(n=Ee(r,e)))return n;throw Ae("Can't convert object to primitive value")},ut=TypeError,lt=nt("toPrimitive"),dt=function(e,t){if(!ot(e)||st(e))return e;var r,n=at(e,lt);if(n){if(void 0===t&&(t="default"),r=it(n,e,t),!ot(r)||st(r))return r;throw ut("Can't convert object to primitive value")}return void 0===t&&(t="number"),ct(e,t)},pt=me,ft=function(e){var t=dt(e,"string");return pt(t)?t:t+""},ht=H,vt=f.document,mt=ht(vt)&&ht(vt.createElement),yt=function(e){return mt?vt.createElement(e):{}},gt=yt,bt=!T&&!n((function(){return 7!=Object.defineProperty(gt("div"),"a",{get:function(){return 7}}).a})),St=T,Tt=w,_t=E,Ct=O,wt=Y,Et=ft,Rt=Ue,Pt=bt,At=Object.getOwnPropertyDescriptor;S.f=St?At:function(e,t){if(e=wt(e),t=Et(t),Pt)try{return At(e,t)}catch(e){}if(Rt(e,t))return Ct(!Tt(_t.f,e,t),e[t])};var Mt=n,kt=b,Ot=/#|\.prototype\./,Dt=function(e,t){var r=xt[It(e)];return r==Nt||r!=Lt&&(kt(t)?Mt(t):!!t)},It=Dt.normalize=function(e){return String(e).replace(Ot,".").toLowerCase()},xt=Dt.data={},Lt=Dt.NATIVE="N",Nt=Dt.POLYFILL="P",Ft=Dt,jt=_e,Bt=i,Vt=l(l.bind),Ut=function(e,t){return jt(e),void 0===t?e:Bt?Vt(e,t):function(){return e.apply(t,arguments)}},zt={},Gt=T&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Wt=H,Yt=String,qt=TypeError,Ht=function(e){if(Wt(e))return e;throw qt(Yt(e)+" is not an object")},Jt=T,Qt=bt,Kt=Gt,Zt=Ht,Xt=ft,$t=TypeError,er=Object.defineProperty,tr=Object.getOwnPropertyDescriptor,rr="enumerable",nr="configurable",ir="writable";zt.f=Jt?Kt?function(e,t,r){if(Zt(e),t=Xt(t),Zt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&ir in r&&!r.writable){var n=tr(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:nr in r?r.configurable:n.configurable,enumerable:rr in r?r.enumerable:n.enumerable,writable:!1})}return er(e,t,r)}:er:function(e,t,r){if(Zt(e),t=Xt(t),Zt(r),Qt)try{return er(e,t,r)}catch(e){}if("get"in r||"set"in r)throw $t("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var or=zt,sr=O,ar=T?function(e,t,r){return or.f(e,t,sr(1,r))}:function(e,t,r){return e[t]=r,e},cr=f,ur=g,lr=l,dr=b,pr=S.f,fr=Ft,hr=J,vr=Ut,mr=ar,yr=Ue,gr=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return ur(e,this,arguments)};return t.prototype=e.prototype,t},br=function(e,t){var r,n,i,o,s,a,c,u,l=e.target,d=e.global,p=e.stat,f=e.proto,h=d?cr:p?cr[l]:(cr[l]||{}).prototype,v=d?hr:hr[l]||mr(hr,l,{})[l],m=v.prototype;for(i in t)r=!fr(d?i:l+(p?".":"#")+i,e.forced)&&h&&yr(h,i),s=v[i],r&&(a=e.dontCallGetSet?(u=pr(h,i))&&u.value:h[i]),o=r&&a?a:t[i],r&&typeof s==typeof o||(c=e.bind&&r?vr(o,cr):e.wrap&&r?gr(o):f&&dr(o)?lr(o):o,(e.sham||o&&o.sham||s&&s.sham)&&mr(c,"sham",!0),mr(v,i,c),f&&(yr(hr,n=l+"Prototype")||mr(hr,n,{}),mr(hr[n],i,o),e.real&&m&&!m[i]&&mr(m,i,o)))},Sr=l([].slice),Tr=l,_r=_e,Cr=H,wr=Ue,Er=Sr,Rr=i,Pr=Function,Ar=Tr([].concat),Mr=Tr([].join),kr={},Or=function(e,t,r){if(!wr(kr,t)){for(var n=[],i=0;i0?zr:Ur)(t)},Wr=function(e){var t=+e;return t!=t||0===t?0:Gr(t)},Yr=Wr,qr=Math.max,Hr=Math.min,Jr=function(e,t){var r=Yr(e);return r<0?qr(r+t,0):Hr(r,t)},Qr=Wr,Kr=Math.min,Zr=function(e){return e>0?Kr(Qr(e),9007199254740991):0},Xr=Zr,$r=function(e){return Xr(e.length)},en=Y,tn=Jr,rn=$r,nn=function(e){return function(t,r,n){var i,o=en(t),s=rn(o),a=tn(n,s);if(e&&r!=r){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((e||a in o)&&o[a]===r)return e||a||0;return!e&&-1}},on={includes:nn(!0),indexOf:nn(!1)},sn=on.includes;br({target:"Array",proto:!0,forced:n((function(){return!Array(1).includes()}))},{includes:function(e){return sn(this,e,arguments.length>1?arguments[1]:void 0)}});var an=Lr("Array").includes,cn=H,un=L,ln=nt("match"),dn=function(e){var t;return cn(e)&&(void 0!==(t=e[ln])?!!t:"RegExp"==un(e))},pn=TypeError,fn=function(e){if(dn(e))throw pn("The method doesn't accept regular expressions");return e},hn={};hn[nt("toStringTag")]="z";var vn="[object z]"===String(hn),mn=vn,yn=b,gn=L,bn=nt("toStringTag"),Sn=Object,Tn="Arguments"==gn(function(){return arguments}()),_n=mn?gn:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Sn(e),bn))?r:Tn?gn(t):"Object"==(n=gn(t))&&yn(t.callee)?"Arguments":n},Cn=_n,wn=String,En=function(e){if("Symbol"===Cn(e))throw TypeError("Cannot convert a Symbol value to a string");return wn(e)},Rn=nt("match"),Pn=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Rn]=!1,"/./"[e](t)}catch(e){}}return!1},An=br,Mn=fn,kn=z,On=En,Dn=Pn,In=l("".indexOf);An({target:"String",proto:!0,forced:!Dn("includes")},{includes:function(e){return!!~In(On(kn(this)),On(Mn(e)),arguments.length>1?arguments[1]:void 0)}});var xn=Lr("String").includes,Ln=d,Nn=an,Fn=xn,jn=Array.prototype,Bn=String.prototype,Vn=function(e){var t=e.includes;return e===jn||Ln(jn,e)&&t===jn.includes?Nn:"string"==typeof e||e===Bn||Ln(Bn,e)&&t===Bn.includes?Fn:t},Un={},zn=b,Gn=xe,Wn=l(Function.toString);zn(Gn.inspectSource)||(Gn.inspectSource=function(e){return Wn(e)});var Yn,qn,Hn,Jn=Gn.inspectSource,Qn=b,Kn=Jn,Zn=f.WeakMap,Xn=Qn(Zn)&&/native code/.test(Kn(Zn)),$n=Me.exports,ei=qe,ti=$n("keys"),ri=function(e){return ti[e]||(ti[e]=ei(e))},ni={},ii=Xn,oi=f,si=l,ai=H,ci=ar,ui=Ue,li=xe,di=ri,pi=ni,fi="Object already initialized",hi=oi.TypeError,vi=oi.WeakMap;if(ii||li.state){var mi=li.state||(li.state=new vi),yi=si(mi.get),gi=si(mi.has),bi=si(mi.set);Yn=function(e,t){if(gi(mi,e))throw new hi(fi);return t.facade=e,bi(mi,e,t),t},qn=function(e){return yi(mi,e)||{}},Hn=function(e){return gi(mi,e)}}else{var Si=di("state");pi[Si]=!0,Yn=function(e,t){if(ui(e,Si))throw new hi(fi);return t.facade=e,ci(e,Si,t),t},qn=function(e){return ui(e,Si)?e[Si]:{}},Hn=function(e){return ui(e,Si)}}var Ti={set:Yn,get:qn,has:Hn,enforce:function(e){return Hn(e)?qn(e):Yn(e,{})},getterFor:function(e){return function(t){var r;if(!ai(t)||(r=qn(t)).type!==e)throw hi("Incompatible receiver, "+e+" required");return r}}},_i=T,Ci=Ue,wi=Function.prototype,Ei=_i&&Object.getOwnPropertyDescriptor,Ri=Ci(wi,"name"),Pi={EXISTS:Ri,PROPER:Ri&&"something"===function(){}.name,CONFIGURABLE:Ri&&(!_i||_i&&Ei(wi,"name").configurable)},Ai={},Mi=Ue,ki=Y,Oi=on.indexOf,Di=ni,Ii=l([].push),xi=function(e,t){var r,n=ki(e),i=0,o=[];for(r in n)!Mi(Di,r)&&Mi(n,r)&&Ii(o,r);for(;t.length>i;)Mi(n,r=t[i++])&&(~Oi(o,r)||Ii(o,r));return o},Li=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ni=xi,Fi=Li,ji=Object.keys||function(e){return Ni(e,Fi)},Bi=T,Vi=Gt,Ui=zt,zi=Ht,Gi=Y,Wi=ji;Ai.f=Bi&&!Vi?Object.defineProperties:function(e,t){zi(e);for(var r,n=Gi(t),i=Wi(t),o=i.length,s=0;o>s;)Ui.f(e,r=i[s++],n[r]);return e};var Yi,qi=$("document","documentElement"),Hi=Ht,Ji=Ai,Qi=Li,Ki=ni,Zi=qi,Xi=yt,$i=ri("IE_PROTO"),eo=function(){},to=function(e){return"