text: /******/ (function(modules) { // webpackBootstrap
  /******/ 	// The module cache
  /******/ 	var installedModules = {};
  /******/
  /******/ 	// The require function
  /******/ 	function __webpack_require__(moduleId) {
  /******/
  /******/ 		// Check if module is in cache
  /******/ 		if(installedModules[moduleId]) {
  /******/ 			return installedModules[moduleId].exports;
  /******/ 		}
  /******/ 		// Create a new module (and put it into the cache)
  /******/ 		var module = installedModules[moduleId] = {
  /******/ 			i: moduleId,
  /******/ 			l: false,
  /******/ 			exports: {}
  /******/ 		};
  /******/
  /******/ 		// Execute the module function
  /******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  /******/
  /******/ 		// Flag the module as loaded
  /******/ 		module.l = true;
  /******/
  /******/ 		// Return the exports of the module
  /******/ 		return module.exports;
  /******/ 	}
  /******/
  /******/
  /******/ 	// expose the modules object (__webpack_modules__)
  /******/ 	__webpack_require__.m = modules;
  /******/
  /******/ 	// expose the module cache
  /******/ 	__webpack_require__.c = installedModules;
  /******/
  /******/ 	// define getter function for harmony exports
  /******/ 	__webpack_require__.d = function(exports, name, getter) {
  /******/ 		if(!__webpack_require__.o(exports, name)) {
  /******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
  /******/ 		}
  /******/ 	};
  /******/
  /******/ 	// define __esModule on exports
  /******/ 	__webpack_require__.r = function(exports) {
  /******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  /******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  /******/ 		}
  /******/ 		Object.defineProperty(exports, '__esModule', { value: true });
  /******/ 	};
  /******/
  /******/ 	// create a fake namespace object
  /******/ 	// mode & 1: value is a module id, require it
  /******/ 	// mode & 2: merge all properties of value into the ns
  /******/ 	// mode & 4: return value when already ns object
  /******/ 	// mode & 8|1: behave like require
  /******/ 	__webpack_require__.t = function(value, mode) {
  /******/ 		if(mode & 1) value = __webpack_require__(value);
  /******/ 		if(mode & 8) return value;
  /******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  /******/ 		var ns = Object.create(null);
  /******/ 		__webpack_require__.r(ns);
  /******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  /******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  /******/ 		return ns;
  /******/ 	};
  /******/
  /******/ 	// getDefaultExport function for compatibility with non-harmony modules
  /******/ 	__webpack_require__.n = function(module) {
  /******/ 		var getter = module && module.__esModule ?
  /******/ 			function getDefault() { return module['default']; } :
  /******/ 			function getModuleExports() { return module; };
  /******/ 		__webpack_require__.d(getter, 'a', getter);
  /******/ 		return getter;
  /******/ 	};
  /******/
  /******/ 	// Object.prototype.hasOwnProperty.call
  /******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  /******/
  /******/ 	// __webpack_public_path__
  /******/ 	__webpack_require__.p = "";
  /******/
  /******/
  /******/ 	// Load entry module and return exports
  /******/ 	return __webpack_require__(__webpack_require__.s = "./demos/slider/index.js");
  /******/ })
  /************************************************************************/
  /******/ ({
  
  /***/ "./demos/slider/index.js":
  /*!*******************************!*\
    !*** ./demos/slider/index.js ***!
    \*******************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__webpack_require__(/*! ../../src/slider/index.tsx */ \"./src/slider/index.tsx\");\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\nomi_1.render(omi_1.h(\"div\", null,\n    omi_1.h(\"m-slider\", { onChange: function (evt) {\n            console.log(evt.detail.value);\n        } }, \" \"),\n    omi_1.h(\"br\", null),\n    omi_1.h(\"m-slider\", { value: 10, onChange: function (evt) {\n            console.log(evt.detail.value);\n        }, discrete: true }, \" \"),\n    omi_1.h(\"br\", null),\n    omi_1.h(\"m-slider\", { disabled: true }, \" \"),\n    omi_1.h(\"m-slider\", { discrete: true, displayMarkers: true, step: 2 }, \" \")), 'body');\n\n\n//# sourceURL=webpack:///./demos/slider/index.js?");
  
  /***/ }),
  
  /***/ "./node_modules/@material/animation/util.js":
  /*!**************************************************!*\
    !*** ./node_modules/@material/animation/util.js ***!
    \**************************************************/
  /*! exports provided: getCorrectPropertyName, getCorrectEventName */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getCorrectPropertyName\", function() { return getCorrectPropertyName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getCorrectEventName\", function() { return getCorrectEventName; });\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nvar cssPropertyNameMap = {\n    animation: {\n        prefixed: '-webkit-animation',\n        standard: 'animation',\n    },\n    transform: {\n        prefixed: '-webkit-transform',\n        standard: 'transform',\n    },\n    transition: {\n        prefixed: '-webkit-transition',\n        standard: 'transition',\n    },\n};\nvar jsEventTypeMap = {\n    animationend: {\n        cssProperty: 'animation',\n        prefixed: 'webkitAnimationEnd',\n        standard: 'animationend',\n    },\n    animationiteration: {\n        cssProperty: 'animation',\n        prefixed: 'webkitAnimationIteration',\n        standard: 'animationiteration',\n    },\n    animationstart: {\n        cssProperty: 'animation',\n        prefixed: 'webkitAnimationStart',\n        standard: 'animationstart',\n    },\n    transitionend: {\n        cssProperty: 'transition',\n        prefixed: 'webkitTransitionEnd',\n        standard: 'transitionend',\n    },\n};\nfunction isWindow(windowObj) {\n    return Boolean(windowObj.document) && typeof windowObj.document.createElement === 'function';\n}\nfunction getCorrectPropertyName(windowObj, cssProperty) {\n    if (isWindow(windowObj) && cssProperty in cssPropertyNameMap) {\n        var el = windowObj.document.createElement('div');\n        var _a = cssPropertyNameMap[cssProperty], standard = _a.standard, prefixed = _a.prefixed;\n        var isStandard = standard in el.style;\n        return isStandard ? standard : prefixed;\n    }\n    return cssProperty;\n}\nfunction getCorrectEventName(windowObj, eventType) {\n    if (isWindow(windowObj) && eventType in jsEventTypeMap) {\n        var el = windowObj.document.createElement('div');\n        var _a = jsEventTypeMap[eventType], standard = _a.standard, prefixed = _a.prefixed, cssProperty = _a.cssProperty;\n        var isStandard = cssProperty in el.style;\n        return isStandard ? standard : prefixed;\n    }\n    return eventType;\n}\n//# sourceMappingURL=util.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/animation/util.js?");
  
  /***/ }),
  
  /***/ "./node_modules/@material/base/component.js":
  /*!**************************************************!*\
    !*** ./node_modules/@material/base/component.js ***!
    \**************************************************/
  /*! exports provided: MDCComponent, default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCComponent\", function() { return MDCComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/base/foundation.js\");\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\nvar MDCComponent = /** @class */ (function () {\n    function MDCComponent(root, foundation) {\n        var args = [];\n        for (var _i = 2; _i < arguments.length; _i++) {\n            args[_i - 2] = arguments[_i];\n        }\n        this.root_ = root;\n        this.initialize.apply(this, tslib__WEBPACK_IMPORTED_MODULE_0__[\"__spread\"](args));\n        // Note that we initialize foundation here and not within the constructor's default param so that\n        // this.root_ is defined and can be used within the foundation class.\n        this.foundation_ = foundation === undefined ? this.getDefaultFoundation() : foundation;\n        this.foundation_.init();\n        this.initialSyncWithDOM();\n    }\n    MDCComponent.attachTo = function (root) {\n        // Subclasses which extend MDCBase should provide an attachTo() method that takes a root element and\n        // returns an instantiated component with its root set to that element. Also note that in the cases of\n        // subclasses, an explicit foundation class will not have to be passed in; it will simply be initialized\n        // from getDefaultFoundation().\n        return new MDCComponent(root, new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"MDCFoundation\"]({}));\n    };\n    /* istanbul ignore next: method param only exists for typing purposes; it does not need to be unit tested */\n    MDCComponent.prototype.initialize = function () {\n        var _args = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            _args[_i] = arguments[_i];\n        }\n        // Subclasses can override this to do any additional setup work that would be considered part of a\n        // \"constructor\". Essentially, it is a hook into the parent constructor before the foundation is\n        // initialized. Any additional arguments besides root and foundation will be passed in here.\n    };\n    MDCComponent.prototype.getDefaultFoundation = function () {\n        // Subclasses must override this method to return a properly configured foundation class for the\n        // component.\n        throw new Error('Subclasses must override getDefaultFoundation to return a properly configured ' +\n            'foundation class');\n    };\n    MDCComponent.prototype.initialSyncWithDOM = function () {\n        // Subclasses should override this method if they need to perform work to synchronize with a host DOM\n        // object. An example of this would be a form control wrapper that needs to synchronize its internal state\n        // to some property or attribute of the host DOM. Please note: this is *not* the place to perform DOM\n        // reads/writes that would cause layout / paint, as this is called synchronously from within the constructor.\n    };\n    MDCComponent.prototype.destroy = function () {\n        // Subclasses may implement this method to release any resources / deregister any listeners they have\n        // attached. An example of this might be deregistering a resize event from the window object.\n        this.foundation_.destroy();\n    };\n    MDCComponent.prototype.listen = function (evtType, handler) {\n        this.root_.addEventListener(evtType, handler);\n    };\n    MDCComponent.prototype.unlisten = function (evtType, handler) {\n        this.root_.removeEventListener(evtType, handler);\n    };\n    /**\n     * Fires a cross-browser-compatible custom event from the component root of the given type, with the given data.\n     */\n    MDCComponent.prototype.emit = function (evtType, evtData, shouldBubble) {\n        if (shouldBubble === void 0) { shouldBubble = false; }\n        var evt;\n        if (typeof CustomEvent === 'function') {\n            evt = new CustomEvent(evtType, {\n                bubbles: shouldBubble,\n                detail: evtData,\n            });\n        }\n        else {\n            evt = document.createEvent('CustomEvent');\n            evt.initCustomEvent(evtType, shouldBubble, false, evtData);\n        }\n        this.root_.dispatchEvent(evt);\n    };\n    return MDCComponent;\n}());\n\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCComponent);\n//# sourceMappingURL=component.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/base/component.js?");
  
  /***/ }),
  
  /***/ "./node_modules/@material/base/foundation.js":
  /*!***************************************************!*\
    !*** ./node_modules/@material/base/foundation.js ***!
    \***************************************************/
  /*! exports provided: MDCFoundation, default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCFoundation\", function() { return MDCFoundation; });\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nvar MDCFoundation = /** @class */ (function () {\n    function MDCFoundation(adapter) {\n        if (adapter === void 0) { adapter = {}; }\n        this.adapter_ = adapter;\n    }\n    Object.defineProperty(MDCFoundation, \"cssClasses\", {\n        get: function () {\n            // Classes extending MDCFoundation should implement this method to return an object which exports every\n            // CSS class the foundation class needs as a property. e.g. {ACTIVE: 'mdc-component--active'}\n            return {};\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCFoundation, \"strings\", {\n        get: function () {\n            // Classes extending MDCFoundation should implement this method to return an object which exports all\n            // semantic strings as constants. e.g. {ARIA_ROLE: 'tablist'}\n            return {};\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCFoundation, \"numbers\", {\n        get: function () {\n            // Classes extending MDCFoundation should implement this method to return an object which exports all\n            // of its semantic numbers as constants. e.g. {ANIMATION_DELAY_MS: 350}\n            return {};\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCFoundation, \"defaultAdapter\", {\n        get: function () {\n            // Classes extending MDCFoundation may choose to implement this getter in order to provide a convenient\n            // way of viewing the necessary methods of an adapter. In the future, this could also be used for adapter\n            // validation.\n            return {};\n        },\n        enumerable: true,\n        configurable: true\n    });\n    MDCFoundation.prototype.init = function () {\n        // Subclasses should override this method to perform initialization routines (registering events, etc.)\n    };\n    MDCFoundation.prototype.destroy = function () {\n        // Subclasses should override this method to perform de-initialization routines (de-registering events, etc.)\n    };\n    return MDCFoundation;\n}());\n\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCFoundation);\n//# sourceMappingURL=foundation.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/base/foundation.js?");
  
  /***/ }),
  
  /***/ "./node_modules/@material/slider/component.js":
  /*!****************************************************!*\
    !*** ./node_modules/@material/slider/component.js ***!
    \****************************************************/
  /*! exports provided: MDCSlider */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCSlider\", function() { return MDCSlider; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/slider/constants.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/slider/foundation.js\");\n/**\n * @license\n * Copyright 2017 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\n\n\nvar MDCSlider = /** @class */ (function (_super) {\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MDCSlider, _super);\n    function MDCSlider() {\n        return _super !== null && _super.apply(this, arguments) || this;\n    }\n    MDCSlider.attachTo = function (root) {\n        return new MDCSlider(root);\n    };\n    Object.defineProperty(MDCSlider.prototype, \"value\", {\n        get: function () {\n            return this.foundation_.getValue();\n        },\n        set: function (value) {\n            this.foundation_.setValue(value);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSlider.prototype, \"min\", {\n        get: function () {\n            return this.foundation_.getMin();\n        },\n        set: function (min) {\n            this.foundation_.setMin(min);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSlider.prototype, \"max\", {\n        get: function () {\n            return this.foundation_.getMax();\n        },\n        set: function (max) {\n            this.foundation_.setMax(max);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSlider.prototype, \"step\", {\n        get: function () {\n            return this.foundation_.getStep();\n        },\n        set: function (step) {\n            this.foundation_.setStep(step);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSlider.prototype, \"disabled\", {\n        get: function () {\n            return this.foundation_.isDisabled();\n        },\n        set: function (disabled) {\n            this.foundation_.setDisabled(disabled);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    MDCSlider.prototype.initialize = function () {\n        this.thumbContainer_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].THUMB_CONTAINER_SELECTOR);\n        this.track_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].TRACK_SELECTOR);\n        this.pinValueMarker_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].PIN_VALUE_MARKER_SELECTOR);\n        this.trackMarkerContainer_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].TRACK_MARKER_CONTAINER_SELECTOR);\n    };\n    MDCSlider.prototype.getDefaultFoundation = function () {\n        var _this = this;\n        // DO NOT INLINE this variable. For backward compatibility, foundations take a Partial<MDCFooAdapter>.\n        // To ensure we don't accidentally omit any methods, we need a separate, strongly typed adapter variable.\n        // tslint:disable:object-literal-sort-keys Methods should be in the same order as the adapter interface.\n        var adapter = {\n            hasClass: function (className) { return _this.root_.classList.contains(className); },\n            addClass: function (className) { return _this.root_.classList.add(className); },\n            removeClass: function (className) { return _this.root_.classList.remove(className); },\n            getAttribute: function (name) { return _this.root_.getAttribute(name); },\n            setAttribute: function (name, value) { return _this.root_.setAttribute(name, value); },\n            removeAttribute: function (name) { return _this.root_.removeAttribute(name); },\n            computeBoundingRect: function () { return _this.root_.getBoundingClientRect(); },\n            getTabIndex: function () { return _this.root_.tabIndex; },\n            registerInteractionHandler: function (evtType, handler) { return _this.listen(evtType, handler); },\n            deregisterInteractionHandler: function (evtType, handler) { return _this.unlisten(evtType, handler); },\n            registerThumbContainerInteractionHandler: function (evtType, handler) {\n                _this.thumbContainer_.addEventListener(evtType, handler);\n            },\n            deregisterThumbContainerInteractionHandler: function (evtType, handler) {\n                _this.thumbContainer_.removeEventListener(evtType, handler);\n            },\n            registerBodyInteractionHandler: function (evtType, handler) { return document.body.addEventListener(evtType, handler); },\n            deregisterBodyInteractionHandler: function (evtType, handler) { return document.body.removeEventListener(evtType, handler); },\n            registerResizeHandler: function (handler) { return window.addEventListener('resize', handler); },\n            deregisterResizeHandler: function (handler) { return window.removeEventListener('resize', handler); },\n            notifyInput: function () { return _this.emit(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].INPUT_EVENT, _this); },\n            notifyChange: function () { return _this.emit(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].CHANGE_EVENT, _this); },\n            setThumbContainerStyleProperty: function (propertyName, value) {\n                _this.thumbContainer_.style.setProperty(propertyName, value);\n            },\n            setTrackStyleProperty: function (propertyName, value) { return _this.track_.style.setProperty(propertyName, value); },\n            setMarkerValue: function (value) { return _this.pinValueMarker_.innerText = value.toLocaleString(); },\n            appendTrackMarkers: function (numMarkers) {\n                var frag = document.createDocumentFragment();\n                for (var i = 0; i < numMarkers; i++) {\n                    var marker = document.createElement('div');\n                    marker.classList.add('mdc-slider__track-marker');\n                    frag.appendChild(marker);\n                }\n                _this.trackMarkerContainer_.appendChild(frag);\n            },\n            removeTrackMarkers: function () {\n                while (_this.trackMarkerContainer_.firstChild) {\n                    _this.trackMarkerContainer_.removeChild(_this.trackMarkerContainer_.firstChild);\n                }\n            },\n            setLastTrackMarkersStyleProperty: function (propertyName, value) {\n                // We remove and append new nodes, thus, the last track marker must be dynamically found.\n                var lastTrackMarker = _this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].LAST_TRACK_MARKER_SELECTOR);\n                lastTrackMarker.style.setProperty(propertyName, value);\n            },\n            isRTL: function () { return getComputedStyle(_this.root_).direction === 'rtl'; },\n        };\n        // tslint:enable:object-literal-sort-keys\n        return new _foundation__WEBPACK_IMPORTED_MODULE_3__[\"MDCSliderFoundation\"](adapter);\n    };\n    MDCSlider.prototype.initialSyncWithDOM = function () {\n        var origValueNow = this.parseFloat_(this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_VALUENOW), this.value);\n        var min = this.parseFloat_(this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_VALUEMIN), this.min);\n        var max = this.parseFloat_(this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_VALUEMAX), this.max);\n        // min and max need to be set in the right order to avoid throwing an error\n        // when the new min is greater than the default max.\n        if (min >= this.max) {\n            this.max = max;\n            this.min = min;\n        }\n        else {\n            this.min = min;\n            this.max = max;\n        }\n        this.step = this.parseFloat_(this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].STEP_DATA_ATTR), this.step);\n        this.value = origValueNow;\n        this.disabled = (this.root_.hasAttribute(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_DISABLED) &&\n            this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_DISABLED) !== 'false');\n        this.foundation_.setupTrackMarker();\n    };\n    MDCSlider.prototype.layout = function () {\n        this.foundation_.layout();\n    };\n    MDCSlider.prototype.stepUp = function (amount) {\n        if (amount === void 0) { amount = (this.step || 1); }\n        this.value += amount;\n    };\n    MDCSlider.prototype.stepDown = function (amount) {\n        if (amount === void 0) { amount = (this.step || 1); }\n        this.value -= amount;\n    };\n    MDCSlider.prototype.parseFloat_ = function (str, defaultValue) {\n        var num = parseFloat(str); // tslint:disable-line:ban\n        var isNumeric = typeof num === 'number' && isFinite(num);\n        return isNumeric ? num : defaultValue;\n    };\n    return MDCSlider;\n}(_material_base_component__WEBPACK_IMPORTED_MODULE_1__[\"MDCComponent\"]));\n\n//# sourceMappingURL=component.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/slider/component.js?");
  
  /***/ }),
  
  /***/ "./node_modules/@material/slider/constants.js":
  /*!****************************************************!*\
    !*** ./node_modules/@material/slider/constants.js ***!
    \****************************************************/
  /*! exports provided: cssClasses, strings, numbers */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cssClasses\", function() { return cssClasses; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"numbers\", function() { return numbers; });\n/**\n * @license\n * Copyright 2017 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nvar cssClasses = {\n    ACTIVE: 'mdc-slider--active',\n    DISABLED: 'mdc-slider--disabled',\n    DISCRETE: 'mdc-slider--discrete',\n    FOCUS: 'mdc-slider--focus',\n    HAS_TRACK_MARKER: 'mdc-slider--display-markers',\n    IN_TRANSIT: 'mdc-slider--in-transit',\n    IS_DISCRETE: 'mdc-slider--discrete',\n};\nvar strings = {\n    ARIA_DISABLED: 'aria-disabled',\n    ARIA_VALUEMAX: 'aria-valuemax',\n    ARIA_VALUEMIN: 'aria-valuemin',\n    ARIA_VALUENOW: 'aria-valuenow',\n    CHANGE_EVENT: 'MDCSlider:change',\n    INPUT_EVENT: 'MDCSlider:input',\n    LAST_TRACK_MARKER_SELECTOR: '.mdc-slider__track-marker:last-child',\n    PIN_VALUE_MARKER_SELECTOR: '.mdc-slider__pin-value-marker',\n    STEP_DATA_ATTR: 'data-step',\n    THUMB_CONTAINER_SELECTOR: '.mdc-slider__thumb-container',\n    TRACK_MARKER_CONTAINER_SELECTOR: '.mdc-slider__track-marker-container',\n    TRACK_SELECTOR: '.mdc-slider__track',\n};\nvar numbers = {\n    PAGE_FACTOR: 4,\n};\n\n//# sourceMappingURL=constants.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/slider/constants.js?");
  
  /***/ }),
  
  /***/ "./node_modules/@material/slider/foundation.js":
  /*!*****************************************************!*\
    !*** ./node_modules/@material/slider/foundation.js ***!
    \*****************************************************/
  /*! exports provided: MDCSliderFoundation, default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCSliderFoundation\", function() { return MDCSliderFoundation; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _material_animation_util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/animation/util */ \"./node_modules/@material/animation/util.js\");\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/slider/constants.js\");\n/**\n * @license\n * Copyright 2017 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\n\n\nvar DOWN_EVENTS = ['mousedown', 'pointerdown', 'touchstart'];\nvar UP_EVENTS = ['mouseup', 'pointerup', 'touchend'];\nvar MOVE_EVENT_MAP = {\n    mousedown: 'mousemove',\n    pointerdown: 'pointermove',\n    touchstart: 'touchmove',\n};\nvar KEY_IDS = {\n    ARROW_DOWN: 'ArrowDown',\n    ARROW_LEFT: 'ArrowLeft',\n    ARROW_RIGHT: 'ArrowRight',\n    ARROW_UP: 'ArrowUp',\n    END: 'End',\n    HOME: 'Home',\n    PAGE_DOWN: 'PageDown',\n    PAGE_UP: 'PageUp',\n};\nvar MDCSliderFoundation = /** @class */ (function (_super) {\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MDCSliderFoundation, _super);\n    function MDCSliderFoundation(adapter) {\n        var _this = _super.call(this, tslib__WEBPACK_IMPORTED_MODULE_0__[\"__assign\"]({}, MDCSliderFoundation.defaultAdapter, adapter)) || this;\n        /**\n         * We set this to NaN since we want it to be a number, but we can't use '0' or '-1'\n         * because those could be valid tabindices set by the client code.\n         */\n        _this.savedTabIndex_ = NaN;\n        _this.active_ = false;\n        _this.inTransit_ = false;\n        _this.isDiscrete_ = false;\n        _this.hasTrackMarker_ = false;\n        _this.handlingThumbTargetEvt_ = false;\n        _this.min_ = 0;\n        _this.max_ = 100;\n        _this.step_ = 0;\n        _this.value_ = 0;\n        _this.disabled_ = false;\n        _this.preventFocusState_ = false;\n        _this.thumbContainerPointerHandler_ = function () { return _this.handlingThumbTargetEvt_ = true; };\n        _this.interactionStartHandler_ = function (evt) { return _this.handleDown_(evt); };\n        _this.keydownHandler_ = function (evt) { return _this.handleKeydown_(evt); };\n        _this.focusHandler_ = function () { return _this.handleFocus_(); };\n        _this.blurHandler_ = function () { return _this.handleBlur_(); };\n        _this.resizeHandler_ = function () { return _this.layout(); };\n        return _this;\n    }\n    Object.defineProperty(MDCSliderFoundation, \"cssClasses\", {\n        get: function () {\n            return _constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"];\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSliderFoundation, \"strings\", {\n        get: function () {\n            return _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"];\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSliderFoundation, \"numbers\", {\n        get: function () {\n            return _constants__WEBPACK_IMPORTED_MODULE_3__[\"numbers\"];\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSliderFoundation, \"defaultAdapter\", {\n        get: function () {\n            // tslint:disable:object-literal-sort-keys Methods should be in the same order as the adapter interface.\n            return {\n                hasClass: function () { return false; },\n                addClass: function () { return undefined; },\n                removeClass: function () { return undefined; },\n                getAttribute: function () { return null; },\n                setAttribute: function () { return undefined; },\n                removeAttribute: function () { return undefined; },\n                computeBoundingRect: function () { return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }); },\n                getTabIndex: function () { return 0; },\n                registerInteractionHandler: function () { return undefined; },\n                deregisterInteractionHandler: function () { return undefined; },\n                registerThumbContainerInteractionHandler: function () { return undefined; },\n                deregisterThumbContainerInteractionHandler: function () { return undefined; },\n                registerBodyInteractionHandler: function () { return undefined; },\n                deregisterBodyInteractionHandler: function () { return undefined; },\n                registerResizeHandler: function () { return undefined; },\n                deregisterResizeHandler: function () { return undefined; },\n                notifyInput: function () { return undefined; },\n                notifyChange: function () { return undefined; },\n                setThumbContainerStyleProperty: function () { return undefined; },\n                setTrackStyleProperty: function () { return undefined; },\n                setMarkerValue: function () { return undefined; },\n                appendTrackMarkers: function () { return undefined; },\n                removeTrackMarkers: function () { return undefined; },\n                setLastTrackMarkersStyleProperty: function () { return undefined; },\n                isRTL: function () { return false; },\n            };\n            // tslint:enable:object-literal-sort-keys\n        },\n        enumerable: true,\n        configurable: true\n    });\n    MDCSliderFoundation.prototype.init = function () {\n        var _this = this;\n        this.isDiscrete_ = this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].IS_DISCRETE);\n        this.hasTrackMarker_ = this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].HAS_TRACK_MARKER);\n        DOWN_EVENTS.forEach(function (evtName) {\n            _this.adapter_.registerInteractionHandler(evtName, _this.interactionStartHandler_);\n            _this.adapter_.registerThumbContainerInteractionHandler(evtName, _this.thumbContainerPointerHandler_);\n        });\n        this.adapter_.registerInteractionHandler('keydown', this.keydownHandler_);\n        this.adapter_.registerInteractionHandler('focus', this.focusHandler_);\n        this.adapter_.registerInteractionHandler('blur', this.blurHandler_);\n        this.adapter_.registerResizeHandler(this.resizeHandler_);\n        this.layout();\n        // At last step, provide a reasonable default value to discrete slider\n        if (this.isDiscrete_ && this.getStep() === 0) {\n            this.step_ = 1;\n        }\n    };\n    MDCSliderFoundation.prototype.destroy = function () {\n        var _this = this;\n        DOWN_EVENTS.forEach(function (evtName) {\n            _this.adapter_.deregisterInteractionHandler(evtName, _this.interactionStartHandler_);\n            _this.adapter_.deregisterThumbContainerInteractionHandler(evtName, _this.thumbContainerPointerHandler_);\n        });\n        this.adapter_.deregisterInteractionHandler('keydown', this.keydownHandler_);\n        this.adapter_.deregisterInteractionHandler('focus', this.focusHandler_);\n        this.adapter_.deregisterInteractionHandler('blur', this.blurHandler_);\n        this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n    };\n    MDCSliderFoundation.prototype.setupTrackMarker = function () {\n        if (this.isDiscrete_ && this.hasTrackMarker_ && this.getStep() !== 0) {\n            var min = this.getMin();\n            var max = this.getMax();\n            var step = this.getStep();\n            var numMarkers = (max - min) / step;\n            // In case distance between max & min is indivisible to step,\n            // we place the secondary to last marker proportionally at where thumb\n            // could reach and place the last marker at max value\n            var indivisible = Math.ceil(numMarkers) !== numMarkers;\n            if (indivisible) {\n                numMarkers = Math.ceil(numMarkers);\n            }\n            this.adapter_.removeTrackMarkers();\n            this.adapter_.appendTrackMarkers(numMarkers);\n            if (indivisible) {\n                var lastStepRatio = (max - numMarkers * step) / step + 1;\n                this.adapter_.setLastTrackMarkersStyleProperty('flex-grow', String(lastStepRatio));\n            }\n        }\n    };\n    MDCSliderFoundation.prototype.layout = function () {\n        this.rect_ = this.adapter_.computeBoundingRect();\n        this.updateUIForCurrentValue_();\n    };\n    MDCSliderFoundation.prototype.getValue = function () {\n        return this.value_;\n    };\n    MDCSliderFoundation.prototype.setValue = function (value) {\n        this.setValue_(value, false);\n    };\n    MDCSliderFoundation.prototype.getMax = function () {\n        return this.max_;\n    };\n    MDCSliderFoundation.prototype.setMax = function (max) {\n        if (max < this.min_) {\n            throw new Error('Cannot set max to be less than the slider\\'s minimum value');\n        }\n        this.max_ = max;\n        this.setValue_(this.value_, false, true);\n        this.adapter_.setAttribute(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_VALUEMAX, String(this.max_));\n        this.setupTrackMarker();\n    };\n    MDCSliderFoundation.prototype.getMin = function () {\n        return this.min_;\n    };\n    MDCSliderFoundation.prototype.setMin = function (min) {\n        if (min > this.max_) {\n            throw new Error('Cannot set min to be greater than the slider\\'s maximum value');\n        }\n        this.min_ = min;\n        this.setValue_(this.value_, false, true);\n        this.adapter_.setAttribute(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_VALUEMIN, String(this.min_));\n        this.setupTrackMarker();\n    };\n    MDCSliderFoundation.prototype.getStep = function () {\n        return this.step_;\n    };\n    MDCSliderFoundation.prototype.setStep = function (step) {\n        if (step < 0) {\n            throw new Error('Step cannot be set to a negative number');\n        }\n        if (this.isDiscrete_ && (typeof (step) !== 'number' || step < 1)) {\n            step = 1;\n        }\n        this.step_ = step;\n        this.setValue_(this.value_, false, true);\n        this.setupTrackMarker();\n    };\n    MDCSliderFoundation.prototype.isDisabled = function () {\n        return this.disabled_;\n    };\n    MDCSliderFoundation.prototype.setDisabled = function (disabled) {\n        this.disabled_ = disabled;\n        this.toggleClass_(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].DISABLED, this.disabled_);\n        if (this.disabled_) {\n            this.savedTabIndex_ = this.adapter_.getTabIndex();\n            this.adapter_.setAttribute(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_DISABLED, 'true');\n            this.adapter_.removeAttribute('tabindex');\n        }\n        else {\n            this.adapter_.removeAttribute(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_DISABLED);\n            if (!isNaN(this.savedTabIndex_)) {\n                this.adapter_.setAttribute('tabindex', String(this.savedTabIndex_));\n            }\n        }\n    };\n    /**\n     * Called when the user starts interacting with the slider\n     */\n    MDCSliderFoundation.prototype.handleDown_ = function (downEvent) {\n        var _this = this;\n        if (this.disabled_) {\n            return;\n        }\n        this.preventFocusState_ = true;\n        this.setInTransit_(!this.handlingThumbTargetEvt_);\n        this.handlingThumbTargetEvt_ = false;\n        this.setActive_(true);\n        var moveHandler = function (moveEvent) {\n            _this.handleMove_(moveEvent);\n        };\n        var moveEventType = MOVE_EVENT_MAP[downEvent.type];\n        // Note: upHandler is [de]registered on ALL potential pointer-related release event types, since some browsers\n        // do not always fire these consistently in pairs.\n        // (See https://github.com/material-components/material-components-web/issues/1192)\n        var upHandler = function () {\n            _this.handleUp_();\n            _this.adapter_.deregisterBodyInteractionHandler(moveEventType, moveHandler);\n            UP_EVENTS.forEach(function (evtName) { return _this.adapter_.deregisterBodyInteractionHandler(evtName, upHandler); });\n        };\n        this.adapter_.registerBodyInteractionHandler(moveEventType, moveHandler);\n        UP_EVENTS.forEach(function (evtName) { return _this.adapter_.registerBodyInteractionHandler(evtName, upHandler); });\n        this.setValueFromEvt_(downEvent);\n    };\n    /**\n     * Called when the user moves the slider\n     */\n    MDCSliderFoundation.prototype.handleMove_ = function (evt) {\n        evt.preventDefault();\n        this.setValueFromEvt_(evt);\n    };\n    /**\n     * Called when the user's interaction with the slider ends\n     */\n    MDCSliderFoundation.prototype.handleUp_ = function () {\n        this.setActive_(false);\n        this.adapter_.notifyChange();\n    };\n    /**\n     * Returns the pageX of the event\n     */\n    MDCSliderFoundation.prototype.getPageX_ = function (evt) {\n        if (evt.targetTouches && evt.targetTouches.length > 0) {\n            return evt.targetTouches[0].pageX;\n        }\n        return evt.pageX;\n    };\n    /**\n     * Sets the slider value from an event\n     */\n    MDCSliderFoundation.prototype.setValueFromEvt_ = function (evt) {\n        var pageX = this.getPageX_(evt);\n        var value = this.computeValueFromPageX_(pageX);\n        this.setValue_(value, true);\n    };\n    /**\n     * Computes the new value from the pageX position\n     */\n    MDCSliderFoundation.prototype.computeValueFromPageX_ = function (pageX) {\n        var _a = this, max = _a.max_, min = _a.min_;\n        var xPos = pageX - this.rect_.left;\n        var pctComplete = xPos / this.rect_.width;\n        if (this.adapter_.isRTL()) {\n            pctComplete = 1 - pctComplete;\n        }\n        // Fit the percentage complete between the range [min,max]\n        // by remapping from [0, 1] to [min, min+(max-min)].\n        return min + pctComplete * (max - min);\n    };\n    /**\n     * Handles keydown events\n     */\n    MDCSliderFoundation.prototype.handleKeydown_ = function (evt) {\n        var keyId = this.getKeyId_(evt);\n        var value = this.getValueForKeyId_(keyId);\n        if (isNaN(value)) {\n            return;\n        }\n        // Prevent page from scrolling due to key presses that would normally scroll the page\n        evt.preventDefault();\n        this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].FOCUS);\n        this.setValue_(value, true);\n        this.adapter_.notifyChange();\n    };\n    /**\n     * Returns the computed name of the event\n     */\n    MDCSliderFoundation.prototype.getKeyId_ = function (kbdEvt) {\n        if (kbdEvt.key === KEY_IDS.ARROW_LEFT || kbdEvt.keyCode === 37) {\n            return KEY_IDS.ARROW_LEFT;\n        }\n        if (kbdEvt.key === KEY_IDS.ARROW_RIGHT || kbdEvt.keyCode === 39) {\n            return KEY_IDS.ARROW_RIGHT;\n        }\n        if (kbdEvt.key === KEY_IDS.ARROW_UP || kbdEvt.keyCode === 38) {\n            return KEY_IDS.ARROW_UP;\n        }\n        if (kbdEvt.key === KEY_IDS.ARROW_DOWN || kbdEvt.keyCode === 40) {\n            return KEY_IDS.ARROW_DOWN;\n        }\n        if (kbdEvt.key === KEY_IDS.HOME || kbdEvt.keyCode === 36) {\n            return KEY_IDS.HOME;\n        }\n        if (kbdEvt.key === KEY_IDS.END || kbdEvt.keyCode === 35) {\n            return KEY_IDS.END;\n        }\n        if (kbdEvt.key === KEY_IDS.PAGE_UP || kbdEvt.keyCode === 33) {\n            return KEY_IDS.PAGE_UP;\n        }\n        if (kbdEvt.key === KEY_IDS.PAGE_DOWN || kbdEvt.keyCode === 34) {\n            return KEY_IDS.PAGE_DOWN;\n        }\n        return '';\n    };\n    /**\n     * Computes the value given a keyboard key ID\n     */\n    MDCSliderFoundation.prototype.getValueForKeyId_ = function (keyId) {\n        var _a = this, max = _a.max_, min = _a.min_, step = _a.step_;\n        var delta = step || (max - min) / 100;\n        var valueNeedsToBeFlipped = this.adapter_.isRTL() && (keyId === KEY_IDS.ARROW_LEFT || keyId === KEY_IDS.ARROW_RIGHT);\n        if (valueNeedsToBeFlipped) {\n            delta = -delta;\n        }\n        switch (keyId) {\n            case KEY_IDS.ARROW_LEFT:\n            case KEY_IDS.ARROW_DOWN:\n                return this.value_ - delta;\n            case KEY_IDS.ARROW_RIGHT:\n            case KEY_IDS.ARROW_UP:\n                return this.value_ + delta;\n            case KEY_IDS.HOME:\n                return this.min_;\n            case KEY_IDS.END:\n                return this.max_;\n            case KEY_IDS.PAGE_UP:\n                return this.value_ + delta * _constants__WEBPACK_IMPORTED_MODULE_3__[\"numbers\"].PAGE_FACTOR;\n            case KEY_IDS.PAGE_DOWN:\n                return this.value_ - delta * _constants__WEBPACK_IMPORTED_MODULE_3__[\"numbers\"].PAGE_FACTOR;\n            default:\n                return NaN;\n        }\n    };\n    MDCSliderFoundation.prototype.handleFocus_ = function () {\n        if (this.preventFocusState_) {\n            return;\n        }\n        this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].FOCUS);\n    };\n    MDCSliderFoundation.prototype.handleBlur_ = function () {\n        this.preventFocusState_ = false;\n        this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].FOCUS);\n    };\n    /**\n     * Sets the value of the slider\n     */\n    MDCSliderFoundation.prototype.setValue_ = function (value, shouldFireInput, force) {\n        if (force === void 0) { force = false; }\n        if (value === this.value_ && !force) {\n            return;\n        }\n        var _a = this, min = _a.min_, max = _a.max_;\n        var valueSetToBoundary = value === min || value === max;\n        if (this.step_ && !valueSetToBoundary) {\n            value = this.quantize_(value);\n        }\n        if (value < min) {\n            value = min;\n        }\n        else if (value > max) {\n            value = max;\n        }\n        this.value_ = value;\n        this.adapter_.setAttribute(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_VALUENOW, String(this.value_));\n        this.updateUIForCurrentValue_();\n        if (shouldFireInput) {\n            this.adapter_.notifyInput();\n            if (this.isDiscrete_) {\n                this.adapter_.setMarkerValue(value);\n            }\n        }\n    };\n    /**\n     * Calculates the quantized value\n     */\n    MDCSliderFoundation.prototype.quantize_ = function (value) {\n        var numSteps = Math.round(value / this.step_);\n        return numSteps * this.step_;\n    };\n    MDCSliderFoundation.prototype.updateUIForCurrentValue_ = function () {\n        var _this = this;\n        var _a = this, max = _a.max_, min = _a.min_, value = _a.value_;\n        var pctComplete = (value - min) / (max - min);\n        var translatePx = pctComplete * this.rect_.width;\n        if (this.adapter_.isRTL()) {\n            translatePx = this.rect_.width - translatePx;\n        }\n        var transformProp = Object(_material_animation_util__WEBPACK_IMPORTED_MODULE_1__[\"getCorrectPropertyName\"])(window, 'transform');\n        var transitionendEvtName = Object(_material_animation_util__WEBPACK_IMPORTED_MODULE_1__[\"getCorrectEventName\"])(window, 'transitionend');\n        if (this.inTransit_) {\n            var onTransitionEnd_1 = function () {\n                _this.setInTransit_(false);\n                _this.adapter_.deregisterThumbContainerInteractionHandler(transitionendEvtName, onTransitionEnd_1);\n            };\n            this.adapter_.registerThumbContainerInteractionHandler(transitionendEvtName, onTransitionEnd_1);\n        }\n        requestAnimationFrame(function () {\n            // NOTE(traviskaufman): It would be nice to use calc() here,\n            // but IE cannot handle calcs in transforms correctly.\n            // See: https://goo.gl/NC2itk\n            // Also note that the -50% offset is used to center the slider thumb.\n            _this.adapter_.setThumbContainerStyleProperty(transformProp, \"translateX(\" + translatePx + \"px) translateX(-50%)\");\n            _this.adapter_.setTrackStyleProperty(transformProp, \"scaleX(\" + pctComplete + \")\");\n        });\n    };\n    /**\n     * Toggles the active state of the slider\n     */\n    MDCSliderFoundation.prototype.setActive_ = function (active) {\n        this.active_ = active;\n        this.toggleClass_(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].ACTIVE, this.active_);\n    };\n    /**\n     * Toggles the inTransit state of the slider\n     */\n    MDCSliderFoundation.prototype.setInTransit_ = function (inTransit) {\n        this.inTransit_ = inTransit;\n        this.toggleClass_(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].IN_TRANSIT, this.inTransit_);\n    };\n    /**\n     * Conditionally adds or removes a class based on shouldBePresent\n     */\n    MDCSliderFoundation.prototype.toggleClass_ = function (className, shouldBePresent) {\n        if (shouldBePresent) {\n            this.adapter_.addClass(className);\n        }\n        else {\n            this.adapter_.removeClass(className);\n        }\n    };\n    return MDCSliderFoundation;\n}(_material_base_foundation__WEBPACK_IMPORTED_MODULE_2__[\"MDCFoundation\"]));\n\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCSliderFoundation);\n//# sourceMappingURL=foundation.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/slider/foundation.js?");
  
  /***/ }),
  
  /***/ "./node_modules/@material/slider/index.js":
  /*!************************************************!*\
    !*** ./node_modules/@material/slider/index.js ***!
    \************************************************/
  /*! exports provided: MDCSlider, MDCSliderFoundation */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./component */ \"./node_modules/@material/slider/component.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCSlider\", function() { return _component__WEBPACK_IMPORTED_MODULE_0__[\"MDCSlider\"]; });\n\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/slider/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCSliderFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_1__[\"MDCSliderFoundation\"]; });\n\n/**\n * @license\n * Copyright 2019 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/slider/index.js?");
  
  /***/ }),
  
  /***/ "./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js?!./src/slider/index.scss":
  /*!************************************************************************************************************!*\
    !*** ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js??ref--4-2!./src/slider/index.scss ***!
    \************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"@keyframes mdc-slider-emphasize {\\n  0% {\\n    animation-timing-function: ease-out; }\\n  50% {\\n    animation-timing-function: ease-in;\\n    transform: scale(0.85); }\\n  100% {\\n    transform: scale(0.571); } }\\n\\n.mdc-slider {\\n  position: relative;\\n  width: 100%;\\n  height: 48px;\\n  cursor: pointer;\\n  touch-action: pan-x;\\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }\\n  .mdc-slider:not(.mdc-slider--disabled) .mdc-slider__track {\\n    background-color: #1890ff;\\n    /* @alternate */\\n    background-color: var(--mdc-theme-secondary, #1890ff); }\\n  .mdc-slider:not(.mdc-slider--disabled) .mdc-slider__track-container {\\n    background-color: rgba(24, 144, 255, 0.26); }\\n  .mdc-slider:not(.mdc-slider--disabled) .mdc-slider__track-marker::after,\\n  .mdc-slider:not(.mdc-slider--disabled) .mdc-slider__track-marker-container::after {\\n    background-color: #1890ff;\\n    /* @alternate */\\n    background-color: var(--mdc-theme-secondary, #1890ff); }\\n  .mdc-slider:not(.mdc-slider--disabled) .mdc-slider__thumb {\\n    fill: #1890ff;\\n    /* @alternate */\\n    fill: var(--mdc-theme-secondary, #1890ff);\\n    stroke: #1890ff;\\n    /* @alternate */\\n    stroke: var(--mdc-theme-secondary, #1890ff); }\\n  .mdc-slider:not(.mdc-slider--disabled) .mdc-slider__focus-ring {\\n    background-color: #1890ff;\\n    /* @alternate */\\n    background-color: var(--mdc-theme-secondary, #1890ff); }\\n  .mdc-slider:not(.mdc-slider--disabled) .mdc-slider__pin {\\n    background-color: #1890ff;\\n    /* @alternate */\\n    background-color: var(--mdc-theme-secondary, #1890ff); }\\n  .mdc-slider:not(.mdc-slider--disabled) .mdc-slider__pin {\\n    color: white;\\n    /* @alternate */\\n    color: var(--mdc-theme-text-primary-on-dark, white); }\\n  .mdc-slider--disabled {\\n    cursor: auto; }\\n    .mdc-slider--disabled .mdc-slider__track {\\n      background-color: #9a9a9a; }\\n    .mdc-slider--disabled .mdc-slider__track-container {\\n      background-color: rgba(154, 154, 154, 0.26); }\\n    .mdc-slider--disabled .mdc-slider__track-marker::after,\\n    .mdc-slider--disabled .mdc-slider__track-marker-container::after {\\n      background-color: #9a9a9a; }\\n    .mdc-slider--disabled .mdc-slider__thumb {\\n      fill: #9a9a9a;\\n      stroke: #9a9a9a; }\\n    .mdc-slider--disabled .mdc-slider__thumb {\\n      /* @alternate */\\n      stroke: white;\\n      stroke: var(--mdc-slider-bg-color-behind-component, white); }\\n  .mdc-slider:focus {\\n    outline: none; }\\n  .mdc-slider__track-container {\\n    position: absolute;\\n    top: 50%;\\n    width: 100%;\\n    height: 2px;\\n    overflow: hidden; }\\n  .mdc-slider__track {\\n    position: absolute;\\n    width: 100%;\\n    height: 100%;\\n    transform-origin: left top;\\n    will-change: transform; }\\n    .mdc-slider[dir=\\\"rtl\\\"] .mdc-slider__track,\\n    [dir=\\\"rtl\\\"] .mdc-slider .mdc-slider__track {\\n      transform-origin: right top; }\\n  .mdc-slider__track-marker-container {\\n    display: flex;\\n    margin-right: 0;\\n    margin-left: -1px;\\n    visibility: hidden; }\\n    .mdc-slider[dir=\\\"rtl\\\"] .mdc-slider__track-marker-container,\\n    [dir=\\\"rtl\\\"] .mdc-slider .mdc-slider__track-marker-container {\\n      margin-right: -1px;\\n      margin-left: 0; }\\n    .mdc-slider__track-marker-container::after {\\n      display: block;\\n      width: 2px;\\n      height: 2px;\\n      content: \\\"\\\"; }\\n  .mdc-slider__track-marker {\\n    flex: 1; }\\n    .mdc-slider__track-marker::after {\\n      display: block;\\n      width: 2px;\\n      height: 2px;\\n      content: \\\"\\\"; }\\n    .mdc-slider__track-marker:first-child::after {\\n      width: 3px; }\\n  .mdc-slider__thumb-container {\\n    position: absolute;\\n    top: 15px;\\n    left: 0;\\n    width: 21px;\\n    height: 100%;\\n    user-select: none;\\n    will-change: transform; }\\n  .mdc-slider__thumb {\\n    position: absolute;\\n    top: 0;\\n    left: 0;\\n    transform: scale(0.571);\\n    transition: transform 100ms ease-out, fill 100ms ease-out, stroke 100ms ease-out;\\n    stroke-width: 3.5; }\\n  .mdc-slider__focus-ring {\\n    width: 21px;\\n    height: 21px;\\n    transition: transform 266.67ms ease-out, opacity 266.67ms ease-out, background-color 266.67ms ease-out;\\n    border-radius: 50%;\\n    opacity: 0; }\\n  .mdc-slider__pin {\\n    display: flex;\\n    position: absolute;\\n    top: 0;\\n    left: 0;\\n    align-items: center;\\n    justify-content: center;\\n    width: 26px;\\n    height: 26px;\\n    margin-top: -2px;\\n    margin-left: -2px;\\n    transform: rotate(-45deg) scale(0) translate(0, 0);\\n    transition: transform 100ms ease-out;\\n    border-radius: 50% 50% 50% 0%;\\n    z-index: 1; }\\n  .mdc-slider__pin-value-marker {\\n    font-family: Roboto, sans-serif;\\n    -moz-osx-font-smoothing: grayscale;\\n    -webkit-font-smoothing: antialiased;\\n    font-size: 0.875rem;\\n    line-height: 1.25rem;\\n    font-weight: 400;\\n    letter-spacing: 0.01786em;\\n    text-decoration: inherit;\\n    text-transform: inherit;\\n    transform: rotate(45deg); }\\n\\n.mdc-slider--active .mdc-slider__thumb {\\n  transform: scale3d(1, 1, 1); }\\n\\n.mdc-slider--focus .mdc-slider__thumb {\\n  animation: mdc-slider-emphasize 266.67ms linear; }\\n\\n.mdc-slider--focus .mdc-slider__focus-ring {\\n  transform: scale3d(1.55, 1.55, 1.55);\\n  opacity: .25; }\\n\\n.mdc-slider--in-transit .mdc-slider__thumb {\\n  transition-delay: 140ms; }\\n\\n.mdc-slider--in-transit .mdc-slider__thumb-container,\\n.mdc-slider--in-transit .mdc-slider__track,\\n.mdc-slider:focus:not(.mdc-slider--active) .mdc-slider__thumb-container,\\n.mdc-slider:focus:not(.mdc-slider--active) .mdc-slider__track {\\n  transition: transform 80ms ease; }\\n\\n.mdc-slider--discrete.mdc-slider--active .mdc-slider__thumb {\\n  transform: scale(calc(12 / 21)); }\\n\\n.mdc-slider--discrete.mdc-slider--active .mdc-slider__pin {\\n  transform: rotate(-45deg) scale(1) translate(19px, -20px); }\\n\\n.mdc-slider--discrete.mdc-slider--focus .mdc-slider__thumb {\\n  animation: none; }\\n\\n.mdc-slider--discrete.mdc-slider--display-markers .mdc-slider__track-marker-container {\\n  visibility: visible; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/slider/index.scss?./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js??ref--4-2");
  
  /***/ }),
  
  /***/ "./node_modules/css-loader/lib/css-base.js":
  /*!*************************************************!*\
    !*** ./node_modules/css-loader/lib/css-base.js ***!
    \*************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t//  when a module is imported multiple times with different media queries.\n\t\t\t//  I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n//# sourceURL=webpack:///./node_modules/css-loader/lib/css-base.js?");
  
  /***/ }),
  
  /***/ "./node_modules/omi/dist/omi.esm.js":
  /*!******************************************!*\
    !*** ./node_modules/omi/dist/omi.esm.js ***!
    \******************************************/
  /*! exports provided: default, tag, WeElement, Component, render, h, createElement, options, define, observe, cloneElement, getHost, rpx, tick, nextTick, ModelView, defineElement, classNames, extractClass, createRef, html, htm */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tag\", function() { return tag; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WeElement\", function() { return WeElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"h\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createElement\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"options\", function() { return options; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"define\", function() { return define; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"observe\", function() { return observe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cloneElement\", function() { return cloneElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getHost\", function() { return getHost; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rpx\", function() { return rpx; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tick\", function() { return tick; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nextTick\", function() { return nextTick; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ModelView\", function() { return ModelView; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defineElement\", function() { return defineElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"classNames\", function() { return classNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"extractClass\", function() { return extractClass; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createRef\", function() { return createRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"html\", function() { return html; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"htm\", function() { return htm; });\n/**\n * omi v6.3.4  http://omijs.org\n * Omi === Preact + Scoped CSS + Store System + Native Support in 3kb javascript.\n * By dntzhang https://github.com/dntzhang\n * Github: https://github.com/Tencent/omi\n * MIT Licensed.\n */\n\n/** Virtual DOM Node */\nfunction VNode() {}\n\nfunction getGlobal() {\n  if (typeof global !== 'object' || !global || global.Math !== Math || global.Array !== Array) {\n    return self || window || global || function () {\n      return this;\n    }();\n  }\n  return global;\n}\n\n/** Global options\n *\t@public\n *\t@namespace options {Object}\n */\nvar options = {\n  store: null,\n  root: getGlobal(),\n  mapping: {}\n};\n\nvar stack = [];\n\nfunction h(nodeName, attributes) {\n  var children = [],\n      lastSimple,\n      child,\n      simple,\n      i;\n  for (i = arguments.length; i-- > 2;) {\n    stack.push(arguments[i]);\n  }\n  if (attributes && attributes.children != null) {\n    if (!stack.length) stack.push(attributes.children);\n    delete attributes.children;\n  }\n  while (stack.length) {\n    if ((child = stack.pop()) && child.pop !== undefined) {\n      for (i = child.length; i--;) {\n        stack.push(child[i]);\n      }\n    } else {\n      if (typeof child === 'boolean') child = null;\n\n      if (simple = typeof nodeName !== 'function') {\n        if (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n      }\n\n      if (simple && lastSimple) {\n        children[children.length - 1] += child;\n      } else if (children.length === 0) {\n        children = [child];\n      } else {\n        children.push(child);\n      }\n\n      lastSimple = simple;\n    }\n  }\n\n  var p = new VNode();\n  p.nodeName = nodeName;\n  p.children = children;\n  p.attributes = attributes == null ? undefined : attributes;\n  p.key = attributes == null ? undefined : attributes.key;\n\n  // if a \"vnode hook\" is defined, pass every created VNode to it\n  if (options.vnode !== undefined) options.vnode(p);\n\n  return p;\n}\n\n/**\n * @license\n * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n */\n(function () {\n  if (\n  // No Reflect, no classes, no need for shim because native custom elements\n  // require ES2015 classes or Reflect.\n  window.Reflect === undefined || window.customElements === undefined ||\n  // The webcomponentsjs custom elements polyfill doesn't require\n  // ES2015-compatible construction (`super()` or `Reflect.construct`).\n  window.customElements.hasOwnProperty('polyfillWrapFlushCallback')) {\n    return;\n  }\n  var BuiltInHTMLElement = HTMLElement;\n  window.HTMLElement = function HTMLElement() {\n    return Reflect.construct(BuiltInHTMLElement, [], this.constructor);\n  };\n  HTMLElement.prototype = BuiltInHTMLElement.prototype;\n  HTMLElement.prototype.constructor = HTMLElement;\n  Object.setPrototypeOf(HTMLElement, BuiltInHTMLElement);\n})();\n\nfunction cssToDom(css) {\n  var node = document.createElement('style');\n  node.textContent = css;\n  return node;\n}\n\nfunction npn(str) {\n  return str.replace(/-(\\w)/g, function ($, $1) {\n    return $1.toUpperCase();\n  });\n}\n\nfunction extend(obj, props) {\n  for (var i in props) {\n    obj[i] = props[i];\n  }return obj;\n}\n\n/** Invoke or update a ref, depending on whether it is a function or object ref.\n *  @param {object|function} [ref=null]\n *  @param {any} [value]\n */\nfunction applyRef(ref, value) {\n  if (ref != null) {\n    if (typeof ref == 'function') ref(value);else ref.current = value;\n  }\n}\n\n/**\n * Call a function asynchronously, as soon as possible. Makes\n * use of HTML Promise to schedule the callback if available,\n * otherwise falling back to `setTimeout` (mainly for IE<11).\n * @type {(callback: function) => void}\n */\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction isArray(obj) {\n  return Object.prototype.toString.call(obj) === '[object Array]';\n}\n\nfunction nProps(props) {\n  if (!props || isArray(props)) return {};\n  var result = {};\n  Object.keys(props).forEach(function (key) {\n    result[key] = props[key].value;\n  });\n  return result;\n}\n\nfunction getUse(data, paths) {\n  var obj = [];\n  paths.forEach(function (path, index) {\n    var isPath = typeof path === 'string';\n    if (isPath) {\n      obj[index] = getTargetByPath(data, path);\n    } else {\n      var key = Object.keys(path)[0];\n      var value = path[key];\n      if (typeof value === 'string') {\n        obj[index] = getTargetByPath(data, value);\n      } else {\n        var tempPath = value[0];\n        if (typeof tempPath === 'string') {\n          var tempVal = getTargetByPath(data, tempPath);\n          obj[index] = value[1] ? value[1](tempVal) : tempVal;\n        } else {\n          var args = [];\n          tempPath.forEach(function (path) {\n            args.push(getTargetByPath(data, path));\n          });\n          obj[index] = value[1].apply(null, args);\n        }\n      }\n      obj[key] = obj[index];\n    }\n  });\n  return obj;\n}\n\nfunction getTargetByPath(origin, path) {\n  var arr = path.replace(/]/g, '').replace(/\\[/g, '.').split('.');\n  var current = origin;\n  for (var i = 0, len = arr.length; i < len; i++) {\n    current = current[arr[i]];\n  }\n  return current;\n}\n\nvar hyphenateRE = /\\B([A-Z])/g;\nfunction hyphenate(str) {\n  return str.replace(hyphenateRE, '-$1').toLowerCase();\n}\n\n// DOM properties that should NOT have \"px\" added when numeric\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\n/**\n * Check if two nodes are equivalent.\n *\n * @param {Node} node\t\t\tDOM Node to compare\n * @param {VNode} vnode\t\t\tVirtual DOM node to compare\n * @param {boolean} [hydrating=false]\tIf true, ignores component constructors when comparing.\n * @private\n */\nfunction isSameNodeType(node, vnode, hydrating) {\n  if (typeof vnode === 'string' || typeof vnode === 'number') {\n    return node.splitText !== undefined;\n  }\n  if (typeof vnode.nodeName === 'string') {\n    return !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n  } else if (typeof vnode.nodeName === 'function') {\n    return options.mapping[node.nodeName.toLowerCase()] === vnode.nodeName;\n  }\n  return hydrating || node._componentConstructor === vnode.nodeName;\n}\n\n/**\n * Check if an Element has a given nodeName, case-insensitively.\n *\n * @param {Element} node\tA DOM Element to inspect the name of.\n * @param {String} nodeName\tUnnormalized name to compare against.\n */\nfunction isNamedNode(node, nodeName) {\n  return node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\n/**\n * Create an element with the given nodeName.\n * @param {string} nodeName The DOM node to create\n * @param {boolean} [isSvg=false] If `true`, creates an element within the SVG\n *  namespace.\n * @returns {Element} The created DOM node\n */\nfunction createNode(nodeName, isSvg) {\n  /** @type {Element} */\n  var node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n  node.normalizedNodeName = nodeName;\n  return node;\n}\n\n/**\n * Remove a child node from its parent if attached.\n * @param {Node} node The node to remove\n */\nfunction removeNode(node) {\n  var parentNode = node.parentNode;\n  if (parentNode) parentNode.removeChild(node);\n}\n\n/**\n * Set a named attribute on the given Node, with special behavior for some names\n * and event handlers. If `value` is `null`, the attribute/handler will be\n * removed.\n * @param {Element} node An element to mutate\n * @param {string} name The name/key to set, such as an event or attribute name\n * @param {*} old The last value that was set for this name/node pair\n * @param {*} value An attribute value, such as a function to be used as an\n *  event handler\n * @param {boolean} isSvg Are we currently diffing inside an svg?\n * @private\n */\nfunction setAccessor(node, name, old, value, isSvg) {\n  if (name === 'className') name = 'class';\n\n  if (name === 'key') {\n    // ignore\n  } else if (name === 'ref') {\n    applyRef(old, null);\n    applyRef(value, node);\n  } else if (name === 'class' && !isSvg) {\n    node.className = value || '';\n  } else if (name === 'style') {\n    if (!value || typeof value === 'string' || typeof old === 'string') {\n      node.style.cssText = value || '';\n    }\n    if (value && typeof value === 'object') {\n      if (typeof old !== 'string') {\n        for (var i in old) {\n          if (!(i in value)) node.style[i] = '';\n        }\n      }\n      for (var i in value) {\n        node.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n      }\n    }\n  } else if (name === 'dangerouslySetInnerHTML') {\n    if (value) node.innerHTML = value.__html || '';\n  } else if (name[0] == 'o' && name[1] == 'n') {\n    var useCapture = name !== (name = name.replace(/Capture$/, ''));\n    name = name.toLowerCase().substring(2);\n    if (value) {\n      if (!old) {\n        node.addEventListener(name, eventProxy, useCapture);\n        if (name == 'tap') {\n          node.addEventListener('touchstart', touchStart, useCapture);\n          node.addEventListener('touchend', touchEnd, useCapture);\n        }\n      }\n    } else {\n      node.removeEventListener(name, eventProxy, useCapture);\n      if (name == 'tap') {\n        node.removeEventListener('touchstart', touchStart, useCapture);\n        node.removeEventListener('touchend', touchEnd, useCapture);\n      }\n    }\n(node._listeners || (node._listeners = {}))[name] = value;\n  } else if (name !== 'list' && name !== 'type' && !isSvg && name in node && value != '') {\n    //value != '' fix for selected, disabled, checked\n    // Attempt to set a DOM property to the given value.\n    // IE & FF throw for certain property-value combinations.\n    try {\n      node[name] = value == null ? '' : value;\n    } catch (e) {}\n    if ((value == null || value === false) && name != 'spellcheck') node.pureRemoveAttribute ? node.pureRemoveAttribute(name) : node.removeAttribute(name);\n  } else {\n    var ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n    // spellcheck is treated differently than all other boolean values and\n    // should not be removed when the value is `false`. See:\n    // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-spellcheck\n    if (value == null || value === false) {\n      if (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.pureRemoveAttribute ? node.pureRemoveAttribute(name) : node.removeAttribute(name);\n    } else if (typeof value !== 'function') {\n      if (ns) {\n        node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);\n      } else {\n        node.pureSetAttribute ? node.pureSetAttribute(name, value) : node.setAttribute(name, value);\n      }\n    }\n  }\n}\n\n/**\n * Proxy an event to hooked event handlers\n * @param {Event} e The event object from the browser\n * @private\n */\nfunction eventProxy(e) {\n  return this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nfunction touchStart(e) {\n  this.___touchX = e.touches[0].pageX;\n  this.___touchY = e.touches[0].pageY;\n  this.___scrollTop = document.body.scrollTop;\n}\n\nfunction touchEnd(e) {\n  if (Math.abs(e.changedTouches[0].pageX - this.___touchX) < 30 && Math.abs(e.changedTouches[0].pageY - this.___touchY) < 30 && Math.abs(document.body.scrollTop - this.___scrollTop) < 30) {\n    this.dispatchEvent(new CustomEvent('tap', { detail: e }));\n  }\n}\n\n/** Diff recursion count, used to track the end of the diff cycle. */\nvar diffLevel = 0;\n\n/** Global flag indicating if the diff is currently within an SVG */\nvar isSvgMode = false;\n\n/** Global flag indicating if the diff is performing hydration */\nvar hydrating = false;\n\n/** Apply differences in a given vnode (and it's deep children) to a real DOM Node.\n *\t@param {Element} [dom=null]\t\tA DOM node to mutate into the shape of the `vnode`\n *\t@param {VNode} vnode\t\t\tA VNode (with descendants forming a tree) representing the desired DOM structure\n *\t@returns {Element} dom\t\t\tThe created/mutated element\n *\t@private\n */\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n  // diffLevel having been 0 here indicates initial entry into the diff (not a subdiff)\n  var ret;\n  if (!diffLevel++) {\n    // when first starting the diff, check if we're diffing an SVG or within an SVG\n    isSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n    // hydration is indicated by the existing element to be diffed not having a prop cache\n    hydrating = dom != null && !('__omiattr_' in dom);\n  }\n  if (isArray(vnode)) {\n    ret = [];\n    var parentNode = null;\n    if (isArray(dom)) {\n      var domLength = dom.length;\n      var vnodeLength = vnode.length;\n      var maxLength = domLength >= vnodeLength ? domLength : vnodeLength;\n      parentNode = dom[0].parentNode;\n      for (var i = 0; i < maxLength; i++) {\n        var ele = idiff(dom[i], vnode[i], context, mountAll, componentRoot);\n        ret.push(ele);\n        if (i > domLength - 1) {\n          parentNode.appendChild(ele);\n        }\n      }\n    } else {\n      vnode.forEach(function (item) {\n        var ele = idiff(dom, item, context, mountAll, componentRoot);\n        ret.push(ele);\n        parent && parent.appendChild(ele);\n      });\n    }\n  } else {\n    if (isArray(dom)) {\n      ret = idiff(dom[0], vnode, context, mountAll, componentRoot);\n    } else {\n      ret = idiff(dom, vnode, context, mountAll, componentRoot);\n    }\n    // append the element if its a new parent\n    if (parent && ret.parentNode !== parent) parent.appendChild(ret);\n  }\n\n  // diffLevel being reduced to 0 means we're exiting the diff\n  if (! --diffLevel) {\n    hydrating = false;\n    // invoke queued componentDidMount lifecycle methods\n  }\n\n  return ret;\n}\n\n/** Internals of `diff()`, separated to allow bypassing diffLevel / mount flushing. */\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n  if (dom && vnode && dom.props) {\n    dom.props.children = vnode.children;\n  }\n  var out = dom,\n      prevSvgMode = isSvgMode;\n\n  // empty values (null, undefined, booleans) render as empty Text nodes\n  if (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n  // Fast case: Strings & Numbers create/update Text nodes.\n  if (typeof vnode === 'string' || typeof vnode === 'number') {\n    // update if it's already a Text node:\n    if (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n      /* istanbul ignore if */ /* Browser quirk that can't be covered: https://github.com/developit/preact/commit/fd4f21f5c45dfd75151bd27b4c217d8003aa5eb9 */\n      if (dom.nodeValue != vnode) {\n        dom.nodeValue = vnode;\n      }\n    } else {\n      // it wasn't a Text node: replace it with one and recycle the old Element\n      out = document.createTextNode(vnode);\n      if (dom) {\n        if (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n        recollectNodeTree(dom, true);\n      }\n    }\n\n    out['__omiattr_'] = true;\n\n    return out;\n  }\n\n  // If the VNode represents a Component, perform a component diff:\n  var vnodeName = vnode.nodeName;\n  if (typeof vnodeName === 'function') {\n    for (var key in options.mapping) {\n      if (options.mapping[key] === vnodeName) {\n        vnodeName = key;\n        vnode.nodeName = key;\n        break;\n      }\n    }\n  }\n  // Tracks entering and exiting SVG namespace when descending through the tree.\n  isSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n  // If there's no existing element or it's the wrong type, create a new one:\n  vnodeName = String(vnodeName);\n  if (!dom || !isNamedNode(dom, vnodeName)) {\n    out = createNode(vnodeName, isSvgMode);\n\n    if (dom) {\n      // move children into the replacement node\n      while (dom.firstChild) {\n        out.appendChild(dom.firstChild);\n      } // if the previous Element was mounted into the DOM, replace it inline\n      if (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n      // recycle the old element (skips non-Element node types)\n      recollectNodeTree(dom, true);\n    }\n  }\n\n  var fc = out.firstChild,\n      props = out['__omiattr_'],\n      vchildren = vnode.children;\n\n  if (props == null) {\n    props = out['__omiattr_'] = {};\n    for (var a = out.attributes, i = a.length; i--;) {\n      props[a[i].name] = a[i].value;\n    }\n  }\n\n  // Optimization: fast-path for elements containing a single TextNode:\n  if (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n    if (fc.nodeValue != vchildren[0]) {\n      fc.nodeValue = vchildren[0];\n    }\n  }\n  // otherwise, if there are existing or new children, diff them:\n  else if (vchildren && vchildren.length || fc != null) {\n      if (!(out.constructor.is == 'WeElement' && out.constructor.noSlot)) {\n        innerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n      }\n    }\n\n  // Apply attributes/props from VNode to the DOM Element:\n  diffAttributes(out, vnode.attributes, props, vnode.children);\n  if (out.props) {\n    out.props.children = vnode.children;\n  }\n  // restore previous SVG mode: (in case we're exiting an SVG namespace)\n  isSvgMode = prevSvgMode;\n\n  return out;\n}\n\n/** Apply child and attribute changes between a VNode and a DOM Node to the DOM.\n *\t@param {Element} dom\t\t\tElement whose children should be compared & mutated\n *\t@param {Array} vchildren\t\tArray of VNodes to compare to `dom.childNodes`\n *\t@param {Object} context\t\t\tImplicitly descendant context object (from most recent `getChildContext()`)\n *\t@param {Boolean} mountAll\n *\t@param {Boolean} isHydrating\tIf `true`, consumes externally created elements similar to hydration\n */\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n  var originalChildren = dom.childNodes,\n      children = [],\n      keyed = {},\n      keyedLen = 0,\n      min = 0,\n      len = originalChildren.length,\n      childrenLen = 0,\n      vlen = vchildren ? vchildren.length : 0,\n      j,\n      c,\n      f,\n      vchild,\n      child;\n\n  // Build up a map of keyed children and an Array of unkeyed children:\n  if (len !== 0) {\n    for (var i = 0; i < len; i++) {\n      var _child = originalChildren[i],\n          props = _child['__omiattr_'],\n          key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n      if (key != null) {\n        keyedLen++;\n        keyed[key] = _child;\n      } else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n        children[childrenLen++] = _child;\n      }\n    }\n  }\n\n  if (vlen !== 0) {\n    for (var i = 0; i < vlen; i++) {\n      vchild = vchildren[i];\n      child = null;\n\n      // attempt to find a node based on key matching\n      var key = vchild.key;\n      if (key != null) {\n        if (keyedLen && keyed[key] !== undefined) {\n          child = keyed[key];\n          keyed[key] = undefined;\n          keyedLen--;\n        }\n      }\n      // attempt to pluck a node of the same type from the existing children\n      else if (!child && min < childrenLen) {\n          for (j = min; j < childrenLen; j++) {\n            if (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n              child = c;\n              children[j] = undefined;\n              if (j === childrenLen - 1) childrenLen--;\n              if (j === min) min++;\n              break;\n            }\n          }\n        }\n\n      // morph the matched/found/created DOM child to match vchild (deep)\n      child = idiff(child, vchild, context, mountAll);\n\n      f = originalChildren[i];\n      if (child && child !== dom && child !== f) {\n        if (f == null) {\n          dom.appendChild(child);\n        } else if (child === f.nextSibling) {\n          removeNode(f);\n        } else {\n          dom.insertBefore(child, f);\n        }\n      }\n    }\n  }\n\n  // remove unused keyed children:\n  if (keyedLen) {\n    for (var i in keyed) {\n      if (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n    }\n  }\n\n  // remove orphaned unkeyed children:\n  while (min <= childrenLen) {\n    if ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n  }\n}\n\n/** Recursively recycle (or just unmount) a node and its descendants.\n *\t@param {Node} node\t\t\t\t\t\tDOM node to start unmount/removal from\n *\t@param {Boolean} [unmountOnly=false]\tIf `true`, only triggers unmount lifecycle, skips removal\n */\nfunction recollectNodeTree(node, unmountOnly) {\n  // If the node's VNode had a ref function, invoke it with null here.\n  // (this is part of the React spec, and smart for unsetting references)\n  if (node['__omiattr_'] != null && node['__omiattr_'].ref) {\n    if (typeof node['__omiattr_'].ref === 'function') {\n      node['__omiattr_'].ref(null);\n    } else if (node['__omiattr_'].ref.current) {\n      node['__omiattr_'].ref.current = null;\n    }\n  }\n\n  if (unmountOnly === false || node['__omiattr_'] == null) {\n    removeNode(node);\n  }\n\n  removeChildren(node);\n}\n\n/** Recollect/unmount all children.\n *\t- we use .lastChild here because it causes less reflow than .firstChild\n *\t- it's also cheaper than accessing the .childNodes Live NodeList\n */\nfunction removeChildren(node) {\n  node = node.lastChild;\n  while (node) {\n    var next = node.previousSibling;\n    recollectNodeTree(node, true);\n    node = next;\n  }\n}\n\n/** Apply differences in attributes from a VNode to the given DOM Element.\n *\t@param {Element} dom\t\tElement with attributes to diff `attrs` against\n *\t@param {Object} attrs\t\tThe desired end-state key-value attribute pairs\n *\t@param {Object} old\t\t\tCurrent/previous attributes (from previous VNode or element's prop cache)\n */\nfunction diffAttributes(dom, attrs, old, children) {\n  var name;\n  var update = false;\n  var isWeElement = dom.update;\n  var oldClone;\n  if (dom.receiveProps) {\n    oldClone = Object.assign({}, old);\n  }\n  // remove attributes no longer present on the vnode by setting them to undefined\n  for (name in old) {\n    if (!(attrs && attrs[name] != null) && old[name] != null) {\n      setAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n      if (isWeElement) {\n        delete dom.props[name];\n        update = true;\n      }\n    }\n  }\n\n  // add new & update changed attributes\n  for (name in attrs) {\n    if (isWeElement && typeof attrs[name] === 'object' && name !== 'ref') {\n      if (name === 'style') {\n        setAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n      }\n      if (dom.receiveProps) {\n        try {\n          old[name] = JSON.parse(JSON.stringify(attrs[name]));\n        } catch (e) {\n          console.warn('When using receiveProps, you cannot pass prop of cyclic dependencies down.');\n        }\n      }\n      dom.props[npn(name)] = attrs[name];\n      update = true;\n    } else if (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n      setAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n      if (isWeElement) {\n        dom.props[npn(name)] = attrs[name];\n        update = true;\n      }\n    }\n  }\n\n  if (isWeElement && dom.parentNode) {\n    if (update || children.length > 0 || dom.store) {\n      dom.receiveProps(dom.props, dom.data, oldClone);\n      dom.update();\n    }\n  }\n}\n\n/*!\n * https://github.com/Palindrom/JSONPatcherProxy\n * (c) 2017 Starcounter\n * MIT license\n */\n\n/** Class representing a JS Object observer  */\nvar JSONPatcherProxy = function () {\n  /**\n   * Deep clones your object and returns a new object.\n   */\n  function deepClone(obj) {\n    switch (typeof obj) {\n      case 'object':\n        return JSON.parse(JSON.stringify(obj)); //Faster than ES5 clone - http://jsperf.com/deep-cloning-of-objects/5\n      case 'undefined':\n        return null; //this is how JSON.stringify behaves for array items\n      default:\n        return obj; //no need to clone primitives\n    }\n  }\n  JSONPatcherProxy.deepClone = deepClone;\n\n  function escapePathComponent(str) {\n    if (str.indexOf('/') == -1 && str.indexOf('~') == -1) return str;\n    return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n  }\n  JSONPatcherProxy.escapePathComponent = escapePathComponent;\n\n  /**\n   * Walk up the parenthood tree to get the path\n   * @param {JSONPatcherProxy} instance\n   * @param {Object} obj the object you need to find its path\n   */\n  function findObjectPath(instance, obj) {\n    var pathComponents = [];\n    var parentAndPath = instance.parenthoodMap.get(obj);\n    while (parentAndPath && parentAndPath.path) {\n      // because we're walking up-tree, we need to use the array as a stack\n      pathComponents.unshift(parentAndPath.path);\n      parentAndPath = instance.parenthoodMap.get(parentAndPath.parent);\n    }\n    if (pathComponents.length) {\n      var path = pathComponents.join('/');\n      return '/' + path;\n    }\n    return '';\n  }\n  /**\n   * A callback to be used as th proxy set trap callback.\n   * It updates parenthood map if needed, proxifies nested newly-added objects, calls default callbacks with the changes occurred.\n   * @param {JSONPatcherProxy} instance JSONPatcherProxy instance\n   * @param {Object} target the affected object\n   * @param {String} key the effect property's name\n   * @param {Any} newValue the value being set\n   */\n  function setTrap(instance, target, key, newValue) {\n    var parentPath = findObjectPath(instance, target);\n\n    var destinationPropKey = parentPath + '/' + escapePathComponent(key);\n\n    if (instance.proxifiedObjectsMap.has(newValue)) {\n      var newValueOriginalObject = instance.proxifiedObjectsMap.get(newValue);\n\n      instance.parenthoodMap.set(newValueOriginalObject.originalObject, {\n        parent: target,\n        path: key\n      });\n    }\n    /*\n        mark already proxified values as inherited.\n        rationale: proxy.arr.shift()\n        will emit\n        {op: replace, path: '/arr/1', value: arr_2}\n        {op: remove, path: '/arr/2'}\n         by default, the second operation would revoke the proxy, and this renders arr revoked.\n        That's why we need to remember the proxies that are inherited.\n      */\n    var revokableInstance = instance.proxifiedObjectsMap.get(newValue);\n    /*\n    Why do we need to check instance.isProxifyingTreeNow?\n     We need to make sure we mark revokables as inherited ONLY when we're observing,\n    because throughout the first proxification, a sub-object is proxified and then assigned to\n    its parent object. This assignment of a pre-proxified object can fool us into thinking\n    that it's a proxified object moved around, while in fact it's the first assignment ever.\n     Checking isProxifyingTreeNow ensures this is not happening in the first proxification,\n    but in fact is is a proxified object moved around the tree\n    */\n    if (revokableInstance && !instance.isProxifyingTreeNow) {\n      revokableInstance.inherited = true;\n    }\n\n    // if the new value is an object, make sure to watch it\n    if (newValue && typeof newValue == 'object' && !instance.proxifiedObjectsMap.has(newValue)) {\n      instance.parenthoodMap.set(newValue, {\n        parent: target,\n        path: key\n      });\n      newValue = instance._proxifyObjectTreeRecursively(target, newValue, key);\n    }\n    // let's start with this operation, and may or may not update it later\n    var operation = {\n      op: 'remove',\n      path: destinationPropKey\n    };\n    if (typeof newValue == 'undefined') {\n      // applying De Morgan's laws would be a tad faster, but less readable\n      if (!Array.isArray(target) && !target.hasOwnProperty(key)) {\n        // `undefined` is being set to an already undefined value, keep silent\n        return Reflect.set(target, key, newValue);\n      }\n      // when array element is set to `undefined`, should generate replace to `null`\n      if (Array.isArray(target)) {\noperation.op = 'replace', operation.value = null;\n      }\n      var oldValue = instance.proxifiedObjectsMap.get(target[key]);\n      // was the deleted a proxified object?\n      if (oldValue) {\n        instance.parenthoodMap.delete(target[key]);\n        instance.disableTrapsForProxy(oldValue);\n        instance.proxifiedObjectsMap.delete(oldValue);\n      }\n    } else {\n      if (Array.isArray(target) && !Number.isInteger(+key.toString())) {\n        /* array props (as opposed to indices) don't emit any patches, to avoid needless `length` patches */\n        if (key != 'length') {\n          console.warn('JSONPatcherProxy noticed a non-integer prop was set for an array. This will not emit a patch');\n        }\n        return Reflect.set(target, key, newValue);\n      }\n      operation.op = 'add';\n      if (target.hasOwnProperty(key)) {\n        if (typeof target[key] !== 'undefined' || Array.isArray(target)) {\n          operation.op = 'replace'; // setting `undefined` array elements is a `replace` op\n        }\n      }\n      operation.value = newValue;\n    }\n    operation.oldValue = target[key];\n    var reflectionResult = Reflect.set(target, key, newValue);\n    instance.defaultCallback(operation);\n    return reflectionResult;\n  }\n  /**\n   * A callback to be used as th proxy delete trap callback.\n   * It updates parenthood map if needed, calls default callbacks with the changes occurred.\n   * @param {JSONPatcherProxy} instance JSONPatcherProxy instance\n   * @param {Object} target the effected object\n   * @param {String} key the effected property's name\n   */\n  function deleteTrap(instance, target, key) {\n    if (typeof target[key] !== 'undefined') {\n      var parentPath = findObjectPath(instance, target);\n      var destinationPropKey = parentPath + '/' + escapePathComponent(key);\n\n      var revokableProxyInstance = instance.proxifiedObjectsMap.get(target[key]);\n\n      if (revokableProxyInstance) {\n        if (revokableProxyInstance.inherited) {\n          /*\n            this is an inherited proxy (an already proxified object that was moved around),\n            we shouldn't revoke it, because even though it was removed from path1, it is still used in path2.\n            And we know that because we mark moved proxies with `inherited` flag when we move them\n             it is a good idea to remove this flag if we come across it here, in deleteProperty trap.\n            We DO want to revoke the proxy if it was removed again.\n          */\n          revokableProxyInstance.inherited = false;\n        } else {\n          instance.parenthoodMap.delete(revokableProxyInstance.originalObject);\n          instance.disableTrapsForProxy(revokableProxyInstance);\n          instance.proxifiedObjectsMap.delete(target[key]);\n        }\n      }\n      var reflectionResult = Reflect.deleteProperty(target, key);\n\n      instance.defaultCallback({\n        op: 'remove',\n        path: destinationPropKey\n      });\n\n      return reflectionResult;\n    }\n  }\n  /* pre-define resume and pause functions to enhance constructors performance */\n  function resume() {\n    var _this = this;\n\n    this.defaultCallback = function (operation) {\n      _this.isRecording && _this.patches.push(operation);\n      _this.userCallback && _this.userCallback(operation);\n    };\n    this.isObserving = true;\n  }\n  function pause() {\n    this.defaultCallback = function () {};\n    this.isObserving = false;\n  }\n  /**\n   * Creates an instance of JSONPatcherProxy around your object of interest `root`.\n   * @param {Object|Array} root - the object you want to wrap\n   * @param {Boolean} [showDetachedWarning = true] - whether to log a warning when a detached sub-object is modified @see {@link https://github.com/Palindrom/JSONPatcherProxy#detached-objects}\n   * @returns {JSONPatcherProxy}\n   * @constructor\n   */\n  function JSONPatcherProxy(root, showDetachedWarning) {\n    this.isProxifyingTreeNow = false;\n    this.isObserving = false;\n    this.proxifiedObjectsMap = new Map();\n    this.parenthoodMap = new Map();\n    // default to true\n    if (typeof showDetachedWarning !== 'boolean') {\n      showDetachedWarning = true;\n    }\n\n    this.showDetachedWarning = showDetachedWarning;\n    this.originalObject = root;\n    this.cachedProxy = null;\n    this.isRecording = false;\n    this.userCallback;\n    /**\n     * @memberof JSONPatcherProxy\n     * Restores callback back to the original one provided to `observe`.\n     */\n    this.resume = resume.bind(this);\n    /**\n     * @memberof JSONPatcherProxy\n     * Replaces your callback with a noop function.\n     */\n    this.pause = pause.bind(this);\n  }\n\n  JSONPatcherProxy.prototype.generateProxyAtPath = function (parent, obj, path) {\n    var _this2 = this;\n\n    if (!obj) {\n      return obj;\n    }\n    var traps = {\n      set: function set(target, key, value, receiver) {\n        return setTrap(_this2, target, key, value, receiver);\n      },\n      deleteProperty: function deleteProperty(target, key) {\n        return deleteTrap(_this2, target, key);\n      }\n    };\n    var revocableInstance = Proxy.revocable(obj, traps);\n    // cache traps object to disable them later.\n    revocableInstance.trapsInstance = traps;\n    revocableInstance.originalObject = obj;\n\n    /* keeping track of object's parent and path */\n\n    this.parenthoodMap.set(obj, { parent: parent, path: path });\n\n    /* keeping track of all the proxies to be able to revoke them later */\n    this.proxifiedObjectsMap.set(revocableInstance.proxy, revocableInstance);\n    return revocableInstance.proxy;\n  };\n  // grab tree's leaves one by one, encapsulate them into a proxy and return\n  JSONPatcherProxy.prototype._proxifyObjectTreeRecursively = function (parent, root, path) {\n    for (var key in root) {\n      if (root.hasOwnProperty(key)) {\n        if (root[key] instanceof Object) {\n          root[key] = this._proxifyObjectTreeRecursively(root, root[key], escapePathComponent(key));\n        }\n      }\n    }\n    return this.generateProxyAtPath(parent, root, path);\n  };\n  // this function is for aesthetic purposes\n  JSONPatcherProxy.prototype.proxifyObjectTree = function (root) {\n    /*\n    while proxyifying object tree,\n    the proxyifying operation itself is being\n    recorded, which in an unwanted behavior,\n    that's why we disable recording through this\n    initial process;\n    */\n    this.pause();\n    this.isProxifyingTreeNow = true;\n    var proxifiedObject = this._proxifyObjectTreeRecursively(undefined, root, '');\n    /* OK you can record now */\n    this.isProxifyingTreeNow = false;\n    this.resume();\n    return proxifiedObject;\n  };\n  /**\n   * Turns a proxified object into a forward-proxy object; doesn't emit any patches anymore, like a normal object\n   * @param {Proxy} proxy - The target proxy object\n   */\n  JSONPatcherProxy.prototype.disableTrapsForProxy = function (revokableProxyInstance) {\n    if (this.showDetachedWarning) {\n      var message = \"You're accessing an object that is detached from the observedObject tree, see https://github.com/Palindrom/JSONPatcherProxy#detached-objects\";\n\n      revokableProxyInstance.trapsInstance.set = function (targetObject, propKey, newValue) {\n        console.warn(message);\n        return Reflect.set(targetObject, propKey, newValue);\n      };\n      revokableProxyInstance.trapsInstance.set = function (targetObject, propKey, newValue) {\n        console.warn(message);\n        return Reflect.set(targetObject, propKey, newValue);\n      };\n      revokableProxyInstance.trapsInstance.deleteProperty = function (targetObject, propKey) {\n        return Reflect.deleteProperty(targetObject, propKey);\n      };\n    } else {\n      delete revokableProxyInstance.trapsInstance.set;\n      delete revokableProxyInstance.trapsInstance.get;\n      delete revokableProxyInstance.trapsInstance.deleteProperty;\n    }\n  };\n  /**\n   * Proxifies the object that was passed in the constructor and returns a proxified mirror of it. Even though both parameters are options. You need to pass at least one of them.\n   * @param {Boolean} [record] - whether to record object changes to a later-retrievable patches array.\n   * @param {Function} [callback] - this will be synchronously called with every object change with a single `patch` as the only parameter.\n   */\n  JSONPatcherProxy.prototype.observe = function (record, callback) {\n    if (!record && !callback) {\n      throw new Error('You need to either record changes or pass a callback');\n    }\n    this.isRecording = record;\n    this.userCallback = callback;\n    /*\n    I moved it here to remove it from `unobserve`,\n    this will also make the constructor faster, why initiate\n    the array before they decide to actually observe with recording?\n    They might need to use only a callback.\n    */\n    if (record) this.patches = [];\n    this.cachedProxy = this.proxifyObjectTree(this.originalObject);\n    return this.cachedProxy;\n  };\n  /**\n   * If the observed is set to record, it will synchronously return all the patches and empties patches array.\n   */\n  JSONPatcherProxy.prototype.generate = function () {\n    if (!this.isRecording) {\n      throw new Error('You should set record to true to get patches later');\n    }\n    return this.patches.splice(0, this.patches.length);\n  };\n  /**\n   * Revokes all proxies rendering the observed object useless and good for garbage collection @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/revocable}\n   */\n  JSONPatcherProxy.prototype.revoke = function () {\n    this.proxifiedObjectsMap.forEach(function (el) {\n      el.revoke();\n    });\n  };\n  /**\n   * Disables all proxies' traps, turning the observed object into a forward-proxy object, like a normal object that you can modify silently.\n   */\n  JSONPatcherProxy.prototype.disableTraps = function () {\n    this.proxifiedObjectsMap.forEach(this.disableTrapsForProxy, this);\n  };\n  return JSONPatcherProxy;\n}();\n\nvar callbacks = [];\nvar nextTickCallback = [];\n\nfunction tick(fn, scope) {\n  callbacks.push({ fn: fn, scope: scope });\n}\n\nfunction fireTick() {\n  callbacks.forEach(function (item) {\n    item.fn.call(item.scope);\n  });\n\n  nextTickCallback.forEach(function (nextItem) {\n    nextItem.fn.call(nextItem.scope);\n  });\n  nextTickCallback.length = 0;\n}\n\nfunction nextTick(fn, scope) {\n  nextTickCallback.push({ fn: fn, scope: scope });\n}\n\nfunction observe(target) {\n  target.observe = true;\n}\n\nfunction proxyUpdate(ele) {\n  var timeout = null;\n  ele.data = new JSONPatcherProxy(ele.data).observe(false, function () {\n    if (ele._willUpdate) {\n      return;\n    }\n    if (ele.constructor.mergeUpdate) {\n      clearTimeout(timeout);\n\n      timeout = setTimeout(function () {\n        ele.update();\n        fireTick();\n      }, 0);\n    } else {\n      ele.update();\n      fireTick();\n    }\n  });\n}\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction define(name, ctor) {\n  if (ctor.is === 'WeElement') {\n    customElements.define(name, ctor);\n    options.mapping[name] = ctor;\n    if (ctor.use) {\n      ctor.updatePath = getPath(ctor.use);\n    } else if (ctor.data) {\n      //Compatible with older versions\n      ctor.updatePath = getUpdatePath(ctor.data);\n    }\n  } else {\n    var Element = function (_WeElement) {\n      _inherits(Element, _WeElement);\n\n      function Element() {\n        var _temp, _this, _ret;\n\n        _classCallCheck(this, Element);\n\n        for (var _len = arguments.length, args = Array(_len), key = 0; key < _len; key++) {\n          args[key] = arguments[key];\n        }\n\n        return _ret = (_temp = (_this = _possibleConstructorReturn(this, _WeElement.call.apply(_WeElement, [this].concat(args))), _this), _this._useId = 0, _this._useMap = {}, _this._preCss = null, _temp), _possibleConstructorReturn(_this, _ret);\n      }\n\n      Element.prototype.render = function render(props, data) {\n        return ctor.call(this, props, data);\n      };\n\n      Element.prototype.beforeRender = function beforeRender() {\n        this._useId = 0;\n      };\n\n      Element.prototype.useCss = function useCss(css) {\n        if (css === this._preCss) {\n          return;\n        }\n        this._preCss = css;\n        var style = this.shadowRoot.querySelector('style');\n        style && this.shadowRoot.removeChild(style);\n        this.shadowRoot.appendChild(cssToDom(css));\n      };\n\n      Element.prototype.useData = function useData(data) {\n        return this.use({ data: data });\n      };\n\n      Element.prototype.use = function use(option) {\n        var _this2 = this;\n\n        this._useId++;\n        var updater = function updater(newValue) {\n          var item = _this2._useMap[updater.id];\n\n          item.data = newValue;\n\n          _this2.update();\n          item.effect && item.effect();\n        };\n\n        updater.id = this._useId;\n        if (!this._isInstalled) {\n          this._useMap[this._useId] = option;\n          return [option.data, updater];\n        }\n\n        return [this._useMap[this._useId].data, updater];\n      };\n\n      Element.prototype.installed = function installed() {\n        this._isInstalled = true;\n      };\n\n      return Element;\n    }(WeElement);\n\n    customElements.define(name, Element);\n  }\n}\n\nfunction getPath(obj) {\n  if (Object.prototype.toString.call(obj) === '[object Array]') {\n    var result = {};\n    obj.forEach(function (item) {\n      if (typeof item === 'string') {\n        result[item] = true;\n      } else {\n        var tempPath = item[Object.keys(item)[0]];\n        if (typeof tempPath === 'string') {\n          result[tempPath] = true;\n        } else {\n          if (typeof tempPath[0] === 'string') {\n            result[tempPath[0]] = true;\n          } else {\n            tempPath[0].forEach(function (path) {\n              return result[path] = true;\n            });\n          }\n        }\n      }\n    });\n    return result;\n  } else {\n    return getUpdatePath(obj);\n  }\n}\n\nfunction getUpdatePath(data) {\n  var result = {};\n  dataToPath(data, result);\n  return result;\n}\n\nfunction dataToPath(data, result) {\n  Object.keys(data).forEach(function (key) {\n    result[key] = true;\n    var type = Object.prototype.toString.call(data[key]);\n    if (type === '[object Object]') {\n      _objToPath(data[key], key, result);\n    } else if (type === '[object Array]') {\n      _arrayToPath(data[key], key, result);\n    }\n  });\n}\n\nfunction _objToPath(data, path, result) {\n  Object.keys(data).forEach(function (key) {\n    result[path + '.' + key] = true;\n    delete result[path];\n    var type = Object.prototype.toString.call(data[key]);\n    if (type === '[object Object]') {\n      _objToPath(data[key], path + '.' + key, result);\n    } else if (type === '[object Array]') {\n      _arrayToPath(data[key], path + '.' + key, result);\n    }\n  });\n}\n\nfunction _arrayToPath(data, path, result) {\n  data.forEach(function (item, index) {\n    result[path + '[' + index + ']'] = true;\n    delete result[path];\n    var type = Object.prototype.toString.call(item);\n    if (type === '[object Object]') {\n      _objToPath(item, path + '[' + index + ']', result);\n    } else if (type === '[object Array]') {\n      _arrayToPath(item, path + '[' + index + ']', result);\n    }\n  });\n}\n\nfunction _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn$1(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits$1(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar id = 0;\n\nvar WeElement = function (_HTMLElement) {\n  _inherits$1(WeElement, _HTMLElement);\n\n  function WeElement() {\n    _classCallCheck$1(this, WeElement);\n\n    var _this = _possibleConstructorReturn$1(this, _HTMLElement.call(this));\n\n    _this.props = Object.assign(nProps(_this.constructor.props), _this.constructor.defaultProps);\n    _this.elementId = id++;\n    _this.data = {};\n    return _this;\n  }\n\n  WeElement.prototype.connectedCallback = function connectedCallback() {\n    var p = this.parentNode;\n    while (p && !this.store) {\n      this.store = p.store;\n      p = p.parentNode || p.host;\n    }\n    if (this.store) {\n      this.store.instances.push(this);\n    }\n\n    if (this.initUse) {\n      var use = this.initUse();\n      this._updatePath = getPath(use);\n      this.use = getUse(this.store.data, use);\n    } else {\n      this.constructor.use && (this.use = getUse(this.store.data, this.constructor.use));\n    }\n    this.beforeInstall();\n    !this._isInstalled && this.install();\n    this.afterInstall();\n    var shadowRoot;\n    if (!this.shadowRoot) {\n      shadowRoot = this.attachShadow({\n        mode: 'open'\n      });\n    } else {\n      shadowRoot = this.shadowRoot;\n      var fc;\n      while (fc = shadowRoot.firstChild) {\n        shadowRoot.removeChild(fc);\n      }\n    }\n    if (this.constructor.css) {\n      shadowRoot.appendChild(cssToDom(this.constructor.css));\n    } else if (this.css) {\n      shadowRoot.appendChild(cssToDom(typeof this.css === 'function' ? this.css() : this.css));\n    }\n    !this._isInstalled && this.beforeRender();\n    options.afterInstall && options.afterInstall(this);\n    if (this.constructor.observe) {\n      this.beforeObserve();\n      proxyUpdate(this);\n      this.observed();\n    }\n    this.attrsToProps();\n    this._host = diff(null, this.render(this.props, this.data, this.store), {}, false, null, false);\n    this.rendered();\n\n    if (this.props.css) {\n      this._customStyleElement = cssToDom(this.props.css);\n      this._customStyleContent = this.props.css;\n      shadowRoot.appendChild(this._customStyleElement);\n    }\n\n    if (isArray(this._host)) {\n      this._host.forEach(function (item) {\n        shadowRoot.appendChild(item);\n      });\n    } else {\n      shadowRoot.appendChild(this._host);\n    }\n    !this._isInstalled && this.installed();\n    this._isInstalled = true;\n  };\n\n  WeElement.prototype.disconnectedCallback = function disconnectedCallback() {\n    this.uninstall();\n    this._isInstalled = false;\n    if (this.store) {\n      for (var i = 0, len = this.store.instances.length; i < len; i++) {\n        if (this.store.instances[i] === this) {\n          this.store.instances.splice(i, 1);\n          break;\n        }\n      }\n    }\n  };\n\n  WeElement.prototype.update = function update() {\n    this._willUpdate = true;\n    this.beforeUpdate();\n    this.beforeRender();\n    //fix null !== undefined\n    if (this._customStyleContent != this.props.css) {\n      this._customStyleContent = this.props.css;\n      this._customStyleElement.textContent = this._customStyleContent;\n    }\n    this.attrsToProps();\n    this._host = diff(this._host, this.render(this.props, this.data, this.store), null, null, this.shadowRoot);\n    this._willUpdate = false;\n    this.updated();\n  };\n\n  WeElement.prototype.removeAttribute = function removeAttribute(key) {\n    _HTMLElement.prototype.removeAttribute.call(this, key);\n    this.update();\n  };\n\n  WeElement.prototype.setAttribute = function setAttribute(key, val) {\n    _HTMLElement.prototype.setAttribute.call(this, key, val);\n    this.update();\n  };\n\n  WeElement.prototype.pureRemoveAttribute = function pureRemoveAttribute(key) {\n    _HTMLElement.prototype.removeAttribute.call(this, key);\n  };\n\n  WeElement.prototype.pureSetAttribute = function pureSetAttribute(key, val) {\n    _HTMLElement.prototype.setAttribute.call(this, key, val);\n  };\n\n  WeElement.prototype.attrsToProps = function attrsToProps() {\n    var ele = this;\n    if (ele.normalizedNodeName) return;\n    ele.props['css'] = ele.getAttribute('css');\n    var attrs = this.constructor.propTypes;\n    if (!attrs) return;\n    Object.keys(attrs).forEach(function (key) {\n      var type = attrs[key];\n      var val = ele.getAttribute(hyphenate(key));\n      if (val !== null) {\n        switch (type) {\n          case String:\n            ele.props[key] = val;\n            break;\n          case Number:\n            ele.props[key] = Number(val);\n            break;\n          case Boolean:\n            ele.props[key] = true;\n            break;\n          case Object:\n            ele.props[key] = JSON.parse(val.replace(/(['\"])?([a-zA-Z0-9_]+)(['\"])?:([^\\/])/g, '\"$2\":$4').replace(/'([\\s\\S]*?)'/g, '\"$1\"'));\n            break;\n        }\n      }\n    });\n  };\n\n  WeElement.prototype.fire = function fire(name, data) {\n    this.dispatchEvent(new CustomEvent(name.toLowerCase(), { detail: data }));\n  };\n\n  WeElement.prototype.beforeInstall = function beforeInstall() {};\n\n  WeElement.prototype.install = function install() {};\n\n  WeElement.prototype.afterInstall = function afterInstall() {};\n\n  WeElement.prototype.installed = function installed() {};\n\n  WeElement.prototype.uninstall = function uninstall() {};\n\n  WeElement.prototype.beforeUpdate = function beforeUpdate() {};\n\n  WeElement.prototype.updated = function updated() {};\n\n  WeElement.prototype.beforeRender = function beforeRender() {};\n\n  WeElement.prototype.rendered = function rendered() {};\n\n  WeElement.prototype.receiveProps = function receiveProps() {};\n\n  WeElement.prototype.beforeObserve = function beforeObserve() {};\n\n  WeElement.prototype.observed = function observed() {};\n\n  return WeElement;\n}(HTMLElement);\n\nWeElement.is = 'WeElement';\n\nfunction render(vnode, parent, store) {\n  parent = typeof parent === 'string' ? document.querySelector(parent) : parent;\n  if (store) {\n    store.instances = [];\n    extendStoreUpate(store);\n\n    store.data = new JSONPatcherProxy(store.data).observe(false, function (patch) {\n      var patchs = {};\n      if (patch.op === 'remove') {\n        // fix arr splice\n        var kv = getArrayPatch(patch.path, store);\n        patchs[kv.k] = kv.v;\n\n        update(patchs, store);\n      } else {\n        var key = fixPath(patch.path);\n        patchs[key] = patch.value;\n\n        update(patchs, store);\n      }\n    });\n    parent.store = store;\n  }\n  return diff(null, vnode, {}, false, parent, false);\n}\n\nfunction update(patch, store) {\n  store.update(patch);\n}\n\nfunction extendStoreUpate(store) {\n  store.update = function (patch) {\n    var _this = this;\n\n    var updateAll = matchGlobalData(this.globalData, patch);\n\n    if (Object.keys(patch).length > 0) {\n      this.instances.forEach(function (instance) {\n        if (updateAll || _this.updateAll || instance.constructor.updatePath && needUpdate(patch, instance.constructor.updatePath) || instance._updatePath && needUpdate(patch, instance._updatePath)) {\n          //update this.use\n          if (instance.constructor.use) {\n            instance.use = getUse(store.data, instance.constructor.use);\n          } else if (instance.initUse) {\n            instance.use = getUse(store.data, instance.initUse());\n          }\n\n          instance.update();\n        }\n      });\n      this.onChange && this.onChange(patch);\n    }\n  };\n}\n\nfunction matchGlobalData(globalData, diffResult) {\n  if (!globalData) return false;\n  for (var keyA in diffResult) {\n    if (globalData.indexOf(keyA) > -1) {\n      return true;\n    }\n    for (var i = 0, len = globalData.length; i < len; i++) {\n      if (includePath(keyA, globalData[i])) {\n        return true;\n      }\n    }\n  }\n  return false;\n}\n\nfunction needUpdate(diffResult, updatePath) {\n  for (var keyA in diffResult) {\n    if (updatePath[keyA]) {\n      return true;\n    }\n    for (var keyB in updatePath) {\n      if (includePath(keyA, keyB)) {\n        return true;\n      }\n    }\n  }\n  return false;\n}\n\nfunction includePath(pathA, pathB) {\n  if (pathA.indexOf(pathB) === 0) {\n    var next = pathA.substr(pathB.length, 1);\n    if (next === '[' || next === '.') {\n      return true;\n    }\n  }\n  return false;\n}\n\nfunction fixPath(path) {\n  var mpPath = '';\n  var arr = path.replace('/', '').split('/');\n  arr.forEach(function (item, index) {\n    if (index) {\n      if (isNaN(Number(item))) {\n        mpPath += '.' + item;\n      } else {\n        mpPath += '[' + item + ']';\n      }\n    } else {\n      mpPath += item;\n    }\n  });\n  return mpPath;\n}\n\nfunction getArrayPatch(path, store) {\n  var arr = path.replace('/', '').split('/');\n  var current = store.data[arr[0]];\n  for (var i = 1, len = arr.length; i < len - 1; i++) {\n    current = current[arr[i]];\n  }\n  return { k: fixArrPath(path), v: current };\n}\n\nfunction fixArrPath(path) {\n  var mpPath = '';\n  var arr = path.replace('/', '').split('/');\n  var len = arr.length;\n  arr.forEach(function (item, index) {\n    if (index < len - 1) {\n      if (index) {\n        if (isNaN(Number(item))) {\n          mpPath += '.' + item;\n        } else {\n          mpPath += '[' + item + ']';\n        }\n      } else {\n        mpPath += item;\n      }\n    }\n  });\n  return mpPath;\n}\n\nfunction tag(name, pure) {\n  return function (target) {\n    target.pure = pure;\n    define(name, target);\n  };\n}\n\n/**\n * Clones the given VNode, optionally adding attributes/props and replacing its children.\n * @param {VNode} vnode\t\tThe virtual DOM element to clone\n * @param {Object} props\tAttributes/props to add when cloning\n * @param {VNode} rest\t\tAny additional arguments will be used as replacement children.\n */\nfunction cloneElement(vnode, props) {\n  return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nfunction getHost(ele) {\n  var p = ele.parentNode;\n  while (p) {\n    if (p.host) {\n      return p.host;\n    } else if (p.shadowRoot && p.shadowRoot.host) {\n      return p.shadowRoot.host;\n    } else {\n      p = p.parentNode;\n    }\n  }\n}\n\nfunction rpx(str) {\n  return str.replace(/([1-9]\\d*|0)(\\.\\d*)*rpx/g, function (a, b) {\n    return window.innerWidth * Number(b) / 750 + 'px';\n  });\n}\n\nfunction _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn$2(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits$2(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ModelView = function (_WeElement) {\n  _inherits$2(ModelView, _WeElement);\n\n  function ModelView() {\n    _classCallCheck$2(this, ModelView);\n\n    return _possibleConstructorReturn$2(this, _WeElement.apply(this, arguments));\n  }\n\n  ModelView.prototype.beforeInstall = function beforeInstall() {\n    this.data = this.vm.data;\n  };\n\n  ModelView.prototype.observed = function observed() {\n    this.vm.data = this.data;\n  };\n\n  return ModelView;\n}(WeElement);\n\nModelView.observe = true;\nModelView.mergeUpdate = false;\n\n/**\n * classNames based on https://github.com/JedWatson/classnames\n * by Jed Watson\n * Licensed under the MIT License\n * https://github.com/JedWatson/classnames/blob/master/LICENSE\n * modified by dntzhang\n */\n\nvar hasOwn = {}.hasOwnProperty;\n\nfunction classNames() {\n  var classes = [];\n\n  for (var i = 0; i < arguments.length; i++) {\n    var arg = arguments[i];\n    if (!arg) continue;\n\n    var argType = typeof arg;\n\n    if (argType === 'string' || argType === 'number') {\n      classes.push(arg);\n    } else if (Array.isArray(arg) && arg.length) {\n      var inner = classNames.apply(null, arg);\n      if (inner) {\n        classes.push(inner);\n      }\n    } else if (argType === 'object') {\n      for (var key in arg) {\n        if (hasOwn.call(arg, key) && arg[key]) {\n          classes.push(key);\n        }\n      }\n    }\n  }\n\n  return classes.join(' ');\n}\n\nfunction extractClass() {\n  var _Array$prototype$slic = Array.prototype.slice.call(arguments, 0),\n      props = _Array$prototype$slic[0],\n      args = _Array$prototype$slic.slice(1);\n\n  if (props.class) {\n    args.unshift(props.class);\n    delete props.class;\n  } else if (props.className) {\n    args.unshift(props.className);\n    delete props.className;\n  }\n  if (args.length > 0) {\n    return { class: classNames.apply(null, args) };\n  }\n}\n\nvar n=function(t,r,u,e){for(var p=1;p<r.length;p++){var s=r[p++],a=\"number\"==typeof s?u[s]:s;1===r[p]?e[0]=a:2===r[p]?(e[1]=e[1]||{})[r[++p]]=a:3===r[p]?e[1]=Object.assign(e[1]||{},a):e.push(r[p]?t.apply(null,n(t,a,u,[\"\",null])):a);}return e},t=function(n){for(var t,r,u=1,e=\"\",p=\"\",s=[0],a=function(n){1===u&&(n||(e=e.replace(/^\\s*\\n\\s*|\\s*\\n\\s*$/g,\"\")))?s.push(n||e,0):3===u&&(n||e)?(s.push(n||e,1), u=2):2===u&&\"...\"===e&&n?s.push(n,3):2===u&&e&&!n?s.push(!0,2,e):4===u&&r&&(s.push(n||e,2,r), r=\"\"), e=\"\";},f=0;f<n.length;f++){f&&(1===u&&a(), a(f));for(var h=0;h<n[f].length;h++)t=n[f][h], 1===u?\"<\"===t?(a(), s=[s], u=3):e+=t:p?t===p?p=\"\":e+=t:'\"'===t||\"'\"===t?p=t:\">\"===t?(a(), u=1):u&&(\"=\"===t?(u=4, r=e, e=\"\"):\"/\"===t?(a(), 3===u&&(s=s[0]), u=s, (s=s[0]).push(u,4), u=0):\" \"===t||\"\\t\"===t||\"\\n\"===t||\"\\r\"===t?(a(), u=2):e+=t);}return a(), s},r=\"function\"==typeof Map,u=r?new Map:{},e=r?function(n){var r=u.get(n);return r||u.set(n,r=t(n)), r}:function(n){for(var r=\"\",e=0;e<n.length;e++)r+=n[e].length+\"-\"+n[e];return u[r]||(u[r]=t(n))};function htm(t){var r=n(this,e(t),arguments,[]);return r.length>1?r:r[0]}\n\nvar html = htm.bind(h);\n\nfunction createRef() {\n  return {};\n}\n\nvar Component = WeElement;\nvar defineElement = define;\n\nvar omi = {\n  tag: tag,\n  WeElement: WeElement,\n  Component: Component,\n  render: render,\n  h: h,\n  createElement: h,\n  options: options,\n  define: define,\n  observe: observe,\n  cloneElement: cloneElement,\n  getHost: getHost,\n  rpx: rpx,\n  tick: tick,\n  nextTick: nextTick,\n  ModelView: ModelView,\n  defineElement: defineElement,\n  classNames: classNames,\n  extractClass: extractClass,\n  createRef: createRef,\n  html: html,\n  htm: htm\n};\n\noptions.root.Omi = omi;\noptions.root.omi = omi;\noptions.root.Omi.version = '6.3.4';\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (omi);\n\n//# sourceMappingURL=omi.esm.js.map\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/omi/dist/omi.esm.js?");
  
  /***/ }),
  
  /***/ "./node_modules/tslib/tslib.es6.js":
  /*!*****************************************!*\
    !*** ./node_modules/tslib/tslib.es6.js ***!
    \*****************************************/
  /*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__extends\", function() { return __extends; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__assign\", function() { return __assign; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__rest\", function() { return __rest; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__decorate\", function() { return __decorate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__param\", function() { return __param; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__metadata\", function() { return __metadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__awaiter\", function() { return __awaiter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__generator\", function() { return __generator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__exportStar\", function() { return __exportStar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__values\", function() { return __values; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__read\", function() { return __read; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__spread\", function() { return __spread; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__await\", function() { return __await; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncGenerator\", function() { return __asyncGenerator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncDelegator\", function() { return __asyncDelegator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncValues\", function() { return __asyncValues; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__makeTemplateObject\", function() { return __makeTemplateObject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__importStar\", function() { return __importStar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__importDefault\", function() { return __importDefault; });\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nfunction __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n            t[p[i]] = s[p[i]];\r\n    return t;\r\n}\r\n\r\nfunction __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nfunction __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nfunction __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nfunction __exportStar(m, exports) {\r\n    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nfunction __values(o) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n    if (m) return m.call(o);\r\n    return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n}\r\n\r\nfunction __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nfunction __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nfunction __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nfunction __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nfunction __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nfunction __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nfunction __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nfunction __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nfunction __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\n\n//# sourceURL=webpack:///./node_modules/tslib/tslib.es6.js?");
  
  /***/ }),
  
  /***/ "./node_modules/webpack/buildin/global.js":
  /*!***********************************!*\
    !*** (webpack)/buildin/global.js ***!
    \***********************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?");
  
  /***/ }),
  
  /***/ "./src/slider/index.scss":
  /*!*******************************!*\
    !*** ./src/slider/index.scss ***!
    \*******************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  eval("\n        var result = __webpack_require__(/*! !../../node_modules/css-loader!../../node_modules/sass-loader/lib/loader.js??ref--4-2!./index.scss */ \"./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js?!./src/slider/index.scss\");\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    \n\n//# sourceURL=webpack:///./src/slider/index.scss?");
  
  /***/ }),
  
  /***/ "./src/slider/index.tsx":
  /*!******************************!*\
    !*** ./src/slider/index.tsx ***!
    \******************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  eval("\nvar __extends = (this && this.__extends) || (function () {\n    var extendStatics = function (d, b) {\n        extendStatics = Object.setPrototypeOf ||\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n        return extendStatics(d, b);\n    };\n    return function (d, b) {\n        extendStatics(d, b);\n        function __() { this.constructor = d; }\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n})();\nvar __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            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\nvar css = __webpack_require__(/*! ./index.scss */ \"./src/slider/index.scss\");\nvar slider_1 = __webpack_require__(/*! @material/slider */ \"./node_modules/@material/slider/index.js\");\nvar Slider = /** @class */ (function (_super) {\n    __extends(Slider, _super);\n    function Slider() {\n        return _super !== null && _super.apply(this, arguments) || this;\n    }\n    Slider.prototype.installed = function () {\n        var _this = this;\n        var slider = new slider_1.MDCSlider(this.shadowRoot.querySelector('.mdc-slider'));\n        slider.listen('MDCSlider:change', function () {\n            _this.fire('change', { value: slider.value });\n        });\n    };\n    Slider.prototype.render = function (props) {\n        var count = (props.max - props.min) / props.step;\n        return (omi_1.h(\"div\", __assign({}, omi_1.extractClass(props, 'mdc-slider', {\n            'mdc-slider--discrete': props.discrete,\n            'mdc-slider--display-markers': props.displayMarkers\n        }), { tabIndex: 0, role: \"slider\", \"aria-valuemin\": props.min, \"data-step\": props.step, \"aria-valuemax\": props.max, \"aria-valuenow\": props.value, \"aria-label\": \"Select Value\", \"aria-disabled\": props.disabled }),\n            omi_1.h(\"div\", { class: \"mdc-slider__track-container\" },\n                omi_1.h(\"div\", { class: \"mdc-slider__track\" }),\n                props.displayMarkers && omi_1.h(\"div\", { class: \"mdc-slider__track-marker-container\" }, new Array(count).map(function (_) { return omi_1.h(\"div\", { class: \"mdc-slider__track-marker\" }); }))),\n            omi_1.h(\"div\", { class: \"mdc-slider__thumb-container\" },\n                props.discrete && omi_1.h(\"div\", { class: \"mdc-slider__pin\" },\n                    omi_1.h(\"span\", { class: \"mdc-slider__pin-value-marker\" })),\n                omi_1.h(\"svg\", { class: \"mdc-slider__thumb\", width: \"21\", height: \"21\" },\n                    omi_1.h(\"circle\", { cx: \"10.5\", cy: \"10.5\", r: \"7.875\" })),\n                omi_1.h(\"div\", { class: \"mdc-slider__focus-ring\" }))));\n    };\n    Slider.css = css;\n    Slider.defaultProps = {\n        value: 0,\n        step: 1,\n        min: 0,\n        max: 100\n    };\n    Slider.propTypes = {\n        discrete: Boolean,\n        value: Number,\n        disabled: Boolean,\n        min: Number,\n        max: Number,\n        step: Number\n    };\n    Slider = __decorate([\n        omi_1.tag('m-slider')\n    ], Slider);\n    return Slider;\n}(omi_1.WeElement));\nexports.default = Slider;\n\n\n//# sourceURL=webpack:///./src/slider/index.tsx?");
  
  /***/ })
  
  /******/ });