{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/spin.js/spin.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__assign","assign","arguments","length","apply","this","defaults","lines","width","radius","scale","corners","color","fadeColor","animation","rotate","direction","speed","zIndex","className","top","left","shadow","position","Spinner","opts","spin","target","stop","el","document","createElement","setAttribute","css","transform","insertBefore","firstChild","borderRadius","Math","round","shadows","boxShadow","regex","_i","_a","split","matches","match","x","y","xUnits","yUnits","push","prefix","end","parseBoxShadow","degrees","backgroundLine","height","background","getColor","transformOrigin","delay","line","normalizeShadow","appendChild","drawLines","requestAnimationFrame","cancelAnimationFrame","animateId","clearTimeout","parentNode","removeChild","undefined","props","prop","style","idx","normalized","shadows_1","xy","convertOffset","join","radians","PI","sin","cos"],"mappings":"4DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,qBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,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AAK4C,GAGLpE,MAGFmB,EA5DT,GAoEA,SAASS,EAAIJ,EAAI6C,GACf,IAAK,IAAIC,KAAQD,EACf7C,EAAG+C,MAAMD,GAAQD,EAAMC,GAGzB,OAAO9C,EAOT,SAAS+B,EAAShD,EAAOiE,GACvB,MAAuB,iBAATjE,EAAoBA,EAAQA,EAAMiE,EAAMjE,EAAMT,QA6F9D,SAAS6D,EAAgBxB,EAASgB,GAGhC,IAFA,IAAIsB,EAAa,GAERnC,EAAK,EAAGoC,EAAYvC,EAASG,EAAKoC,EAAU5E,OAAQwC,IAAM,CACjE,IAAIrB,EAASyD,EAAUpC,GACnBqC,EAAKC,EAAc3D,EAAO0B,EAAG1B,EAAO2B,EAAGO,GAC3CsB,EAAW1B,KAAK9B,EAAO+B,OAAS2B,EAAG,GAAK1D,EAAO4B,OAAS,IAAM8B,EAAG,GAAK1D,EAAO6B,OAAS7B,EAAOgC,KAG/F,OAAOwB,EAAWI,KAAK,MAGzB,SAASD,EAAcjC,EAAGC,EAAGO,GAC3B,IAAI2B,EAAU3B,EAAUlB,KAAK8C,GAAK,IAC9BC,EAAM/C,KAAK+C,IAAIF,GACfG,EAAMhD,KAAKgD,IAAIH,GACnB,MAAO,CAAC7C,KAAKC,MAA4B,KAArBS,EAAIsC,EAAMrC,EAAIoC,IAAe,IAAM/C,KAAKC,MAA6B,MAArBS,EAAIqC,EAAMpC,EAAIqC,IAAe","file":"js/vendor/libs/spin/spin-08f477b20cb8f1192295.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"https://optimal.seneris.com/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1159);\n","var __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return __assign.apply(this, arguments);\n};\n\nvar defaults = {\n lines: 12,\n length: 7,\n width: 5,\n radius: 10,\n scale: 1.0,\n corners: 1,\n color: '#000',\n fadeColor: 'transparent',\n animation: 'spinner-line-fade-default',\n rotate: 0,\n direction: 1,\n speed: 1,\n zIndex: 2e9,\n className: 'spinner',\n top: '50%',\n left: '50%',\n shadow: '0 0 1px transparent',\n position: 'absolute'\n};\n\nvar Spinner =\n/** @class */\nfunction () {\n function Spinner(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n this.opts = __assign(__assign({}, defaults), opts);\n }\n /**\r\n * Adds the spinner to the given target element. If this instance is already\r\n * spinning, it is automatically removed from its previous target by calling\r\n * stop() internally.\r\n */\n\n\n Spinner.prototype.spin = function (target) {\n this.stop();\n this.el = document.createElement('div');\n this.el.className = this.opts.className;\n this.el.setAttribute('role', 'progressbar');\n css(this.el, {\n position: this.opts.position,\n width: 0,\n zIndex: this.opts.zIndex,\n left: this.opts.left,\n top: this.opts.top,\n transform: \"scale(\" + this.opts.scale + \")\"\n });\n\n if (target) {\n target.insertBefore(this.el, target.firstChild || null);\n }\n\n drawLines(this.el, this.opts);\n return this;\n };\n /**\r\n * Stops and removes the Spinner.\r\n * Stopped spinners may be reused by calling spin() again.\r\n */\n\n\n Spinner.prototype.stop = function () {\n if (this.el) {\n if (typeof requestAnimationFrame !== 'undefined') {\n cancelAnimationFrame(this.animateId);\n } else {\n clearTimeout(this.animateId);\n }\n\n if (this.el.parentNode) {\n this.el.parentNode.removeChild(this.el);\n }\n\n this.el = undefined;\n }\n\n return this;\n };\n\n return Spinner;\n}();\n\nexport { Spinner };\n/**\r\n * Sets multiple style properties at once.\r\n */\n\nfunction css(el, props) {\n for (var prop in props) {\n el.style[prop] = props[prop];\n }\n\n return el;\n}\n/**\r\n * Returns the line color from the given string or array.\r\n */\n\n\nfunction getColor(color, idx) {\n return typeof color == 'string' ? color : color[idx % color.length];\n}\n/**\r\n * Internal method that draws the individual lines.\r\n */\n\n\nfunction drawLines(el, opts) {\n var borderRadius = Math.round(opts.corners * opts.width * 500) / 1000 + 'px';\n var shadow = 'none';\n\n if (opts.shadow === true) {\n shadow = '0 2px 4px #000'; // default shadow\n } else if (typeof opts.shadow === 'string') {\n shadow = opts.shadow;\n }\n\n var shadows = parseBoxShadow(shadow);\n\n for (var i = 0; i < opts.lines; i++) {\n var degrees = ~~(360 / opts.lines * i + opts.rotate);\n var backgroundLine = css(document.createElement('div'), {\n position: 'absolute',\n top: -opts.width / 2 + \"px\",\n width: opts.length + opts.width + 'px',\n height: opts.width + 'px',\n background: getColor(opts.fadeColor, i),\n borderRadius: borderRadius,\n transformOrigin: 'left',\n transform: \"rotate(\" + degrees + \"deg) translateX(\" + opts.radius + \"px)\"\n });\n var delay = i * opts.direction / opts.lines / opts.speed;\n delay -= 1 / opts.speed; // so initial animation state will include trail\n\n var line = css(document.createElement('div'), {\n width: '100%',\n height: '100%',\n background: getColor(opts.color, i),\n borderRadius: borderRadius,\n boxShadow: normalizeShadow(shadows, degrees),\n animation: 1 / opts.speed + \"s linear \" + delay + \"s infinite \" + opts.animation\n });\n backgroundLine.appendChild(line);\n el.appendChild(backgroundLine);\n }\n}\n\nfunction parseBoxShadow(boxShadow) {\n var regex = /^\\s*([a-zA-Z]+\\s+)?(-?\\d+(\\.\\d+)?)([a-zA-Z]*)\\s+(-?\\d+(\\.\\d+)?)([a-zA-Z]*)(.*)$/;\n var shadows = [];\n\n for (var _i = 0, _a = boxShadow.split(','); _i < _a.length; _i++) {\n var shadow = _a[_i];\n var matches = shadow.match(regex);\n\n if (matches === null) {\n continue; // invalid syntax\n }\n\n var x = +matches[2];\n var y = +matches[5];\n var xUnits = matches[4];\n var yUnits = matches[7];\n\n if (x === 0 && !xUnits) {\n xUnits = yUnits;\n }\n\n if (y === 0 && !yUnits) {\n yUnits = xUnits;\n }\n\n if (xUnits !== yUnits) {\n continue; // units must match to use as coordinates\n }\n\n shadows.push({\n prefix: matches[1] || '',\n x: x,\n y: y,\n xUnits: xUnits,\n yUnits: yUnits,\n end: matches[8]\n });\n }\n\n return shadows;\n}\n/**\r\n * Modify box-shadow x/y offsets to counteract rotation\r\n */\n\n\nfunction normalizeShadow(shadows, degrees) {\n var normalized = [];\n\n for (var _i = 0, shadows_1 = shadows; _i < shadows_1.length; _i++) {\n var shadow = shadows_1[_i];\n var xy = convertOffset(shadow.x, shadow.y, degrees);\n normalized.push(shadow.prefix + xy[0] + shadow.xUnits + ' ' + xy[1] + shadow.yUnits + shadow.end);\n }\n\n return normalized.join(', ');\n}\n\nfunction convertOffset(x, y, degrees) {\n var radians = degrees * Math.PI / 180;\n var sin = Math.sin(radians);\n var cos = Math.cos(radians);\n return [Math.round((x * cos + y * sin) * 1000) / 1000, Math.round((-x * sin + y * cos) * 1000) / 1000];\n}"],"sourceRoot":""}