bootstrap-table-fr-CH.js 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806
  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 $propertyIsEnumerable = {}.propertyIsEnumerable;
  38. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  39. var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  40. // Nashorn ~ JDK8 bug
  41. var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
  42. // `Object.prototype.propertyIsEnumerable` method implementation
  43. // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
  44. var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
  45. var descriptor = getOwnPropertyDescriptor$1(this, V);
  46. return !!descriptor && descriptor.enumerable;
  47. } : $propertyIsEnumerable;
  48. var objectPropertyIsEnumerable = {
  49. f: f$4
  50. };
  51. var createPropertyDescriptor = function (bitmap, value) {
  52. return {
  53. enumerable: !(bitmap & 1),
  54. configurable: !(bitmap & 2),
  55. writable: !(bitmap & 4),
  56. value: value
  57. };
  58. };
  59. var toString = {}.toString;
  60. var classofRaw = function (it) {
  61. return toString.call(it).slice(8, -1);
  62. };
  63. var split = ''.split;
  64. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  65. var indexedObject = fails(function () {
  66. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  67. // eslint-disable-next-line no-prototype-builtins -- safe
  68. return !Object('z').propertyIsEnumerable(0);
  69. }) ? function (it) {
  70. return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
  71. } : Object;
  72. // `RequireObjectCoercible` abstract operation
  73. // https://tc39.es/ecma262/#sec-requireobjectcoercible
  74. var requireObjectCoercible = function (it) {
  75. if (it == undefined) throw TypeError("Can't call method on " + it);
  76. return it;
  77. };
  78. // toObject with fallback for non-array-like ES3 strings
  79. var toIndexedObject = function (it) {
  80. return indexedObject(requireObjectCoercible(it));
  81. };
  82. var isObject = function (it) {
  83. return typeof it === 'object' ? it !== null : typeof it === 'function';
  84. };
  85. // `ToPrimitive` abstract operation
  86. // https://tc39.es/ecma262/#sec-toprimitive
  87. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  88. // and the second argument - flag - preferred type is a string
  89. var toPrimitive = function (input, PREFERRED_STRING) {
  90. if (!isObject(input)) return input;
  91. var fn, val;
  92. if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  93. if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
  94. if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  95. throw TypeError("Can't convert object to primitive value");
  96. };
  97. var hasOwnProperty = {}.hasOwnProperty;
  98. var has$1 = function (it, key) {
  99. return hasOwnProperty.call(it, key);
  100. };
  101. var document = global_1.document;
  102. // typeof document.createElement is 'object' in old IE
  103. var EXISTS = isObject(document) && isObject(document.createElement);
  104. var documentCreateElement = function (it) {
  105. return EXISTS ? document.createElement(it) : {};
  106. };
  107. // Thank's IE8 for his funny defineProperty
  108. var ie8DomDefine = !descriptors && !fails(function () {
  109. // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
  110. return Object.defineProperty(documentCreateElement('div'), 'a', {
  111. get: function () { return 7; }
  112. }).a != 7;
  113. });
  114. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  115. var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  116. // `Object.getOwnPropertyDescriptor` method
  117. // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
  118. var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
  119. O = toIndexedObject(O);
  120. P = toPrimitive(P, true);
  121. if (ie8DomDefine) try {
  122. return $getOwnPropertyDescriptor(O, P);
  123. } catch (error) { /* empty */ }
  124. if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
  125. };
  126. var objectGetOwnPropertyDescriptor = {
  127. f: f$3
  128. };
  129. var anObject = function (it) {
  130. if (!isObject(it)) {
  131. throw TypeError(String(it) + ' is not an object');
  132. } return it;
  133. };
  134. // eslint-disable-next-line es/no-object-defineproperty -- safe
  135. var $defineProperty = Object.defineProperty;
  136. // `Object.defineProperty` method
  137. // https://tc39.es/ecma262/#sec-object.defineproperty
  138. var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
  139. anObject(O);
  140. P = toPrimitive(P, true);
  141. anObject(Attributes);
  142. if (ie8DomDefine) try {
  143. return $defineProperty(O, P, Attributes);
  144. } catch (error) { /* empty */ }
  145. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
  146. if ('value' in Attributes) O[P] = Attributes.value;
  147. return O;
  148. };
  149. var objectDefineProperty = {
  150. f: f$2
  151. };
  152. var createNonEnumerableProperty = descriptors ? function (object, key, value) {
  153. return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
  154. } : function (object, key, value) {
  155. object[key] = value;
  156. return object;
  157. };
  158. var setGlobal = function (key, value) {
  159. try {
  160. createNonEnumerableProperty(global_1, key, value);
  161. } catch (error) {
  162. global_1[key] = value;
  163. } return value;
  164. };
  165. var SHARED = '__core-js_shared__';
  166. var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
  167. var sharedStore = store$1;
  168. var functionToString = Function.toString;
  169. // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
  170. if (typeof sharedStore.inspectSource != 'function') {
  171. sharedStore.inspectSource = function (it) {
  172. return functionToString.call(it);
  173. };
  174. }
  175. var inspectSource = sharedStore.inspectSource;
  176. var WeakMap$1 = global_1.WeakMap;
  177. var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
  178. var shared = createCommonjsModule(function (module) {
  179. (module.exports = function (key, value) {
  180. return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
  181. })('versions', []).push({
  182. version: '3.10.1',
  183. mode: 'global',
  184. copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
  185. });
  186. });
  187. var id = 0;
  188. var postfix = Math.random();
  189. var uid = function (key) {
  190. return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
  191. };
  192. var keys = shared('keys');
  193. var sharedKey = function (key) {
  194. return keys[key] || (keys[key] = uid(key));
  195. };
  196. var hiddenKeys$1 = {};
  197. var WeakMap = global_1.WeakMap;
  198. var set, get, has;
  199. var enforce = function (it) {
  200. return has(it) ? get(it) : set(it, {});
  201. };
  202. var getterFor = function (TYPE) {
  203. return function (it) {
  204. var state;
  205. if (!isObject(it) || (state = get(it)).type !== TYPE) {
  206. throw TypeError('Incompatible receiver, ' + TYPE + ' required');
  207. } return state;
  208. };
  209. };
  210. if (nativeWeakMap) {
  211. var store = sharedStore.state || (sharedStore.state = new WeakMap());
  212. var wmget = store.get;
  213. var wmhas = store.has;
  214. var wmset = store.set;
  215. set = function (it, metadata) {
  216. metadata.facade = it;
  217. wmset.call(store, it, metadata);
  218. return metadata;
  219. };
  220. get = function (it) {
  221. return wmget.call(store, it) || {};
  222. };
  223. has = function (it) {
  224. return wmhas.call(store, it);
  225. };
  226. } else {
  227. var STATE = sharedKey('state');
  228. hiddenKeys$1[STATE] = true;
  229. set = function (it, metadata) {
  230. metadata.facade = it;
  231. createNonEnumerableProperty(it, STATE, metadata);
  232. return metadata;
  233. };
  234. get = function (it) {
  235. return has$1(it, STATE) ? it[STATE] : {};
  236. };
  237. has = function (it) {
  238. return has$1(it, STATE);
  239. };
  240. }
  241. var internalState = {
  242. set: set,
  243. get: get,
  244. has: has,
  245. enforce: enforce,
  246. getterFor: getterFor
  247. };
  248. var redefine = createCommonjsModule(function (module) {
  249. var getInternalState = internalState.get;
  250. var enforceInternalState = internalState.enforce;
  251. var TEMPLATE = String(String).split('String');
  252. (module.exports = function (O, key, value, options) {
  253. var unsafe = options ? !!options.unsafe : false;
  254. var simple = options ? !!options.enumerable : false;
  255. var noTargetGet = options ? !!options.noTargetGet : false;
  256. var state;
  257. if (typeof value == 'function') {
  258. if (typeof key == 'string' && !has$1(value, 'name')) {
  259. createNonEnumerableProperty(value, 'name', key);
  260. }
  261. state = enforceInternalState(value);
  262. if (!state.source) {
  263. state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
  264. }
  265. }
  266. if (O === global_1) {
  267. if (simple) O[key] = value;
  268. else setGlobal(key, value);
  269. return;
  270. } else if (!unsafe) {
  271. delete O[key];
  272. } else if (!noTargetGet && O[key]) {
  273. simple = true;
  274. }
  275. if (simple) O[key] = value;
  276. else createNonEnumerableProperty(O, key, value);
  277. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  278. })(Function.prototype, 'toString', function toString() {
  279. return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
  280. });
  281. });
  282. var path = global_1;
  283. var aFunction = function (variable) {
  284. return typeof variable == 'function' ? variable : undefined;
  285. };
  286. var getBuiltIn = function (namespace, method) {
  287. return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
  288. : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
  289. };
  290. var ceil = Math.ceil;
  291. var floor = Math.floor;
  292. // `ToInteger` abstract operation
  293. // https://tc39.es/ecma262/#sec-tointeger
  294. var toInteger = function (argument) {
  295. return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
  296. };
  297. var min$1 = Math.min;
  298. // `ToLength` abstract operation
  299. // https://tc39.es/ecma262/#sec-tolength
  300. var toLength = function (argument) {
  301. return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  302. };
  303. var max = Math.max;
  304. var min = Math.min;
  305. // Helper for a popular repeating case of the spec:
  306. // Let integer be ? ToInteger(index).
  307. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  308. var toAbsoluteIndex = function (index, length) {
  309. var integer = toInteger(index);
  310. return integer < 0 ? max(integer + length, 0) : min(integer, length);
  311. };
  312. // `Array.prototype.{ indexOf, includes }` methods implementation
  313. var createMethod = function (IS_INCLUDES) {
  314. return function ($this, el, fromIndex) {
  315. var O = toIndexedObject($this);
  316. var length = toLength(O.length);
  317. var index = toAbsoluteIndex(fromIndex, length);
  318. var value;
  319. // Array#includes uses SameValueZero equality algorithm
  320. // eslint-disable-next-line no-self-compare -- NaN check
  321. if (IS_INCLUDES && el != el) while (length > index) {
  322. value = O[index++];
  323. // eslint-disable-next-line no-self-compare -- NaN check
  324. if (value != value) return true;
  325. // Array#indexOf ignores holes, Array#includes - not
  326. } else for (;length > index; index++) {
  327. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  328. } return !IS_INCLUDES && -1;
  329. };
  330. };
  331. var arrayIncludes = {
  332. // `Array.prototype.includes` method
  333. // https://tc39.es/ecma262/#sec-array.prototype.includes
  334. includes: createMethod(true),
  335. // `Array.prototype.indexOf` method
  336. // https://tc39.es/ecma262/#sec-array.prototype.indexof
  337. indexOf: createMethod(false)
  338. };
  339. var indexOf = arrayIncludes.indexOf;
  340. var objectKeysInternal = function (object, names) {
  341. var O = toIndexedObject(object);
  342. var i = 0;
  343. var result = [];
  344. var key;
  345. for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
  346. // Don't enum bug & hidden keys
  347. while (names.length > i) if (has$1(O, key = names[i++])) {
  348. ~indexOf(result, key) || result.push(key);
  349. }
  350. return result;
  351. };
  352. // IE8- don't enum bug keys
  353. var enumBugKeys = [
  354. 'constructor',
  355. 'hasOwnProperty',
  356. 'isPrototypeOf',
  357. 'propertyIsEnumerable',
  358. 'toLocaleString',
  359. 'toString',
  360. 'valueOf'
  361. ];
  362. var hiddenKeys = enumBugKeys.concat('length', 'prototype');
  363. // `Object.getOwnPropertyNames` method
  364. // https://tc39.es/ecma262/#sec-object.getownpropertynames
  365. // eslint-disable-next-line es/no-object-getownpropertynames -- safe
  366. var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  367. return objectKeysInternal(O, hiddenKeys);
  368. };
  369. var objectGetOwnPropertyNames = {
  370. f: f$1
  371. };
  372. // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
  373. var f = Object.getOwnPropertySymbols;
  374. var objectGetOwnPropertySymbols = {
  375. f: f
  376. };
  377. // all object keys, includes non-enumerable and symbols
  378. var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  379. var keys = objectGetOwnPropertyNames.f(anObject(it));
  380. var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
  381. return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
  382. };
  383. var copyConstructorProperties = function (target, source) {
  384. var keys = ownKeys(source);
  385. var defineProperty = objectDefineProperty.f;
  386. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  387. for (var i = 0; i < keys.length; i++) {
  388. var key = keys[i];
  389. if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  390. }
  391. };
  392. var replacement = /#|\.prototype\./;
  393. var isForced = function (feature, detection) {
  394. var value = data[normalize(feature)];
  395. return value == POLYFILL ? true
  396. : value == NATIVE ? false
  397. : typeof detection == 'function' ? fails(detection)
  398. : !!detection;
  399. };
  400. var normalize = isForced.normalize = function (string) {
  401. return String(string).replace(replacement, '.').toLowerCase();
  402. };
  403. var data = isForced.data = {};
  404. var NATIVE = isForced.NATIVE = 'N';
  405. var POLYFILL = isForced.POLYFILL = 'P';
  406. var isForced_1 = isForced;
  407. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  408. /*
  409. options.target - name of the target object
  410. options.global - target is the global object
  411. options.stat - export as static methods of target
  412. options.proto - export as prototype methods of target
  413. options.real - real prototype method for the `pure` version
  414. options.forced - export even if the native feature is available
  415. options.bind - bind methods to the target, required for the `pure` version
  416. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  417. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  418. options.sham - add a flag to not completely full polyfills
  419. options.enumerable - export as enumerable property
  420. options.noTargetGet - prevent calling a getter on target
  421. */
  422. var _export = function (options, source) {
  423. var TARGET = options.target;
  424. var GLOBAL = options.global;
  425. var STATIC = options.stat;
  426. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  427. if (GLOBAL) {
  428. target = global_1;
  429. } else if (STATIC) {
  430. target = global_1[TARGET] || setGlobal(TARGET, {});
  431. } else {
  432. target = (global_1[TARGET] || {}).prototype;
  433. }
  434. if (target) for (key in source) {
  435. sourceProperty = source[key];
  436. if (options.noTargetGet) {
  437. descriptor = getOwnPropertyDescriptor(target, key);
  438. targetProperty = descriptor && descriptor.value;
  439. } else targetProperty = target[key];
  440. FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  441. // contained in target
  442. if (!FORCED && targetProperty !== undefined) {
  443. if (typeof sourceProperty === typeof targetProperty) continue;
  444. copyConstructorProperties(sourceProperty, targetProperty);
  445. }
  446. // add a flag to not completely full polyfills
  447. if (options.sham || (targetProperty && targetProperty.sham)) {
  448. createNonEnumerableProperty(sourceProperty, 'sham', true);
  449. }
  450. // extend global
  451. redefine(target, key, sourceProperty, options);
  452. }
  453. };
  454. // `IsArray` abstract operation
  455. // https://tc39.es/ecma262/#sec-isarray
  456. // eslint-disable-next-line es/no-array-isarray -- safe
  457. var isArray = Array.isArray || function isArray(arg) {
  458. return classofRaw(arg) == 'Array';
  459. };
  460. // `ToObject` abstract operation
  461. // https://tc39.es/ecma262/#sec-toobject
  462. var toObject = function (argument) {
  463. return Object(requireObjectCoercible(argument));
  464. };
  465. var createProperty = function (object, key, value) {
  466. var propertyKey = toPrimitive(key);
  467. if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
  468. else object[propertyKey] = value;
  469. };
  470. var engineIsNode = classofRaw(global_1.process) == 'process';
  471. var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
  472. var process = global_1.process;
  473. var versions = process && process.versions;
  474. var v8 = versions && versions.v8;
  475. var match, version;
  476. if (v8) {
  477. match = v8.split('.');
  478. version = match[0] + match[1];
  479. } else if (engineUserAgent) {
  480. match = engineUserAgent.match(/Edge\/(\d+)/);
  481. if (!match || match[1] >= 74) {
  482. match = engineUserAgent.match(/Chrome\/(\d+)/);
  483. if (match) version = match[1];
  484. }
  485. }
  486. var engineV8Version = version && +version;
  487. // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
  488. var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
  489. // eslint-disable-next-line es/no-symbol -- required for testing
  490. return !Symbol.sham &&
  491. // Chrome 38 Symbol has incorrect toString conversion
  492. // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
  493. (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
  494. });
  495. /* eslint-disable es/no-symbol -- required for testing */
  496. var useSymbolAsUid = nativeSymbol
  497. && !Symbol.sham
  498. && typeof Symbol.iterator == 'symbol';
  499. var WellKnownSymbolsStore = shared('wks');
  500. var Symbol$1 = global_1.Symbol;
  501. var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
  502. var wellKnownSymbol = function (name) {
  503. if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
  504. if (nativeSymbol && has$1(Symbol$1, name)) {
  505. WellKnownSymbolsStore[name] = Symbol$1[name];
  506. } else {
  507. WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
  508. }
  509. } return WellKnownSymbolsStore[name];
  510. };
  511. var SPECIES$1 = wellKnownSymbol('species');
  512. // `ArraySpeciesCreate` abstract operation
  513. // https://tc39.es/ecma262/#sec-arrayspeciescreate
  514. var arraySpeciesCreate = function (originalArray, length) {
  515. var C;
  516. if (isArray(originalArray)) {
  517. C = originalArray.constructor;
  518. // cross-realm fallback
  519. if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
  520. else if (isObject(C)) {
  521. C = C[SPECIES$1];
  522. if (C === null) C = undefined;
  523. }
  524. } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
  525. };
  526. var SPECIES = wellKnownSymbol('species');
  527. var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
  528. // We can't use this feature detection in V8 since it causes
  529. // deoptimization and serious performance degradation
  530. // https://github.com/zloirock/core-js/issues/677
  531. return engineV8Version >= 51 || !fails(function () {
  532. var array = [];
  533. var constructor = array.constructor = {};
  534. constructor[SPECIES] = function () {
  535. return { foo: 1 };
  536. };
  537. return array[METHOD_NAME](Boolean).foo !== 1;
  538. });
  539. };
  540. var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
  541. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
  542. var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
  543. // We can't use this feature detection in V8 since it causes
  544. // deoptimization and serious performance degradation
  545. // https://github.com/zloirock/core-js/issues/679
  546. var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
  547. var array = [];
  548. array[IS_CONCAT_SPREADABLE] = false;
  549. return array.concat()[0] !== array;
  550. });
  551. var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
  552. var isConcatSpreadable = function (O) {
  553. if (!isObject(O)) return false;
  554. var spreadable = O[IS_CONCAT_SPREADABLE];
  555. return spreadable !== undefined ? !!spreadable : isArray(O);
  556. };
  557. var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
  558. // `Array.prototype.concat` method
  559. // https://tc39.es/ecma262/#sec-array.prototype.concat
  560. // with adding support of @@isConcatSpreadable and @@species
  561. _export({ target: 'Array', proto: true, forced: FORCED }, {
  562. // eslint-disable-next-line no-unused-vars -- required for `.length`
  563. concat: function concat(arg) {
  564. var O = toObject(this);
  565. var A = arraySpeciesCreate(O, 0);
  566. var n = 0;
  567. var i, k, length, len, E;
  568. for (i = -1, length = arguments.length; i < length; i++) {
  569. E = i === -1 ? O : arguments[i];
  570. if (isConcatSpreadable(E)) {
  571. len = toLength(E.length);
  572. if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  573. for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
  574. } else {
  575. if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  576. createProperty(A, n++, E);
  577. }
  578. }
  579. A.length = n;
  580. return A;
  581. }
  582. });
  583. /**
  584. * Bootstrap Table French (Suisse) translation
  585. * Author: Nevets82 <Nevets82@gmail.com>
  586. */
  587. $__default['default'].fn.bootstrapTable.locales['fr-CH'] = {
  588. formatCopyRows: function formatCopyRows() {
  589. return 'Copy Rows';
  590. },
  591. formatPrint: function formatPrint() {
  592. return 'Print';
  593. },
  594. formatLoadingMessage: function formatLoadingMessage() {
  595. return 'Chargement en cours';
  596. },
  597. formatRecordsPerPage: function formatRecordsPerPage(pageNumber) {
  598. return "".concat(pageNumber, " lignes par page");
  599. },
  600. formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows, totalNotFiltered) {
  601. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  602. return "Affiche de ".concat(pageFrom, " \xE0 ").concat(pageTo, " sur ").concat(totalRows, " lignes (filtr\xE9s \xE0 partir de ").concat(totalNotFiltered, " lignes)");
  603. }
  604. return "Affiche de ".concat(pageFrom, " \xE0 ").concat(pageTo, " sur ").concat(totalRows, " lignes");
  605. },
  606. formatSRPaginationPreText: function formatSRPaginationPreText() {
  607. return 'page précédente';
  608. },
  609. formatSRPaginationPageText: function formatSRPaginationPageText(page) {
  610. return "vers la page ".concat(page);
  611. },
  612. formatSRPaginationNextText: function formatSRPaginationNextText() {
  613. return 'page suivante';
  614. },
  615. formatDetailPagination: function formatDetailPagination(totalRows) {
  616. return "Affiche ".concat(totalRows, " lignes");
  617. },
  618. formatClearSearch: function formatClearSearch() {
  619. return 'Effacer la recherche';
  620. },
  621. formatSearch: function formatSearch() {
  622. return 'Recherche';
  623. },
  624. formatNoMatches: function formatNoMatches() {
  625. return 'Pas de lignes trouvés';
  626. },
  627. formatPaginationSwitch: function formatPaginationSwitch() {
  628. return 'Cacher/Afficher pagination';
  629. },
  630. formatPaginationSwitchDown: function formatPaginationSwitchDown() {
  631. return 'Afficher pagination';
  632. },
  633. formatPaginationSwitchUp: function formatPaginationSwitchUp() {
  634. return 'Cacher pagination';
  635. },
  636. formatRefresh: function formatRefresh() {
  637. return 'Rafraichir';
  638. },
  639. formatToggle: function formatToggle() {
  640. return 'Basculer';
  641. },
  642. formatToggleOn: function formatToggleOn() {
  643. return 'Afficher vue carte';
  644. },
  645. formatToggleOff: function formatToggleOff() {
  646. return 'Cacher vue carte';
  647. },
  648. formatColumns: function formatColumns() {
  649. return 'Colonnes';
  650. },
  651. formatColumnsToggleAll: function formatColumnsToggleAll() {
  652. return 'Tout basculer';
  653. },
  654. formatFullscreen: function formatFullscreen() {
  655. return 'Plein écran';
  656. },
  657. formatAllRows: function formatAllRows() {
  658. return 'Tout';
  659. },
  660. formatAutoRefresh: function formatAutoRefresh() {
  661. return 'Rafraîchissement automatique';
  662. },
  663. formatExport: function formatExport() {
  664. return 'Exporter les données';
  665. },
  666. formatJumpTo: function formatJumpTo() {
  667. return 'Aller à';
  668. },
  669. formatAdvancedSearch: function formatAdvancedSearch() {
  670. return 'Recherche avancée';
  671. },
  672. formatAdvancedCloseButton: function formatAdvancedCloseButton() {
  673. return 'Fermer';
  674. },
  675. formatFilterControlSwitch: function formatFilterControlSwitch() {
  676. return 'Cacher/Afficher controls';
  677. },
  678. formatFilterControlSwitchHide: function formatFilterControlSwitchHide() {
  679. return 'Cacher controls';
  680. },
  681. formatFilterControlSwitchShow: function formatFilterControlSwitchShow() {
  682. return 'Afficher controls';
  683. }
  684. };
  685. $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, $__default['default'].fn.bootstrapTable.locales['fr-CH']);
  686. })));