/*
  options.target         - name of the target object
  options.global         - target is the global object
  options.stat           - export as static methods of target
  options.proto          - export as prototype methods of target
  options.real           - real prototype method for the `pure` version
  options.forced         - export even if the native feature is available
  options.bind           - bind methods to the target, required for the `pure` version
  options.wrap           - wrap constructors to preventing global pollution, required for the `pure` version
  options.unsafe         - use the simple assignment of property instead of delete + defineProperty
  options.sham           - add a flag to not completely full polyfills
  options.enumerable     - export as enumerable property
  options.dontCallGetSet - prevent calling a getter on target
  options.name           - the .name of the function if it does not match the key
*/

/* , mapfn = undefined, thisArg = undefined */

/* , thisArg */

/* empty */

/* eslint-disable  @typescript-eslint/no-unused-vars */

/* eslint-disable es/no-array-prototype-keys -- safe */

/* eslint-disable es/no-object-getownpropertynames -- safe */

/* eslint-disable es/no-symbol -- required for testing */

/* eslint-disable es/no-symbol -- safe */

/* eslint-disable no-proto -- safe */

/* eslint-disable no-self-assign -- prototype methods protection */

/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */

/* eslint-disable regexp/no-useless-quantifier -- testing */

/* eslint-enable no-self-assign -- prototype methods protection */

/* global ActiveXObject -- old IE, WSH */

/* ignore */

/**
 * @param size
 * @param lastworks
 * @param lastnotworks
 * @param lastnotworksxhr
 * @param callback
 * @param server
 */

/******/

/***/

//   https://github.com/zloirock/core-js/issues/1128

//   https://github.com/zloirock/core-js/issues/1130

// (for example, `DOMQuad` and similar in FF41-)

// 2 ** 53 - 1 == 9007199254740991

// Array#includes uses SameValueZero equality algorithm

// Array#indexOf ignores holes, Array#includes - not

// Array.prototype[@@unscopables]

// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`

// CONCATENATED MODULE: ./src/main/frontend/src/atlaskerb/src/index.ts

// CONCATENATED MODULE: ./src/main/frontend/src/atlaskerb/src/js/atlaskerb.js

// Chrome 38 Symbol has incorrect toString conversion

// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances

// Detect IE8's incomplete defineProperty implementation

// Don't enum bug & hidden keys

// EXTERNAL MODULE: ./src/main/frontend/src/atlaskerb/src/css/switch.css

// FF44- legacy iterators case

// Fix browsers whose `exec` methods don't consistently return `undefined`

// Function instances `.name` property

// Helper for a popular repeating case of the spec:

// IE8 returns string on undefined

// IE8- don't enum bug keys

// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).

// Let integer be ? ToInteger(index).

// MS Edge converts symbol values to JSON as {}

// Nashorn bug:

// Safari 12 bug

// Safari 8 has buggy iterators w/o `next`

// Set @@toStringTag to native iterators

// Support anchored sticky behavior.

// TODO: Remove from `core-js@4`

// TODO: Remove this module from `core-js@4` since it's split to modules listed below

// Thanks to IE8 for its funny defineProperty

// V8 ~ Chrome 36-

// V8 ~ Chrome 45- bug

// WSH

// We can't use this feature detection in V8 since it causes

// Works with __proto__ only. Old v8 can't work with null proto objects.

// ^(? + rx + ) is needed, in combination with some str slicing, to

// `%ArrayIteratorPrototype%.next` method

// `%IteratorPrototype%[@@iterator]()` method

// `%StringIteratorPrototype%.next` method

// `Array.from` method

// `Array.from` method implementation

// `Array.isArray` method

// `Array.prototype.concat` method

// `Array.prototype.entries` method

// `Array.prototype.every` method

// `Array.prototype.filterReject` method

// `Array.prototype.filter` method

// `Array.prototype.findIndex` method

// `Array.prototype.find` method

// `Array.prototype.forEach` method

// `Array.prototype.forEach` method implementation

// `Array.prototype.includes` method

// `Array.prototype.indexOf` method

// `Array.prototype.keys` method

// `Array.prototype.map` method

// `Array.prototype.slice` method

// `Array.prototype.some` method

// `Array.prototype.values` method

// `Array.prototype[@@iterator]` method

// `ArraySpeciesCreate` abstract operation

// `Assert: IsCallable(argument) is true`

// `Assert: Type(argument) is Object`

// `CreateArrayIterator` internal method

// `CreateIterResultObject` abstract operation

// `Date.prototype.toString` method

// `Function#toString` throws on some built-it function in some legacy engines

// `GetMethod` abstract operation

// `HasOwnProperty` abstract operation

// `IsArray` abstract operation

// `IsCallable` abstract operation

// `IsConstructor` abstract operation

// `JSON.stringify` method

// `LengthOfArrayLike` abstract operation

// `Math.trunc` method

// `Object.create` method

// `Object.defineProperties` method

// `Object.defineProperty` method

// `Object.getOwnPropertyDescriptor` method

// `Object.getOwnPropertyNames` method

// `Object.getOwnPropertySymbols` method

// `Object.getPrototypeOf` method

// `Object.keys` method

// `Object.prototype.propertyIsEnumerable` method implementation

// `Object.prototype.toString` method

// `Object.prototype.toString` method implementation

// `Object.setPrototypeOf` method

// `OrdinaryToPrimitive` abstract operation

// `RegExp.prototype.exec` method

// `RegExp.prototype.flags` getter implementation

// `RegExp.prototype.toString` method

// `RequireObjectCoercible` abstract operation

// `String.prototype.at` method

// `String.prototype.codePointAt` method

// `String.prototype[@@iterator]` method

// `Symbol.for` method

// `Symbol.iterator` well-known symbol

// `Symbol.keyFor` method

// `Symbol.prototype.description` getter

// `Symbol.prototype[@@toPrimitive]` method

// `Symbol.prototype[@@toStringTag]` property

// `Symbol` constructor

// `ToIntegerOrInfinity` abstract operation

// `ToLength` abstract operation

// `ToObject` abstract operation

// `ToPrimitive` abstract operation

// `ToPropertyKey` abstract operation

// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances

// a part of `ArraySpeciesCreate` abstract operation

// add "__proto__" for Object.getPrototypeOf polyfill

// add a flag to not completely full polyfills

// add a key to Array.prototype[@@unscopables]

// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative

// all object keys, includes non-enumerable and symbols

// argumentsList[@@iterator] is %ArrayProto_values%

// but their correct versions are not interesting for us

// call something on iterator step with safe closing on error

// check on default Array iterator

// contained in target

// continue regardless of error

// cross-realm fallback

// define iterator

// deoptimization and serious performance degradation

// eslint-disable-next-line eqeqeq

// eslint-disable-next-line es/no-array-from -- required for testing

// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing

// eslint-disable-next-line es/no-array-isarray -- safe

// eslint-disable-next-line es/no-array-prototype-foreach -- safe

// eslint-disable-next-line es/no-function-prototype-bind -- safe

// eslint-disable-next-line es/no-global-this -- safe

// eslint-disable-next-line es/no-math-trunc -- safe

// eslint-disable-next-line es/no-object-create -- safe

// eslint-disable-next-line es/no-object-defineproperties -- safe

// eslint-disable-next-line es/no-object-defineproperty -- required for testing

// eslint-disable-next-line es/no-object-defineproperty -- safe

// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe

// eslint-disable-next-line es/no-object-getownpropertynames -- safe

// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing

// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe

// eslint-disable-next-line es/no-object-getprototypeof -- required for testing

// eslint-disable-next-line es/no-object-getprototypeof -- safe

// eslint-disable-next-line es/no-object-hasown -- safe

// eslint-disable-next-line es/no-object-keys -- safe

// eslint-disable-next-line es/no-object-setprototypeof -- safe

// eslint-disable-next-line es/no-reflect -- safe

// eslint-disable-next-line no-extend-native -- required

// eslint-disable-next-line no-new-func -- fallback

// eslint-disable-next-line no-param-reassign

// eslint-disable-next-line no-prototype-builtins -- safe

// eslint-disable-next-line no-restricted-globals -- safe

// eslint-disable-next-line no-self-compare -- NaN check

// eslint-disable-next-line no-unused-vars -- required for .length

// eslint-disable-next-line no-unused-vars -- required for `.length`

// eslint-disable-next-line no-useless-assignment -- avoid memory leak

// eslint-disable-next-line no-useless-call -- required for testing

// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing

// every

// export additional methods

// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window

// fallback for non-array-like ES3 and non-enumerable old V8 strings

// fallback for not array-like ES3 strings and DOM objects

// filter

// filterReject

// find

// findIndex

// fix Array.prototype.{ values, @@iterator }.name in V8 / FF

// fix native

// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods

// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/

// getting tag from ES6+ `Object.prototype.toString`

// https://bugs.chromium.org/p/v8/issues/detail?id=3334

// https://bugzilla.mozilla.org/show_bug.cgi?id=773687

// https://github.com/mathiasbynens/String.prototype.at

// https://github.com/tc39/proposal-Symbol-description

// https://github.com/tc39/proposal-array-filtering

// https://github.com/zloirock/core-js/issues/475

// https://github.com/zloirock/core-js/issues/677

// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028

// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next

// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator

// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next

// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot

// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec

// https://tc39.es/ecma262/#sec-array.from

// https://tc39.es/ecma262/#sec-array.isarray

// https://tc39.es/ecma262/#sec-array.prototype-@@iterator

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables

// https://tc39.es/ecma262/#sec-array.prototype.concat

// https://tc39.es/ecma262/#sec-array.prototype.entries

// https://tc39.es/ecma262/#sec-array.prototype.every

// https://tc39.es/ecma262/#sec-array.prototype.filter

// https://tc39.es/ecma262/#sec-array.prototype.find

// https://tc39.es/ecma262/#sec-array.prototype.findIndex

// https://tc39.es/ecma262/#sec-array.prototype.foreach

// https://tc39.es/ecma262/#sec-array.prototype.includes

// https://tc39.es/ecma262/#sec-array.prototype.indexof

// https://tc39.es/ecma262/#sec-array.prototype.keys

// https://tc39.es/ecma262/#sec-array.prototype.map

// https://tc39.es/ecma262/#sec-array.prototype.slice

// https://tc39.es/ecma262/#sec-array.prototype.some

// https://tc39.es/ecma262/#sec-array.prototype.values

// https://tc39.es/ecma262/#sec-arrayspeciescreate

// https://tc39.es/ecma262/#sec-createarrayiterator

// https://tc39.es/ecma262/#sec-createiterresultobject

// https://tc39.es/ecma262/#sec-createmappedargumentsobject

// https://tc39.es/ecma262/#sec-createunmappedargumentsobject

// https://tc39.es/ecma262/#sec-date.prototype.tostring

// https://tc39.es/ecma262/#sec-function-instances-name

// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags

// https://tc39.es/ecma262/#sec-getmethod

// https://tc39.es/ecma262/#sec-hasownproperty

// https://tc39.es/ecma262/#sec-isarray

// https://tc39.es/ecma262/#sec-iscallable

// https://tc39.es/ecma262/#sec-isconstructor

// https://tc39.es/ecma262/#sec-json.stringify

// https://tc39.es/ecma262/#sec-lengthofarraylike

// https://tc39.es/ecma262/#sec-math.trunc

// https://tc39.es/ecma262/#sec-object.create

// https://tc39.es/ecma262/#sec-object.defineproperties

// https://tc39.es/ecma262/#sec-object.defineproperty

// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor

// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors

// https://tc39.es/ecma262/#sec-object.getownpropertynames

// https://tc39.es/ecma262/#sec-object.getownpropertysymbols

// https://tc39.es/ecma262/#sec-object.getprototypeof

// https://tc39.es/ecma262/#sec-object.keys

// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable

// https://tc39.es/ecma262/#sec-object.prototype.tostring

// https://tc39.es/ecma262/#sec-object.setprototypeof

// https://tc39.es/ecma262/#sec-ordinarytoprimitive

// https://tc39.es/ecma262/#sec-regexp.prototype.exec

// https://tc39.es/ecma262/#sec-regexp.prototype.tostring

// https://tc39.es/ecma262/#sec-requireobjectcoercible

// https://tc39.es/ecma262/#sec-string.prototype-@@iterator

// https://tc39.es/ecma262/#sec-string.prototype.codepointat

// https://tc39.es/ecma262/#sec-symbol-constructor

// https://tc39.es/ecma262/#sec-symbol.for

// https://tc39.es/ecma262/#sec-symbol.iterator

// https://tc39.es/ecma262/#sec-symbol.keyfor

// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive

// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag

// https://tc39.es/ecma262/#sec-symbol.prototype.description

// https://tc39.es/ecma262/#sec-tointegerorinfinity

// https://tc39.es/ecma262/#sec-tolength

// https://tc39.es/ecma262/#sec-toobject

// https://tc39.es/ecma262/#sec-toprimitive

// https://tc39.es/ecma262/#sec-topropertykey

// if the target is not iterable or it's an array with the default iterator - use a simple case

// in old Chrome, versions of V8 isn't V8 = Chrome / 10

// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`

// iterable DOM collections

// map

// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,

// next index

// of course, fail.

// optional / simple context binding

// simulate the 'y' flag.

// so check `userAgent` even if `.v8` exists, but 0

// some

// some Chrome versions have non-configurable methods on DOMTokenList

// some old implementations (like WebKit) could pass numbers as keys

// target

// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper

// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346

// toObject with fallback for non-array-like ES3 strings

// we can't check .prototype since constructors produced by .bind haven't it

// we can't use just `it == null` since of `document.all` special case

// webpackRuntimeModules

// with adding support of @@isConcatSpreadable and @@species

// workaround of old WebKit + `eval` bug

// wrap Symbol constructor for correct work with undefined description
