496 lines
83 KiB
JavaScript
496 lines
83 KiB
JavaScript
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["styles"],{
|
||
|
|
||
|
/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!./node_modules/resolve-url-loader/index.js?!./node_modules/sass-loader/dist/cjs.js?!./src/global.scss":
|
||
|
/*!*********************************************************************************************************************************************************************************************************************!*\
|
||
|
!*** ./node_modules/css-loader/dist/cjs.js??ref--14-1!./node_modules/postcss-loader/src??embedded!./node_modules/resolve-url-loader??ref--14-3!./node_modules/sass-loader/dist/cjs.js??ref--14-4!./src/global.scss ***!
|
||
|
\*********************************************************************************************************************************************************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
// Imports
|
||
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
|
||
|
exports = ___CSS_LOADER_API_IMPORT___(true);
|
||
|
// Module
|
||
|
exports.push([module.i, "/*\n * App Global CSS\n * ----------------------------------------------------------------------------\n * Put style rules here that you want to apply globally. These styles are for\n * the entire app and not just one component. Additionally, this file can be\n * used as an entry point to import other CSS/Sass files to be included in the\n * output CSS.\n * For more information on global stylesheets, visit the documentation:\n * https://ionicframework.com/docs/layout/global-stylesheets\n */\n/* Core CSS required for Ionic components to work properly */\nhtml.ios {\n --ion-default-font: -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Roboto\", sans-serif;\n}\nhtml.md {\n --ion-default-font: \"Roboto\", \"Helvetica Neue\", sans-serif;\n}\nhtml {\n --ion-font-family: var(--ion-default-font);\n}\nbody {\n background: var(--ion-background-color);\n}\nbody.backdrop-no-scroll {\n overflow: hidden;\n}\nhtml.ios ion-modal.modal-card .ion-page > ion-header > ion-toolbar:first-of-type {\n padding-top: 0px;\n}\nhtml.ios ion-modal .ion-page {\n border-radius: inherit;\n}\n.ion-color-primary {\n --ion-color-base: var(--ion-color-primary, #3880ff) !important;\n --ion-color-base-rgb: var(--ion-color-primary-rgb, 56, 128, 255) !important;\n --ion-color-contrast: var(--ion-color-primary-contrast, #fff) !important;\n --ion-color-contrast-rgb: var(--ion-color-primary-contrast-rgb, 255, 255, 255) !important;\n --ion-color-shade: var(--ion-color-primary-shade, #3171e0) !important;\n --ion-color-tint: var(--ion-color-primary-tint, #4c8dff) !important;\n}\n.ion-color-secondary {\n --ion-color-base: var(--ion-color-secondary, #3dc2ff) !important;\n --ion-color-base-rgb: var(--ion-color-secondary-rgb, 61, 194, 255) !important;\n --ion-color-contrast: var(--ion-color-secondary-contrast, #fff) !important;\n --ion-color-contrast-rgb: var(--ion-color-secondary-contrast-rgb, 255, 255, 255) !important;\n --ion-color-shade: var(--ion-color-secondary-shade, #36abe0) !important;\n --ion-color-tint: var(--ion-color-secondary-tint, #50c8ff) !important;\n}\n.ion-color-tertiary {\n --ion-color-base: var(--ion-color-tertiary, #5260ff) !important;\n --ion-color-base-rgb: var(--ion-color-tertiary-rgb, 82, 96, 255) !important;\n --ion-color-contrast: var(--ion-color-tertiary-contrast, #fff) !important;\n --ion-color-contrast-rgb: var(--ion-color-tertiary-contrast-rgb, 255, 255, 255) !important;\n --ion-color-shade: var(--ion-color-tertiary-shade, #4854e0) !important;\n --ion-color-tint: var(--ion-color-tertiary-tint, #6370ff) !important;\n}\n.ion-color-success {\n --ion-color-base: var(--ion-color-success, #2dd36f) !important;\n --ion-color-base-rgb: var(--ion-color-success-rgb, 45, 211, 111) !important;\n --ion-color-contrast: var(--ion-color-success-contrast, #fff) !important;\n --ion-color-contrast-rgb: var(--ion-color-success-contrast-rgb, 255, 255, 255) !important;\n --ion-color-shade: var(--ion-color-success-shade, #28ba62) !important;\n --ion-color-tint: var(--ion-color-success-tint, #42d77d) !important;\n}\n.ion-color-warning {\n --ion-color-base: var(--ion-color-warning, #ffc409) !important;\n --ion-color-base-rgb: var(--ion-color-warning-rgb, 255, 196, 9) !important;\n --ion-color-contrast: var(--ion-color-warning-contrast, #000) !important;\n --ion-color-contrast-rgb: var(--ion-color-warning-contrast-rgb, 0, 0, 0) !important;\n --ion-color-shade: var(--ion-color-warning-shade, #e0ac08) !important;\n --ion-color-tint: var(--ion-color-warning-tint, #ffca22) !important;\n}\n.ion-color-danger {\n --ion-color-base: var(--ion-color-danger, #eb445a) !important;\n --ion-color-base-rgb: var(--ion-color-danger-rgb, 235, 68, 90) !important;\n --ion-color-contrast: var(--ion-color-danger-contrast, #fff) !important;\n --ion-color-contrast-rgb: var(--ion-color-danger-contrast-rgb, 255, 255, 255) !important;\n --ion-color-shade: var(--ion-color-danger-shade, #cf3c4f) !important;\n --ion-color-tint: var(--ion-color-danger-tint, #ed576b) !important;\n}\n.ion-color-light {\n --ion-color-base:
|
||
|
// Exports
|
||
|
module.exports = exports;
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!./node_modules/resolve-url-loader/index.js?!./node_modules/sass-loader/dist/cjs.js?!./src/theme/variables.scss":
|
||
|
/*!******************************************************************************************************************************************************************************************************************************!*\
|
||
|
!*** ./node_modules/css-loader/dist/cjs.js??ref--14-1!./node_modules/postcss-loader/src??embedded!./node_modules/resolve-url-loader??ref--14-3!./node_modules/sass-loader/dist/cjs.js??ref--14-4!./src/theme/variables.scss ***!
|
||
|
\******************************************************************************************************************************************************************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
// Imports
|
||
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
|
||
|
exports = ___CSS_LOADER_API_IMPORT___(true);
|
||
|
// Module
|
||
|
exports.push([module.i, "/** Ionic CSS Variables **/\n:root {\n /** primary **/\n --ion-color-primary: #00a651;\n --ion-color-primary-rgb: 56, 128, 255;\n --ion-color-primary-contrast: #ffffff;\n --ion-color-primary-contrast-rgb: 255, 255, 255;\n --ion-color-primary-shade: #3171e0;\n --ion-color-primary-tint: #4c8dff;\n /** secondary **/\n --ion-color-secondary: #f4922c;\n --ion-color-secondary-rgb: 12, 209, 232;\n --ion-color-secondary-contrast: #ffffff;\n --ion-color-secondary-contrast-rgb: 255, 255, 255;\n --ion-color-secondary-shade: #0bb8cc;\n --ion-color-secondary-tint: #24d6ea;\n /** tertiary **/\n --ion-color-tertiary: #4d5eab;\n --ion-color-tertiary-rgb: 77, 94, 171;\n --ion-color-tertiary-contrast: #ffffff;\n --ion-color-tertiary-contrast-rgb: 255, 255, 255;\n --ion-color-tertiary-shade: #445396;\n --ion-color-tertiary-tint: #5f6eb3;\n /** success **/\n --ion-color-success: #10dc60;\n --ion-color-success-rgb: 16, 220, 96;\n --ion-color-success-contrast: #ffffff;\n --ion-color-success-contrast-rgb: 255, 255, 255;\n --ion-color-success-shade: #0ec254;\n --ion-color-success-tint: #28e070;\n /** warning **/\n --ion-color-warning: #ffce00;\n --ion-color-warning-rgb: 255, 206, 0;\n --ion-color-warning-contrast: #ffffff;\n --ion-color-warning-contrast-rgb: 255, 255, 255;\n --ion-color-warning-shade: #e0b500;\n --ion-color-warning-tint: #ffd31a;\n /** danger **/\n --ion-color-danger: #ed1c24;\n --ion-color-danger-rgb: 245, 61, 61;\n --ion-color-danger-contrast: #ffffff;\n --ion-color-danger-contrast-rgb: 255, 255, 255;\n --ion-color-danger-shade: #d33939;\n --ion-color-danger-tint: #f25454;\n /** dark **/\n --ion-color-dark: #222;\n --ion-color-dark-rgb: 34, 34, 34;\n --ion-color-dark-contrast: #ffffff;\n --ion-color-dark-contrast-rgb: 255, 255, 255;\n --ion-color-dark-shade: #1e2023;\n --ion-color-dark-tint: #383a3e;\n /** medium **/\n --ion-color-medium: #989aa2;\n --ion-color-medium-rgb: 152, 154, 162;\n --ion-color-medium-contrast: #ffffff;\n --ion-color-medium-contrast-rgb: 255, 255, 255;\n --ion-color-medium-shade: #86888f;\n --ion-color-medium-tint: #a2a4ab;\n /** light **/\n --ion-color-light: #ffffff;\n --ion-color-light-rgb: 255, 255, 255;\n --ion-color-light-contrast: #000000;\n --ion-color-light-contrast-rgb: 0, 0, 0;\n --ion-color-light-shade: #d7d8da;\n --ion-color-light-tint: #f5f6f9;\n}", "",{"version":3,"sources":["variables.scss"],"names":[],"mappings":"AAGA,0BAAA;AACA;EACE,cAAA;EACA,4BAAA;EACA,qCAAA;EACA,qCAAA;EACA,+CAAA;EACA,kCAAA;EACA,iCAAA;EAEA,gBAAA;EACA,8BAAA;EACA,uCAAA;EACA,uCAAA;EACA,iDAAA;EACA,oCAAA;EACA,mCAAA;EAEA,eAAA;EACA,6BAAA;EACA,qCAAA;EACA,sCAAA;EACA,gDAAA;EACA,mCAAA;EACA,kCAAA;EAEA,cAAA;EACA,4BAAA;EACA,oCAAA;EACA,qCAAA;EACA,+CAAA;EACA,kCAAA;EACA,iCAAA;EAEA,cAAA;EACA,4BAAA;EACA,oCAAA;EACA,qCAAA;EACA,+CAAA;EACA,kCAAA;EACA,iCAAA;EAEA,aAAA;EACA,2BAAA;EACA,mCAAA;EACA,oCAAA;EACA,8CAAA;EACA,iCAAA;EACA,gCAAA;EAEA,WAAA;EACA,sBAAA;EACA,gCAAA;EACA,kCAAA;EACA,4CAAA;EACA,+BAAA;EACA,8BAAA;EAEA,aAAA;EACA,2BAAA;EACA,qCAAA;EACA,oCAAA;EACA,8CAAA;EACA,iCAAA;EACA,gCAAA;EAEA,YAAA;EACA,0BAAA;EACA,oCAAA;EACA,mCAAA;EACA,uCAAA;EACA,gCAAA;EACA,+BAAA;AAVF","file":"variables.scss","sourcesContent":["// Ionic Variables and Theming. For more info, please see:\n// http://ionicframework.com/docs/theming/\n\n/** Ionic CSS Variables **/\n:root {\n /** primary **/\n --ion-color-primary: #00a651;\n --ion-color-primary-rgb: 56, 128, 255;\n --ion-color-primary-contrast: #ffffff;\n --ion-color-primary-contrast-rgb: 255, 255, 255;\n --ion-color-primary-shade: #3171e0;\n --ion-color-primary-tint: #4c8dff;\n\n /** secondary **/\n --ion-color-secondary: #f4922c;\n --ion-color-secondary-rgb: 12, 209, 232;\n --ion-color-secondary-contrast: #ffffff;\n --ion-color-secondary-contrast-rgb: 255, 255, 255;\n --ion-color-secondary-shade: #0bb8cc;\n --ion-color-secondary-tint: #24d6ea;\n\n /** tertiary **/\n --ion-color-tertiary: #4d5eab;\n --ion-color-tertiary-rgb: 77, 94, 171;\n --ion-color-tertiary-contrast: #ffffff;\n --ion-color-tertiary-contrast-rgb
|
||
|
// Exports
|
||
|
module.exports = exports;
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./node_modules/css-loader/dist/runtime/api.js":
|
||
|
/*!*****************************************************!*\
|
||
|
!*** ./node_modules/css-loader/dist/runtime/api.js ***!
|
||
|
\*****************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
|
||
|
|
||
|
/*
|
||
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
||
|
Author Tobias Koppers @sokra
|
||
|
*/
|
||
|
// css base code, injected by the css-loader
|
||
|
// eslint-disable-next-line func-names
|
||
|
module.exports = function (useSourceMap) {
|
||
|
var list = []; // return the list of modules as css string
|
||
|
|
||
|
list.toString = function toString() {
|
||
|
return this.map(function (item) {
|
||
|
var content = cssWithMappingToString(item, useSourceMap);
|
||
|
|
||
|
if (item[2]) {
|
||
|
return "@media ".concat(item[2], " {").concat(content, "}");
|
||
|
}
|
||
|
|
||
|
return content;
|
||
|
}).join('');
|
||
|
}; // import a list of modules into the list
|
||
|
// eslint-disable-next-line func-names
|
||
|
|
||
|
|
||
|
list.i = function (modules, mediaQuery, dedupe) {
|
||
|
if (typeof modules === 'string') {
|
||
|
// eslint-disable-next-line no-param-reassign
|
||
|
modules = [[null, modules, '']];
|
||
|
}
|
||
|
|
||
|
var alreadyImportedModules = {};
|
||
|
|
||
|
if (dedupe) {
|
||
|
for (var i = 0; i < this.length; i++) {
|
||
|
// eslint-disable-next-line prefer-destructuring
|
||
|
var id = this[i][0];
|
||
|
|
||
|
if (id != null) {
|
||
|
alreadyImportedModules[id] = true;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
for (var _i = 0; _i < modules.length; _i++) {
|
||
|
var item = [].concat(modules[_i]);
|
||
|
|
||
|
if (dedupe && alreadyImportedModules[item[0]]) {
|
||
|
// eslint-disable-next-line no-continue
|
||
|
continue;
|
||
|
}
|
||
|
|
||
|
if (mediaQuery) {
|
||
|
if (!item[2]) {
|
||
|
item[2] = mediaQuery;
|
||
|
} else {
|
||
|
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
list.push(item);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
return list;
|
||
|
};
|
||
|
|
||
|
function cssWithMappingToString(item, useSourceMap) {
|
||
|
var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring
|
||
|
|
||
|
var cssMapping = item[3];
|
||
|
|
||
|
if (!cssMapping) {
|
||
|
return content;
|
||
|
}
|
||
|
|
||
|
if (useSourceMap && typeof btoa === 'function') {
|
||
|
var sourceMapping = toComment(cssMapping);
|
||
|
var sourceURLs = cssMapping.sources.map(function (source) {
|
||
|
return "/*# sourceURL=".concat(cssMapping.sourceRoot || '').concat(source, " */");
|
||
|
});
|
||
|
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
|
||
|
}
|
||
|
|
||
|
return [content].join('\n');
|
||
|
} // Adapted from convert-source-map (MIT)
|
||
|
|
||
|
|
||
|
function toComment(sourceMap) {
|
||
|
// eslint-disable-next-line no-undef
|
||
|
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
|
||
|
var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
|
||
|
return "/*# ".concat(data, " */");
|
||
|
}
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
|
||
|
/*!****************************************************************************!*\
|
||
|
!*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
|
||
|
\****************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
|
||
|
|
||
|
var isOldIE = function isOldIE() {
|
||
|
var memo;
|
||
|
return function memorize() {
|
||
|
if (typeof memo === 'undefined') {
|
||
|
// Test for IE <= 9 as proposed by Browserhacks
|
||
|
// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
|
||
|
// Tests for existence of standard globals is to allow style-loader
|
||
|
// to operate correctly into non-standard environments
|
||
|
// @see https://github.com/webpack-contrib/style-loader/issues/177
|
||
|
memo = Boolean(window && document && document.all && !window.atob);
|
||
|
}
|
||
|
|
||
|
return memo;
|
||
|
};
|
||
|
}();
|
||
|
|
||
|
var getTarget = function getTarget() {
|
||
|
var memo = {};
|
||
|
return function memorize(target) {
|
||
|
if (typeof memo[target] === 'undefined') {
|
||
|
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
||
|
|
||
|
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
||
|
try {
|
||
|
// This will throw an exception if access to iframe is blocked
|
||
|
// due to cross-origin restrictions
|
||
|
styleTarget = styleTarget.contentDocument.head;
|
||
|
} catch (e) {
|
||
|
// istanbul ignore next
|
||
|
styleTarget = null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
memo[target] = styleTarget;
|
||
|
}
|
||
|
|
||
|
return memo[target];
|
||
|
};
|
||
|
}();
|
||
|
|
||
|
var stylesInDom = [];
|
||
|
|
||
|
function getIndexByIdentifier(identifier) {
|
||
|
var result = -1;
|
||
|
|
||
|
for (var i = 0; i < stylesInDom.length; i++) {
|
||
|
if (stylesInDom[i].identifier === identifier) {
|
||
|
result = i;
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
function modulesToDom(list, options) {
|
||
|
var idCountMap = {};
|
||
|
var identifiers = [];
|
||
|
|
||
|
for (var i = 0; i < list.length; i++) {
|
||
|
var item = list[i];
|
||
|
var id = options.base ? item[0] + options.base : item[0];
|
||
|
var count = idCountMap[id] || 0;
|
||
|
var identifier = "".concat(id, " ").concat(count);
|
||
|
idCountMap[id] = count + 1;
|
||
|
var index = getIndexByIdentifier(identifier);
|
||
|
var obj = {
|
||
|
css: item[1],
|
||
|
media: item[2],
|
||
|
sourceMap: item[3]
|
||
|
};
|
||
|
|
||
|
if (index !== -1) {
|
||
|
stylesInDom[index].references++;
|
||
|
stylesInDom[index].updater(obj);
|
||
|
} else {
|
||
|
stylesInDom.push({
|
||
|
identifier: identifier,
|
||
|
updater: addStyle(obj, options),
|
||
|
references: 1
|
||
|
});
|
||
|
}
|
||
|
|
||
|
identifiers.push(identifier);
|
||
|
}
|
||
|
|
||
|
return identifiers;
|
||
|
}
|
||
|
|
||
|
function insertStyleElement(options) {
|
||
|
var style = document.createElement('style');
|
||
|
var attributes = options.attributes || {};
|
||
|
|
||
|
if (typeof attributes.nonce === 'undefined') {
|
||
|
var nonce = true ? __webpack_require__.nc : undefined;
|
||
|
|
||
|
if (nonce) {
|
||
|
attributes.nonce = nonce;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Object.keys(attributes).forEach(function (key) {
|
||
|
style.setAttribute(key, attributes[key]);
|
||
|
});
|
||
|
|
||
|
if (typeof options.insert === 'function') {
|
||
|
options.insert(style);
|
||
|
} else {
|
||
|
var target = getTarget(options.insert || 'head');
|
||
|
|
||
|
if (!target) {
|
||
|
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
||
|
}
|
||
|
|
||
|
target.appendChild(style);
|
||
|
}
|
||
|
|
||
|
return style;
|
||
|
}
|
||
|
|
||
|
function removeStyleElement(style) {
|
||
|
// istanbul ignore if
|
||
|
if (style.parentNode === null) {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
style.parentNode.removeChild(style);
|
||
|
}
|
||
|
/* istanbul ignore next */
|
||
|
|
||
|
|
||
|
var replaceText = function replaceText() {
|
||
|
var textStore = [];
|
||
|
return function replace(index, replacement) {
|
||
|
textStore[index] = replacement;
|
||
|
return textStore.filter(Boolean).join('\n');
|
||
|
};
|
||
|
}();
|
||
|
|
||
|
function applyToSingletonTag(style, index, remove, obj) {
|
||
|
var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
|
||
|
|
||
|
/* istanbul ignore if */
|
||
|
|
||
|
if (style.styleSheet) {
|
||
|
style.styleSheet.cssText = replaceText(index, css);
|
||
|
} else {
|
||
|
var cssNode = document.createTextNode(css);
|
||
|
var childNodes = style.childNodes;
|
||
|
|
||
|
if (childNodes[index]) {
|
||
|
style.removeChild(childNodes[index]);
|
||
|
}
|
||
|
|
||
|
if (childNodes.length) {
|
||
|
style.insertBefore(cssNode, childNodes[index]);
|
||
|
} else {
|
||
|
style.appendChild(cssNode);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function applyToTag(style, options, obj) {
|
||
|
var css = obj.css;
|
||
|
var media = obj.media;
|
||
|
var sourceMap = obj.sourceMap;
|
||
|
|
||
|
if (media) {
|
||
|
style.setAttribute('media', media);
|
||
|
} else {
|
||
|
style.removeAttribute('media');
|
||
|
}
|
||
|
|
||
|
if (sourceMap && btoa) {
|
||
|
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
||
|
} // For old IE
|
||
|
|
||
|
/* istanbul ignore if */
|
||
|
|
||
|
|
||
|
if (style.styleSheet) {
|
||
|
style.styleSheet.cssText = css;
|
||
|
} else {
|
||
|
while (style.firstChild) {
|
||
|
style.removeChild(style.firstChild);
|
||
|
}
|
||
|
|
||
|
style.appendChild(document.createTextNode(css));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
var singleton = null;
|
||
|
var singletonCounter = 0;
|
||
|
|
||
|
function addStyle(obj, options) {
|
||
|
var style;
|
||
|
var update;
|
||
|
var remove;
|
||
|
|
||
|
if (options.singleton) {
|
||
|
var styleIndex = singletonCounter++;
|
||
|
style = singleton || (singleton = insertStyleElement(options));
|
||
|
update = applyToSingletonTag.bind(null, style, styleIndex, false);
|
||
|
remove = applyToSingletonTag.bind(null, style, styleIndex, true);
|
||
|
} else {
|
||
|
style = insertStyleElement(options);
|
||
|
update = applyToTag.bind(null, style, options);
|
||
|
|
||
|
remove = function remove() {
|
||
|
removeStyleElement(style);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
update(obj);
|
||
|
return function updateStyle(newObj) {
|
||
|
if (newObj) {
|
||
|
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
update(obj = newObj);
|
||
|
} else {
|
||
|
remove();
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
module.exports = function (list, options) {
|
||
|
options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
||
|
// tags it will allow on a page
|
||
|
|
||
|
if (!options.singleton && typeof options.singleton !== 'boolean') {
|
||
|
options.singleton = isOldIE();
|
||
|
}
|
||
|
|
||
|
list = list || [];
|
||
|
var lastIdentifiers = modulesToDom(list, options);
|
||
|
return function update(newList) {
|
||
|
newList = newList || [];
|
||
|
|
||
|
if (Object.prototype.toString.call(newList) !== '[object Array]') {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
for (var i = 0; i < lastIdentifiers.length; i++) {
|
||
|
var identifier = lastIdentifiers[i];
|
||
|
var index = getIndexByIdentifier(identifier);
|
||
|
stylesInDom[index].references--;
|
||
|
}
|
||
|
|
||
|
var newLastIdentifiers = modulesToDom(newList, options);
|
||
|
|
||
|
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
||
|
var _identifier = lastIdentifiers[_i];
|
||
|
|
||
|
var _index = getIndexByIdentifier(_identifier);
|
||
|
|
||
|
if (stylesInDom[_index].references === 0) {
|
||
|
stylesInDom[_index].updater();
|
||
|
|
||
|
stylesInDom.splice(_index, 1);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
lastIdentifiers = newLastIdentifiers;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./src/global.scss":
|
||
|
/*!*************************!*\
|
||
|
!*** ./src/global.scss ***!
|
||
|
\*************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
var api = __webpack_require__(/*! ../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
|
||
|
var content = __webpack_require__(/*! !../node_modules/css-loader/dist/cjs.js??ref--14-1!../node_modules/postcss-loader/src??embedded!../node_modules/resolve-url-loader??ref--14-3!../node_modules/sass-loader/dist/cjs.js??ref--14-4!./global.scss */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!./node_modules/resolve-url-loader/index.js?!./node_modules/sass-loader/dist/cjs.js?!./src/global.scss");
|
||
|
|
||
|
content = content.__esModule ? content.default : content;
|
||
|
|
||
|
if (typeof content === 'string') {
|
||
|
content = [[module.i, content, '']];
|
||
|
}
|
||
|
|
||
|
var options = {};
|
||
|
|
||
|
options.insert = "head";
|
||
|
options.singleton = false;
|
||
|
|
||
|
var update = api(content, options);
|
||
|
|
||
|
|
||
|
|
||
|
module.exports = content.locals || {};
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ "./src/theme/variables.scss":
|
||
|
/*!**********************************!*\
|
||
|
!*** ./src/theme/variables.scss ***!
|
||
|
\**********************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
var api = __webpack_require__(/*! ../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
|
||
|
var content = __webpack_require__(/*! !../../node_modules/css-loader/dist/cjs.js??ref--14-1!../../node_modules/postcss-loader/src??embedded!../../node_modules/resolve-url-loader??ref--14-3!../../node_modules/sass-loader/dist/cjs.js??ref--14-4!./variables.scss */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!./node_modules/resolve-url-loader/index.js?!./node_modules/sass-loader/dist/cjs.js?!./src/theme/variables.scss");
|
||
|
|
||
|
content = content.__esModule ? content.default : content;
|
||
|
|
||
|
if (typeof content === 'string') {
|
||
|
content = [[module.i, content, '']];
|
||
|
}
|
||
|
|
||
|
var options = {};
|
||
|
|
||
|
options.insert = "head";
|
||
|
options.singleton = false;
|
||
|
|
||
|
var update = api(content, options);
|
||
|
|
||
|
|
||
|
|
||
|
module.exports = content.locals || {};
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 3:
|
||
|
/*!**********************************************************!*\
|
||
|
!*** multi ./src/theme/variables.scss ./src/global.scss ***!
|
||
|
\**********************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
__webpack_require__(/*! /Users/martin/dev/aiber-martin/src/theme/variables.scss */"./src/theme/variables.scss");
|
||
|
module.exports = __webpack_require__(/*! /Users/martin/dev/aiber-martin/src/global.scss */"./src/global.scss");
|
||
|
|
||
|
|
||
|
/***/ })
|
||
|
|
||
|
},[[3,"runtime"]]]);
|
||
|
//# sourceMappingURL=styles-es2015.js.map
|