bootstrap-table-ru-RU.js 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083
  1. (function (global, factory) {
  2. typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
  3. typeof define === 'function' && define.amd ? define(['jquery'], factory) :
  4. (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
  5. })(this, (function ($) { 'use strict';
  6. function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
  7. var $__default = /*#__PURE__*/_interopDefaultLegacy($);
  8. var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
  9. function createCommonjsModule(fn, module) {
  10. return module = { exports: {} }, fn(module, module.exports), module.exports;
  11. }
  12. var check = function (it) {
  13. return it && it.Math == Math && it;
  14. };
  15. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  16. var global_1 =
  17. // eslint-disable-next-line es/no-global-this -- safe
  18. check(typeof globalThis == 'object' && globalThis) ||
  19. check(typeof window == 'object' && window) ||
  20. // eslint-disable-next-line no-restricted-globals -- safe
  21. check(typeof self == 'object' && self) ||
  22. check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  23. // eslint-disable-next-line no-new-func -- fallback
  24. (function () { return this; })() || Function('return this')();
  25. var fails = function (exec) {
  26. try {
  27. return !!exec();
  28. } catch (error) {
  29. return true;
  30. }
  31. };
  32. // Detect IE8's incomplete defineProperty implementation
  33. var descriptors = !fails(function () {
  34. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  35. return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
  36. });
  37. var functionBindNative = !fails(function () {
  38. var test = (function () { /* empty */ }).bind();
  39. // eslint-disable-next-line no-prototype-builtins -- safe
  40. return typeof test != 'function' || test.hasOwnProperty('prototype');
  41. });
  42. var call$1 = Function.prototype.call;
  43. var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
  44. return call$1.apply(call$1, arguments);
  45. };
  46. var $propertyIsEnumerable = {}.propertyIsEnumerable;
  47. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  48. var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  49. // Nashorn ~ JDK8 bug
  50. var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
  51. // `Object.prototype.propertyIsEnumerable` method implementation
  52. // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
  53. var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
  54. var descriptor = getOwnPropertyDescriptor$1(this, V);
  55. return !!descriptor && descriptor.enumerable;
  56. } : $propertyIsEnumerable;
  57. var objectPropertyIsEnumerable = {
  58. f: f$4
  59. };
  60. var createPropertyDescriptor = function (bitmap, value) {
  61. return {
  62. enumerable: !(bitmap & 1),
  63. configurable: !(bitmap & 2),
  64. writable: !(bitmap & 4),
  65. value: value
  66. };
  67. };
  68. var FunctionPrototype$1 = Function.prototype;
  69. var bind = FunctionPrototype$1.bind;
  70. var call = FunctionPrototype$1.call;
  71. var uncurryThis = functionBindNative && bind.bind(call, call);
  72. var functionUncurryThis = functionBindNative ? function (fn) {
  73. return fn && uncurryThis(fn);
  74. } : function (fn) {
  75. return fn && function () {
  76. return call.apply(fn, arguments);
  77. };
  78. };
  79. var toString$1 = functionUncurryThis({}.toString);
  80. var stringSlice = functionUncurryThis(''.slice);
  81. var classofRaw = function (it) {
  82. return stringSlice(toString$1(it), 8, -1);
  83. };
  84. var Object$4 = global_1.Object;
  85. var split = functionUncurryThis(''.split);
  86. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  87. var indexedObject = fails(function () {
  88. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  89. // eslint-disable-next-line no-prototype-builtins -- safe
  90. return !Object$4('z').propertyIsEnumerable(0);
  91. }) ? function (it) {
  92. return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
  93. } : Object$4;
  94. var TypeError$7 = global_1.TypeError;
  95. // `RequireObjectCoercible` abstract operation
  96. // https://tc39.es/ecma262/#sec-requireobjectcoercible
  97. var requireObjectCoercible = function (it) {
  98. if (it == undefined) throw TypeError$7("Can't call method on " + it);
  99. return it;
  100. };
  101. // toObject with fallback for non-array-like ES3 strings
  102. var toIndexedObject = function (it) {
  103. return indexedObject(requireObjectCoercible(it));
  104. };
  105. // `IsCallable` abstract operation
  106. // https://tc39.es/ecma262/#sec-iscallable
  107. var isCallable = function (argument) {
  108. return typeof argument == 'function';
  109. };
  110. var isObject = function (it) {
  111. return typeof it == 'object' ? it !== null : isCallable(it);
  112. };
  113. var aFunction = function (argument) {
  114. return isCallable(argument) ? argument : undefined;
  115. };
  116. var getBuiltIn = function (namespace, method) {
  117. return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
  118. };
  119. var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
  120. var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
  121. var process = global_1.process;
  122. var Deno = global_1.Deno;
  123. var versions = process && process.versions || Deno && Deno.version;
  124. var v8 = versions && versions.v8;
  125. var match, version;
  126. if (v8) {
  127. match = v8.split('.');
  128. // in old Chrome, versions of V8 isn't V8 = Chrome / 10
  129. // but their correct versions are not interesting for us
  130. version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
  131. }
  132. // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
  133. // so check `userAgent` even if `.v8` exists, but 0
  134. if (!version && engineUserAgent) {
  135. match = engineUserAgent.match(/Edge\/(\d+)/);
  136. if (!match || match[1] >= 74) {
  137. match = engineUserAgent.match(/Chrome\/(\d+)/);
  138. if (match) version = +match[1];
  139. }
  140. }
  141. var engineV8Version = version;
  142. /* eslint-disable es/no-symbol -- required for testing */
  143. // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
  144. var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
  145. var symbol = Symbol();
  146. // Chrome 38 Symbol has incorrect toString conversion
  147. // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
  148. return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
  149. // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
  150. !Symbol.sham && engineV8Version && engineV8Version < 41;
  151. });
  152. /* eslint-disable es/no-symbol -- required for testing */
  153. var useSymbolAsUid = nativeSymbol
  154. && !Symbol.sham
  155. && typeof Symbol.iterator == 'symbol';
  156. var Object$3 = global_1.Object;
  157. var isSymbol = useSymbolAsUid ? function (it) {
  158. return typeof it == 'symbol';
  159. } : function (it) {
  160. var $Symbol = getBuiltIn('Symbol');
  161. return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
  162. };
  163. var String$2 = global_1.String;
  164. var tryToString = function (argument) {
  165. try {
  166. return String$2(argument);
  167. } catch (error) {
  168. return 'Object';
  169. }
  170. };
  171. var TypeError$6 = global_1.TypeError;
  172. // `Assert: IsCallable(argument) is true`
  173. var aCallable = function (argument) {
  174. if (isCallable(argument)) return argument;
  175. throw TypeError$6(tryToString(argument) + ' is not a function');
  176. };
  177. // `GetMethod` abstract operation
  178. // https://tc39.es/ecma262/#sec-getmethod
  179. var getMethod = function (V, P) {
  180. var func = V[P];
  181. return func == null ? undefined : aCallable(func);
  182. };
  183. var TypeError$5 = global_1.TypeError;
  184. // `OrdinaryToPrimitive` abstract operation
  185. // https://tc39.es/ecma262/#sec-ordinarytoprimitive
  186. var ordinaryToPrimitive = function (input, pref) {
  187. var fn, val;
  188. if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
  189. if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
  190. if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
  191. throw TypeError$5("Can't convert object to primitive value");
  192. };
  193. // eslint-disable-next-line es/no-object-defineproperty -- safe
  194. var defineProperty = Object.defineProperty;
  195. var setGlobal = function (key, value) {
  196. try {
  197. defineProperty(global_1, key, { value: value, configurable: true, writable: true });
  198. } catch (error) {
  199. global_1[key] = value;
  200. } return value;
  201. };
  202. var SHARED = '__core-js_shared__';
  203. var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
  204. var sharedStore = store$1;
  205. var shared = createCommonjsModule(function (module) {
  206. (module.exports = function (key, value) {
  207. return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
  208. })('versions', []).push({
  209. version: '3.21.1',
  210. mode: 'global',
  211. copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
  212. license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
  213. source: 'https://github.com/zloirock/core-js'
  214. });
  215. });
  216. var Object$2 = global_1.Object;
  217. // `ToObject` abstract operation
  218. // https://tc39.es/ecma262/#sec-toobject
  219. var toObject = function (argument) {
  220. return Object$2(requireObjectCoercible(argument));
  221. };
  222. var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
  223. // `HasOwnProperty` abstract operation
  224. // https://tc39.es/ecma262/#sec-hasownproperty
  225. var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
  226. return hasOwnProperty(toObject(it), key);
  227. };
  228. var id = 0;
  229. var postfix = Math.random();
  230. var toString = functionUncurryThis(1.0.toString);
  231. var uid = function (key) {
  232. return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
  233. };
  234. var WellKnownSymbolsStore = shared('wks');
  235. var Symbol$1 = global_1.Symbol;
  236. var symbolFor = Symbol$1 && Symbol$1['for'];
  237. var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
  238. var wellKnownSymbol = function (name) {
  239. if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
  240. var description = 'Symbol.' + name;
  241. if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
  242. WellKnownSymbolsStore[name] = Symbol$1[name];
  243. } else if (useSymbolAsUid && symbolFor) {
  244. WellKnownSymbolsStore[name] = symbolFor(description);
  245. } else {
  246. WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
  247. }
  248. } return WellKnownSymbolsStore[name];
  249. };
  250. var TypeError$4 = global_1.TypeError;
  251. var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
  252. // `ToPrimitive` abstract operation
  253. // https://tc39.es/ecma262/#sec-toprimitive
  254. var toPrimitive = function (input, pref) {
  255. if (!isObject(input) || isSymbol(input)) return input;
  256. var exoticToPrim = getMethod(input, TO_PRIMITIVE);
  257. var result;
  258. if (exoticToPrim) {
  259. if (pref === undefined) pref = 'default';
  260. result = functionCall(exoticToPrim, input, pref);
  261. if (!isObject(result) || isSymbol(result)) return result;
  262. throw TypeError$4("Can't convert object to primitive value");
  263. }
  264. if (pref === undefined) pref = 'number';
  265. return ordinaryToPrimitive(input, pref);
  266. };
  267. // `ToPropertyKey` abstract operation
  268. // https://tc39.es/ecma262/#sec-topropertykey
  269. var toPropertyKey = function (argument) {
  270. var key = toPrimitive(argument, 'string');
  271. return isSymbol(key) ? key : key + '';
  272. };
  273. var document = global_1.document;
  274. // typeof document.createElement is 'object' in old IE
  275. var EXISTS$1 = isObject(document) && isObject(document.createElement);
  276. var documentCreateElement = function (it) {
  277. return EXISTS$1 ? document.createElement(it) : {};
  278. };
  279. // Thanks to IE8 for its funny defineProperty
  280. var ie8DomDefine = !descriptors && !fails(function () {
  281. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  282. return Object.defineProperty(documentCreateElement('div'), 'a', {
  283. get: function () { return 7; }
  284. }).a != 7;
  285. });
  286. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  287. var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  288. // `Object.getOwnPropertyDescriptor` method
  289. // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
  290. var f$3 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
  291. O = toIndexedObject(O);
  292. P = toPropertyKey(P);
  293. if (ie8DomDefine) try {
  294. return $getOwnPropertyDescriptor$1(O, P);
  295. } catch (error) { /* empty */ }
  296. if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
  297. };
  298. var objectGetOwnPropertyDescriptor = {
  299. f: f$3
  300. };
  301. // V8 ~ Chrome 36-
  302. // https://bugs.chromium.org/p/v8/issues/detail?id=3334
  303. var v8PrototypeDefineBug = descriptors && fails(function () {
  304. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  305. return Object.defineProperty(function () { /* empty */ }, 'prototype', {
  306. value: 42,
  307. writable: false
  308. }).prototype != 42;
  309. });
  310. var String$1 = global_1.String;
  311. var TypeError$3 = global_1.TypeError;
  312. // `Assert: Type(argument) is Object`
  313. var anObject = function (argument) {
  314. if (isObject(argument)) return argument;
  315. throw TypeError$3(String$1(argument) + ' is not an object');
  316. };
  317. var TypeError$2 = global_1.TypeError;
  318. // eslint-disable-next-line es/no-object-defineproperty -- safe
  319. var $defineProperty = Object.defineProperty;
  320. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  321. var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  322. var ENUMERABLE = 'enumerable';
  323. var CONFIGURABLE$1 = 'configurable';
  324. var WRITABLE = 'writable';
  325. // `Object.defineProperty` method
  326. // https://tc39.es/ecma262/#sec-object.defineproperty
  327. var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
  328. anObject(O);
  329. P = toPropertyKey(P);
  330. anObject(Attributes);
  331. if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
  332. var current = $getOwnPropertyDescriptor(O, P);
  333. if (current && current[WRITABLE]) {
  334. O[P] = Attributes.value;
  335. Attributes = {
  336. configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
  337. enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
  338. writable: false
  339. };
  340. }
  341. } return $defineProperty(O, P, Attributes);
  342. } : $defineProperty : function defineProperty(O, P, Attributes) {
  343. anObject(O);
  344. P = toPropertyKey(P);
  345. anObject(Attributes);
  346. if (ie8DomDefine) try {
  347. return $defineProperty(O, P, Attributes);
  348. } catch (error) { /* empty */ }
  349. if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
  350. if ('value' in Attributes) O[P] = Attributes.value;
  351. return O;
  352. };
  353. var objectDefineProperty = {
  354. f: f$2
  355. };
  356. var createNonEnumerableProperty = descriptors ? function (object, key, value) {
  357. return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
  358. } : function (object, key, value) {
  359. object[key] = value;
  360. return object;
  361. };
  362. var functionToString = functionUncurryThis(Function.toString);
  363. // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
  364. if (!isCallable(sharedStore.inspectSource)) {
  365. sharedStore.inspectSource = function (it) {
  366. return functionToString(it);
  367. };
  368. }
  369. var inspectSource = sharedStore.inspectSource;
  370. var WeakMap$1 = global_1.WeakMap;
  371. var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
  372. var keys = shared('keys');
  373. var sharedKey = function (key) {
  374. return keys[key] || (keys[key] = uid(key));
  375. };
  376. var hiddenKeys$1 = {};
  377. var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
  378. var TypeError$1 = global_1.TypeError;
  379. var WeakMap = global_1.WeakMap;
  380. var set, get, has;
  381. var enforce = function (it) {
  382. return has(it) ? get(it) : set(it, {});
  383. };
  384. var getterFor = function (TYPE) {
  385. return function (it) {
  386. var state;
  387. if (!isObject(it) || (state = get(it)).type !== TYPE) {
  388. throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
  389. } return state;
  390. };
  391. };
  392. if (nativeWeakMap || sharedStore.state) {
  393. var store = sharedStore.state || (sharedStore.state = new WeakMap());
  394. var wmget = functionUncurryThis(store.get);
  395. var wmhas = functionUncurryThis(store.has);
  396. var wmset = functionUncurryThis(store.set);
  397. set = function (it, metadata) {
  398. if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
  399. metadata.facade = it;
  400. wmset(store, it, metadata);
  401. return metadata;
  402. };
  403. get = function (it) {
  404. return wmget(store, it) || {};
  405. };
  406. has = function (it) {
  407. return wmhas(store, it);
  408. };
  409. } else {
  410. var STATE = sharedKey('state');
  411. hiddenKeys$1[STATE] = true;
  412. set = function (it, metadata) {
  413. if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
  414. metadata.facade = it;
  415. createNonEnumerableProperty(it, STATE, metadata);
  416. return metadata;
  417. };
  418. get = function (it) {
  419. return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
  420. };
  421. has = function (it) {
  422. return hasOwnProperty_1(it, STATE);
  423. };
  424. }
  425. var internalState = {
  426. set: set,
  427. get: get,
  428. has: has,
  429. enforce: enforce,
  430. getterFor: getterFor
  431. };
  432. var FunctionPrototype = Function.prototype;
  433. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  434. var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
  435. var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
  436. // additional protection from minified / mangled / dropped function names
  437. var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
  438. var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
  439. var functionName = {
  440. EXISTS: EXISTS,
  441. PROPER: PROPER,
  442. CONFIGURABLE: CONFIGURABLE
  443. };
  444. var redefine = createCommonjsModule(function (module) {
  445. var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
  446. var getInternalState = internalState.get;
  447. var enforceInternalState = internalState.enforce;
  448. var TEMPLATE = String(String).split('String');
  449. (module.exports = function (O, key, value, options) {
  450. var unsafe = options ? !!options.unsafe : false;
  451. var simple = options ? !!options.enumerable : false;
  452. var noTargetGet = options ? !!options.noTargetGet : false;
  453. var name = options && options.name !== undefined ? options.name : key;
  454. var state;
  455. if (isCallable(value)) {
  456. if (String(name).slice(0, 7) === 'Symbol(') {
  457. name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
  458. }
  459. if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
  460. createNonEnumerableProperty(value, 'name', name);
  461. }
  462. state = enforceInternalState(value);
  463. if (!state.source) {
  464. state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
  465. }
  466. }
  467. if (O === global_1) {
  468. if (simple) O[key] = value;
  469. else setGlobal(key, value);
  470. return;
  471. } else if (!unsafe) {
  472. delete O[key];
  473. } else if (!noTargetGet && O[key]) {
  474. simple = true;
  475. }
  476. if (simple) O[key] = value;
  477. else createNonEnumerableProperty(O, key, value);
  478. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  479. })(Function.prototype, 'toString', function toString() {
  480. return isCallable(this) && getInternalState(this).source || inspectSource(this);
  481. });
  482. });
  483. var ceil = Math.ceil;
  484. var floor = Math.floor;
  485. // `ToIntegerOrInfinity` abstract operation
  486. // https://tc39.es/ecma262/#sec-tointegerorinfinity
  487. var toIntegerOrInfinity = function (argument) {
  488. var number = +argument;
  489. // eslint-disable-next-line no-self-compare -- safe
  490. return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
  491. };
  492. var max = Math.max;
  493. var min$1 = Math.min;
  494. // Helper for a popular repeating case of the spec:
  495. // Let integer be ? ToInteger(index).
  496. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  497. var toAbsoluteIndex = function (index, length) {
  498. var integer = toIntegerOrInfinity(index);
  499. return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
  500. };
  501. var min = Math.min;
  502. // `ToLength` abstract operation
  503. // https://tc39.es/ecma262/#sec-tolength
  504. var toLength = function (argument) {
  505. return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  506. };
  507. // `LengthOfArrayLike` abstract operation
  508. // https://tc39.es/ecma262/#sec-lengthofarraylike
  509. var lengthOfArrayLike = function (obj) {
  510. return toLength(obj.length);
  511. };
  512. // `Array.prototype.{ indexOf, includes }` methods implementation
  513. var createMethod = function (IS_INCLUDES) {
  514. return function ($this, el, fromIndex) {
  515. var O = toIndexedObject($this);
  516. var length = lengthOfArrayLike(O);
  517. var index = toAbsoluteIndex(fromIndex, length);
  518. var value;
  519. // Array#includes uses SameValueZero equality algorithm
  520. // eslint-disable-next-line no-self-compare -- NaN check
  521. if (IS_INCLUDES && el != el) while (length > index) {
  522. value = O[index++];
  523. // eslint-disable-next-line no-self-compare -- NaN check
  524. if (value != value) return true;
  525. // Array#indexOf ignores holes, Array#includes - not
  526. } else for (;length > index; index++) {
  527. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  528. } return !IS_INCLUDES && -1;
  529. };
  530. };
  531. var arrayIncludes = {
  532. // `Array.prototype.includes` method
  533. // https://tc39.es/ecma262/#sec-array.prototype.includes
  534. includes: createMethod(true),
  535. // `Array.prototype.indexOf` method
  536. // https://tc39.es/ecma262/#sec-array.prototype.indexof
  537. indexOf: createMethod(false)
  538. };
  539. var indexOf = arrayIncludes.indexOf;
  540. var push = functionUncurryThis([].push);
  541. var objectKeysInternal = function (object, names) {
  542. var O = toIndexedObject(object);
  543. var i = 0;
  544. var result = [];
  545. var key;
  546. for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push(result, key);
  547. // Don't enum bug & hidden keys
  548. while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
  549. ~indexOf(result, key) || push(result, key);
  550. }
  551. return result;
  552. };
  553. // IE8- don't enum bug keys
  554. var enumBugKeys = [
  555. 'constructor',
  556. 'hasOwnProperty',
  557. 'isPrototypeOf',
  558. 'propertyIsEnumerable',
  559. 'toLocaleString',
  560. 'toString',
  561. 'valueOf'
  562. ];
  563. var hiddenKeys = enumBugKeys.concat('length', 'prototype');
  564. // `Object.getOwnPropertyNames` method
  565. // https://tc39.es/ecma262/#sec-object.getownpropertynames
  566. // eslint-disable-next-line es/no-object-getownpropertynames -- safe
  567. var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  568. return objectKeysInternal(O, hiddenKeys);
  569. };
  570. var objectGetOwnPropertyNames = {
  571. f: f$1
  572. };
  573. // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
  574. var f = Object.getOwnPropertySymbols;
  575. var objectGetOwnPropertySymbols = {
  576. f: f
  577. };
  578. var concat = functionUncurryThis([].concat);
  579. // all object keys, includes non-enumerable and symbols
  580. var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  581. var keys = objectGetOwnPropertyNames.f(anObject(it));
  582. var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
  583. return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
  584. };
  585. var copyConstructorProperties = function (target, source, exceptions) {
  586. var keys = ownKeys(source);
  587. var defineProperty = objectDefineProperty.f;
  588. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  589. for (var i = 0; i < keys.length; i++) {
  590. var key = keys[i];
  591. if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
  592. defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  593. }
  594. }
  595. };
  596. var replacement = /#|\.prototype\./;
  597. var isForced = function (feature, detection) {
  598. var value = data[normalize(feature)];
  599. return value == POLYFILL ? true
  600. : value == NATIVE ? false
  601. : isCallable(detection) ? fails(detection)
  602. : !!detection;
  603. };
  604. var normalize = isForced.normalize = function (string) {
  605. return String(string).replace(replacement, '.').toLowerCase();
  606. };
  607. var data = isForced.data = {};
  608. var NATIVE = isForced.NATIVE = 'N';
  609. var POLYFILL = isForced.POLYFILL = 'P';
  610. var isForced_1 = isForced;
  611. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  612. /*
  613. options.target - name of the target object
  614. options.global - target is the global object
  615. options.stat - export as static methods of target
  616. options.proto - export as prototype methods of target
  617. options.real - real prototype method for the `pure` version
  618. options.forced - export even if the native feature is available
  619. options.bind - bind methods to the target, required for the `pure` version
  620. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  621. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  622. options.sham - add a flag to not completely full polyfills
  623. options.enumerable - export as enumerable property
  624. options.noTargetGet - prevent calling a getter on target
  625. options.name - the .name of the function if it does not match the key
  626. */
  627. var _export = function (options, source) {
  628. var TARGET = options.target;
  629. var GLOBAL = options.global;
  630. var STATIC = options.stat;
  631. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  632. if (GLOBAL) {
  633. target = global_1;
  634. } else if (STATIC) {
  635. target = global_1[TARGET] || setGlobal(TARGET, {});
  636. } else {
  637. target = (global_1[TARGET] || {}).prototype;
  638. }
  639. if (target) for (key in source) {
  640. sourceProperty = source[key];
  641. if (options.noTargetGet) {
  642. descriptor = getOwnPropertyDescriptor(target, key);
  643. targetProperty = descriptor && descriptor.value;
  644. } else targetProperty = target[key];
  645. FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  646. // contained in target
  647. if (!FORCED && targetProperty !== undefined) {
  648. if (typeof sourceProperty == typeof targetProperty) continue;
  649. copyConstructorProperties(sourceProperty, targetProperty);
  650. }
  651. // add a flag to not completely full polyfills
  652. if (options.sham || (targetProperty && targetProperty.sham)) {
  653. createNonEnumerableProperty(sourceProperty, 'sham', true);
  654. }
  655. // extend global
  656. redefine(target, key, sourceProperty, options);
  657. }
  658. };
  659. // `IsArray` abstract operation
  660. // https://tc39.es/ecma262/#sec-isarray
  661. // eslint-disable-next-line es/no-array-isarray -- safe
  662. var isArray = Array.isArray || function isArray(argument) {
  663. return classofRaw(argument) == 'Array';
  664. };
  665. var createProperty = function (object, key, value) {
  666. var propertyKey = toPropertyKey(key);
  667. if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
  668. else object[propertyKey] = value;
  669. };
  670. var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
  671. var test = {};
  672. test[TO_STRING_TAG$1] = 'z';
  673. var toStringTagSupport = String(test) === '[object z]';
  674. var TO_STRING_TAG = wellKnownSymbol('toStringTag');
  675. var Object$1 = global_1.Object;
  676. // ES3 wrong here
  677. var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
  678. // fallback for IE11 Script Access Denied error
  679. var tryGet = function (it, key) {
  680. try {
  681. return it[key];
  682. } catch (error) { /* empty */ }
  683. };
  684. // getting tag from ES6+ `Object.prototype.toString`
  685. var classof = toStringTagSupport ? classofRaw : function (it) {
  686. var O, tag, result;
  687. return it === undefined ? 'Undefined' : it === null ? 'Null'
  688. // @@toStringTag case
  689. : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
  690. // builtinTag case
  691. : CORRECT_ARGUMENTS ? classofRaw(O)
  692. // ES3 arguments fallback
  693. : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
  694. };
  695. var noop = function () { /* empty */ };
  696. var empty = [];
  697. var construct = getBuiltIn('Reflect', 'construct');
  698. var constructorRegExp = /^\s*(?:class|function)\b/;
  699. var exec = functionUncurryThis(constructorRegExp.exec);
  700. var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
  701. var isConstructorModern = function isConstructor(argument) {
  702. if (!isCallable(argument)) return false;
  703. try {
  704. construct(noop, empty, argument);
  705. return true;
  706. } catch (error) {
  707. return false;
  708. }
  709. };
  710. var isConstructorLegacy = function isConstructor(argument) {
  711. if (!isCallable(argument)) return false;
  712. switch (classof(argument)) {
  713. case 'AsyncFunction':
  714. case 'GeneratorFunction':
  715. case 'AsyncGeneratorFunction': return false;
  716. }
  717. try {
  718. // we can't check .prototype since constructors produced by .bind haven't it
  719. // `Function#toString` throws on some built-it function in some legacy engines
  720. // (for example, `DOMQuad` and similar in FF41-)
  721. return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
  722. } catch (error) {
  723. return true;
  724. }
  725. };
  726. isConstructorLegacy.sham = true;
  727. // `IsConstructor` abstract operation
  728. // https://tc39.es/ecma262/#sec-isconstructor
  729. var isConstructor = !construct || fails(function () {
  730. var called;
  731. return isConstructorModern(isConstructorModern.call)
  732. || !isConstructorModern(Object)
  733. || !isConstructorModern(function () { called = true; })
  734. || called;
  735. }) ? isConstructorLegacy : isConstructorModern;
  736. var SPECIES$1 = wellKnownSymbol('species');
  737. var Array$1 = global_1.Array;
  738. // a part of `ArraySpeciesCreate` abstract operation
  739. // https://tc39.es/ecma262/#sec-arrayspeciescreate
  740. var arraySpeciesConstructor = function (originalArray) {
  741. var C;
  742. if (isArray(originalArray)) {
  743. C = originalArray.constructor;
  744. // cross-realm fallback
  745. if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
  746. else if (isObject(C)) {
  747. C = C[SPECIES$1];
  748. if (C === null) C = undefined;
  749. }
  750. } return C === undefined ? Array$1 : C;
  751. };
  752. // `ArraySpeciesCreate` abstract operation
  753. // https://tc39.es/ecma262/#sec-arrayspeciescreate
  754. var arraySpeciesCreate = function (originalArray, length) {
  755. return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
  756. };
  757. var SPECIES = wellKnownSymbol('species');
  758. var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
  759. // We can't use this feature detection in V8 since it causes
  760. // deoptimization and serious performance degradation
  761. // https://github.com/zloirock/core-js/issues/677
  762. return engineV8Version >= 51 || !fails(function () {
  763. var array = [];
  764. var constructor = array.constructor = {};
  765. constructor[SPECIES] = function () {
  766. return { foo: 1 };
  767. };
  768. return array[METHOD_NAME](Boolean).foo !== 1;
  769. });
  770. };
  771. var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
  772. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
  773. var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
  774. var TypeError = global_1.TypeError;
  775. // We can't use this feature detection in V8 since it causes
  776. // deoptimization and serious performance degradation
  777. // https://github.com/zloirock/core-js/issues/679
  778. var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
  779. var array = [];
  780. array[IS_CONCAT_SPREADABLE] = false;
  781. return array.concat()[0] !== array;
  782. });
  783. var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
  784. var isConcatSpreadable = function (O) {
  785. if (!isObject(O)) return false;
  786. var spreadable = O[IS_CONCAT_SPREADABLE];
  787. return spreadable !== undefined ? !!spreadable : isArray(O);
  788. };
  789. var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
  790. // `Array.prototype.concat` method
  791. // https://tc39.es/ecma262/#sec-array.prototype.concat
  792. // with adding support of @@isConcatSpreadable and @@species
  793. _export({ target: 'Array', proto: true, forced: FORCED }, {
  794. // eslint-disable-next-line no-unused-vars -- required for `.length`
  795. concat: function concat(arg) {
  796. var O = toObject(this);
  797. var A = arraySpeciesCreate(O, 0);
  798. var n = 0;
  799. var i, k, length, len, E;
  800. for (i = -1, length = arguments.length; i < length; i++) {
  801. E = i === -1 ? O : arguments[i];
  802. if (isConcatSpreadable(E)) {
  803. len = lengthOfArrayLike(E);
  804. if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  805. for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
  806. } else {
  807. if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  808. createProperty(A, n++, E);
  809. }
  810. }
  811. A.length = n;
  812. return A;
  813. }
  814. });
  815. /**
  816. * Bootstrap Table Russian translation
  817. * Author: Dunaevsky Maxim <dunmaksim@yandex.ru>
  818. */
  819. $__default["default"].fn.bootstrapTable.locales['ru-RU'] = $__default["default"].fn.bootstrapTable.locales['ru'] = {
  820. formatCopyRows: function formatCopyRows() {
  821. return 'Скопировать строки';
  822. },
  823. formatPrint: function formatPrint() {
  824. return 'Печать';
  825. },
  826. formatLoadingMessage: function formatLoadingMessage() {
  827. return 'Пожалуйста, подождите, идёт загрузка';
  828. },
  829. formatRecordsPerPage: function formatRecordsPerPage(pageNumber) {
  830. return "".concat(pageNumber, " \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443");
  831. },
  832. formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows, totalNotFiltered) {
  833. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  834. return "\u0417\u0430\u043F\u0438\u0441\u0438 \u0441 ".concat(pageFrom, " \u043F\u043E ").concat(pageTo, " \u0438\u0437 ").concat(totalRows, " (\u043E\u0442\u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u043D\u043E, \u0432\u0441\u0435\u0433\u043E \u043D\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 ").concat(totalNotFiltered, " \u0437\u0430\u043F\u0438\u0441\u0435\u0439)");
  835. }
  836. return "\u0417\u0430\u043F\u0438\u0441\u0438 \u0441 ".concat(pageFrom, " \u043F\u043E ").concat(pageTo, " \u0438\u0437 ").concat(totalRows);
  837. },
  838. formatSRPaginationPreText: function formatSRPaginationPreText() {
  839. return 'предыдущая страница';
  840. },
  841. formatSRPaginationPageText: function formatSRPaginationPageText(page) {
  842. return "\u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435 ".concat(page);
  843. },
  844. formatSRPaginationNextText: function formatSRPaginationNextText() {
  845. return 'следующая страница';
  846. },
  847. formatDetailPagination: function formatDetailPagination(totalRows) {
  848. return "\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043E ".concat(totalRows, " \u0441\u0442\u0440\u043E\u043A");
  849. },
  850. formatClearSearch: function formatClearSearch() {
  851. return 'Очистить фильтры';
  852. },
  853. formatSearch: function formatSearch() {
  854. return 'Поиск';
  855. },
  856. formatNoMatches: function formatNoMatches() {
  857. return 'Ничего не найдено';
  858. },
  859. formatPaginationSwitch: function formatPaginationSwitch() {
  860. return 'Скрыть/Показать постраничную навигацию';
  861. },
  862. formatPaginationSwitchDown: function formatPaginationSwitchDown() {
  863. return 'Показать постраничную навигацию';
  864. },
  865. formatPaginationSwitchUp: function formatPaginationSwitchUp() {
  866. return 'Скрыть постраничную навигацию';
  867. },
  868. formatRefresh: function formatRefresh() {
  869. return 'Обновить';
  870. },
  871. formatToggle: function formatToggle() {
  872. return 'Переключить';
  873. },
  874. formatToggleOn: function formatToggleOn() {
  875. return 'Показать записи в виде карточек';
  876. },
  877. formatToggleOff: function formatToggleOff() {
  878. return 'Табличный режим просмотра';
  879. },
  880. formatColumns: function formatColumns() {
  881. return 'Колонки';
  882. },
  883. formatColumnsToggleAll: function formatColumnsToggleAll() {
  884. return 'Выбрать все';
  885. },
  886. formatFullscreen: function formatFullscreen() {
  887. return 'Полноэкранный режим';
  888. },
  889. formatAllRows: function formatAllRows() {
  890. return 'Все';
  891. },
  892. formatAutoRefresh: function formatAutoRefresh() {
  893. return 'Автоматическое обновление';
  894. },
  895. formatExport: function formatExport() {
  896. return 'Экспортировать данные';
  897. },
  898. formatJumpTo: function formatJumpTo() {
  899. return 'Стр.';
  900. },
  901. formatAdvancedSearch: function formatAdvancedSearch() {
  902. return 'Расширенный поиск';
  903. },
  904. formatAdvancedCloseButton: function formatAdvancedCloseButton() {
  905. return 'Закрыть';
  906. },
  907. formatFilterControlSwitch: function formatFilterControlSwitch() {
  908. return 'Скрыть/Показать панель инструментов';
  909. },
  910. formatFilterControlSwitchHide: function formatFilterControlSwitchHide() {
  911. return 'Скрыть панель инструментов';
  912. },
  913. formatFilterControlSwitchShow: function formatFilterControlSwitchShow() {
  914. return 'Показать панель инструментов';
  915. }
  916. };
  917. $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales['ru-RU']);
  918. }));