Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
home
/
puskom
/
mastur
/
brite
/
resources
/
customizer
/
//home/puskom/mastur/brite/resources/customizer/customizer.js
/******/ (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, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // 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 = 170); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports) { module.exports = /******/ (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 = "fb15"); /******/ }) /************************************************************************/ /******/ ({ /***/ "1eb2": /***/ (function(module, exports, __webpack_require__) { // This file is imported into lib/wc client bundles. if (typeof window !== 'undefined') { var i if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js$/))) { __webpack_require__.p = i[1] // eslint-disable-line } } /***/ }), /***/ "fb15": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js var setPublicPath = __webpack_require__("1eb2"); // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8ac48580-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SvgIcon.vue?vue&type=template&id=30190379& var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{class:_vm.clazz,style:(_vm.style),attrs:{"version":"1.1","viewBox":_vm.box},domProps:{"innerHTML":_vm._s(_vm.path)},on:{"click":_vm.onClick}})} var staticRenderFns = [] // CONCATENATED MODULE: ./src/components/SvgIcon.vue?vue&type=template&id=30190379& // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SvgIcon.vue?vue&type=script&lang=js& // // // // var icons = {}; var notLoadedIcons = []; var defaultWidth = ''; var defaultHeight = ''; var classPrefix = 'svg'; var isStroke = false; /* harmony default export */ var SvgIconvue_type_script_lang_js_ = ({ data: function data() { return { loaded: false }; }, props: { icon: String, name: String, width: { type: String, default: '' }, height: { type: String, default: '' }, scale: String, dir: String, fill: { type: Boolean, default: function _default() { return !isStroke; } }, color: String, original: { type: Boolean, default: false }, title: String }, computed: { clazz: function clazz() { var clazz = "".concat(classPrefix, "-icon"); if (this.fill) { clazz += " ".concat(classPrefix, "-fill"); } if (this.dir) { clazz += " ".concat(classPrefix, "-").concat(this.dir); } return clazz; }, iconName: function iconName() { return this.name || this.icon; }, iconData: function iconData() { var iconData = icons[this.iconName]; if (iconData || this.loaded) { return iconData; } return null; }, colors: function colors() { if (this.color) { return this.color.split(' '); } return []; }, path: function path() { var pathData = ''; if (this.iconData) { pathData = this.iconData.data; pathData = this.setTitle(pathData); // use original color if (this.original) { pathData = this.addOriginalColor(pathData); } if (this.colors.length > 0) { pathData = this.addColor(pathData); } } else { // if no iconData, push to notLoadedIcons notLoadedIcons.push({ name: this.iconName, component: this }); } return this.getValidPathData(pathData); }, box: function box() { var width = this.width || 16; var height = this.width || 16; if (this.iconData) { if (this.iconData.viewBox) { return this.iconData.viewBox; } return "0 0 ".concat(this.iconData.width, " ").concat(this.iconData.height); } return "0 0 ".concat(parseFloat(width), " ").concat(parseFloat(height)); }, style: function style() { var digitReg = /^\d+$/; var scale = Number(this.scale); var width; var height; // apply scale if (!isNaN(scale) && this.iconData) { width = Number(this.iconData.width) * scale + 'px'; height = Number(this.iconData.height) * scale + 'px'; } else { width = digitReg.test(this.width) ? this.width + 'px' : this.width || defaultWidth; height = digitReg.test(this.height) ? this.height + 'px' : this.height || defaultWidth; } var style = {}; if (width) { style.width = width; } if (height) { style.height = height; } return style; } }, created: function created() { if (icons[this.iconName]) { this.loaded = true; } }, methods: { addColor: function addColor(data) { var _this = this; var reg = /<(path|rect|circle|polygon|line|polyline|ellipse)\s/gi; var i = 0; return data.replace(reg, function (match) { var color = _this.colors[i++] || _this.colors[_this.colors.length - 1]; var fill = _this.fill; // if color is '_', ignore it if (color && color === '_') { return match; } // if color start with 'r-', reverse the fill value if (color && color.indexOf('r-') === 0) { fill = !fill; color = color.split('r-')[1]; } var style = fill ? 'fill' : 'stroke'; var reverseStyle = fill ? 'stroke' : 'fill'; return match + "".concat(style, "=\"").concat(color, "\" ").concat(reverseStyle, "=\"none\" "); }); }, addOriginalColor: function addOriginalColor(data) { var styleReg = /_fill="|_stroke="/gi; return data.replace(styleReg, function (styleName) { return styleName && styleName.slice(1); }); }, getValidPathData: function getValidPathData(pathData) { // If use original and colors, clear double fill or stroke if (this.original && this.colors.length > 0) { var reg = /<(path|rect|circle|polygon|line|polyline|ellipse)(\sfill|\sstroke)([="\w\s\.\-\+#\$\&>]+)(fill|stroke)/gi; pathData = pathData.replace(reg, function (match, p1, p2, p3, p4) { return "<".concat(p1).concat(p2).concat(p3, "_").concat(p4); }); } return pathData; }, setTitle: function setTitle(pathData) { if (this.title) { var title = this.title.replace(/\</gi, '<').replace(/>/gi, '>').replace(/&/g, '&'); return "<title>".concat(title, "</title>") + pathData; } return pathData; }, onClick: function onClick(e) { this.$emit('click', e); } }, install: function install(Vue) { var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var tagName = options.tagName || 'svgicon'; if (options.classPrefix) { classPrefix = options.classPrefix; } isStroke = !!options.isStroke; // default size options.defaultWidth && (defaultWidth = options.defaultWidth); options.defaultHeight && (defaultHeight = options.defaultHeight); Vue.component(tagName, this); }, // register icons register: function register(data) { var _loop = function _loop(name) { if (!icons[name]) { icons[name] = data[name]; } // check new register icon is not loaded, and set loaded to true notLoadedIcons = notLoadedIcons.filter(function (v, ix) { if (v.name === name) { v.component.$set(v.component, 'loaded', true); } return v.name !== name; }); }; for (var name in data) { _loop(name); } }, icons: icons }); // CONCATENATED MODULE: ./src/components/SvgIcon.vue?vue&type=script&lang=js& /* harmony default export */ var components_SvgIconvue_type_script_lang_js_ = (SvgIconvue_type_script_lang_js_); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } // CONCATENATED MODULE: ./src/components/SvgIcon.vue /* normalize component */ var component = normalizeComponent( components_SvgIconvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) component.options.__file = "SvgIcon.vue" /* harmony default export */ var SvgIcon = (component.exports); // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (SvgIcon); /***/ }) /******/ })["default"]; //# sourceMappingURL=svgicon.common.js.map /***/ }), /* 1 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return warning; }); /* harmony export (immutable) */ __webpack_exports__["d"] = format; /* harmony export (immutable) */ __webpack_exports__["e"] = isEmptyValue; /* unused harmony export isEmptyObject */ /* harmony export (immutable) */ __webpack_exports__["a"] = asyncMap; /* harmony export (immutable) */ __webpack_exports__["b"] = complementError; /* harmony export (immutable) */ __webpack_exports__["c"] = deepMerge; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(121); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof__ = __webpack_require__(24); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof__); var formatRegExp = /%[sdj%]/g; var warning = function warning() {}; // don't print warning message when in production env or node runtime if ("development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') { warning = function warning(type, errors) { if (typeof console !== 'undefined' && console.warn) { if (errors.every(function (e) { return typeof e === 'string'; })) { console.warn(type, errors); } } }; } function format() { for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } var i = 1; var f = args[0]; var len = args.length; if (typeof f === 'function') { return f.apply(null, args.slice(1)); } if (typeof f === 'string') { var str = String(f).replace(formatRegExp, function (x) { if (x === '%%') { return '%'; } if (i >= len) { return x; } switch (x) { case '%s': return String(args[i++]); case '%d': return Number(args[i++]); case '%j': try { return JSON.stringify(args[i++]); } catch (_) { return '[Circular]'; } break; default: return x; } }); for (var arg = args[i]; i < len; arg = args[++i]) { str += ' ' + arg; } return str; } return f; } function isNativeStringType(type) { return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern'; } function isEmptyValue(value, type) { if (value === undefined || value === null) { return true; } if (type === 'array' && Array.isArray(value) && !value.length) { return true; } if (isNativeStringType(type) && typeof value === 'string' && !value) { return true; } return false; } function isEmptyObject(obj) { return Object.keys(obj).length === 0; } function asyncParallelArray(arr, func, callback) { var results = []; var total = 0; var arrLength = arr.length; function count(errors) { results.push.apply(results, errors); total++; if (total === arrLength) { callback(results); } } arr.forEach(function (a) { func(a, count); }); } function asyncSerialArray(arr, func, callback) { var index = 0; var arrLength = arr.length; function next(errors) { if (errors && errors.length) { callback(errors); return; } var original = index; index = index + 1; if (original < arrLength) { func(arr[original], next); } else { callback([]); } } next([]); } function flattenObjArr(objArr) { var ret = []; Object.keys(objArr).forEach(function (k) { ret.push.apply(ret, objArr[k]); }); return ret; } function asyncMap(objArr, option, func, callback) { if (option.first) { var flattenArr = flattenObjArr(objArr); return asyncSerialArray(flattenArr, func, callback); } var firstFields = option.firstFields || []; if (firstFields === true) { firstFields = Object.keys(objArr); } var objArrKeys = Object.keys(objArr); var objArrLength = objArrKeys.length; var total = 0; var results = []; var next = function next(errors) { results.push.apply(results, errors); total++; if (total === objArrLength) { callback(results); } }; objArrKeys.forEach(function (key) { var arr = objArr[key]; if (firstFields.indexOf(key) !== -1) { asyncSerialArray(arr, func, next); } else { asyncParallelArray(arr, func, next); } }); } function complementError(rule) { return function (oe) { if (oe && oe.message) { oe.field = oe.field || rule.fullField; return oe; } return { message: oe, field: oe.field || rule.fullField }; }; } function deepMerge(target, source) { if (source) { for (var s in source) { if (source.hasOwnProperty(s)) { var value = source[s]; if ((typeof value === 'undefined' ? 'undefined' : __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof___default()(value)) === 'object' && __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof___default()(target[s]) === 'object') { target[s] = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, target[s], value); } else { target[s] = value; } } } } return target; } /***/ }), /* 2 */ /***/ (function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /***/ }), /* 3 */ /***/ (function(module, exports) { var core = module.exports = { version: '2.6.5' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { if (false) { module.exports = require('./vue.common.prod.js') } else { module.exports = __webpack_require__(173) } /***/ }), /* 5 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); var _maybeDeserialize = __webpack_require__(62); var _maybeDeserialize2 = _interopRequireDefault(_maybeDeserialize); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var api = wp.customize; var ColibriVueControl = function () { function ColibriVueControl() { _classCallCheck(this, ColibriVueControl); var control = this; api.controlConstructor[this.name()] = api.Control.extend({ ready: function ready() { var _this = this; this.Vue = _vue2.default; control.vueRegisterComponents(this.Vue); var vueControl = this.vueMount(); this.vueControl = vueControl; control.ready(this, vueControl); var settingRerenderBind = _.debounce(function () { if (_this.skipSettingBindCheck) { _this.skipSettingBindCheck = false; return; } _this.rerender(); }, 100); if (this.setting) { this.setting.bind(settingRerenderBind); } }, rerender: function rerender() { this.renderContent(); this.vueMount(); }, setValue: function setValue(value) { if (_.isObject(value) || _.isArray(value)) { value = encodeURIComponent(JSON.stringify(value)); } this.skipSettingBindCheck = true; this.setting.set(value); }, vueMount: function vueMount() { var _this2 = this; return new this.Vue({ delimiters: ['${', '}'], el: this.container.find('[data-name="vue-mount-point"]')[0], data: function data() { return control.vueData(_this2); }, methods: control.vueMethods(this, this.Vue), computed: control.vueComputed(this), watch: control.vueWatch(this), created: control.vueCreated(this), mounted: control.vueMounted(this) }); } }); } _createClass(ColibriVueControl, [{ key: 'ready', value: function ready(wpControl) {} }, { key: 'name', value: function name() { throw new TypeError("name function should be implemented"); } }, { key: 'getWpControlValue', value: function getWpControlValue(wpControl) { var value = (0, _maybeDeserialize2.default)(wpControl.setting.get()); if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object') { for (var key in value) { value[key] = parseFloat(value[key]) ? parseFloat(value[key]) : value[key]; } } return value; } }, { key: 'setWpControlValue', value: function setWpControlValue(wpControl, value) { return wpControl.setValue(value); } }, { key: 'vueRegisterComponents', value: function vueRegisterComponents(Vue) {} }, { key: 'registerComponent', value: function registerComponent(name, data) { var componentExists = name in _vue2.default.options.components; if (!componentExists) { _vue2.default.component(name, data); } } }, { key: 'vueData', value: function vueData(wpControl) { throw new TypeError("vueData function should be implemented"); } }, { key: 'vueMethods', value: function vueMethods(wpControl, Vue) { throw new TypeError("vueMethods function should be implemented"); } }, { key: 'vueComputed', value: function vueComputed(wpControl) {} }, { key: 'vueWatch', value: function vueWatch(wpControl) {} }, { key: 'vueCreated', value: function vueCreated(wpControl) {} }, { key: 'vueMounted', value: function vueMounted(wpControl) {} }]); return ColibriVueControl; }(); exports.default = ColibriVueControl; /***/ }), /* 6 */ /***/ (function(module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; /***/ }), /* 7 */ /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__(17); var IE8_DOM_DEFINE = __webpack_require__(47); var toPrimitive = __webpack_require__(30); var dP = Object.defineProperty; exports.f = __webpack_require__(8) ? Object.defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { return dP(O, P, Attributes); } catch (e) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /* 8 */ /***/ (function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__(14)(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 9 */ /***/ (function(module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__(57); var defined = __webpack_require__(29); module.exports = function (it) { return IObject(defined(it)); }; /***/ }), /* 10 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__required__ = __webpack_require__(122); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__whitespace__ = __webpack_require__(303); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__type__ = __webpack_require__(304); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__range__ = __webpack_require__(305); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__enum__ = __webpack_require__(306); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pattern__ = __webpack_require__(307); /* harmony default export */ __webpack_exports__["a"] = ({ required: __WEBPACK_IMPORTED_MODULE_0__required__["a" /* default */], whitespace: __WEBPACK_IMPORTED_MODULE_1__whitespace__["a" /* default */], type: __WEBPACK_IMPORTED_MODULE_2__type__["a" /* default */], range: __WEBPACK_IMPORTED_MODULE_3__range__["a" /* default */], 'enum': __WEBPACK_IMPORTED_MODULE_4__enum__["a" /* default */], pattern: __WEBPACK_IMPORTED_MODULE_5__pattern__["a" /* default */] }); /***/ }), /* 11 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(7); var createDesc = __webpack_require__(19); module.exports = __webpack_require__(8) ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }), /* 12 */ /***/ (function(module, exports, __webpack_require__) { var store = __webpack_require__(33)('wks'); var uid = __webpack_require__(21); var Symbol = __webpack_require__(2).Symbol; var USE_SYMBOL = typeof Symbol == 'function'; var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; $exports.store = store; /***/ }), /* 13 */ /***/ (function(module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }), /* 14 */ /***/ (function(module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (e) { return true; } }; /***/ }), /* 15 */ /***/ (function(module, exports) { /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file. // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. module.exports = function normalizeComponent ( rawScriptExports, compiledTemplate, functionalTemplate, injectStyles, scopeId, moduleIdentifier /* server only */ ) { var esModule var scriptExports = rawScriptExports = rawScriptExports || {} // ES6 modules interop var type = typeof rawScriptExports.default if (type === 'object' || type === 'function') { esModule = rawScriptExports scriptExports = rawScriptExports.default } // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (compiledTemplate) { options.render = compiledTemplate.render options.staticRenderFns = compiledTemplate.staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = injectStyles } if (hook) { var functional = options.functional var existing = functional ? options.render : options.beforeCreate if (!functional) { // inject component registration as beforeCreate hook options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } else { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file options.render = function renderWithStyleInjection (h, context) { hook.call(context) return existing(h, context) } } } return { esModule: esModule, exports: scriptExports, options: options } } /***/ }), /* 16 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(2); var core = __webpack_require__(3); var ctx = __webpack_require__(56); var hide = __webpack_require__(11); var has = __webpack_require__(6); var PROTOTYPE = 'prototype'; var $export = function (type, name, source) { var IS_FORCED = type & $export.F; var IS_GLOBAL = type & $export.G; var IS_STATIC = type & $export.S; var IS_PROTO = type & $export.P; var IS_BIND = type & $export.B; var IS_WRAP = type & $export.W; var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); var expProto = exports[PROTOTYPE]; var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; var key, own, out; if (IS_GLOBAL) source = name; for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; if (own && has(exports, key)) continue; // export native or passed out = own ? target[key] : source[key]; // prevent global pollution for namespaces exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] // bind timers to global for call from export context : IS_BIND && own ? ctx(out, global) // wrap global constructors for prevent change them in library : IS_WRAP && target[key] == out ? (function (C) { var F = function (a, b, c) { if (this instanceof C) { switch (arguments.length) { case 0: return new C(); case 1: return new C(a); case 2: return new C(a, b); } return new C(a, b, c); } return C.apply(this, arguments); }; F[PROTOTYPE] = C[PROTOTYPE]; return F; // make static versions for prototype methods })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% if (IS_PROTO) { (exports.virtual || (exports.virtual = {}))[key] = out; // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); } } }; // type bitmap $export.F = 1; // forced $export.G = 2; // global $export.S = 4; // static $export.P = 8; // proto $export.B = 16; // bind $export.W = 32; // wrap $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; /***/ }), /* 17 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; /***/ }), /* 18 */ /***/ (function(module, exports) { module.exports = true; /***/ }), /* 19 */ /***/ (function(module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }), /* 20 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = __webpack_require__(50); var enumBugKeys = __webpack_require__(34); module.exports = Object.keys || function keys(O) { return $keys(O, enumBugKeys); }; /***/ }), /* 21 */ /***/ (function(module, exports) { var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), /* 22 */ /***/ (function(module, exports) { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ // css base code, injected by the css-loader module.exports = function(useSourceMap) { var list = []; // return the list of modules as css string list.toString = function toString() { return this.map(function (item) { var content = cssWithMappingToString(item, useSourceMap); if(item[2]) { return "@media " + item[2] + "{" + content + "}"; } else { return content; } }).join(""); }; // import a list of modules into the list list.i = function(modules, mediaQuery) { if(typeof modules === "string") modules = [[null, modules, ""]]; var alreadyImportedModules = {}; for(var i = 0; i < this.length; i++) { var id = this[i][0]; if(typeof id === "number") alreadyImportedModules[id] = true; } for(i = 0; i < modules.length; i++) { var item = modules[i]; // skip already imported module // this implementation is not 100% perfect for weird media query combinations // when a module is imported multiple times with different media queries. // I hope this will never occur (Hey this way we have smaller bundles) if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { if(mediaQuery && !item[2]) { item[2] = mediaQuery; } else if(mediaQuery) { item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; } list.push(item); } } }; return list; }; function cssWithMappingToString(item, useSourceMap) { var content = item[1] || ''; var cssMapping = item[3]; if (!cssMapping) { return content; } if (useSourceMap && typeof btoa === 'function') { var sourceMapping = toComment(cssMapping); var sourceURLs = cssMapping.sources.map(function (source) { return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */' }); return [content].concat(sourceURLs).concat([sourceMapping]).join('\n'); } return [content].join('\n'); } // Adapted from convert-source-map (MIT) function toComment(sourceMap) { // eslint-disable-next-line no-undef var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))); var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64; return '/*# ' + data + ' */'; } /***/ }), /* 23 */ /***/ (function(module, exports, __webpack_require__) { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra Modified by Evan You @yyx990803 */ var hasDocument = typeof document !== 'undefined' if (typeof DEBUG !== 'undefined' && DEBUG) { if (!hasDocument) { throw new Error( 'vue-style-loader cannot be used in a non-browser environment. ' + "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment." ) } } var listToStyles = __webpack_require__(192) /* type StyleObject = { id: number; parts: Array<StyleObjectPart> } type StyleObjectPart = { css: string; media: string; sourceMap: ?string } */ var stylesInDom = {/* [id: number]: { id: number, refs: number, parts: Array<(obj?: StyleObjectPart) => void> } */} var head = hasDocument && (document.head || document.getElementsByTagName('head')[0]) var singletonElement = null var singletonCounter = 0 var isProduction = false var noop = function () {} var options = null var ssrIdKey = 'data-vue-ssr-id' // Force single-tag solution on IE6-9, which has a hard limit on the # of <style> // tags it will allow on a page var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase()) module.exports = function (parentId, list, _isProduction, _options) { isProduction = _isProduction options = _options || {} var styles = listToStyles(parentId, list) addStylesToDom(styles) return function update (newList) { var mayRemove = [] for (var i = 0; i < styles.length; i++) { var item = styles[i] var domStyle = stylesInDom[item.id] domStyle.refs-- mayRemove.push(domStyle) } if (newList) { styles = listToStyles(parentId, newList) addStylesToDom(styles) } else { styles = [] } for (var i = 0; i < mayRemove.length; i++) { var domStyle = mayRemove[i] if (domStyle.refs === 0) { for (var j = 0; j < domStyle.parts.length; j++) { domStyle.parts[j]() } delete stylesInDom[domStyle.id] } } } } function addStylesToDom (styles /* Array<StyleObject> */) { for (var i = 0; i < styles.length; i++) { var item = styles[i] var domStyle = stylesInDom[item.id] if (domStyle) { domStyle.refs++ for (var j = 0; j < domStyle.parts.length; j++) { domStyle.parts[j](item.parts[j]) } for (; j < item.parts.length; j++) { domStyle.parts.push(addStyle(item.parts[j])) } if (domStyle.parts.length > item.parts.length) { domStyle.parts.length = item.parts.length } } else { var parts = [] for (var j = 0; j < item.parts.length; j++) { parts.push(addStyle(item.parts[j])) } stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts } } } } function createStyleElement () { var styleElement = document.createElement('style') styleElement.type = 'text/css' head.appendChild(styleElement) return styleElement } function addStyle (obj /* StyleObjectPart */) { var update, remove var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]') if (styleElement) { if (isProduction) { // has SSR styles and in production mode. // simply do nothing. return noop } else { // has SSR styles but in dev mode. // for some reason Chrome can't handle source map in server-rendered // style tags - source maps in <style> only works if the style tag is // created and inserted dynamically. So we remove the server rendered // styles and inject new ones. styleElement.parentNode.removeChild(styleElement) } } if (isOldIE) { // use singleton mode for IE9. var styleIndex = singletonCounter++ styleElement = singletonElement || (singletonElement = createStyleElement()) update = applyToSingletonTag.bind(null, styleElement, styleIndex, false) remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true) } else { // use multi-style-tag mode in all other cases styleElement = createStyleElement() update = applyToTag.bind(null, styleElement) remove = function () { styleElement.parentNode.removeChild(styleElement) } } update(obj) return function updateStyle (newObj /* StyleObjectPart */) { if (newObj) { if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) { return } update(obj = newObj) } else { remove() } } } var replaceText = (function () { var textStore = [] return function (index, replacement) { textStore[index] = replacement return textStore.filter(Boolean).join('\n') } })() function applyToSingletonTag (styleElement, index, remove, obj) { var css = remove ? '' : obj.css if (styleElement.styleSheet) { styleElement.styleSheet.cssText = replaceText(index, css) } else { var cssNode = document.createTextNode(css) var childNodes = styleElement.childNodes if (childNodes[index]) styleElement.removeChild(childNodes[index]) if (childNodes.length) { styleElement.insertBefore(cssNode, childNodes[index]) } else { styleElement.appendChild(cssNode) } } } function applyToTag (styleElement, obj) { var css = obj.css var media = obj.media var sourceMap = obj.sourceMap if (media) { styleElement.setAttribute('media', media) } if (options.ssrId) { styleElement.setAttribute(ssrIdKey, obj.id) } if (sourceMap) { // https://developer.chrome.com/devtools/docs/javascript-debugging // this makes source maps inside style tags work properly in Chrome css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */' // http://stackoverflow.com/a/26603875 css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */' } if (styleElement.styleSheet) { styleElement.styleSheet.cssText = css } else { while (styleElement.firstChild) { styleElement.removeChild(styleElement.firstChild) } styleElement.appendChild(document.createTextNode(css)) } } /***/ }), /* 24 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _iterator = __webpack_require__(65); var _iterator2 = _interopRequireDefault(_iterator); var _symbol = __webpack_require__(80); var _symbol2 = _interopRequireDefault(_symbol); var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) { return typeof obj === "undefined" ? "undefined" : _typeof(obj); } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj); }; /***/ }), /* 25 */ /***/ (function(module, exports) { exports.f = {}.propertyIsEnumerable; /***/ }), /* 26 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.getStyle = exports.once = exports.off = exports.on = undefined; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* istanbul ignore next */ exports.hasClass = hasClass; exports.addClass = addClass; exports.removeClass = removeClass; exports.setStyle = setStyle; var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var isServer = _vue2.default.prototype.$isServer; var SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g; var MOZ_HACK_REGEXP = /^moz([A-Z])/; var ieVersion = isServer ? 0 : Number(document.documentMode); /* istanbul ignore next */ var trim = function trim(string) { return (string || '').replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, ''); }; /* istanbul ignore next */ var camelCase = function camelCase(name) { return name.replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) { return offset ? letter.toUpperCase() : letter; }).replace(MOZ_HACK_REGEXP, 'Moz$1'); }; /* istanbul ignore next */ var on = exports.on = function () { if (!isServer && document.addEventListener) { return function (element, event, handler) { if (element && event && handler) { element.addEventListener(event, handler, false); } }; } else { return function (element, event, handler) { if (element && event && handler) { element.attachEvent('on' + event, handler); } }; } }(); /* istanbul ignore next */ var off = exports.off = function () { if (!isServer && document.removeEventListener) { return function (element, event, handler) { if (element && event) { element.removeEventListener(event, handler, false); } }; } else { return function (element, event, handler) { if (element && event) { element.detachEvent('on' + event, handler); } }; } }(); /* istanbul ignore next */ var once = exports.once = function once(el, event, fn) { var listener = function listener() { if (fn) { fn.apply(this, arguments); } off(el, event, listener); }; on(el, event, listener); }; /* istanbul ignore next */ function hasClass(el, cls) { if (!el || !cls) return false; if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.'); if (el.classList) { return el.classList.contains(cls); } else { return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1; } }; /* istanbul ignore next */ function addClass(el, cls) { if (!el) return; var curClass = el.className; var classes = (cls || '').split(' '); for (var i = 0, j = classes.length; i < j; i++) { var clsName = classes[i]; if (!clsName) continue; if (el.classList) { el.classList.add(clsName); } else if (!hasClass(el, clsName)) { curClass += ' ' + clsName; } } if (!el.classList) { el.className = curClass; } }; /* istanbul ignore next */ function removeClass(el, cls) { if (!el || !cls) return; var classes = cls.split(' '); var curClass = ' ' + el.className + ' '; for (var i = 0, j = classes.length; i < j; i++) { var clsName = classes[i]; if (!clsName) continue; if (el.classList) { el.classList.remove(clsName); } else if (hasClass(el, clsName)) { curClass = curClass.replace(' ' + clsName + ' ', ' '); } } if (!el.classList) { el.className = trim(curClass); } }; /* istanbul ignore next */ var getStyle = exports.getStyle = ieVersion < 9 ? function (element, styleName) { if (isServer) return; if (!element || !styleName) return null; styleName = camelCase(styleName); if (styleName === 'float') { styleName = 'styleFloat'; } try { switch (styleName) { case 'opacity': try { return element.filters.item('alpha').opacity / 100; } catch (e) { return 1.0; } default: return element.style[styleName] || element.currentStyle ? element.currentStyle[styleName] : null; } } catch (e) { return element.style[styleName]; } } : function (element, styleName) { if (isServer) return; if (!element || !styleName) return null; styleName = camelCase(styleName); if (styleName === 'float') { styleName = 'cssFloat'; } try { var computed = document.defaultView.getComputedStyle(element, ''); return element.style[styleName] || computed ? computed[styleName] : null; } catch (e) { return element.style[styleName]; } }; /* istanbul ignore next */ function setStyle(element, styleName, value) { if (!element || !styleName) return; if ((typeof styleName === 'undefined' ? 'undefined' : _typeof(styleName)) === 'object') { for (var prop in styleName) { if (styleName.hasOwnProperty(prop)) { setStyle(element, prop, styleName[prop]); } } } else { styleName = camelCase(styleName); if (styleName === 'opacity' && ieVersion < 9) { element.style.filter = isNaN(value) ? '' : 'alpha(opacity=' + value * 100 + ')'; } else { element.style[styleName] = value; } } }; /***/ }), /* 27 */ /***/ (function(module, exports) { var g; // This works in non-strict mode g = (function() { return this; })(); try { // This works if eval is allowed (see CSP) g = g || Function("return this")() || (1,eval)("this"); } catch(e) { // This works if the window reference is available if(typeof window === "object") g = window; } // g can still be undefined, but nothing to do about it... // We return undefined, instead of nothing here, so it's // easier to handle this case. if(!global) { ...} module.exports = g; /***/ }), /* 28 */ /***/ (function(module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil; var floor = Math.floor; module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; /***/ }), /* 29 */ /***/ (function(module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; /***/ }), /* 30 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__(13); // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { if (!isObject(it)) return it; var fn, val; if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }), /* 31 */ /***/ (function(module, exports) { module.exports = {}; /***/ }), /* 32 */ /***/ (function(module, exports, __webpack_require__) { var shared = __webpack_require__(33)('keys'); var uid = __webpack_require__(21); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); }; /***/ }), /* 33 */ /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__(3); var global = __webpack_require__(2); var SHARED = '__core-js_shared__'; var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: core.version, mode: __webpack_require__(18) ? 'pure' : 'global', copyright: '© 2019 Denis Pushkarev (zloirock.ru)' }); /***/ }), /* 34 */ /***/ (function(module, exports) { // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); /***/ }), /* 35 */ /***/ (function(module, exports, __webpack_require__) { var def = __webpack_require__(7).f; var has = __webpack_require__(6); var TAG = __webpack_require__(12)('toStringTag'); module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); }; /***/ }), /* 36 */ /***/ (function(module, exports, __webpack_require__) { exports.f = __webpack_require__(12); /***/ }), /* 37 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(2); var core = __webpack_require__(3); var LIBRARY = __webpack_require__(18); var wksExt = __webpack_require__(36); var defineProperty = __webpack_require__(7).f; module.exports = function (name) { var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); }; /***/ }), /* 38 */ /***/ (function(module, exports, __webpack_require__) { /*! * domready (c) Dustin Diaz 2014 - License MIT */ !function (name, definition) { if (true) module.exports = definition() else if (typeof define == 'function' && typeof define.amd == 'object') define(definition) else this[name] = definition() }('domready', function () { var fns = [], listener , doc = document , hack = doc.documentElement.doScroll , domContentLoaded = 'DOMContentLoaded' , loaded = (hack ? /^loaded|^c/ : /^loaded|^i|^c/).test(doc.readyState) if (!loaded) doc.addEventListener(domContentLoaded, listener = function () { doc.removeEventListener(domContentLoaded, listener) loaded = 1 while (listener = fns.shift()) listener() }) return function (fn) { loaded ? setTimeout(fn, 0) : fns.push(fn) } }); /***/ }), /* 39 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.isEdge = exports.isIE = exports.coerceTruthyValueToArray = exports.arrayFind = exports.arrayFindIndex = exports.escapeRegexpString = exports.valueEquals = exports.generateId = exports.getValueByPath = undefined; exports.noop = noop; exports.hasOwn = hasOwn; exports.toObject = toObject; exports.getPropByPath = getPropByPath; var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var hasOwnProperty = Object.prototype.hasOwnProperty; function noop() {}; function hasOwn(obj, key) { return hasOwnProperty.call(obj, key); }; function extend(to, _from) { for (var key in _from) { to[key] = _from[key]; } return to; }; function toObject(arr) { var res = {}; for (var i = 0; i < arr.length; i++) { if (arr[i]) { extend(res, arr[i]); } } return res; }; var getValueByPath = exports.getValueByPath = function getValueByPath(object, prop) { prop = prop || ''; var paths = prop.split('.'); var current = object; var result = null; for (var i = 0, j = paths.length; i < j; i++) { var path = paths[i]; if (!current) break; if (i === j - 1) { result = current[path]; break; } current = current[path]; } return result; }; function getPropByPath(obj, path, strict) { var tempObj = obj; path = path.replace(/\[(\w+)\]/g, '.$1'); path = path.replace(/^\./, ''); var keyArr = path.split('.'); var i = 0; for (var len = keyArr.length; i < len - 1; ++i) { if (!tempObj && !strict) break; var key = keyArr[i]; if (key in tempObj) { tempObj = tempObj[key]; } else { if (strict) { throw new Error('please transfer a valid prop path to form item!'); } break; } } return { o: tempObj, k: keyArr[i], v: tempObj ? tempObj[keyArr[i]] : null }; }; var generateId = exports.generateId = function generateId() { return Math.floor(Math.random() * 10000); }; var valueEquals = exports.valueEquals = function valueEquals(a, b) { // see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript if (a === b) return true; if (!(a instanceof Array)) return false; if (!(b instanceof Array)) return false; if (a.length !== b.length) return false; for (var i = 0; i !== a.length; ++i) { if (a[i] !== b[i]) return false; } return true; }; var escapeRegexpString = exports.escapeRegexpString = function escapeRegexpString() { var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&'); }; // TODO: use native Array.find, Array.findIndex when IE support is dropped var arrayFindIndex = exports.arrayFindIndex = function arrayFindIndex(arr, pred) { for (var i = 0; i !== arr.length; ++i) { if (pred(arr[i])) { return i; } } return -1; }; var arrayFind = exports.arrayFind = function arrayFind(arr, pred) { var idx = arrayFindIndex(arr, pred); return idx !== -1 ? arr[idx] : undefined; }; // coerce truthy value to array var coerceTruthyValueToArray = exports.coerceTruthyValueToArray = function coerceTruthyValueToArray(val) { if (Array.isArray(val)) { return val; } else if (val) { return [val]; } else { return []; } }; var isIE = exports.isIE = function isIE() { return !_vue2.default.prototype.$isServer && !isNaN(Number(document.documentMode)); }; var isEdge = exports.isEdge = function isEdge() { return !_vue2.default.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1; }; /***/ }), /* 40 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = __webpack_require__(17); var dPs = __webpack_require__(71); var enumBugKeys = __webpack_require__(34); var IE_PROTO = __webpack_require__(32)('IE_PROTO'); var Empty = function () { /* empty */ }; var PROTOTYPE = 'prototype'; // Create object with fake `null` prototype: use iframe Object with cleared prototype var createDict = function () { // Thrash, waste and sodomy: IE GC bug var iframe = __webpack_require__(48)('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; __webpack_require__(75).appendChild(iframe); iframe.src = 'javascript:'; // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); iframeDocument.close(); createDict = iframeDocument.F; while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; return createDict(); }; module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { Empty[PROTOTYPE] = anObject(O); result = new Empty(); Empty[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = createDict(); return Properties === undefined ? result : dPs(result, Properties); }; /***/ }), /* 41 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__(29); module.exports = function (it) { return Object(defined(it)); }; /***/ }), /* 42 */ /***/ (function(module, exports) { exports.f = Object.getOwnPropertySymbols; /***/ }), /* 43 */, /* 44 */, /* 45 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; function _broadcast(componentName, eventName, params) { this.$children.forEach(function (child) { var name = child.$options.componentName; if (name === componentName) { child.$emit.apply(child, [eventName].concat(params)); } else { _broadcast.apply(child, [componentName, eventName].concat([params])); } }); } exports.default = { methods: { dispatch: function dispatch(componentName, eventName, params) { var parent = this.$parent || this.$root; var name = parent.$options.componentName; while (parent && (!name || name !== componentName)) { parent = parent.$parent; if (parent) { name = parent.$options.componentName; } } if (parent) { parent.$emit.apply(parent, [eventName].concat(params)); } }, broadcast: function broadcast(componentName, eventName, params) { _broadcast.call(this, componentName, eventName, params); } } }; /***/ }), /* 46 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var LIBRARY = __webpack_require__(18); var $export = __webpack_require__(16); var redefine = __webpack_require__(49); var hide = __webpack_require__(11); var Iterators = __webpack_require__(31); var $iterCreate = __webpack_require__(70); var setToStringTag = __webpack_require__(35); var getPrototypeOf = __webpack_require__(58); var ITERATOR = __webpack_require__(12)('iterator'); var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator'; var KEYS = 'keys'; var VALUES = 'values'; var returnThis = function () { return this; }; module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { $iterCreate(Constructor, NAME, next); var getMethod = function (kind) { if (!BUGGY && kind in proto) return proto[kind]; switch (kind) { case KEYS: return function keys() { return new Constructor(this, kind); }; case VALUES: return function values() { return new Constructor(this, kind); }; } return function entries() { return new Constructor(this, kind); }; }; var TAG = NAME + ' Iterator'; var DEF_VALUES = DEFAULT == VALUES; var VALUES_BUG = false; var proto = Base.prototype; var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; var $default = $native || getMethod(DEFAULT); var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; var methods, key, IteratorPrototype; // Fix native if ($anyNative) { IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true); // fix for some old engines if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); } } // fix Array#{values, @@iterator}.name in V8 / FF if (DEF_VALUES && $native && $native.name !== VALUES) { VALUES_BUG = true; $default = function values() { return $native.call(this); }; } // Define iterator if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { hide(proto, ITERATOR, $default); } // Plug for library Iterators[NAME] = $default; Iterators[TAG] = returnThis; if (DEFAULT) { methods = { values: DEF_VALUES ? $default : getMethod(VALUES), keys: IS_SET ? $default : getMethod(KEYS), entries: $entries }; if (FORCED) for (key in methods) { if (!(key in proto)) redefine(proto, key, methods[key]); } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); } return methods; }; /***/ }), /* 47 */ /***/ (function(module, exports, __webpack_require__) { module.exports = !__webpack_require__(8) && !__webpack_require__(14)(function () { return Object.defineProperty(__webpack_require__(48)('div'), 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 48 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); var document = __webpack_require__(2).document; // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement); module.exports = function (it) { return is ? document.createElement(it) : {}; }; /***/ }), /* 49 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(11); /***/ }), /* 50 */ /***/ (function(module, exports, __webpack_require__) { var has = __webpack_require__(6); var toIObject = __webpack_require__(9); var arrayIndexOf = __webpack_require__(72)(false); var IE_PROTO = __webpack_require__(32)('IE_PROTO'); module.exports = function (object, names) { var O = toIObject(object); var i = 0; var result = []; var key; for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); // Don't enum bug & hidden keys while (names.length > i) if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key); } return result; }; /***/ }), /* 51 */ /***/ (function(module, exports) { var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; /***/ }), /* 52 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) var $keys = __webpack_require__(50); var hiddenKeys = __webpack_require__(34).concat('length', 'prototype'); exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return $keys(O, hiddenKeys); }; /***/ }), /* 53 */ /***/ (function(module, exports, __webpack_require__) { var pIE = __webpack_require__(25); var createDesc = __webpack_require__(19); var toIObject = __webpack_require__(9); var toPrimitive = __webpack_require__(30); var has = __webpack_require__(6); var IE8_DOM_DEFINE = __webpack_require__(47); var gOPD = Object.getOwnPropertyDescriptor; exports.f = __webpack_require__(8) ? gOPD : function getOwnPropertyDescriptor(O, P) { O = toIObject(O); P = toPrimitive(P, true); if (IE8_DOM_DEFINE) try { return gOPD(O, P); } catch (e) { /* empty */ } if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); }; /***/ }), /* 54 */, /* 55 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.t = undefined; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _en = __webpack_require__(178); var _en2 = _interopRequireDefault(_en); var _locale = __webpack_require__(108); var _locale2 = _interopRequireDefault(_locale); var _locale3 = __webpack_require__(61); var _locale4 = _interopRequireDefault(_locale3); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _translate(translations, key) { var text = "__[" + key + "]__"; if (translations[key]) { text = translations[key]; } return text; } function translate(translations) { var $ = jQuery; var lang = $.extend(true, _en2.default, { el: { colorpicker: { confirm: _translate(translations, "OK"), clear: _translate(translations, "clear") }, messagebox: { confirm: _translate(translations, "OK") } }, colibri: { mediapicker: { selectitem: _translate(translations, "select_item"), selectimage: _translate(translations, "select_image") } } }); lang.colibri = $.extend(true, lang.colibri, translations); var validator = { get: function get(target, key) { if (_typeof(target[key]) === 'object' && target[key] !== null) { return new Proxy(target[key], validator); } else { if (!target[key]) { target[key] = _translate(translations, key); } return target[key]; } } }; if (window.Proxy) { return new Proxy(lang, validator); } else { return lang; } } var currentLang = _en2.default; function use(toTranslate) { currentLang = translate(toTranslate); _locale2.default.use(currentLang); _locale4.default.use(currentLang); } function t(path, options) { _locale2.default.use(currentLang); _locale4.default.use(currentLang); return _locale2.default.t(path, options); } exports.default = { t: t, use: use }; exports.t = t; /***/ }), /* 56 */ /***/ (function(module, exports, __webpack_require__) { // optional / simple context binding var aFunction = __webpack_require__(69); module.exports = function (fn, that, length) { aFunction(fn); if (that === undefined) return fn; switch (length) { case 1: return function (a) { return fn.call(that, a); }; case 2: return function (a, b) { return fn.call(that, a, b); }; case 3: return function (a, b, c) { return fn.call(that, a, b, c); }; } return function (/* ...args */) { return fn.apply(that, arguments); }; }; /***/ }), /* 57 */ /***/ (function(module, exports, __webpack_require__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__(51); // eslint-disable-next-line no-prototype-builtins module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }), /* 58 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = __webpack_require__(6); var toObject = __webpack_require__(41); var IE_PROTO = __webpack_require__(32)('IE_PROTO'); var ObjectProto = Object.prototype; module.exports = Object.getPrototypeOf || function (O) { O = toObject(O); if (has(O, IE_PROTO)) return O[IE_PROTO]; if (typeof O.constructor == 'function' && O instanceof O.constructor) { return O.constructor.prototype; } return O instanceof Object ? ObjectProto : null; }; /***/ }), /* 59 */, /* 60 */, /* 61 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.i18n = exports.use = exports.t = undefined; var _zhCN = __webpack_require__(182); var _zhCN2 = _interopRequireDefault(_zhCN); var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); var _deepmerge = __webpack_require__(109); var _deepmerge2 = _interopRequireDefault(_deepmerge); var _format = __webpack_require__(183); var _format2 = _interopRequireDefault(_format); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var format = (0, _format2.default)(_vue2.default); var lang = _zhCN2.default; var merged = false; var i18nHandler = function i18nHandler() { var vuei18n = Object.getPrototypeOf(this || _vue2.default).$t; if (typeof vuei18n === 'function' && !!_vue2.default.locale) { if (!merged) { merged = true; _vue2.default.locale(_vue2.default.config.lang, (0, _deepmerge2.default)(lang, _vue2.default.locale(_vue2.default.config.lang) || {}, { clone: true })); } return vuei18n.apply(this, arguments); } }; var t = exports.t = function t(path, options) { var value = i18nHandler.apply(this, arguments); if (value !== null && value !== undefined) return value; var array = path.split('.'); var current = lang; for (var i = 0, j = array.length; i < j; i++) { var property = array[i]; value = current[property]; if (i === j - 1) return format(value, options); if (!value) return ''; current = value; } return ''; }; var use = exports.use = function use(l) { lang = l || lang; }; var i18n = exports.i18n = function i18n(fn) { i18nHandler = fn || i18nHandler; }; exports.default = { use: use, t: t, i18n: i18n }; /***/ }), /* 62 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = maybe_deserialize; function maybe_deserialize(value) { if (_.isString(value)) { try { value = JSON.parse(decodeURIComponent(value)); } catch (e) {} } return value; } /***/ }), /* 63 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; if (false) { var hotEmitter = require("webpack/hot/emitter"); hotEmitter.on("webpackHotUpdate", function (currentHash) { document.querySelectorAll('link[href][rel=stylesheet]').forEach(function (link) { var url = new URL(link.href); url.searchParams.set('hash', Date.now()); link.href = link.href.replace(url.toString()); }); }); } /***/ }), /* 64 */, /* 65 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { "default": __webpack_require__(66), __esModule: true }; /***/ }), /* 66 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(67); __webpack_require__(76); module.exports = __webpack_require__(36).f('iterator'); /***/ }), /* 67 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $at = __webpack_require__(68)(true); // 21.1.3.27 String.prototype[@@iterator]() __webpack_require__(46)(String, 'String', function (iterated) { this._t = String(iterated); // target this._i = 0; // next index // 21.1.5.2.1 %StringIteratorPrototype%.next() }, function () { var O = this._t; var index = this._i; var point; if (index >= O.length) return { value: undefined, done: true }; point = $at(O, index); this._i += point.length; return { value: point, done: false }; }); /***/ }), /* 68 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(28); var defined = __webpack_require__(29); // true -> String#at // false -> String#codePointAt module.exports = function (TO_STRING) { return function (that, pos) { var s = String(defined(that)); var i = toInteger(pos); var l = s.length; var a, b; if (i < 0 || i >= l) return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; }; }; /***/ }), /* 69 */ /***/ (function(module, exports) { module.exports = function (it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; /***/ }), /* 70 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var create = __webpack_require__(40); var descriptor = __webpack_require__(19); var setToStringTag = __webpack_require__(35); var IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() __webpack_require__(11)(IteratorPrototype, __webpack_require__(12)('iterator'), function () { return this; }); module.exports = function (Constructor, NAME, next) { Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); setToStringTag(Constructor, NAME + ' Iterator'); }; /***/ }), /* 71 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(7); var anObject = __webpack_require__(17); var getKeys = __webpack_require__(20); module.exports = __webpack_require__(8) ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); var keys = getKeys(Properties); var length = keys.length; var i = 0; var P; while (length > i) dP.f(O, P = keys[i++], Properties[P]); return O; }; /***/ }), /* 72 */ /***/ (function(module, exports, __webpack_require__) { // false -> Array#indexOf // true -> Array#includes var toIObject = __webpack_require__(9); var toLength = __webpack_require__(73); var toAbsoluteIndex = __webpack_require__(74); module.exports = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIObject($this); var length = toLength(O.length); var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare if (IS_INCLUDES && el != el) while (length > index) { value = O[index++]; // eslint-disable-next-line no-self-compare if (value != value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (;length > index; index++) if (IS_INCLUDES || index in O) { if (O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; /***/ }), /* 73 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.15 ToLength var toInteger = __webpack_require__(28); var min = Math.min; module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; /***/ }), /* 74 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(28); var max = Math.max; var min = Math.min; module.exports = function (index, length) { index = toInteger(index); return index < 0 ? max(index + length, 0) : min(index, length); }; /***/ }), /* 75 */ /***/ (function(module, exports, __webpack_require__) { var document = __webpack_require__(2).document; module.exports = document && document.documentElement; /***/ }), /* 76 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(77); var global = __webpack_require__(2); var hide = __webpack_require__(11); var Iterators = __webpack_require__(31); var TO_STRING_TAG = __webpack_require__(12)('toStringTag'); var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + 'TextTrackList,TouchList').split(','); for (var i = 0; i < DOMIterables.length; i++) { var NAME = DOMIterables[i]; var Collection = global[NAME]; var proto = Collection && Collection.prototype; if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); Iterators[NAME] = Iterators.Array; } /***/ }), /* 77 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var addToUnscopables = __webpack_require__(78); var step = __webpack_require__(79); var Iterators = __webpack_require__(31); var toIObject = __webpack_require__(9); // 22.1.3.4 Array.prototype.entries() // 22.1.3.13 Array.prototype.keys() // 22.1.3.29 Array.prototype.values() // 22.1.3.30 Array.prototype[@@iterator]() module.exports = __webpack_require__(46)(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind // 22.1.5.2.1 %ArrayIteratorPrototype%.next() }, function () { var O = this._t; var kind = this._k; var index = this._i++; if (!O || index >= O.length) { this._t = undefined; return step(1); } if (kind == 'keys') return step(0, index); if (kind == 'values') return step(0, O[index]); return step(0, [index, O[index]]); }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) Iterators.Arguments = Iterators.Array; addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries'); /***/ }), /* 78 */ /***/ (function(module, exports) { module.exports = function () { /* empty */ }; /***/ }), /* 79 */ /***/ (function(module, exports) { module.exports = function (done, value) { return { value: value, done: !!done }; }; /***/ }), /* 80 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { "default": __webpack_require__(81), __esModule: true }; /***/ }), /* 81 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(82); __webpack_require__(87); __webpack_require__(88); __webpack_require__(89); module.exports = __webpack_require__(3).Symbol; /***/ }), /* 82 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // ECMAScript 6 symbols shim var global = __webpack_require__(2); var has = __webpack_require__(6); var DESCRIPTORS = __webpack_require__(8); var $export = __webpack_require__(16); var redefine = __webpack_require__(49); var META = __webpack_require__(83).KEY; var $fails = __webpack_require__(14); var shared = __webpack_require__(33); var setToStringTag = __webpack_require__(35); var uid = __webpack_require__(21); var wks = __webpack_require__(12); var wksExt = __webpack_require__(36); var wksDefine = __webpack_require__(37); var enumKeys = __webpack_require__(84); var isArray = __webpack_require__(85); var anObject = __webpack_require__(17); var isObject = __webpack_require__(13); var toIObject = __webpack_require__(9); var toPrimitive = __webpack_require__(30); var createDesc = __webpack_require__(19); var _create = __webpack_require__(40); var gOPNExt = __webpack_require__(86); var $GOPD = __webpack_require__(53); var $DP = __webpack_require__(7); var $keys = __webpack_require__(20); var gOPD = $GOPD.f; var dP = $DP.f; var gOPN = gOPNExt.f; var $Symbol = global.Symbol; var $JSON = global.JSON; var _stringify = $JSON && $JSON.stringify; var PROTOTYPE = 'prototype'; var HIDDEN = wks('_hidden'); var TO_PRIMITIVE = wks('toPrimitive'); var isEnum = {}.propertyIsEnumerable; var SymbolRegistry = shared('symbol-registry'); var AllSymbols = shared('symbols'); var OPSymbols = shared('op-symbols'); var ObjectProto = Object[PROTOTYPE]; var USE_NATIVE = typeof $Symbol == 'function'; var QObject = global.QObject; // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 var setSymbolDesc = DESCRIPTORS && $fails(function () { return _create(dP({}, 'a', { get: function () { return dP(this, 'a', { value: 7 }).a; } })).a != 7; }) ? function (it, key, D) { var protoDesc = gOPD(ObjectProto, key); if (protoDesc) delete ObjectProto[key]; dP(it, key, D); if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); } : dP; var wrap = function (tag) { var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); sym._k = tag; return sym; }; var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { return typeof it == 'symbol'; } : function (it) { return it instanceof $Symbol; }; var $defineProperty = function defineProperty(it, key, D) { if (it === ObjectProto) $defineProperty(OPSymbols, key, D); anObject(it); key = toPrimitive(key, true); anObject(D); if (has(AllSymbols, key)) { if (!D.enumerable) { if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); it[HIDDEN][key] = true; } else { if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; D = _create(D, { enumerable: createDesc(0, false) }); } return setSymbolDesc(it, key, D); } return dP(it, key, D); }; var $defineProperties = function defineProperties(it, P) { anObject(it); var keys = enumKeys(P = toIObject(P)); var i = 0; var l = keys.length; var key; while (l > i) $defineProperty(it, key = keys[i++], P[key]); return it; }; var $create = function create(it, P) { return P === undefined ? _create(it) : $defineProperties(_create(it), P); }; var $propertyIsEnumerable = function propertyIsEnumerable(key) { var E = isEnum.call(this, key = toPrimitive(key, true)); if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; }; var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { it = toIObject(it); key = toPrimitive(key, true); if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; var D = gOPD(it, key); if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; return D; }; var $getOwnPropertyNames = function getOwnPropertyNames(it) { var names = gOPN(toIObject(it)); var result = []; var i = 0; var key; while (names.length > i) { if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); } return result; }; var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { var IS_OP = it === ObjectProto; var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); var result = []; var i = 0; var key; while (names.length > i) { if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); } return result; }; // 19.4.1.1 Symbol([description]) if (!USE_NATIVE) { $Symbol = function Symbol() { if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); var tag = uid(arguments.length > 0 ? arguments[0] : undefined); var $set = function (value) { if (this === ObjectProto) $set.call(OPSymbols, value); if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; setSymbolDesc(this, tag, createDesc(1, value)); }; if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); return wrap(tag); }; redefine($Symbol[PROTOTYPE], 'toString', function toString() { return this._k; }); $GOPD.f = $getOwnPropertyDescriptor; $DP.f = $defineProperty; __webpack_require__(52).f = gOPNExt.f = $getOwnPropertyNames; __webpack_require__(25).f = $propertyIsEnumerable; __webpack_require__(42).f = $getOwnPropertySymbols; if (DESCRIPTORS && !__webpack_require__(18)) { redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); } wksExt.f = function (name) { return wrap(wks(name)); }; } $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); for (var es6Symbols = ( // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); $export($export.S + $export.F * !USE_NATIVE, 'Symbol', { // 19.4.2.1 Symbol.for(key) 'for': function (key) { return has(SymbolRegistry, key += '') ? SymbolRegistry[key] : SymbolRegistry[key] = $Symbol(key); }, // 19.4.2.5 Symbol.keyFor(sym) keyFor: function keyFor(sym) { if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; }, useSetter: function () { setter = true; }, useSimple: function () { setter = false; } }); $export($export.S + $export.F * !USE_NATIVE, 'Object', { // 19.1.2.2 Object.create(O [, Properties]) create: $create, // 19.1.2.4 Object.defineProperty(O, P, Attributes) defineProperty: $defineProperty, // 19.1.2.3 Object.defineProperties(O, Properties) defineProperties: $defineProperties, // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) getOwnPropertyDescriptor: $getOwnPropertyDescriptor, // 19.1.2.7 Object.getOwnPropertyNames(O) getOwnPropertyNames: $getOwnPropertyNames, // 19.1.2.8 Object.getOwnPropertySymbols(O) getOwnPropertySymbols: $getOwnPropertySymbols }); // 24.3.2 JSON.stringify(value [, replacer [, space]]) $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { var S = $Symbol(); // MS Edge converts symbol values to JSON as {} // WebKit converts symbol values to JSON as null // V8 throws on boxed symbols return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; })), 'JSON', { stringify: function stringify(it) { var args = [it]; var i = 1; var replacer, $replacer; while (arguments.length > i) args.push(arguments[i++]); $replacer = replacer = args[1]; if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined if (!isArray(replacer)) replacer = function (key, value) { if (typeof $replacer == 'function') value = $replacer.call(this, key, value); if (!isSymbol(value)) return value; }; args[1] = replacer; return _stringify.apply($JSON, args); } }); // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(11)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); // 19.4.3.5 Symbol.prototype[@@toStringTag] setToStringTag($Symbol, 'Symbol'); // 20.2.1.9 Math[@@toStringTag] setToStringTag(Math, 'Math', true); // 24.3.3 JSON[@@toStringTag] setToStringTag(global.JSON, 'JSON', true); /***/ }), /* 83 */ /***/ (function(module, exports, __webpack_require__) { var META = __webpack_require__(21)('meta'); var isObject = __webpack_require__(13); var has = __webpack_require__(6); var setDesc = __webpack_require__(7).f; var id = 0; var isExtensible = Object.isExtensible || function () { return true; }; var FREEZE = !__webpack_require__(14)(function () { return isExtensible(Object.preventExtensions({})); }); var setMeta = function (it) { setDesc(it, META, { value: { i: 'O' + ++id, // object ID w: {} // weak collections IDs } }); }; var fastKey = function (it, create) { // return primitive with prefix if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; if (!has(it, META)) { // can't set metadata to uncaught frozen object if (!isExtensible(it)) return 'F'; // not necessary to add metadata if (!create) return 'E'; // add missing metadata setMeta(it); // return object ID } return it[META].i; }; var getWeak = function (it, create) { if (!has(it, META)) { // can't set metadata to uncaught frozen object if (!isExtensible(it)) return true; // not necessary to add metadata if (!create) return false; // add missing metadata setMeta(it); // return hash weak collections IDs } return it[META].w; }; // add metadata on freeze-family methods calling var onFreeze = function (it) { if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); return it; }; var meta = module.exports = { KEY: META, NEED: false, fastKey: fastKey, getWeak: getWeak, onFreeze: onFreeze }; /***/ }), /* 84 */ /***/ (function(module, exports, __webpack_require__) { // all enumerable object keys, includes symbols var getKeys = __webpack_require__(20); var gOPS = __webpack_require__(42); var pIE = __webpack_require__(25); module.exports = function (it) { var result = getKeys(it); var getSymbols = gOPS.f; if (getSymbols) { var symbols = getSymbols(it); var isEnum = pIE.f; var i = 0; var key; while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); } return result; }; /***/ }), /* 85 */ /***/ (function(module, exports, __webpack_require__) { // 7.2.2 IsArray(argument) var cof = __webpack_require__(51); module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; }; /***/ }), /* 86 */ /***/ (function(module, exports, __webpack_require__) { // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window var toIObject = __webpack_require__(9); var gOPN = __webpack_require__(52).f; var toString = {}.toString; var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; var getWindowNames = function (it) { try { return gOPN(it); } catch (e) { return windowNames.slice(); } }; module.exports.f = function getOwnPropertyNames(it) { return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); }; /***/ }), /* 87 */ /***/ (function(module, exports) { /***/ }), /* 88 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(37)('asyncIterator'); /***/ }), /* 89 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(37)('observable'); /***/ }), /* 90 */, /* 91 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /** @global _ **/ _.mixin({ get: function get(obj, key) { var type = typeof key === "undefined" ? "undefined" : _typeof(key); if (type === 'string' || type === "number") { key = ("" + key).replace(/\[(.*?)\]/, /\[(.*?)\]/, function (m, key) { //handle case where [1] may occur return '.' + key.replace(/["']/g, /["']/g, ""); //strip quotes }).split('.'); } for (var i = 0, l = key.length; i < l; i++) { if (typeof obj !== 'undefined' && _.has(obj, key[i])) obj = obj[key[i]];else return undefined; } return obj; } }); /***/ }), /* 92 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 38); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports) { module.exports = __webpack_require__(26); /***/ }), /* 1 */ /***/ (function(module, exports) { module.exports = __webpack_require__(39); /***/ }), /* 2 */ /***/ (function(module, exports) { module.exports = __webpack_require__(45); /***/ }), /* 3 */ /***/ (function(module, exports) { module.exports = __webpack_require__(4); /***/ }), /* 4 */ /***/ (function(module, exports) { module.exports = __webpack_require__(93); /***/ }), /* 5 */ /***/ (function(module, exports) { module.exports = __webpack_require__(112); /***/ }), /* 6 */ /***/ (function(module, exports) { module.exports = __webpack_require__(94); /***/ }), /* 7 */ /***/ (function(module, exports) { module.exports = __webpack_require__(96); /***/ }), /* 8 */ /***/ (function(module, exports) { module.exports = __webpack_require__(113); /***/ }), /* 9 */ /***/ (function(module, exports) { module.exports = __webpack_require__(61); /***/ }), /* 10 */ /***/ (function(module, exports) { module.exports = __webpack_require__(114); /***/ }), /* 11 */ /***/ (function(module, exports) { module.exports = __webpack_require__(111); /***/ }), /* 12 */ /***/ (function(module, exports) { module.exports = __webpack_require__(97); /***/ }), /* 13 */ /***/ (function(module, exports) { module.exports = __webpack_require__(98); /***/ }), /* 14 */ /***/ (function(module, exports) { module.exports = __webpack_require__(277); /***/ }), /* 15 */ /***/ (function(module, exports) { module.exports = __webpack_require__(278); /***/ }), /* 16 */ /***/ (function(module, exports) { module.exports = __webpack_require__(116); /***/ }), /* 17 */ /***/ (function(module, exports) { module.exports = __webpack_require__(279); /***/ }), /* 18 */ /***/ (function(module, exports) { module.exports = __webpack_require__(117); /***/ }), /* 19 */ /***/ (function(module, exports) { module.exports = __webpack_require__(99); /***/ }), /* 20 */ /***/ (function(module, exports) { module.exports = __webpack_require__(280); /***/ }), /* 21 */ /***/ (function(module, exports) { module.exports = __webpack_require__(118); /***/ }), /* 22 */ /***/ (function(module, exports) { module.exports = __webpack_require__(119); /***/ }), /* 23 */ /***/ (function(module, exports) { module.exports = __webpack_require__(281); /***/ }), /* 24 */ /***/ (function(module, exports) { module.exports = __webpack_require__(282); /***/ }), /* 25 */ /***/ (function(module, exports) { module.exports = __webpack_require__(120); /***/ }), /* 26 */ /***/ (function(module, exports) { module.exports = __webpack_require__(95); /***/ }), /* 27 */ /***/ (function(module, exports) { module.exports = __webpack_require__(283); /***/ }), /* 28 */ /***/ (function(module, exports) { module.exports = __webpack_require__(284); /***/ }), /* 29 */ /***/ (function(module, exports) { module.exports = __webpack_require__(285); /***/ }), /* 30 */ /***/ (function(module, exports) { module.exports = __webpack_require__(115); /***/ }), /* 31 */ /***/ (function(module, exports) { module.exports = __webpack_require__(286); /***/ }), /* 32 */ /***/ (function(module, exports) { module.exports = __webpack_require__(287); /***/ }), /* 33 */ /***/ (function(module, exports) { module.exports = __webpack_require__(288); /***/ }), /* 34 */ /***/ (function(module, exports) { module.exports = __webpack_require__(289); /***/ }), /* 35 */ /***/ (function(module, exports) { module.exports = __webpack_require__(294); /***/ }), /* 36 */ /***/ (function(module, exports) { module.exports = __webpack_require__(296); /***/ }), /* 37 */ /***/ (function(module, exports) { module.exports = __webpack_require__(322); /***/ }), /* 38 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(39); /***/ }), /* 39 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/pager.vue?vue&type=template&id=7274f267& var pagervue_type_template_id_7274f267_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "ul", { staticClass: "el-pager", on: { click: _vm.onPagerClick } }, [ _vm.pageCount > 0 ? _c( "li", { staticClass: "number", class: { active: _vm.currentPage === 1, disabled: _vm.disabled } }, [_vm._v("1")] ) : _vm._e(), _vm.showPrevMore ? _c("li", { staticClass: "el-icon more btn-quickprev", class: [_vm.quickprevIconClass, { disabled: _vm.disabled }], on: { mouseenter: function($event) { _vm.onMouseenter("left") }, mouseleave: function($event) { _vm.quickprevIconClass = "el-icon-more" } } }) : _vm._e(), _vm._l(_vm.pagers, function(pager) { return _c( "li", { key: pager, staticClass: "number", class: { active: _vm.currentPage === pager, disabled: _vm.disabled } }, [_vm._v(_vm._s(pager))] ) }), _vm.showNextMore ? _c("li", { staticClass: "el-icon more btn-quicknext", class: [_vm.quicknextIconClass, { disabled: _vm.disabled }], on: { mouseenter: function($event) { _vm.onMouseenter("right") }, mouseleave: function($event) { _vm.quicknextIconClass = "el-icon-more" } } }) : _vm._e(), _vm.pageCount > 1 ? _c( "li", { staticClass: "number", class: { active: _vm.currentPage === _vm.pageCount, disabled: _vm.disabled } }, [_vm._v(_vm._s(_vm.pageCount))] ) : _vm._e() ], 2 ) } var staticRenderFns = [] pagervue_type_template_id_7274f267_render._withStripped = true // CONCATENATED MODULE: ./packages/pagination/src/pager.vue?vue&type=template&id=7274f267& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/pager.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var pagervue_type_script_lang_js_ = ({ name: 'ElPager', props: { currentPage: Number, pageCount: Number, pagerCount: Number, disabled: Boolean }, watch: { showPrevMore: function showPrevMore(val) { if (!val) this.quickprevIconClass = 'el-icon-more'; }, showNextMore: function showNextMore(val) { if (!val) this.quicknextIconClass = 'el-icon-more'; } }, methods: { onPagerClick: function onPagerClick(event) { var target = event.target; if (target.tagName === 'UL' || this.disabled) { return; } var newPage = Number(event.target.textContent); var pageCount = this.pageCount; var currentPage = this.currentPage; var pagerCountOffset = this.pagerCount - 2; if (target.className.indexOf('more') !== -1) { if (target.className.indexOf('quickprev') !== -1) { newPage = currentPage - pagerCountOffset; } else if (target.className.indexOf('quicknext') !== -1) { newPage = currentPage + pagerCountOffset; } } /* istanbul ignore if */ if (!isNaN(newPage)) { if (newPage < 1) { newPage = 1; } if (newPage > pageCount) { newPage = pageCount; } } if (newPage !== currentPage) { this.$emit('change', newPage); } }, onMouseenter: function onMouseenter(direction) { if (this.disabled) return; if (direction === 'left') { this.quickprevIconClass = 'el-icon-d-arrow-left'; } else { this.quicknextIconClass = 'el-icon-d-arrow-right'; } } }, computed: { pagers: function pagers() { var pagerCount = this.pagerCount; var halfPagerCount = (pagerCount - 1) / 2; var currentPage = Number(this.currentPage); var pageCount = Number(this.pageCount); var showPrevMore = false; var showNextMore = false; if (pageCount > pagerCount) { if (currentPage > pagerCount - halfPagerCount) { showPrevMore = true; } if (currentPage < pageCount - halfPagerCount) { showNextMore = true; } } var array = []; if (showPrevMore && !showNextMore) { var startPage = pageCount - (pagerCount - 2); for (var i = startPage; i < pageCount; i++) { array.push(i); } } else if (!showPrevMore && showNextMore) { for (var _i = 2; _i < pagerCount; _i++) { array.push(_i); } } else if (showPrevMore && showNextMore) { var offset = Math.floor(pagerCount / 2) - 1; for (var _i2 = currentPage - offset; _i2 <= currentPage + offset; _i2++) { array.push(_i2); } } else { for (var _i3 = 2; _i3 < pageCount; _i3++) { array.push(_i3); } } this.showPrevMore = showPrevMore; this.showNextMore = showNextMore; return array; } }, data: function data() { return { current: null, showPrevMore: false, showNextMore: false, quicknextIconClass: 'el-icon-more', quickprevIconClass: 'el-icon-more' }; } }); // CONCATENATED MODULE: ./packages/pagination/src/pager.vue?vue&type=script&lang=js& /* harmony default export */ var src_pagervue_type_script_lang_js_ = (pagervue_type_script_lang_js_); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } // CONCATENATED MODULE: ./packages/pagination/src/pager.vue /* normalize component */ var component = normalizeComponent( src_pagervue_type_script_lang_js_, pagervue_type_template_id_7274f267_render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/pagination/src/pager.vue" /* harmony default export */ var pager = (component.exports); // EXTERNAL MODULE: external "element-ui/lib/select" var select_ = __webpack_require__(31); var select_default = /*#__PURE__*/__webpack_require__.n(select_); // EXTERNAL MODULE: external "element-ui/lib/option" var option_ = __webpack_require__(32); var option_default = /*#__PURE__*/__webpack_require__.n(option_); // EXTERNAL MODULE: external "element-ui/lib/input" var input_ = __webpack_require__(7); var input_default = /*#__PURE__*/__webpack_require__.n(input_); // EXTERNAL MODULE: external "element-ui/lib/mixins/locale" var locale_ = __webpack_require__(5); var locale_default = /*#__PURE__*/__webpack_require__.n(locale_); // EXTERNAL MODULE: external "element-ui/lib/utils/util" var util_ = __webpack_require__(1); // CONCATENATED MODULE: ./packages/pagination/src/pagination.js /* harmony default export */ var pagination = ({ name: 'ElPagination', props: { pageSize: { type: Number, default: 10 }, small: Boolean, total: Number, pageCount: Number, pagerCount: { type: Number, validator: function validator(value) { return (value | 0) === value && value > 4 && value < 22 && value % 2 === 1; }, default: 7 }, currentPage: { type: Number, default: 1 }, layout: { default: 'prev, pager, next, jumper, ->, total' }, pageSizes: { type: Array, default: function _default() { return [10, 20, 30, 40, 50, 100]; } }, popperClass: String, prevText: String, nextText: String, background: Boolean, disabled: Boolean }, data: function data() { return { internalCurrentPage: 1, internalPageSize: 0, lastEmittedPage: -1, userChangePageSize: false }; }, render: function render(h) { var template = h('div', { 'class': ['el-pagination', { 'is-background': this.background, 'el-pagination--small': this.small }] }); var layout = this.layout || ''; if (!layout) return; var TEMPLATE_MAP = { prev: h('prev'), jumper: h('jumper'), pager: h('pager', { attrs: { currentPage: this.internalCurrentPage, pageCount: this.internalPageCount, pagerCount: this.pagerCount, disabled: this.disabled }, on: { 'change': this.handleCurrentChange } }), next: h('next'), sizes: h('sizes', { attrs: { pageSizes: this.pageSizes } }), slot: h('my-slot'), total: h('total') }; var components = layout.split(',').map(function (item) { return item.trim(); }); var rightWrapper = h('div', { 'class': 'el-pagination__rightwrapper' }); var haveRightWrapper = false; template.children = template.children || []; rightWrapper.children = rightWrapper.children || []; components.forEach(function (compo) { if (compo === '->') { haveRightWrapper = true; return; } if (!haveRightWrapper) { template.children.push(TEMPLATE_MAP[compo]); } else { rightWrapper.children.push(TEMPLATE_MAP[compo]); } }); if (haveRightWrapper) { template.children.unshift(rightWrapper); } return template; }, components: { MySlot: { render: function render(h) { return this.$parent.$slots.default ? this.$parent.$slots.default[0] : ''; } }, Prev: { render: function render(h) { return h( 'button', { attrs: { type: 'button', disabled: this.$parent.disabled || this.$parent.internalCurrentPage <= 1 }, 'class': 'btn-prev', on: { 'click': this.$parent.prev } }, [this.$parent.prevText ? h('span', [this.$parent.prevText]) : h('i', { 'class': 'el-icon el-icon-arrow-left' })] ); } }, Next: { render: function render(h) { return h( 'button', { attrs: { type: 'button', disabled: this.$parent.disabled || this.$parent.internalCurrentPage === this.$parent.internalPageCount || this.$parent.internalPageCount === 0 }, 'class': 'btn-next', on: { 'click': this.$parent.next } }, [this.$parent.nextText ? h('span', [this.$parent.nextText]) : h('i', { 'class': 'el-icon el-icon-arrow-right' })] ); } }, Sizes: { mixins: [locale_default.a], props: { pageSizes: Array }, watch: { pageSizes: { immediate: true, handler: function handler(newVal, oldVal) { if (Object(util_["valueEquals"])(newVal, oldVal)) return; if (Array.isArray(newVal)) { this.$parent.internalPageSize = newVal.indexOf(this.$parent.pageSize) > -1 ? this.$parent.pageSize : this.pageSizes[0]; } } } }, render: function render(h) { var _this = this; return h( 'span', { 'class': 'el-pagination__sizes' }, [h( 'el-select', { attrs: { value: this.$parent.internalPageSize, popperClass: this.$parent.popperClass || '', size: 'mini', disabled: this.$parent.disabled }, on: { 'input': this.handleChange } }, [this.pageSizes.map(function (item) { return h('el-option', { attrs: { value: item, label: item + _this.t('el.pagination.pagesize') } }); })] )] ); }, components: { ElSelect: select_default.a, ElOption: option_default.a }, methods: { handleChange: function handleChange(val) { if (val !== this.$parent.internalPageSize) { this.$parent.internalPageSize = val = parseInt(val, 10); this.$parent.userChangePageSize = true; this.$parent.$emit('update:pageSize', val); this.$parent.$emit('size-change', val); } } } }, Jumper: { mixins: [locale_default.a], components: { ElInput: input_default.a }, data: function data() { return { userInput: null }; }, watch: { '$parent.internalCurrentPage': function $parentInternalCurrentPage() { this.userInput = null; } }, methods: { handleKeyup: function handleKeyup(_ref) { var keyCode = _ref.keyCode, target = _ref.target; // Chrome, Safari, Firefox triggers change event on Enter // Hack for IE: https://github.com/ElemeFE/element/issues/11710 // Drop this method when we no longer supports IE if (keyCode === 13) { this.handleChange(target.value); } }, handleInput: function handleInput(value) { this.userInput = value; }, handleChange: function handleChange(value) { this.$parent.internalCurrentPage = this.$parent.getValidCurrentPage(value); this.$parent.emitChange(); this.userInput = null; } }, render: function render(h) { return h( 'span', { 'class': 'el-pagination__jump' }, [this.t('el.pagination.goto'), h('el-input', { 'class': 'el-pagination__editor is-in-pagination', attrs: { min: 1, max: this.$parent.internalPageCount, value: this.userInput !== null ? this.userInput : this.$parent.internalCurrentPage, type: 'number', disabled: this.$parent.disabled }, nativeOn: { 'keyup': this.handleKeyup }, on: { 'input': this.handleInput, 'change': this.handleChange } }), this.t('el.pagination.pageClassifier')] ); } }, Total: { mixins: [locale_default.a], render: function render(h) { return typeof this.$parent.total === 'number' ? h( 'span', { 'class': 'el-pagination__total' }, [this.t('el.pagination.total', { total: this.$parent.total })] ) : ''; } }, Pager: pager }, methods: { handleCurrentChange: function handleCurrentChange(val) { this.internalCurrentPage = this.getValidCurrentPage(val); this.userChangePageSize = true; this.emitChange(); }, prev: function prev() { if (this.disabled) return; var newVal = this.internalCurrentPage - 1; this.internalCurrentPage = this.getValidCurrentPage(newVal); this.$emit('prev-click', this.internalCurrentPage); this.emitChange(); }, next: function next() { if (this.disabled) return; var newVal = this.internalCurrentPage + 1; this.internalCurrentPage = this.getValidCurrentPage(newVal); this.$emit('next-click', this.internalCurrentPage); this.emitChange(); }, getValidCurrentPage: function getValidCurrentPage(value) { value = parseInt(value, 10); var havePageCount = typeof this.internalPageCount === 'number'; var resetValue = void 0; if (!havePageCount) { if (isNaN(value) || value < 1) resetValue = 1; } else { if (value < 1) { resetValue = 1; } else if (value > this.internalPageCount) { resetValue = this.internalPageCount; } } if (resetValue === undefined && isNaN(value)) { resetValue = 1; } else if (resetValue === 0) { resetValue = 1; } return resetValue === undefined ? value : resetValue; }, emitChange: function emitChange() { var _this2 = this; this.$nextTick(function () { if (_this2.internalCurrentPage !== _this2.lastEmittedPage || _this2.userChangePageSize) { _this2.$emit('current-change', _this2.internalCurrentPage); _this2.lastEmittedPage = _this2.internalCurrentPage; _this2.userChangePageSize = false; } }); } }, computed: { internalPageCount: function internalPageCount() { if (typeof this.total === 'number') { return Math.max(1, Math.ceil(this.total / this.internalPageSize)); } else if (typeof this.pageCount === 'number') { return Math.max(1, this.pageCount); } return null; } }, watch: { currentPage: { immediate: true, handler: function handler(val) { this.internalCurrentPage = this.getValidCurrentPage(val); } }, pageSize: { immediate: true, handler: function handler(val) { this.internalPageSize = isNaN(val) ? 10 : val; } }, internalCurrentPage: { immediate: true, handler: function handler(newVal) { this.$emit('update:currentPage', newVal); this.lastEmittedPage = -1; } }, internalPageCount: function internalPageCount(newVal) { /* istanbul ignore if */ var oldPage = this.internalCurrentPage; if (newVal > 0 && oldPage === 0) { this.internalCurrentPage = 1; } else if (oldPage > newVal) { this.internalCurrentPage = newVal === 0 ? 1 : newVal; this.userChangePageSize && this.emitChange(); } this.userChangePageSize = false; } } }); // CONCATENATED MODULE: ./packages/pagination/index.js /* istanbul ignore next */ pagination.install = function (Vue) { Vue.component(pagination.name, pagination); }; /* harmony default export */ var packages_pagination = (pagination); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/component.vue?vue&type=template&id=60140e62& var componentvue_type_template_id_60140e62_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "dialog-fade" }, on: { "after-enter": _vm.afterEnter, "after-leave": _vm.afterLeave } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-dialog__wrapper", on: { click: function($event) { if ($event.target !== $event.currentTarget) { return null } return _vm.handleWrapperClick($event) } } }, [ _c( "div", { ref: "dialog", staticClass: "el-dialog", class: [ { "is-fullscreen": _vm.fullscreen, "el-dialog--center": _vm.center }, _vm.customClass ], style: _vm.style, attrs: { role: "dialog", "aria-modal": "true", "aria-label": _vm.title || "dialog" } }, [ _c( "div", { staticClass: "el-dialog__header" }, [ _vm._t("title", [ _c("span", { staticClass: "el-dialog__title" }, [ _vm._v(_vm._s(_vm.title)) ]) ]), _vm.showClose ? _c( "button", { staticClass: "el-dialog__headerbtn", attrs: { type: "button", "aria-label": "Close" }, on: { click: _vm.handleClose } }, [ _c("i", { staticClass: "el-dialog__close el-icon el-icon-close" }) ] ) : _vm._e() ], 2 ), _vm.rendered ? _c( "div", { staticClass: "el-dialog__body" }, [_vm._t("default")], 2 ) : _vm._e(), _vm.$slots.footer ? _c( "div", { staticClass: "el-dialog__footer" }, [_vm._t("footer")], 2 ) : _vm._e() ] ) ] ) ] ) } var componentvue_type_template_id_60140e62_staticRenderFns = [] componentvue_type_template_id_60140e62_render._withStripped = true // CONCATENATED MODULE: ./packages/dialog/src/component.vue?vue&type=template&id=60140e62& // EXTERNAL MODULE: external "element-ui/lib/utils/popup" var popup_ = __webpack_require__(11); var popup_default = /*#__PURE__*/__webpack_require__.n(popup_); // EXTERNAL MODULE: external "element-ui/lib/mixins/migrating" var migrating_ = __webpack_require__(8); var migrating_default = /*#__PURE__*/__webpack_require__.n(migrating_); // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" var emitter_ = __webpack_require__(2); var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/component.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var componentvue_type_script_lang_js_ = ({ name: 'ElDialog', mixins: [popup_default.a, emitter_default.a, migrating_default.a], props: { title: { type: String, default: '' }, modal: { type: Boolean, default: true }, modalAppendToBody: { type: Boolean, default: true }, appendToBody: { type: Boolean, default: false }, lockScroll: { type: Boolean, default: true }, closeOnClickModal: { type: Boolean, default: true }, closeOnPressEscape: { type: Boolean, default: true }, showClose: { type: Boolean, default: true }, width: String, fullscreen: Boolean, customClass: { type: String, default: '' }, top: { type: String, default: '15vh' }, beforeClose: Function, center: { type: Boolean, default: false } }, data: function data() { return { closed: false }; }, watch: { visible: function visible(val) { var _this = this; if (val) { this.closed = false; this.$emit('open'); this.$el.addEventListener('scroll', this.updatePopper); this.$nextTick(function () { _this.$refs.dialog.scrollTop = 0; }); if (this.appendToBody) { document.body.appendChild(this.$el); } } else { this.$el.removeEventListener('scroll', this.updatePopper); if (!this.closed) this.$emit('close'); } } }, computed: { style: function style() { var style = {}; if (!this.fullscreen) { style.marginTop = this.top; if (this.width) { style.width = this.width; } } return style; } }, methods: { getMigratingConfig: function getMigratingConfig() { return { props: { 'size': 'size is removed.' } }; }, handleWrapperClick: function handleWrapperClick() { if (!this.closeOnClickModal) return; this.handleClose(); }, handleClose: function handleClose() { if (typeof this.beforeClose === 'function') { this.beforeClose(this.hide); } else { this.hide(); } }, hide: function hide(cancel) { if (cancel !== false) { this.$emit('update:visible', false); this.$emit('close'); this.closed = true; } }, updatePopper: function updatePopper() { this.broadcast('ElSelectDropdown', 'updatePopper'); this.broadcast('ElDropdownMenu', 'updatePopper'); }, afterEnter: function afterEnter() { this.$emit('opened'); }, afterLeave: function afterLeave() { this.$emit('closed'); } }, mounted: function mounted() { if (this.visible) { this.rendered = true; this.open(); if (this.appendToBody) { document.body.appendChild(this.$el); } } }, destroyed: function destroyed() { // if appendToBody is true, remove DOM node after destroy if (this.appendToBody && this.$el && this.$el.parentNode) { this.$el.parentNode.removeChild(this.$el); } } }); // CONCATENATED MODULE: ./packages/dialog/src/component.vue?vue&type=script&lang=js& /* harmony default export */ var src_componentvue_type_script_lang_js_ = (componentvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/dialog/src/component.vue /* normalize component */ var component_component = normalizeComponent( src_componentvue_type_script_lang_js_, componentvue_type_template_id_60140e62_render, componentvue_type_template_id_60140e62_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var component_api; } component_component.options.__file = "packages/dialog/src/component.vue" /* harmony default export */ var src_component = (component_component.exports); // CONCATENATED MODULE: ./packages/dialog/index.js /* istanbul ignore next */ src_component.install = function (Vue) { Vue.component(src_component.name, src_component); }; /* harmony default export */ var dialog = (src_component); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete.vue?vue&type=template&id=152f2ee6& var autocompletevue_type_template_id_152f2ee6_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.close, expression: "close" } ], staticClass: "el-autocomplete", attrs: { "aria-haspopup": "listbox", role: "combobox", "aria-expanded": _vm.suggestionVisible, "aria-owns": _vm.id } }, [ _c( "el-input", _vm._b( { ref: "input", on: { input: _vm.handleChange, focus: _vm.handleFocus, blur: _vm.handleBlur, clear: _vm.handleClear }, nativeOn: { keydown: [ function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "up", 38, $event.key, [ "Up", "ArrowUp" ]) ) { return null } $event.preventDefault() _vm.highlight(_vm.highlightedIndex - 1) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "down", 40, $event.key, [ "Down", "ArrowDown" ]) ) { return null } $event.preventDefault() _vm.highlight(_vm.highlightedIndex + 1) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } return _vm.handleKeyEnter($event) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab") ) { return null } return _vm.close($event) } ] } }, "el-input", [_vm.$props, _vm.$attrs], false ), [ _vm.$slots.prepend ? _c("template", { slot: "prepend" }, [_vm._t("prepend")], 2) : _vm._e(), _vm.$slots.append ? _c("template", { slot: "append" }, [_vm._t("append")], 2) : _vm._e(), _vm.$slots.prefix ? _c("template", { slot: "prefix" }, [_vm._t("prefix")], 2) : _vm._e(), _vm.$slots.suffix ? _c("template", { slot: "suffix" }, [_vm._t("suffix")], 2) : _vm._e() ], 2 ), _c( "el-autocomplete-suggestions", { ref: "suggestions", class: [_vm.popperClass ? _vm.popperClass : ""], attrs: { "visible-arrow": "", "popper-options": _vm.popperOptions, "append-to-body": _vm.popperAppendToBody, placement: _vm.placement, id: _vm.id } }, _vm._l(_vm.suggestions, function(item, index) { return _c( "li", { key: index, class: { highlighted: _vm.highlightedIndex === index }, attrs: { id: _vm.id + "-item-" + index, role: "option", "aria-selected": _vm.highlightedIndex === index }, on: { click: function($event) { _vm.select(item) } } }, [ _vm._t( "default", [ _vm._v("\n " + _vm._s(item[_vm.valueKey]) + "\n ") ], { item: item } ) ], 2 ) }), 0 ) ], 1 ) } var autocompletevue_type_template_id_152f2ee6_staticRenderFns = [] autocompletevue_type_template_id_152f2ee6_render._withStripped = true // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue?vue&type=template&id=152f2ee6& // EXTERNAL MODULE: external "throttle-debounce/debounce" var debounce_ = __webpack_require__(12); var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_); // EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside" var clickoutside_ = __webpack_require__(10); var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=template&id=cd10dcf0& var autocomplete_suggestionsvue_type_template_id_cd10dcf0_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "el-zoom-in-top" }, on: { "after-leave": _vm.doDestroy } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.showPopper, expression: "showPopper" } ], staticClass: "el-autocomplete-suggestion el-popper", class: { "is-loading": !_vm.parent.hideLoading && _vm.parent.loading }, style: { width: _vm.dropdownWidth }, attrs: { role: "region" } }, [ _c( "el-scrollbar", { attrs: { tag: "ul", "wrap-class": "el-autocomplete-suggestion__wrap", "view-class": "el-autocomplete-suggestion__list" } }, [ !_vm.parent.hideLoading && _vm.parent.loading ? _c("li", [_c("i", { staticClass: "el-icon-loading" })]) : _vm._t("default") ], 2 ) ], 1 ) ] ) } var autocomplete_suggestionsvue_type_template_id_cd10dcf0_staticRenderFns = [] autocomplete_suggestionsvue_type_template_id_cd10dcf0_render._withStripped = true // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=template&id=cd10dcf0& // EXTERNAL MODULE: external "element-ui/lib/utils/vue-popper" var vue_popper_ = __webpack_require__(4); var vue_popper_default = /*#__PURE__*/__webpack_require__.n(vue_popper_); // EXTERNAL MODULE: external "element-ui/lib/scrollbar" var scrollbar_ = __webpack_require__(18); var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // /* harmony default export */ var autocomplete_suggestionsvue_type_script_lang_js_ = ({ components: { ElScrollbar: scrollbar_default.a }, mixins: [vue_popper_default.a, emitter_default.a], componentName: 'ElAutocompleteSuggestions', data: function data() { return { parent: this.$parent, dropdownWidth: '' }; }, props: { options: { default: function _default() { return { gpuAcceleration: false }; } }, id: String }, methods: { select: function select(item) { this.dispatch('ElAutocomplete', 'item-click', item); } }, updated: function updated() { var _this = this; this.$nextTick(function (_) { _this.popperJS && _this.updatePopper(); }); }, mounted: function mounted() { this.$parent.popperElm = this.popperElm = this.$el; this.referenceElm = this.$parent.$refs.input.$refs.input; this.referenceList = this.$el.querySelector('.el-autocomplete-suggestion__list'); this.referenceList.setAttribute('role', 'listbox'); this.referenceList.setAttribute('id', this.id); }, created: function created() { var _this2 = this; this.$on('visible', function (val, inputWidth) { _this2.dropdownWidth = inputWidth + 'px'; _this2.showPopper = val; }); } }); // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=script&lang=js& /* harmony default export */ var src_autocomplete_suggestionsvue_type_script_lang_js_ = (autocomplete_suggestionsvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue /* normalize component */ var autocomplete_suggestions_component = normalizeComponent( src_autocomplete_suggestionsvue_type_script_lang_js_, autocomplete_suggestionsvue_type_template_id_cd10dcf0_render, autocomplete_suggestionsvue_type_template_id_cd10dcf0_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var autocomplete_suggestions_api; } autocomplete_suggestions_component.options.__file = "packages/autocomplete/src/autocomplete-suggestions.vue" /* harmony default export */ var autocomplete_suggestions = (autocomplete_suggestions_component.exports); // EXTERNAL MODULE: external "element-ui/lib/mixins/focus" var focus_ = __webpack_require__(19); var focus_default = /*#__PURE__*/__webpack_require__.n(focus_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var autocompletevue_type_script_lang_js_ = ({ name: 'ElAutocomplete', mixins: [emitter_default.a, focus_default()('input'), migrating_default.a], inheritAttrs: false, componentName: 'ElAutocomplete', components: { ElInput: input_default.a, ElAutocompleteSuggestions: autocomplete_suggestions }, directives: { Clickoutside: clickoutside_default.a }, props: { valueKey: { type: String, default: 'value' }, popperClass: String, popperOptions: Object, placeholder: String, clearable: { type: Boolean, default: false }, disabled: Boolean, name: String, size: String, value: String, maxlength: Number, minlength: Number, autofocus: Boolean, fetchSuggestions: Function, triggerOnFocus: { type: Boolean, default: true }, customItem: String, selectWhenUnmatched: { type: Boolean, default: false }, prefixIcon: String, suffixIcon: String, label: String, debounce: { type: Number, default: 300 }, placement: { type: String, default: 'bottom-start' }, hideLoading: Boolean, popperAppendToBody: { type: Boolean, default: true } }, data: function data() { return { activated: false, suggestions: [], loading: false, highlightedIndex: -1, suggestionDisabled: false }; }, computed: { suggestionVisible: function suggestionVisible() { var suggestions = this.suggestions; var isValidData = Array.isArray(suggestions) && suggestions.length > 0; return (isValidData || this.loading) && this.activated; }, id: function id() { return 'el-autocomplete-' + Object(util_["generateId"])(); } }, watch: { suggestionVisible: function suggestionVisible(val) { var $input = this.getInput(); if ($input) { this.broadcast('ElAutocompleteSuggestions', 'visible', [val, $input.offsetWidth]); } } }, methods: { getMigratingConfig: function getMigratingConfig() { return { props: { 'custom-item': 'custom-item is removed, use scoped slot instead.', 'props': 'props is removed, use value-key instead.' } }; }, getData: function getData(queryString) { var _this = this; if (this.suggestionDisabled) { return; } this.loading = true; this.fetchSuggestions(queryString, function (suggestions) { _this.loading = false; if (_this.suggestionDisabled) { return; } if (Array.isArray(suggestions)) { _this.suggestions = suggestions; } else { console.error('[Element Error][Autocomplete]autocomplete suggestions must be an array'); } }); }, handleChange: function handleChange(value) { this.$emit('input', value); this.suggestionDisabled = false; if (!this.triggerOnFocus && !value) { this.suggestionDisabled = true; this.suggestions = []; return; } this.debouncedGetData(value); }, handleFocus: function handleFocus(event) { this.activated = true; this.$emit('focus', event); if (this.triggerOnFocus) { this.debouncedGetData(this.value); } }, handleBlur: function handleBlur(event) { this.$emit('blur', event); }, handleClear: function handleClear() { this.activated = false; this.$emit('clear'); }, close: function close(e) { this.activated = false; }, handleKeyEnter: function handleKeyEnter(e) { var _this2 = this; if (this.suggestionVisible && this.highlightedIndex >= 0 && this.highlightedIndex < this.suggestions.length) { e.preventDefault(); this.select(this.suggestions[this.highlightedIndex]); } else if (this.selectWhenUnmatched) { this.$emit('select', { value: this.value }); this.$nextTick(function (_) { _this2.suggestions = []; _this2.highlightedIndex = -1; }); } }, select: function select(item) { var _this3 = this; this.$emit('input', item[this.valueKey]); this.$emit('select', item); this.$nextTick(function (_) { _this3.suggestions = []; _this3.highlightedIndex = -1; }); }, highlight: function highlight(index) { if (!this.suggestionVisible || this.loading) { return; } if (index < 0) { this.highlightedIndex = -1; return; } if (index >= this.suggestions.length) { index = this.suggestions.length - 1; } var suggestion = this.$refs.suggestions.$el.querySelector('.el-autocomplete-suggestion__wrap'); var suggestionList = suggestion.querySelectorAll('.el-autocomplete-suggestion__list li'); var highlightItem = suggestionList[index]; var scrollTop = suggestion.scrollTop; var offsetTop = highlightItem.offsetTop; if (offsetTop + highlightItem.scrollHeight > scrollTop + suggestion.clientHeight) { suggestion.scrollTop += highlightItem.scrollHeight; } if (offsetTop < scrollTop) { suggestion.scrollTop -= highlightItem.scrollHeight; } this.highlightedIndex = index; var $input = this.getInput(); $input.setAttribute('aria-activedescendant', this.id + '-item-' + this.highlightedIndex); }, getInput: function getInput() { return this.$refs.input.getInput(); } }, mounted: function mounted() { var _this4 = this; this.debouncedGetData = debounce_default()(this.debounce, this.getData); this.$on('item-click', function (item) { _this4.select(item); }); var $input = this.getInput(); $input.setAttribute('role', 'textbox'); $input.setAttribute('aria-autocomplete', 'list'); $input.setAttribute('aria-controls', 'id'); $input.setAttribute('aria-activedescendant', this.id + '-item-' + this.highlightedIndex); }, beforeDestroy: function beforeDestroy() { this.$refs.suggestions.$destroy(); } }); // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue?vue&type=script&lang=js& /* harmony default export */ var src_autocompletevue_type_script_lang_js_ = (autocompletevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue /* normalize component */ var autocomplete_component = normalizeComponent( src_autocompletevue_type_script_lang_js_, autocompletevue_type_template_id_152f2ee6_render, autocompletevue_type_template_id_152f2ee6_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var autocomplete_api; } autocomplete_component.options.__file = "packages/autocomplete/src/autocomplete.vue" /* harmony default export */ var autocomplete = (autocomplete_component.exports); // CONCATENATED MODULE: ./packages/autocomplete/index.js /* istanbul ignore next */ autocomplete.install = function (Vue) { Vue.component(autocomplete.name, autocomplete); }; /* harmony default export */ var packages_autocomplete = (autocomplete); // EXTERNAL MODULE: external "element-ui/lib/button" var button_ = __webpack_require__(15); var button_default = /*#__PURE__*/__webpack_require__.n(button_); // EXTERNAL MODULE: external "element-ui/lib/button-group" var button_group_ = __webpack_require__(33); var button_group_default = /*#__PURE__*/__webpack_require__.n(button_group_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown.vue?vue&type=script&lang=js& /* harmony default export */ var dropdownvue_type_script_lang_js_ = ({ name: 'ElDropdown', componentName: 'ElDropdown', mixins: [emitter_default.a, migrating_default.a], directives: { Clickoutside: clickoutside_default.a }, components: { ElButton: button_default.a, ElButtonGroup: button_group_default.a }, provide: function provide() { return { dropdown: this }; }, props: { trigger: { type: String, default: 'hover' }, type: String, size: { type: String, default: '' }, splitButton: Boolean, hideOnClick: { type: Boolean, default: true }, placement: { type: String, default: 'bottom-end' }, visibleArrow: { default: true }, showTimeout: { type: Number, default: 250 }, hideTimeout: { type: Number, default: 150 } }, data: function data() { return { timeout: null, visible: false, triggerElm: null, menuItems: null, menuItemsArray: null, dropdownElm: null, focusing: false, listId: 'dropdown-menu-' + Object(util_["generateId"])() }; }, computed: { dropdownSize: function dropdownSize() { return this.size || (this.$ELEMENT || {}).size; } }, mounted: function mounted() { this.$on('menu-item-click', this.handleMenuItemClick); this.initEvent(); this.initAria(); }, watch: { visible: function visible(val) { this.broadcast('ElDropdownMenu', 'visible', val); this.$emit('visible-change', val); }, focusing: function focusing(val) { var selfDefine = this.$el.querySelector('.el-dropdown-selfdefine'); if (selfDefine) { // 自定义 if (val) { selfDefine.className += ' focusing'; } else { selfDefine.className = selfDefine.className.replace('focusing', ''); } } } }, methods: { getMigratingConfig: function getMigratingConfig() { return { props: { 'menu-align': 'menu-align is renamed to placement.' } }; }, show: function show() { var _this = this; if (this.triggerElm.disabled) return; clearTimeout(this.timeout); this.timeout = setTimeout(function () { _this.visible = true; }, this.trigger === 'click' ? 0 : this.showTimeout); }, hide: function hide() { var _this2 = this; if (this.triggerElm.disabled) return; this.removeTabindex(); this.resetTabindex(this.triggerElm); clearTimeout(this.timeout); this.timeout = setTimeout(function () { _this2.visible = false; }, this.trigger === 'click' ? 0 : this.hideTimeout); }, handleClick: function handleClick() { if (this.triggerElm.disabled) return; if (this.visible) { this.hide(); } else { this.show(); } }, handleTriggerKeyDown: function handleTriggerKeyDown(ev) { var keyCode = ev.keyCode; if ([38, 40].indexOf(keyCode) > -1) { // up/down this.removeTabindex(); this.resetTabindex(this.menuItems[0]); this.menuItems[0].focus(); ev.preventDefault(); ev.stopPropagation(); } else if (keyCode === 13) { // space enter选中 this.handleClick(); } else if ([9, 27].indexOf(keyCode) > -1) { // tab || esc this.hide(); } return; }, handleItemKeyDown: function handleItemKeyDown(ev) { var keyCode = ev.keyCode; var target = ev.target; var currentIndex = this.menuItemsArray.indexOf(target); var max = this.menuItemsArray.length - 1; var nextIndex = void 0; if ([38, 40].indexOf(keyCode) > -1) { // up/down if (keyCode === 38) { // up nextIndex = currentIndex !== 0 ? currentIndex - 1 : 0; } else { // down nextIndex = currentIndex < max ? currentIndex + 1 : max; } this.removeTabindex(); this.resetTabindex(this.menuItems[nextIndex]); this.menuItems[nextIndex].focus(); ev.preventDefault(); ev.stopPropagation(); } else if (keyCode === 13) { // enter选中 this.triggerElm.focus(); target.click(); if (this.hideOnClick) { // click关闭 this.visible = false; } } else if ([9, 27].indexOf(keyCode) > -1) { // tab // esc this.hide(); this.triggerElm.focus(); } return; }, resetTabindex: function resetTabindex(ele) { // 下次tab时组件聚焦元素 this.removeTabindex(); ele.setAttribute('tabindex', '0'); // 下次期望的聚焦元素 }, removeTabindex: function removeTabindex() { this.triggerElm.setAttribute('tabindex', '-1'); this.menuItemsArray.forEach(function (item) { item.setAttribute('tabindex', '-1'); }); }, initAria: function initAria() { this.dropdownElm.setAttribute('id', this.listId); this.triggerElm.setAttribute('aria-haspopup', 'list'); this.triggerElm.setAttribute('aria-controls', this.listId); this.menuItems = this.dropdownElm.querySelectorAll("[tabindex='-1']"); this.menuItemsArray = Array.prototype.slice.call(this.menuItems); if (!this.splitButton) { // 自定义 this.triggerElm.setAttribute('role', 'button'); this.triggerElm.setAttribute('tabindex', '0'); this.triggerElm.setAttribute('class', (this.triggerElm.getAttribute('class') || '') + ' el-dropdown-selfdefine'); // 控制 } }, initEvent: function initEvent() { var _this3 = this; var trigger = this.trigger, show = this.show, hide = this.hide, handleClick = this.handleClick, splitButton = this.splitButton, handleTriggerKeyDown = this.handleTriggerKeyDown, handleItemKeyDown = this.handleItemKeyDown; this.triggerElm = splitButton ? this.$refs.trigger.$el : this.$slots.default[0].elm; var dropdownElm = this.dropdownElm = this.$slots.dropdown[0].elm; this.triggerElm.addEventListener('keydown', handleTriggerKeyDown); // triggerElm keydown dropdownElm.addEventListener('keydown', handleItemKeyDown, true); // item keydown // 控制自定义元素的样式 if (!splitButton) { this.triggerElm.addEventListener('focus', function () { _this3.focusing = true; }); this.triggerElm.addEventListener('blur', function () { _this3.focusing = false; }); this.triggerElm.addEventListener('click', function () { _this3.focusing = false; }); } if (trigger === 'hover') { this.triggerElm.addEventListener('mouseenter', show); this.triggerElm.addEventListener('mouseleave', hide); dropdownElm.addEventListener('mouseenter', show); dropdownElm.addEventListener('mouseleave', hide); } else if (trigger === 'click') { this.triggerElm.addEventListener('click', handleClick); } }, handleMenuItemClick: function handleMenuItemClick(command, instance) { if (this.hideOnClick) { this.visible = false; } this.$emit('command', command, instance); }, focus: function focus() { this.triggerElm.focus && this.triggerElm.focus(); } }, render: function render(h) { var _this4 = this; var hide = this.hide, splitButton = this.splitButton, type = this.type, dropdownSize = this.dropdownSize; var handleMainButtonClick = function handleMainButtonClick(event) { _this4.$emit('click', event); hide(); }; var triggerElm = !splitButton ? this.$slots.default : h('el-button-group', [h( 'el-button', { attrs: { type: type, size: dropdownSize }, nativeOn: { 'click': handleMainButtonClick } }, [this.$slots.default] ), h( 'el-button', { ref: 'trigger', attrs: { type: type, size: dropdownSize }, 'class': 'el-dropdown__caret-button' }, [h('i', { 'class': 'el-dropdown__icon el-icon-arrow-down' })] )]); return h( 'div', { 'class': 'el-dropdown', directives: [{ name: 'clickoutside', value: hide }] }, [triggerElm, this.$slots.dropdown] ); } }); // CONCATENATED MODULE: ./packages/dropdown/src/dropdown.vue?vue&type=script&lang=js& /* harmony default export */ var src_dropdownvue_type_script_lang_js_ = (dropdownvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/dropdown/src/dropdown.vue var dropdown_render, dropdown_staticRenderFns /* normalize component */ var dropdown_component = normalizeComponent( src_dropdownvue_type_script_lang_js_, dropdown_render, dropdown_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var dropdown_api; } dropdown_component.options.__file = "packages/dropdown/src/dropdown.vue" /* harmony default export */ var dropdown = (dropdown_component.exports); // CONCATENATED MODULE: ./packages/dropdown/index.js /* istanbul ignore next */ dropdown.install = function (Vue) { Vue.component(dropdown.name, dropdown); }; /* harmony default export */ var packages_dropdown = (dropdown); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-menu.vue?vue&type=template&id=0da6b714& var dropdown_menuvue_type_template_id_0da6b714_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "el-zoom-in-top" }, on: { "after-leave": _vm.doDestroy } }, [ _c( "ul", { directives: [ { name: "show", rawName: "v-show", value: _vm.showPopper, expression: "showPopper" } ], staticClass: "el-dropdown-menu el-popper", class: [_vm.size && "el-dropdown-menu--" + _vm.size] }, [_vm._t("default")], 2 ) ] ) } var dropdown_menuvue_type_template_id_0da6b714_staticRenderFns = [] dropdown_menuvue_type_template_id_0da6b714_render._withStripped = true // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-menu.vue?vue&type=template&id=0da6b714& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-menu.vue?vue&type=script&lang=js& // // // // // // // /* harmony default export */ var dropdown_menuvue_type_script_lang_js_ = ({ name: 'ElDropdownMenu', componentName: 'ElDropdownMenu', mixins: [vue_popper_default.a], props: { visibleArrow: { type: Boolean, default: true }, arrowOffset: { type: Number, default: 0 } }, data: function data() { return { size: this.dropdown.dropdownSize }; }, inject: ['dropdown'], created: function created() { var _this = this; this.$on('updatePopper', function () { if (_this.showPopper) _this.updatePopper(); }); this.$on('visible', function (val) { _this.showPopper = val; }); }, mounted: function mounted() { this.$parent.popperElm = this.popperElm = this.$el; this.referenceElm = this.$parent.$el; }, watch: { 'dropdown.placement': { immediate: true, handler: function handler(val) { this.currentPlacement = val; } } } }); // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-menu.vue?vue&type=script&lang=js& /* harmony default export */ var src_dropdown_menuvue_type_script_lang_js_ = (dropdown_menuvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-menu.vue /* normalize component */ var dropdown_menu_component = normalizeComponent( src_dropdown_menuvue_type_script_lang_js_, dropdown_menuvue_type_template_id_0da6b714_render, dropdown_menuvue_type_template_id_0da6b714_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var dropdown_menu_api; } dropdown_menu_component.options.__file = "packages/dropdown/src/dropdown-menu.vue" /* harmony default export */ var dropdown_menu = (dropdown_menu_component.exports); // CONCATENATED MODULE: ./packages/dropdown-menu/index.js /* istanbul ignore next */ dropdown_menu.install = function (Vue) { Vue.component(dropdown_menu.name, dropdown_menu); }; /* harmony default export */ var packages_dropdown_menu = (dropdown_menu); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-item.vue?vue&type=template&id=6359102a& var dropdown_itemvue_type_template_id_6359102a_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "li", { staticClass: "el-dropdown-menu__item", class: { "is-disabled": _vm.disabled, "el-dropdown-menu__item--divided": _vm.divided }, attrs: { "aria-disabled": _vm.disabled, tabindex: _vm.disabled ? null : -1 }, on: { click: _vm.handleClick } }, [_vm._t("default")], 2 ) } var dropdown_itemvue_type_template_id_6359102a_staticRenderFns = [] dropdown_itemvue_type_template_id_6359102a_render._withStripped = true // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-item.vue?vue&type=template&id=6359102a& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-item.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // /* harmony default export */ var dropdown_itemvue_type_script_lang_js_ = ({ name: 'ElDropdownItem', mixins: [emitter_default.a], props: { command: {}, disabled: Boolean, divided: Boolean }, methods: { handleClick: function handleClick(e) { this.dispatch('ElDropdown', 'menu-item-click', [this.command, this]); } } }); // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-item.vue?vue&type=script&lang=js& /* harmony default export */ var src_dropdown_itemvue_type_script_lang_js_ = (dropdown_itemvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-item.vue /* normalize component */ var dropdown_item_component = normalizeComponent( src_dropdown_itemvue_type_script_lang_js_, dropdown_itemvue_type_template_id_6359102a_render, dropdown_itemvue_type_template_id_6359102a_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var dropdown_item_api; } dropdown_item_component.options.__file = "packages/dropdown/src/dropdown-item.vue" /* harmony default export */ var dropdown_item = (dropdown_item_component.exports); // CONCATENATED MODULE: ./packages/dropdown-item/index.js /* istanbul ignore next */ dropdown_item.install = function (Vue) { Vue.component(dropdown_item.name, dropdown_item); }; /* harmony default export */ var packages_dropdown_item = (dropdown_item); // CONCATENATED MODULE: ./src/utils/aria-utils.js var aria = aria || {}; aria.Utils = aria.Utils || {}; /** * @desc Set focus on descendant nodes until the first focusable element is * found. * @param element * DOM node for which to find the first focusable descendant. * @returns * true if a focusable element is found and focus is set. */ aria.Utils.focusFirstDescendant = function (element) { for (var i = 0; i < element.childNodes.length; i++) { var child = element.childNodes[i]; if (aria.Utils.attemptFocus(child) || aria.Utils.focusFirstDescendant(child)) { return true; } } return false; }; /** * @desc Find the last descendant node that is focusable. * @param element * DOM node for which to find the last focusable descendant. * @returns * true if a focusable element is found and focus is set. */ aria.Utils.focusLastDescendant = function (element) { for (var i = element.childNodes.length - 1; i >= 0; i--) { var child = element.childNodes[i]; if (aria.Utils.attemptFocus(child) || aria.Utils.focusLastDescendant(child)) { return true; } } return false; }; /** * @desc Set Attempt to set focus on the current node. * @param element * The node to attempt to focus on. * @returns * true if element is focused. */ aria.Utils.attemptFocus = function (element) { if (!aria.Utils.isFocusable(element)) { return false; } aria.Utils.IgnoreUtilFocusChanges = true; try { element.focus(); } catch (e) {} aria.Utils.IgnoreUtilFocusChanges = false; return document.activeElement === element; }; aria.Utils.isFocusable = function (element) { if (element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null) { return true; } if (element.disabled) { return false; } switch (element.nodeName) { case 'A': return !!element.href && element.rel !== 'ignore'; case 'INPUT': return element.type !== 'hidden' && element.type !== 'file'; case 'BUTTON': case 'SELECT': case 'TEXTAREA': return true; default: return false; } }; /** * 触发一个事件 * mouseenter, mouseleave, mouseover, keyup, change, click 等 * @param {Element} elm * @param {String} name * @param {*} opts */ aria.Utils.triggerEvent = function (elm, name) { var eventName = void 0; if (/^mouse|click/.test(name)) { eventName = 'MouseEvents'; } else if (/^key/.test(name)) { eventName = 'KeyboardEvent'; } else { eventName = 'HTMLEvents'; } var evt = document.createEvent(eventName); for (var _len = arguments.length, opts = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { opts[_key - 2] = arguments[_key]; } evt.initEvent.apply(evt, [name].concat(opts)); elm.dispatchEvent ? elm.dispatchEvent(evt) : elm.fireEvent('on' + name, evt); return elm; }; aria.Utils.keys = { tab: 9, enter: 13, space: 32, left: 37, up: 38, right: 39, down: 40 }; /* harmony default export */ var aria_utils = (aria.Utils); // CONCATENATED MODULE: ./src/utils/menu/aria-submenu.js var SubMenu = function SubMenu(parent, domNode) { this.domNode = domNode; this.parent = parent; this.subMenuItems = []; this.subIndex = 0; this.init(); }; SubMenu.prototype.init = function () { this.subMenuItems = this.domNode.querySelectorAll('li'); this.addListeners(); }; SubMenu.prototype.gotoSubIndex = function (idx) { if (idx === this.subMenuItems.length) { idx = 0; } else if (idx < 0) { idx = this.subMenuItems.length - 1; } this.subMenuItems[idx].focus(); this.subIndex = idx; }; SubMenu.prototype.addListeners = function () { var _this = this; var keys = aria_utils.keys; var parentNode = this.parent.domNode; Array.prototype.forEach.call(this.subMenuItems, function (el) { el.addEventListener('keydown', function (event) { var prevDef = false; switch (event.keyCode) { case keys.down: _this.gotoSubIndex(_this.subIndex + 1); prevDef = true; break; case keys.up: _this.gotoSubIndex(_this.subIndex - 1); prevDef = true; break; case keys.tab: aria_utils.triggerEvent(parentNode, 'mouseleave'); break; case keys.enter: case keys.space: prevDef = true; event.currentTarget.click(); break; } if (prevDef) { event.preventDefault(); event.stopPropagation(); } return false; }); }); }; /* harmony default export */ var aria_submenu = (SubMenu); // CONCATENATED MODULE: ./src/utils/menu/aria-menuitem.js var MenuItem = function MenuItem(domNode) { this.domNode = domNode; this.submenu = null; this.init(); }; MenuItem.prototype.init = function () { this.domNode.setAttribute('tabindex', '0'); var menuChild = this.domNode.querySelector('.el-menu'); if (menuChild) { this.submenu = new aria_submenu(this, menuChild); } this.addListeners(); }; MenuItem.prototype.addListeners = function () { var _this = this; var keys = aria_utils.keys; this.domNode.addEventListener('keydown', function (event) { var prevDef = false; switch (event.keyCode) { case keys.down: aria_utils.triggerEvent(event.currentTarget, 'mouseenter'); _this.submenu && _this.submenu.gotoSubIndex(0); prevDef = true; break; case keys.up: aria_utils.triggerEvent(event.currentTarget, 'mouseenter'); _this.submenu && _this.submenu.gotoSubIndex(_this.submenu.subMenuItems.length - 1); prevDef = true; break; case keys.tab: aria_utils.triggerEvent(event.currentTarget, 'mouseleave'); break; case keys.enter: case keys.space: prevDef = true; event.currentTarget.click(); break; } if (prevDef) { event.preventDefault(); } }); }; /* harmony default export */ var aria_menuitem = (MenuItem); // CONCATENATED MODULE: ./src/utils/menu/aria-menubar.js var Menu = function Menu(domNode) { this.domNode = domNode; this.init(); }; Menu.prototype.init = function () { var menuChildren = this.domNode.childNodes; [].filter.call(menuChildren, function (child) { return child.nodeType === 1; }).forEach(function (child) { new aria_menuitem(child); // eslint-disable-line }); }; /* harmony default export */ var aria_menubar = (Menu); // EXTERNAL MODULE: external "element-ui/lib/utils/dom" var dom_ = __webpack_require__(0); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu.vue?vue&type=script&lang=js& /* harmony default export */ var menuvue_type_script_lang_js_ = ({ name: 'ElMenu', render: function render(h) { var component = h( 'ul', { attrs: { role: 'menubar' }, key: +this.collapse, style: { backgroundColor: this.backgroundColor || '' }, 'class': { 'el-menu--horizontal': this.mode === 'horizontal', 'el-menu--collapse': this.collapse, "el-menu": true } }, [this.$slots.default] ); if (this.collapseTransition) { return h('el-menu-collapse-transition', [component]); } else { return component; } }, componentName: 'ElMenu', mixins: [emitter_default.a, migrating_default.a], provide: function provide() { return { rootMenu: this }; }, components: { 'el-menu-collapse-transition': { functional: true, render: function render(createElement, context) { var data = { props: { mode: 'out-in' }, on: { beforeEnter: function beforeEnter(el) { el.style.opacity = 0.2; }, enter: function enter(el) { Object(dom_["addClass"])(el, 'el-opacity-transition'); el.style.opacity = 1; }, afterEnter: function afterEnter(el) { Object(dom_["removeClass"])(el, 'el-opacity-transition'); el.style.opacity = ''; }, beforeLeave: function beforeLeave(el) { if (!el.dataset) el.dataset = {}; if (Object(dom_["hasClass"])(el, 'el-menu--collapse')) { Object(dom_["removeClass"])(el, 'el-menu--collapse'); el.dataset.oldOverflow = el.style.overflow; el.dataset.scrollWidth = el.clientWidth; Object(dom_["addClass"])(el, 'el-menu--collapse'); } else { Object(dom_["addClass"])(el, 'el-menu--collapse'); el.dataset.oldOverflow = el.style.overflow; el.dataset.scrollWidth = el.clientWidth; Object(dom_["removeClass"])(el, 'el-menu--collapse'); } el.style.width = el.scrollWidth + 'px'; el.style.overflow = 'hidden'; }, leave: function leave(el) { Object(dom_["addClass"])(el, 'horizontal-collapse-transition'); el.style.width = el.dataset.scrollWidth + 'px'; } } }; return createElement('transition', data, context.children); } } }, props: { mode: { type: String, default: 'vertical' }, defaultActive: { type: String, default: '' }, defaultOpeneds: Array, uniqueOpened: Boolean, router: Boolean, menuTrigger: { type: String, default: 'hover' }, collapse: Boolean, backgroundColor: String, textColor: String, activeTextColor: String, collapseTransition: { type: Boolean, default: true } }, data: function data() { return { activeIndex: this.defaultActive, openedMenus: this.defaultOpeneds && !this.collapse ? this.defaultOpeneds.slice(0) : [], items: {}, submenus: {} }; }, computed: { hoverBackground: function hoverBackground() { return this.backgroundColor ? this.mixColor(this.backgroundColor, 0.2) : ''; }, isMenuPopup: function isMenuPopup() { return this.mode === 'horizontal' || this.mode === 'vertical' && this.collapse; } }, watch: { defaultActive: 'updateActiveIndex', defaultOpeneds: function defaultOpeneds(value) { if (!this.collapse) { this.openedMenus = value; } }, collapse: function collapse(value) { if (value) this.openedMenus = []; this.broadcast('ElSubmenu', 'toggle-collapse', value); } }, methods: { updateActiveIndex: function updateActiveIndex(val) { var item = this.items[val] || this.items[this.activeIndex] || this.items[this.defaultActive]; if (item) { this.activeIndex = item.index; this.initOpenedMenu(); } else { this.activeIndex = null; } }, getMigratingConfig: function getMigratingConfig() { return { props: { 'theme': 'theme is removed.' } }; }, getColorChannels: function getColorChannels(color) { color = color.replace('#', ''); if (/^[0-9a-fA-F]{3}$/.test(color)) { color = color.split(''); for (var i = 2; i >= 0; i--) { color.splice(i, 0, color[i]); } color = color.join(''); } if (/^[0-9a-fA-F]{6}$/.test(color)) { return { red: parseInt(color.slice(0, 2), 16), green: parseInt(color.slice(2, 4), 16), blue: parseInt(color.slice(4, 6), 16) }; } else { return { red: 255, green: 255, blue: 255 }; } }, mixColor: function mixColor(color, percent) { var _getColorChannels = this.getColorChannels(color), red = _getColorChannels.red, green = _getColorChannels.green, blue = _getColorChannels.blue; if (percent > 0) { // shade given color red *= 1 - percent; green *= 1 - percent; blue *= 1 - percent; } else { // tint given color red += (255 - red) * percent; green += (255 - green) * percent; blue += (255 - blue) * percent; } return 'rgb(' + Math.round(red) + ', ' + Math.round(green) + ', ' + Math.round(blue) + ')'; }, addItem: function addItem(item) { this.$set(this.items, item.index, item); }, removeItem: function removeItem(item) { delete this.items[item.index]; }, addSubmenu: function addSubmenu(item) { this.$set(this.submenus, item.index, item); }, removeSubmenu: function removeSubmenu(item) { delete this.submenus[item.index]; }, openMenu: function openMenu(index, indexPath) { var openedMenus = this.openedMenus; if (openedMenus.indexOf(index) !== -1) return; // 将不在该菜单路径下的其余菜单收起 // collapse all menu that are not under current menu item if (this.uniqueOpened) { this.openedMenus = openedMenus.filter(function (index) { return indexPath.indexOf(index) !== -1; }); } this.openedMenus.push(index); }, closeMenu: function closeMenu(index) { var i = this.openedMenus.indexOf(index); if (i !== -1) { this.openedMenus.splice(i, 1); } }, handleSubmenuClick: function handleSubmenuClick(submenu) { var index = submenu.index, indexPath = submenu.indexPath; var isOpened = this.openedMenus.indexOf(index) !== -1; if (isOpened) { this.closeMenu(index); this.$emit('close', index, indexPath); } else { this.openMenu(index, indexPath); this.$emit('open', index, indexPath); } }, handleItemClick: function handleItemClick(item) { var _this = this; var index = item.index, indexPath = item.indexPath; var oldActiveIndex = this.activeIndex; this.activeIndex = item.index; this.$emit('select', index, indexPath, item); if (this.mode === 'horizontal' || this.collapse) { this.openedMenus = []; } if (this.router) { this.routeToItem(item, function (error) { _this.activeIndex = oldActiveIndex; if (error) console.error(error); }); } }, // 初始化展开菜单 // initialize opened menu initOpenedMenu: function initOpenedMenu() { var _this2 = this; var index = this.activeIndex; var activeItem = this.items[index]; if (!activeItem || this.mode === 'horizontal' || this.collapse) return; var indexPath = activeItem.indexPath; // 展开该菜单项的路径上所有子菜单 // expand all submenus of the menu item indexPath.forEach(function (index) { var submenu = _this2.submenus[index]; submenu && _this2.openMenu(index, submenu.indexPath); }); }, routeToItem: function routeToItem(item, onError) { var route = item.route || item.index; try { this.$router.push(route, function () {}, onError); } catch (e) { console.error(e); } }, open: function open(index) { var _this3 = this; var indexPath = this.submenus[index.toString()].indexPath; indexPath.forEach(function (i) { return _this3.openMenu(i, indexPath); }); }, close: function close(index) { this.closeMenu(index); } }, mounted: function mounted() { this.initOpenedMenu(); this.$on('item-click', this.handleItemClick); this.$on('submenu-click', this.handleSubmenuClick); if (this.mode === 'horizontal') { new aria_menubar(this.$el); // eslint-disable-line } this.$watch('items', this.updateActiveIndex); } }); // CONCATENATED MODULE: ./packages/menu/src/menu.vue?vue&type=script&lang=js& /* harmony default export */ var src_menuvue_type_script_lang_js_ = (menuvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/menu/src/menu.vue var menu_render, menu_staticRenderFns /* normalize component */ var menu_component = normalizeComponent( src_menuvue_type_script_lang_js_, menu_render, menu_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var menu_api; } menu_component.options.__file = "packages/menu/src/menu.vue" /* harmony default export */ var src_menu = (menu_component.exports); // CONCATENATED MODULE: ./packages/menu/index.js /* istanbul ignore next */ src_menu.install = function (Vue) { Vue.component(src_menu.name, src_menu); }; /* harmony default export */ var packages_menu = (src_menu); // EXTERNAL MODULE: external "element-ui/lib/transitions/collapse-transition" var collapse_transition_ = __webpack_require__(17); var collapse_transition_default = /*#__PURE__*/__webpack_require__.n(collapse_transition_); // CONCATENATED MODULE: ./packages/menu/src/menu-mixin.js /* harmony default export */ var menu_mixin = ({ inject: ['rootMenu'], computed: { indexPath: function indexPath() { var path = [this.index]; var parent = this.$parent; while (parent.$options.componentName !== 'ElMenu') { if (parent.index) { path.unshift(parent.index); } parent = parent.$parent; } return path; }, parentMenu: function parentMenu() { var parent = this.$parent; while (parent && ['ElMenu', 'ElSubmenu'].indexOf(parent.$options.componentName) === -1) { parent = parent.$parent; } return parent; }, paddingStyle: function paddingStyle() { if (this.rootMenu.mode !== 'vertical') return {}; var padding = 20; var parent = this.$parent; if (this.rootMenu.collapse) { padding = 20; } else { while (parent && parent.$options.componentName !== 'ElMenu') { if (parent.$options.componentName === 'ElSubmenu') { padding += 20; } parent = parent.$parent; } } return { paddingLeft: padding + 'px' }; } } }); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/submenu.vue?vue&type=script&lang=js& var poperMixins = { props: { transformOrigin: { type: [Boolean, String], default: false }, offset: vue_popper_default.a.props.offset, boundariesPadding: vue_popper_default.a.props.boundariesPadding, popperOptions: vue_popper_default.a.props.popperOptions }, data: vue_popper_default.a.data, methods: vue_popper_default.a.methods, beforeDestroy: vue_popper_default.a.beforeDestroy, deactivated: vue_popper_default.a.deactivated }; /* harmony default export */ var submenuvue_type_script_lang_js_ = ({ name: 'ElSubmenu', componentName: 'ElSubmenu', mixins: [menu_mixin, emitter_default.a, poperMixins], components: { ElCollapseTransition: collapse_transition_default.a }, props: { index: { type: String, required: true }, showTimeout: { type: Number, default: 300 }, hideTimeout: { type: Number, default: 300 }, popperClass: String, disabled: Boolean, popperAppendToBody: { type: Boolean, default: undefined } }, data: function data() { return { popperJS: null, timeout: null, items: {}, submenus: {}, mouseInChild: false }; }, watch: { opened: function opened(val) { var _this = this; if (this.isMenuPopup) { this.$nextTick(function (_) { _this.updatePopper(); }); } } }, computed: { // popper option appendToBody: function appendToBody() { return this.popperAppendToBody === undefined ? this.isFirstLevel : this.popperAppendToBody; }, menuTransitionName: function menuTransitionName() { return this.rootMenu.collapse ? 'el-zoom-in-left' : 'el-zoom-in-top'; }, opened: function opened() { return this.rootMenu.openedMenus.indexOf(this.index) > -1; }, active: function active() { var isActive = false; var submenus = this.submenus; var items = this.items; Object.keys(items).forEach(function (index) { if (items[index].active) { isActive = true; } }); Object.keys(submenus).forEach(function (index) { if (submenus[index].active) { isActive = true; } }); return isActive; }, hoverBackground: function hoverBackground() { return this.rootMenu.hoverBackground; }, backgroundColor: function backgroundColor() { return this.rootMenu.backgroundColor || ''; }, activeTextColor: function activeTextColor() { return this.rootMenu.activeTextColor || ''; }, textColor: function textColor() { return this.rootMenu.textColor || ''; }, mode: function mode() { return this.rootMenu.mode; }, isMenuPopup: function isMenuPopup() { return this.rootMenu.isMenuPopup; }, titleStyle: function titleStyle() { if (this.mode !== 'horizontal') { return { color: this.textColor }; } return { borderBottomColor: this.active ? this.rootMenu.activeTextColor ? this.activeTextColor : '' : 'transparent', color: this.active ? this.activeTextColor : this.textColor }; }, isFirstLevel: function isFirstLevel() { var isFirstLevel = true; var parent = this.$parent; while (parent && parent !== this.rootMenu) { if (['ElSubmenu', 'ElMenuItemGroup'].indexOf(parent.$options.componentName) > -1) { isFirstLevel = false; break; } else { parent = parent.$parent; } } return isFirstLevel; } }, methods: { handleCollapseToggle: function handleCollapseToggle(value) { if (value) { this.initPopper(); } else { this.doDestroy(); } }, addItem: function addItem(item) { this.$set(this.items, item.index, item); }, removeItem: function removeItem(item) { delete this.items[item.index]; }, addSubmenu: function addSubmenu(item) { this.$set(this.submenus, item.index, item); }, removeSubmenu: function removeSubmenu(item) { delete this.submenus[item.index]; }, handleClick: function handleClick() { var rootMenu = this.rootMenu, disabled = this.disabled; if (rootMenu.menuTrigger === 'hover' && rootMenu.mode === 'horizontal' || rootMenu.collapse && rootMenu.mode === 'vertical' || disabled) { return; } this.dispatch('ElMenu', 'submenu-click', this); }, handleMouseenter: function handleMouseenter() { var _this2 = this; var rootMenu = this.rootMenu, disabled = this.disabled; if (rootMenu.menuTrigger === 'click' && rootMenu.mode === 'horizontal' || !rootMenu.collapse && rootMenu.mode === 'vertical' || disabled) { return; } this.dispatch('ElSubmenu', 'mouse-enter-child'); clearTimeout(this.timeout); this.timeout = setTimeout(function () { _this2.rootMenu.openMenu(_this2.index, _this2.indexPath); }, this.showTimeout); }, handleMouseleave: function handleMouseleave() { var _this3 = this; var rootMenu = this.rootMenu; if (rootMenu.menuTrigger === 'click' && rootMenu.mode === 'horizontal' || !rootMenu.collapse && rootMenu.mode === 'vertical') { return; } this.dispatch('ElSubmenu', 'mouse-leave-child'); clearTimeout(this.timeout); this.timeout = setTimeout(function () { !_this3.mouseInChild && _this3.rootMenu.closeMenu(_this3.index); }, this.hideTimeout); }, handleTitleMouseenter: function handleTitleMouseenter() { if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return; var title = this.$refs['submenu-title']; title && (title.style.backgroundColor = this.rootMenu.hoverBackground); }, handleTitleMouseleave: function handleTitleMouseleave() { if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return; var title = this.$refs['submenu-title']; title && (title.style.backgroundColor = this.rootMenu.backgroundColor || ''); }, updatePlacement: function updatePlacement() { this.currentPlacement = this.mode === 'horizontal' && this.isFirstLevel ? 'bottom-start' : 'right-start'; }, initPopper: function initPopper() { this.referenceElm = this.$el; this.popperElm = this.$refs.menu; this.updatePlacement(); } }, created: function created() { var _this4 = this; this.$on('toggle-collapse', this.handleCollapseToggle); this.$on('mouse-enter-child', function () { _this4.mouseInChild = true; clearTimeout(_this4.timeout); }); this.$on('mouse-leave-child', function () { _this4.mouseInChild = false; clearTimeout(_this4.timeout); }); }, mounted: function mounted() { this.parentMenu.addSubmenu(this); this.rootMenu.addSubmenu(this); this.initPopper(); }, beforeDestroy: function beforeDestroy() { this.parentMenu.removeSubmenu(this); this.rootMenu.removeSubmenu(this); }, render: function render(h) { var active = this.active, opened = this.opened, paddingStyle = this.paddingStyle, titleStyle = this.titleStyle, backgroundColor = this.backgroundColor, rootMenu = this.rootMenu, currentPlacement = this.currentPlacement, menuTransitionName = this.menuTransitionName, mode = this.mode, disabled = this.disabled, popperClass = this.popperClass, $slots = this.$slots, isFirstLevel = this.isFirstLevel; var popupMenu = h( 'transition', { attrs: { name: menuTransitionName } }, [h( 'div', { ref: 'menu', directives: [{ name: 'show', value: opened }], 'class': ['el-menu--' + mode, popperClass], on: { 'mouseenter': this.handleMouseenter, 'mouseleave': this.handleMouseleave, 'focus': this.handleMouseenter } }, [h( 'ul', { attrs: { role: 'menu' }, 'class': ['el-menu el-menu--popup', 'el-menu--popup-' + currentPlacement], style: { backgroundColor: rootMenu.backgroundColor || '' } }, [$slots.default] )] )] ); var inlineMenu = h('el-collapse-transition', [h( 'ul', { attrs: { role: 'menu' }, 'class': 'el-menu el-menu--inline', directives: [{ name: 'show', value: opened }], style: { backgroundColor: rootMenu.backgroundColor || '' } }, [$slots.default] )]); var submenuTitleIcon = rootMenu.mode === 'horizontal' && isFirstLevel || rootMenu.mode === 'vertical' && !rootMenu.collapse ? 'el-icon-arrow-down' : 'el-icon-arrow-right'; return h( 'li', { 'class': { 'el-submenu': true, 'is-active': active, 'is-opened': opened, 'is-disabled': disabled }, attrs: { role: 'menuitem', 'aria-haspopup': 'true', 'aria-expanded': opened }, on: { 'mouseenter': this.handleMouseenter, 'mouseleave': this.handleMouseleave, 'focus': this.handleMouseenter } }, [h( 'div', { 'class': 'el-submenu__title', ref: 'submenu-title', on: { 'click': this.handleClick, 'mouseenter': this.handleTitleMouseenter, 'mouseleave': this.handleTitleMouseleave }, style: [paddingStyle, titleStyle, { backgroundColor: backgroundColor }] }, [$slots.title, h('i', { 'class': ['el-submenu__icon-arrow', submenuTitleIcon] })] ), this.isMenuPopup ? popupMenu : inlineMenu] ); } }); // CONCATENATED MODULE: ./packages/menu/src/submenu.vue?vue&type=script&lang=js& /* harmony default export */ var src_submenuvue_type_script_lang_js_ = (submenuvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/menu/src/submenu.vue var submenu_render, submenu_staticRenderFns /* normalize component */ var submenu_component = normalizeComponent( src_submenuvue_type_script_lang_js_, submenu_render, submenu_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var submenu_api; } submenu_component.options.__file = "packages/menu/src/submenu.vue" /* harmony default export */ var submenu = (submenu_component.exports); // CONCATENATED MODULE: ./packages/submenu/index.js /* istanbul ignore next */ submenu.install = function (Vue) { Vue.component(submenu.name, submenu); }; /* harmony default export */ var packages_submenu = (submenu); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item.vue?vue&type=template&id=2a5dbfea& var menu_itemvue_type_template_id_2a5dbfea_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "li", { staticClass: "el-menu-item", class: { "is-active": _vm.active, "is-disabled": _vm.disabled }, style: [ _vm.paddingStyle, _vm.itemStyle, { backgroundColor: _vm.backgroundColor } ], attrs: { role: "menuitem", tabindex: "-1" }, on: { click: _vm.handleClick, mouseenter: _vm.onMouseEnter, focus: _vm.onMouseEnter, blur: _vm.onMouseLeave, mouseleave: _vm.onMouseLeave } }, [ _vm.parentMenu.$options.componentName === "ElMenu" && _vm.rootMenu.collapse && _vm.$slots.title ? _c("el-tooltip", { attrs: { effect: "dark", placement: "right" } }, [ _c( "div", { attrs: { slot: "content" }, slot: "content" }, [_vm._t("title")], 2 ), _c( "div", { staticStyle: { position: "absolute", left: "0", top: "0", height: "100%", width: "100%", display: "inline-block", "box-sizing": "border-box", padding: "0 20px" } }, [_vm._t("default")], 2 ) ]) : [_vm._t("default"), _vm._t("title")] ], 2 ) } var menu_itemvue_type_template_id_2a5dbfea_staticRenderFns = [] menu_itemvue_type_template_id_2a5dbfea_render._withStripped = true // CONCATENATED MODULE: ./packages/menu/src/menu-item.vue?vue&type=template&id=2a5dbfea& // EXTERNAL MODULE: external "element-ui/lib/tooltip" var tooltip_ = __webpack_require__(20); var tooltip_default = /*#__PURE__*/__webpack_require__.n(tooltip_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var menu_itemvue_type_script_lang_js_ = ({ name: 'ElMenuItem', componentName: 'ElMenuItem', mixins: [menu_mixin, emitter_default.a], components: { ElTooltip: tooltip_default.a }, props: { index: { type: String, required: true }, route: [String, Object], disabled: Boolean }, computed: { active: function active() { return this.index === this.rootMenu.activeIndex; }, hoverBackground: function hoverBackground() { return this.rootMenu.hoverBackground; }, backgroundColor: function backgroundColor() { return this.rootMenu.backgroundColor || ''; }, activeTextColor: function activeTextColor() { return this.rootMenu.activeTextColor || ''; }, textColor: function textColor() { return this.rootMenu.textColor || ''; }, mode: function mode() { return this.rootMenu.mode; }, itemStyle: function itemStyle() { var style = { color: this.active ? this.activeTextColor : this.textColor }; if (this.mode === 'horizontal' && !this.isNested) { style.borderBottomColor = this.active ? this.rootMenu.activeTextColor ? this.activeTextColor : '' : 'transparent'; } return style; }, isNested: function isNested() { return this.parentMenu !== this.rootMenu; } }, methods: { onMouseEnter: function onMouseEnter() { if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return; this.$el.style.backgroundColor = this.hoverBackground; }, onMouseLeave: function onMouseLeave() { if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return; this.$el.style.backgroundColor = this.backgroundColor; }, handleClick: function handleClick() { if (!this.disabled) { this.dispatch('ElMenu', 'item-click', this); this.$emit('click', this); } } }, mounted: function mounted() { this.parentMenu.addItem(this); this.rootMenu.addItem(this); }, beforeDestroy: function beforeDestroy() { this.parentMenu.removeItem(this); this.rootMenu.removeItem(this); } }); // CONCATENATED MODULE: ./packages/menu/src/menu-item.vue?vue&type=script&lang=js& /* harmony default export */ var src_menu_itemvue_type_script_lang_js_ = (menu_itemvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/menu/src/menu-item.vue /* normalize component */ var menu_item_component = normalizeComponent( src_menu_itemvue_type_script_lang_js_, menu_itemvue_type_template_id_2a5dbfea_render, menu_itemvue_type_template_id_2a5dbfea_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var menu_item_api; } menu_item_component.options.__file = "packages/menu/src/menu-item.vue" /* harmony default export */ var menu_item = (menu_item_component.exports); // CONCATENATED MODULE: ./packages/menu-item/index.js /* istanbul ignore next */ menu_item.install = function (Vue) { Vue.component(menu_item.name, menu_item); }; /* harmony default export */ var packages_menu_item = (menu_item); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item-group.vue?vue&type=template&id=543b7bdc& var menu_item_groupvue_type_template_id_543b7bdc_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("li", { staticClass: "el-menu-item-group" }, [ _c( "div", { staticClass: "el-menu-item-group__title", style: { paddingLeft: _vm.levelPadding + "px" } }, [!_vm.$slots.title ? [_vm._v(_vm._s(_vm.title))] : _vm._t("title")], 2 ), _c("ul", [_vm._t("default")], 2) ]) } var menu_item_groupvue_type_template_id_543b7bdc_staticRenderFns = [] menu_item_groupvue_type_template_id_543b7bdc_render._withStripped = true // CONCATENATED MODULE: ./packages/menu/src/menu-item-group.vue?vue&type=template&id=543b7bdc& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item-group.vue?vue&type=script&lang=js& // // // // // // // // // // // /* harmony default export */ var menu_item_groupvue_type_script_lang_js_ = ({ name: 'ElMenuItemGroup', componentName: 'ElMenuItemGroup', inject: ['rootMenu'], props: { title: { type: String } }, data: function data() { return { paddingLeft: 20 }; }, computed: { levelPadding: function levelPadding() { var padding = 20; var parent = this.$parent; if (this.rootMenu.collapse) return 20; while (parent && parent.$options.componentName !== 'ElMenu') { if (parent.$options.componentName === 'ElSubmenu') { padding += 20; } parent = parent.$parent; } return padding; } } }); // CONCATENATED MODULE: ./packages/menu/src/menu-item-group.vue?vue&type=script&lang=js& /* harmony default export */ var src_menu_item_groupvue_type_script_lang_js_ = (menu_item_groupvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/menu/src/menu-item-group.vue /* normalize component */ var menu_item_group_component = normalizeComponent( src_menu_item_groupvue_type_script_lang_js_, menu_item_groupvue_type_template_id_543b7bdc_render, menu_item_groupvue_type_template_id_543b7bdc_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var menu_item_group_api; } menu_item_group_component.options.__file = "packages/menu/src/menu-item-group.vue" /* harmony default export */ var menu_item_group = (menu_item_group_component.exports); // CONCATENATED MODULE: ./packages/menu-item-group/index.js /* istanbul ignore next */ menu_item_group.install = function (Vue) { Vue.component(menu_item_group.name, menu_item_group); }; /* harmony default export */ var packages_menu_item_group = (menu_item_group); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=template&id=343dd774& var inputvue_type_template_id_343dd774_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { class: [ _vm.type === "textarea" ? "el-textarea" : "el-input", _vm.inputSize ? "el-input--" + _vm.inputSize : "", { "is-disabled": _vm.inputDisabled, "el-input-group": _vm.$slots.prepend || _vm.$slots.append, "el-input-group--append": _vm.$slots.append, "el-input-group--prepend": _vm.$slots.prepend, "el-input--prefix": _vm.$slots.prefix || _vm.prefixIcon, "el-input--suffix": _vm.$slots.suffix || _vm.suffixIcon || _vm.clearable } ], on: { mouseenter: function($event) { _vm.hovering = true }, mouseleave: function($event) { _vm.hovering = false } } }, [ _vm.type !== "textarea" ? [ _vm.$slots.prepend ? _c( "div", { staticClass: "el-input-group__prepend" }, [_vm._t("prepend")], 2 ) : _vm._e(), _vm.type !== "textarea" ? _c( "input", _vm._b( { ref: "input", staticClass: "el-input__inner", attrs: { tabindex: _vm.tabindex, type: _vm.type, disabled: _vm.inputDisabled, readonly: _vm.readonly, autocomplete: _vm.autoComplete || _vm.autocomplete, "aria-label": _vm.label }, domProps: { value: _vm.nativeInputValue }, on: { compositionstart: _vm.handleComposition, compositionupdate: _vm.handleComposition, compositionend: _vm.handleComposition, input: _vm.handleInput, focus: _vm.handleFocus, blur: _vm.handleBlur, change: _vm.handleChange } }, "input", _vm.$attrs, false ) ) : _vm._e(), _vm.$slots.prefix || _vm.prefixIcon ? _c( "span", { staticClass: "el-input__prefix" }, [ _vm._t("prefix"), _vm.prefixIcon ? _c("i", { staticClass: "el-input__icon", class: _vm.prefixIcon }) : _vm._e() ], 2 ) : _vm._e(), _vm.$slots.suffix || _vm.suffixIcon || _vm.showClear || (_vm.validateState && _vm.needStatusIcon) ? _c("span", { staticClass: "el-input__suffix" }, [ _c( "span", { staticClass: "el-input__suffix-inner" }, [ !_vm.showClear ? [ _vm._t("suffix"), _vm.suffixIcon ? _c("i", { staticClass: "el-input__icon", class: _vm.suffixIcon }) : _vm._e() ] : _c("i", { staticClass: "el-input__icon el-icon-circle-close el-input__clear", on: { click: _vm.clear } }) ], 2 ), _vm.validateState ? _c("i", { staticClass: "el-input__icon", class: ["el-input__validateIcon", _vm.validateIcon] }) : _vm._e() ]) : _vm._e(), _vm.$slots.append ? _c( "div", { staticClass: "el-input-group__append" }, [_vm._t("append")], 2 ) : _vm._e() ] : _c( "textarea", _vm._b( { ref: "textarea", staticClass: "el-textarea__inner", style: _vm.textareaStyle, attrs: { tabindex: _vm.tabindex, disabled: _vm.inputDisabled, readonly: _vm.readonly, autocomplete: _vm.autoComplete || _vm.autocomplete, "aria-label": _vm.label }, domProps: { value: _vm.nativeInputValue }, on: { compositionstart: _vm.handleComposition, compositionupdate: _vm.handleComposition, compositionend: _vm.handleComposition, input: _vm.handleInput, focus: _vm.handleFocus, blur: _vm.handleBlur, change: _vm.handleChange } }, "textarea", _vm.$attrs, false ) ) ], 2 ) } var inputvue_type_template_id_343dd774_staticRenderFns = [] inputvue_type_template_id_343dd774_render._withStripped = true // CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=template&id=343dd774& // CONCATENATED MODULE: ./packages/input/src/calcTextareaHeight.js var hiddenTextarea = void 0; var HIDDEN_STYLE = '\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n'; var CONTEXT_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing']; function calculateNodeStyling(targetElement) { var style = window.getComputedStyle(targetElement); var boxSizing = style.getPropertyValue('box-sizing'); var paddingSize = parseFloat(style.getPropertyValue('padding-bottom')) + parseFloat(style.getPropertyValue('padding-top')); var borderSize = parseFloat(style.getPropertyValue('border-bottom-width')) + parseFloat(style.getPropertyValue('border-top-width')); var contextStyle = CONTEXT_STYLE.map(function (name) { return name + ':' + style.getPropertyValue(name); }).join(';'); return { contextStyle: contextStyle, paddingSize: paddingSize, borderSize: borderSize, boxSizing: boxSizing }; } function calcTextareaHeight(targetElement) { var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; var maxRows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; if (!hiddenTextarea) { hiddenTextarea = document.createElement('textarea'); document.body.appendChild(hiddenTextarea); } var _calculateNodeStyling = calculateNodeStyling(targetElement), paddingSize = _calculateNodeStyling.paddingSize, borderSize = _calculateNodeStyling.borderSize, boxSizing = _calculateNodeStyling.boxSizing, contextStyle = _calculateNodeStyling.contextStyle; hiddenTextarea.setAttribute('style', contextStyle + ';' + HIDDEN_STYLE); hiddenTextarea.value = targetElement.value || targetElement.placeholder || ''; var height = hiddenTextarea.scrollHeight; var result = {}; if (boxSizing === 'border-box') { height = height + borderSize; } else if (boxSizing === 'content-box') { height = height - paddingSize; } hiddenTextarea.value = ''; var singleRowHeight = hiddenTextarea.scrollHeight - paddingSize; if (minRows !== null) { var minHeight = singleRowHeight * minRows; if (boxSizing === 'border-box') { minHeight = minHeight + paddingSize + borderSize; } height = Math.max(minHeight, height); result.minHeight = minHeight + 'px'; } if (maxRows !== null) { var maxHeight = singleRowHeight * maxRows; if (boxSizing === 'border-box') { maxHeight = maxHeight + paddingSize + borderSize; } height = Math.min(maxHeight, height); } result.height = height + 'px'; hiddenTextarea.parentNode && hiddenTextarea.parentNode.removeChild(hiddenTextarea); hiddenTextarea = null; return result; }; // EXTERNAL MODULE: external "element-ui/lib/utils/merge" var merge_ = __webpack_require__(6); var merge_default = /*#__PURE__*/__webpack_require__.n(merge_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var inputvue_type_script_lang_js_ = ({ name: 'ElInput', componentName: 'ElInput', mixins: [emitter_default.a, migrating_default.a], inheritAttrs: false, inject: { elForm: { default: '' }, elFormItem: { default: '' } }, data: function data() { return { textareaCalcStyle: {}, hovering: false, focused: false, isOnComposition: false }; }, props: { value: [String, Number], size: String, resize: String, form: String, disabled: Boolean, readonly: Boolean, type: { type: String, default: 'text' }, autosize: { type: [Boolean, Object], default: false }, autocomplete: { type: String, default: 'off' }, /** @Deprecated in next major version */ autoComplete: { type: String, validator: function validator(val) { false && false; return true; } }, validateEvent: { type: Boolean, default: true }, suffixIcon: String, prefixIcon: String, label: String, clearable: { type: Boolean, default: false }, tabindex: String }, computed: { _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, validateState: function validateState() { return this.elFormItem ? this.elFormItem.validateState : ''; }, needStatusIcon: function needStatusIcon() { return this.elForm ? this.elForm.statusIcon : false; }, validateIcon: function validateIcon() { return { validating: 'el-icon-loading', success: 'el-icon-circle-check', error: 'el-icon-circle-close' }[this.validateState]; }, textareaStyle: function textareaStyle() { return merge_default()({}, this.textareaCalcStyle, { resize: this.resize }); }, inputSize: function inputSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, inputDisabled: function inputDisabled() { return this.disabled || (this.elForm || {}).disabled; }, nativeInputValue: function nativeInputValue() { return this.value === null || this.value === undefined ? '' : this.value; }, showClear: function showClear() { return this.clearable && !this.inputDisabled && !this.readonly && this.nativeInputValue && (this.focused || this.hovering); } }, watch: { value: function value(val) { this.$nextTick(this.resizeTextarea); if (this.validateEvent) { this.dispatch('ElFormItem', 'el.form.change', [val]); } } }, methods: { focus: function focus() { this.getInput().focus(); }, blur: function blur() { this.getInput().blur(); }, getMigratingConfig: function getMigratingConfig() { return { props: { 'icon': 'icon is removed, use suffix-icon / prefix-icon instead.', 'on-icon-click': 'on-icon-click is removed.' }, events: { 'click': 'click is removed.' } }; }, handleBlur: function handleBlur(event) { this.focused = false; this.$emit('blur', event); if (this.validateEvent) { this.dispatch('ElFormItem', 'el.form.blur', [this.value]); } }, select: function select() { this.getInput().select(); }, resizeTextarea: function resizeTextarea() { if (this.$isServer) return; var autosize = this.autosize, type = this.type; if (type !== 'textarea') return; if (!autosize) { this.textareaCalcStyle = { minHeight: calcTextareaHeight(this.$refs.textarea).minHeight }; return; } var minRows = autosize.minRows; var maxRows = autosize.maxRows; this.textareaCalcStyle = calcTextareaHeight(this.$refs.textarea, minRows, maxRows); }, handleFocus: function handleFocus(event) { this.focused = true; this.$emit('focus', event); }, handleComposition: function handleComposition(event) { if (event.type === 'compositionstart') { this.isOnComposition = true; } if (event.type === 'compositionend') { this.isOnComposition = false; this.handleInput(event); } }, handleInput: function handleInput(event) { var _this = this; if (this.isOnComposition) return; // hack for https://github.com/ElemeFE/element/issues/8548 // should remove the following line when we don't support IE if (event.target.value === this.nativeInputValue) return; this.$emit('input', event.target.value); // set input's value, in case parent refuses the change // see: https://github.com/ElemeFE/element/issues/12850 this.$nextTick(function () { var input = _this.getInput(); input.value = _this.value; }); }, handleChange: function handleChange(event) { this.$emit('change', event.target.value); }, calcIconOffset: function calcIconOffset(place) { var elList = [].slice.call(this.$el.querySelectorAll('.el-input__' + place) || []); if (!elList.length) return; var el = null; for (var i = 0; i < elList.length; i++) { if (elList[i].parentNode === this.$el) { el = elList[i]; break; } } if (!el) return; var pendantMap = { suffix: 'append', prefix: 'prepend' }; var pendant = pendantMap[place]; if (this.$slots[pendant]) { el.style.transform = 'translateX(' + (place === 'suffix' ? '-' : '') + this.$el.querySelector('.el-input-group__' + pendant).offsetWidth + 'px)'; } else { el.removeAttribute('style'); } }, updateIconOffset: function updateIconOffset() { this.calcIconOffset('prefix'); this.calcIconOffset('suffix'); }, clear: function clear() { this.$emit('input', ''); this.$emit('change', ''); this.$emit('clear'); }, getInput: function getInput() { return this.$refs.input || this.$refs.textarea; } }, created: function created() { this.$on('inputSelect', this.select); }, mounted: function mounted() { this.resizeTextarea(); this.updateIconOffset(); }, updated: function updated() { this.$nextTick(this.updateIconOffset); } }); // CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=script&lang=js& /* harmony default export */ var src_inputvue_type_script_lang_js_ = (inputvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/input/src/input.vue /* normalize component */ var input_component = normalizeComponent( src_inputvue_type_script_lang_js_, inputvue_type_template_id_343dd774_render, inputvue_type_template_id_343dd774_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var input_api; } input_component.options.__file = "packages/input/src/input.vue" /* harmony default export */ var input = (input_component.exports); // CONCATENATED MODULE: ./packages/input/index.js /* istanbul ignore next */ input.install = function (Vue) { Vue.component(input.name, input); }; /* harmony default export */ var packages_input = (input); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=template&id=42f8cf66& var input_numbervue_type_template_id_42f8cf66_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { class: [ "el-input-number", _vm.inputNumberSize ? "el-input-number--" + _vm.inputNumberSize : "", { "is-disabled": _vm.inputNumberDisabled }, { "is-without-controls": !_vm.controls }, { "is-controls-right": _vm.controlsAtRight } ], on: { dragstart: function($event) { $event.preventDefault() } } }, [ _vm.controls ? _c( "span", { directives: [ { name: "repeat-click", rawName: "v-repeat-click", value: _vm.decrease, expression: "decrease" } ], staticClass: "el-input-number__decrease", class: { "is-disabled": _vm.minDisabled }, attrs: { role: "button" }, on: { keydown: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } return _vm.decrease($event) } } }, [ _c("i", { class: "el-icon-" + (_vm.controlsAtRight ? "arrow-down" : "minus") }) ] ) : _vm._e(), _vm.controls ? _c( "span", { directives: [ { name: "repeat-click", rawName: "v-repeat-click", value: _vm.increase, expression: "increase" } ], staticClass: "el-input-number__increase", class: { "is-disabled": _vm.maxDisabled }, attrs: { role: "button" }, on: { keydown: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } return _vm.increase($event) } } }, [ _c("i", { class: "el-icon-" + (_vm.controlsAtRight ? "arrow-up" : "plus") }) ] ) : _vm._e(), _c("el-input", { ref: "input", attrs: { value: _vm.displayValue, placeholder: _vm.placeholder, disabled: _vm.inputNumberDisabled, size: _vm.inputNumberSize, max: _vm.max, min: _vm.min, name: _vm.name, label: _vm.label }, on: { blur: _vm.handleBlur, focus: _vm.handleFocus, input: _vm.handleInput, change: _vm.handleInputChange }, nativeOn: { keydown: [ function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"]) ) { return null } $event.preventDefault() return _vm.increase($event) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "down", 40, $event.key, [ "Down", "ArrowDown" ]) ) { return null } $event.preventDefault() return _vm.decrease($event) } ] } }) ], 1 ) } var input_numbervue_type_template_id_42f8cf66_staticRenderFns = [] input_numbervue_type_template_id_42f8cf66_render._withStripped = true // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=template&id=42f8cf66& // CONCATENATED MODULE: ./src/directives/repeat-click.js /* harmony default export */ var repeat_click = ({ bind: function bind(el, binding, vnode) { var interval = null; var startTime = void 0; var handler = function handler() { return vnode.context[binding.expression].apply(); }; var clear = function clear() { if (new Date() - startTime < 100) { handler(); } clearInterval(interval); interval = null; }; Object(dom_["on"])(el, 'mousedown', function (e) { if (e.button !== 0) return; startTime = new Date(); Object(dom_["once"])(document, 'mouseup', clear); clearInterval(interval); interval = setInterval(handler, 100); }); } }); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var input_numbervue_type_script_lang_js_ = ({ name: 'ElInputNumber', mixins: [focus_default()('input')], inject: { elForm: { default: '' }, elFormItem: { default: '' } }, directives: { repeatClick: repeat_click }, components: { ElInput: input_default.a }, props: { step: { type: Number, default: 1 }, max: { type: Number, default: Infinity }, min: { type: Number, default: -Infinity }, value: {}, disabled: Boolean, size: String, controls: { type: Boolean, default: true }, controlsPosition: { type: String, default: '' }, name: String, label: String, placeholder: String, precision: { type: Number, validator: function validator(val) { return val >= 0 && val === parseInt(val, 10); } } }, data: function data() { return { currentValue: 0, userInput: null }; }, watch: { value: { immediate: true, handler: function handler(value) { var newVal = value === undefined ? value : Number(value); if (newVal !== undefined) { if (isNaN(newVal)) { return; } if (this.precision !== undefined) { newVal = this.toPrecision(newVal, this.precision); } } if (newVal >= this.max) newVal = this.max; if (newVal <= this.min) newVal = this.min; this.currentValue = newVal; this.userInput = null; this.$emit('input', newVal); } } }, computed: { minDisabled: function minDisabled() { return this._decrease(this.value, this.step) < this.min; }, maxDisabled: function maxDisabled() { return this._increase(this.value, this.step) > this.max; }, numPrecision: function numPrecision() { var value = this.value, step = this.step, getPrecision = this.getPrecision, precision = this.precision; var stepPrecision = getPrecision(step); if (precision !== undefined) { if (stepPrecision > precision) { console.warn('[Element Warn][InputNumber]precision should not be less than the decimal places of step'); } return precision; } else { return Math.max(getPrecision(value), stepPrecision); } }, controlsAtRight: function controlsAtRight() { return this.controls && this.controlsPosition === 'right'; }, _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, inputNumberSize: function inputNumberSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, inputNumberDisabled: function inputNumberDisabled() { return this.disabled || (this.elForm || {}).disabled; }, displayValue: function displayValue() { if (this.userInput !== null) { return this.userInput; } var currentValue = this.currentValue; if (typeof currentValue === 'number' && this.precision !== undefined) { return currentValue.toFixed(this.precision); } else { return currentValue; } } }, methods: { toPrecision: function toPrecision(num, precision) { if (precision === undefined) precision = this.numPrecision; return parseFloat(parseFloat(Number(num).toFixed(precision))); }, getPrecision: function getPrecision(value) { if (value === undefined) return 0; var valueString = value.toString(); var dotPosition = valueString.indexOf('.'); var precision = 0; if (dotPosition !== -1) { precision = valueString.length - dotPosition - 1; } return precision; }, _increase: function _increase(val, step) { if (typeof val !== 'number' && val !== undefined) return this.currentValue; var precisionFactor = Math.pow(10, this.numPrecision); // Solve the accuracy problem of JS decimal calculation by converting the value to integer. return this.toPrecision((precisionFactor * val + precisionFactor * step) / precisionFactor); }, _decrease: function _decrease(val, step) { if (typeof val !== 'number' && val !== undefined) return this.currentValue; var precisionFactor = Math.pow(10, this.numPrecision); return this.toPrecision((precisionFactor * val - precisionFactor * step) / precisionFactor); }, increase: function increase() { if (this.inputNumberDisabled || this.maxDisabled) return; var value = this.value || 0; var newVal = this._increase(value, this.step); this.setCurrentValue(newVal); }, decrease: function decrease() { if (this.inputNumberDisabled || this.minDisabled) return; var value = this.value || 0; var newVal = this._decrease(value, this.step); this.setCurrentValue(newVal); }, handleBlur: function handleBlur(event) { this.$emit('blur', event); }, handleFocus: function handleFocus(event) { this.$emit('focus', event); }, setCurrentValue: function setCurrentValue(newVal) { var oldVal = this.currentValue; if (typeof newVal === 'number' && this.precision !== undefined) { newVal = this.toPrecision(newVal, this.precision); } if (newVal >= this.max) newVal = this.max; if (newVal <= this.min) newVal = this.min; if (oldVal === newVal) return; this.userInput = null; this.$emit('input', newVal); this.$emit('change', newVal, oldVal); this.currentValue = newVal; }, handleInput: function handleInput(value) { this.userInput = value; }, handleInputChange: function handleInputChange(value) { var newVal = value === '' ? undefined : Number(value); if (!isNaN(newVal) || value === '') { this.setCurrentValue(newVal); } this.userInput = null; }, select: function select() { this.$refs.input.select(); } }, mounted: function mounted() { var innerInput = this.$refs.input.$refs.input; innerInput.setAttribute('role', 'spinbutton'); innerInput.setAttribute('aria-valuemax', this.max); innerInput.setAttribute('aria-valuemin', this.min); innerInput.setAttribute('aria-valuenow', this.currentValue); innerInput.setAttribute('aria-disabled', this.inputNumberDisabled); }, updated: function updated() { if (!this.$refs || !this.$refs.input) return; var innerInput = this.$refs.input.$refs.input; innerInput.setAttribute('aria-valuenow', this.currentValue); } }); // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=script&lang=js& /* harmony default export */ var src_input_numbervue_type_script_lang_js_ = (input_numbervue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue /* normalize component */ var input_number_component = normalizeComponent( src_input_numbervue_type_script_lang_js_, input_numbervue_type_template_id_42f8cf66_render, input_numbervue_type_template_id_42f8cf66_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var input_number_api; } input_number_component.options.__file = "packages/input-number/src/input-number.vue" /* harmony default export */ var input_number = (input_number_component.exports); // CONCATENATED MODULE: ./packages/input-number/index.js /* istanbul ignore next */ input_number.install = function (Vue) { Vue.component(input_number.name, input_number); }; /* harmony default export */ var packages_input_number = (input_number); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio.vue?vue&type=template&id=69cd6268& var radiovue_type_template_id_69cd6268_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "label", { staticClass: "el-radio", class: [ _vm.border && _vm.radioSize ? "el-radio--" + _vm.radioSize : "", { "is-disabled": _vm.isDisabled }, { "is-focus": _vm.focus }, { "is-bordered": _vm.border }, { "is-checked": _vm.model === _vm.label } ], attrs: { role: "radio", "aria-checked": _vm.model === _vm.label, "aria-disabled": _vm.isDisabled, tabindex: _vm.tabIndex }, on: { keydown: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "space", 32, $event.key, [" ", "Spacebar"]) ) { return null } $event.stopPropagation() $event.preventDefault() _vm.model = _vm.isDisabled ? _vm.model : _vm.label } } }, [ _c( "span", { staticClass: "el-radio__input", class: { "is-disabled": _vm.isDisabled, "is-checked": _vm.model === _vm.label } }, [ _c("span", { staticClass: "el-radio__inner" }), _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.model, expression: "model" } ], staticClass: "el-radio__original", attrs: { type: "radio", "aria-hidden": "true", name: _vm.name, disabled: _vm.isDisabled, tabindex: "-1" }, domProps: { value: _vm.label, checked: _vm._q(_vm.model, _vm.label) }, on: { focus: function($event) { _vm.focus = true }, blur: function($event) { _vm.focus = false }, change: [ function($event) { _vm.model = _vm.label }, _vm.handleChange ] } }) ] ), _c( "span", { staticClass: "el-radio__label", on: { keydown: function($event) { $event.stopPropagation() } } }, [ _vm._t("default"), !_vm.$slots.default ? [_vm._v(_vm._s(_vm.label))] : _vm._e() ], 2 ) ] ) } var radiovue_type_template_id_69cd6268_staticRenderFns = [] radiovue_type_template_id_69cd6268_render._withStripped = true // CONCATENATED MODULE: ./packages/radio/src/radio.vue?vue&type=template&id=69cd6268& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var radiovue_type_script_lang_js_ = ({ name: 'ElRadio', mixins: [emitter_default.a], inject: { elForm: { default: '' }, elFormItem: { default: '' } }, componentName: 'ElRadio', props: { value: {}, label: {}, disabled: Boolean, name: String, border: Boolean, size: String }, data: function data() { return { focus: false }; }, computed: { isGroup: function isGroup() { var parent = this.$parent; while (parent) { if (parent.$options.componentName !== 'ElRadioGroup') { parent = parent.$parent; } else { this._radioGroup = parent; return true; } } return false; }, model: { get: function get() { return this.isGroup ? this._radioGroup.value : this.value; }, set: function set(val) { if (this.isGroup) { this.dispatch('ElRadioGroup', 'input', [val]); } else { this.$emit('input', val); } } }, _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, radioSize: function radioSize() { var temRadioSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; return this.isGroup ? this._radioGroup.radioGroupSize || temRadioSize : temRadioSize; }, isDisabled: function isDisabled() { return this.isGroup ? this._radioGroup.disabled || this.disabled || (this.elForm || {}).disabled : this.disabled || (this.elForm || {}).disabled; }, tabIndex: function tabIndex() { return this.isDisabled || this.isGroup && this.model !== this.label ? -1 : 0; } }, methods: { handleChange: function handleChange() { var _this = this; this.$nextTick(function () { _this.$emit('change', _this.model); _this.isGroup && _this.dispatch('ElRadioGroup', 'handleChange', _this.model); }); } } }); // CONCATENATED MODULE: ./packages/radio/src/radio.vue?vue&type=script&lang=js& /* harmony default export */ var src_radiovue_type_script_lang_js_ = (radiovue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/radio/src/radio.vue /* normalize component */ var radio_component = normalizeComponent( src_radiovue_type_script_lang_js_, radiovue_type_template_id_69cd6268_render, radiovue_type_template_id_69cd6268_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var radio_api; } radio_component.options.__file = "packages/radio/src/radio.vue" /* harmony default export */ var src_radio = (radio_component.exports); // CONCATENATED MODULE: ./packages/radio/index.js /* istanbul ignore next */ src_radio.install = function (Vue) { Vue.component(src_radio.name, src_radio); }; /* harmony default export */ var packages_radio = (src_radio); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio-group.vue?vue&type=template&id=818a704c& var radio_groupvue_type_template_id_818a704c_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-radio-group", attrs: { role: "radiogroup" }, on: { keydown: _vm.handleKeydown } }, [_vm._t("default")], 2 ) } var radio_groupvue_type_template_id_818a704c_staticRenderFns = [] radio_groupvue_type_template_id_818a704c_render._withStripped = true // CONCATENATED MODULE: ./packages/radio/src/radio-group.vue?vue&type=template&id=818a704c& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio-group.vue?vue&type=script&lang=js& // // // // // // // // // var keyCode = Object.freeze({ LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40 }); /* harmony default export */ var radio_groupvue_type_script_lang_js_ = ({ name: 'ElRadioGroup', componentName: 'ElRadioGroup', inject: { elFormItem: { default: '' } }, mixins: [emitter_default.a], props: { value: {}, size: String, fill: String, textColor: String, disabled: Boolean }, computed: { _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, radioGroupSize: function radioGroupSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; } }, created: function created() { var _this = this; this.$on('handleChange', function (value) { _this.$emit('change', value); }); }, mounted: function mounted() { // 当radioGroup没有默认选项时,第一个可以选中Tab导航 var radios = this.$el.querySelectorAll('[type=radio]'); var firstLabel = this.$el.querySelectorAll('[role=radio]')[0]; if (![].some.call(radios, function (radio) { return radio.checked; }) && firstLabel) { firstLabel.tabIndex = 0; } }, methods: { handleKeydown: function handleKeydown(e) { // 左右上下按键 可以在radio组内切换不同选项 var target = e.target; var className = target.nodeName === 'INPUT' ? '[type=radio]' : '[role=radio]'; var radios = this.$el.querySelectorAll(className); var length = radios.length; var index = [].indexOf.call(radios, target); var roleRadios = this.$el.querySelectorAll('[role=radio]'); switch (e.keyCode) { case keyCode.LEFT: case keyCode.UP: e.stopPropagation(); e.preventDefault(); if (index === 0) { roleRadios[length - 1].click(); roleRadios[length - 1].focus(); } else { roleRadios[index - 1].click(); roleRadios[index - 1].focus(); } break; case keyCode.RIGHT: case keyCode.DOWN: if (index === length - 1) { e.stopPropagation(); e.preventDefault(); roleRadios[0].click(); roleRadios[0].focus(); } else { roleRadios[index + 1].click(); roleRadios[index + 1].focus(); } break; default: break; } } }, watch: { value: function value(_value) { this.dispatch('ElFormItem', 'el.form.change', [this.value]); } } }); // CONCATENATED MODULE: ./packages/radio/src/radio-group.vue?vue&type=script&lang=js& /* harmony default export */ var src_radio_groupvue_type_script_lang_js_ = (radio_groupvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/radio/src/radio-group.vue /* normalize component */ var radio_group_component = normalizeComponent( src_radio_groupvue_type_script_lang_js_, radio_groupvue_type_template_id_818a704c_render, radio_groupvue_type_template_id_818a704c_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var radio_group_api; } radio_group_component.options.__file = "packages/radio/src/radio-group.vue" /* harmony default export */ var radio_group = (radio_group_component.exports); // CONCATENATED MODULE: ./packages/radio-group/index.js /* istanbul ignore next */ radio_group.install = function (Vue) { Vue.component(radio_group.name, radio_group); }; /* harmony default export */ var packages_radio_group = (radio_group); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio-button.vue?vue&type=template&id=18a77a32& var radio_buttonvue_type_template_id_18a77a32_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "label", { staticClass: "el-radio-button", class: [ _vm.size ? "el-radio-button--" + _vm.size : "", { "is-active": _vm.value === _vm.label }, { "is-disabled": _vm.isDisabled }, { "is-focus": _vm.focus } ], attrs: { role: "radio", "aria-checked": _vm.value === _vm.label, "aria-disabled": _vm.isDisabled, tabindex: _vm.tabIndex }, on: { keydown: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "space", 32, $event.key, [" ", "Spacebar"]) ) { return null } $event.stopPropagation() $event.preventDefault() _vm.value = _vm.isDisabled ? _vm.value : _vm.label } } }, [ _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.value, expression: "value" } ], staticClass: "el-radio-button__orig-radio", attrs: { type: "radio", name: _vm.name, disabled: _vm.isDisabled, tabindex: "-1" }, domProps: { value: _vm.label, checked: _vm._q(_vm.value, _vm.label) }, on: { change: [ function($event) { _vm.value = _vm.label }, _vm.handleChange ], focus: function($event) { _vm.focus = true }, blur: function($event) { _vm.focus = false } } }), _c( "span", { staticClass: "el-radio-button__inner", style: _vm.value === _vm.label ? _vm.activeStyle : null, on: { keydown: function($event) { $event.stopPropagation() } } }, [ _vm._t("default"), !_vm.$slots.default ? [_vm._v(_vm._s(_vm.label))] : _vm._e() ], 2 ) ] ) } var radio_buttonvue_type_template_id_18a77a32_staticRenderFns = [] radio_buttonvue_type_template_id_18a77a32_render._withStripped = true // CONCATENATED MODULE: ./packages/radio/src/radio-button.vue?vue&type=template&id=18a77a32& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio-button.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var radio_buttonvue_type_script_lang_js_ = ({ name: 'ElRadioButton', mixins: [emitter_default.a], inject: { elForm: { default: '' }, elFormItem: { default: '' } }, props: { label: {}, disabled: Boolean, name: String }, data: function data() { return { focus: false }; }, computed: { value: { get: function get() { return this._radioGroup.value; }, set: function set(value) { this._radioGroup.$emit('input', value); } }, _radioGroup: function _radioGroup() { var parent = this.$parent; while (parent) { if (parent.$options.componentName !== 'ElRadioGroup') { parent = parent.$parent; } else { return parent; } } return false; }, activeStyle: function activeStyle() { return { backgroundColor: this._radioGroup.fill || '', borderColor: this._radioGroup.fill || '', boxShadow: this._radioGroup.fill ? '-1px 0 0 0 ' + this._radioGroup.fill : '', color: this._radioGroup.textColor || '' }; }, _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, size: function size() { return this._radioGroup.radioGroupSize || this._elFormItemSize || (this.$ELEMENT || {}).size; }, isDisabled: function isDisabled() { return this.disabled || this._radioGroup.disabled || (this.elForm || {}).disabled; }, tabIndex: function tabIndex() { return this.isDisabled || this._radioGroup && this.value !== this.label ? -1 : 0; } }, methods: { handleChange: function handleChange() { var _this = this; this.$nextTick(function () { _this.dispatch('ElRadioGroup', 'handleChange', _this.value); }); } } }); // CONCATENATED MODULE: ./packages/radio/src/radio-button.vue?vue&type=script&lang=js& /* harmony default export */ var src_radio_buttonvue_type_script_lang_js_ = (radio_buttonvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/radio/src/radio-button.vue /* normalize component */ var radio_button_component = normalizeComponent( src_radio_buttonvue_type_script_lang_js_, radio_buttonvue_type_template_id_18a77a32_render, radio_buttonvue_type_template_id_18a77a32_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var radio_button_api; } radio_button_component.options.__file = "packages/radio/src/radio-button.vue" /* harmony default export */ var radio_button = (radio_button_component.exports); // CONCATENATED MODULE: ./packages/radio-button/index.js /* istanbul ignore next */ radio_button.install = function (Vue) { Vue.component(radio_button.name, radio_button); }; /* harmony default export */ var packages_radio_button = (radio_button); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074& var checkboxvue_type_template_id_d0387074_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "label", { staticClass: "el-checkbox", class: [ _vm.border && _vm.checkboxSize ? "el-checkbox--" + _vm.checkboxSize : "", { "is-disabled": _vm.isDisabled }, { "is-bordered": _vm.border }, { "is-checked": _vm.isChecked } ], attrs: { role: "checkbox", "aria-checked": _vm.indeterminate ? "mixed" : _vm.isChecked, "aria-disabled": _vm.isDisabled, id: _vm.id } }, [ _c( "span", { staticClass: "el-checkbox__input", class: { "is-disabled": _vm.isDisabled, "is-checked": _vm.isChecked, "is-indeterminate": _vm.indeterminate, "is-focus": _vm.focus }, attrs: { "aria-checked": "mixed" } }, [ _c("span", { staticClass: "el-checkbox__inner" }), _vm.trueLabel || _vm.falseLabel ? _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.model, expression: "model" } ], staticClass: "el-checkbox__original", attrs: { type: "checkbox", "aria-hidden": "true", name: _vm.name, disabled: _vm.isDisabled, "true-value": _vm.trueLabel, "false-value": _vm.falseLabel }, domProps: { checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, null) > -1 : _vm._q(_vm.model, _vm.trueLabel) }, on: { change: [ function($event) { var $$a = _vm.model, $$el = $event.target, $$c = $$el.checked ? _vm.trueLabel : _vm.falseLabel if (Array.isArray($$a)) { var $$v = null, $$i = _vm._i($$a, $$v) if ($$el.checked) { $$i < 0 && (_vm.model = $$a.concat([$$v])) } else { $$i > -1 && (_vm.model = $$a .slice(0, $$i) .concat($$a.slice($$i + 1))) } } else { _vm.model = $$c } }, _vm.handleChange ], focus: function($event) { _vm.focus = true }, blur: function($event) { _vm.focus = false } } }) : _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.model, expression: "model" } ], staticClass: "el-checkbox__original", attrs: { type: "checkbox", "aria-hidden": "true", disabled: _vm.isDisabled, name: _vm.name }, domProps: { value: _vm.label, checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, _vm.label) > -1 : _vm.model }, on: { change: [ function($event) { var $$a = _vm.model, $$el = $event.target, $$c = $$el.checked ? true : false if (Array.isArray($$a)) { var $$v = _vm.label, $$i = _vm._i($$a, $$v) if ($$el.checked) { $$i < 0 && (_vm.model = $$a.concat([$$v])) } else { $$i > -1 && (_vm.model = $$a .slice(0, $$i) .concat($$a.slice($$i + 1))) } } else { _vm.model = $$c } }, _vm.handleChange ], focus: function($event) { _vm.focus = true }, blur: function($event) { _vm.focus = false } } }) ] ), _vm.$slots.default || _vm.label ? _c( "span", { staticClass: "el-checkbox__label" }, [ _vm._t("default"), !_vm.$slots.default ? [_vm._v(_vm._s(_vm.label))] : _vm._e() ], 2 ) : _vm._e() ] ) } var checkboxvue_type_template_id_d0387074_staticRenderFns = [] checkboxvue_type_template_id_d0387074_render._withStripped = true // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var checkboxvue_type_script_lang_js_ = ({ name: 'ElCheckbox', mixins: [emitter_default.a], inject: { elForm: { default: '' }, elFormItem: { default: '' } }, componentName: 'ElCheckbox', data: function data() { return { selfModel: false, focus: false, isLimitExceeded: false }; }, computed: { model: { get: function get() { return this.isGroup ? this.store : this.value !== undefined ? this.value : this.selfModel; }, set: function set(val) { if (this.isGroup) { this.isLimitExceeded = false; this._checkboxGroup.min !== undefined && val.length < this._checkboxGroup.min && (this.isLimitExceeded = true); this._checkboxGroup.max !== undefined && val.length > this._checkboxGroup.max && (this.isLimitExceeded = true); this.isLimitExceeded === false && this.dispatch('ElCheckboxGroup', 'input', [val]); } else { this.$emit('input', val); this.selfModel = val; } } }, isChecked: function isChecked() { if ({}.toString.call(this.model) === '[object Boolean]') { return this.model; } else if (Array.isArray(this.model)) { return this.model.indexOf(this.label) > -1; } else if (this.model !== null && this.model !== undefined) { return this.model === this.trueLabel; } }, isGroup: function isGroup() { var parent = this.$parent; while (parent) { if (parent.$options.componentName !== 'ElCheckboxGroup') { parent = parent.$parent; } else { this._checkboxGroup = parent; return true; } } return false; }, store: function store() { return this._checkboxGroup ? this._checkboxGroup.value : this.value; }, isDisabled: function isDisabled() { return this.isGroup ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled : this.disabled || (this.elForm || {}).disabled; }, _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, checkboxSize: function checkboxSize() { var temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; return this.isGroup ? this._checkboxGroup.checkboxGroupSize || temCheckboxSize : temCheckboxSize; } }, props: { value: {}, label: {}, indeterminate: Boolean, disabled: Boolean, checked: Boolean, name: String, trueLabel: [String, Number], falseLabel: [String, Number], id: String, /* 当indeterminate为真时,为controls提供相关连的checkbox的id,表明元素间的控制关系*/ controls: String, /* 当indeterminate为真时,为controls提供相关连的checkbox的id,表明元素间的控制关系*/ border: Boolean, size: String }, methods: { addToStore: function addToStore() { if (Array.isArray(this.model) && this.model.indexOf(this.label) === -1) { this.model.push(this.label); } else { this.model = this.trueLabel || true; } }, handleChange: function handleChange(ev) { var _this = this; if (this.isLimitExceeded) return; var value = void 0; if (ev.target.checked) { value = this.trueLabel === undefined ? true : this.trueLabel; } else { value = this.falseLabel === undefined ? false : this.falseLabel; } this.$emit('change', value, ev); this.$nextTick(function () { if (_this.isGroup) { _this.dispatch('ElCheckboxGroup', 'change', [_this._checkboxGroup.value]); } }); } }, created: function created() { this.checked && this.addToStore(); }, mounted: function mounted() { // 为indeterminate元素 添加aria-controls 属性 if (this.indeterminate) { this.$el.setAttribute('aria-controls', this.controls); } }, watch: { value: function value(_value) { this.dispatch('ElFormItem', 'el.form.change', _value); } } }); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js& /* harmony default export */ var src_checkboxvue_type_script_lang_js_ = (checkboxvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue /* normalize component */ var checkbox_component = normalizeComponent( src_checkboxvue_type_script_lang_js_, checkboxvue_type_template_id_d0387074_render, checkboxvue_type_template_id_d0387074_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var checkbox_api; } checkbox_component.options.__file = "packages/checkbox/src/checkbox.vue" /* harmony default export */ var src_checkbox = (checkbox_component.exports); // CONCATENATED MODULE: ./packages/checkbox/index.js /* istanbul ignore next */ src_checkbox.install = function (Vue) { Vue.component(src_checkbox.name, src_checkbox); }; /* harmony default export */ var packages_checkbox = (src_checkbox); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-button.vue?vue&type=template&id=478e906e& var checkbox_buttonvue_type_template_id_478e906e_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "label", { staticClass: "el-checkbox-button", class: [ _vm.size ? "el-checkbox-button--" + _vm.size : "", { "is-disabled": _vm.isDisabled }, { "is-checked": _vm.isChecked }, { "is-focus": _vm.focus } ], attrs: { role: "checkbox", "aria-checked": _vm.isChecked, "aria-disabled": _vm.isDisabled } }, [ _vm.trueLabel || _vm.falseLabel ? _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.model, expression: "model" } ], staticClass: "el-checkbox-button__original", attrs: { type: "checkbox", name: _vm.name, disabled: _vm.isDisabled, "true-value": _vm.trueLabel, "false-value": _vm.falseLabel }, domProps: { checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, null) > -1 : _vm._q(_vm.model, _vm.trueLabel) }, on: { change: [ function($event) { var $$a = _vm.model, $$el = $event.target, $$c = $$el.checked ? _vm.trueLabel : _vm.falseLabel if (Array.isArray($$a)) { var $$v = null, $$i = _vm._i($$a, $$v) if ($$el.checked) { $$i < 0 && (_vm.model = $$a.concat([$$v])) } else { $$i > -1 && (_vm.model = $$a .slice(0, $$i) .concat($$a.slice($$i + 1))) } } else { _vm.model = $$c } }, _vm.handleChange ], focus: function($event) { _vm.focus = true }, blur: function($event) { _vm.focus = false } } }) : _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.model, expression: "model" } ], staticClass: "el-checkbox-button__original", attrs: { type: "checkbox", name: _vm.name, disabled: _vm.isDisabled }, domProps: { value: _vm.label, checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, _vm.label) > -1 : _vm.model }, on: { change: [ function($event) { var $$a = _vm.model, $$el = $event.target, $$c = $$el.checked ? true : false if (Array.isArray($$a)) { var $$v = _vm.label, $$i = _vm._i($$a, $$v) if ($$el.checked) { $$i < 0 && (_vm.model = $$a.concat([$$v])) } else { $$i > -1 && (_vm.model = $$a .slice(0, $$i) .concat($$a.slice($$i + 1))) } } else { _vm.model = $$c } }, _vm.handleChange ], focus: function($event) { _vm.focus = true }, blur: function($event) { _vm.focus = false } } }), _vm.$slots.default || _vm.label ? _c( "span", { staticClass: "el-checkbox-button__inner", style: _vm.isChecked ? _vm.activeStyle : null }, [_vm._t("default", [_vm._v(_vm._s(_vm.label))])], 2 ) : _vm._e() ] ) } var checkbox_buttonvue_type_template_id_478e906e_staticRenderFns = [] checkbox_buttonvue_type_template_id_478e906e_render._withStripped = true // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-button.vue?vue&type=template&id=478e906e& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-button.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var checkbox_buttonvue_type_script_lang_js_ = ({ name: 'ElCheckboxButton', mixins: [emitter_default.a], inject: { elForm: { default: '' }, elFormItem: { default: '' } }, data: function data() { return { selfModel: false, focus: false, isLimitExceeded: false }; }, props: { value: {}, label: {}, disabled: Boolean, checked: Boolean, name: String, trueLabel: [String, Number], falseLabel: [String, Number] }, computed: { model: { get: function get() { return this._checkboxGroup ? this.store : this.value !== undefined ? this.value : this.selfModel; }, set: function set(val) { if (this._checkboxGroup) { this.isLimitExceeded = false; this._checkboxGroup.min !== undefined && val.length < this._checkboxGroup.min && (this.isLimitExceeded = true); this._checkboxGroup.max !== undefined && val.length > this._checkboxGroup.max && (this.isLimitExceeded = true); this.isLimitExceeded === false && this.dispatch('ElCheckboxGroup', 'input', [val]); } else if (this.value !== undefined) { this.$emit('input', val); } else { this.selfModel = val; } } }, isChecked: function isChecked() { if ({}.toString.call(this.model) === '[object Boolean]') { return this.model; } else if (Array.isArray(this.model)) { return this.model.indexOf(this.label) > -1; } else if (this.model !== null && this.model !== undefined) { return this.model === this.trueLabel; } }, _checkboxGroup: function _checkboxGroup() { var parent = this.$parent; while (parent) { if (parent.$options.componentName !== 'ElCheckboxGroup') { parent = parent.$parent; } else { return parent; } } return false; }, store: function store() { return this._checkboxGroup ? this._checkboxGroup.value : this.value; }, activeStyle: function activeStyle() { return { backgroundColor: this._checkboxGroup.fill || '', borderColor: this._checkboxGroup.fill || '', color: this._checkboxGroup.textColor || '', 'box-shadow': '-1px 0 0 0 ' + this._checkboxGroup.fill }; }, _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, size: function size() { return this._checkboxGroup.checkboxGroupSize || this._elFormItemSize || (this.$ELEMENT || {}).size; }, isDisabled: function isDisabled() { return this._checkboxGroup ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled : this.disabled || (this.elForm || {}).disabled; } }, methods: { addToStore: function addToStore() { if (Array.isArray(this.model) && this.model.indexOf(this.label) === -1) { this.model.push(this.label); } else { this.model = this.trueLabel || true; } }, handleChange: function handleChange(ev) { var _this = this; if (this.isLimitExceeded) return; var value = void 0; if (ev.target.checked) { value = this.trueLabel === undefined ? true : this.trueLabel; } else { value = this.falseLabel === undefined ? false : this.falseLabel; } this.$emit('change', value, ev); this.$nextTick(function () { if (_this._checkboxGroup) { _this.dispatch('ElCheckboxGroup', 'change', [_this._checkboxGroup.value]); } }); } }, created: function created() { this.checked && this.addToStore(); } }); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-button.vue?vue&type=script&lang=js& /* harmony default export */ var src_checkbox_buttonvue_type_script_lang_js_ = (checkbox_buttonvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-button.vue /* normalize component */ var checkbox_button_component = normalizeComponent( src_checkbox_buttonvue_type_script_lang_js_, checkbox_buttonvue_type_template_id_478e906e_render, checkbox_buttonvue_type_template_id_478e906e_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var checkbox_button_api; } checkbox_button_component.options.__file = "packages/checkbox/src/checkbox-button.vue" /* harmony default export */ var checkbox_button = (checkbox_button_component.exports); // CONCATENATED MODULE: ./packages/checkbox-button/index.js /* istanbul ignore next */ checkbox_button.install = function (Vue) { Vue.component(checkbox_button.name, checkbox_button); }; /* harmony default export */ var packages_checkbox_button = (checkbox_button); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290& var checkbox_groupvue_type_template_id_7289a290_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-checkbox-group", attrs: { role: "group", "aria-label": "checkbox-group" } }, [_vm._t("default")], 2 ) } var checkbox_groupvue_type_template_id_7289a290_staticRenderFns = [] checkbox_groupvue_type_template_id_7289a290_render._withStripped = true // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js& /* harmony default export */ var checkbox_groupvue_type_script_lang_js_ = ({ name: 'ElCheckboxGroup', componentName: 'ElCheckboxGroup', mixins: [emitter_default.a], inject: { elFormItem: { default: '' } }, props: { value: {}, disabled: Boolean, min: Number, max: Number, size: String, fill: String, textColor: String }, computed: { _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, checkboxGroupSize: function checkboxGroupSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; } }, watch: { value: function value(_value) { this.dispatch('ElFormItem', 'el.form.change', [_value]); } } }); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js& /* harmony default export */ var src_checkbox_groupvue_type_script_lang_js_ = (checkbox_groupvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue /* normalize component */ var checkbox_group_component = normalizeComponent( src_checkbox_groupvue_type_script_lang_js_, checkbox_groupvue_type_template_id_7289a290_render, checkbox_groupvue_type_template_id_7289a290_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var checkbox_group_api; } checkbox_group_component.options.__file = "packages/checkbox/src/checkbox-group.vue" /* harmony default export */ var checkbox_group = (checkbox_group_component.exports); // CONCATENATED MODULE: ./packages/checkbox-group/index.js /* istanbul ignore next */ checkbox_group.install = function (Vue) { Vue.component(checkbox_group.name, checkbox_group); }; /* harmony default export */ var packages_checkbox_group = (checkbox_group); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/switch/src/component.vue?vue&type=template&id=2dcd8fbb& var componentvue_type_template_id_2dcd8fbb_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-switch", class: { "is-disabled": _vm.switchDisabled, "is-checked": _vm.checked }, attrs: { role: "switch", "aria-checked": _vm.checked, "aria-disabled": _vm.switchDisabled }, on: { click: _vm.switchValue } }, [ _c("input", { ref: "input", staticClass: "el-switch__input", attrs: { type: "checkbox", id: _vm.id, name: _vm.name, "true-value": _vm.activeValue, "false-value": _vm.inactiveValue, disabled: _vm.switchDisabled }, on: { change: _vm.handleChange, keydown: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } return _vm.switchValue($event) } } }), _vm.inactiveIconClass || _vm.inactiveText ? _c( "span", { class: [ "el-switch__label", "el-switch__label--left", !_vm.checked ? "is-active" : "" ] }, [ _vm.inactiveIconClass ? _c("i", { class: [_vm.inactiveIconClass] }) : _vm._e(), !_vm.inactiveIconClass && _vm.inactiveText ? _c("span", { attrs: { "aria-hidden": _vm.checked } }, [ _vm._v(_vm._s(_vm.inactiveText)) ]) : _vm._e() ] ) : _vm._e(), _c("span", { ref: "core", staticClass: "el-switch__core", style: { width: _vm.coreWidth + "px" } }), _vm.activeIconClass || _vm.activeText ? _c( "span", { class: [ "el-switch__label", "el-switch__label--right", _vm.checked ? "is-active" : "" ] }, [ _vm.activeIconClass ? _c("i", { class: [_vm.activeIconClass] }) : _vm._e(), !_vm.activeIconClass && _vm.activeText ? _c("span", { attrs: { "aria-hidden": !_vm.checked } }, [ _vm._v(_vm._s(_vm.activeText)) ]) : _vm._e() ] ) : _vm._e() ] ) } var componentvue_type_template_id_2dcd8fbb_staticRenderFns = [] componentvue_type_template_id_2dcd8fbb_render._withStripped = true // CONCATENATED MODULE: ./packages/switch/src/component.vue?vue&type=template&id=2dcd8fbb& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/switch/src/component.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var switch_src_componentvue_type_script_lang_js_ = ({ name: 'ElSwitch', mixins: [focus_default()('input'), migrating_default.a], inject: { elForm: { default: '' } }, props: { value: { type: [Boolean, String, Number], default: false }, disabled: { type: Boolean, default: false }, width: { type: Number, default: 40 }, activeIconClass: { type: String, default: '' }, inactiveIconClass: { type: String, default: '' }, activeText: String, inactiveText: String, activeColor: { type: String, default: '' }, inactiveColor: { type: String, default: '' }, activeValue: { type: [Boolean, String, Number], default: true }, inactiveValue: { type: [Boolean, String, Number], default: false }, name: { type: String, default: '' }, id: String }, data: function data() { return { coreWidth: this.width }; }, created: function created() { if (!~[this.activeValue, this.inactiveValue].indexOf(this.value)) { this.$emit('input', this.inactiveValue); } }, computed: { checked: function checked() { return this.value === this.activeValue; }, switchDisabled: function switchDisabled() { return this.disabled || (this.elForm || {}).disabled; } }, watch: { checked: function checked() { this.$refs.input.checked = this.checked; if (this.activeColor || this.inactiveColor) { this.setBackgroundColor(); } } }, methods: { handleChange: function handleChange(event) { var _this = this; this.$emit('input', !this.checked ? this.activeValue : this.inactiveValue); this.$emit('change', !this.checked ? this.activeValue : this.inactiveValue); this.$nextTick(function () { // set input's checked property // in case parent refuses to change component's value _this.$refs.input.checked = _this.checked; }); }, setBackgroundColor: function setBackgroundColor() { var newColor = this.checked ? this.activeColor : this.inactiveColor; this.$refs.core.style.borderColor = newColor; this.$refs.core.style.backgroundColor = newColor; }, switchValue: function switchValue() { !this.switchDisabled && this.handleChange(); }, getMigratingConfig: function getMigratingConfig() { return { props: { 'on-color': 'on-color is renamed to active-color.', 'off-color': 'off-color is renamed to inactive-color.', 'on-text': 'on-text is renamed to active-text.', 'off-text': 'off-text is renamed to inactive-text.', 'on-value': 'on-value is renamed to active-value.', 'off-value': 'off-value is renamed to inactive-value.', 'on-icon-class': 'on-icon-class is renamed to active-icon-class.', 'off-icon-class': 'off-icon-class is renamed to inactive-icon-class.' } }; } }, mounted: function mounted() { /* istanbul ignore if */ this.coreWidth = this.width || 40; if (this.activeColor || this.inactiveColor) { this.setBackgroundColor(); } this.$refs.input.checked = this.checked; } }); // CONCATENATED MODULE: ./packages/switch/src/component.vue?vue&type=script&lang=js& /* harmony default export */ var packages_switch_src_componentvue_type_script_lang_js_ = (switch_src_componentvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/switch/src/component.vue /* normalize component */ var src_component_component = normalizeComponent( packages_switch_src_componentvue_type_script_lang_js_, componentvue_type_template_id_2dcd8fbb_render, componentvue_type_template_id_2dcd8fbb_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var src_component_api; } src_component_component.options.__file = "packages/switch/src/component.vue" /* harmony default export */ var switch_src_component = (src_component_component.exports); // CONCATENATED MODULE: ./packages/switch/index.js /* istanbul ignore next */ switch_src_component.install = function (Vue) { Vue.component(switch_src_component.name, switch_src_component); }; /* harmony default export */ var packages_switch = (switch_src_component); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select.vue?vue&type=template&id=0e4aade6& var selectvue_type_template_id_0e4aade6_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.handleClose, expression: "handleClose" } ], staticClass: "el-select", class: [_vm.selectSize ? "el-select--" + _vm.selectSize : ""], on: { click: function($event) { $event.stopPropagation() return _vm.toggleMenu($event) } } }, [ _vm.multiple ? _c( "div", { ref: "tags", staticClass: "el-select__tags", style: { "max-width": _vm.inputWidth - 32 + "px", width: "100%" } }, [ _vm.collapseTags && _vm.selected.length ? _c( "span", [ _c( "el-tag", { attrs: { closable: !_vm.selectDisabled, size: _vm.collapseTagSize, hit: _vm.selected[0].hitState, type: "info", "disable-transitions": "" }, on: { close: function($event) { _vm.deleteTag($event, _vm.selected[0]) } } }, [ _c("span", { staticClass: "el-select__tags-text" }, [ _vm._v(_vm._s(_vm.selected[0].currentLabel)) ]) ] ), _vm.selected.length > 1 ? _c( "el-tag", { attrs: { closable: false, size: _vm.collapseTagSize, type: "info", "disable-transitions": "" } }, [ _c( "span", { staticClass: "el-select__tags-text" }, [_vm._v("+ " + _vm._s(_vm.selected.length - 1))] ) ] ) : _vm._e() ], 1 ) : _vm._e(), !_vm.collapseTags ? _c( "transition-group", { on: { "after-leave": _vm.resetInputHeight } }, _vm._l(_vm.selected, function(item) { return _c( "el-tag", { key: _vm.getValueKey(item), attrs: { closable: !_vm.selectDisabled, size: _vm.collapseTagSize, hit: item.hitState, type: "info", "disable-transitions": "" }, on: { close: function($event) { _vm.deleteTag($event, item) } } }, [ _c("span", { staticClass: "el-select__tags-text" }, [ _vm._v(_vm._s(item.currentLabel)) ]) ] ) }), 1 ) : _vm._e(), _vm.filterable ? _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.query, expression: "query" } ], ref: "input", staticClass: "el-select__input", class: [_vm.selectSize ? "is-" + _vm.selectSize : ""], style: { "flex-grow": "1", width: _vm.inputLength / (_vm.inputWidth - 32) + "%", "max-width": _vm.inputWidth - 42 + "px" }, attrs: { type: "text", disabled: _vm.selectDisabled, autocomplete: _vm.autoComplete || _vm.autocomplete }, domProps: { value: _vm.query }, on: { focus: _vm.handleFocus, blur: function($event) { _vm.softFocus = false }, click: function($event) { $event.stopPropagation() }, keyup: _vm.managePlaceholder, keydown: [ _vm.resetInputState, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "down", 40, $event.key, [ "Down", "ArrowDown" ]) ) { return null } $event.preventDefault() _vm.navigateOptions("next") }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "up", 38, $event.key, [ "Up", "ArrowUp" ]) ) { return null } $event.preventDefault() _vm.navigateOptions("prev") }, function($event) { if ( !("button" in $event) && _vm._k( $event.keyCode, "enter", 13, $event.key, "Enter" ) ) { return null } $event.preventDefault() return _vm.selectOption($event) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "esc", 27, $event.key, [ "Esc", "Escape" ]) ) { return null } $event.stopPropagation() $event.preventDefault() _vm.visible = false }, function($event) { if ( !("button" in $event) && _vm._k( $event.keyCode, "delete", [8, 46], $event.key, ["Backspace", "Delete", "Del"] ) ) { return null } return _vm.deletePrevTag($event) } ], compositionstart: _vm.handleComposition, compositionupdate: _vm.handleComposition, compositionend: _vm.handleComposition, input: [ function($event) { if ($event.target.composing) { return } _vm.query = $event.target.value }, _vm.debouncedQueryChange ] } }) : _vm._e() ], 1 ) : _vm._e(), _c( "el-input", { ref: "reference", class: { "is-focus": _vm.visible }, attrs: { type: "text", placeholder: _vm.currentPlaceholder, name: _vm.name, id: _vm.id, autocomplete: _vm.autoComplete || _vm.autocomplete, size: _vm.selectSize, disabled: _vm.selectDisabled, readonly: _vm.readonly, "validate-event": false }, on: { focus: _vm.handleFocus, blur: _vm.handleBlur }, nativeOn: { keyup: function($event) { return _vm.debouncedOnInputChange($event) }, keydown: [ function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "down", 40, $event.key, [ "Down", "ArrowDown" ]) ) { return null } $event.stopPropagation() $event.preventDefault() _vm.navigateOptions("next") }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "up", 38, $event.key, [ "Up", "ArrowUp" ]) ) { return null } $event.stopPropagation() $event.preventDefault() _vm.navigateOptions("prev") }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } $event.preventDefault() return _vm.selectOption($event) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "esc", 27, $event.key, [ "Esc", "Escape" ]) ) { return null } $event.stopPropagation() $event.preventDefault() _vm.visible = false }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab") ) { return null } _vm.visible = false } ], paste: function($event) { return _vm.debouncedOnInputChange($event) }, mouseenter: function($event) { _vm.inputHovering = true }, mouseleave: function($event) { _vm.inputHovering = false } }, model: { value: _vm.selectedLabel, callback: function($$v) { _vm.selectedLabel = $$v }, expression: "selectedLabel" } }, [ _vm.$slots.prefix ? _c("template", { slot: "prefix" }, [_vm._t("prefix")], 2) : _vm._e(), _c("template", { slot: "suffix" }, [ _c("i", { directives: [ { name: "show", rawName: "v-show", value: !_vm.showClose, expression: "!showClose" } ], class: [ "el-select__caret", "el-input__icon", "el-icon-" + _vm.iconClass ] }), _vm.showClose ? _c("i", { staticClass: "el-select__caret el-input__icon el-icon-circle-close", on: { click: _vm.handleClearClick } }) : _vm._e() ]) ], 2 ), _c( "transition", { attrs: { name: "el-zoom-in-top" }, on: { "before-enter": _vm.handleMenuEnter, "after-leave": _vm.doDestroy } }, [ _c( "el-select-menu", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible && _vm.emptyText !== false, expression: "visible && emptyText !== false" } ], ref: "popper", attrs: { "append-to-body": _vm.popperAppendToBody } }, [ _c( "el-scrollbar", { directives: [ { name: "show", rawName: "v-show", value: _vm.options.length > 0 && !_vm.loading, expression: "options.length > 0 && !loading" } ], ref: "scrollbar", class: { "is-empty": !_vm.allowCreate && _vm.query && _vm.filteredOptionsCount === 0 }, attrs: { tag: "ul", "wrap-class": "el-select-dropdown__wrap", "view-class": "el-select-dropdown__list" } }, [ _vm.showNewOption ? _c("el-option", { attrs: { value: _vm.query, created: "" } }) : _vm._e(), _vm._t("default") ], 2 ), _vm.emptyText && (!_vm.allowCreate || _vm.loading || (_vm.allowCreate && _vm.options.length === 0)) ? _c("p", { staticClass: "el-select-dropdown__empty" }, [ _vm._v("\n " + _vm._s(_vm.emptyText) + "\n ") ]) : _vm._e() ], 1 ) ], 1 ) ], 1 ) } var selectvue_type_template_id_0e4aade6_staticRenderFns = [] selectvue_type_template_id_0e4aade6_render._withStripped = true // CONCATENATED MODULE: ./packages/select/src/select.vue?vue&type=template&id=0e4aade6& // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select-dropdown.vue?vue&type=template&id=06828748& var select_dropdownvue_type_template_id_06828748_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-select-dropdown el-popper", class: [{ "is-multiple": _vm.$parent.multiple }, _vm.popperClass], style: { minWidth: _vm.minWidth } }, [_vm._t("default")], 2 ) } var select_dropdownvue_type_template_id_06828748_staticRenderFns = [] select_dropdownvue_type_template_id_06828748_render._withStripped = true // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue?vue&type=template&id=06828748& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select-dropdown.vue?vue&type=script&lang=js& // // // // // // // // // /* harmony default export */ var select_dropdownvue_type_script_lang_js_ = ({ name: 'ElSelectDropdown', componentName: 'ElSelectDropdown', mixins: [vue_popper_default.a], props: { placement: { default: 'bottom-start' }, boundariesPadding: { default: 0 }, popperOptions: { default: function _default() { return { gpuAcceleration: false }; } }, visibleArrow: { default: true }, appendToBody: { type: Boolean, default: true } }, data: function data() { return { minWidth: '' }; }, computed: { popperClass: function popperClass() { return this.$parent.popperClass; } }, watch: { '$parent.inputWidth': function $parentInputWidth() { this.minWidth = this.$parent.$el.getBoundingClientRect().width + 'px'; } }, mounted: function mounted() { var _this = this; this.referenceElm = this.$parent.$refs.reference.$el; this.$parent.popperElm = this.popperElm = this.$el; this.$on('updatePopper', function () { if (_this.$parent.visible) _this.updatePopper(); }); this.$on('destroyPopper', this.destroyPopper); } }); // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue?vue&type=script&lang=js& /* harmony default export */ var src_select_dropdownvue_type_script_lang_js_ = (select_dropdownvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue /* normalize component */ var select_dropdown_component = normalizeComponent( src_select_dropdownvue_type_script_lang_js_, select_dropdownvue_type_template_id_06828748_render, select_dropdownvue_type_template_id_06828748_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var select_dropdown_api; } select_dropdown_component.options.__file = "packages/select/src/select-dropdown.vue" /* harmony default export */ var select_dropdown = (select_dropdown_component.exports); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=template&id=7a44c642& var optionvue_type_template_id_7a44c642_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "li", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-select-dropdown__item", class: { selected: _vm.itemSelected, "is-disabled": _vm.disabled || _vm.groupDisabled || _vm.limitReached, hover: _vm.hover }, on: { mouseenter: _vm.hoverItem, click: function($event) { $event.stopPropagation() return _vm.selectOptionClick($event) } } }, [_vm._t("default", [_c("span", [_vm._v(_vm._s(_vm.currentLabel))])])], 2 ) } var optionvue_type_template_id_7a44c642_staticRenderFns = [] optionvue_type_template_id_7a44c642_render._withStripped = true // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=template&id=7a44c642& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=script&lang=js& var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; // // // // // // // // // // // // // // // // // /* harmony default export */ var optionvue_type_script_lang_js_ = ({ mixins: [emitter_default.a], name: 'ElOption', componentName: 'ElOption', inject: ['select'], props: { value: { required: true }, label: [String, Number], created: Boolean, disabled: { type: Boolean, default: false } }, data: function data() { return { index: -1, groupDisabled: false, visible: true, hitState: false, hover: false }; }, computed: { isObject: function isObject() { return Object.prototype.toString.call(this.value).toLowerCase() === '[object object]'; }, currentLabel: function currentLabel() { return this.label || (this.isObject ? '' : this.value); }, currentValue: function currentValue() { return this.value || this.label || ''; }, itemSelected: function itemSelected() { if (!this.select.multiple) { return this.isEqual(this.value, this.select.value); } else { return this.contains(this.select.value, this.value); } }, limitReached: function limitReached() { if (this.select.multiple) { return !this.itemSelected && (this.select.value || []).length >= this.select.multipleLimit && this.select.multipleLimit > 0; } else { return false; } } }, watch: { currentLabel: function currentLabel() { if (!this.created && !this.select.remote) this.dispatch('ElSelect', 'setSelected'); }, value: function value(val, oldVal) { var _select = this.select, remote = _select.remote, valueKey = _select.valueKey; if (!this.created && !remote) { if (valueKey && (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object' && (typeof oldVal === 'undefined' ? 'undefined' : _typeof(oldVal)) === 'object' && val[valueKey] === oldVal[valueKey]) { return; } this.dispatch('ElSelect', 'setSelected'); } } }, methods: { isEqual: function isEqual(a, b) { if (!this.isObject) { return a === b; } else { var valueKey = this.select.valueKey; return Object(util_["getValueByPath"])(a, valueKey) === Object(util_["getValueByPath"])(b, valueKey); } }, contains: function contains() { var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var target = arguments[1]; if (!this.isObject) { return arr.indexOf(target) > -1; } else { var valueKey = this.select.valueKey; return arr.some(function (item) { return Object(util_["getValueByPath"])(item, valueKey) === Object(util_["getValueByPath"])(target, valueKey); }); } }, handleGroupDisabled: function handleGroupDisabled(val) { this.groupDisabled = val; }, hoverItem: function hoverItem() { if (!this.disabled && !this.groupDisabled) { this.select.hoverIndex = this.select.options.indexOf(this); } }, selectOptionClick: function selectOptionClick() { if (this.disabled !== true && this.groupDisabled !== true) { this.dispatch('ElSelect', 'handleOptionClick', [this, true]); } }, queryChange: function queryChange(query) { this.visible = new RegExp(Object(util_["escapeRegexpString"])(query), 'i').test(this.currentLabel) || this.created; if (!this.visible) { this.select.filteredOptionsCount--; } } }, created: function created() { this.select.options.push(this); this.select.cachedOptions.push(this); this.select.optionsCount++; this.select.filteredOptionsCount++; this.$on('queryChange', this.queryChange); this.$on('handleGroupDisabled', this.handleGroupDisabled); }, beforeDestroy: function beforeDestroy() { this.select.onOptionDestroy(this.select.options.indexOf(this)); } }); // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=script&lang=js& /* harmony default export */ var src_optionvue_type_script_lang_js_ = (optionvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/select/src/option.vue /* normalize component */ var option_component = normalizeComponent( src_optionvue_type_script_lang_js_, optionvue_type_template_id_7a44c642_render, optionvue_type_template_id_7a44c642_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var option_api; } option_component.options.__file = "packages/select/src/option.vue" /* harmony default export */ var src_option = (option_component.exports); // EXTERNAL MODULE: external "element-ui/lib/tag" var tag_ = __webpack_require__(21); var tag_default = /*#__PURE__*/__webpack_require__.n(tag_); // EXTERNAL MODULE: external "element-ui/lib/utils/resize-event" var resize_event_ = __webpack_require__(13); // EXTERNAL MODULE: external "element-ui/lib/locale" var lib_locale_ = __webpack_require__(9); var lib_locale_default = /*#__PURE__*/__webpack_require__.n(lib_locale_); // EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view" var scroll_into_view_ = __webpack_require__(22); var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_); // CONCATENATED MODULE: ./packages/select/src/navigation-mixin.js /* harmony default export */ var navigation_mixin = ({ data: function data() { return { hoverOption: -1 }; }, computed: { optionsAllDisabled: function optionsAllDisabled() { return this.options.filter(function (option) { return option.visible; }).every(function (option) { return option.disabled; }); } }, watch: { hoverIndex: function hoverIndex(val) { var _this = this; if (typeof val === 'number' && val > -1) { this.hoverOption = this.options[val] || {}; } this.options.forEach(function (option) { option.hover = _this.hoverOption === option; }); } }, methods: { navigateOptions: function navigateOptions(direction) { var _this2 = this; if (!this.visible) { this.visible = true; return; } if (this.options.length === 0 || this.filteredOptionsCount === 0) return; if (!this.optionsAllDisabled) { if (direction === 'next') { this.hoverIndex++; if (this.hoverIndex === this.options.length) { this.hoverIndex = 0; } } else if (direction === 'prev') { this.hoverIndex--; if (this.hoverIndex < 0) { this.hoverIndex = this.options.length - 1; } } var option = this.options[this.hoverIndex]; if (option.disabled === true || option.groupDisabled === true || !option.visible) { this.navigateOptions(direction); } this.$nextTick(function () { return _this2.scrollToOption(_this2.hoverOption); }); } } } }); // EXTERNAL MODULE: external "element-ui/lib/utils/shared" var shared_ = __webpack_require__(25); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var selectvue_type_script_lang_js_ = ({ mixins: [emitter_default.a, locale_default.a, focus_default()('reference'), navigation_mixin], name: 'ElSelect', componentName: 'ElSelect', inject: { elForm: { default: '' }, elFormItem: { default: '' } }, provide: function provide() { return { 'select': this }; }, computed: { _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, readonly: function readonly() { return !this.filterable || this.multiple || !Object(util_["isIE"])() && !Object(util_["isEdge"])() && !this.visible; }, showClose: function showClose() { var hasValue = this.multiple ? Array.isArray(this.value) && this.value.length > 0 : this.value !== undefined && this.value !== null && this.value !== ''; var criteria = this.clearable && !this.selectDisabled && this.inputHovering && hasValue; return criteria; }, iconClass: function iconClass() { return this.remote && this.filterable ? '' : this.visible ? 'arrow-up is-reverse' : 'arrow-up'; }, debounce: function debounce() { return this.remote ? 300 : 0; }, emptyText: function emptyText() { if (this.loading) { return this.loadingText || this.t('el.select.loading'); } else { if (this.remote && this.query === '' && this.options.length === 0) return false; if (this.filterable && this.query && this.options.length > 0 && this.filteredOptionsCount === 0) { return this.noMatchText || this.t('el.select.noMatch'); } if (this.options.length === 0) { return this.noDataText || this.t('el.select.noData'); } } return null; }, showNewOption: function showNewOption() { var _this = this; var hasExistingOption = this.options.filter(function (option) { return !option.created; }).some(function (option) { return option.currentLabel === _this.query; }); return this.filterable && this.allowCreate && this.query !== '' && !hasExistingOption; }, selectSize: function selectSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, selectDisabled: function selectDisabled() { return this.disabled || (this.elForm || {}).disabled; }, collapseTagSize: function collapseTagSize() { return ['small', 'mini'].indexOf(this.selectSize) > -1 ? 'mini' : 'small'; } }, components: { ElInput: input_default.a, ElSelectMenu: select_dropdown, ElOption: src_option, ElTag: tag_default.a, ElScrollbar: scrollbar_default.a }, directives: { Clickoutside: clickoutside_default.a }, props: { name: String, id: String, value: { required: true }, autocomplete: { type: String, default: 'off' }, /** @Deprecated in next major version */ autoComplete: { type: String, validator: function validator(val) { false && false; return true; } }, automaticDropdown: Boolean, size: String, disabled: Boolean, clearable: Boolean, filterable: Boolean, allowCreate: Boolean, loading: Boolean, popperClass: String, remote: Boolean, loadingText: String, noMatchText: String, noDataText: String, remoteMethod: Function, filterMethod: Function, multiple: Boolean, multipleLimit: { type: Number, default: 0 }, placeholder: { type: String, default: function _default() { return Object(lib_locale_["t"])('el.select.placeholder'); } }, defaultFirstOption: Boolean, reserveKeyword: Boolean, valueKey: { type: String, default: 'value' }, collapseTags: Boolean, popperAppendToBody: { type: Boolean, default: true } }, data: function data() { return { options: [], cachedOptions: [], createdLabel: null, createdSelected: false, selected: this.multiple ? [] : {}, inputLength: 20, inputWidth: 0, initialInputHeight: 0, cachedPlaceHolder: '', optionsCount: 0, filteredOptionsCount: 0, visible: false, softFocus: false, selectedLabel: '', hoverIndex: -1, query: '', previousQuery: null, inputHovering: false, currentPlaceholder: '', menuVisibleOnFocus: false, isOnComposition: false, isSilentBlur: false }; }, watch: { selectDisabled: function selectDisabled() { var _this2 = this; this.$nextTick(function () { _this2.resetInputHeight(); }); }, placeholder: function placeholder(val) { this.cachedPlaceHolder = this.currentPlaceholder = val; }, value: function value(val, oldVal) { if (this.multiple) { this.resetInputHeight(); if (val.length > 0 || this.$refs.input && this.query !== '') { this.currentPlaceholder = ''; } else { this.currentPlaceholder = this.cachedPlaceHolder; } if (this.filterable && !this.reserveKeyword) { this.query = ''; this.handleQueryChange(this.query); } } this.setSelected(); if (this.filterable && !this.multiple) { this.inputLength = 20; } if (!Object(util_["valueEquals"])(val, oldVal)) { this.dispatch('ElFormItem', 'el.form.change', val); } }, visible: function visible(val) { var _this3 = this; if (!val) { this.broadcast('ElSelectDropdown', 'destroyPopper'); if (this.$refs.input) { this.$refs.input.blur(); } this.query = ''; this.previousQuery = null; this.selectedLabel = ''; this.inputLength = 20; this.menuVisibleOnFocus = false; this.resetHoverIndex(); this.$nextTick(function () { if (_this3.$refs.input && _this3.$refs.input.value === '' && _this3.selected.length === 0) { _this3.currentPlaceholder = _this3.cachedPlaceHolder; } }); if (!this.multiple) { if (this.selected) { if (this.filterable && this.allowCreate && this.createdSelected && this.createdLabel) { this.selectedLabel = this.createdLabel; } else { this.selectedLabel = this.selected.currentLabel; } if (this.filterable) this.query = this.selectedLabel; } } } else { this.broadcast('ElSelectDropdown', 'updatePopper'); if (this.filterable) { this.query = this.remote ? '' : this.selectedLabel; this.handleQueryChange(this.query); if (this.multiple) { this.$refs.input.focus(); } else { if (!this.remote) { this.broadcast('ElOption', 'queryChange', ''); this.broadcast('ElOptionGroup', 'queryChange'); } this.broadcast('ElInput', 'inputSelect'); } } } this.$emit('visible-change', val); }, options: function options() { var _this4 = this; if (this.$isServer) return; this.$nextTick(function () { _this4.broadcast('ElSelectDropdown', 'updatePopper'); }); if (this.multiple) { this.resetInputHeight(); } var inputs = this.$el.querySelectorAll('input'); if ([].indexOf.call(inputs, document.activeElement) === -1) { this.setSelected(); } if (this.defaultFirstOption && (this.filterable || this.remote) && this.filteredOptionsCount) { this.checkDefaultFirstOption(); } } }, methods: { handleComposition: function handleComposition(event) { var text = event.target.value; if (event.type === 'compositionend') { this.isOnComposition = false; this.handleQueryChange(text); } else { var lastCharacter = text[text.length - 1] || ''; this.isOnComposition = !Object(shared_["isKorean"])(lastCharacter); } }, handleQueryChange: function handleQueryChange(val) { var _this5 = this; if (this.previousQuery === val || this.isOnComposition) return; if (this.previousQuery === null && (typeof this.filterMethod === 'function' || typeof this.remoteMethod === 'function')) { this.previousQuery = val; return; } this.previousQuery = val; this.$nextTick(function () { if (_this5.visible) _this5.broadcast('ElSelectDropdown', 'updatePopper'); }); this.hoverIndex = -1; if (this.multiple && this.filterable) { var length = this.$refs.input.value.length * 15 + 20; this.inputLength = this.collapseTags ? Math.min(50, length) : length; this.managePlaceholder(); this.resetInputHeight(); } if (this.remote && typeof this.remoteMethod === 'function') { this.hoverIndex = -1; this.remoteMethod(val); } else if (typeof this.filterMethod === 'function') { this.filterMethod(val); this.broadcast('ElOptionGroup', 'queryChange'); } else { this.filteredOptionsCount = this.optionsCount; this.broadcast('ElOption', 'queryChange', val); this.broadcast('ElOptionGroup', 'queryChange'); } if (this.defaultFirstOption && (this.filterable || this.remote) && this.filteredOptionsCount) { this.checkDefaultFirstOption(); } }, scrollToOption: function scrollToOption(option) { var target = Array.isArray(option) && option[0] ? option[0].$el : option.$el; if (this.$refs.popper && target) { var menu = this.$refs.popper.$el.querySelector('.el-select-dropdown__wrap'); scroll_into_view_default()(menu, target); } this.$refs.scrollbar && this.$refs.scrollbar.handleScroll(); }, handleMenuEnter: function handleMenuEnter() { var _this6 = this; this.$nextTick(function () { return _this6.scrollToOption(_this6.selected); }); }, emitChange: function emitChange(val) { if (!Object(util_["valueEquals"])(this.value, val)) { this.$emit('change', val); } }, getOption: function getOption(value) { var option = void 0; var isObject = Object.prototype.toString.call(value).toLowerCase() === '[object object]'; var isNull = Object.prototype.toString.call(value).toLowerCase() === '[object null]'; for (var i = this.cachedOptions.length - 1; i >= 0; i--) { var cachedOption = this.cachedOptions[i]; var isEqual = isObject ? Object(util_["getValueByPath"])(cachedOption.value, this.valueKey) === Object(util_["getValueByPath"])(value, this.valueKey) : cachedOption.value === value; if (isEqual) { option = cachedOption; break; } } if (option) return option; var label = !isObject && !isNull ? value : ''; var newOption = { value: value, currentLabel: label }; if (this.multiple) { newOption.hitState = false; } return newOption; }, setSelected: function setSelected() { var _this7 = this; if (!this.multiple) { var option = this.getOption(this.value); if (option.created) { this.createdLabel = option.currentLabel; this.createdSelected = true; } else { this.createdSelected = false; } this.selectedLabel = option.currentLabel; this.selected = option; if (this.filterable) this.query = this.selectedLabel; return; } var result = []; if (Array.isArray(this.value)) { this.value.forEach(function (value) { result.push(_this7.getOption(value)); }); } this.selected = result; this.$nextTick(function () { _this7.resetInputHeight(); }); }, handleFocus: function handleFocus(event) { if (!this.softFocus) { if (this.automaticDropdown || this.filterable) { this.visible = true; this.menuVisibleOnFocus = true; } this.$emit('focus', event); } else { this.softFocus = false; } }, blur: function blur() { this.visible = false; this.$refs.reference.blur(); }, handleBlur: function handleBlur(event) { var _this8 = this; setTimeout(function () { if (_this8.isSilentBlur) { _this8.isSilentBlur = false; } else { _this8.$emit('blur', event); } }, 50); this.softFocus = false; }, handleClearClick: function handleClearClick(event) { this.deleteSelected(event); }, doDestroy: function doDestroy() { this.$refs.popper && this.$refs.popper.doDestroy(); }, handleClose: function handleClose() { this.visible = false; }, toggleLastOptionHitState: function toggleLastOptionHitState(hit) { if (!Array.isArray(this.selected)) return; var option = this.selected[this.selected.length - 1]; if (!option) return; if (hit === true || hit === false) { option.hitState = hit; return hit; } option.hitState = !option.hitState; return option.hitState; }, deletePrevTag: function deletePrevTag(e) { if (e.target.value.length <= 0 && !this.toggleLastOptionHitState()) { var value = this.value.slice(); value.pop(); this.$emit('input', value); this.emitChange(value); } }, managePlaceholder: function managePlaceholder() { if (this.currentPlaceholder !== '') { this.currentPlaceholder = this.$refs.input.value ? '' : this.cachedPlaceHolder; } }, resetInputState: function resetInputState(e) { if (e.keyCode !== 8) this.toggleLastOptionHitState(false); this.inputLength = this.$refs.input.value.length * 15 + 20; this.resetInputHeight(); }, resetInputHeight: function resetInputHeight() { var _this9 = this; if (this.collapseTags && !this.filterable) return; this.$nextTick(function () { if (!_this9.$refs.reference) return; var inputChildNodes = _this9.$refs.reference.$el.childNodes; var input = [].filter.call(inputChildNodes, function (item) { return item.tagName === 'INPUT'; })[0]; var tags = _this9.$refs.tags; var sizeInMap = _this9.initialInputHeight || 40; input.style.height = _this9.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tags.clientHeight + (tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px'; if (_this9.visible && _this9.emptyText !== false) { _this9.broadcast('ElSelectDropdown', 'updatePopper'); } }); }, resetHoverIndex: function resetHoverIndex() { var _this10 = this; setTimeout(function () { if (!_this10.multiple) { _this10.hoverIndex = _this10.options.indexOf(_this10.selected); } else { if (_this10.selected.length > 0) { _this10.hoverIndex = Math.min.apply(null, _this10.selected.map(function (item) { return _this10.options.indexOf(item); })); } else { _this10.hoverIndex = -1; } } }, 300); }, handleOptionSelect: function handleOptionSelect(option, byClick) { var _this11 = this; if (this.multiple) { var value = this.value.slice(); var optionIndex = this.getValueIndex(value, option.value); if (optionIndex > -1) { value.splice(optionIndex, 1); } else if (this.multipleLimit <= 0 || value.length < this.multipleLimit) { value.push(option.value); } this.$emit('input', value); this.emitChange(value); if (option.created) { this.query = ''; this.handleQueryChange(''); this.inputLength = 20; } if (this.filterable) this.$refs.input.focus(); } else { this.$emit('input', option.value); this.emitChange(option.value); this.visible = false; } this.isSilentBlur = byClick; this.setSoftFocus(); if (this.visible) return; this.$nextTick(function () { _this11.scrollToOption(option); }); }, setSoftFocus: function setSoftFocus() { this.softFocus = true; var input = this.$refs.input || this.$refs.reference; if (input) { input.focus(); } }, getValueIndex: function getValueIndex() { var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var value = arguments[1]; var isObject = Object.prototype.toString.call(value).toLowerCase() === '[object object]'; if (!isObject) { return arr.indexOf(value); } else { var valueKey = this.valueKey; var index = -1; arr.some(function (item, i) { if (Object(util_["getValueByPath"])(item, valueKey) === Object(util_["getValueByPath"])(value, valueKey)) { index = i; return true; } return false; }); return index; } }, toggleMenu: function toggleMenu() { if (!this.selectDisabled) { if (this.menuVisibleOnFocus) { this.menuVisibleOnFocus = false; } else { this.visible = !this.visible; } if (this.visible) { (this.$refs.input || this.$refs.reference).focus(); } } }, selectOption: function selectOption() { if (!this.visible) { this.toggleMenu(); } else { if (this.options[this.hoverIndex]) { this.handleOptionSelect(this.options[this.hoverIndex]); } } }, deleteSelected: function deleteSelected(event) { event.stopPropagation(); var value = this.multiple ? [] : ''; this.$emit('input', value); this.emitChange(value); this.visible = false; this.$emit('clear'); }, deleteTag: function deleteTag(event, tag) { var index = this.selected.indexOf(tag); if (index > -1 && !this.selectDisabled) { var value = this.value.slice(); value.splice(index, 1); this.$emit('input', value); this.emitChange(value); this.$emit('remove-tag', tag.value); } event.stopPropagation(); }, onInputChange: function onInputChange() { if (this.filterable && this.query !== this.selectedLabel) { this.query = this.selectedLabel; this.handleQueryChange(this.query); } }, onOptionDestroy: function onOptionDestroy(index) { if (index > -1) { this.optionsCount--; this.filteredOptionsCount--; this.options.splice(index, 1); } }, resetInputWidth: function resetInputWidth() { this.inputWidth = this.$refs.reference.$el.getBoundingClientRect().width; }, handleResize: function handleResize() { this.resetInputWidth(); if (this.multiple) this.resetInputHeight(); }, checkDefaultFirstOption: function checkDefaultFirstOption() { this.hoverIndex = -1; // highlight the created option var hasCreated = false; for (var i = this.options.length - 1; i >= 0; i--) { if (this.options[i].created) { hasCreated = true; this.hoverIndex = i; break; } } if (hasCreated) return; for (var _i = 0; _i !== this.options.length; ++_i) { var option = this.options[_i]; if (this.query) { // highlight first options that passes the filter if (!option.disabled && !option.groupDisabled && option.visible) { this.hoverIndex = _i; break; } } else { // highlight currently selected option if (option.itemSelected) { this.hoverIndex = _i; break; } } } }, getValueKey: function getValueKey(item) { if (Object.prototype.toString.call(item.value).toLowerCase() !== '[object object]') { return item.value; } else { return Object(util_["getValueByPath"])(item.value, this.valueKey); } } }, created: function created() { var _this12 = this; this.cachedPlaceHolder = this.currentPlaceholder = this.placeholder; if (this.multiple && !Array.isArray(this.value)) { this.$emit('input', []); } if (!this.multiple && Array.isArray(this.value)) { this.$emit('input', ''); } this.debouncedOnInputChange = debounce_default()(this.debounce, function () { _this12.onInputChange(); }); this.debouncedQueryChange = debounce_default()(this.debounce, function (e) { _this12.handleQueryChange(e.target.value); }); this.$on('handleOptionClick', this.handleOptionSelect); this.$on('setSelected', this.setSelected); }, mounted: function mounted() { var _this13 = this; if (this.multiple && Array.isArray(this.value) && this.value.length > 0) { this.currentPlaceholder = ''; } Object(resize_event_["addResizeListener"])(this.$el, this.handleResize); var reference = this.$refs.reference; if (reference && reference.$el) { var sizeMap = { medium: 36, small: 32, mini: 28 }; this.initialInputHeight = reference.$el.getBoundingClientRect().height || sizeMap[this.selectSize]; } if (this.remote && this.multiple) { this.resetInputHeight(); } this.$nextTick(function () { if (reference && reference.$el) { _this13.inputWidth = reference.$el.getBoundingClientRect().width; } }); this.setSelected(); }, beforeDestroy: function beforeDestroy() { if (this.$el && this.handleResize) Object(resize_event_["removeResizeListener"])(this.$el, this.handleResize); } }); // CONCATENATED MODULE: ./packages/select/src/select.vue?vue&type=script&lang=js& /* harmony default export */ var src_selectvue_type_script_lang_js_ = (selectvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/select/src/select.vue /* normalize component */ var select_component = normalizeComponent( src_selectvue_type_script_lang_js_, selectvue_type_template_id_0e4aade6_render, selectvue_type_template_id_0e4aade6_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var select_api; } select_component.options.__file = "packages/select/src/select.vue" /* harmony default export */ var src_select = (select_component.exports); // CONCATENATED MODULE: ./packages/select/index.js /* istanbul ignore next */ src_select.install = function (Vue) { Vue.component(src_select.name, src_select); }; /* harmony default export */ var packages_select = (src_select); // CONCATENATED MODULE: ./packages/option/index.js /* istanbul ignore next */ src_option.install = function (Vue) { Vue.component(src_option.name, src_option); }; /* harmony default export */ var packages_option = (src_option); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option-group.vue?vue&type=template&id=6685e5de& var option_groupvue_type_template_id_6685e5de_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "ul", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-select-group__wrap" }, [ _c("li", { staticClass: "el-select-group__title" }, [ _vm._v(_vm._s(_vm.label)) ]), _c("li", [ _c("ul", { staticClass: "el-select-group" }, [_vm._t("default")], 2) ]) ] ) } var option_groupvue_type_template_id_6685e5de_staticRenderFns = [] option_groupvue_type_template_id_6685e5de_render._withStripped = true // CONCATENATED MODULE: ./packages/select/src/option-group.vue?vue&type=template&id=6685e5de& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option-group.vue?vue&type=script&lang=js& // // // // // // // // // // // /* harmony default export */ var option_groupvue_type_script_lang_js_ = ({ mixins: [emitter_default.a], name: 'ElOptionGroup', componentName: 'ElOptionGroup', props: { label: String, disabled: { type: Boolean, default: false } }, data: function data() { return { visible: true }; }, watch: { disabled: function disabled(val) { this.broadcast('ElOption', 'handleGroupDisabled', val); } }, methods: { queryChange: function queryChange() { this.visible = this.$children && Array.isArray(this.$children) && this.$children.some(function (option) { return option.visible === true; }); } }, created: function created() { this.$on('queryChange', this.queryChange); }, mounted: function mounted() { if (this.disabled) { this.broadcast('ElOption', 'handleGroupDisabled', this.disabled); } } }); // CONCATENATED MODULE: ./packages/select/src/option-group.vue?vue&type=script&lang=js& /* harmony default export */ var src_option_groupvue_type_script_lang_js_ = (option_groupvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/select/src/option-group.vue /* normalize component */ var option_group_component = normalizeComponent( src_option_groupvue_type_script_lang_js_, option_groupvue_type_template_id_6685e5de_render, option_groupvue_type_template_id_6685e5de_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var option_group_api; } option_group_component.options.__file = "packages/select/src/option-group.vue" /* harmony default export */ var option_group = (option_group_component.exports); // CONCATENATED MODULE: ./packages/option-group/index.js /* istanbul ignore next */ option_group.install = function (Vue) { Vue.component(option_group.name, option_group); }; /* harmony default export */ var packages_option_group = (option_group); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=template&id=ca859fb4& var buttonvue_type_template_id_ca859fb4_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "button", { staticClass: "el-button", class: [ _vm.type ? "el-button--" + _vm.type : "", _vm.buttonSize ? "el-button--" + _vm.buttonSize : "", { "is-disabled": _vm.buttonDisabled, "is-loading": _vm.loading, "is-plain": _vm.plain, "is-round": _vm.round, "is-circle": _vm.circle } ], attrs: { disabled: _vm.buttonDisabled || _vm.loading, autofocus: _vm.autofocus, type: _vm.nativeType }, on: { click: _vm.handleClick } }, [ _vm.loading ? _c("i", { staticClass: "el-icon-loading" }) : _vm._e(), _vm.icon && !_vm.loading ? _c("i", { class: _vm.icon }) : _vm._e(), _vm.$slots.default ? _c("span", [_vm._t("default")], 2) : _vm._e() ] ) } var buttonvue_type_template_id_ca859fb4_staticRenderFns = [] buttonvue_type_template_id_ca859fb4_render._withStripped = true // CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=template&id=ca859fb4& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var buttonvue_type_script_lang_js_ = ({ name: 'ElButton', inject: { elForm: { default: '' }, elFormItem: { default: '' } }, props: { type: { type: String, default: 'default' }, size: String, icon: { type: String, default: '' }, nativeType: { type: String, default: 'button' }, loading: Boolean, disabled: Boolean, plain: Boolean, autofocus: Boolean, round: Boolean, circle: Boolean }, computed: { _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, buttonSize: function buttonSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, buttonDisabled: function buttonDisabled() { return this.disabled || (this.elForm || {}).disabled; } }, methods: { handleClick: function handleClick(evt) { this.$emit('click', evt); } } }); // CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=script&lang=js& /* harmony default export */ var src_buttonvue_type_script_lang_js_ = (buttonvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/button/src/button.vue /* normalize component */ var button_component = normalizeComponent( src_buttonvue_type_script_lang_js_, buttonvue_type_template_id_ca859fb4_render, buttonvue_type_template_id_ca859fb4_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var button_api; } button_component.options.__file = "packages/button/src/button.vue" /* harmony default export */ var src_button = (button_component.exports); // CONCATENATED MODULE: ./packages/button/index.js /* istanbul ignore next */ src_button.install = function (Vue) { Vue.component(src_button.name, src_button); }; /* harmony default export */ var packages_button = (src_button); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button-group.vue?vue&type=template&id=3d8661d0& var button_groupvue_type_template_id_3d8661d0_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "el-button-group" }, [_vm._t("default")], 2) } var button_groupvue_type_template_id_3d8661d0_staticRenderFns = [] button_groupvue_type_template_id_3d8661d0_render._withStripped = true // CONCATENATED MODULE: ./packages/button/src/button-group.vue?vue&type=template&id=3d8661d0& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button-group.vue?vue&type=script&lang=js& // // // // // /* harmony default export */ var button_groupvue_type_script_lang_js_ = ({ name: 'ElButtonGroup' }); // CONCATENATED MODULE: ./packages/button/src/button-group.vue?vue&type=script&lang=js& /* harmony default export */ var src_button_groupvue_type_script_lang_js_ = (button_groupvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/button/src/button-group.vue /* normalize component */ var button_group_component = normalizeComponent( src_button_groupvue_type_script_lang_js_, button_groupvue_type_template_id_3d8661d0_render, button_groupvue_type_template_id_3d8661d0_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var button_group_api; } button_group_component.options.__file = "packages/button/src/button-group.vue" /* harmony default export */ var button_group = (button_group_component.exports); // CONCATENATED MODULE: ./packages/button-group/index.js /* istanbul ignore next */ button_group.install = function (Vue) { Vue.component(button_group.name, button_group); }; /* harmony default export */ var packages_button_group = (button_group); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/table.vue?vue&type=template&id=493fe34e& var tablevue_type_template_id_493fe34e_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-table", class: [ { "el-table--fit": _vm.fit, "el-table--striped": _vm.stripe, "el-table--border": _vm.border || _vm.isGroup, "el-table--hidden": _vm.isHidden, "el-table--group": _vm.isGroup, "el-table--fluid-height": _vm.maxHeight, "el-table--scrollable-x": _vm.layout.scrollX, "el-table--scrollable-y": _vm.layout.scrollY, "el-table--enable-row-hover": !_vm.store.states.isComplex, "el-table--enable-row-transition": (_vm.store.states.data || []).length !== 0 && (_vm.store.states.data || []).length < 100 }, _vm.tableSize ? "el-table--" + _vm.tableSize : "" ], on: { mouseleave: function($event) { _vm.handleMouseLeave($event) } } }, [ _c( "div", { ref: "hiddenColumns", staticClass: "hidden-columns" }, [_vm._t("default")], 2 ), _vm.showHeader ? _c( "div", { directives: [ { name: "mousewheel", rawName: "v-mousewheel", value: _vm.handleHeaderFooterMousewheel, expression: "handleHeaderFooterMousewheel" } ], ref: "headerWrapper", staticClass: "el-table__header-wrapper" }, [ _c("table-header", { ref: "tableHeader", style: { width: _vm.layout.bodyWidth ? _vm.layout.bodyWidth + "px" : "" }, attrs: { store: _vm.store, border: _vm.border, "default-sort": _vm.defaultSort } }) ], 1 ) : _vm._e(), _c( "div", { ref: "bodyWrapper", staticClass: "el-table__body-wrapper", class: [ _vm.layout.scrollX ? "is-scrolling-" + _vm.scrollPosition : "is-scrolling-none" ], style: [_vm.bodyHeight] }, [ _c("table-body", { style: { width: _vm.bodyWidth }, attrs: { context: _vm.context, store: _vm.store, stripe: _vm.stripe, "row-class-name": _vm.rowClassName, "row-style": _vm.rowStyle, highlight: _vm.highlightCurrentRow } }), !_vm.data || _vm.data.length === 0 ? _c( "div", { ref: "emptyBlock", staticClass: "el-table__empty-block", style: { width: _vm.bodyWidth } }, [ _c( "span", { staticClass: "el-table__empty-text" }, [ _vm._t("empty", [ _vm._v( _vm._s(_vm.emptyText || _vm.t("el.table.emptyText")) ) ]) ], 2 ) ] ) : _vm._e(), _vm.$slots.append ? _c( "div", { ref: "appendWrapper", staticClass: "el-table__append-wrapper" }, [_vm._t("append")], 2 ) : _vm._e() ], 1 ), _vm.showSummary ? _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.data && _vm.data.length > 0, expression: "data && data.length > 0" }, { name: "mousewheel", rawName: "v-mousewheel", value: _vm.handleHeaderFooterMousewheel, expression: "handleHeaderFooterMousewheel" } ], ref: "footerWrapper", staticClass: "el-table__footer-wrapper" }, [ _c("table-footer", { style: { width: _vm.layout.bodyWidth ? _vm.layout.bodyWidth + "px" : "" }, attrs: { store: _vm.store, border: _vm.border, "sum-text": _vm.sumText || _vm.t("el.table.sumText"), "summary-method": _vm.summaryMethod, "default-sort": _vm.defaultSort } }) ], 1 ) : _vm._e(), _vm.fixedColumns.length > 0 ? _c( "div", { directives: [ { name: "mousewheel", rawName: "v-mousewheel", value: _vm.handleFixedMousewheel, expression: "handleFixedMousewheel" } ], ref: "fixedWrapper", staticClass: "el-table__fixed", style: [ { width: _vm.layout.fixedWidth ? _vm.layout.fixedWidth + "px" : "" }, _vm.fixedHeight ] }, [ _vm.showHeader ? _c( "div", { ref: "fixedHeaderWrapper", staticClass: "el-table__fixed-header-wrapper" }, [ _c("table-header", { ref: "fixedTableHeader", style: { width: _vm.bodyWidth }, attrs: { fixed: "left", border: _vm.border, store: _vm.store } }) ], 1 ) : _vm._e(), _c( "div", { ref: "fixedBodyWrapper", staticClass: "el-table__fixed-body-wrapper", style: [ { top: _vm.layout.headerHeight + "px" }, _vm.fixedBodyHeight ] }, [ _c("table-body", { style: { width: _vm.bodyWidth }, attrs: { fixed: "left", store: _vm.store, stripe: _vm.stripe, highlight: _vm.highlightCurrentRow, "row-class-name": _vm.rowClassName, "row-style": _vm.rowStyle } }), _vm.$slots.append ? _c("div", { staticClass: "el-table__append-gutter", style: { height: _vm.layout.appendHeight + "px" } }) : _vm._e() ], 1 ), _vm.showSummary ? _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.data && _vm.data.length > 0, expression: "data && data.length > 0" } ], ref: "fixedFooterWrapper", staticClass: "el-table__fixed-footer-wrapper" }, [ _c("table-footer", { style: { width: _vm.bodyWidth }, attrs: { fixed: "left", border: _vm.border, "sum-text": _vm.sumText || _vm.t("el.table.sumText"), "summary-method": _vm.summaryMethod, store: _vm.store } }) ], 1 ) : _vm._e() ] ) : _vm._e(), _vm.rightFixedColumns.length > 0 ? _c( "div", { directives: [ { name: "mousewheel", rawName: "v-mousewheel", value: _vm.handleFixedMousewheel, expression: "handleFixedMousewheel" } ], ref: "rightFixedWrapper", staticClass: "el-table__fixed-right", style: [ { width: _vm.layout.rightFixedWidth ? _vm.layout.rightFixedWidth + "px" : "", right: _vm.layout.scrollY ? (_vm.border ? _vm.layout.gutterWidth : _vm.layout.gutterWidth || 0) + "px" : "" }, _vm.fixedHeight ] }, [ _vm.showHeader ? _c( "div", { ref: "rightFixedHeaderWrapper", staticClass: "el-table__fixed-header-wrapper" }, [ _c("table-header", { ref: "rightFixedTableHeader", style: { width: _vm.bodyWidth }, attrs: { fixed: "right", border: _vm.border, store: _vm.store } }) ], 1 ) : _vm._e(), _c( "div", { ref: "rightFixedBodyWrapper", staticClass: "el-table__fixed-body-wrapper", style: [ { top: _vm.layout.headerHeight + "px" }, _vm.fixedBodyHeight ] }, [ _c("table-body", { style: { width: _vm.bodyWidth }, attrs: { fixed: "right", store: _vm.store, stripe: _vm.stripe, "row-class-name": _vm.rowClassName, "row-style": _vm.rowStyle, highlight: _vm.highlightCurrentRow } }) ], 1 ), _vm.showSummary ? _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.data && _vm.data.length > 0, expression: "data && data.length > 0" } ], ref: "rightFixedFooterWrapper", staticClass: "el-table__fixed-footer-wrapper" }, [ _c("table-footer", { style: { width: _vm.bodyWidth }, attrs: { fixed: "right", border: _vm.border, "sum-text": _vm.sumText || _vm.t("el.table.sumText"), "summary-method": _vm.summaryMethod, store: _vm.store } }) ], 1 ) : _vm._e() ] ) : _vm._e(), _vm.rightFixedColumns.length > 0 ? _c("div", { ref: "rightFixedPatch", staticClass: "el-table__fixed-right-patch", style: { width: _vm.layout.scrollY ? _vm.layout.gutterWidth + "px" : "0", height: _vm.layout.headerHeight + "px" } }) : _vm._e(), _c("div", { directives: [ { name: "show", rawName: "v-show", value: _vm.resizeProxyVisible, expression: "resizeProxyVisible" } ], ref: "resizeProxy", staticClass: "el-table__column-resize-proxy" }) ] ) } var tablevue_type_template_id_493fe34e_staticRenderFns = [] tablevue_type_template_id_493fe34e_render._withStripped = true // CONCATENATED MODULE: ./packages/table/src/table.vue?vue&type=template&id=493fe34e& // EXTERNAL MODULE: external "element-ui/lib/checkbox" var checkbox_ = __webpack_require__(14); var checkbox_default = /*#__PURE__*/__webpack_require__.n(checkbox_); // EXTERNAL MODULE: external "normalize-wheel" var external_normalize_wheel_ = __webpack_require__(34); var external_normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(external_normalize_wheel_); // CONCATENATED MODULE: ./src/directives/mousewheel.js var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1; var mousewheel_mousewheel = function mousewheel(element, callback) { if (element && element.addEventListener) { element.addEventListener(isFirefox ? 'DOMMouseScroll' : 'mousewheel', function (event) { var normalized = external_normalize_wheel_default()(event); callback && callback.apply(this, [event, normalized]); }); } }; /* harmony default export */ var directives_mousewheel = ({ bind: function bind(el, binding) { mousewheel_mousewheel(el, binding.value); } }); // EXTERNAL MODULE: external "vue" var external_vue_ = __webpack_require__(3); var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_); // CONCATENATED MODULE: ./packages/table/src/util.js var util_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var getCell = function getCell(event) { var cell = event.target; while (cell && cell.tagName.toUpperCase() !== 'HTML') { if (cell.tagName.toUpperCase() === 'TD') { return cell; } cell = cell.parentNode; } return null; }; var util_isObject = function isObject(obj) { return obj !== null && (typeof obj === 'undefined' ? 'undefined' : util_typeof(obj)) === 'object'; }; var util_orderBy = function orderBy(array, sortKey, reverse, sortMethod, sortBy) { if (!sortKey && !sortMethod && (!sortBy || Array.isArray(sortBy) && !sortBy.length)) { return array; } if (typeof reverse === 'string') { reverse = reverse === 'descending' ? -1 : 1; } else { reverse = reverse && reverse < 0 ? -1 : 1; } var getKey = sortMethod ? null : function (value, index) { if (sortBy) { if (!Array.isArray(sortBy)) { sortBy = [sortBy]; } return sortBy.map(function (by) { if (typeof by === 'string') { return Object(util_["getValueByPath"])(value, by); } else { return by(value, index, array); } }); } if (sortKey !== '$key') { if (util_isObject(value) && '$value' in value) value = value.$value; } return [util_isObject(value) ? Object(util_["getValueByPath"])(value, sortKey) : value]; }; var compare = function compare(a, b) { if (sortMethod) { return sortMethod(a.value, b.value); } for (var i = 0, len = a.key.length; i < len; i++) { if (a.key[i] < b.key[i]) { return -1; } if (a.key[i] > b.key[i]) { return 1; } } return 0; }; return array.map(function (value, index) { return { value: value, index: index, key: getKey ? getKey(value, index) : null }; }).sort(function (a, b) { var order = compare(a, b); if (!order) { // make stable https://en.wikipedia.org/wiki/Sorting_algorithm#Stability order = a.index - b.index; } return order * reverse; }).map(function (item) { return item.value; }); }; var getColumnById = function getColumnById(table, columnId) { var column = null; table.columns.forEach(function (item) { if (item.id === columnId) { column = item; } }); return column; }; var getColumnByKey = function getColumnByKey(table, columnKey) { var column = null; for (var i = 0; i < table.columns.length; i++) { var item = table.columns[i]; if (item.columnKey === columnKey) { column = item; break; } } return column; }; var getColumnByCell = function getColumnByCell(table, cell) { var matches = (cell.className || '').match(/el-table_[^\s]+/gm); if (matches) { return getColumnById(table, matches[0]); } return null; }; var getRowIdentity = function getRowIdentity(row, rowKey) { if (!row) throw new Error('row is required when get row identity'); if (typeof rowKey === 'string') { if (rowKey.indexOf('.') < 0) { return row[rowKey]; } var key = rowKey.split('.'); var current = row; for (var i = 0; i < key.length; i++) { current = current[key[i]]; } return current; } else if (typeof rowKey === 'function') { return rowKey.call(null, row); } }; // CONCATENATED MODULE: ./packages/table/src/table-store.js var table_store_sortData = function sortData(data, states) { var sortingColumn = states.sortingColumn; if (!sortingColumn || typeof sortingColumn.sortable === 'string') { return data; } return util_orderBy(data, states.sortProp, states.sortOrder, sortingColumn.sortMethod, sortingColumn.sortBy); }; var table_store_getKeysMap = function getKeysMap(array, rowKey) { var arrayMap = {}; (array || []).forEach(function (row, index) { arrayMap[getRowIdentity(row, rowKey)] = { row: row, index: index }; }); return arrayMap; }; var toggleRowSelection = function toggleRowSelection(states, row, selected) { var changed = false; var selection = states.selection; var index = selection.indexOf(row); if (typeof selected === 'undefined') { if (index === -1) { selection.push(row); changed = true; } else { selection.splice(index, 1); changed = true; } } else { if (selected && index === -1) { selection.push(row); changed = true; } else if (!selected && index > -1) { selection.splice(index, 1); changed = true; } } return changed; }; var toggleRowExpansion = function toggleRowExpansion(states, row, expanded) { var changed = false; var expandRows = states.expandRows; if (typeof expanded !== 'undefined') { var index = expandRows.indexOf(row); if (expanded) { if (index === -1) { expandRows.push(row); changed = true; } } else { if (index !== -1) { expandRows.splice(index, 1); changed = true; } } } else { var _index = expandRows.indexOf(row); if (_index === -1) { expandRows.push(row); changed = true; } else { expandRows.splice(_index, 1); changed = true; } } return changed; }; var TableStore = function TableStore(table) { var initialState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; if (!table) { throw new Error('Table is required.'); } this.table = table; this.states = { rowKey: null, _columns: [], originColumns: [], columns: [], fixedColumns: [], rightFixedColumns: [], leafColumns: [], fixedLeafColumns: [], rightFixedLeafColumns: [], leafColumnsLength: 0, fixedLeafColumnsLength: 0, rightFixedLeafColumnsLength: 0, isComplex: false, filteredData: null, data: null, sortingColumn: null, sortProp: null, sortOrder: null, isAllSelected: false, selection: [], reserveSelection: false, selectable: null, currentRow: null, hoverRow: null, filters: {}, expandRows: [], defaultExpandAll: false, selectOnIndeterminate: false }; for (var prop in initialState) { if (initialState.hasOwnProperty(prop) && this.states.hasOwnProperty(prop)) { this.states[prop] = initialState[prop]; } } }; TableStore.prototype.mutations = { setData: function setData(states, data) { var _this = this; var dataInstanceChanged = states._data !== data; states._data = data; Object.keys(states.filters).forEach(function (columnId) { var values = states.filters[columnId]; if (!values || values.length === 0) return; var column = getColumnById(_this.states, columnId); if (column && column.filterMethod) { data = data.filter(function (row) { return values.some(function (value) { return column.filterMethod.call(null, value, row, column); }); }); } }); states.filteredData = data; states.data = table_store_sortData(data || [], states); this.updateCurrentRow(); var rowKey = states.rowKey; if (!states.reserveSelection) { if (dataInstanceChanged) { this.clearSelection(); } else { this.cleanSelection(); } this.updateAllSelected(); } else { if (rowKey) { var selection = states.selection; var selectedMap = table_store_getKeysMap(selection, rowKey); states.data.forEach(function (row) { var rowId = getRowIdentity(row, rowKey); var rowInfo = selectedMap[rowId]; if (rowInfo) { selection[rowInfo.index] = row; } }); this.updateAllSelected(); } else { console.warn('WARN: rowKey is required when reserve-selection is enabled.'); } } var defaultExpandAll = states.defaultExpandAll; if (defaultExpandAll) { this.states.expandRows = (states.data || []).slice(0); } else if (rowKey) { // update expandRows to new rows according to rowKey var ids = table_store_getKeysMap(this.states.expandRows, rowKey); var expandRows = []; for (var _iterator = states.data, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { var _ref; if (_isArray) { if (_i >= _iterator.length) break; _ref = _iterator[_i++]; } else { _i = _iterator.next(); if (_i.done) break; _ref = _i.value; } var row = _ref; var rowId = getRowIdentity(row, rowKey); if (ids[rowId]) { expandRows.push(row); } } this.states.expandRows = expandRows; } else { // clear the old rows this.states.expandRows = []; } external_vue_default.a.nextTick(function () { return _this.table.updateScrollY(); }); }, changeSortCondition: function changeSortCondition(states, options) { var _this2 = this; states.data = table_store_sortData(states.filteredData || states._data || [], states); var _table = this.table, $el = _table.$el, highlightCurrentRow = _table.highlightCurrentRow; if ($el && highlightCurrentRow) { var data = states.data; var tr = $el.querySelector('tbody').children; var rows = [].filter.call(tr, function (row) { return Object(dom_["hasClass"])(row, 'el-table__row'); }); var row = rows[data.indexOf(states.currentRow)]; [].forEach.call(rows, function (row) { return Object(dom_["removeClass"])(row, 'current-row'); }); Object(dom_["addClass"])(row, 'current-row'); } if (!options || !options.silent) { this.table.$emit('sort-change', { column: this.states.sortingColumn, prop: this.states.sortProp, order: this.states.sortOrder }); } external_vue_default.a.nextTick(function () { return _this2.table.updateScrollY(); }); }, sort: function sort(states, options) { var _this3 = this; var prop = options.prop, order = options.order; if (prop) { states.sortProp = prop; states.sortOrder = order || 'ascending'; external_vue_default.a.nextTick(function () { for (var i = 0, length = states.columns.length; i < length; i++) { var column = states.columns[i]; if (column.property === states.sortProp) { column.order = states.sortOrder; states.sortingColumn = column; break; } } if (states.sortingColumn) { _this3.commit('changeSortCondition'); } }); } }, filterChange: function filterChange(states, options) { var _this4 = this; var column = options.column, values = options.values, silent = options.silent, multi = options.multi; if (values && !Array.isArray(values)) { values = [values]; } var filters = {}; if (multi) { column.forEach(function (col) { states.filters[col.id] = values; filters[col.columnKey || col.id] = values; }); } else { var prop = column.property; if (prop) { states.filters[column.id] = values; filters[column.columnKey || column.id] = values; } } var data = states._data; Object.keys(states.filters).forEach(function (columnId) { var values = states.filters[columnId]; if (!values || values.length === 0) return; var column = getColumnById(_this4.states, columnId); if (column && column.filterMethod) { data = data.filter(function (row) { return values.some(function (value) { return column.filterMethod.call(null, value, row, column); }); }); } }); states.filteredData = data; states.data = table_store_sortData(data, states); if (!silent) { this.table.$emit('filter-change', filters); } external_vue_default.a.nextTick(function () { return _this4.table.updateScrollY(); }); }, insertColumn: function insertColumn(states, column, index, parent) { var array = states._columns; if (parent) { array = parent.children; if (!array) array = parent.children = []; } if (typeof index !== 'undefined') { array.splice(index, 0, column); } else { array.push(column); } if (column.type === 'selection') { states.selectable = column.selectable; states.reserveSelection = column.reserveSelection; } if (this.table.$ready) { this.updateColumns(); // hack for dynamics insert column this.scheduleLayout(); } }, removeColumn: function removeColumn(states, column, parent) { var array = states._columns; if (parent) { array = parent.children; if (!array) array = parent.children = []; } if (array) { array.splice(array.indexOf(column), 1); } if (this.table.$ready) { this.updateColumns(); // hack for dynamics remove column this.scheduleLayout(); } }, setHoverRow: function setHoverRow(states, row) { states.hoverRow = row; }, setCurrentRow: function setCurrentRow(states, row) { var oldCurrentRow = states.currentRow; states.currentRow = row; if (oldCurrentRow !== row) { this.table.$emit('current-change', row, oldCurrentRow); } }, rowSelectedChanged: function rowSelectedChanged(states, row) { var changed = toggleRowSelection(states, row); var selection = states.selection; if (changed) { var table = this.table; table.$emit('selection-change', selection ? selection.slice() : []); table.$emit('select', selection, row); } this.updateAllSelected(); }, toggleAllSelection: debounce_default()(10, function (states) { var data = states.data || []; if (data.length === 0) return; var selection = this.states.selection; // when only some rows are selected (but not all), select or deselect all of them // depending on the value of selectOnIndeterminate var value = states.selectOnIndeterminate ? !states.isAllSelected : !(states.isAllSelected || selection.length); var selectionChanged = false; data.forEach(function (item, index) { if (states.selectable) { if (states.selectable.call(null, item, index) && toggleRowSelection(states, item, value)) { selectionChanged = true; } } else { if (toggleRowSelection(states, item, value)) { selectionChanged = true; } } }); var table = this.table; if (selectionChanged) { table.$emit('selection-change', selection ? selection.slice() : []); } table.$emit('select-all', selection); states.isAllSelected = value; }) }; var doFlattenColumns = function doFlattenColumns(columns) { var result = []; columns.forEach(function (column) { if (column.children) { result.push.apply(result, doFlattenColumns(column.children)); } else { result.push(column); } }); return result; }; TableStore.prototype.updateColumns = function () { var states = this.states; var _columns = states._columns || []; states.fixedColumns = _columns.filter(function (column) { return column.fixed === true || column.fixed === 'left'; }); states.rightFixedColumns = _columns.filter(function (column) { return column.fixed === 'right'; }); if (states.fixedColumns.length > 0 && _columns[0] && _columns[0].type === 'selection' && !_columns[0].fixed) { _columns[0].fixed = true; states.fixedColumns.unshift(_columns[0]); } var notFixedColumns = _columns.filter(function (column) { return !column.fixed; }); states.originColumns = [].concat(states.fixedColumns).concat(notFixedColumns).concat(states.rightFixedColumns); var leafColumns = doFlattenColumns(notFixedColumns); var fixedLeafColumns = doFlattenColumns(states.fixedColumns); var rightFixedLeafColumns = doFlattenColumns(states.rightFixedColumns); states.leafColumnsLength = leafColumns.length; states.fixedLeafColumnsLength = fixedLeafColumns.length; states.rightFixedLeafColumnsLength = rightFixedLeafColumns.length; states.columns = [].concat(fixedLeafColumns).concat(leafColumns).concat(rightFixedLeafColumns); states.isComplex = states.fixedColumns.length > 0 || states.rightFixedColumns.length > 0; }; TableStore.prototype.isSelected = function (row) { return (this.states.selection || []).indexOf(row) > -1; }; TableStore.prototype.clearSelection = function () { var states = this.states; states.isAllSelected = false; var oldSelection = states.selection; if (states.selection.length) { states.selection = []; } if (oldSelection.length > 0) { this.table.$emit('selection-change', states.selection ? states.selection.slice() : []); } }; TableStore.prototype.setExpandRowKeys = function (rowKeys) { var expandRows = []; var data = this.states.data; var rowKey = this.states.rowKey; if (!rowKey) throw new Error('[Table] prop row-key should not be empty.'); var keysMap = table_store_getKeysMap(data, rowKey); rowKeys.forEach(function (key) { var info = keysMap[key]; if (info) { expandRows.push(info.row); } }); this.states.expandRows = expandRows; }; TableStore.prototype.toggleRowSelection = function (row, selected) { var changed = toggleRowSelection(this.states, row, selected); if (changed) { this.table.$emit('selection-change', this.states.selection ? this.states.selection.slice() : []); } }; TableStore.prototype.toggleRowExpansion = function (row, expanded) { var changed = toggleRowExpansion(this.states, row, expanded); if (changed) { this.table.$emit('expand-change', row, this.states.expandRows); this.scheduleLayout(); } }; TableStore.prototype.isRowExpanded = function (row) { var _states = this.states, _states$expandRows = _states.expandRows, expandRows = _states$expandRows === undefined ? [] : _states$expandRows, rowKey = _states.rowKey; if (rowKey) { var expandMap = table_store_getKeysMap(expandRows, rowKey); return !!expandMap[getRowIdentity(row, rowKey)]; } return expandRows.indexOf(row) !== -1; }; TableStore.prototype.cleanSelection = function () { var selection = this.states.selection || []; var data = this.states.data; var rowKey = this.states.rowKey; var deleted = void 0; if (rowKey) { deleted = []; var selectedMap = table_store_getKeysMap(selection, rowKey); var dataMap = table_store_getKeysMap(data, rowKey); for (var key in selectedMap) { if (selectedMap.hasOwnProperty(key) && !dataMap[key]) { deleted.push(selectedMap[key].row); } } } else { deleted = selection.filter(function (item) { return data.indexOf(item) === -1; }); } deleted.forEach(function (deletedItem) { selection.splice(selection.indexOf(deletedItem), 1); }); if (deleted.length) { this.table.$emit('selection-change', selection ? selection.slice() : []); } }; TableStore.prototype.clearFilter = function (columnKeys) { var states = this.states; var _table$$refs = this.table.$refs, tableHeader = _table$$refs.tableHeader, fixedTableHeader = _table$$refs.fixedTableHeader, rightFixedTableHeader = _table$$refs.rightFixedTableHeader; var panels = {}; if (tableHeader) panels = merge_default()(panels, tableHeader.filterPanels); if (fixedTableHeader) panels = merge_default()(panels, fixedTableHeader.filterPanels); if (rightFixedTableHeader) panels = merge_default()(panels, rightFixedTableHeader.filterPanels); var keys = Object.keys(panels); if (!keys.length) return; if (typeof columnKeys === 'string') { columnKeys = [columnKeys]; } if (Array.isArray(columnKeys)) { var columns = columnKeys.map(function (key) { return getColumnByKey(states, key); }); keys.forEach(function (key) { var column = columns.find(function (col) { return col.id === key; }); if (column) { panels[key].filteredValue = []; } }); this.commit('filterChange', { column: columns, value: [], silent: true, multi: true }); } else { keys.forEach(function (key) { panels[key].filteredValue = []; }); states.filters = {}; this.commit('filterChange', { column: {}, values: [], silent: true }); } }; TableStore.prototype.clearSort = function () { var states = this.states; if (!states.sortingColumn) return; states.sortingColumn.order = null; states.sortProp = null; states.sortOrder = null; this.commit('changeSortCondition', { silent: true }); }; TableStore.prototype.updateAllSelected = function () { var states = this.states; var selection = states.selection, rowKey = states.rowKey, selectable = states.selectable, data = states.data; if (!data || data.length === 0) { states.isAllSelected = false; return; } var selectedMap = void 0; if (rowKey) { selectedMap = table_store_getKeysMap(states.selection, rowKey); } var isSelected = function isSelected(row) { if (selectedMap) { return !!selectedMap[getRowIdentity(row, rowKey)]; } else { return selection.indexOf(row) !== -1; } }; var isAllSelected = true; var selectedCount = 0; for (var i = 0, j = data.length; i < j; i++) { var item = data[i]; var isRowSelectable = selectable && selectable.call(null, item, i); if (!isSelected(item)) { if (!selectable || isRowSelectable) { isAllSelected = false; break; } } else { selectedCount++; } } if (selectedCount === 0) isAllSelected = false; states.isAllSelected = isAllSelected; }; TableStore.prototype.scheduleLayout = function (updateColumns) { if (updateColumns) { this.updateColumns(); } this.table.debouncedUpdateLayout(); }; TableStore.prototype.setCurrentRowKey = function (key) { var states = this.states; var rowKey = states.rowKey; if (!rowKey) throw new Error('[Table] row-key should not be empty.'); var data = states.data || []; var keysMap = table_store_getKeysMap(data, rowKey); var info = keysMap[key]; states.currentRow = info ? info.row : null; }; TableStore.prototype.updateCurrentRow = function () { var states = this.states; var table = this.table; var data = states.data || []; var oldCurrentRow = states.currentRow; if (data.indexOf(oldCurrentRow) === -1) { if (states.rowKey && oldCurrentRow) { var newCurrentRow = null; for (var i = 0; i < data.length; i++) { var item = data[i]; if (item && item[states.rowKey] === oldCurrentRow[states.rowKey]) { newCurrentRow = item; break; } } if (newCurrentRow) { states.currentRow = newCurrentRow; return; } } states.currentRow = null; if (states.currentRow !== oldCurrentRow) { table.$emit('current-change', null, oldCurrentRow); } } }; TableStore.prototype.commit = function (name) { var mutations = this.mutations; if (mutations[name]) { for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } mutations[name].apply(this, [this.states].concat(args)); } else { throw new Error('Action not found: ' + name); } }; /* harmony default export */ var table_store = (TableStore); // EXTERNAL MODULE: external "element-ui/lib/utils/scrollbar-width" var scrollbar_width_ = __webpack_require__(26); var scrollbar_width_default = /*#__PURE__*/__webpack_require__.n(scrollbar_width_); // CONCATENATED MODULE: ./packages/table/src/table-layout.js function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var table_layout_TableLayout = function () { function TableLayout(options) { _classCallCheck(this, TableLayout); this.observers = []; this.table = null; this.store = null; this.columns = null; this.fit = true; this.showHeader = true; this.height = null; this.scrollX = false; this.scrollY = false; this.bodyWidth = null; this.fixedWidth = null; this.rightFixedWidth = null; this.tableHeight = null; this.headerHeight = 44; // Table Header Height this.appendHeight = 0; // Append Slot Height this.footerHeight = 44; // Table Footer Height this.viewportHeight = null; // Table Height - Scroll Bar Height this.bodyHeight = null; // Table Height - Table Header Height this.fixedBodyHeight = null; // Table Height - Table Header Height - Scroll Bar Height this.gutterWidth = scrollbar_width_default()(); for (var name in options) { if (options.hasOwnProperty(name)) { this[name] = options[name]; } } if (!this.table) { throw new Error('table is required for Table Layout'); } if (!this.store) { throw new Error('store is required for Table Layout'); } } TableLayout.prototype.updateScrollY = function updateScrollY() { var height = this.height; if (typeof height !== 'string' && typeof height !== 'number') return; var bodyWrapper = this.table.bodyWrapper; if (this.table.$el && bodyWrapper) { var body = bodyWrapper.querySelector('.el-table__body'); this.scrollY = body.offsetHeight > this.bodyHeight; } }; TableLayout.prototype.setHeight = function setHeight(value) { var _this = this; var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'height'; if (external_vue_default.a.prototype.$isServer) return; var el = this.table.$el; if (typeof value === 'string' && /^\d+$/.test(value)) { value = Number(value); } this.height = value; if (!el && (value || value === 0)) return external_vue_default.a.nextTick(function () { return _this.setHeight(value, prop); }); if (typeof value === 'number') { el.style[prop] = value + 'px'; this.updateElsHeight(); } else if (typeof value === 'string') { el.style[prop] = value; this.updateElsHeight(); } }; TableLayout.prototype.setMaxHeight = function setMaxHeight(value) { return this.setHeight(value, 'max-height'); }; TableLayout.prototype.updateElsHeight = function updateElsHeight() { var _this2 = this; if (!this.table.$ready) return external_vue_default.a.nextTick(function () { return _this2.updateElsHeight(); }); var _table$$refs = this.table.$refs, headerWrapper = _table$$refs.headerWrapper, appendWrapper = _table$$refs.appendWrapper, footerWrapper = _table$$refs.footerWrapper; this.appendHeight = appendWrapper ? appendWrapper.offsetHeight : 0; if (this.showHeader && !headerWrapper) return; var headerHeight = this.headerHeight = !this.showHeader ? 0 : headerWrapper.offsetHeight; if (this.showHeader && headerWrapper.offsetWidth > 0 && (this.table.columns || []).length > 0 && headerHeight < 2) { return external_vue_default.a.nextTick(function () { return _this2.updateElsHeight(); }); } var tableHeight = this.tableHeight = this.table.$el.clientHeight; if (this.height !== null && (!isNaN(this.height) || typeof this.height === 'string')) { var footerHeight = this.footerHeight = footerWrapper ? footerWrapper.offsetHeight : 0; this.bodyHeight = tableHeight - headerHeight - footerHeight + (footerWrapper ? 1 : 0); } this.fixedBodyHeight = this.scrollX ? this.bodyHeight - this.gutterWidth : this.bodyHeight; var noData = !this.table.data || this.table.data.length === 0; this.viewportHeight = this.scrollX ? tableHeight - (noData ? 0 : this.gutterWidth) : tableHeight; this.updateScrollY(); this.notifyObservers('scrollable'); }; TableLayout.prototype.getFlattenColumns = function getFlattenColumns() { var flattenColumns = []; var columns = this.table.columns; columns.forEach(function (column) { if (column.isColumnGroup) { flattenColumns.push.apply(flattenColumns, column.columns); } else { flattenColumns.push(column); } }); return flattenColumns; }; TableLayout.prototype.updateColumnsWidth = function updateColumnsWidth() { if (external_vue_default.a.prototype.$isServer) return; var fit = this.fit; var bodyWidth = this.table.$el.clientWidth; var bodyMinWidth = 0; var flattenColumns = this.getFlattenColumns(); var flexColumns = flattenColumns.filter(function (column) { return typeof column.width !== 'number'; }); flattenColumns.forEach(function (column) { // Clean those columns whose width changed from flex to unflex if (typeof column.width === 'number' && column.realWidth) column.realWidth = null; }); if (flexColumns.length > 0 && fit) { flattenColumns.forEach(function (column) { bodyMinWidth += column.width || column.minWidth || 80; }); var scrollYWidth = this.scrollY ? this.gutterWidth : 0; if (bodyMinWidth <= bodyWidth - scrollYWidth) { // DON'T HAVE SCROLL BAR this.scrollX = false; var totalFlexWidth = bodyWidth - scrollYWidth - bodyMinWidth; if (flexColumns.length === 1) { flexColumns[0].realWidth = (flexColumns[0].minWidth || 80) + totalFlexWidth; } else { var allColumnsWidth = flexColumns.reduce(function (prev, column) { return prev + (column.minWidth || 80); }, 0); var flexWidthPerPixel = totalFlexWidth / allColumnsWidth; var noneFirstWidth = 0; flexColumns.forEach(function (column, index) { if (index === 0) return; var flexWidth = Math.floor((column.minWidth || 80) * flexWidthPerPixel); noneFirstWidth += flexWidth; column.realWidth = (column.minWidth || 80) + flexWidth; }); flexColumns[0].realWidth = (flexColumns[0].minWidth || 80) + totalFlexWidth - noneFirstWidth; } } else { // HAVE HORIZONTAL SCROLL BAR this.scrollX = true; flexColumns.forEach(function (column) { column.realWidth = column.minWidth; }); } this.bodyWidth = Math.max(bodyMinWidth, bodyWidth); this.table.resizeState.width = this.bodyWidth; } else { flattenColumns.forEach(function (column) { if (!column.width && !column.minWidth) { column.realWidth = 80; } else { column.realWidth = column.width || column.minWidth; } bodyMinWidth += column.realWidth; }); this.scrollX = bodyMinWidth > bodyWidth; this.bodyWidth = bodyMinWidth; } var fixedColumns = this.store.states.fixedColumns; if (fixedColumns.length > 0) { var fixedWidth = 0; fixedColumns.forEach(function (column) { fixedWidth += column.realWidth || column.width; }); this.fixedWidth = fixedWidth; } var rightFixedColumns = this.store.states.rightFixedColumns; if (rightFixedColumns.length > 0) { var rightFixedWidth = 0; rightFixedColumns.forEach(function (column) { rightFixedWidth += column.realWidth || column.width; }); this.rightFixedWidth = rightFixedWidth; } this.notifyObservers('columns'); }; TableLayout.prototype.addObserver = function addObserver(observer) { this.observers.push(observer); }; TableLayout.prototype.removeObserver = function removeObserver(observer) { var index = this.observers.indexOf(observer); if (index !== -1) { this.observers.splice(index, 1); } }; TableLayout.prototype.notifyObservers = function notifyObservers(event) { var _this3 = this; var observers = this.observers; observers.forEach(function (observer) { switch (event) { case 'columns': observer.onColumnsChange(_this3); break; case 'scrollable': observer.onScrollableChange(_this3); break; default: throw new Error('Table Layout don\'t have event ' + event + '.'); } }); }; return TableLayout; }(); /* harmony default export */ var table_layout = (table_layout_TableLayout); // CONCATENATED MODULE: ./packages/table/src/layout-observer.js /* harmony default export */ var layout_observer = ({ created: function created() { this.tableLayout.addObserver(this); }, destroyed: function destroyed() { this.tableLayout.removeObserver(this); }, computed: { tableLayout: function tableLayout() { var layout = this.layout; if (!layout && this.table) { layout = this.table.layout; } if (!layout) { throw new Error('Can not find table layout.'); } return layout; } }, mounted: function mounted() { this.onColumnsChange(this.tableLayout); this.onScrollableChange(this.tableLayout); }, updated: function updated() { if (this.__updated__) return; this.onColumnsChange(this.tableLayout); this.onScrollableChange(this.tableLayout); this.__updated__ = true; }, methods: { onColumnsChange: function onColumnsChange() { var cols = this.$el.querySelectorAll('colgroup > col'); if (!cols.length) return; var flattenColumns = this.tableLayout.getFlattenColumns(); var columnsMap = {}; flattenColumns.forEach(function (column) { columnsMap[column.id] = column; }); for (var i = 0, j = cols.length; i < j; i++) { var col = cols[i]; var name = col.getAttribute('name'); var column = columnsMap[name]; if (column) { col.setAttribute('width', column.realWidth || column.width); } } }, onScrollableChange: function onScrollableChange(layout) { var cols = this.$el.querySelectorAll('colgroup > col[name=gutter]'); for (var i = 0, j = cols.length; i < j; i++) { var col = cols[i]; col.setAttribute('width', layout.scrollY ? layout.gutterWidth : '0'); } var ths = this.$el.querySelectorAll('th.gutter'); for (var _i = 0, _j = ths.length; _i < _j; _i++) { var th = ths[_i]; th.style.width = layout.scrollY ? layout.gutterWidth + 'px' : '0'; th.style.display = layout.scrollY ? '' : 'none'; } } } }); // CONCATENATED MODULE: ./packages/table/src/table-body.js var table_body_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* harmony default export */ var table_body = ({ name: 'ElTableBody', mixins: [layout_observer], components: { ElCheckbox: checkbox_default.a, ElTooltip: tooltip_default.a }, props: { store: { required: true }, stripe: Boolean, context: {}, rowClassName: [String, Function], rowStyle: [Object, Function], fixed: String, highlight: Boolean }, render: function render(h) { var _this = this; var columnsHidden = this.columns.map(function (column, index) { return _this.isColumnHidden(index); }); return h( 'table', { 'class': 'el-table__body', attrs: { cellspacing: '0', cellpadding: '0', border: '0' } }, [h('colgroup', [this._l(this.columns, function (column) { return h('col', { attrs: { name: column.id } }); })]), h('tbody', [this._l(this.data, function (row, $index) { return [h( 'tr', { style: _this.rowStyle ? _this.getRowStyle(row, $index) : null, key: _this.table.rowKey ? _this.getKeyOfRow(row, $index) : $index, on: { 'dblclick': function dblclick($event) { return _this.handleDoubleClick($event, row); }, 'click': function click($event) { return _this.handleClick($event, row); }, 'contextmenu': function contextmenu($event) { return _this.handleContextMenu($event, row); }, 'mouseenter': function mouseenter(_) { return _this.handleMouseEnter($index); }, 'mouseleave': function mouseleave(_) { return _this.handleMouseLeave(); } }, 'class': [_this.getRowClass(row, $index)] }, [_this._l(_this.columns, function (column, cellIndex) { var _getSpan = _this.getSpan(row, column, $index, cellIndex), rowspan = _getSpan.rowspan, colspan = _getSpan.colspan; if (!rowspan || !colspan) { return ''; } else { return h( 'td', { style: _this.getCellStyle($index, cellIndex, row, column), 'class': _this.getCellClass($index, cellIndex, row, column), attrs: { rowspan: rowspan, colspan: colspan }, on: { 'mouseenter': function mouseenter($event) { return _this.handleCellMouseEnter($event, row); }, 'mouseleave': _this.handleCellMouseLeave } }, [column.renderCell.call(_this._renderProxy, h, { row: row, column: column, $index: $index, store: _this.store, _self: _this.context || _this.table.$vnode.context }, columnsHidden[cellIndex])] ); } })] ), _this.store.isRowExpanded(row) ? h('tr', [h( 'td', { attrs: { colspan: _this.columns.length }, 'class': 'el-table__expanded-cell' }, [_this.table.renderExpanded ? _this.table.renderExpanded(h, { row: row, $index: $index, store: _this.store }) : ''] )]) : '']; }).concat(h('el-tooltip', { attrs: { effect: this.table.tooltipEffect, placement: 'top', content: this.tooltipContent }, ref: 'tooltip' }))])] ); }, watch: { 'store.states.hoverRow': function storeStatesHoverRow(newVal, oldVal) { if (!this.store.states.isComplex) return; var el = this.$el; if (!el) return; var tr = el.querySelector('tbody').children; var rows = [].filter.call(tr, function (row) { return Object(dom_["hasClass"])(row, 'el-table__row'); }); var oldRow = rows[oldVal]; var newRow = rows[newVal]; if (oldRow) { Object(dom_["removeClass"])(oldRow, 'hover-row'); } if (newRow) { Object(dom_["addClass"])(newRow, 'hover-row'); } }, 'store.states.currentRow': function storeStatesCurrentRow(newVal, oldVal) { if (!this.highlight) return; var el = this.$el; if (!el) return; var data = this.store.states.data; var tr = el.querySelector('tbody').children; var rows = [].filter.call(tr, function (row) { return Object(dom_["hasClass"])(row, 'el-table__row'); }); var oldRow = rows[data.indexOf(oldVal)]; var newRow = rows[data.indexOf(newVal)]; if (oldRow) { Object(dom_["removeClass"])(oldRow, 'current-row'); } else { [].forEach.call(rows, function (row) { return Object(dom_["removeClass"])(row, 'current-row'); }); } if (newRow) { Object(dom_["addClass"])(newRow, 'current-row'); } } }, computed: { table: function table() { return this.$parent; }, data: function data() { return this.store.states.data; }, columnsCount: function columnsCount() { return this.store.states.columns.length; }, leftFixedLeafCount: function leftFixedLeafCount() { return this.store.states.fixedLeafColumnsLength; }, rightFixedLeafCount: function rightFixedLeafCount() { return this.store.states.rightFixedLeafColumnsLength; }, leftFixedCount: function leftFixedCount() { return this.store.states.fixedColumns.length; }, rightFixedCount: function rightFixedCount() { return this.store.states.rightFixedColumns.length; }, columns: function columns() { return this.store.states.columns; } }, data: function data() { return { tooltipContent: '' }; }, created: function created() { this.activateTooltip = debounce_default()(50, function (tooltip) { return tooltip.handleShowPopper(); }); }, methods: { getKeyOfRow: function getKeyOfRow(row, index) { var rowKey = this.table.rowKey; if (rowKey) { return getRowIdentity(row, rowKey); } return index; }, isColumnHidden: function isColumnHidden(index) { if (this.fixed === true || this.fixed === 'left') { return index >= this.leftFixedLeafCount; } else if (this.fixed === 'right') { return index < this.columnsCount - this.rightFixedLeafCount; } else { return index < this.leftFixedLeafCount || index >= this.columnsCount - this.rightFixedLeafCount; } }, getSpan: function getSpan(row, column, rowIndex, columnIndex) { var rowspan = 1; var colspan = 1; var fn = this.table.spanMethod; if (typeof fn === 'function') { var result = fn({ row: row, column: column, rowIndex: rowIndex, columnIndex: columnIndex }); if (Array.isArray(result)) { rowspan = result[0]; colspan = result[1]; } else if ((typeof result === 'undefined' ? 'undefined' : table_body_typeof(result)) === 'object') { rowspan = result.rowspan; colspan = result.colspan; } } return { rowspan: rowspan, colspan: colspan }; }, getRowStyle: function getRowStyle(row, rowIndex) { var rowStyle = this.table.rowStyle; if (typeof rowStyle === 'function') { return rowStyle.call(null, { row: row, rowIndex: rowIndex }); } return rowStyle; }, getRowClass: function getRowClass(row, rowIndex) { var classes = ['el-table__row']; if (this.table.highlightCurrentRow && row === this.store.states.currentRow) { classes.push('current-row'); } if (this.stripe && rowIndex % 2 === 1) { classes.push('el-table__row--striped'); } var rowClassName = this.table.rowClassName; if (typeof rowClassName === 'string') { classes.push(rowClassName); } else if (typeof rowClassName === 'function') { classes.push(rowClassName.call(null, { row: row, rowIndex: rowIndex })); } if (this.store.states.expandRows.indexOf(row) > -1) { classes.push('expanded'); } return classes.join(' '); }, getCellStyle: function getCellStyle(rowIndex, columnIndex, row, column) { var cellStyle = this.table.cellStyle; if (typeof cellStyle === 'function') { return cellStyle.call(null, { rowIndex: rowIndex, columnIndex: columnIndex, row: row, column: column }); } return cellStyle; }, getCellClass: function getCellClass(rowIndex, columnIndex, row, column) { var classes = [column.id, column.align, column.className]; if (this.isColumnHidden(columnIndex)) { classes.push('is-hidden'); } var cellClassName = this.table.cellClassName; if (typeof cellClassName === 'string') { classes.push(cellClassName); } else if (typeof cellClassName === 'function') { classes.push(cellClassName.call(null, { rowIndex: rowIndex, columnIndex: columnIndex, row: row, column: column })); } return classes.join(' '); }, handleCellMouseEnter: function handleCellMouseEnter(event, row) { var table = this.table; var cell = getCell(event); if (cell) { var column = getColumnByCell(table, cell); var hoverState = table.hoverState = { cell: cell, column: column, row: row }; table.$emit('cell-mouse-enter', hoverState.row, hoverState.column, hoverState.cell, event); } // 判断是否text-overflow, 如果是就显示tooltip var cellChild = event.target.querySelector('.cell'); if (!(Object(dom_["hasClass"])(cellChild, 'el-tooltip') && cellChild.childNodes.length)) { return; } // use range width instead of scrollWidth to determine whether the text is overflowing // to address a potential FireFox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1074543#c3 var range = document.createRange(); range.setStart(cellChild, 0); range.setEnd(cellChild, cellChild.childNodes.length); var rangeWidth = range.getBoundingClientRect().width; var padding = (parseInt(Object(dom_["getStyle"])(cellChild, 'paddingLeft'), 10) || 0) + (parseInt(Object(dom_["getStyle"])(cellChild, 'paddingRight'), 10) || 0); if ((rangeWidth + padding > cellChild.offsetWidth || cellChild.scrollWidth > cellChild.offsetWidth) && this.$refs.tooltip) { var tooltip = this.$refs.tooltip; // TODO 会引起整个 Table 的重新渲染,需要优化 this.tooltipContent = cell.innerText || cell.textContent; tooltip.referenceElm = cell; tooltip.$refs.popper && (tooltip.$refs.popper.style.display = 'none'); tooltip.doDestroy(); tooltip.setExpectedState(true); this.activateTooltip(tooltip); } }, handleCellMouseLeave: function handleCellMouseLeave(event) { var tooltip = this.$refs.tooltip; if (tooltip) { tooltip.setExpectedState(false); tooltip.handleClosePopper(); } var cell = getCell(event); if (!cell) return; var oldHoverState = this.table.hoverState || {}; this.table.$emit('cell-mouse-leave', oldHoverState.row, oldHoverState.column, oldHoverState.cell, event); }, handleMouseEnter: function handleMouseEnter(index) { this.store.commit('setHoverRow', index); }, handleMouseLeave: function handleMouseLeave() { this.store.commit('setHoverRow', null); }, handleContextMenu: function handleContextMenu(event, row) { this.handleEvent(event, row, 'contextmenu'); }, handleDoubleClick: function handleDoubleClick(event, row) { this.handleEvent(event, row, 'dblclick'); }, handleClick: function handleClick(event, row) { this.store.commit('setCurrentRow', row); this.handleEvent(event, row, 'click'); }, handleEvent: function handleEvent(event, row, name) { var table = this.table; var cell = getCell(event); var column = void 0; if (cell) { column = getColumnByCell(table, cell); if (column) { table.$emit('cell-' + name, row, column, cell, event); } } table.$emit('row-' + name, row, event, column); }, handleExpandClick: function handleExpandClick(row, e) { e.stopPropagation(); this.store.toggleRowExpansion(row); } } }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/filter-panel.vue?vue&type=template&id=7f2c919f& var filter_panelvue_type_template_id_7f2c919f_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("transition", { attrs: { name: "el-zoom-in-top" } }, [ _vm.multiple ? _c( "div", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.handleOutsideClick, expression: "handleOutsideClick" }, { name: "show", rawName: "v-show", value: _vm.showPopper, expression: "showPopper" } ], staticClass: "el-table-filter" }, [ _c( "div", { staticClass: "el-table-filter__content" }, [ _c( "el-scrollbar", { attrs: { "wrap-class": "el-table-filter__wrap" } }, [ _c( "el-checkbox-group", { staticClass: "el-table-filter__checkbox-group", model: { value: _vm.filteredValue, callback: function($$v) { _vm.filteredValue = $$v }, expression: "filteredValue" } }, _vm._l(_vm.filters, function(filter) { return _c( "el-checkbox", { key: filter.value, attrs: { label: filter.value } }, [_vm._v(_vm._s(filter.text))] ) }), 1 ) ], 1 ) ], 1 ), _c("div", { staticClass: "el-table-filter__bottom" }, [ _c( "button", { class: { "is-disabled": _vm.filteredValue.length === 0 }, attrs: { disabled: _vm.filteredValue.length === 0 }, on: { click: _vm.handleConfirm } }, [_vm._v(_vm._s(_vm.t("el.table.confirmFilter")))] ), _c("button", { on: { click: _vm.handleReset } }, [ _vm._v(_vm._s(_vm.t("el.table.resetFilter"))) ]) ]) ] ) : _c( "div", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.handleOutsideClick, expression: "handleOutsideClick" }, { name: "show", rawName: "v-show", value: _vm.showPopper, expression: "showPopper" } ], staticClass: "el-table-filter" }, [ _c( "ul", { staticClass: "el-table-filter__list" }, [ _c( "li", { staticClass: "el-table-filter__list-item", class: { "is-active": _vm.filterValue === undefined || _vm.filterValue === null }, on: { click: function($event) { _vm.handleSelect(null) } } }, [_vm._v(_vm._s(_vm.t("el.table.clearFilter")))] ), _vm._l(_vm.filters, function(filter) { return _c( "li", { key: filter.value, staticClass: "el-table-filter__list-item", class: { "is-active": _vm.isActive(filter) }, attrs: { label: filter.value }, on: { click: function($event) { _vm.handleSelect(filter.value) } } }, [_vm._v(_vm._s(filter.text))] ) }) ], 2 ) ] ) ]) } var filter_panelvue_type_template_id_7f2c919f_staticRenderFns = [] filter_panelvue_type_template_id_7f2c919f_render._withStripped = true // CONCATENATED MODULE: ./packages/table/src/filter-panel.vue?vue&type=template&id=7f2c919f& // CONCATENATED MODULE: ./packages/table/src/dropdown.js var dropdowns = []; !external_vue_default.a.prototype.$isServer && document.addEventListener('click', function (event) { dropdowns.forEach(function (dropdown) { var target = event.target; if (!dropdown || !dropdown.$el) return; if (target === dropdown.$el || dropdown.$el.contains(target)) { return; } dropdown.handleOutsideClick && dropdown.handleOutsideClick(event); }); }); /* harmony default export */ var src_dropdown = ({ open: function open(instance) { if (instance) { dropdowns.push(instance); } }, close: function close(instance) { var index = dropdowns.indexOf(instance); if (index !== -1) { dropdowns.splice(instance, 1); } } }); // EXTERNAL MODULE: external "element-ui/lib/checkbox-group" var checkbox_group_ = __webpack_require__(27); var checkbox_group_default = /*#__PURE__*/__webpack_require__.n(checkbox_group_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/filter-panel.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var filter_panelvue_type_script_lang_js_ = ({ name: 'ElTableFilterPanel', mixins: [vue_popper_default.a, locale_default.a], directives: { Clickoutside: clickoutside_default.a }, components: { ElCheckbox: checkbox_default.a, ElCheckboxGroup: checkbox_group_default.a }, props: { placement: { type: String, default: 'bottom-end' } }, customRender: function customRender(h) { return h( 'div', { 'class': 'el-table-filter' }, [h('div', { 'class': 'el-table-filter__content' }), h( 'div', { 'class': 'el-table-filter__bottom' }, [h( 'button', { on: { 'click': this.handleConfirm } }, [this.t('el.table.confirmFilter')] ), h( 'button', { on: { 'click': this.handleReset } }, [this.t('el.table.resetFilter')] )] )] ); }, methods: { isActive: function isActive(filter) { return filter.value === this.filterValue; }, handleOutsideClick: function handleOutsideClick() { var _this = this; setTimeout(function () { _this.showPopper = false; }, 16); }, handleConfirm: function handleConfirm() { this.confirmFilter(this.filteredValue); this.handleOutsideClick(); }, handleReset: function handleReset() { this.filteredValue = []; this.confirmFilter(this.filteredValue); this.handleOutsideClick(); }, handleSelect: function handleSelect(filterValue) { this.filterValue = filterValue; if (typeof filterValue !== 'undefined' && filterValue !== null) { this.confirmFilter(this.filteredValue); } else { this.confirmFilter([]); } this.handleOutsideClick(); }, confirmFilter: function confirmFilter(filteredValue) { this.table.store.commit('filterChange', { column: this.column, values: filteredValue }); this.table.store.updateAllSelected(); } }, data: function data() { return { table: null, cell: null, column: null }; }, computed: { filters: function filters() { return this.column && this.column.filters; }, filterValue: { get: function get() { return (this.column.filteredValue || [])[0]; }, set: function set(value) { if (this.filteredValue) { if (typeof value !== 'undefined' && value !== null) { this.filteredValue.splice(0, 1, value); } else { this.filteredValue.splice(0, 1); } } } }, filteredValue: { get: function get() { if (this.column) { return this.column.filteredValue || []; } return []; }, set: function set(value) { if (this.column) { this.column.filteredValue = value; } } }, multiple: function multiple() { if (this.column) { return this.column.filterMultiple; } return true; } }, mounted: function mounted() { var _this2 = this; this.popperElm = this.$el; this.referenceElm = this.cell; this.table.bodyWrapper.addEventListener('scroll', function () { _this2.updatePopper(); }); this.$watch('showPopper', function (value) { if (_this2.column) _this2.column.filterOpened = value; if (value) { src_dropdown.open(_this2); } else { src_dropdown.close(_this2); } }); }, watch: { showPopper: function showPopper(val) { if (val === true && parseInt(this.popperJS._popper.style.zIndex, 10) < popup_["PopupManager"].zIndex) { this.popperJS._popper.style.zIndex = popup_["PopupManager"].nextZIndex(); } } } }); // CONCATENATED MODULE: ./packages/table/src/filter-panel.vue?vue&type=script&lang=js& /* harmony default export */ var src_filter_panelvue_type_script_lang_js_ = (filter_panelvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/table/src/filter-panel.vue /* normalize component */ var filter_panel_component = normalizeComponent( src_filter_panelvue_type_script_lang_js_, filter_panelvue_type_template_id_7f2c919f_render, filter_panelvue_type_template_id_7f2c919f_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var filter_panel_api; } filter_panel_component.options.__file = "packages/table/src/filter-panel.vue" /* harmony default export */ var filter_panel = (filter_panel_component.exports); // CONCATENATED MODULE: ./packages/table/src/table-header.js var getAllColumns = function getAllColumns(columns) { var result = []; columns.forEach(function (column) { if (column.children) { result.push(column); result.push.apply(result, getAllColumns(column.children)); } else { result.push(column); } }); return result; }; var convertToRows = function convertToRows(originColumns) { var maxLevel = 1; var traverse = function traverse(column, parent) { if (parent) { column.level = parent.level + 1; if (maxLevel < column.level) { maxLevel = column.level; } } if (column.children) { var colSpan = 0; column.children.forEach(function (subColumn) { traverse(subColumn, column); colSpan += subColumn.colSpan; }); column.colSpan = colSpan; } else { column.colSpan = 1; } }; originColumns.forEach(function (column) { column.level = 1; traverse(column); }); var rows = []; for (var i = 0; i < maxLevel; i++) { rows.push([]); } var allColumns = getAllColumns(originColumns); allColumns.forEach(function (column) { if (!column.children) { column.rowSpan = maxLevel - column.level + 1; } else { column.rowSpan = 1; } rows[column.level - 1].push(column); }); return rows; }; /* harmony default export */ var table_header = ({ name: 'ElTableHeader', mixins: [layout_observer], render: function render(h) { var _this = this; var originColumns = this.store.states.originColumns; var columnRows = convertToRows(originColumns, this.columns); // 是否拥有多级表头 var isGroup = columnRows.length > 1; if (isGroup) this.$parent.isGroup = true; return h( 'table', { 'class': 'el-table__header', attrs: { cellspacing: '0', cellpadding: '0', border: '0' } }, [h('colgroup', [this._l(this.columns, function (column) { return h('col', { attrs: { name: column.id } }); }), this.hasGutter ? h('col', { attrs: { name: 'gutter' } }) : '']), h( 'thead', { 'class': [{ 'is-group': isGroup, 'has-gutter': this.hasGutter }] }, [this._l(columnRows, function (columns, rowIndex) { return h( 'tr', { style: _this.getHeaderRowStyle(rowIndex), 'class': _this.getHeaderRowClass(rowIndex) }, [_this._l(columns, function (column, cellIndex) { return h( 'th', { attrs: { colspan: column.colSpan, rowspan: column.rowSpan }, on: { 'mousemove': function mousemove($event) { return _this.handleMouseMove($event, column); }, 'mouseout': _this.handleMouseOut, 'mousedown': function mousedown($event) { return _this.handleMouseDown($event, column); }, 'click': function click($event) { return _this.handleHeaderClick($event, column); }, 'contextmenu': function contextmenu($event) { return _this.handleHeaderContextMenu($event, column); } }, style: _this.getHeaderCellStyle(rowIndex, cellIndex, columns, column), 'class': _this.getHeaderCellClass(rowIndex, cellIndex, columns, column), key: column.id }, [h( 'div', { 'class': ['cell', column.filteredValue && column.filteredValue.length > 0 ? 'highlight' : '', column.labelClassName] }, [column.renderHeader ? column.renderHeader.call(_this._renderProxy, h, { column: column, $index: cellIndex, store: _this.store, _self: _this.$parent.$vnode.context }) : column.label, column.sortable ? h( 'span', { 'class': 'caret-wrapper', on: { 'click': function click($event) { return _this.handleSortClick($event, column); } } }, [h('i', { 'class': 'sort-caret ascending', on: { 'click': function click($event) { return _this.handleSortClick($event, column, 'ascending'); } } }), h('i', { 'class': 'sort-caret descending', on: { 'click': function click($event) { return _this.handleSortClick($event, column, 'descending'); } } })] ) : '', column.filterable ? h( 'span', { 'class': 'el-table__column-filter-trigger', on: { 'click': function click($event) { return _this.handleFilterClick($event, column); } } }, [h('i', { 'class': ['el-icon-arrow-down', column.filterOpened ? 'el-icon-arrow-up' : ''] })] ) : ''] )] ); }), _this.hasGutter ? h('th', { 'class': 'gutter' }) : ''] ); })] )] ); }, props: { fixed: String, store: { required: true }, border: Boolean, defaultSort: { type: Object, default: function _default() { return { prop: '', order: '' }; } } }, components: { ElCheckbox: checkbox_default.a, ElTag: tag_default.a }, computed: { table: function table() { return this.$parent; }, isAllSelected: function isAllSelected() { return this.store.states.isAllSelected; }, columnsCount: function columnsCount() { return this.store.states.columns.length; }, leftFixedCount: function leftFixedCount() { return this.store.states.fixedColumns.length; }, rightFixedCount: function rightFixedCount() { return this.store.states.rightFixedColumns.length; }, leftFixedLeafCount: function leftFixedLeafCount() { return this.store.states.fixedLeafColumnsLength; }, rightFixedLeafCount: function rightFixedLeafCount() { return this.store.states.rightFixedLeafColumnsLength; }, columns: function columns() { return this.store.states.columns; }, hasGutter: function hasGutter() { return !this.fixed && this.tableLayout.gutterWidth; } }, created: function created() { this.filterPanels = {}; }, mounted: function mounted() { var _defaultSort = this.defaultSort, prop = _defaultSort.prop, order = _defaultSort.order; this.store.commit('sort', { prop: prop, order: order }); }, beforeDestroy: function beforeDestroy() { var panels = this.filterPanels; for (var prop in panels) { if (panels.hasOwnProperty(prop) && panels[prop]) { panels[prop].$destroy(true); } } }, methods: { isCellHidden: function isCellHidden(index, columns) { var start = 0; for (var i = 0; i < index; i++) { start += columns[i].colSpan; } var after = start + columns[index].colSpan - 1; if (this.fixed === true || this.fixed === 'left') { return after >= this.leftFixedLeafCount; } else if (this.fixed === 'right') { return start < this.columnsCount - this.rightFixedLeafCount; } else { return after < this.leftFixedLeafCount || start >= this.columnsCount - this.rightFixedLeafCount; } }, getHeaderRowStyle: function getHeaderRowStyle(rowIndex) { var headerRowStyle = this.table.headerRowStyle; if (typeof headerRowStyle === 'function') { return headerRowStyle.call(null, { rowIndex: rowIndex }); } return headerRowStyle; }, getHeaderRowClass: function getHeaderRowClass(rowIndex) { var classes = []; var headerRowClassName = this.table.headerRowClassName; if (typeof headerRowClassName === 'string') { classes.push(headerRowClassName); } else if (typeof headerRowClassName === 'function') { classes.push(headerRowClassName.call(null, { rowIndex: rowIndex })); } return classes.join(' '); }, getHeaderCellStyle: function getHeaderCellStyle(rowIndex, columnIndex, row, column) { var headerCellStyle = this.table.headerCellStyle; if (typeof headerCellStyle === 'function') { return headerCellStyle.call(null, { rowIndex: rowIndex, columnIndex: columnIndex, row: row, column: column }); } return headerCellStyle; }, getHeaderCellClass: function getHeaderCellClass(rowIndex, columnIndex, row, column) { var classes = [column.id, column.order, column.headerAlign, column.className, column.labelClassName]; if (rowIndex === 0 && this.isCellHidden(columnIndex, row)) { classes.push('is-hidden'); } if (!column.children) { classes.push('is-leaf'); } if (column.sortable) { classes.push('is-sortable'); } var headerCellClassName = this.table.headerCellClassName; if (typeof headerCellClassName === 'string') { classes.push(headerCellClassName); } else if (typeof headerCellClassName === 'function') { classes.push(headerCellClassName.call(null, { rowIndex: rowIndex, columnIndex: columnIndex, row: row, column: column })); } return classes.join(' '); }, toggleAllSelection: function toggleAllSelection(event) { event.stopPropagation(); this.store.commit('toggleAllSelection'); }, handleFilterClick: function handleFilterClick(event, column) { event.stopPropagation(); var target = event.target; var cell = target.tagName === 'TH' ? target : target.parentNode; cell = cell.querySelector('.el-table__column-filter-trigger') || cell; var table = this.$parent; var filterPanel = this.filterPanels[column.id]; if (filterPanel && column.filterOpened) { filterPanel.showPopper = false; return; } if (!filterPanel) { filterPanel = new external_vue_default.a(filter_panel); this.filterPanels[column.id] = filterPanel; if (column.filterPlacement) { filterPanel.placement = column.filterPlacement; } filterPanel.table = table; filterPanel.cell = cell; filterPanel.column = column; !this.$isServer && filterPanel.$mount(document.createElement('div')); } setTimeout(function () { filterPanel.showPopper = true; }, 16); }, handleHeaderClick: function handleHeaderClick(event, column) { if (!column.filters && column.sortable) { this.handleSortClick(event, column); } else if (column.filterable && !column.sortable) { this.handleFilterClick(event, column); } this.$parent.$emit('header-click', column, event); }, handleHeaderContextMenu: function handleHeaderContextMenu(event, column) { this.$parent.$emit('header-contextmenu', column, event); }, handleMouseDown: function handleMouseDown(event, column) { var _this2 = this; if (this.$isServer) return; if (column.children && column.children.length > 0) return; /* istanbul ignore if */ if (this.draggingColumn && this.border) { this.dragging = true; this.$parent.resizeProxyVisible = true; var table = this.$parent; var tableEl = table.$el; var tableLeft = tableEl.getBoundingClientRect().left; var columnEl = this.$el.querySelector('th.' + column.id); var columnRect = columnEl.getBoundingClientRect(); var minLeft = columnRect.left - tableLeft + 30; Object(dom_["addClass"])(columnEl, 'noclick'); this.dragState = { startMouseLeft: event.clientX, startLeft: columnRect.right - tableLeft, startColumnLeft: columnRect.left - tableLeft, tableLeft: tableLeft }; var resizeProxy = table.$refs.resizeProxy; resizeProxy.style.left = this.dragState.startLeft + 'px'; document.onselectstart = function () { return false; }; document.ondragstart = function () { return false; }; var handleMouseMove = function handleMouseMove(event) { var deltaLeft = event.clientX - _this2.dragState.startMouseLeft; var proxyLeft = _this2.dragState.startLeft + deltaLeft; resizeProxy.style.left = Math.max(minLeft, proxyLeft) + 'px'; }; var handleMouseUp = function handleMouseUp() { if (_this2.dragging) { var _dragState = _this2.dragState, startColumnLeft = _dragState.startColumnLeft, startLeft = _dragState.startLeft; var finalLeft = parseInt(resizeProxy.style.left, 10); var columnWidth = finalLeft - startColumnLeft; column.width = column.realWidth = columnWidth; table.$emit('header-dragend', column.width, startLeft - startColumnLeft, column, event); _this2.store.scheduleLayout(); document.body.style.cursor = ''; _this2.dragging = false; _this2.draggingColumn = null; _this2.dragState = {}; table.resizeProxyVisible = false; } document.removeEventListener('mousemove', handleMouseMove); document.removeEventListener('mouseup', handleMouseUp); document.onselectstart = null; document.ondragstart = null; setTimeout(function () { Object(dom_["removeClass"])(columnEl, 'noclick'); }, 0); }; document.addEventListener('mousemove', handleMouseMove); document.addEventListener('mouseup', handleMouseUp); } }, handleMouseMove: function handleMouseMove(event, column) { if (column.children && column.children.length > 0) return; var target = event.target; while (target && target.tagName !== 'TH') { target = target.parentNode; } if (!column || !column.resizable) return; if (!this.dragging && this.border) { var rect = target.getBoundingClientRect(); var bodyStyle = document.body.style; if (rect.width > 12 && rect.right - event.pageX < 8) { bodyStyle.cursor = 'col-resize'; if (Object(dom_["hasClass"])(target, 'is-sortable')) { target.style.cursor = 'col-resize'; } this.draggingColumn = column; } else if (!this.dragging) { bodyStyle.cursor = ''; if (Object(dom_["hasClass"])(target, 'is-sortable')) { target.style.cursor = 'pointer'; } this.draggingColumn = null; } } }, handleMouseOut: function handleMouseOut() { if (this.$isServer) return; document.body.style.cursor = ''; }, toggleOrder: function toggleOrder(_ref) { var order = _ref.order, sortOrders = _ref.sortOrders; if (order === '') return sortOrders[0]; var index = sortOrders.indexOf(order || null); return sortOrders[index > sortOrders.length - 2 ? 0 : index + 1]; }, handleSortClick: function handleSortClick(event, column, givenOrder) { event.stopPropagation(); var order = column.order === givenOrder ? null : givenOrder || this.toggleOrder(column); var target = event.target; while (target && target.tagName !== 'TH') { target = target.parentNode; } if (target && target.tagName === 'TH') { if (Object(dom_["hasClass"])(target, 'noclick')) { Object(dom_["removeClass"])(target, 'noclick'); return; } } if (!column.sortable) return; var states = this.store.states; var sortProp = states.sortProp; var sortOrder = void 0; var sortingColumn = states.sortingColumn; if (sortingColumn !== column || sortingColumn === column && sortingColumn.order === null) { if (sortingColumn) { sortingColumn.order = null; } states.sortingColumn = column; sortProp = column.property; } if (!order) { sortOrder = column.order = null; states.sortingColumn = null; sortProp = null; } else { sortOrder = column.order = order; } states.sortProp = sortProp; states.sortOrder = sortOrder; this.store.commit('changeSortCondition'); } }, data: function data() { return { draggingColumn: null, dragging: false, dragState: {} }; } }); // CONCATENATED MODULE: ./packages/table/src/table-footer.js /* harmony default export */ var table_footer = ({ name: 'ElTableFooter', mixins: [layout_observer], render: function render(h) { var _this = this; var sums = []; if (this.summaryMethod) { sums = this.summaryMethod({ columns: this.columns, data: this.store.states.data }); } else { this.columns.forEach(function (column, index) { if (index === 0) { sums[index] = _this.sumText; return; } var values = _this.store.states.data.map(function (item) { return Number(item[column.property]); }); var precisions = []; var notNumber = true; values.forEach(function (value) { if (!isNaN(value)) { notNumber = false; var decimal = ('' + value).split('.')[1]; precisions.push(decimal ? decimal.length : 0); } }); var precision = Math.max.apply(null, precisions); if (!notNumber) { sums[index] = values.reduce(function (prev, curr) { var value = Number(curr); if (!isNaN(value)) { return parseFloat((prev + curr).toFixed(Math.min(precision, 20))); } else { return prev; } }, 0); } else { sums[index] = ''; } }); } return h( 'table', { 'class': 'el-table__footer', attrs: { cellspacing: '0', cellpadding: '0', border: '0' } }, [h('colgroup', [this._l(this.columns, function (column) { return h('col', { attrs: { name: column.id } }); }), this.hasGutter ? h('col', { attrs: { name: 'gutter' } }) : '']), h( 'tbody', { 'class': [{ 'has-gutter': this.hasGutter }] }, [h('tr', [this._l(this.columns, function (column, cellIndex) { return h( 'td', { attrs: { colspan: column.colSpan, rowspan: column.rowSpan }, 'class': [column.id, column.headerAlign, column.className || '', _this.isCellHidden(cellIndex, _this.columns, column) ? 'is-hidden' : '', !column.children ? 'is-leaf' : '', column.labelClassName] }, [h( 'div', { 'class': ['cell', column.labelClassName] }, [sums[cellIndex]] )] ); }), this.hasGutter ? h('th', { 'class': 'gutter' }) : ''])] )] ); }, props: { fixed: String, store: { required: true }, summaryMethod: Function, sumText: String, border: Boolean, defaultSort: { type: Object, default: function _default() { return { prop: '', order: '' }; } } }, computed: { table: function table() { return this.$parent; }, isAllSelected: function isAllSelected() { return this.store.states.isAllSelected; }, columnsCount: function columnsCount() { return this.store.states.columns.length; }, leftFixedCount: function leftFixedCount() { return this.store.states.fixedColumns.length; }, leftFixedLeafCount: function leftFixedLeafCount() { return this.store.states.fixedLeafColumnsLength; }, rightFixedLeafCount: function rightFixedLeafCount() { return this.store.states.rightFixedLeafColumnsLength; }, rightFixedCount: function rightFixedCount() { return this.store.states.rightFixedColumns.length; }, columns: function columns() { return this.store.states.columns; }, hasGutter: function hasGutter() { return !this.fixed && this.tableLayout.gutterWidth; } }, methods: { isCellHidden: function isCellHidden(index, columns, column) { if (this.fixed === true || this.fixed === 'left') { return index >= this.leftFixedLeafCount; } else if (this.fixed === 'right') { var before = 0; for (var i = 0; i < index; i++) { before += columns[i].colSpan; } return before < this.columnsCount - this.rightFixedLeafCount; } else if (!this.fixed && column.fixed) { // hide cell when footer instance is not fixed and column is fixed return true; } else { return index < this.leftFixedCount || index >= this.columnsCount - this.rightFixedCount; } } } }); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/table.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var tableIdSeed = 1; /* harmony default export */ var tablevue_type_script_lang_js_ = ({ name: 'ElTable', mixins: [locale_default.a, migrating_default.a], directives: { Mousewheel: directives_mousewheel }, props: { data: { type: Array, default: function _default() { return []; } }, size: String, width: [String, Number], height: [String, Number], maxHeight: [String, Number], fit: { type: Boolean, default: true }, stripe: Boolean, border: Boolean, rowKey: [String, Function], context: {}, showHeader: { type: Boolean, default: true }, showSummary: Boolean, sumText: String, summaryMethod: Function, rowClassName: [String, Function], rowStyle: [Object, Function], cellClassName: [String, Function], cellStyle: [Object, Function], headerRowClassName: [String, Function], headerRowStyle: [Object, Function], headerCellClassName: [String, Function], headerCellStyle: [Object, Function], highlightCurrentRow: Boolean, currentRowKey: [String, Number], emptyText: String, expandRowKeys: Array, defaultExpandAll: Boolean, defaultSort: Object, tooltipEffect: String, spanMethod: Function, selectOnIndeterminate: { type: Boolean, default: true } }, components: { TableHeader: table_header, TableFooter: table_footer, TableBody: table_body, ElCheckbox: checkbox_default.a }, methods: { getMigratingConfig: function getMigratingConfig() { return { events: { expand: 'expand is renamed to expand-change' } }; }, setCurrentRow: function setCurrentRow(row) { this.store.commit('setCurrentRow', row); }, toggleRowSelection: function toggleRowSelection(row, selected) { this.store.toggleRowSelection(row, selected); this.store.updateAllSelected(); }, toggleRowExpansion: function toggleRowExpansion(row, expanded) { this.store.toggleRowExpansion(row, expanded); }, clearSelection: function clearSelection() { this.store.clearSelection(); }, clearFilter: function clearFilter(columnKeys) { this.store.clearFilter(columnKeys); }, clearSort: function clearSort() { this.store.clearSort(); }, handleMouseLeave: function handleMouseLeave() { this.store.commit('setHoverRow', null); if (this.hoverState) this.hoverState = null; }, updateScrollY: function updateScrollY() { this.layout.updateScrollY(); this.layout.updateColumnsWidth(); }, handleFixedMousewheel: function handleFixedMousewheel(event, data) { var bodyWrapper = this.bodyWrapper; if (Math.abs(data.spinY) > 0) { var currentScrollTop = bodyWrapper.scrollTop; if (data.pixelY < 0 && currentScrollTop !== 0) { event.preventDefault(); } if (data.pixelY > 0 && bodyWrapper.scrollHeight - bodyWrapper.clientHeight > currentScrollTop) { event.preventDefault(); } bodyWrapper.scrollTop += Math.ceil(data.pixelY / 5); } else { bodyWrapper.scrollLeft += Math.ceil(data.pixelX / 5); } }, handleHeaderFooterMousewheel: function handleHeaderFooterMousewheel(event, data) { var pixelX = data.pixelX, pixelY = data.pixelY; if (Math.abs(pixelX) >= Math.abs(pixelY)) { event.preventDefault(); this.bodyWrapper.scrollLeft += data.pixelX / 5; } }, bindEvents: function bindEvents() { var _$refs = this.$refs, headerWrapper = _$refs.headerWrapper, footerWrapper = _$refs.footerWrapper; var refs = this.$refs; var self = this; this.bodyWrapper.addEventListener('scroll', function () { if (headerWrapper) headerWrapper.scrollLeft = this.scrollLeft; if (footerWrapper) footerWrapper.scrollLeft = this.scrollLeft; if (refs.fixedBodyWrapper) refs.fixedBodyWrapper.scrollTop = this.scrollTop; if (refs.rightFixedBodyWrapper) refs.rightFixedBodyWrapper.scrollTop = this.scrollTop; var maxScrollLeftPosition = this.scrollWidth - this.offsetWidth - 1; var scrollLeft = this.scrollLeft; if (scrollLeft >= maxScrollLeftPosition) { self.scrollPosition = 'right'; } else if (scrollLeft === 0) { self.scrollPosition = 'left'; } else { self.scrollPosition = 'middle'; } }); if (this.fit) { Object(resize_event_["addResizeListener"])(this.$el, this.resizeListener); } }, resizeListener: function resizeListener() { if (!this.$ready) return; var shouldUpdateLayout = false; var el = this.$el; var _resizeState = this.resizeState, oldWidth = _resizeState.width, oldHeight = _resizeState.height; var width = el.offsetWidth; if (oldWidth !== width) { shouldUpdateLayout = true; } var height = el.offsetHeight; if ((this.height || this.shouldUpdateHeight) && oldHeight !== height) { shouldUpdateLayout = true; } if (shouldUpdateLayout) { this.resizeState.width = width; this.resizeState.height = height; this.doLayout(); } }, doLayout: function doLayout() { this.layout.updateColumnsWidth(); if (this.shouldUpdateHeight) { this.layout.updateElsHeight(); } }, sort: function sort(prop, order) { this.store.commit('sort', { prop: prop, order: order }); }, toggleAllSelection: function toggleAllSelection() { this.store.commit('toggleAllSelection'); } }, created: function created() { var _this = this; this.tableId = 'el-table_' + tableIdSeed++; this.debouncedUpdateLayout = debounce_default()(50, function () { return _this.doLayout(); }); }, computed: { tableSize: function tableSize() { return this.size || (this.$ELEMENT || {}).size; }, bodyWrapper: function bodyWrapper() { return this.$refs.bodyWrapper; }, shouldUpdateHeight: function shouldUpdateHeight() { return this.height || this.maxHeight || this.fixedColumns.length > 0 || this.rightFixedColumns.length > 0; }, selection: function selection() { return this.store.states.selection; }, columns: function columns() { return this.store.states.columns; }, tableData: function tableData() { return this.store.states.data; }, fixedColumns: function fixedColumns() { return this.store.states.fixedColumns; }, rightFixedColumns: function rightFixedColumns() { return this.store.states.rightFixedColumns; }, bodyWidth: function bodyWidth() { var _layout = this.layout, bodyWidth = _layout.bodyWidth, scrollY = _layout.scrollY, gutterWidth = _layout.gutterWidth; return bodyWidth ? bodyWidth - (scrollY ? gutterWidth : 0) + 'px' : ''; }, bodyHeight: function bodyHeight() { if (this.height) { return { height: this.layout.bodyHeight ? this.layout.bodyHeight + 'px' : '' }; } else if (this.maxHeight) { return { 'max-height': (this.showHeader ? this.maxHeight - this.layout.headerHeight - this.layout.footerHeight : this.maxHeight - this.layout.footerHeight) + 'px' }; } return {}; }, fixedBodyHeight: function fixedBodyHeight() { if (this.height) { return { height: this.layout.fixedBodyHeight ? this.layout.fixedBodyHeight + 'px' : '' }; } else if (this.maxHeight) { var maxHeight = this.layout.scrollX ? this.maxHeight - this.layout.gutterWidth : this.maxHeight; if (this.showHeader) { maxHeight -= this.layout.headerHeight; } maxHeight -= this.layout.footerHeight; return { 'max-height': maxHeight + 'px' }; } return {}; }, fixedHeight: function fixedHeight() { if (this.maxHeight) { if (this.showSummary) { return { bottom: 0 }; } return { bottom: this.layout.scrollX && this.data.length ? this.layout.gutterWidth + 'px' : '' }; } else { if (this.showSummary) { return { height: this.layout.tableHeight ? this.layout.tableHeight + 'px' : '' }; } return { height: this.layout.viewportHeight ? this.layout.viewportHeight + 'px' : '' }; } } }, watch: { height: { immediate: true, handler: function handler(value) { this.layout.setHeight(value); } }, maxHeight: { immediate: true, handler: function handler(value) { this.layout.setMaxHeight(value); } }, currentRowKey: function currentRowKey(newVal) { this.store.setCurrentRowKey(newVal); }, data: { immediate: true, handler: function handler(value) { var _this2 = this; this.store.commit('setData', value); if (this.$ready) { this.$nextTick(function () { _this2.doLayout(); }); } } }, expandRowKeys: { immediate: true, handler: function handler(newVal) { if (newVal) { this.store.setExpandRowKeys(newVal); } } } }, destroyed: function destroyed() { if (this.resizeListener) Object(resize_event_["removeResizeListener"])(this.$el, this.resizeListener); }, mounted: function mounted() { var _this3 = this; this.bindEvents(); this.store.updateColumns(); this.doLayout(); this.resizeState = { width: this.$el.offsetWidth, height: this.$el.offsetHeight }; // init filters this.store.states.columns.forEach(function (column) { if (column.filteredValue && column.filteredValue.length) { _this3.store.commit('filterChange', { column: column, values: column.filteredValue, silent: true }); } }); this.$ready = true; }, data: function data() { var store = new table_store(this, { rowKey: this.rowKey, defaultExpandAll: this.defaultExpandAll, selectOnIndeterminate: this.selectOnIndeterminate }); var layout = new table_layout({ store: store, table: this, fit: this.fit, showHeader: this.showHeader }); return { layout: layout, store: store, isHidden: false, renderExpanded: null, resizeProxyVisible: false, resizeState: { width: null, height: null }, // 是否拥有多级表头 isGroup: false, scrollPosition: 'left' }; } }); // CONCATENATED MODULE: ./packages/table/src/table.vue?vue&type=script&lang=js& /* harmony default export */ var src_tablevue_type_script_lang_js_ = (tablevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/table/src/table.vue /* normalize component */ var table_component = normalizeComponent( src_tablevue_type_script_lang_js_, tablevue_type_template_id_493fe34e_render, tablevue_type_template_id_493fe34e_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var table_api; } table_component.options.__file = "packages/table/src/table.vue" /* harmony default export */ var src_table = (table_component.exports); // CONCATENATED MODULE: ./packages/table/index.js /* istanbul ignore next */ src_table.install = function (Vue) { Vue.component(src_table.name, src_table); }; /* harmony default export */ var packages_table = (src_table); // CONCATENATED MODULE: ./packages/table/src/table-column.js var columnIdSeed = 1; var defaults = { default: { order: '' }, selection: { width: 48, minWidth: 48, realWidth: 48, order: '', className: 'el-table-column--selection' }, expand: { width: 48, minWidth: 48, realWidth: 48, order: '' }, index: { width: 48, minWidth: 48, realWidth: 48, order: '' } }; var forced = { selection: { renderHeader: function renderHeader(h, _ref) { var store = _ref.store; return h('el-checkbox', { attrs: { disabled: store.states.data && store.states.data.length === 0, indeterminate: store.states.selection.length > 0 && !this.isAllSelected, value: this.isAllSelected }, nativeOn: { 'click': this.toggleAllSelection } }); }, renderCell: function renderCell(h, _ref2) { var row = _ref2.row, column = _ref2.column, store = _ref2.store, $index = _ref2.$index; return h('el-checkbox', { nativeOn: { 'click': function click(event) { return event.stopPropagation(); } }, attrs: { value: store.isSelected(row), disabled: column.selectable ? !column.selectable.call(null, row, $index) : false }, on: { 'input': function input() { store.commit('rowSelectedChanged', row); } } }); }, sortable: false, resizable: false }, index: { renderHeader: function renderHeader(h, _ref3) { var column = _ref3.column; return column.label || '#'; }, renderCell: function renderCell(h, _ref4) { var $index = _ref4.$index, column = _ref4.column; var i = $index + 1; var index = column.index; if (typeof index === 'number') { i = $index + index; } else if (typeof index === 'function') { i = index($index); } return h('div', [i]); }, sortable: false }, expand: { renderHeader: function renderHeader(h, _ref5) { var column = _ref5.column; return column.label || ''; }, renderCell: function renderCell(h, _ref6, proxy) { var row = _ref6.row, store = _ref6.store; var expanded = store.states.expandRows.indexOf(row) > -1; return h( 'div', { 'class': 'el-table__expand-icon ' + (expanded ? 'el-table__expand-icon--expanded' : ''), on: { 'click': function click(e) { return proxy.handleExpandClick(row, e); } } }, [h('i', { 'class': 'el-icon el-icon-arrow-right' })] ); }, sortable: false, resizable: false, className: 'el-table__expand-column' } }; var table_column_getDefaultColumn = function getDefaultColumn(type, options) { var column = {}; merge_default()(column, defaults[type || 'default']); for (var name in options) { if (options.hasOwnProperty(name)) { var value = options[name]; if (typeof value !== 'undefined') { column[name] = value; } } } if (!column.minWidth) { column.minWidth = 80; } column.realWidth = column.width === undefined ? column.minWidth : column.width; return column; }; var table_column_DEFAULT_RENDER_CELL = function DEFAULT_RENDER_CELL(h, _ref7) { var row = _ref7.row, column = _ref7.column, $index = _ref7.$index; var property = column.property; var value = property && Object(util_["getPropByPath"])(row, property).v; if (column && column.formatter) { return column.formatter(row, column, value, $index); } return value; }; var parseWidth = function parseWidth(width) { if (width !== undefined) { width = parseInt(width, 10); if (isNaN(width)) { width = null; } } return width; }; var parseMinWidth = function parseMinWidth(minWidth) { if (minWidth !== undefined) { minWidth = parseInt(minWidth, 10); if (isNaN(minWidth)) { minWidth = 80; } } return minWidth; }; /* harmony default export */ var table_column = ({ name: 'ElTableColumn', props: { type: { type: String, default: 'default' }, label: String, className: String, labelClassName: String, property: String, prop: String, width: {}, minWidth: {}, renderHeader: Function, sortable: { type: [String, Boolean], default: false }, sortMethod: Function, sortBy: [String, Function, Array], resizable: { type: Boolean, default: true }, context: {}, columnKey: String, align: String, headerAlign: String, showTooltipWhenOverflow: Boolean, showOverflowTooltip: Boolean, fixed: [Boolean, String], formatter: Function, selectable: Function, reserveSelection: Boolean, filterMethod: Function, filteredValue: Array, filters: Array, filterPlacement: String, filterMultiple: { type: Boolean, default: true }, index: [Number, Function], sortOrders: { type: Array, default: function _default() { return ['ascending', 'descending', null]; }, validator: function validator(val) { return val.every(function (order) { return ['ascending', 'descending', null].indexOf(order) > -1; }); } } }, data: function data() { return { isSubColumn: false, columns: [] }; }, beforeCreate: function beforeCreate() { this.row = {}; this.column = {}; this.$index = 0; }, components: { ElCheckbox: checkbox_default.a, ElTag: tag_default.a }, computed: { owner: function owner() { var parent = this.$parent; while (parent && !parent.tableId) { parent = parent.$parent; } return parent; }, columnOrTableParent: function columnOrTableParent() { var parent = this.$parent; while (parent && !parent.tableId && !parent.columnId) { parent = parent.$parent; } return parent; } }, created: function created() { var _this = this; var h = this.$createElement; this.customRender = this.$options.render; this.$options.render = function (h) { return h('div', _this.$slots.default); }; var parent = this.columnOrTableParent; var owner = this.owner; this.isSubColumn = owner !== parent; this.columnId = (parent.tableId || parent.columnId) + '_column_' + columnIdSeed++; var type = this.type; var width = parseWidth(this.width); var minWidth = parseMinWidth(this.minWidth); var isColumnGroup = false; var column = table_column_getDefaultColumn(type, { id: this.columnId, columnKey: this.columnKey, label: this.label, className: this.className, labelClassName: this.labelClassName, property: this.prop || this.property, type: type, renderCell: null, renderHeader: this.renderHeader, minWidth: minWidth, width: width, isColumnGroup: isColumnGroup, context: this.context, align: this.align ? 'is-' + this.align : null, headerAlign: this.headerAlign ? 'is-' + this.headerAlign : this.align ? 'is-' + this.align : null, sortable: this.sortable === '' ? true : this.sortable, sortMethod: this.sortMethod, sortBy: this.sortBy, resizable: this.resizable, showOverflowTooltip: this.showOverflowTooltip || this.showTooltipWhenOverflow, formatter: this.formatter, selectable: this.selectable, reserveSelection: this.reserveSelection, fixed: this.fixed === '' ? true : this.fixed, filterMethod: this.filterMethod, filters: this.filters, filterable: this.filters || this.filterMethod, filterMultiple: this.filterMultiple, filterOpened: false, filteredValue: this.filteredValue || [], filterPlacement: this.filterPlacement || '', index: this.index, sortOrders: this.sortOrders }); var source = forced[type] || {}; Object.keys(source).forEach(function (prop) { var value = source[prop]; if (value !== undefined) { if (prop === 'renderHeader') { if (type === 'selection' && column[prop]) { console.warn('[Element Warn][TableColumn]Selection column doesn\'t allow to set render-header function.'); } else { value = column[prop] || value; } } column[prop] = prop === 'className' ? column[prop] + ' ' + value : value; } }); // Deprecation warning for renderHeader property if (this.renderHeader) { console.warn('[Element Warn][TableColumn]Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header.'); } this.columnConfig = column; var renderCell = column.renderCell; var _self = this; if (type === 'expand') { owner.renderExpanded = function (h, data) { return _self.$scopedSlots.default ? _self.$scopedSlots.default(data) : _self.$slots.default; }; column.renderCell = function (h, data) { return h( 'div', { 'class': 'cell' }, [renderCell(h, data, this._renderProxy)] ); }; return; } column.renderCell = function (h, data) { if (_self.$scopedSlots.default) { renderCell = function renderCell() { return _self.$scopedSlots.default(data); }; } if (!renderCell) { renderCell = table_column_DEFAULT_RENDER_CELL; } return _self.showOverflowTooltip || _self.showTooltipWhenOverflow ? h( 'div', { 'class': 'cell el-tooltip', style: { width: (data.column.realWidth || data.column.width) - 1 + 'px' } }, [renderCell(h, data)] ) : h( 'div', { 'class': 'cell' }, [renderCell(h, data)] ); }; }, destroyed: function destroyed() { if (!this.$parent) return; var parent = this.$parent; this.owner.store.commit('removeColumn', this.columnConfig, this.isSubColumn ? parent.columnConfig : null); }, watch: { label: function label(newVal) { if (this.columnConfig) { this.columnConfig.label = newVal; } }, prop: function prop(newVal) { if (this.columnConfig) { this.columnConfig.property = newVal; } }, property: function property(newVal) { if (this.columnConfig) { this.columnConfig.property = newVal; } }, filters: function filters(newVal) { if (this.columnConfig) { this.columnConfig.filters = newVal; } }, filterMultiple: function filterMultiple(newVal) { if (this.columnConfig) { this.columnConfig.filterMultiple = newVal; } }, align: function align(newVal) { if (this.columnConfig) { this.columnConfig.align = newVal ? 'is-' + newVal : null; if (!this.headerAlign) { this.columnConfig.headerAlign = newVal ? 'is-' + newVal : null; } } }, headerAlign: function headerAlign(newVal) { if (this.columnConfig) { this.columnConfig.headerAlign = 'is-' + (newVal ? newVal : this.align); } }, width: function width(newVal) { if (this.columnConfig) { this.columnConfig.width = parseWidth(newVal); this.owner.store.scheduleLayout(); } }, minWidth: function minWidth(newVal) { if (this.columnConfig) { this.columnConfig.minWidth = parseMinWidth(newVal); this.owner.store.scheduleLayout(); } }, fixed: function fixed(newVal) { if (this.columnConfig) { this.columnConfig.fixed = newVal; this.owner.store.scheduleLayout(true); } }, sortable: function sortable(newVal) { if (this.columnConfig) { this.columnConfig.sortable = newVal; } }, index: function index(newVal) { if (this.columnConfig) { this.columnConfig.index = newVal; } }, formatter: function formatter(newVal) { if (this.columnConfig) { this.columnConfig.formatter = newVal; } }, className: function className(newVal) { if (this.columnConfig) { this.columnConfig.className = newVal; } }, labelClassName: function labelClassName(newVal) { if (this.columnConfig) { this.columnConfig.labelClassName = newVal; } } }, mounted: function mounted() { var _this2 = this; var owner = this.owner; var parent = this.columnOrTableParent; var columnIndex = void 0; if (!this.isSubColumn) { columnIndex = [].indexOf.call(parent.$refs.hiddenColumns.children, this.$el); } else { columnIndex = [].indexOf.call(parent.$el.children, this.$el); } if (this.$scopedSlots.header) { if (this.type === 'selection') { console.warn('[Element Warn][TableColumn]Selection column doesn\'t allow to set scoped-slot header.'); } else { this.columnConfig.renderHeader = function (h, scope) { return _this2.$scopedSlots.header(scope); }; } } owner.store.commit('insertColumn', this.columnConfig, columnIndex, this.isSubColumn ? parent.columnConfig : null); } }); // CONCATENATED MODULE: ./packages/table-column/index.js /* istanbul ignore next */ table_column.install = function (Vue) { Vue.component(table_column.name, table_column); }; /* harmony default export */ var packages_table_column = (table_column); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/picker.vue?vue&type=template&id=79ae069f& var pickervue_type_template_id_79ae069f_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return !_vm.ranged ? _c( "el-input", _vm._b( { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.handleClose, expression: "handleClose" } ], ref: "reference", staticClass: "el-date-editor", class: "el-date-editor--" + _vm.type, attrs: { readonly: !_vm.editable || _vm.readonly || _vm.type === "dates", disabled: _vm.pickerDisabled, size: _vm.pickerSize, name: _vm.name, placeholder: _vm.placeholder, value: _vm.displayValue, validateEvent: false }, on: { focus: _vm.handleFocus, input: function(value) { return (_vm.userInput = value) }, change: _vm.handleChange }, nativeOn: { keydown: function($event) { return _vm.handleKeydown($event) }, mouseenter: function($event) { return _vm.handleMouseEnter($event) }, mouseleave: function($event) { _vm.showClose = false } } }, "el-input", _vm.firstInputId, false ), [ _c("i", { staticClass: "el-input__icon", class: _vm.triggerClass, attrs: { slot: "prefix" }, on: { click: _vm.handleFocus }, slot: "prefix" }), _vm.haveTrigger ? _c("i", { staticClass: "el-input__icon", class: [_vm.showClose ? "" + _vm.clearIcon : ""], attrs: { slot: "suffix" }, on: { click: _vm.handleClickIcon }, slot: "suffix" }) : _vm._e() ] ) : _c( "div", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.handleClose, expression: "handleClose" } ], ref: "reference", staticClass: "el-date-editor el-range-editor el-input__inner", class: [ "el-date-editor--" + _vm.type, _vm.pickerSize ? "el-range-editor--" + _vm.pickerSize : "", _vm.pickerDisabled ? "is-disabled" : "", _vm.pickerVisible ? "is-active" : "" ], on: { click: _vm.handleRangeClick, mouseenter: _vm.handleMouseEnter, mouseleave: function($event) { _vm.showClose = false }, keydown: _vm.handleKeydown } }, [ _c("i", { class: ["el-input__icon", "el-range__icon", _vm.triggerClass] }), _c( "input", _vm._b( { staticClass: "el-range-input", attrs: { autocomplete: "off", placeholder: _vm.startPlaceholder, disabled: _vm.pickerDisabled, readonly: !_vm.editable || _vm.readonly, name: _vm.name && _vm.name[0] }, domProps: { value: _vm.displayValue && _vm.displayValue[0] }, on: { input: _vm.handleStartInput, change: _vm.handleStartChange, focus: _vm.handleFocus } }, "input", _vm.firstInputId, false ) ), _vm._t("range-separator", [ _c("span", { staticClass: "el-range-separator" }, [ _vm._v(_vm._s(_vm.rangeSeparator)) ]) ]), _c( "input", _vm._b( { staticClass: "el-range-input", attrs: { autocomplete: "off", placeholder: _vm.endPlaceholder, disabled: _vm.pickerDisabled, readonly: !_vm.editable || _vm.readonly, name: _vm.name && _vm.name[1] }, domProps: { value: _vm.displayValue && _vm.displayValue[1] }, on: { input: _vm.handleEndInput, change: _vm.handleEndChange, focus: _vm.handleFocus } }, "input", _vm.secondInputId, false ) ), _vm.haveTrigger ? _c("i", { staticClass: "el-input__icon el-range__close-icon", class: [_vm.showClose ? "" + _vm.clearIcon : ""], on: { click: _vm.handleClickIcon } }) : _vm._e() ], 2 ) } var pickervue_type_template_id_79ae069f_staticRenderFns = [] pickervue_type_template_id_79ae069f_render._withStripped = true // CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=template&id=79ae069f& // EXTERNAL MODULE: external "element-ui/lib/utils/date" var date_ = __webpack_require__(24); var date_default = /*#__PURE__*/__webpack_require__.n(date_); // CONCATENATED MODULE: ./packages/date-picker/src/util/index.js var weeks = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat']; var months = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec']; var util_getI18nSettings = function getI18nSettings() { return { dayNamesShort: weeks.map(function (week) { return Object(lib_locale_["t"])('el.datepicker.weeks.' + week); }), dayNames: weeks.map(function (week) { return Object(lib_locale_["t"])('el.datepicker.weeks.' + week); }), monthNamesShort: months.map(function (month) { return Object(lib_locale_["t"])('el.datepicker.months.' + month); }), monthNames: months.map(function (month, index) { return Object(lib_locale_["t"])('el.datepicker.month' + (index + 1)); }), amPm: ['am', 'pm'] }; }; var newArray = function newArray(start, end) { var result = []; for (var i = start; i <= end; i++) { result.push(i); } return result; }; var toDate = function toDate(date) { return isDate(date) ? new Date(date) : null; }; var isDate = function isDate(date) { if (date === null || date === undefined) return false; if (isNaN(new Date(date).getTime())) return false; if (Array.isArray(date)) return false; // deal with `new Date([ new Date() ]) -> new Date()` return true; }; var isDateObject = function isDateObject(val) { return val instanceof Date; }; var util_formatDate = function formatDate(date, format) { date = toDate(date); if (!date) return ''; return date_default.a.format(date, format || 'yyyy-MM-dd', util_getI18nSettings()); }; var util_parseDate = function parseDate(string, format) { return date_default.a.parse(string, format || 'yyyy-MM-dd', util_getI18nSettings()); }; var getDayCountOfMonth = function getDayCountOfMonth(year, month) { if (month === 3 || month === 5 || month === 8 || month === 10) { return 30; } if (month === 1) { if (year % 4 === 0 && year % 100 !== 0 || year % 400 === 0) { return 29; } else { return 28; } } return 31; }; var getDayCountOfYear = function getDayCountOfYear(year) { var isLeapYear = year % 400 === 0 || year % 100 !== 0 && year % 4 === 0; return isLeapYear ? 366 : 365; }; var getFirstDayOfMonth = function getFirstDayOfMonth(date) { var temp = new Date(date.getTime()); temp.setDate(1); return temp.getDay(); }; // see: https://stackoverflow.com/questions/3674539/incrementing-a-date-in-javascript // {prev, next} Date should work for Daylight Saving Time // Adding 24 * 60 * 60 * 1000 does not work in the above scenario var prevDate = function prevDate(date) { var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; return new Date(date.getFullYear(), date.getMonth(), date.getDate() - amount); }; var nextDate = function nextDate(date) { var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; return new Date(date.getFullYear(), date.getMonth(), date.getDate() + amount); }; var getStartDateOfMonth = function getStartDateOfMonth(year, month) { var result = new Date(year, month, 1); var day = result.getDay(); if (day === 0) { return prevDate(result, 7); } else { return prevDate(result, day); } }; var getWeekNumber = function getWeekNumber(src) { if (!isDate(src)) return null; var date = new Date(src.getTime()); date.setHours(0, 0, 0, 0); // Thursday in current week decides the year. date.setDate(date.getDate() + 3 - (date.getDay() + 6) % 7); // January 4 is always in week 1. var week1 = new Date(date.getFullYear(), 0, 4); // Adjust to Thursday in week 1 and count number of weeks from date to week 1. // Rounding should be fine for Daylight Saving Time. Its shift should never be more than 12 hours. return 1 + Math.round(((date.getTime() - week1.getTime()) / 86400000 - 3 + (week1.getDay() + 6) % 7) / 7); }; var getRangeHours = function getRangeHours(ranges) { var hours = []; var disabledHours = []; (ranges || []).forEach(function (range) { var value = range.map(function (date) { return date.getHours(); }); disabledHours = disabledHours.concat(newArray(value[0], value[1])); }); if (disabledHours.length) { for (var i = 0; i < 24; i++) { hours[i] = disabledHours.indexOf(i) === -1; } } else { for (var _i = 0; _i < 24; _i++) { hours[_i] = false; } } return hours; }; function setRangeData(arr, start, end, value) { for (var i = start; i < end; i++) { arr[i] = value; } } var getRangeMinutes = function getRangeMinutes(ranges, hour) { var minutes = new Array(60); if (ranges.length > 0) { ranges.forEach(function (range) { var start = range[0]; var end = range[1]; var startHour = start.getHours(); var startMinute = start.getMinutes(); var endHour = end.getHours(); var endMinute = end.getMinutes(); if (startHour === hour && endHour !== hour) { setRangeData(minutes, startMinute, 60, true); } else if (startHour === hour && endHour === hour) { setRangeData(minutes, startMinute, endMinute + 1, true); } else if (startHour !== hour && endHour === hour) { setRangeData(minutes, 0, endMinute + 1, true); } else if (startHour < hour && endHour > hour) { setRangeData(minutes, 0, 60, true); } }); } else { setRangeData(minutes, 0, 60, true); } return minutes; }; var util_range = function range(n) { // see https://stackoverflow.com/questions/3746725/create-a-javascript-array-containing-1-n return Array.apply(null, { length: n }).map(function (_, n) { return n; }); }; var modifyDate = function modifyDate(date, y, m, d) { return new Date(y, m, d, date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()); }; var modifyTime = function modifyTime(date, h, m, s) { return new Date(date.getFullYear(), date.getMonth(), date.getDate(), h, m, s, date.getMilliseconds()); }; var modifyWithTimeString = function modifyWithTimeString(date, time) { if (date == null || !time) { return date; } time = util_parseDate(time, 'HH:mm:ss'); return modifyTime(date, time.getHours(), time.getMinutes(), time.getSeconds()); }; var clearTime = function clearTime(date) { return new Date(date.getFullYear(), date.getMonth(), date.getDate()); }; var clearMilliseconds = function clearMilliseconds(date) { return new Date(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), 0); }; var util_limitTimeRange = function limitTimeRange(date, ranges) { var format = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'HH:mm:ss'; // TODO: refactory a more elegant solution if (ranges.length === 0) return date; var normalizeDate = function normalizeDate(date) { return date_default.a.parse(date_default.a.format(date, format), format); }; var ndate = normalizeDate(date); var nranges = ranges.map(function (range) { return range.map(normalizeDate); }); if (nranges.some(function (nrange) { return ndate >= nrange[0] && ndate <= nrange[1]; })) return date; var minDate = nranges[0][0]; var maxDate = nranges[0][0]; nranges.forEach(function (nrange) { minDate = new Date(Math.min(nrange[0], minDate)); maxDate = new Date(Math.max(nrange[1], minDate)); }); var ret = ndate < minDate ? minDate : maxDate; // preserve Year/Month/Date return modifyDate(ret, date.getFullYear(), date.getMonth(), date.getDate()); }; var timeWithinRange = function timeWithinRange(date, selectableRange, format) { var limitedDate = util_limitTimeRange(date, selectableRange, format); return limitedDate.getTime() === date.getTime(); }; var changeYearMonthAndClampDate = function changeYearMonthAndClampDate(date, year, month) { // clamp date to the number of days in `year`, `month` // eg: (2010-1-31, 2010, 2) => 2010-2-28 var monthDate = Math.min(date.getDate(), getDayCountOfMonth(year, month)); return modifyDate(date, year, month, monthDate); }; var util_prevMonth = function prevMonth(date) { var year = date.getFullYear(); var month = date.getMonth(); return month === 0 ? changeYearMonthAndClampDate(date, year - 1, 11) : changeYearMonthAndClampDate(date, year, month - 1); }; var util_nextMonth = function nextMonth(date) { var year = date.getFullYear(); var month = date.getMonth(); return month === 11 ? changeYearMonthAndClampDate(date, year + 1, 0) : changeYearMonthAndClampDate(date, year, month + 1); }; var util_prevYear = function prevYear(date) { var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; var year = date.getFullYear(); var month = date.getMonth(); return changeYearMonthAndClampDate(date, year - amount, month); }; var util_nextYear = function nextYear(date) { var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; var year = date.getFullYear(); var month = date.getMonth(); return changeYearMonthAndClampDate(date, year + amount, month); }; var extractDateFormat = function extractDateFormat(format) { return format.replace(/\W?m{1,2}|\W?ZZ/g, '').replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi, '').trim(); }; var extractTimeFormat = function extractTimeFormat(format) { return format.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g, '').trim(); }; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/picker.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var NewPopper = { props: { appendToBody: vue_popper_default.a.props.appendToBody, offset: vue_popper_default.a.props.offset, boundariesPadding: vue_popper_default.a.props.boundariesPadding, arrowOffset: vue_popper_default.a.props.arrowOffset }, methods: vue_popper_default.a.methods, data: function data() { return merge_default()({ visibleArrow: true }, vue_popper_default.a.data); }, beforeDestroy: vue_popper_default.a.beforeDestroy }; var DEFAULT_FORMATS = { date: 'yyyy-MM-dd', month: 'yyyy-MM', datetime: 'yyyy-MM-dd HH:mm:ss', time: 'HH:mm:ss', week: 'yyyywWW', timerange: 'HH:mm:ss', daterange: 'yyyy-MM-dd', datetimerange: 'yyyy-MM-dd HH:mm:ss', year: 'yyyy' }; var HAVE_TRIGGER_TYPES = ['date', 'datetime', 'time', 'time-select', 'week', 'month', 'year', 'daterange', 'timerange', 'datetimerange', 'dates']; var pickervue_type_script_lang_js_DATE_FORMATTER = function DATE_FORMATTER(value, format) { if (format === 'timestamp') return value.getTime(); return util_formatDate(value, format); }; var pickervue_type_script_lang_js_DATE_PARSER = function DATE_PARSER(text, format) { if (format === 'timestamp') return new Date(Number(text)); return util_parseDate(text, format); }; var RANGE_FORMATTER = function RANGE_FORMATTER(value, format) { if (Array.isArray(value) && value.length === 2) { var start = value[0]; var end = value[1]; if (start && end) { return [pickervue_type_script_lang_js_DATE_FORMATTER(start, format), pickervue_type_script_lang_js_DATE_FORMATTER(end, format)]; } } return ''; }; var RANGE_PARSER = function RANGE_PARSER(array, format, separator) { if (!Array.isArray(array)) { array = array.split(separator); } if (array.length === 2) { var range1 = array[0]; var range2 = array[1]; return [pickervue_type_script_lang_js_DATE_PARSER(range1, format), pickervue_type_script_lang_js_DATE_PARSER(range2, format)]; } return []; }; var TYPE_VALUE_RESOLVER_MAP = { default: { formatter: function formatter(value) { if (!value) return ''; return '' + value; }, parser: function parser(text) { if (text === undefined || text === '') return null; return text; } }, week: { formatter: function formatter(value, format) { var week = getWeekNumber(value); var month = value.getMonth(); var trueDate = new Date(value); if (week === 1 && month === 11) { trueDate.setHours(0, 0, 0, 0); trueDate.setDate(trueDate.getDate() + 3 - (trueDate.getDay() + 6) % 7); } var date = util_formatDate(trueDate, format); date = /WW/.test(date) ? date.replace(/WW/, week < 10 ? '0' + week : week) : date.replace(/W/, week); return date; }, parser: function parser(text) { var array = (text || '').split('w'); if (array.length === 2) { var year = Number(array[0]); var month = Number(array[1]); if (!isNaN(year) && !isNaN(month) && month < 54) { return text; } } return null; } }, date: { formatter: pickervue_type_script_lang_js_DATE_FORMATTER, parser: pickervue_type_script_lang_js_DATE_PARSER }, datetime: { formatter: pickervue_type_script_lang_js_DATE_FORMATTER, parser: pickervue_type_script_lang_js_DATE_PARSER }, daterange: { formatter: RANGE_FORMATTER, parser: RANGE_PARSER }, datetimerange: { formatter: RANGE_FORMATTER, parser: RANGE_PARSER }, timerange: { formatter: RANGE_FORMATTER, parser: RANGE_PARSER }, time: { formatter: pickervue_type_script_lang_js_DATE_FORMATTER, parser: pickervue_type_script_lang_js_DATE_PARSER }, month: { formatter: pickervue_type_script_lang_js_DATE_FORMATTER, parser: pickervue_type_script_lang_js_DATE_PARSER }, year: { formatter: pickervue_type_script_lang_js_DATE_FORMATTER, parser: pickervue_type_script_lang_js_DATE_PARSER }, number: { formatter: function formatter(value) { if (!value) return ''; return '' + value; }, parser: function parser(text) { var result = Number(text); if (!isNaN(text)) { return result; } else { return null; } } }, dates: { formatter: function formatter(value, format) { return value.map(function (date) { return pickervue_type_script_lang_js_DATE_FORMATTER(date, format); }); }, parser: function parser(value, format) { return (typeof value === 'string' ? value.split(', ') : value).map(function (date) { return date instanceof Date ? date : pickervue_type_script_lang_js_DATE_PARSER(date, format); }); } } }; var PLACEMENT_MAP = { left: 'bottom-start', center: 'bottom', right: 'bottom-end' }; var parseAsFormatAndType = function parseAsFormatAndType(value, customFormat, type) { var rangeSeparator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '-'; if (!value) return null; var parser = (TYPE_VALUE_RESOLVER_MAP[type] || TYPE_VALUE_RESOLVER_MAP['default']).parser; var format = customFormat || DEFAULT_FORMATS[type]; return parser(value, format, rangeSeparator); }; var formatAsFormatAndType = function formatAsFormatAndType(value, customFormat, type) { if (!value) return null; var formatter = (TYPE_VALUE_RESOLVER_MAP[type] || TYPE_VALUE_RESOLVER_MAP['default']).formatter; var format = customFormat || DEFAULT_FORMATS[type]; return formatter(value, format); }; /* * Considers: * 1. Date object * 2. date string * 3. array of 1 or 2 */ var valueEquals = function valueEquals(a, b) { // considers Date object and string var dateEquals = function dateEquals(a, b) { var aIsDate = a instanceof Date; var bIsDate = b instanceof Date; if (aIsDate && bIsDate) { return a.getTime() === b.getTime(); } if (!aIsDate && !bIsDate) { return a === b; } return false; }; var aIsArray = a instanceof Array; var bIsArray = b instanceof Array; if (aIsArray && bIsArray) { if (a.length !== b.length) { return false; } return a.every(function (item, index) { return dateEquals(item, b[index]); }); } if (!aIsArray && !bIsArray) { return dateEquals(a, b); } return false; }; var isString = function isString(val) { return typeof val === 'string' || val instanceof String; }; var pickervue_type_script_lang_js_validator = function validator(val) { // either: String, Array of String, null / undefined return val === null || val === undefined || isString(val) || Array.isArray(val) && val.length === 2 && val.every(isString); }; /* harmony default export */ var pickervue_type_script_lang_js_ = ({ mixins: [emitter_default.a, NewPopper], inject: { elForm: { default: '' }, elFormItem: { default: '' } }, props: { size: String, format: String, valueFormat: String, readonly: Boolean, placeholder: String, startPlaceholder: String, endPlaceholder: String, prefixIcon: String, clearIcon: { type: String, default: 'el-icon-circle-close' }, name: { default: '', validator: pickervue_type_script_lang_js_validator }, disabled: Boolean, clearable: { type: Boolean, default: true }, id: { default: '', validator: pickervue_type_script_lang_js_validator }, popperClass: String, editable: { type: Boolean, default: true }, align: { type: String, default: 'left' }, value: {}, defaultValue: {}, defaultTime: {}, rangeSeparator: { default: '-' }, pickerOptions: {}, unlinkPanels: Boolean, validateEvent: { type: Boolean, default: true } }, components: { ElInput: input_default.a }, directives: { Clickoutside: clickoutside_default.a }, data: function data() { return { pickerVisible: false, showClose: false, userInput: null, valueOnOpen: null, // value when picker opens, used to determine whether to emit change unwatchPickerOptions: null }; }, watch: { pickerVisible: function pickerVisible(val) { if (this.readonly || this.pickerDisabled) return; if (val) { this.showPicker(); this.valueOnOpen = Array.isArray(this.value) ? [].concat(this.value) : this.value; } else { this.hidePicker(); this.emitChange(this.value); this.userInput = null; if (this.validateEvent) { this.dispatch('ElFormItem', 'el.form.blur'); } this.$emit('blur', this); this.blur(); } }, parsedValue: { immediate: true, handler: function handler(val) { if (this.picker) { this.picker.value = val; } } }, defaultValue: function defaultValue(val) { // NOTE: should eventually move to jsx style picker + panel ? if (this.picker) { this.picker.defaultValue = val; } }, value: function value(val, oldVal) { if (!valueEquals(val, oldVal) && !this.pickerVisible && this.validateEvent) { this.dispatch('ElFormItem', 'el.form.change', val); } } }, computed: { ranged: function ranged() { return this.type.indexOf('range') > -1; }, reference: function reference() { var reference = this.$refs.reference; return reference.$el || reference; }, refInput: function refInput() { if (this.reference) { return [].slice.call(this.reference.querySelectorAll('input')); } return []; }, valueIsEmpty: function valueIsEmpty() { var val = this.value; if (Array.isArray(val)) { for (var i = 0, len = val.length; i < len; i++) { if (val[i]) { return false; } } } else { if (val) { return false; } } return true; }, triggerClass: function triggerClass() { return this.prefixIcon || (this.type.indexOf('time') !== -1 ? 'el-icon-time' : 'el-icon-date'); }, selectionMode: function selectionMode() { if (this.type === 'week') { return 'week'; } else if (this.type === 'month') { return 'month'; } else if (this.type === 'year') { return 'year'; } else if (this.type === 'dates') { return 'dates'; } return 'day'; }, haveTrigger: function haveTrigger() { if (typeof this.showTrigger !== 'undefined') { return this.showTrigger; } return HAVE_TRIGGER_TYPES.indexOf(this.type) !== -1; }, displayValue: function displayValue() { var formattedValue = formatAsFormatAndType(this.parsedValue, this.format, this.type, this.rangeSeparator); if (Array.isArray(this.userInput)) { return [this.userInput[0] || formattedValue && formattedValue[0] || '', this.userInput[1] || formattedValue && formattedValue[1] || '']; } else if (this.userInput !== null) { return this.userInput; } else if (formattedValue) { return this.type === 'dates' ? formattedValue.join(', ') : formattedValue; } else { return ''; } }, parsedValue: function parsedValue() { if (!this.value) return this.value; // component value is not set if (this.type === 'time-select') return this.value; // time-select does not require parsing, this might change in next major version var valueIsDateObject = isDateObject(this.value) || Array.isArray(this.value) && this.value.every(isDateObject); if (valueIsDateObject) { return this.value; } if (this.valueFormat) { return parseAsFormatAndType(this.value, this.valueFormat, this.type, this.rangeSeparator) || this.value; } // NOTE: deal with common but incorrect usage, should remove in next major version // user might provide string / timestamp without value-format, coerce them into date (or array of date) return Array.isArray(this.value) ? this.value.map(function (val) { return new Date(val); }) : new Date(this.value); }, _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, pickerSize: function pickerSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, pickerDisabled: function pickerDisabled() { return this.disabled || (this.elForm || {}).disabled; }, firstInputId: function firstInputId() { var obj = {}; var id = void 0; if (this.ranged) { id = this.id && this.id[0]; } else { id = this.id; } if (id) obj.id = id; return obj; }, secondInputId: function secondInputId() { var obj = {}; var id = void 0; if (this.ranged) { id = this.id && this.id[1]; } if (id) obj.id = id; return obj; } }, created: function created() { // vue-popper this.popperOptions = { boundariesPadding: 0, gpuAcceleration: false }; this.placement = PLACEMENT_MAP[this.align] || PLACEMENT_MAP.left; this.$on('fieldReset', this.handleFieldReset); }, methods: { focus: function focus() { if (!this.ranged) { this.$refs.reference.focus(); } else { this.handleFocus(); } }, blur: function blur() { this.refInput.forEach(function (input) { return input.blur(); }); }, // {parse, formatTo} Value deals maps component value with internal Date parseValue: function parseValue(value) { var isParsed = isDateObject(value) || Array.isArray(value) && value.every(isDateObject); if (this.valueFormat && !isParsed) { return parseAsFormatAndType(value, this.valueFormat, this.type, this.rangeSeparator) || value; } else { return value; } }, formatToValue: function formatToValue(date) { var isFormattable = isDateObject(date) || Array.isArray(date) && date.every(isDateObject); if (this.valueFormat && isFormattable) { return formatAsFormatAndType(date, this.valueFormat, this.type, this.rangeSeparator); } else { return date; } }, // {parse, formatTo} String deals with user input parseString: function parseString(value) { var type = Array.isArray(value) ? this.type : this.type.replace('range', ''); return parseAsFormatAndType(value, this.format, type); }, formatToString: function formatToString(value) { var type = Array.isArray(value) ? this.type : this.type.replace('range', ''); return formatAsFormatAndType(value, this.format, type); }, handleMouseEnter: function handleMouseEnter() { if (this.readonly || this.pickerDisabled) return; if (!this.valueIsEmpty && this.clearable) { this.showClose = true; } }, handleChange: function handleChange() { if (this.userInput) { var value = this.parseString(this.displayValue); if (value) { this.picker.value = value; if (this.isValidValue(value)) { this.emitInput(value); this.userInput = null; } } } if (this.userInput === '') { this.emitInput(null); this.emitChange(null); this.userInput = null; } }, handleStartInput: function handleStartInput(event) { if (this.userInput) { this.userInput = [event.target.value, this.userInput[1]]; } else { this.userInput = [event.target.value, null]; } }, handleEndInput: function handleEndInput(event) { if (this.userInput) { this.userInput = [this.userInput[0], event.target.value]; } else { this.userInput = [null, event.target.value]; } }, handleStartChange: function handleStartChange(event) { var value = this.parseString(this.userInput && this.userInput[0]); if (value) { this.userInput = [this.formatToString(value), this.displayValue[1]]; var newValue = [value, this.picker.value && this.picker.value[1]]; this.picker.value = newValue; if (this.isValidValue(newValue)) { this.emitInput(newValue); this.userInput = null; } } }, handleEndChange: function handleEndChange(event) { var value = this.parseString(this.userInput && this.userInput[1]); if (value) { this.userInput = [this.displayValue[0], this.formatToString(value)]; var newValue = [this.picker.value && this.picker.value[0], value]; this.picker.value = newValue; if (this.isValidValue(newValue)) { this.emitInput(newValue); this.userInput = null; } } }, handleClickIcon: function handleClickIcon(event) { if (this.readonly || this.pickerDisabled) return; if (this.showClose) { this.valueOnOpen = this.value; event.stopPropagation(); this.emitInput(null); this.emitChange(null); this.showClose = false; if (this.picker && typeof this.picker.handleClear === 'function') { this.picker.handleClear(); } } else { this.pickerVisible = !this.pickerVisible; } }, handleClose: function handleClose() { if (!this.pickerVisible) return; this.pickerVisible = false; if (this.type === 'dates') { // restore to former value var oldValue = parseAsFormatAndType(this.valueOnOpen, this.valueFormat, this.type, this.rangeSeparator) || this.valueOnOpen; this.emitInput(oldValue); } }, handleFieldReset: function handleFieldReset(initialValue) { this.userInput = initialValue === '' ? null : initialValue; }, handleFocus: function handleFocus() { var type = this.type; if (HAVE_TRIGGER_TYPES.indexOf(type) !== -1 && !this.pickerVisible) { this.pickerVisible = true; } this.$emit('focus', this); }, handleKeydown: function handleKeydown(event) { var _this = this; var keyCode = event.keyCode; // ESC if (keyCode === 27) { this.pickerVisible = false; event.stopPropagation(); return; } // Tab if (keyCode === 9) { if (!this.ranged) { this.handleChange(); this.pickerVisible = this.picker.visible = false; this.blur(); event.stopPropagation(); } else { // user may change focus between two input setTimeout(function () { if (_this.refInput.indexOf(document.activeElement) === -1) { _this.pickerVisible = false; _this.blur(); event.stopPropagation(); } }, 0); } return; } // Enter if (keyCode === 13) { if (this.userInput === '' || this.isValidValue(this.parseString(this.displayValue))) { this.handleChange(); this.pickerVisible = this.picker.visible = false; this.blur(); } event.stopPropagation(); return; } // if user is typing, do not let picker handle key input if (this.userInput) { event.stopPropagation(); return; } // delegate other keys to panel if (this.picker && this.picker.handleKeydown) { this.picker.handleKeydown(event); } }, handleRangeClick: function handleRangeClick() { var type = this.type; if (HAVE_TRIGGER_TYPES.indexOf(type) !== -1 && !this.pickerVisible) { this.pickerVisible = true; } this.$emit('focus', this); }, hidePicker: function hidePicker() { if (this.picker) { this.picker.resetView && this.picker.resetView(); this.pickerVisible = this.picker.visible = false; this.destroyPopper(); } }, showPicker: function showPicker() { var _this2 = this; if (this.$isServer) return; if (!this.picker) { this.mountPicker(); } this.pickerVisible = this.picker.visible = true; this.updatePopper(); this.picker.value = this.parsedValue; this.picker.resetView && this.picker.resetView(); this.$nextTick(function () { _this2.picker.adjustSpinners && _this2.picker.adjustSpinners(); }); }, mountPicker: function mountPicker() { var _this3 = this; this.picker = new external_vue_default.a(this.panel).$mount(); this.picker.defaultValue = this.defaultValue; this.picker.defaultTime = this.defaultTime; this.picker.popperClass = this.popperClass; this.popperElm = this.picker.$el; this.picker.width = this.reference.getBoundingClientRect().width; this.picker.showTime = this.type === 'datetime' || this.type === 'datetimerange'; this.picker.selectionMode = this.selectionMode; this.picker.unlinkPanels = this.unlinkPanels; this.picker.arrowControl = this.arrowControl || this.timeArrowControl || false; this.$watch('format', function (format) { _this3.picker.format = format; }); var updateOptions = function updateOptions() { var options = _this3.pickerOptions; if (options && options.selectableRange) { var ranges = options.selectableRange; var parser = TYPE_VALUE_RESOLVER_MAP.datetimerange.parser; var format = DEFAULT_FORMATS.timerange; ranges = Array.isArray(ranges) ? ranges : [ranges]; _this3.picker.selectableRange = ranges.map(function (range) { return parser(range, format, _this3.rangeSeparator); }); } for (var option in options) { if (options.hasOwnProperty(option) && // 忽略 time-picker 的该配置项 option !== 'selectableRange') { _this3.picker[option] = options[option]; } } // main format must prevail over undocumented pickerOptions.format if (_this3.format) { _this3.picker.format = _this3.format; } }; updateOptions(); this.unwatchPickerOptions = this.$watch('pickerOptions', function () { return updateOptions(); }, { deep: true }); this.$el.appendChild(this.picker.$el); this.picker.resetView && this.picker.resetView(); this.picker.$on('dodestroy', this.doDestroy); this.picker.$on('pick', function () { var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; var visible = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; _this3.userInput = null; _this3.pickerVisible = _this3.picker.visible = visible; _this3.emitInput(date); _this3.picker.resetView && _this3.picker.resetView(); }); this.picker.$on('select-range', function (start, end, pos) { if (_this3.refInput.length === 0) return; if (!pos || pos === 'min') { _this3.refInput[0].setSelectionRange(start, end); _this3.refInput[0].focus(); } else if (pos === 'max') { _this3.refInput[1].setSelectionRange(start, end); _this3.refInput[1].focus(); } }); }, unmountPicker: function unmountPicker() { if (this.picker) { this.picker.$destroy(); this.picker.$off(); if (typeof this.unwatchPickerOptions === 'function') { this.unwatchPickerOptions(); } this.picker.$el.parentNode.removeChild(this.picker.$el); } }, emitChange: function emitChange(val) { // determine user real change only if (!valueEquals(val, this.valueOnOpen)) { this.$emit('change', val); this.valueOnOpen = val; if (this.validateEvent) { this.dispatch('ElFormItem', 'el.form.change', val); } } }, emitInput: function emitInput(val) { var formatted = this.formatToValue(val); if (!valueEquals(this.value, formatted)) { this.$emit('input', formatted); } }, isValidValue: function isValidValue(value) { if (!this.picker) { this.mountPicker(); } if (this.picker.isValidValue) { return value && this.picker.isValidValue(value); } else { return true; } } } }); // CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=script&lang=js& /* harmony default export */ var src_pickervue_type_script_lang_js_ = (pickervue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/date-picker/src/picker.vue /* normalize component */ var picker_component = normalizeComponent( src_pickervue_type_script_lang_js_, pickervue_type_template_id_79ae069f_render, pickervue_type_template_id_79ae069f_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var picker_api; } picker_component.options.__file = "packages/date-picker/src/picker.vue" /* harmony default export */ var picker = (picker_component.exports); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/date.vue?vue&type=template&id=2440d4ea& var datevue_type_template_id_2440d4ea_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "el-zoom-in-top" }, on: { "after-enter": _vm.handleEnter, "after-leave": _vm.handleLeave } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-picker-panel el-date-picker el-popper", class: [ { "has-sidebar": _vm.$slots.sidebar || _vm.shortcuts, "has-time": _vm.showTime }, _vm.popperClass ] }, [ _c( "div", { staticClass: "el-picker-panel__body-wrapper" }, [ _vm._t("sidebar"), _vm.shortcuts ? _c( "div", { staticClass: "el-picker-panel__sidebar" }, _vm._l(_vm.shortcuts, function(shortcut, key) { return _c( "button", { key: key, staticClass: "el-picker-panel__shortcut", attrs: { type: "button" }, on: { click: function($event) { _vm.handleShortcutClick(shortcut) } } }, [_vm._v(_vm._s(shortcut.text))] ) }), 0 ) : _vm._e(), _c("div", { staticClass: "el-picker-panel__body" }, [ _vm.showTime ? _c("div", { staticClass: "el-date-picker__time-header" }, [ _c( "span", { staticClass: "el-date-picker__editor-wrap" }, [ _c("el-input", { attrs: { placeholder: _vm.t("el.datepicker.selectDate"), value: _vm.visibleDate, size: "small" }, on: { input: function(val) { return (_vm.userInputDate = val) }, change: _vm.handleVisibleDateChange } }) ], 1 ), _c( "span", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.handleTimePickClose, expression: "handleTimePickClose" } ], staticClass: "el-date-picker__editor-wrap" }, [ _c("el-input", { ref: "input", attrs: { placeholder: _vm.t("el.datepicker.selectTime"), value: _vm.visibleTime, size: "small" }, on: { focus: function($event) { _vm.timePickerVisible = true }, input: function(val) { return (_vm.userInputTime = val) }, change: _vm.handleVisibleTimeChange } }), _c("time-picker", { ref: "timepicker", attrs: { "time-arrow-control": _vm.arrowControl, visible: _vm.timePickerVisible }, on: { pick: _vm.handleTimePick, mounted: _vm.proxyTimePickerDataProperties } }) ], 1 ) ]) : _vm._e(), _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.currentView !== "time", expression: "currentView !== 'time'" } ], staticClass: "el-date-picker__header", class: { "el-date-picker__header--bordered": _vm.currentView === "year" || _vm.currentView === "month" } }, [ _c("button", { staticClass: "el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-d-arrow-left", attrs: { type: "button", "aria-label": _vm.t("el.datepicker.prevYear") }, on: { click: _vm.prevYear } }), _c("button", { directives: [ { name: "show", rawName: "v-show", value: _vm.currentView === "date", expression: "currentView === 'date'" } ], staticClass: "el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-arrow-left", attrs: { type: "button", "aria-label": _vm.t("el.datepicker.prevMonth") }, on: { click: _vm.prevMonth } }), _c( "span", { staticClass: "el-date-picker__header-label", attrs: { role: "button" }, on: { click: _vm.showYearPicker } }, [_vm._v(_vm._s(_vm.yearLabel))] ), _c( "span", { directives: [ { name: "show", rawName: "v-show", value: _vm.currentView === "date", expression: "currentView === 'date'" } ], staticClass: "el-date-picker__header-label", class: { active: _vm.currentView === "month" }, attrs: { role: "button" }, on: { click: _vm.showMonthPicker } }, [ _vm._v( _vm._s(_vm.t("el.datepicker.month" + (_vm.month + 1))) ) ] ), _c("button", { staticClass: "el-picker-panel__icon-btn el-date-picker__next-btn el-icon-d-arrow-right", attrs: { type: "button", "aria-label": _vm.t("el.datepicker.nextYear") }, on: { click: _vm.nextYear } }), _c("button", { directives: [ { name: "show", rawName: "v-show", value: _vm.currentView === "date", expression: "currentView === 'date'" } ], staticClass: "el-picker-panel__icon-btn el-date-picker__next-btn el-icon-arrow-right", attrs: { type: "button", "aria-label": _vm.t("el.datepicker.nextMonth") }, on: { click: _vm.nextMonth } }) ] ), _c( "div", { staticClass: "el-picker-panel__content" }, [ _c("date-table", { directives: [ { name: "show", rawName: "v-show", value: _vm.currentView === "date", expression: "currentView === 'date'" } ], attrs: { "selection-mode": _vm.selectionMode, "first-day-of-week": _vm.firstDayOfWeek, value: _vm.value, "default-value": _vm.defaultValue ? new Date(_vm.defaultValue) : null, date: _vm.date, "disabled-date": _vm.disabledDate }, on: { pick: _vm.handleDatePick } }), _c("year-table", { directives: [ { name: "show", rawName: "v-show", value: _vm.currentView === "year", expression: "currentView === 'year'" } ], attrs: { value: _vm.value, "default-value": _vm.defaultValue ? new Date(_vm.defaultValue) : null, date: _vm.date, "disabled-date": _vm.disabledDate }, on: { pick: _vm.handleYearPick } }), _c("month-table", { directives: [ { name: "show", rawName: "v-show", value: _vm.currentView === "month", expression: "currentView === 'month'" } ], attrs: { value: _vm.value, "default-value": _vm.defaultValue ? new Date(_vm.defaultValue) : null, date: _vm.date, "disabled-date": _vm.disabledDate }, on: { pick: _vm.handleMonthPick } }) ], 1 ) ]) ], 2 ), _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.footerVisible && _vm.currentView === "date", expression: "footerVisible && currentView === 'date'" } ], staticClass: "el-picker-panel__footer" }, [ _c( "el-button", { directives: [ { name: "show", rawName: "v-show", value: _vm.selectionMode !== "dates", expression: "selectionMode !== 'dates'" } ], staticClass: "el-picker-panel__link-btn", attrs: { size: "mini", type: "text" }, on: { click: _vm.changeToNow } }, [ _vm._v( "\n " + _vm._s(_vm.t("el.datepicker.now")) + "\n " ) ] ), _c( "el-button", { staticClass: "el-picker-panel__link-btn", attrs: { plain: "", size: "mini" }, on: { click: _vm.confirm } }, [ _vm._v( "\n " + _vm._s(_vm.t("el.datepicker.confirm")) + "\n " ) ] ) ], 1 ) ] ) ] ) } var datevue_type_template_id_2440d4ea_staticRenderFns = [] datevue_type_template_id_2440d4ea_render._withStripped = true // CONCATENATED MODULE: ./packages/date-picker/src/panel/date.vue?vue&type=template&id=2440d4ea& // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time.vue?vue&type=template&id=3d939089& var timevue_type_template_id_3d939089_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "el-zoom-in-top" }, on: { "after-leave": function($event) { _vm.$emit("dodestroy") } } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-time-panel el-popper", class: _vm.popperClass }, [ _c( "div", { staticClass: "el-time-panel__content", class: { "has-seconds": _vm.showSeconds } }, [ _c("time-spinner", { ref: "spinner", attrs: { "arrow-control": _vm.useArrow, "show-seconds": _vm.showSeconds, "am-pm-mode": _vm.amPmMode, date: _vm.date }, on: { change: _vm.handleChange, "select-range": _vm.setSelectionRange } }) ], 1 ), _c("div", { staticClass: "el-time-panel__footer" }, [ _c( "button", { staticClass: "el-time-panel__btn cancel", attrs: { type: "button" }, on: { click: _vm.handleCancel } }, [_vm._v(_vm._s(_vm.t("el.datepicker.cancel")))] ), _c( "button", { staticClass: "el-time-panel__btn", class: { confirm: !_vm.disabled }, attrs: { type: "button" }, on: { click: function($event) { _vm.handleConfirm() } } }, [_vm._v(_vm._s(_vm.t("el.datepicker.confirm")))] ) ]) ] ) ] ) } var timevue_type_template_id_3d939089_staticRenderFns = [] timevue_type_template_id_3d939089_render._withStripped = true // CONCATENATED MODULE: ./packages/date-picker/src/panel/time.vue?vue&type=template&id=3d939089& // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/time-spinner.vue?vue&type=template&id=1facadeb& var time_spinnervue_type_template_id_1facadeb_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-time-spinner", class: { "has-seconds": _vm.showSeconds } }, [ !_vm.arrowControl ? [ _c( "el-scrollbar", { ref: "hours", staticClass: "el-time-spinner__wrapper", attrs: { "wrap-style": "max-height: inherit;", "view-class": "el-time-spinner__list", noresize: "", tag: "ul" }, nativeOn: { mouseenter: function($event) { _vm.emitSelectRange("hours") }, mousemove: function($event) { _vm.adjustCurrentSpinner("hours") } } }, _vm._l(_vm.hoursList, function(disabled, hour) { return _c( "li", { key: hour, staticClass: "el-time-spinner__item", class: { active: hour === _vm.hours, disabled: disabled }, on: { click: function($event) { _vm.handleClick("hours", { value: hour, disabled: disabled }) } } }, [ _vm._v( _vm._s( ("0" + (_vm.amPmMode ? hour % 12 || 12 : hour)).slice( -2 ) ) + _vm._s(_vm.amPm(hour)) ) ] ) }), 0 ), _c( "el-scrollbar", { ref: "minutes", staticClass: "el-time-spinner__wrapper", attrs: { "wrap-style": "max-height: inherit;", "view-class": "el-time-spinner__list", noresize: "", tag: "ul" }, nativeOn: { mouseenter: function($event) { _vm.emitSelectRange("minutes") }, mousemove: function($event) { _vm.adjustCurrentSpinner("minutes") } } }, _vm._l(_vm.minutesList, function(enabled, key) { return _c( "li", { key: key, staticClass: "el-time-spinner__item", class: { active: key === _vm.minutes, disabled: !enabled }, on: { click: function($event) { _vm.handleClick("minutes", { value: key, disabled: false }) } } }, [_vm._v(_vm._s(("0" + key).slice(-2)))] ) }), 0 ), _c( "el-scrollbar", { directives: [ { name: "show", rawName: "v-show", value: _vm.showSeconds, expression: "showSeconds" } ], ref: "seconds", staticClass: "el-time-spinner__wrapper", attrs: { "wrap-style": "max-height: inherit;", "view-class": "el-time-spinner__list", noresize: "", tag: "ul" }, nativeOn: { mouseenter: function($event) { _vm.emitSelectRange("seconds") }, mousemove: function($event) { _vm.adjustCurrentSpinner("seconds") } } }, _vm._l(60, function(second, key) { return _c( "li", { key: key, staticClass: "el-time-spinner__item", class: { active: key === _vm.seconds }, on: { click: function($event) { _vm.handleClick("seconds", { value: key, disabled: false }) } } }, [_vm._v(_vm._s(("0" + key).slice(-2)))] ) }), 0 ) ] : _vm._e(), _vm.arrowControl ? [ _c( "div", { staticClass: "el-time-spinner__wrapper is-arrow", on: { mouseenter: function($event) { _vm.emitSelectRange("hours") } } }, [ _c("i", { directives: [ { name: "repeat-click", rawName: "v-repeat-click", value: _vm.decrease, expression: "decrease" } ], staticClass: "el-time-spinner__arrow el-icon-arrow-up" }), _c("i", { directives: [ { name: "repeat-click", rawName: "v-repeat-click", value: _vm.increase, expression: "increase" } ], staticClass: "el-time-spinner__arrow el-icon-arrow-down" }), _c( "ul", { ref: "hours", staticClass: "el-time-spinner__list" }, _vm._l(_vm.arrowHourList, function(hour, key) { return _c( "li", { key: key, staticClass: "el-time-spinner__item", class: { active: hour === _vm.hours, disabled: _vm.hoursList[hour] } }, [ _vm._v( _vm._s( hour === undefined ? "" : ( "0" + (_vm.amPmMode ? hour % 12 || 12 : hour) ).slice(-2) + _vm.amPm(hour) ) ) ] ) }), 0 ) ] ), _c( "div", { staticClass: "el-time-spinner__wrapper is-arrow", on: { mouseenter: function($event) { _vm.emitSelectRange("minutes") } } }, [ _c("i", { directives: [ { name: "repeat-click", rawName: "v-repeat-click", value: _vm.decrease, expression: "decrease" } ], staticClass: "el-time-spinner__arrow el-icon-arrow-up" }), _c("i", { directives: [ { name: "repeat-click", rawName: "v-repeat-click", value: _vm.increase, expression: "increase" } ], staticClass: "el-time-spinner__arrow el-icon-arrow-down" }), _c( "ul", { ref: "minutes", staticClass: "el-time-spinner__list" }, _vm._l(_vm.arrowMinuteList, function(minute, key) { return _c( "li", { key: key, staticClass: "el-time-spinner__item", class: { active: minute === _vm.minutes } }, [ _vm._v( "\n " + _vm._s( minute === undefined ? "" : ("0" + minute).slice(-2) ) + "\n " ) ] ) }), 0 ) ] ), _vm.showSeconds ? _c( "div", { staticClass: "el-time-spinner__wrapper is-arrow", on: { mouseenter: function($event) { _vm.emitSelectRange("seconds") } } }, [ _c("i", { directives: [ { name: "repeat-click", rawName: "v-repeat-click", value: _vm.decrease, expression: "decrease" } ], staticClass: "el-time-spinner__arrow el-icon-arrow-up" }), _c("i", { directives: [ { name: "repeat-click", rawName: "v-repeat-click", value: _vm.increase, expression: "increase" } ], staticClass: "el-time-spinner__arrow el-icon-arrow-down" }), _c( "ul", { ref: "seconds", staticClass: "el-time-spinner__list" }, _vm._l(_vm.arrowSecondList, function(second, key) { return _c( "li", { key: key, staticClass: "el-time-spinner__item", class: { active: second === _vm.seconds } }, [ _vm._v( "\n " + _vm._s( second === undefined ? "" : ("0" + second).slice(-2) ) + "\n " ) ] ) }), 0 ) ] ) : _vm._e() ] : _vm._e() ], 2 ) } var time_spinnervue_type_template_id_1facadeb_staticRenderFns = [] time_spinnervue_type_template_id_1facadeb_render._withStripped = true // CONCATENATED MODULE: ./packages/date-picker/src/basic/time-spinner.vue?vue&type=template&id=1facadeb& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/time-spinner.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var time_spinnervue_type_script_lang_js_ = ({ components: { ElScrollbar: scrollbar_default.a }, directives: { repeatClick: repeat_click }, props: { date: {}, defaultValue: {}, // reserved for future use showSeconds: { type: Boolean, default: true }, arrowControl: Boolean, amPmMode: { type: String, default: '' // 'a': am/pm; 'A': AM/PM } }, computed: { hours: function hours() { return this.date.getHours(); }, minutes: function minutes() { return this.date.getMinutes(); }, seconds: function seconds() { return this.date.getSeconds(); }, hoursList: function hoursList() { return getRangeHours(this.selectableRange); }, minutesList: function minutesList() { return getRangeMinutes(this.selectableRange, this.hours); }, arrowHourList: function arrowHourList() { var hours = this.hours; return [hours > 0 ? hours - 1 : undefined, hours, hours < 23 ? hours + 1 : undefined]; }, arrowMinuteList: function arrowMinuteList() { var minutes = this.minutes; return [minutes > 0 ? minutes - 1 : undefined, minutes, minutes < 59 ? minutes + 1 : undefined]; }, arrowSecondList: function arrowSecondList() { var seconds = this.seconds; return [seconds > 0 ? seconds - 1 : undefined, seconds, seconds < 59 ? seconds + 1 : undefined]; } }, data: function data() { return { selectableRange: [], currentScrollbar: null }; }, mounted: function mounted() { var _this = this; this.$nextTick(function () { !_this.arrowControl && _this.bindScrollEvent(); }); }, methods: { increase: function increase() { this.scrollDown(1); }, decrease: function decrease() { this.scrollDown(-1); }, modifyDateField: function modifyDateField(type, value) { switch (type) { case 'hours': this.$emit('change', modifyTime(this.date, value, this.minutes, this.seconds));break; case 'minutes': this.$emit('change', modifyTime(this.date, this.hours, value, this.seconds));break; case 'seconds': this.$emit('change', modifyTime(this.date, this.hours, this.minutes, value));break; } }, handleClick: function handleClick(type, _ref) { var value = _ref.value, disabled = _ref.disabled; if (!disabled) { this.modifyDateField(type, value); this.emitSelectRange(type); this.adjustSpinner(type, value); } }, emitSelectRange: function emitSelectRange(type) { if (type === 'hours') { this.$emit('select-range', 0, 2); } else if (type === 'minutes') { this.$emit('select-range', 3, 5); } else if (type === 'seconds') { this.$emit('select-range', 6, 8); } this.currentScrollbar = type; }, bindScrollEvent: function bindScrollEvent() { var _this2 = this; var bindFuntion = function bindFuntion(type) { _this2.$refs[type].wrap.onscroll = function (e) { // TODO: scroll is emitted when set scrollTop programatically // should find better solutions in the future! _this2.handleScroll(type, e); }; }; bindFuntion('hours'); bindFuntion('minutes'); bindFuntion('seconds'); }, handleScroll: function handleScroll(type) { var value = Math.min(Math.floor((this.$refs[type].wrap.scrollTop - (this.scrollBarHeight(type) * 0.5 - 10) / this.typeItemHeight(type) + 3) / this.typeItemHeight(type)), type === 'hours' ? 23 : 59); this.modifyDateField(type, value); }, // NOTE: used by datetime / date-range panel // renamed from adjustScrollTop // should try to refactory it adjustSpinners: function adjustSpinners() { this.adjustSpinner('hours', this.hours); this.adjustSpinner('minutes', this.minutes); this.adjustSpinner('seconds', this.seconds); }, adjustCurrentSpinner: function adjustCurrentSpinner(type) { this.adjustSpinner(type, this[type]); }, adjustSpinner: function adjustSpinner(type, value) { if (this.arrowControl) return; var el = this.$refs[type].wrap; if (el) { el.scrollTop = Math.max(0, value * this.typeItemHeight(type)); } }, scrollDown: function scrollDown(step) { if (!this.currentScrollbar) { this.emitSelectRange('hours'); } var label = this.currentScrollbar; var hoursList = this.hoursList; var now = this[label]; if (this.currentScrollbar === 'hours') { var total = Math.abs(step); step = step > 0 ? 1 : -1; var length = hoursList.length; while (length-- && total) { now = (now + step + hoursList.length) % hoursList.length; if (hoursList[now]) { continue; } total--; } if (hoursList[now]) return; } else { now = (now + step + 60) % 60; } this.modifyDateField(label, now); this.adjustSpinner(label, now); }, amPm: function amPm(hour) { var shouldShowAmPm = this.amPmMode.toLowerCase() === 'a'; if (!shouldShowAmPm) return ''; var isCapital = this.amPmMode === 'A'; var content = hour < 12 ? ' am' : ' pm'; if (isCapital) content = content.toUpperCase(); return content; }, typeItemHeight: function typeItemHeight(type) { return this.$refs[type].$el.querySelector('li').offsetHeight; }, scrollBarHeight: function scrollBarHeight(type) { return this.$refs[type].$el.offsetHeight; } } }); // CONCATENATED MODULE: ./packages/date-picker/src/basic/time-spinner.vue?vue&type=script&lang=js& /* harmony default export */ var basic_time_spinnervue_type_script_lang_js_ = (time_spinnervue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/date-picker/src/basic/time-spinner.vue /* normalize component */ var time_spinner_component = normalizeComponent( basic_time_spinnervue_type_script_lang_js_, time_spinnervue_type_template_id_1facadeb_render, time_spinnervue_type_template_id_1facadeb_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var time_spinner_api; } time_spinner_component.options.__file = "packages/date-picker/src/basic/time-spinner.vue" /* harmony default export */ var time_spinner = (time_spinner_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var timevue_type_script_lang_js_ = ({ mixins: [locale_default.a], components: { TimeSpinner: time_spinner }, props: { visible: Boolean, timeArrowControl: Boolean }, watch: { visible: function visible(val) { var _this = this; if (val) { this.oldValue = this.value; this.$nextTick(function () { return _this.$refs.spinner.emitSelectRange('hours'); }); } else { this.needInitAdjust = true; } }, value: function value(newVal) { var _this2 = this; var date = void 0; if (newVal instanceof Date) { date = util_limitTimeRange(newVal, this.selectableRange, this.format); } else if (!newVal) { date = this.defaultValue ? new Date(this.defaultValue) : new Date(); } this.date = date; if (this.visible && this.needInitAdjust) { this.$nextTick(function (_) { return _this2.adjustSpinners(); }); this.needInitAdjust = false; } }, selectableRange: function selectableRange(val) { this.$refs.spinner.selectableRange = val; }, defaultValue: function defaultValue(val) { if (!isDate(this.value)) { this.date = val ? new Date(val) : new Date(); } } }, data: function data() { return { popperClass: '', format: 'HH:mm:ss', value: '', defaultValue: null, date: new Date(), oldValue: new Date(), selectableRange: [], selectionRange: [0, 2], disabled: false, arrowControl: false, needInitAdjust: true }; }, computed: { showSeconds: function showSeconds() { return (this.format || '').indexOf('ss') !== -1; }, useArrow: function useArrow() { return this.arrowControl || this.timeArrowControl || false; }, amPmMode: function amPmMode() { if ((this.format || '').indexOf('A') !== -1) return 'A'; if ((this.format || '').indexOf('a') !== -1) return 'a'; return ''; } }, methods: { handleCancel: function handleCancel() { this.$emit('pick', this.oldValue, false); }, handleChange: function handleChange(date) { // this.visible avoids edge cases, when use scrolls during panel closing animation if (this.visible) { this.date = clearMilliseconds(date); // if date is out of range, do not emit if (this.isValidValue(this.date)) { this.$emit('pick', this.date, true); } } }, setSelectionRange: function setSelectionRange(start, end) { this.$emit('select-range', start, end); this.selectionRange = [start, end]; }, handleConfirm: function handleConfirm() { var visible = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var first = arguments[1]; if (first) return; var date = clearMilliseconds(util_limitTimeRange(this.date, this.selectableRange, this.format)); this.$emit('pick', date, visible, first); }, handleKeydown: function handleKeydown(event) { var keyCode = event.keyCode; var mapping = { 38: -1, 40: 1, 37: -1, 39: 1 }; // Left or Right if (keyCode === 37 || keyCode === 39) { var step = mapping[keyCode]; this.changeSelectionRange(step); event.preventDefault(); return; } // Up or Down if (keyCode === 38 || keyCode === 40) { var _step = mapping[keyCode]; this.$refs.spinner.scrollDown(_step); event.preventDefault(); return; } }, isValidValue: function isValidValue(date) { return timeWithinRange(date, this.selectableRange, this.format); }, adjustSpinners: function adjustSpinners() { return this.$refs.spinner.adjustSpinners(); }, changeSelectionRange: function changeSelectionRange(step) { var list = [0, 3].concat(this.showSeconds ? [6] : []); var mapping = ['hours', 'minutes'].concat(this.showSeconds ? ['seconds'] : []); var index = list.indexOf(this.selectionRange[0]); var next = (index + step + list.length) % list.length; this.$refs.spinner.emitSelectRange(mapping[next]); } }, mounted: function mounted() { var _this3 = this; this.$nextTick(function () { return _this3.handleConfirm(true, true); }); this.$emit('mounted'); } }); // CONCATENATED MODULE: ./packages/date-picker/src/panel/time.vue?vue&type=script&lang=js& /* harmony default export */ var panel_timevue_type_script_lang_js_ = (timevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/date-picker/src/panel/time.vue /* normalize component */ var time_component = normalizeComponent( panel_timevue_type_script_lang_js_, timevue_type_template_id_3d939089_render, timevue_type_template_id_3d939089_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var time_api; } time_component.options.__file = "packages/date-picker/src/panel/time.vue" /* harmony default export */ var panel_time = (time_component.exports); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/year-table.vue?vue&type=template&id=c86ab5e0& var year_tablevue_type_template_id_c86ab5e0_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "table", { staticClass: "el-year-table", on: { click: _vm.handleYearTableClick } }, [ _c("tbody", [ _c("tr", [ _c( "td", { staticClass: "available", class: _vm.getCellStyle(_vm.startYear + 0) }, [_c("a", { staticClass: "cell" }, [_vm._v(_vm._s(_vm.startYear))])] ), _c( "td", { staticClass: "available", class: _vm.getCellStyle(_vm.startYear + 1) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.startYear + 1)) ]) ] ), _c( "td", { staticClass: "available", class: _vm.getCellStyle(_vm.startYear + 2) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.startYear + 2)) ]) ] ), _c( "td", { staticClass: "available", class: _vm.getCellStyle(_vm.startYear + 3) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.startYear + 3)) ]) ] ) ]), _c("tr", [ _c( "td", { staticClass: "available", class: _vm.getCellStyle(_vm.startYear + 4) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.startYear + 4)) ]) ] ), _c( "td", { staticClass: "available", class: _vm.getCellStyle(_vm.startYear + 5) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.startYear + 5)) ]) ] ), _c( "td", { staticClass: "available", class: _vm.getCellStyle(_vm.startYear + 6) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.startYear + 6)) ]) ] ), _c( "td", { staticClass: "available", class: _vm.getCellStyle(_vm.startYear + 7) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.startYear + 7)) ]) ] ) ]), _c("tr", [ _c( "td", { staticClass: "available", class: _vm.getCellStyle(_vm.startYear + 8) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.startYear + 8)) ]) ] ), _c( "td", { staticClass: "available", class: _vm.getCellStyle(_vm.startYear + 9) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.startYear + 9)) ]) ] ), _c("td"), _c("td") ]) ]) ] ) } var year_tablevue_type_template_id_c86ab5e0_staticRenderFns = [] year_tablevue_type_template_id_c86ab5e0_render._withStripped = true // CONCATENATED MODULE: ./packages/date-picker/src/basic/year-table.vue?vue&type=template&id=c86ab5e0& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/year-table.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var year_tablevue_type_script_lang_js_datesInYear = function datesInYear(year) { var numOfDays = getDayCountOfYear(year); var firstDay = new Date(year, 0, 1); return util_range(numOfDays).map(function (n) { return nextDate(firstDay, n); }); }; /* harmony default export */ var year_tablevue_type_script_lang_js_ = ({ props: { disabledDate: {}, value: {}, defaultValue: { validator: function validator(val) { // null or valid Date Object return val === null || val instanceof Date && isDate(val); } }, date: {} }, computed: { startYear: function startYear() { return Math.floor(this.date.getFullYear() / 10) * 10; } }, methods: { getCellStyle: function getCellStyle(year) { var style = {}; var today = new Date(); style.disabled = typeof this.disabledDate === 'function' ? year_tablevue_type_script_lang_js_datesInYear(year).every(this.disabledDate) : false; style.current = Object(util_["arrayFindIndex"])(Object(util_["coerceTruthyValueToArray"])(this.value), function (date) { return date.getFullYear() === year; }) >= 0; style.today = today.getFullYear() === year; style.default = this.defaultValue && this.defaultValue.getFullYear() === year; return style; }, handleYearTableClick: function handleYearTableClick(event) { var target = event.target; if (target.tagName === 'A') { if (Object(dom_["hasClass"])(target.parentNode, 'disabled')) return; var year = target.textContent || target.innerText; this.$emit('pick', Number(year)); } } } }); // CONCATENATED MODULE: ./packages/date-picker/src/basic/year-table.vue?vue&type=script&lang=js& /* harmony default export */ var basic_year_tablevue_type_script_lang_js_ = (year_tablevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/date-picker/src/basic/year-table.vue /* normalize component */ var year_table_component = normalizeComponent( basic_year_tablevue_type_script_lang_js_, year_tablevue_type_template_id_c86ab5e0_render, year_tablevue_type_template_id_c86ab5e0_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var year_table_api; } year_table_component.options.__file = "packages/date-picker/src/basic/year-table.vue" /* harmony default export */ var year_table = (year_table_component.exports); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/month-table.vue?vue&type=template&id=654d4f42& var month_tablevue_type_template_id_654d4f42_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "table", { staticClass: "el-month-table", on: { click: _vm.handleMonthTableClick } }, [ _c("tbody", [ _c("tr", [ _c("td", { class: _vm.getCellStyle(0) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.jan"))) ]) ]), _c("td", { class: _vm.getCellStyle(1) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.feb"))) ]) ]), _c("td", { class: _vm.getCellStyle(2) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.mar"))) ]) ]), _c("td", { class: _vm.getCellStyle(3) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.apr"))) ]) ]) ]), _c("tr", [ _c("td", { class: _vm.getCellStyle(4) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.may"))) ]) ]), _c("td", { class: _vm.getCellStyle(5) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.jun"))) ]) ]), _c("td", { class: _vm.getCellStyle(6) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.jul"))) ]) ]), _c("td", { class: _vm.getCellStyle(7) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.aug"))) ]) ]) ]), _c("tr", [ _c("td", { class: _vm.getCellStyle(8) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.sep"))) ]) ]), _c("td", { class: _vm.getCellStyle(9) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.oct"))) ]) ]), _c("td", { class: _vm.getCellStyle(10) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.nov"))) ]) ]), _c("td", { class: _vm.getCellStyle(11) }, [ _c("a", { staticClass: "cell" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.months.dec"))) ]) ]) ]) ]) ] ) } var month_tablevue_type_template_id_654d4f42_staticRenderFns = [] month_tablevue_type_template_id_654d4f42_render._withStripped = true // CONCATENATED MODULE: ./packages/date-picker/src/basic/month-table.vue?vue&type=template&id=654d4f42& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/month-table.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var month_tablevue_type_script_lang_js_datesInMonth = function datesInMonth(year, month) { var numOfDays = getDayCountOfMonth(year, month); var firstDay = new Date(year, month, 1); return util_range(numOfDays).map(function (n) { return nextDate(firstDay, n); }); }; /* harmony default export */ var month_tablevue_type_script_lang_js_ = ({ props: { disabledDate: {}, value: {}, defaultValue: { validator: function validator(val) { // null or valid Date Object return val === null || val instanceof Date && isDate(val); } }, date: {} }, mixins: [locale_default.a], methods: { getCellStyle: function getCellStyle(month) { var style = {}; var year = this.date.getFullYear(); var today = new Date(); style.disabled = typeof this.disabledDate === 'function' ? month_tablevue_type_script_lang_js_datesInMonth(year, month).every(this.disabledDate) : false; style.current = Object(util_["arrayFindIndex"])(Object(util_["coerceTruthyValueToArray"])(this.value), function (date) { return date.getFullYear() === year && date.getMonth() === month; }) >= 0; style.today = today.getFullYear() === year && today.getMonth() === month; style.default = this.defaultValue && this.defaultValue.getFullYear() === year && this.defaultValue.getMonth() === month; return style; }, handleMonthTableClick: function handleMonthTableClick(event) { var target = event.target; if (target.tagName !== 'A') return; if (Object(dom_["hasClass"])(target.parentNode, 'disabled')) return; var column = target.parentNode.cellIndex; var row = target.parentNode.parentNode.rowIndex; var month = row * 4 + column; this.$emit('pick', month); } } }); // CONCATENATED MODULE: ./packages/date-picker/src/basic/month-table.vue?vue&type=script&lang=js& /* harmony default export */ var basic_month_tablevue_type_script_lang_js_ = (month_tablevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/date-picker/src/basic/month-table.vue /* normalize component */ var month_table_component = normalizeComponent( basic_month_tablevue_type_script_lang_js_, month_tablevue_type_template_id_654d4f42_render, month_tablevue_type_template_id_654d4f42_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var month_table_api; } month_table_component.options.__file = "packages/date-picker/src/basic/month-table.vue" /* harmony default export */ var month_table = (month_table_component.exports); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/date-table.vue?vue&type=template&id=5d1f3341& var date_tablevue_type_template_id_5d1f3341_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "table", { staticClass: "el-date-table", class: { "is-week-mode": _vm.selectionMode === "week" }, attrs: { cellspacing: "0", cellpadding: "0" }, on: { click: _vm.handleClick, mousemove: _vm.handleMouseMove } }, [ _c( "tbody", [ _c( "tr", [ _vm.showWeekNumber ? _c("th", [_vm._v(_vm._s(_vm.t("el.datepicker.week")))]) : _vm._e(), _vm._l(_vm.WEEKS, function(week, key) { return _c("th", { key: key }, [ _vm._v(_vm._s(_vm.t("el.datepicker.weeks." + week))) ]) }) ], 2 ), _vm._l(_vm.rows, function(row, key) { return _c( "tr", { key: key, staticClass: "el-date-table__row", class: { current: _vm.isWeekActive(row[1]) } }, _vm._l(row, function(cell, key) { return _c("td", { key: key, class: _vm.getCellClasses(cell) }, [ _c("div", [ _c("span", [ _vm._v("\n " + _vm._s(cell.text) + "\n ") ]) ]) ]) }), 0 ) }) ], 2 ) ] ) } var date_tablevue_type_template_id_5d1f3341_staticRenderFns = [] date_tablevue_type_template_id_5d1f3341_render._withStripped = true // CONCATENATED MODULE: ./packages/date-picker/src/basic/date-table.vue?vue&type=template&id=5d1f3341& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/date-table.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var _WEEKS = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat']; var date_tablevue_type_script_lang_js_getDateTimestamp = function getDateTimestamp(time) { if (typeof time === 'number' || typeof time === 'string') { return clearTime(new Date(time)).getTime(); } else if (time instanceof Date) { return clearTime(time).getTime(); } else { return NaN; } }; // remove the first element that satisfies `pred` from arr // return a new array if modification occurs // return the original array otherwise var date_tablevue_type_script_lang_js_removeFromArray = function removeFromArray(arr, pred) { var idx = typeof pred === 'function' ? Object(util_["arrayFindIndex"])(arr, pred) : arr.indexOf(pred); return idx >= 0 ? [].concat(arr.slice(0, idx), arr.slice(idx + 1)) : arr; }; /* harmony default export */ var date_tablevue_type_script_lang_js_ = ({ mixins: [locale_default.a], props: { firstDayOfWeek: { default: 7, type: Number, validator: function validator(val) { return val >= 1 && val <= 7; } }, value: {}, defaultValue: { validator: function validator(val) { // either: null, valid Date object, Array of valid Date objects return val === null || isDate(val) || Array.isArray(val) && val.every(isDate); } }, date: {}, selectionMode: { default: 'day' }, showWeekNumber: { type: Boolean, default: false }, disabledDate: {}, minDate: {}, maxDate: {}, rangeState: { default: function _default() { return { endDate: null, selecting: false }; } } }, computed: { offsetDay: function offsetDay() { var week = this.firstDayOfWeek; // 周日为界限,左右偏移的天数,3217654 例如周一就是 -1,目的是调整前两行日期的位置 return week > 3 ? 7 - week : -week; }, WEEKS: function WEEKS() { var week = this.firstDayOfWeek; return _WEEKS.concat(_WEEKS).slice(week, week + 7); }, year: function year() { return this.date.getFullYear(); }, month: function month() { return this.date.getMonth(); }, startDate: function startDate() { return getStartDateOfMonth(this.year, this.month); }, rows: function rows() { var _this = this; // TODO: refactory rows / getCellClasses var date = new Date(this.year, this.month, 1); var day = getFirstDayOfMonth(date); // day of first day var dateCountOfMonth = getDayCountOfMonth(date.getFullYear(), date.getMonth()); var dateCountOfLastMonth = getDayCountOfMonth(date.getFullYear(), date.getMonth() === 0 ? 11 : date.getMonth() - 1); day = day === 0 ? 7 : day; var offset = this.offsetDay; var rows = this.tableRows; var count = 1; var firstDayPosition = void 0; var startDate = this.startDate; var disabledDate = this.disabledDate; var selectedDate = this.selectionMode === 'dates' ? Object(util_["coerceTruthyValueToArray"])(this.value) : []; var now = date_tablevue_type_script_lang_js_getDateTimestamp(new Date()); for (var i = 0; i < 6; i++) { var row = rows[i]; if (this.showWeekNumber) { if (!row[0]) { row[0] = { type: 'week', text: getWeekNumber(nextDate(startDate, i * 7 + 1)) }; } } var _loop = function _loop(j) { var cell = row[_this.showWeekNumber ? j + 1 : j]; if (!cell) { cell = { row: i, column: j, type: 'normal', inRange: false, start: false, end: false }; } cell.type = 'normal'; var index = i * 7 + j; var time = nextDate(startDate, index - offset).getTime(); cell.inRange = time >= date_tablevue_type_script_lang_js_getDateTimestamp(_this.minDate) && time <= date_tablevue_type_script_lang_js_getDateTimestamp(_this.maxDate); cell.start = _this.minDate && time === date_tablevue_type_script_lang_js_getDateTimestamp(_this.minDate); cell.end = _this.maxDate && time === date_tablevue_type_script_lang_js_getDateTimestamp(_this.maxDate); var isToday = time === now; if (isToday) { cell.type = 'today'; } if (i >= 0 && i <= 1) { if (j + i * 7 >= day + offset) { cell.text = count++; if (count === 2) { firstDayPosition = i * 7 + j; } } else { cell.text = dateCountOfLastMonth - (day + offset - j % 7) + 1 + i * 7; cell.type = 'prev-month'; } } else { if (count <= dateCountOfMonth) { cell.text = count++; if (count === 2) { firstDayPosition = i * 7 + j; } } else { cell.text = count++ - dateCountOfMonth; cell.type = 'next-month'; } } var cellDate = new Date(time); cell.disabled = typeof disabledDate === 'function' && disabledDate(cellDate); cell.selected = Object(util_["arrayFind"])(selectedDate, function (date) { return date.getTime() === cellDate.getTime(); }); _this.$set(row, _this.showWeekNumber ? j + 1 : j, cell); }; for (var j = 0; j < 7; j++) { _loop(j); } if (this.selectionMode === 'week') { var start = this.showWeekNumber ? 1 : 0; var end = this.showWeekNumber ? 7 : 6; var isWeekActive = this.isWeekActive(row[start + 1]); row[start].inRange = isWeekActive; row[start].start = isWeekActive; row[end].inRange = isWeekActive; row[end].end = isWeekActive; } } rows.firstDayPosition = firstDayPosition; return rows; } }, watch: { 'rangeState.endDate': function rangeStateEndDate(newVal) { this.markRange(this.minDate, newVal); }, minDate: function minDate(newVal, oldVal) { if (date_tablevue_type_script_lang_js_getDateTimestamp(newVal) !== date_tablevue_type_script_lang_js_getDateTimestamp(oldVal)) { this.markRange(this.minDate, this.maxDate); } }, maxDate: function maxDate(newVal, oldVal) { if (date_tablevue_type_script_lang_js_getDateTimestamp(newVal) !== date_tablevue_type_script_lang_js_getDateTimestamp(oldVal)) { this.markRange(this.minDate, this.maxDate); } } }, data: function data() { return { tableRows: [[], [], [], [], [], []], lastRow: null, lastColumn: null }; }, methods: { cellMatchesDate: function cellMatchesDate(cell, date) { var value = new Date(date); return this.year === value.getFullYear() && this.month === value.getMonth() && Number(cell.text) === value.getDate(); }, getCellClasses: function getCellClasses(cell) { var _this2 = this; var selectionMode = this.selectionMode; var defaultValue = this.defaultValue ? Array.isArray(this.defaultValue) ? this.defaultValue : [this.defaultValue] : []; var classes = []; if ((cell.type === 'normal' || cell.type === 'today') && !cell.disabled) { classes.push('available'); if (cell.type === 'today') { classes.push('today'); } } else { classes.push(cell.type); } if (cell.type === 'normal' && defaultValue.some(function (date) { return _this2.cellMatchesDate(cell, date); })) { classes.push('default'); } if (selectionMode === 'day' && (cell.type === 'normal' || cell.type === 'today') && this.cellMatchesDate(cell, this.value)) { classes.push('current'); } if (cell.inRange && (cell.type === 'normal' || cell.type === 'today' || this.selectionMode === 'week')) { classes.push('in-range'); if (cell.start) { classes.push('start-date'); } if (cell.end) { classes.push('end-date'); } } if (cell.disabled) { classes.push('disabled'); } if (cell.selected) { classes.push('selected'); } return classes.join(' '); }, getDateOfCell: function getDateOfCell(row, column) { var offsetFromStart = row * 7 + (column - (this.showWeekNumber ? 1 : 0)) - this.offsetDay; return nextDate(this.startDate, offsetFromStart); }, isWeekActive: function isWeekActive(cell) { if (this.selectionMode !== 'week') return false; var newDate = new Date(this.year, this.month, 1); var year = newDate.getFullYear(); var month = newDate.getMonth(); if (cell.type === 'prev-month') { newDate.setMonth(month === 0 ? 11 : month - 1); newDate.setFullYear(month === 0 ? year - 1 : year); } if (cell.type === 'next-month') { newDate.setMonth(month === 11 ? 0 : month + 1); newDate.setFullYear(month === 11 ? year + 1 : year); } newDate.setDate(parseInt(cell.text, 10)); if (isDate(this.value)) { var dayOffset = (this.value.getDay() - this.firstDayOfWeek + 7) % 7 - 1; var weekDate = prevDate(this.value, dayOffset); return weekDate.getTime() === newDate.getTime(); } return false; }, markRange: function markRange(minDate, maxDate) { minDate = date_tablevue_type_script_lang_js_getDateTimestamp(minDate); maxDate = date_tablevue_type_script_lang_js_getDateTimestamp(maxDate) || minDate; var _ref = [Math.min(minDate, maxDate), Math.max(minDate, maxDate)]; minDate = _ref[0]; maxDate = _ref[1]; var startDate = this.startDate; var rows = this.rows; for (var i = 0, k = rows.length; i < k; i++) { var row = rows[i]; for (var j = 0, l = row.length; j < l; j++) { if (this.showWeekNumber && j === 0) continue; var _cell = row[j]; var index = i * 7 + j + (this.showWeekNumber ? -1 : 0); var time = nextDate(startDate, index - this.offsetDay).getTime(); _cell.inRange = minDate && time >= minDate && time <= maxDate; _cell.start = minDate && time === minDate; _cell.end = maxDate && time === maxDate; } } }, handleMouseMove: function handleMouseMove(event) { if (!this.rangeState.selecting) return; var target = event.target; if (target.tagName === 'SPAN') { target = target.parentNode.parentNode; } if (target.tagName === 'DIV') { target = target.parentNode; } if (target.tagName !== 'TD') return; var row = target.parentNode.rowIndex - 1; var column = target.cellIndex; // can not select disabled date if (this.rows[row][column].disabled) return; // only update rangeState when mouse moves to a new cell // this avoids frequent Date object creation and improves performance if (row !== this.lastRow || column !== this.lastColumn) { this.lastRow = row; this.lastColumn = column; this.$emit('changerange', { minDate: this.minDate, maxDate: this.maxDate, rangeState: { selecting: true, endDate: this.getDateOfCell(row, column) } }); } }, handleClick: function handleClick(event) { var target = event.target; if (target.tagName === 'SPAN') { target = target.parentNode.parentNode; } if (target.tagName === 'DIV') { target = target.parentNode; } if (target.tagName !== 'TD') return; var row = target.parentNode.rowIndex - 1; var column = this.selectionMode === 'week' ? 1 : target.cellIndex; var cell = this.rows[row][column]; if (cell.disabled || cell.type === 'week') return; var newDate = this.getDateOfCell(row, column); if (this.selectionMode === 'range') { if (!this.rangeState.selecting) { this.$emit('pick', { minDate: newDate, maxDate: null }); this.rangeState.selecting = true; } else { if (newDate >= this.minDate) { this.$emit('pick', { minDate: this.minDate, maxDate: newDate }); } else { this.$emit('pick', { minDate: newDate, maxDate: this.minDate }); } this.rangeState.selecting = false; } } else if (this.selectionMode === 'day') { this.$emit('pick', newDate); } else if (this.selectionMode === 'week') { var weekNumber = getWeekNumber(newDate); var value = newDate.getFullYear() + 'w' + weekNumber; this.$emit('pick', { year: newDate.getFullYear(), week: weekNumber, value: value, date: newDate }); } else if (this.selectionMode === 'dates') { var _value = this.value || []; var newValue = cell.selected ? date_tablevue_type_script_lang_js_removeFromArray(_value, function (date) { return date.getTime() === newDate.getTime(); }) : [].concat(_value, [newDate]); this.$emit('pick', newValue); } } } }); // CONCATENATED MODULE: ./packages/date-picker/src/basic/date-table.vue?vue&type=script&lang=js& /* harmony default export */ var basic_date_tablevue_type_script_lang_js_ = (date_tablevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/date-picker/src/basic/date-table.vue /* normalize component */ var date_table_component = normalizeComponent( basic_date_tablevue_type_script_lang_js_, date_tablevue_type_template_id_5d1f3341_render, date_tablevue_type_template_id_5d1f3341_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var date_table_api; } date_table_component.options.__file = "packages/date-picker/src/basic/date-table.vue" /* harmony default export */ var date_table = (date_table_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/date.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var datevue_type_script_lang_js_ = ({ mixins: [locale_default.a], directives: { Clickoutside: clickoutside_default.a }, watch: { showTime: function showTime(val) { var _this = this; /* istanbul ignore if */ if (!val) return; this.$nextTick(function (_) { var inputElm = _this.$refs.input.$el; if (inputElm) { _this.pickerWidth = inputElm.getBoundingClientRect().width + 10; } }); }, value: function value(val) { if (this.selectionMode === 'dates' && this.value) return; if (isDate(val)) { this.date = new Date(val); } else { this.date = this.getDefaultValue(); } }, defaultValue: function defaultValue(val) { if (!isDate(this.value)) { this.date = val ? new Date(val) : new Date(); } }, timePickerVisible: function timePickerVisible(val) { var _this2 = this; if (val) this.$nextTick(function () { return _this2.$refs.timepicker.adjustSpinners(); }); }, selectionMode: function selectionMode(newVal) { if (newVal === 'month') { /* istanbul ignore next */ if (this.currentView !== 'year' || this.currentView !== 'month') { this.currentView = 'month'; } } else if (newVal === 'dates') { this.currentView = 'date'; } } }, methods: { proxyTimePickerDataProperties: function proxyTimePickerDataProperties() { var _this3 = this; var format = function format(timeFormat) { _this3.$refs.timepicker.format = timeFormat; }; var value = function value(_value) { _this3.$refs.timepicker.value = _value; }; var date = function date(_date) { _this3.$refs.timepicker.date = _date; }; var selectableRange = function selectableRange(_selectableRange) { _this3.$refs.timepicker.selectableRange = _selectableRange; }; this.$watch('value', value); this.$watch('date', date); this.$watch('selectableRange', selectableRange); format(this.timeFormat); value(this.value); date(this.date); selectableRange(this.selectableRange); }, handleClear: function handleClear() { this.date = this.getDefaultValue(); this.$emit('pick', null); }, emit: function emit(value) { var _this4 = this; for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } if (!value) { this.$emit.apply(this, ['pick', value].concat(args)); } else if (Array.isArray(value)) { var dates = value.map(function (date) { return _this4.showTime ? clearMilliseconds(date) : clearTime(date); }); this.$emit.apply(this, ['pick', dates].concat(args)); } else { this.$emit.apply(this, ['pick', this.showTime ? clearMilliseconds(value) : clearTime(value)].concat(args)); } this.userInputDate = null; this.userInputTime = null; }, // resetDate() { // this.date = new Date(this.date); // }, showMonthPicker: function showMonthPicker() { this.currentView = 'month'; }, showYearPicker: function showYearPicker() { this.currentView = 'year'; }, // XXX: 没用到 // handleLabelClick() { // if (this.currentView === 'date') { // this.showMonthPicker(); // } else if (this.currentView === 'month') { // this.showYearPicker(); // } // }, prevMonth: function prevMonth() { this.date = util_prevMonth(this.date); }, nextMonth: function nextMonth() { this.date = util_nextMonth(this.date); }, prevYear: function prevYear() { if (this.currentView === 'year') { this.date = util_prevYear(this.date, 10); } else { this.date = util_prevYear(this.date); } }, nextYear: function nextYear() { if (this.currentView === 'year') { this.date = util_nextYear(this.date, 10); } else { this.date = util_nextYear(this.date); } }, handleShortcutClick: function handleShortcutClick(shortcut) { if (shortcut.onClick) { shortcut.onClick(this); } }, handleTimePick: function handleTimePick(value, visible, first) { if (isDate(value)) { var newDate = this.value ? modifyTime(this.value, value.getHours(), value.getMinutes(), value.getSeconds()) : modifyWithTimeString(this.getDefaultValue(), this.defaultTime); this.date = newDate; this.emit(this.date, true); } else { this.emit(value, true); } if (!first) { this.timePickerVisible = visible; } }, handleTimePickClose: function handleTimePickClose() { this.timePickerVisible = false; }, handleMonthPick: function handleMonthPick(month) { if (this.selectionMode === 'month') { this.date = modifyDate(this.date, this.year, month, 1); this.emit(this.date); } else { this.date = changeYearMonthAndClampDate(this.date, this.year, month); // TODO: should emit intermediate value ?? // this.emit(this.date); this.currentView = 'date'; } }, handleDatePick: function handleDatePick(value) { if (this.selectionMode === 'day') { var newDate = this.value ? modifyDate(this.value, value.getFullYear(), value.getMonth(), value.getDate()) : modifyWithTimeString(value, this.defaultTime); // change default time while out of selectableRange if (!this.checkDateWithinRange(newDate)) { newDate = modifyDate(this.selectableRange[0][0], value.getFullYear(), value.getMonth(), value.getDate()); } this.date = newDate; this.emit(this.date, this.showTime); } else if (this.selectionMode === 'week') { this.emit(value.date); } else if (this.selectionMode === 'dates') { this.emit(value, true); // set false to keep panel open } }, handleYearPick: function handleYearPick(year) { if (this.selectionMode === 'year') { this.date = modifyDate(this.date, year, 0, 1); this.emit(this.date); } else { this.date = changeYearMonthAndClampDate(this.date, year, this.month); // TODO: should emit intermediate value ?? // this.emit(this.date, true); this.currentView = 'month'; } }, changeToNow: function changeToNow() { // NOTE: not a permanent solution // consider disable "now" button in the future if ((!this.disabledDate || !this.disabledDate(new Date())) && this.checkDateWithinRange(new Date())) { this.date = new Date(); this.emit(this.date); } }, confirm: function confirm() { if (this.selectionMode === 'dates') { this.emit(this.value); } else { // value were emitted in handle{Date,Time}Pick, nothing to update here // deal with the scenario where: user opens the picker, then confirm without doing anything var value = this.value ? this.value : modifyWithTimeString(this.getDefaultValue(), this.defaultTime); this.date = new Date(value); // refresh date this.emit(value); } }, resetView: function resetView() { if (this.selectionMode === 'month') { this.currentView = 'month'; } else if (this.selectionMode === 'year') { this.currentView = 'year'; } else { this.currentView = 'date'; } }, handleEnter: function handleEnter() { document.body.addEventListener('keydown', this.handleKeydown); }, handleLeave: function handleLeave() { this.$emit('dodestroy'); document.body.removeEventListener('keydown', this.handleKeydown); }, handleKeydown: function handleKeydown(event) { var keyCode = event.keyCode; var list = [38, 40, 37, 39]; if (this.visible && !this.timePickerVisible) { if (list.indexOf(keyCode) !== -1) { this.handleKeyControl(keyCode); event.stopPropagation(); event.preventDefault(); } if (keyCode === 13 && this.userInputDate === null && this.userInputTime === null) { // Enter this.emit(this.date, false); } } }, handleKeyControl: function handleKeyControl(keyCode) { var mapping = { 'year': { 38: -4, 40: 4, 37: -1, 39: 1, offset: function offset(date, step) { return date.setFullYear(date.getFullYear() + step); } }, 'month': { 38: -4, 40: 4, 37: -1, 39: 1, offset: function offset(date, step) { return date.setMonth(date.getMonth() + step); } }, 'week': { 38: -1, 40: 1, 37: -1, 39: 1, offset: function offset(date, step) { return date.setDate(date.getDate() + step * 7); } }, 'day': { 38: -7, 40: 7, 37: -1, 39: 1, offset: function offset(date, step) { return date.setDate(date.getDate() + step); } } }; var mode = this.selectionMode; var year = 3.1536e10; var now = this.date.getTime(); var newDate = new Date(this.date.getTime()); while (Math.abs(now - newDate.getTime()) <= year) { var map = mapping[mode]; map.offset(newDate, map[keyCode]); if (typeof this.disabledDate === 'function' && this.disabledDate(newDate)) { continue; } this.date = newDate; this.$emit('pick', newDate, true); break; } }, handleVisibleTimeChange: function handleVisibleTimeChange(value) { var time = util_parseDate(value, this.timeFormat); if (time && this.checkDateWithinRange(time)) { this.date = modifyDate(time, this.year, this.month, this.monthDate); this.userInputTime = null; this.$refs.timepicker.value = this.date; this.timePickerVisible = false; this.emit(this.date, true); } }, handleVisibleDateChange: function handleVisibleDateChange(value) { var date = util_parseDate(value, this.dateFormat); if (date) { if (typeof this.disabledDate === 'function' && this.disabledDate(date)) { return; } this.date = modifyTime(date, this.date.getHours(), this.date.getMinutes(), this.date.getSeconds()); this.userInputDate = null; this.resetView(); this.emit(this.date, true); } }, isValidValue: function isValidValue(value) { return value && !isNaN(value) && (typeof this.disabledDate === 'function' ? !this.disabledDate(value) : true) && this.checkDateWithinRange(value); }, getDefaultValue: function getDefaultValue() { // if default-value is set, return it // otherwise, return now (the moment this method gets called) return this.defaultValue ? new Date(this.defaultValue) : new Date(); }, checkDateWithinRange: function checkDateWithinRange(date) { return this.selectableRange.length > 0 ? timeWithinRange(date, this.selectableRange, this.format || 'HH:mm:ss') : true; } }, components: { TimePicker: panel_time, YearTable: year_table, MonthTable: month_table, DateTable: date_table, ElInput: input_default.a, ElButton: button_default.a }, data: function data() { return { popperClass: '', date: new Date(), value: '', defaultValue: null, // use getDefaultValue() for time computation defaultTime: null, showTime: false, selectionMode: 'day', shortcuts: '', visible: false, currentView: 'date', disabledDate: '', selectableRange: [], firstDayOfWeek: 7, showWeekNumber: false, timePickerVisible: false, format: '', arrowControl: false, userInputDate: null, userInputTime: null }; }, computed: { year: function year() { return this.date.getFullYear(); }, month: function month() { return this.date.getMonth(); }, week: function week() { return getWeekNumber(this.date); }, monthDate: function monthDate() { return this.date.getDate(); }, footerVisible: function footerVisible() { return this.showTime || this.selectionMode === 'dates'; }, visibleTime: function visibleTime() { if (this.userInputTime !== null) { return this.userInputTime; } else { return util_formatDate(this.value || this.defaultValue, this.timeFormat); } }, visibleDate: function visibleDate() { if (this.userInputDate !== null) { return this.userInputDate; } else { return util_formatDate(this.value || this.defaultValue, this.dateFormat); } }, yearLabel: function yearLabel() { var yearTranslation = this.t('el.datepicker.year'); if (this.currentView === 'year') { var startYear = Math.floor(this.year / 10) * 10; if (yearTranslation) { return startYear + ' ' + yearTranslation + ' - ' + (startYear + 9) + ' ' + yearTranslation; } return startYear + ' - ' + (startYear + 9); } return this.year + ' ' + yearTranslation; }, timeFormat: function timeFormat() { if (this.format) { return extractTimeFormat(this.format); } else { return 'HH:mm:ss'; } }, dateFormat: function dateFormat() { if (this.format) { return extractDateFormat(this.format); } else { return 'yyyy-MM-dd'; } } } }); // CONCATENATED MODULE: ./packages/date-picker/src/panel/date.vue?vue&type=script&lang=js& /* harmony default export */ var panel_datevue_type_script_lang_js_ = (datevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/date-picker/src/panel/date.vue /* normalize component */ var date_component = normalizeComponent( panel_datevue_type_script_lang_js_, datevue_type_template_id_2440d4ea_render, datevue_type_template_id_2440d4ea_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var date_api; } date_component.options.__file = "packages/date-picker/src/panel/date.vue" /* harmony default export */ var panel_date = (date_component.exports); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/date-range.vue?vue&type=template&id=2652849a& var date_rangevue_type_template_id_2652849a_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "el-zoom-in-top" }, on: { "after-leave": function($event) { _vm.$emit("dodestroy") } } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-picker-panel el-date-range-picker el-popper", class: [ { "has-sidebar": _vm.$slots.sidebar || _vm.shortcuts, "has-time": _vm.showTime }, _vm.popperClass ] }, [ _c( "div", { staticClass: "el-picker-panel__body-wrapper" }, [ _vm._t("sidebar"), _vm.shortcuts ? _c( "div", { staticClass: "el-picker-panel__sidebar" }, _vm._l(_vm.shortcuts, function(shortcut, key) { return _c( "button", { key: key, staticClass: "el-picker-panel__shortcut", attrs: { type: "button" }, on: { click: function($event) { _vm.handleShortcutClick(shortcut) } } }, [_vm._v(_vm._s(shortcut.text))] ) }), 0 ) : _vm._e(), _c("div", { staticClass: "el-picker-panel__body" }, [ _vm.showTime ? _c( "div", { staticClass: "el-date-range-picker__time-header" }, [ _c( "span", { staticClass: "el-date-range-picker__editors-wrap" }, [ _c( "span", { staticClass: "el-date-range-picker__time-picker-wrap" }, [ _c("el-input", { ref: "minInput", staticClass: "el-date-range-picker__editor", attrs: { size: "small", disabled: _vm.rangeState.selecting, placeholder: _vm.t( "el.datepicker.startDate" ), value: _vm.minVisibleDate }, on: { input: function(val) { return _vm.handleDateInput(val, "min") }, change: function(val) { return _vm.handleDateChange(val, "min") } } }) ], 1 ), _c( "span", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.handleMinTimeClose, expression: "handleMinTimeClose" } ], staticClass: "el-date-range-picker__time-picker-wrap" }, [ _c("el-input", { staticClass: "el-date-range-picker__editor", attrs: { size: "small", disabled: _vm.rangeState.selecting, placeholder: _vm.t( "el.datepicker.startTime" ), value: _vm.minVisibleTime }, on: { focus: function($event) { _vm.minTimePickerVisible = true }, input: function(val) { return _vm.handleTimeInput(val, "min") }, change: function(val) { return _vm.handleTimeChange(val, "min") } } }), _c("time-picker", { ref: "minTimePicker", attrs: { "time-arrow-control": _vm.arrowControl, visible: _vm.minTimePickerVisible }, on: { pick: _vm.handleMinTimePick, mounted: function($event) { _vm.$refs.minTimePicker.format = _vm.timeFormat } } }) ], 1 ) ] ), _c("span", { staticClass: "el-icon-arrow-right" }), _c( "span", { staticClass: "el-date-range-picker__editors-wrap is-right" }, [ _c( "span", { staticClass: "el-date-range-picker__time-picker-wrap" }, [ _c("el-input", { staticClass: "el-date-range-picker__editor", attrs: { size: "small", disabled: _vm.rangeState.selecting, placeholder: _vm.t("el.datepicker.endDate"), value: _vm.maxVisibleDate, readonly: !_vm.minDate }, on: { input: function(val) { return _vm.handleDateInput(val, "max") }, change: function(val) { return _vm.handleDateChange(val, "max") } } }) ], 1 ), _c( "span", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.handleMaxTimeClose, expression: "handleMaxTimeClose" } ], staticClass: "el-date-range-picker__time-picker-wrap" }, [ _c("el-input", { staticClass: "el-date-range-picker__editor", attrs: { size: "small", disabled: _vm.rangeState.selecting, placeholder: _vm.t("el.datepicker.endTime"), value: _vm.maxVisibleTime, readonly: !_vm.minDate }, on: { focus: function($event) { _vm.minDate && (_vm.maxTimePickerVisible = true) }, input: function(val) { return _vm.handleTimeInput(val, "max") }, change: function(val) { return _vm.handleTimeChange(val, "max") } } }), _c("time-picker", { ref: "maxTimePicker", attrs: { "time-arrow-control": _vm.arrowControl, visible: _vm.maxTimePickerVisible }, on: { pick: _vm.handleMaxTimePick, mounted: function($event) { _vm.$refs.maxTimePicker.format = _vm.timeFormat } } }) ], 1 ) ] ) ] ) : _vm._e(), _c( "div", { staticClass: "el-picker-panel__content el-date-range-picker__content is-left" }, [ _c("div", { staticClass: "el-date-range-picker__header" }, [ _c("button", { staticClass: "el-picker-panel__icon-btn el-icon-d-arrow-left", attrs: { type: "button" }, on: { click: _vm.leftPrevYear } }), _c("button", { staticClass: "el-picker-panel__icon-btn el-icon-arrow-left", attrs: { type: "button" }, on: { click: _vm.leftPrevMonth } }), _vm.unlinkPanels ? _c("button", { staticClass: "el-picker-panel__icon-btn el-icon-d-arrow-right", class: { "is-disabled": !_vm.enableYearArrow }, attrs: { type: "button", disabled: !_vm.enableYearArrow }, on: { click: _vm.leftNextYear } }) : _vm._e(), _vm.unlinkPanels ? _c("button", { staticClass: "el-picker-panel__icon-btn el-icon-arrow-right", class: { "is-disabled": !_vm.enableMonthArrow }, attrs: { type: "button", disabled: !_vm.enableMonthArrow }, on: { click: _vm.leftNextMonth } }) : _vm._e(), _c("div", [_vm._v(_vm._s(_vm.leftLabel))]) ]), _c("date-table", { attrs: { "selection-mode": "range", date: _vm.leftDate, "default-value": _vm.defaultValue, "min-date": _vm.minDate, "max-date": _vm.maxDate, "range-state": _vm.rangeState, "disabled-date": _vm.disabledDate, "first-day-of-week": _vm.firstDayOfWeek }, on: { changerange: _vm.handleChangeRange, pick: _vm.handleRangePick } }) ], 1 ), _c( "div", { staticClass: "el-picker-panel__content el-date-range-picker__content is-right" }, [ _c("div", { staticClass: "el-date-range-picker__header" }, [ _vm.unlinkPanels ? _c("button", { staticClass: "el-picker-panel__icon-btn el-icon-d-arrow-left", class: { "is-disabled": !_vm.enableYearArrow }, attrs: { type: "button", disabled: !_vm.enableYearArrow }, on: { click: _vm.rightPrevYear } }) : _vm._e(), _vm.unlinkPanels ? _c("button", { staticClass: "el-picker-panel__icon-btn el-icon-arrow-left", class: { "is-disabled": !_vm.enableMonthArrow }, attrs: { type: "button", disabled: !_vm.enableMonthArrow }, on: { click: _vm.rightPrevMonth } }) : _vm._e(), _c("button", { staticClass: "el-picker-panel__icon-btn el-icon-d-arrow-right", attrs: { type: "button" }, on: { click: _vm.rightNextYear } }), _c("button", { staticClass: "el-picker-panel__icon-btn el-icon-arrow-right", attrs: { type: "button" }, on: { click: _vm.rightNextMonth } }), _c("div", [_vm._v(_vm._s(_vm.rightLabel))]) ]), _c("date-table", { attrs: { "selection-mode": "range", date: _vm.rightDate, "default-value": _vm.defaultValue, "min-date": _vm.minDate, "max-date": _vm.maxDate, "range-state": _vm.rangeState, "disabled-date": _vm.disabledDate, "first-day-of-week": _vm.firstDayOfWeek }, on: { changerange: _vm.handleChangeRange, pick: _vm.handleRangePick } }) ], 1 ) ]) ], 2 ), _vm.showTime ? _c( "div", { staticClass: "el-picker-panel__footer" }, [ _c( "el-button", { staticClass: "el-picker-panel__link-btn", attrs: { size: "mini", type: "text" }, on: { click: _vm.handleClear } }, [ _vm._v( "\n " + _vm._s(_vm.t("el.datepicker.clear")) + "\n " ) ] ), _c( "el-button", { staticClass: "el-picker-panel__link-btn", attrs: { plain: "", size: "mini", disabled: _vm.btnDisabled }, on: { click: function($event) { _vm.handleConfirm(false) } } }, [ _vm._v( "\n " + _vm._s(_vm.t("el.datepicker.confirm")) + "\n " ) ] ) ], 1 ) : _vm._e() ] ) ] ) } var date_rangevue_type_template_id_2652849a_staticRenderFns = [] date_rangevue_type_template_id_2652849a_render._withStripped = true // CONCATENATED MODULE: ./packages/date-picker/src/panel/date-range.vue?vue&type=template&id=2652849a& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/date-range.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var advanceDate = function advanceDate(date, amount) { return new Date(new Date(date).getTime() + amount); }; var calcDefaultValue = function calcDefaultValue(defaultValue) { if (Array.isArray(defaultValue)) { return [new Date(defaultValue[0]), new Date(defaultValue[1])]; } else if (defaultValue) { return [new Date(defaultValue), advanceDate(defaultValue, 24 * 60 * 60 * 1000)]; } else { return [new Date(), advanceDate(Date.now(), 24 * 60 * 60 * 1000)]; } }; /* harmony default export */ var date_rangevue_type_script_lang_js_ = ({ mixins: [locale_default.a], directives: { Clickoutside: clickoutside_default.a }, computed: { btnDisabled: function btnDisabled() { return !(this.minDate && this.maxDate && !this.selecting && this.isValidValue([this.minDate, this.maxDate])); }, leftLabel: function leftLabel() { return this.leftDate.getFullYear() + ' ' + this.t('el.datepicker.year') + ' ' + this.t('el.datepicker.month' + (this.leftDate.getMonth() + 1)); }, rightLabel: function rightLabel() { return this.rightDate.getFullYear() + ' ' + this.t('el.datepicker.year') + ' ' + this.t('el.datepicker.month' + (this.rightDate.getMonth() + 1)); }, leftYear: function leftYear() { return this.leftDate.getFullYear(); }, leftMonth: function leftMonth() { return this.leftDate.getMonth(); }, leftMonthDate: function leftMonthDate() { return this.leftDate.getDate(); }, rightYear: function rightYear() { return this.rightDate.getFullYear(); }, rightMonth: function rightMonth() { return this.rightDate.getMonth(); }, rightMonthDate: function rightMonthDate() { return this.rightDate.getDate(); }, minVisibleDate: function minVisibleDate() { if (this.dateUserInput.min !== null) return this.dateUserInput.min; if (this.minDate) return util_formatDate(this.minDate, this.dateFormat); return ''; }, maxVisibleDate: function maxVisibleDate() { if (this.dateUserInput.max !== null) return this.dateUserInput.max; if (this.maxDate || this.minDate) return util_formatDate(this.maxDate || this.minDate, this.dateFormat); return ''; }, minVisibleTime: function minVisibleTime() { if (this.timeUserInput.min !== null) return this.timeUserInput.min; if (this.minDate) return util_formatDate(this.minDate, this.timeFormat); return ''; }, maxVisibleTime: function maxVisibleTime() { if (this.timeUserInput.max !== null) return this.timeUserInput.max; if (this.maxDate || this.minDate) return util_formatDate(this.maxDate || this.minDate, this.timeFormat); return ''; }, timeFormat: function timeFormat() { if (this.format) { return extractTimeFormat(this.format); } else { return 'HH:mm:ss'; } }, dateFormat: function dateFormat() { if (this.format) { return extractDateFormat(this.format); } else { return 'yyyy-MM-dd'; } }, enableMonthArrow: function enableMonthArrow() { var nextMonth = (this.leftMonth + 1) % 12; var yearOffset = this.leftMonth + 1 >= 12 ? 1 : 0; return this.unlinkPanels && new Date(this.leftYear + yearOffset, nextMonth) < new Date(this.rightYear, this.rightMonth); }, enableYearArrow: function enableYearArrow() { return this.unlinkPanels && this.rightYear * 12 + this.rightMonth - (this.leftYear * 12 + this.leftMonth + 1) >= 12; } }, data: function data() { return { popperClass: '', value: [], defaultValue: null, defaultTime: null, minDate: '', maxDate: '', leftDate: new Date(), rightDate: util_nextMonth(new Date()), rangeState: { endDate: null, selecting: false, row: null, column: null }, showTime: false, shortcuts: '', visible: '', disabledDate: '', firstDayOfWeek: 7, minTimePickerVisible: false, maxTimePickerVisible: false, format: '', arrowControl: false, unlinkPanels: false, dateUserInput: { min: null, max: null }, timeUserInput: { min: null, max: null } }; }, watch: { minDate: function minDate(val) { var _this = this; this.dateUserInput.min = null; this.timeUserInput.min = null; this.$nextTick(function () { if (_this.$refs.maxTimePicker && _this.maxDate && _this.maxDate < _this.minDate) { var format = 'HH:mm:ss'; _this.$refs.maxTimePicker.selectableRange = [[util_parseDate(util_formatDate(_this.minDate, format), format), util_parseDate('23:59:59', format)]]; } }); if (val && this.$refs.minTimePicker) { this.$refs.minTimePicker.date = val; this.$refs.minTimePicker.value = val; } }, maxDate: function maxDate(val) { this.dateUserInput.max = null; this.timeUserInput.max = null; if (val && this.$refs.maxTimePicker) { this.$refs.maxTimePicker.date = val; this.$refs.maxTimePicker.value = val; } }, minTimePickerVisible: function minTimePickerVisible(val) { var _this2 = this; if (val) { this.$nextTick(function () { _this2.$refs.minTimePicker.date = _this2.minDate; _this2.$refs.minTimePicker.value = _this2.minDate; _this2.$refs.minTimePicker.adjustSpinners(); }); } }, maxTimePickerVisible: function maxTimePickerVisible(val) { var _this3 = this; if (val) { this.$nextTick(function () { _this3.$refs.maxTimePicker.date = _this3.maxDate; _this3.$refs.maxTimePicker.value = _this3.maxDate; _this3.$refs.maxTimePicker.adjustSpinners(); }); } }, value: function value(newVal) { if (!newVal) { this.minDate = null; this.maxDate = null; } else if (Array.isArray(newVal)) { this.minDate = isDate(newVal[0]) ? new Date(newVal[0]) : null; this.maxDate = isDate(newVal[1]) ? new Date(newVal[1]) : null; if (this.minDate) { this.leftDate = this.minDate; if (this.unlinkPanels && this.maxDate) { var minDateYear = this.minDate.getFullYear(); var minDateMonth = this.minDate.getMonth(); var maxDateYear = this.maxDate.getFullYear(); var maxDateMonth = this.maxDate.getMonth(); this.rightDate = minDateYear === maxDateYear && minDateMonth === maxDateMonth ? util_nextMonth(this.maxDate) : this.maxDate; } else { this.rightDate = util_nextMonth(this.leftDate); } } else { this.leftDate = calcDefaultValue(this.defaultValue)[0]; this.rightDate = util_nextMonth(this.leftDate); } } }, defaultValue: function defaultValue(val) { if (!Array.isArray(this.value)) { var _calcDefaultValue = calcDefaultValue(val), left = _calcDefaultValue[0], right = _calcDefaultValue[1]; this.leftDate = left; this.rightDate = val && val[1] && this.unlinkPanels ? right : util_nextMonth(this.leftDate); } } }, methods: { handleClear: function handleClear() { this.minDate = null; this.maxDate = null; this.leftDate = calcDefaultValue(this.defaultValue)[0]; this.rightDate = util_nextMonth(this.leftDate); this.$emit('pick', null); }, handleChangeRange: function handleChangeRange(val) { this.minDate = val.minDate; this.maxDate = val.maxDate; this.rangeState = val.rangeState; }, handleDateInput: function handleDateInput(value, type) { this.dateUserInput[type] = value; if (value.length !== this.dateFormat.length) return; var parsedValue = util_parseDate(value, this.dateFormat); if (parsedValue) { if (typeof this.disabledDate === 'function' && this.disabledDate(new Date(parsedValue))) { return; } if (type === 'min') { this.minDate = modifyDate(this.minDate || new Date(), parsedValue.getFullYear(), parsedValue.getMonth(), parsedValue.getDate()); this.leftDate = new Date(parsedValue); if (!this.unlinkPanels) { this.rightDate = util_nextMonth(this.leftDate); } } else { this.maxDate = modifyDate(this.maxDate || new Date(), parsedValue.getFullYear(), parsedValue.getMonth(), parsedValue.getDate()); this.rightDate = new Date(parsedValue); if (!this.unlinkPanels) { this.leftDate = util_prevMonth(parsedValue); } } } }, handleDateChange: function handleDateChange(value, type) { var parsedValue = util_parseDate(value, this.dateFormat); if (parsedValue) { if (type === 'min') { this.minDate = modifyDate(this.minDate, parsedValue.getFullYear(), parsedValue.getMonth(), parsedValue.getDate()); if (this.minDate > this.maxDate) { this.maxDate = this.minDate; } } else { this.maxDate = modifyDate(this.maxDate, parsedValue.getFullYear(), parsedValue.getMonth(), parsedValue.getDate()); if (this.maxDate < this.minDate) { this.minDate = this.maxDate; } } } }, handleTimeInput: function handleTimeInput(value, type) { var _this4 = this; this.timeUserInput[type] = value; if (value.length !== this.timeFormat.length) return; var parsedValue = util_parseDate(value, this.timeFormat); if (parsedValue) { if (type === 'min') { this.minDate = modifyTime(this.minDate, parsedValue.getHours(), parsedValue.getMinutes(), parsedValue.getSeconds()); this.$nextTick(function (_) { return _this4.$refs.minTimePicker.adjustSpinners(); }); } else { this.maxDate = modifyTime(this.maxDate, parsedValue.getHours(), parsedValue.getMinutes(), parsedValue.getSeconds()); this.$nextTick(function (_) { return _this4.$refs.maxTimePicker.adjustSpinners(); }); } } }, handleTimeChange: function handleTimeChange(value, type) { var parsedValue = util_parseDate(value, this.timeFormat); if (parsedValue) { if (type === 'min') { this.minDate = modifyTime(this.minDate, parsedValue.getHours(), parsedValue.getMinutes(), parsedValue.getSeconds()); if (this.minDate > this.maxDate) { this.maxDate = this.minDate; } this.$refs.minTimePicker.value = this.minDate; this.minTimePickerVisible = false; } else { this.maxDate = modifyTime(this.maxDate, parsedValue.getHours(), parsedValue.getMinutes(), parsedValue.getSeconds()); if (this.maxDate < this.minDate) { this.minDate = this.maxDate; } this.$refs.maxTimePicker.value = this.minDate; this.maxTimePickerVisible = false; } } }, handleRangePick: function handleRangePick(val) { var _this5 = this; var close = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; var defaultTime = this.defaultTime || []; var minDate = modifyWithTimeString(val.minDate, defaultTime[0]); var maxDate = modifyWithTimeString(val.maxDate, defaultTime[1]); if (this.maxDate === maxDate && this.minDate === minDate) { return; } this.onPick && this.onPick(val); this.maxDate = maxDate; this.minDate = minDate; // workaround for https://github.com/ElemeFE/element/issues/7539, should remove this block when we don't have to care about Chromium 55 - 57 setTimeout(function () { _this5.maxDate = maxDate; _this5.minDate = minDate; }, 10); if (!close || this.showTime) return; this.handleConfirm(); }, handleShortcutClick: function handleShortcutClick(shortcut) { if (shortcut.onClick) { shortcut.onClick(this); } }, handleMinTimePick: function handleMinTimePick(value, visible, first) { this.minDate = this.minDate || new Date(); if (value) { this.minDate = modifyTime(this.minDate, value.getHours(), value.getMinutes(), value.getSeconds()); } if (!first) { this.minTimePickerVisible = visible; } if (!this.maxDate || this.maxDate && this.maxDate.getTime() < this.minDate.getTime()) { this.maxDate = new Date(this.minDate); } }, handleMinTimeClose: function handleMinTimeClose() { this.minTimePickerVisible = false; }, handleMaxTimePick: function handleMaxTimePick(value, visible, first) { if (this.maxDate && value) { this.maxDate = modifyTime(this.maxDate, value.getHours(), value.getMinutes(), value.getSeconds()); } if (!first) { this.maxTimePickerVisible = visible; } if (this.maxDate && this.minDate && this.minDate.getTime() > this.maxDate.getTime()) { this.minDate = new Date(this.maxDate); } }, handleMaxTimeClose: function handleMaxTimeClose() { this.maxTimePickerVisible = false; }, // leftPrev*, rightNext* need to take care of `unlinkPanels` leftPrevYear: function leftPrevYear() { this.leftDate = util_prevYear(this.leftDate); if (!this.unlinkPanels) { this.rightDate = util_nextMonth(this.leftDate); } }, leftPrevMonth: function leftPrevMonth() { this.leftDate = util_prevMonth(this.leftDate); if (!this.unlinkPanels) { this.rightDate = util_nextMonth(this.leftDate); } }, rightNextYear: function rightNextYear() { if (!this.unlinkPanels) { this.leftDate = util_nextYear(this.leftDate); this.rightDate = util_nextMonth(this.leftDate); } else { this.rightDate = util_nextYear(this.rightDate); } }, rightNextMonth: function rightNextMonth() { if (!this.unlinkPanels) { this.leftDate = util_nextMonth(this.leftDate); this.rightDate = util_nextMonth(this.leftDate); } else { this.rightDate = util_nextMonth(this.rightDate); } }, // leftNext*, rightPrev* are called when `unlinkPanels` is true leftNextYear: function leftNextYear() { this.leftDate = util_nextYear(this.leftDate); }, leftNextMonth: function leftNextMonth() { this.leftDate = util_nextMonth(this.leftDate); }, rightPrevYear: function rightPrevYear() { this.rightDate = util_prevYear(this.rightDate); }, rightPrevMonth: function rightPrevMonth() { this.rightDate = util_prevMonth(this.rightDate); }, handleConfirm: function handleConfirm() { var visible = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; if (this.isValidValue([this.minDate, this.maxDate])) { this.$emit('pick', [this.minDate, this.maxDate], visible); } }, isValidValue: function isValidValue(value) { return Array.isArray(value) && value && value[0] && value[1] && isDate(value[0]) && isDate(value[1]) && value[0].getTime() <= value[1].getTime() && (typeof this.disabledDate === 'function' ? !this.disabledDate(value[0]) && !this.disabledDate(value[1]) : true); }, resetView: function resetView() { // NOTE: this is a hack to reset {min, max}Date on picker open. // TODO: correct way of doing so is to refactor {min, max}Date to be dependent on value and internal selection state // an alternative would be resetView whenever picker becomes visible, should also investigate date-panel's resetView this.minDate = this.value && isDate(this.value[0]) ? new Date(this.value[0]) : null; this.maxDate = this.value && isDate(this.value[0]) ? new Date(this.value[1]) : null; } }, components: { TimePicker: panel_time, DateTable: date_table, ElInput: input_default.a, ElButton: button_default.a } }); // CONCATENATED MODULE: ./packages/date-picker/src/panel/date-range.vue?vue&type=script&lang=js& /* harmony default export */ var panel_date_rangevue_type_script_lang_js_ = (date_rangevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/date-picker/src/panel/date-range.vue /* normalize component */ var date_range_component = normalizeComponent( panel_date_rangevue_type_script_lang_js_, date_rangevue_type_template_id_2652849a_render, date_rangevue_type_template_id_2652849a_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var date_range_api; } date_range_component.options.__file = "packages/date-picker/src/panel/date-range.vue" /* harmony default export */ var date_range = (date_range_component.exports); // CONCATENATED MODULE: ./packages/date-picker/src/picker/date-picker.js var date_picker_getPanel = function getPanel(type) { if (type === 'daterange' || type === 'datetimerange') { return date_range; } return panel_date; }; /* harmony default export */ var date_picker = ({ mixins: [picker], name: 'ElDatePicker', props: { type: { type: String, default: 'date' }, timeArrowControl: Boolean }, watch: { type: function type(_type) { if (this.picker) { this.unmountPicker(); this.panel = date_picker_getPanel(_type); this.mountPicker(); } else { this.panel = date_picker_getPanel(_type); } } }, created: function created() { this.panel = date_picker_getPanel(this.type); } }); // CONCATENATED MODULE: ./packages/date-picker/index.js /* istanbul ignore next */ date_picker.install = function install(Vue) { Vue.component(date_picker.name, date_picker); }; /* harmony default export */ var packages_date_picker = (date_picker); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-select.vue?vue&type=template&id=51ab9320& var time_selectvue_type_template_id_51ab9320_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "el-zoom-in-top" }, on: { "before-enter": _vm.handleMenuEnter, "after-leave": function($event) { _vm.$emit("dodestroy") } } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], ref: "popper", staticClass: "el-picker-panel time-select el-popper", class: _vm.popperClass, style: { width: _vm.width + "px" } }, [ _c( "el-scrollbar", { attrs: { noresize: "", "wrap-class": "el-picker-panel__content" } }, _vm._l(_vm.items, function(item) { return _c( "div", { key: item.value, staticClass: "time-select-item", class: { selected: _vm.value === item.value, disabled: item.disabled, default: item.value === _vm.defaultValue }, attrs: { disabled: item.disabled }, on: { click: function($event) { _vm.handleClick(item) } } }, [_vm._v(_vm._s(item.value))] ) }), 0 ) ], 1 ) ] ) } var time_selectvue_type_template_id_51ab9320_staticRenderFns = [] time_selectvue_type_template_id_51ab9320_render._withStripped = true // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-select.vue?vue&type=template&id=51ab9320& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-select.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // var parseTime = function parseTime(time) { var values = (time || '').split(':'); if (values.length >= 2) { var hours = parseInt(values[0], 10); var minutes = parseInt(values[1], 10); return { hours: hours, minutes: minutes }; } /* istanbul ignore next */ return null; }; var compareTime = function compareTime(time1, time2) { var value1 = parseTime(time1); var value2 = parseTime(time2); var minutes1 = value1.minutes + value1.hours * 60; var minutes2 = value2.minutes + value2.hours * 60; if (minutes1 === minutes2) { return 0; } return minutes1 > minutes2 ? 1 : -1; }; var formatTime = function formatTime(time) { return (time.hours < 10 ? '0' + time.hours : time.hours) + ':' + (time.minutes < 10 ? '0' + time.minutes : time.minutes); }; var nextTime = function nextTime(time, step) { var timeValue = parseTime(time); var stepValue = parseTime(step); var next = { hours: timeValue.hours, minutes: timeValue.minutes }; next.minutes += stepValue.minutes; next.hours += stepValue.hours; next.hours += Math.floor(next.minutes / 60); next.minutes = next.minutes % 60; return formatTime(next); }; /* harmony default export */ var time_selectvue_type_script_lang_js_ = ({ components: { ElScrollbar: scrollbar_default.a }, watch: { value: function value(val) { var _this = this; if (!val) return; this.$nextTick(function () { return _this.scrollToOption(); }); } }, methods: { handleClick: function handleClick(item) { if (!item.disabled) { this.$emit('pick', item.value); } }, handleClear: function handleClear() { this.$emit('pick', null); }, scrollToOption: function scrollToOption() { var selector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '.selected'; var menu = this.$refs.popper.querySelector('.el-picker-panel__content'); scroll_into_view_default()(menu, menu.querySelector(selector)); }, handleMenuEnter: function handleMenuEnter() { var _this2 = this; var selected = this.items.map(function (item) { return item.value; }).indexOf(this.value) !== -1; var hasDefault = this.items.map(function (item) { return item.value; }).indexOf(this.defaultValue) !== -1; var option = selected && '.selected' || hasDefault && '.default' || '.time-select-item:not(.disabled)'; this.$nextTick(function () { return _this2.scrollToOption(option); }); }, scrollDown: function scrollDown(step) { var items = this.items; var length = items.length; var total = items.length; var index = items.map(function (item) { return item.value; }).indexOf(this.value); while (total--) { index = (index + step + length) % length; if (!items[index].disabled) { this.$emit('pick', items[index].value, true); return; } } }, isValidValue: function isValidValue(date) { return this.items.filter(function (item) { return !item.disabled; }).map(function (item) { return item.value; }).indexOf(date) !== -1; }, handleKeydown: function handleKeydown(event) { var keyCode = event.keyCode; if (keyCode === 38 || keyCode === 40) { var mapping = { 40: 1, 38: -1 }; var offset = mapping[keyCode.toString()]; this.scrollDown(offset); event.stopPropagation(); return; } } }, data: function data() { return { popperClass: '', start: '09:00', end: '18:00', step: '00:30', value: '', defaultValue: '', visible: false, minTime: '', maxTime: '', width: 0 }; }, computed: { items: function items() { var start = this.start; var end = this.end; var step = this.step; var result = []; if (start && end && step) { var current = start; while (compareTime(current, end) <= 0) { result.push({ value: current, disabled: compareTime(current, this.minTime || '-1:-1') <= 0 || compareTime(current, this.maxTime || '100:100') >= 0 }); current = nextTime(current, step); } } return result; } } }); // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-select.vue?vue&type=script&lang=js& /* harmony default export */ var panel_time_selectvue_type_script_lang_js_ = (time_selectvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-select.vue /* normalize component */ var time_select_component = normalizeComponent( panel_time_selectvue_type_script_lang_js_, time_selectvue_type_template_id_51ab9320_render, time_selectvue_type_template_id_51ab9320_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var time_select_api; } time_select_component.options.__file = "packages/date-picker/src/panel/time-select.vue" /* harmony default export */ var time_select = (time_select_component.exports); // CONCATENATED MODULE: ./packages/date-picker/src/picker/time-select.js /* harmony default export */ var picker_time_select = ({ mixins: [picker], name: 'ElTimeSelect', componentName: 'ElTimeSelect', props: { type: { type: String, default: 'time-select' } }, beforeCreate: function beforeCreate() { this.panel = time_select; } }); // CONCATENATED MODULE: ./packages/time-select/index.js /* istanbul ignore next */ picker_time_select.install = function (Vue) { Vue.component(picker_time_select.name, picker_time_select); }; /* harmony default export */ var packages_time_select = (picker_time_select); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-range.vue?vue&type=template&id=fb28660e& var time_rangevue_type_template_id_fb28660e_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "el-zoom-in-top" }, on: { "after-leave": function($event) { _vm.$emit("dodestroy") } } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-time-range-picker el-picker-panel el-popper", class: _vm.popperClass }, [ _c("div", { staticClass: "el-time-range-picker__content" }, [ _c("div", { staticClass: "el-time-range-picker__cell" }, [ _c("div", { staticClass: "el-time-range-picker__header" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.startTime"))) ]), _c( "div", { staticClass: "el-time-range-picker__body el-time-panel__content", class: { "has-seconds": _vm.showSeconds, "is-arrow": _vm.arrowControl } }, [ _c("time-spinner", { ref: "minSpinner", attrs: { "show-seconds": _vm.showSeconds, "am-pm-mode": _vm.amPmMode, "arrow-control": _vm.arrowControl, date: _vm.minDate }, on: { change: _vm.handleMinChange, "select-range": _vm.setMinSelectionRange } }) ], 1 ) ]), _c("div", { staticClass: "el-time-range-picker__cell" }, [ _c("div", { staticClass: "el-time-range-picker__header" }, [ _vm._v(_vm._s(_vm.t("el.datepicker.endTime"))) ]), _c( "div", { staticClass: "el-time-range-picker__body el-time-panel__content", class: { "has-seconds": _vm.showSeconds, "is-arrow": _vm.arrowControl } }, [ _c("time-spinner", { ref: "maxSpinner", attrs: { "show-seconds": _vm.showSeconds, "am-pm-mode": _vm.amPmMode, "arrow-control": _vm.arrowControl, date: _vm.maxDate }, on: { change: _vm.handleMaxChange, "select-range": _vm.setMaxSelectionRange } }) ], 1 ) ]) ]), _c("div", { staticClass: "el-time-panel__footer" }, [ _c( "button", { staticClass: "el-time-panel__btn cancel", attrs: { type: "button" }, on: { click: function($event) { _vm.handleCancel() } } }, [_vm._v(_vm._s(_vm.t("el.datepicker.cancel")))] ), _c( "button", { staticClass: "el-time-panel__btn confirm", attrs: { type: "button", disabled: _vm.btnDisabled }, on: { click: function($event) { _vm.handleConfirm() } } }, [_vm._v(_vm._s(_vm.t("el.datepicker.confirm")))] ) ]) ] ) ] ) } var time_rangevue_type_template_id_fb28660e_staticRenderFns = [] time_rangevue_type_template_id_fb28660e_render._withStripped = true // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-range.vue?vue&type=template&id=fb28660e& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-range.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var MIN_TIME = util_parseDate('00:00:00', 'HH:mm:ss'); var MAX_TIME = util_parseDate('23:59:59', 'HH:mm:ss'); var time_rangevue_type_script_lang_js_minTimeOfDay = function minTimeOfDay(date) { return modifyDate(MIN_TIME, date.getFullYear(), date.getMonth(), date.getDate()); }; var time_rangevue_type_script_lang_js_maxTimeOfDay = function maxTimeOfDay(date) { return modifyDate(MAX_TIME, date.getFullYear(), date.getMonth(), date.getDate()); }; // increase time by amount of milliseconds, but within the range of day var advanceTime = function advanceTime(date, amount) { return new Date(Math.min(date.getTime() + amount, time_rangevue_type_script_lang_js_maxTimeOfDay(date).getTime())); }; /* harmony default export */ var time_rangevue_type_script_lang_js_ = ({ mixins: [locale_default.a], components: { TimeSpinner: time_spinner }, computed: { showSeconds: function showSeconds() { return (this.format || '').indexOf('ss') !== -1; }, offset: function offset() { return this.showSeconds ? 11 : 8; }, spinner: function spinner() { return this.selectionRange[0] < this.offset ? this.$refs.minSpinner : this.$refs.maxSpinner; }, btnDisabled: function btnDisabled() { return this.minDate.getTime() > this.maxDate.getTime(); }, amPmMode: function amPmMode() { if ((this.format || '').indexOf('A') !== -1) return 'A'; if ((this.format || '').indexOf('a') !== -1) return 'a'; return ''; } }, data: function data() { return { popperClass: '', minDate: new Date(), maxDate: new Date(), value: [], oldValue: [new Date(), new Date()], defaultValue: null, format: 'HH:mm:ss', visible: false, selectionRange: [0, 2], arrowControl: false }; }, watch: { value: function value(_value) { if (Array.isArray(_value)) { this.minDate = new Date(_value[0]); this.maxDate = new Date(_value[1]); } else { if (Array.isArray(this.defaultValue)) { this.minDate = new Date(this.defaultValue[0]); this.maxDate = new Date(this.defaultValue[1]); } else if (this.defaultValue) { this.minDate = new Date(this.defaultValue); this.maxDate = advanceTime(new Date(this.defaultValue), 60 * 60 * 1000); } else { this.minDate = new Date(); this.maxDate = advanceTime(new Date(), 60 * 60 * 1000); } } }, visible: function visible(val) { var _this = this; if (val) { this.oldValue = this.value; this.$nextTick(function () { return _this.$refs.minSpinner.emitSelectRange('hours'); }); } } }, methods: { handleClear: function handleClear() { this.$emit('pick', null); }, handleCancel: function handleCancel() { this.$emit('pick', this.oldValue); }, handleMinChange: function handleMinChange(date) { this.minDate = clearMilliseconds(date); this.handleChange(); }, handleMaxChange: function handleMaxChange(date) { this.maxDate = clearMilliseconds(date); this.handleChange(); }, handleChange: function handleChange() { if (this.isValidValue([this.minDate, this.maxDate])) { this.$refs.minSpinner.selectableRange = [[time_rangevue_type_script_lang_js_minTimeOfDay(this.minDate), this.maxDate]]; this.$refs.maxSpinner.selectableRange = [[this.minDate, time_rangevue_type_script_lang_js_maxTimeOfDay(this.maxDate)]]; this.$emit('pick', [this.minDate, this.maxDate], true); } }, setMinSelectionRange: function setMinSelectionRange(start, end) { this.$emit('select-range', start, end, 'min'); this.selectionRange = [start, end]; }, setMaxSelectionRange: function setMaxSelectionRange(start, end) { this.$emit('select-range', start, end, 'max'); this.selectionRange = [start + this.offset, end + this.offset]; }, handleConfirm: function handleConfirm() { var visible = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var minSelectableRange = this.$refs.minSpinner.selectableRange; var maxSelectableRange = this.$refs.maxSpinner.selectableRange; this.minDate = util_limitTimeRange(this.minDate, minSelectableRange, this.format); this.maxDate = util_limitTimeRange(this.maxDate, maxSelectableRange, this.format); this.$emit('pick', [this.minDate, this.maxDate], visible); }, adjustSpinners: function adjustSpinners() { this.$refs.minSpinner.adjustSpinners(); this.$refs.maxSpinner.adjustSpinners(); }, changeSelectionRange: function changeSelectionRange(step) { var list = this.showSeconds ? [0, 3, 6, 11, 14, 17] : [0, 3, 8, 11]; var mapping = ['hours', 'minutes'].concat(this.showSeconds ? ['seconds'] : []); var index = list.indexOf(this.selectionRange[0]); var next = (index + step + list.length) % list.length; var half = list.length / 2; if (next < half) { this.$refs.minSpinner.emitSelectRange(mapping[next]); } else { this.$refs.maxSpinner.emitSelectRange(mapping[next - half]); } }, isValidValue: function isValidValue(date) { return Array.isArray(date) && timeWithinRange(this.minDate, this.$refs.minSpinner.selectableRange) && timeWithinRange(this.maxDate, this.$refs.maxSpinner.selectableRange); }, handleKeydown: function handleKeydown(event) { var keyCode = event.keyCode; var mapping = { 38: -1, 40: 1, 37: -1, 39: 1 }; // Left or Right if (keyCode === 37 || keyCode === 39) { var step = mapping[keyCode]; this.changeSelectionRange(step); event.preventDefault(); return; } // Up or Down if (keyCode === 38 || keyCode === 40) { var _step = mapping[keyCode]; this.spinner.scrollDown(_step); event.preventDefault(); return; } } } }); // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-range.vue?vue&type=script&lang=js& /* harmony default export */ var panel_time_rangevue_type_script_lang_js_ = (time_rangevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-range.vue /* normalize component */ var time_range_component = normalizeComponent( panel_time_rangevue_type_script_lang_js_, time_rangevue_type_template_id_fb28660e_render, time_rangevue_type_template_id_fb28660e_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var time_range_api; } time_range_component.options.__file = "packages/date-picker/src/panel/time-range.vue" /* harmony default export */ var time_range = (time_range_component.exports); // CONCATENATED MODULE: ./packages/date-picker/src/picker/time-picker.js /* harmony default export */ var time_picker = ({ mixins: [picker], name: 'ElTimePicker', props: { isRange: Boolean, arrowControl: Boolean }, data: function data() { return { type: '' }; }, watch: { isRange: function isRange(_isRange) { if (this.picker) { this.unmountPicker(); this.type = _isRange ? 'timerange' : 'time'; this.panel = _isRange ? time_range : panel_time; this.mountPicker(); } else { this.type = _isRange ? 'timerange' : 'time'; this.panel = _isRange ? time_range : panel_time; } } }, created: function created() { this.type = this.isRange ? 'timerange' : 'time'; this.panel = this.isRange ? time_range : panel_time; } }); // CONCATENATED MODULE: ./packages/time-picker/index.js /* istanbul ignore next */ time_picker.install = function (Vue) { Vue.component(time_picker.name, time_picker); }; /* harmony default export */ var packages_time_picker = (time_picker); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/popover/src/main.vue?vue&type=template&id=52060272& var mainvue_type_template_id_52060272_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "span", [ _c( "transition", { attrs: { name: _vm.transition }, on: { "after-enter": _vm.handleAfterEnter, "after-leave": _vm.handleAfterLeave } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: !_vm.disabled && _vm.showPopper, expression: "!disabled && showPopper" } ], ref: "popper", staticClass: "el-popover el-popper", class: [_vm.popperClass, _vm.content && "el-popover--plain"], style: { width: _vm.width + "px" }, attrs: { role: "tooltip", id: _vm.tooltipId, "aria-hidden": _vm.disabled || !_vm.showPopper ? "true" : "false" } }, [ _vm.title ? _c("div", { staticClass: "el-popover__title", domProps: { textContent: _vm._s(_vm.title) } }) : _vm._e(), _vm._t("default", [_vm._v(_vm._s(_vm.content))]) ], 2 ) ] ), _vm._t("reference") ], 2 ) } var mainvue_type_template_id_52060272_staticRenderFns = [] mainvue_type_template_id_52060272_render._withStripped = true // CONCATENATED MODULE: ./packages/popover/src/main.vue?vue&type=template&id=52060272& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/popover/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var mainvue_type_script_lang_js_ = ({ name: 'ElPopover', mixins: [vue_popper_default.a], props: { trigger: { type: String, default: 'click', validator: function validator(value) { return ['click', 'focus', 'hover', 'manual'].indexOf(value) > -1; } }, openDelay: { type: Number, default: 0 }, title: String, disabled: Boolean, content: String, reference: {}, popperClass: String, width: {}, visibleArrow: { default: true }, arrowOffset: { type: Number, default: 0 }, transition: { type: String, default: 'fade-in-linear' } }, computed: { tooltipId: function tooltipId() { return 'el-popover-' + Object(util_["generateId"])(); } }, watch: { showPopper: function showPopper(val) { if (this.disabled) { return; } val ? this.$emit('show') : this.$emit('hide'); } }, mounted: function mounted() { var _this = this; var reference = this.referenceElm = this.reference || this.$refs.reference; var popper = this.popper || this.$refs.popper; if (!reference && this.$slots.reference && this.$slots.reference[0]) { reference = this.referenceElm = this.$slots.reference[0].elm; } // 可访问性 if (reference) { Object(dom_["addClass"])(reference, 'el-popover__reference'); reference.setAttribute('aria-describedby', this.tooltipId); reference.setAttribute('tabindex', 0); // tab序列 popper.setAttribute('tabindex', 0); if (this.trigger !== 'click') { Object(dom_["on"])(reference, 'focusin', function () { _this.handleFocus(); var instance = reference.__vue__; if (instance && typeof instance.focus === 'function') { instance.focus(); } }); Object(dom_["on"])(popper, 'focusin', this.handleFocus); Object(dom_["on"])(reference, 'focusout', this.handleBlur); Object(dom_["on"])(popper, 'focusout', this.handleBlur); } Object(dom_["on"])(reference, 'keydown', this.handleKeydown); Object(dom_["on"])(reference, 'click', this.handleClick); } if (this.trigger === 'click') { Object(dom_["on"])(reference, 'click', this.doToggle); Object(dom_["on"])(document, 'click', this.handleDocumentClick); } else if (this.trigger === 'hover') { Object(dom_["on"])(reference, 'mouseenter', this.handleMouseEnter); Object(dom_["on"])(popper, 'mouseenter', this.handleMouseEnter); Object(dom_["on"])(reference, 'mouseleave', this.handleMouseLeave); Object(dom_["on"])(popper, 'mouseleave', this.handleMouseLeave); } else if (this.trigger === 'focus') { if (reference.querySelector('input, textarea')) { Object(dom_["on"])(reference, 'focusin', this.doShow); Object(dom_["on"])(reference, 'focusout', this.doClose); } else { Object(dom_["on"])(reference, 'mousedown', this.doShow); Object(dom_["on"])(reference, 'mouseup', this.doClose); } } }, beforeDestroy: function beforeDestroy() { this.cleanup(); }, deactivated: function deactivated() { this.cleanup(); }, methods: { doToggle: function doToggle() { this.showPopper = !this.showPopper; }, doShow: function doShow() { this.showPopper = true; }, doClose: function doClose() { this.showPopper = false; }, handleFocus: function handleFocus() { Object(dom_["addClass"])(this.referenceElm, 'focusing'); if (this.trigger === 'click' || this.trigger === 'focus') this.showPopper = true; }, handleClick: function handleClick() { Object(dom_["removeClass"])(this.referenceElm, 'focusing'); }, handleBlur: function handleBlur() { Object(dom_["removeClass"])(this.referenceElm, 'focusing'); if (this.trigger === 'click' || this.trigger === 'focus') this.showPopper = false; }, handleMouseEnter: function handleMouseEnter() { var _this2 = this; clearTimeout(this._timer); if (this.openDelay) { this._timer = setTimeout(function () { _this2.showPopper = true; }, this.openDelay); } else { this.showPopper = true; } }, handleKeydown: function handleKeydown(ev) { if (ev.keyCode === 27 && this.trigger !== 'manual') { // esc this.doClose(); } }, handleMouseLeave: function handleMouseLeave() { var _this3 = this; clearTimeout(this._timer); this._timer = setTimeout(function () { _this3.showPopper = false; }, 200); }, handleDocumentClick: function handleDocumentClick(e) { var reference = this.reference || this.$refs.reference; var popper = this.popper || this.$refs.popper; if (!reference && this.$slots.reference && this.$slots.reference[0]) { reference = this.referenceElm = this.$slots.reference[0].elm; } if (!this.$el || !reference || this.$el.contains(e.target) || reference.contains(e.target) || !popper || popper.contains(e.target)) return; this.showPopper = false; }, handleAfterEnter: function handleAfterEnter() { this.$emit('after-enter'); }, handleAfterLeave: function handleAfterLeave() { this.$emit('after-leave'); this.doDestroy(); }, cleanup: function cleanup() { if (this.openDelay) { clearTimeout(this._timer); } } }, destroyed: function destroyed() { var reference = this.reference; Object(dom_["off"])(reference, 'click', this.doToggle); Object(dom_["off"])(reference, 'mouseup', this.doClose); Object(dom_["off"])(reference, 'mousedown', this.doShow); Object(dom_["off"])(reference, 'focusin', this.doShow); Object(dom_["off"])(reference, 'focusout', this.doClose); Object(dom_["off"])(reference, 'mousedown', this.doShow); Object(dom_["off"])(reference, 'mouseup', this.doClose); Object(dom_["off"])(reference, 'mouseleave', this.handleMouseLeave); Object(dom_["off"])(reference, 'mouseenter', this.handleMouseEnter); Object(dom_["off"])(document, 'click', this.handleDocumentClick); } }); // CONCATENATED MODULE: ./packages/popover/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/popover/src/main.vue /* normalize component */ var main_component = normalizeComponent( src_mainvue_type_script_lang_js_, mainvue_type_template_id_52060272_render, mainvue_type_template_id_52060272_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var main_api; } main_component.options.__file = "packages/popover/src/main.vue" /* harmony default export */ var main = (main_component.exports); // CONCATENATED MODULE: ./packages/popover/src/directive.js var getReference = function getReference(el, binding, vnode) { var _ref = binding.expression ? binding.value : binding.arg; var popper = vnode.context.$refs[_ref]; if (popper) { if (Array.isArray(popper)) { popper[0].$refs.reference = el; } else { popper.$refs.reference = el; } } }; /* harmony default export */ var directive = ({ bind: function bind(el, binding, vnode) { getReference(el, binding, vnode); }, inserted: function inserted(el, binding, vnode) { getReference(el, binding, vnode); } }); // CONCATENATED MODULE: ./packages/popover/index.js external_vue_default.a.directive('popover', directive); /* istanbul ignore next */ main.install = function (Vue) { Vue.directive('popover', directive); Vue.component(main.name, main); }; main.directive = directive; /* harmony default export */ var popover = (main); // EXTERNAL MODULE: external "element-ui/lib/utils/vdom" var vdom_ = __webpack_require__(16); // CONCATENATED MODULE: ./packages/tooltip/src/main.js /* harmony default export */ var src_main = ({ name: 'ElTooltip', mixins: [vue_popper_default.a], props: { openDelay: { type: Number, default: 0 }, disabled: Boolean, manual: Boolean, effect: { type: String, default: 'dark' }, arrowOffset: { type: Number, default: 0 }, popperClass: String, content: String, visibleArrow: { default: true }, transition: { type: String, default: 'el-fade-in-linear' }, popperOptions: { default: function _default() { return { boundariesPadding: 10, gpuAcceleration: false }; } }, enterable: { type: Boolean, default: true }, hideAfter: { type: Number, default: 0 } }, data: function data() { return { timeoutPending: null, focusing: false }; }, computed: { tooltipId: function tooltipId() { return 'el-tooltip-' + Object(util_["generateId"])(); } }, beforeCreate: function beforeCreate() { var _this = this; if (this.$isServer) return; this.popperVM = new external_vue_default.a({ data: { node: '' }, render: function render(h) { return this.node; } }).$mount(); this.debounceClose = debounce_default()(200, function () { return _this.handleClosePopper(); }); }, render: function render(h) { var _this2 = this; if (this.popperVM) { this.popperVM.node = h( 'transition', { attrs: { name: this.transition }, on: { 'afterLeave': this.doDestroy } }, [h( 'div', { on: { 'mouseleave': function mouseleave() { _this2.setExpectedState(false);_this2.debounceClose(); }, 'mouseenter': function mouseenter() { _this2.setExpectedState(true); } }, ref: 'popper', attrs: { role: 'tooltip', id: this.tooltipId, 'aria-hidden': this.disabled || !this.showPopper ? 'true' : 'false' }, directives: [{ name: 'show', value: !this.disabled && this.showPopper }], 'class': ['el-tooltip__popper', 'is-' + this.effect, this.popperClass] }, [this.$slots.content || this.content] )] ); } if (!this.$slots.default || !this.$slots.default.length) return this.$slots.default; var vnode = Object(vdom_["getFirstComponentChild"])(this.$slots.default); if (!vnode) return vnode; var data = vnode.data = vnode.data || {}; data.staticClass = this.concatClass(data.staticClass, 'el-tooltip'); return vnode; }, mounted: function mounted() { var _this3 = this; this.referenceElm = this.$el; if (this.$el.nodeType === 1) { this.$el.setAttribute('aria-describedby', this.tooltipId); this.$el.setAttribute('tabindex', 0); Object(dom_["on"])(this.referenceElm, 'mouseenter', this.show); Object(dom_["on"])(this.referenceElm, 'mouseleave', this.hide); Object(dom_["on"])(this.referenceElm, 'focus', function () { if (!_this3.$slots.default || !_this3.$slots.default.length) { _this3.handleFocus(); return; } var instance = _this3.$slots.default[0].componentInstance; if (instance && instance.focus) { instance.focus(); } else { _this3.handleFocus(); } }); Object(dom_["on"])(this.referenceElm, 'blur', this.handleBlur); Object(dom_["on"])(this.referenceElm, 'click', this.removeFocusing); } }, watch: { focusing: function focusing(val) { if (val) { Object(dom_["addClass"])(this.referenceElm, 'focusing'); } else { Object(dom_["removeClass"])(this.referenceElm, 'focusing'); } } }, methods: { show: function show() { this.setExpectedState(true); this.handleShowPopper(); }, hide: function hide() { this.setExpectedState(false); this.debounceClose(); }, handleFocus: function handleFocus() { this.focusing = true; this.show(); }, handleBlur: function handleBlur() { this.focusing = false; this.hide(); }, removeFocusing: function removeFocusing() { this.focusing = false; }, concatClass: function concatClass(a, b) { if (a && a.indexOf(b) > -1) return a; return a ? b ? a + ' ' + b : a : b || ''; }, handleShowPopper: function handleShowPopper() { var _this4 = this; if (!this.expectedState || this.manual) return; clearTimeout(this.timeout); this.timeout = setTimeout(function () { _this4.showPopper = true; }, this.openDelay); if (this.hideAfter > 0) { this.timeoutPending = setTimeout(function () { _this4.showPopper = false; }, this.hideAfter); } }, handleClosePopper: function handleClosePopper() { if (this.enterable && this.expectedState || this.manual) return; clearTimeout(this.timeout); if (this.timeoutPending) { clearTimeout(this.timeoutPending); } this.showPopper = false; if (this.disabled) { this.doDestroy(); } }, setExpectedState: function setExpectedState(expectedState) { if (expectedState === false) { clearTimeout(this.timeoutPending); } this.expectedState = expectedState; } }, beforeDestroy: function beforeDestroy() { this.popperVM && this.popperVM.$destroy(); }, destroyed: function destroyed() { var reference = this.referenceElm; Object(dom_["off"])(reference, 'mouseenter', this.show); Object(dom_["off"])(reference, 'mouseleave', this.hide); Object(dom_["off"])(reference, 'focus', this.handleFocus); Object(dom_["off"])(reference, 'blur', this.handleBlur); Object(dom_["off"])(reference, 'click', this.removeFocusing); } }); // CONCATENATED MODULE: ./packages/tooltip/index.js /* istanbul ignore next */ src_main.install = function (Vue) { Vue.component(src_main.name, src_main); }; /* harmony default export */ var packages_tooltip = (src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/message-box/src/main.vue?vue&type=template&id=6b29b012& var mainvue_type_template_id_6b29b012_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("transition", { attrs: { name: "msgbox-fade" } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-message-box__wrapper", attrs: { tabindex: "-1", role: "dialog", "aria-modal": "true", "aria-label": _vm.title || "dialog" }, on: { click: function($event) { if ($event.target !== $event.currentTarget) { return null } return _vm.handleWrapperClick($event) } } }, [ _c( "div", { staticClass: "el-message-box", class: [_vm.customClass, _vm.center && "el-message-box--center"] }, [ _vm.title !== null ? _c("div", { staticClass: "el-message-box__header" }, [ _c("div", { staticClass: "el-message-box__title" }, [ _vm.icon && _vm.center ? _c("div", { class: ["el-message-box__status", _vm.icon] }) : _vm._e(), _c("span", [_vm._v(_vm._s(_vm.title))]) ]), _vm.showClose ? _c( "button", { staticClass: "el-message-box__headerbtn", attrs: { type: "button", "aria-label": "Close" }, on: { click: function($event) { _vm.handleAction( _vm.distinguishCancelAndClose ? "close" : "cancel" ) }, keydown: function($event) { if ( !("button" in $event) && _vm._k( $event.keyCode, "enter", 13, $event.key, "Enter" ) ) { return null } _vm.handleAction( _vm.distinguishCancelAndClose ? "close" : "cancel" ) } } }, [ _c("i", { staticClass: "el-message-box__close el-icon-close" }) ] ) : _vm._e() ]) : _vm._e(), _c("div", { staticClass: "el-message-box__content" }, [ _vm.icon && !_vm.center && _vm.message !== "" ? _c("div", { class: ["el-message-box__status", _vm.icon] }) : _vm._e(), _vm.message !== "" ? _c( "div", { staticClass: "el-message-box__message" }, [ _vm._t("default", [ !_vm.dangerouslyUseHTMLString ? _c("p", [_vm._v(_vm._s(_vm.message))]) : _c("p", { domProps: { innerHTML: _vm._s(_vm.message) } }) ]) ], 2 ) : _vm._e(), _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.showInput, expression: "showInput" } ], staticClass: "el-message-box__input" }, [ _c("el-input", { ref: "input", attrs: { type: _vm.inputType, placeholder: _vm.inputPlaceholder }, nativeOn: { keydown: function($event) { if ( !("button" in $event) && _vm._k( $event.keyCode, "enter", 13, $event.key, "Enter" ) ) { return null } return _vm.handleInputEnter($event) } }, model: { value: _vm.inputValue, callback: function($$v) { _vm.inputValue = $$v }, expression: "inputValue" } }), _c( "div", { staticClass: "el-message-box__errormsg", style: { visibility: !!_vm.editorErrorMessage ? "visible" : "hidden" } }, [_vm._v(_vm._s(_vm.editorErrorMessage))] ) ], 1 ) ]), _c( "div", { staticClass: "el-message-box__btns" }, [ _vm.showCancelButton ? _c( "el-button", { class: [_vm.cancelButtonClasses], attrs: { loading: _vm.cancelButtonLoading, round: _vm.roundButton, size: "small" }, on: { keydown: function($event) { if ( !("button" in $event) && _vm._k( $event.keyCode, "enter", 13, $event.key, "Enter" ) ) { return null } _vm.handleAction("cancel") } }, nativeOn: { click: function($event) { _vm.handleAction("cancel") } } }, [ _vm._v( "\n " + _vm._s( _vm.cancelButtonText || _vm.t("el.messagebox.cancel") ) + "\n " ) ] ) : _vm._e(), _c( "el-button", { directives: [ { name: "show", rawName: "v-show", value: _vm.showConfirmButton, expression: "showConfirmButton" } ], ref: "confirm", class: [_vm.confirmButtonClasses], attrs: { loading: _vm.confirmButtonLoading, round: _vm.roundButton, size: "small" }, on: { keydown: function($event) { if ( !("button" in $event) && _vm._k( $event.keyCode, "enter", 13, $event.key, "Enter" ) ) { return null } _vm.handleAction("confirm") } }, nativeOn: { click: function($event) { _vm.handleAction("confirm") } } }, [ _vm._v( "\n " + _vm._s( _vm.confirmButtonText || _vm.t("el.messagebox.confirm") ) + "\n " ) ] ) ], 1 ) ] ) ] ) ]) } var mainvue_type_template_id_6b29b012_staticRenderFns = [] mainvue_type_template_id_6b29b012_render._withStripped = true // CONCATENATED MODULE: ./packages/message-box/src/main.vue?vue&type=template&id=6b29b012& // EXTERNAL MODULE: external "element-ui/lib/utils/aria-dialog" var aria_dialog_ = __webpack_require__(35); var aria_dialog_default = /*#__PURE__*/__webpack_require__.n(aria_dialog_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/message-box/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var messageBox = void 0; var typeMap = { success: 'success', info: 'info', warning: 'warning', error: 'error' }; /* harmony default export */ var message_box_src_mainvue_type_script_lang_js_ = ({ mixins: [popup_default.a, locale_default.a], props: { modal: { default: true }, lockScroll: { default: true }, showClose: { type: Boolean, default: true }, closeOnClickModal: { default: true }, closeOnPressEscape: { default: true }, closeOnHashChange: { default: true }, center: { default: false, type: Boolean }, roundButton: { default: false, type: Boolean } }, components: { ElInput: input_default.a, ElButton: button_default.a }, computed: { icon: function icon() { var type = this.type, iconClass = this.iconClass; return iconClass || (type && typeMap[type] ? 'el-icon-' + typeMap[type] : ''); }, confirmButtonClasses: function confirmButtonClasses() { return 'el-button--primary ' + this.confirmButtonClass; }, cancelButtonClasses: function cancelButtonClasses() { return '' + this.cancelButtonClass; } }, methods: { getSafeClose: function getSafeClose() { var _this = this; var currentId = this.uid; return function () { _this.$nextTick(function () { if (currentId === _this.uid) _this.doClose(); }); }; }, doClose: function doClose() { var _this2 = this; if (!this.visible) return; this.visible = false; this._closing = true; this.onClose && this.onClose(); messageBox.closeDialog(); // 解绑 if (this.lockScroll) { setTimeout(this.restoreBodyStyle, 200); } this.opened = false; this.doAfterClose(); setTimeout(function () { if (_this2.action) _this2.callback(_this2.action, _this2); }); }, handleWrapperClick: function handleWrapperClick() { if (this.closeOnClickModal) { this.handleAction(this.distinguishCancelAndClose ? 'close' : 'cancel'); } }, handleInputEnter: function handleInputEnter() { if (this.inputType !== 'textarea') { return this.handleAction('confirm'); } }, handleAction: function handleAction(action) { if (this.$type === 'prompt' && action === 'confirm' && !this.validate()) { return; } this.action = action; if (typeof this.beforeClose === 'function') { this.close = this.getSafeClose(); this.beforeClose(action, this, this.close); } else { this.doClose(); } }, validate: function validate() { if (this.$type === 'prompt') { var inputPattern = this.inputPattern; if (inputPattern && !inputPattern.test(this.inputValue || '')) { this.editorErrorMessage = this.inputErrorMessage || Object(lib_locale_["t"])('el.messagebox.error'); Object(dom_["addClass"])(this.getInputElement(), 'invalid'); return false; } var inputValidator = this.inputValidator; if (typeof inputValidator === 'function') { var validateResult = inputValidator(this.inputValue); if (validateResult === false) { this.editorErrorMessage = this.inputErrorMessage || Object(lib_locale_["t"])('el.messagebox.error'); Object(dom_["addClass"])(this.getInputElement(), 'invalid'); return false; } if (typeof validateResult === 'string') { this.editorErrorMessage = validateResult; Object(dom_["addClass"])(this.getInputElement(), 'invalid'); return false; } } } this.editorErrorMessage = ''; Object(dom_["removeClass"])(this.getInputElement(), 'invalid'); return true; }, getFirstFocus: function getFirstFocus() { var btn = this.$el.querySelector('.el-message-box__btns .el-button'); var title = this.$el.querySelector('.el-message-box__btns .el-message-box__title'); return btn || title; }, getInputElement: function getInputElement() { var inputRefs = this.$refs.input.$refs; return inputRefs.input || inputRefs.textarea; } }, watch: { inputValue: { immediate: true, handler: function handler(val) { var _this3 = this; this.$nextTick(function (_) { if (_this3.$type === 'prompt' && val !== null) { _this3.validate(); } }); } }, visible: function visible(val) { var _this4 = this; if (val) { this.uid++; if (this.$type === 'alert' || this.$type === 'confirm') { this.$nextTick(function () { _this4.$refs.confirm.$el.focus(); }); } this.focusAfterClosed = document.activeElement; messageBox = new aria_dialog_default.a(this.$el, this.focusAfterClosed, this.getFirstFocus()); } // prompt if (this.$type !== 'prompt') return; if (val) { setTimeout(function () { if (_this4.$refs.input && _this4.$refs.input.$el) { _this4.getInputElement().focus(); } }, 500); } else { this.editorErrorMessage = ''; Object(dom_["removeClass"])(this.getInputElement(), 'invalid'); } } }, mounted: function mounted() { var _this5 = this; this.$nextTick(function () { if (_this5.closeOnHashChange) { window.addEventListener('hashchange', _this5.close); } }); }, beforeDestroy: function beforeDestroy() { if (this.closeOnHashChange) { window.removeEventListener('hashchange', this.close); } setTimeout(function () { messageBox.closeDialog(); }); }, data: function data() { return { uid: 1, title: undefined, message: '', type: '', iconClass: '', customClass: '', showInput: false, inputValue: null, inputPlaceholder: '', inputType: 'text', inputPattern: null, inputValidator: null, inputErrorMessage: '', showConfirmButton: true, showCancelButton: false, action: '', confirmButtonText: '', cancelButtonText: '', confirmButtonLoading: false, cancelButtonLoading: false, confirmButtonClass: '', confirmButtonDisabled: false, cancelButtonClass: '', editorErrorMessage: null, callback: null, dangerouslyUseHTMLString: false, focusAfterClosed: null, isOnComposition: false, distinguishCancelAndClose: false }; } }); // CONCATENATED MODULE: ./packages/message-box/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_message_box_src_mainvue_type_script_lang_js_ = (message_box_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/message-box/src/main.vue /* normalize component */ var src_main_component = normalizeComponent( packages_message_box_src_mainvue_type_script_lang_js_, mainvue_type_template_id_6b29b012_render, mainvue_type_template_id_6b29b012_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var src_main_api; } src_main_component.options.__file = "packages/message-box/src/main.vue" /* harmony default export */ var message_box_src_main = (src_main_component.exports); // CONCATENATED MODULE: ./packages/message-box/src/main.js var main_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var main_defaults = { title: null, message: '', type: '', iconClass: '', showInput: false, showClose: true, modalFade: true, lockScroll: true, closeOnClickModal: true, closeOnPressEscape: true, closeOnHashChange: true, inputValue: null, inputPlaceholder: '', inputType: 'text', inputPattern: null, inputValidator: null, inputErrorMessage: '', showConfirmButton: true, showCancelButton: false, confirmButtonPosition: 'right', confirmButtonHighlight: false, cancelButtonHighlight: false, confirmButtonText: '', cancelButtonText: '', confirmButtonClass: '', cancelButtonClass: '', customClass: '', beforeClose: null, dangerouslyUseHTMLString: false, center: false, roundButton: false, distinguishCancelAndClose: false }; var MessageBoxConstructor = external_vue_default.a.extend(message_box_src_main); var currentMsg = void 0, main_instance = void 0; var msgQueue = []; var defaultCallback = function defaultCallback(action) { if (currentMsg) { var callback = currentMsg.callback; if (typeof callback === 'function') { if (main_instance.showInput) { callback(main_instance.inputValue, action); } else { callback(action); } } if (currentMsg.resolve) { if (action === 'confirm') { if (main_instance.showInput) { currentMsg.resolve({ value: main_instance.inputValue, action: action }); } else { currentMsg.resolve(action); } } else if (currentMsg.reject && (action === 'cancel' || action === 'close')) { currentMsg.reject(action); } } } }; var initInstance = function initInstance() { main_instance = new MessageBoxConstructor({ el: document.createElement('div') }); main_instance.callback = defaultCallback; }; var main_showNextMsg = function showNextMsg() { if (!main_instance) { initInstance(); } main_instance.action = ''; if (!main_instance.visible || main_instance.closeTimer) { if (msgQueue.length > 0) { currentMsg = msgQueue.shift(); var options = currentMsg.options; for (var prop in options) { if (options.hasOwnProperty(prop)) { main_instance[prop] = options[prop]; } } if (options.callback === undefined) { main_instance.callback = defaultCallback; } var oldCb = main_instance.callback; main_instance.callback = function (action, instance) { oldCb(action, instance); showNextMsg(); }; if (Object(vdom_["isVNode"])(main_instance.message)) { main_instance.$slots.default = [main_instance.message]; main_instance.message = null; } else { delete main_instance.$slots.default; } ['modal', 'showClose', 'closeOnClickModal', 'closeOnPressEscape', 'closeOnHashChange'].forEach(function (prop) { if (main_instance[prop] === undefined) { main_instance[prop] = true; } }); document.body.appendChild(main_instance.$el); external_vue_default.a.nextTick(function () { main_instance.visible = true; }); } } }; var main_MessageBox = function MessageBox(options, callback) { if (external_vue_default.a.prototype.$isServer) return; if (typeof options === 'string' || Object(vdom_["isVNode"])(options)) { options = { message: options }; if (typeof arguments[1] === 'string') { options.title = arguments[1]; } } else if (options.callback && !callback) { callback = options.callback; } if (typeof Promise !== 'undefined') { return new Promise(function (resolve, reject) { // eslint-disable-line msgQueue.push({ options: merge_default()({}, main_defaults, MessageBox.defaults, options), callback: callback, resolve: resolve, reject: reject }); main_showNextMsg(); }); } else { msgQueue.push({ options: merge_default()({}, main_defaults, MessageBox.defaults, options), callback: callback }); main_showNextMsg(); } }; main_MessageBox.setDefaults = function (defaults) { main_MessageBox.defaults = defaults; }; main_MessageBox.alert = function (message, title, options) { if ((typeof title === 'undefined' ? 'undefined' : main_typeof(title)) === 'object') { options = title; title = ''; } else if (title === undefined) { title = ''; } return main_MessageBox(merge_default()({ title: title, message: message, $type: 'alert', closeOnPressEscape: false, closeOnClickModal: false }, options)); }; main_MessageBox.confirm = function (message, title, options) { if ((typeof title === 'undefined' ? 'undefined' : main_typeof(title)) === 'object') { options = title; title = ''; } else if (title === undefined) { title = ''; } return main_MessageBox(merge_default()({ title: title, message: message, $type: 'confirm', showCancelButton: true }, options)); }; main_MessageBox.prompt = function (message, title, options) { if ((typeof title === 'undefined' ? 'undefined' : main_typeof(title)) === 'object') { options = title; title = ''; } else if (title === undefined) { title = ''; } return main_MessageBox(merge_default()({ title: title, message: message, showCancelButton: true, showInput: true, $type: 'prompt' }, options)); }; main_MessageBox.close = function () { main_instance.doClose(); main_instance.visible = false; msgQueue = []; currentMsg = null; }; /* harmony default export */ var packages_message_box_src_main = (main_MessageBox); // CONCATENATED MODULE: ./packages/message-box/index.js /* harmony default export */ var message_box = (packages_message_box_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb.vue?vue&type=template&id=4b464c06& var breadcrumbvue_type_template_id_4b464c06_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-breadcrumb", attrs: { "aria-label": "Breadcrumb", role: "navigation" } }, [_vm._t("default")], 2 ) } var breadcrumbvue_type_template_id_4b464c06_staticRenderFns = [] breadcrumbvue_type_template_id_4b464c06_render._withStripped = true // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue?vue&type=template&id=4b464c06& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb.vue?vue&type=script&lang=js& // // // // // /* harmony default export */ var breadcrumbvue_type_script_lang_js_ = ({ name: 'ElBreadcrumb', props: { separator: { type: String, default: '/' }, separatorClass: { type: String, default: '' } }, provide: function provide() { return { elBreadcrumb: this }; }, mounted: function mounted() { var items = this.$el.querySelectorAll('.el-breadcrumb__item'); if (items.length) { items[items.length - 1].setAttribute('aria-current', 'page'); } } }); // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue?vue&type=script&lang=js& /* harmony default export */ var src_breadcrumbvue_type_script_lang_js_ = (breadcrumbvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue /* normalize component */ var breadcrumb_component = normalizeComponent( src_breadcrumbvue_type_script_lang_js_, breadcrumbvue_type_template_id_4b464c06_render, breadcrumbvue_type_template_id_4b464c06_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var breadcrumb_api; } breadcrumb_component.options.__file = "packages/breadcrumb/src/breadcrumb.vue" /* harmony default export */ var breadcrumb = (breadcrumb_component.exports); // CONCATENATED MODULE: ./packages/breadcrumb/index.js /* istanbul ignore next */ breadcrumb.install = function (Vue) { Vue.component(breadcrumb.name, breadcrumb); }; /* harmony default export */ var packages_breadcrumb = (breadcrumb); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=template&id=fcf9eaac& var breadcrumb_itemvue_type_template_id_fcf9eaac_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("span", { staticClass: "el-breadcrumb__item" }, [ _c( "span", { ref: "link", class: ["el-breadcrumb__inner", _vm.to ? "is-link" : ""], attrs: { role: "link" } }, [_vm._t("default")], 2 ), _vm.separatorClass ? _c("i", { staticClass: "el-breadcrumb__separator", class: _vm.separatorClass }) : _c( "span", { staticClass: "el-breadcrumb__separator", attrs: { role: "presentation" } }, [_vm._v(_vm._s(_vm.separator))] ) ]) } var breadcrumb_itemvue_type_template_id_fcf9eaac_staticRenderFns = [] breadcrumb_itemvue_type_template_id_fcf9eaac_render._withStripped = true // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=template&id=fcf9eaac& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=script&lang=js& // // // // // // // // // // // // /* harmony default export */ var breadcrumb_itemvue_type_script_lang_js_ = ({ name: 'ElBreadcrumbItem', props: { to: {}, replace: Boolean }, data: function data() { return { separator: '', separatorClass: '' }; }, inject: ['elBreadcrumb'], mounted: function mounted() { var _this = this; this.separator = this.elBreadcrumb.separator; this.separatorClass = this.elBreadcrumb.separatorClass; var link = this.$refs.link; link.setAttribute('role', 'link'); link.addEventListener('click', function (_) { var to = _this.to, $router = _this.$router; if (!to || !$router) return; _this.replace ? $router.replace(to) : $router.push(to); }); } }); // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=script&lang=js& /* harmony default export */ var src_breadcrumb_itemvue_type_script_lang_js_ = (breadcrumb_itemvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb-item.vue /* normalize component */ var breadcrumb_item_component = normalizeComponent( src_breadcrumb_itemvue_type_script_lang_js_, breadcrumb_itemvue_type_template_id_fcf9eaac_render, breadcrumb_itemvue_type_template_id_fcf9eaac_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var breadcrumb_item_api; } breadcrumb_item_component.options.__file = "packages/breadcrumb/src/breadcrumb-item.vue" /* harmony default export */ var breadcrumb_item = (breadcrumb_item_component.exports); // CONCATENATED MODULE: ./packages/breadcrumb-item/index.js /* istanbul ignore next */ breadcrumb_item.install = function (Vue) { Vue.component(breadcrumb_item.name, breadcrumb_item); }; /* harmony default export */ var packages_breadcrumb_item = (breadcrumb_item); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=template&id=a1b5ff34& var formvue_type_template_id_a1b5ff34_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "form", { staticClass: "el-form", class: [ _vm.labelPosition ? "el-form--label-" + _vm.labelPosition : "", { "el-form--inline": _vm.inline } ] }, [_vm._t("default")], 2 ) } var formvue_type_template_id_a1b5ff34_staticRenderFns = [] formvue_type_template_id_a1b5ff34_render._withStripped = true // CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=template&id=a1b5ff34& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=script&lang=js& // // // // // // // // /* harmony default export */ var formvue_type_script_lang_js_ = ({ name: 'ElForm', componentName: 'ElForm', provide: function provide() { return { elForm: this }; }, props: { model: Object, rules: Object, labelPosition: String, labelWidth: String, labelSuffix: { type: String, default: '' }, inline: Boolean, inlineMessage: Boolean, statusIcon: Boolean, showMessage: { type: Boolean, default: true }, size: String, disabled: Boolean, validateOnRuleChange: { type: Boolean, default: true }, hideRequiredAsterisk: { type: Boolean, default: false } }, watch: { rules: function rules() { if (this.validateOnRuleChange) { this.validate(function () {}); } } }, data: function data() { return { fields: [] }; }, created: function created() { var _this = this; this.$on('el.form.addField', function (field) { if (field) { _this.fields.push(field); } }); /* istanbul ignore next */ this.$on('el.form.removeField', function (field) { if (field.prop) { _this.fields.splice(_this.fields.indexOf(field), 1); } }); }, methods: { resetFields: function resetFields() { if (!this.model) { console.warn('[Element Warn][Form]model is required for resetFields to work.'); return; } this.fields.forEach(function (field) { field.resetField(); }); }, clearValidate: function clearValidate() { var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var fields = props.length ? typeof props === 'string' ? this.fields.filter(function (field) { return props === field.prop; }) : this.fields.filter(function (field) { return props.indexOf(field.prop) > -1; }) : this.fields; fields.forEach(function (field) { field.clearValidate(); }); }, validate: function validate(callback) { var _this2 = this; if (!this.model) { console.warn('[Element Warn][Form]model is required for validate to work!'); return; } var promise = void 0; // if no callback, return promise if (typeof callback !== 'function' && window.Promise) { promise = new window.Promise(function (resolve, reject) { callback = function callback(valid) { valid ? resolve(valid) : reject(valid); }; }); } var valid = true; var count = 0; // 如果需要验证的fields为空,调用验证时立刻返回callback if (this.fields.length === 0 && callback) { callback(true); } var invalidFields = {}; this.fields.forEach(function (field) { field.validate('', function (message, field) { if (message) { valid = false; } invalidFields = merge_default()({}, invalidFields, field); if (typeof callback === 'function' && ++count === _this2.fields.length) { callback(valid, invalidFields); } }); }); if (promise) { return promise; } }, validateField: function validateField(props, cb) { props = [].concat(props); var fields = this.fields.filter(function (field) { return props.indexOf(field.prop) !== -1; }); if (!fields.length) { console.warn('[Element Warn]please pass correct props!'); return; } fields.forEach(function (field) { field.validate('', cb); }); } } }); // CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=script&lang=js& /* harmony default export */ var src_formvue_type_script_lang_js_ = (formvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/form/src/form.vue /* normalize component */ var form_component = normalizeComponent( src_formvue_type_script_lang_js_, formvue_type_template_id_a1b5ff34_render, formvue_type_template_id_a1b5ff34_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var form_api; } form_component.options.__file = "packages/form/src/form.vue" /* harmony default export */ var src_form = (form_component.exports); // CONCATENATED MODULE: ./packages/form/index.js /* istanbul ignore next */ src_form.install = function (Vue) { Vue.component(src_form.name, src_form); }; /* harmony default export */ var packages_form = (src_form); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form-item.vue?vue&type=template&id=b6f3db6c& var form_itemvue_type_template_id_b6f3db6c_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-form-item", class: [ { "el-form-item--feedback": _vm.elForm && _vm.elForm.statusIcon, "is-error": _vm.validateState === "error", "is-validating": _vm.validateState === "validating", "is-success": _vm.validateState === "success", "is-required": _vm.isRequired || _vm.required, "is-no-asterisk": _vm.elForm && _vm.elForm.hideRequiredAsterisk }, _vm.sizeClass ? "el-form-item--" + _vm.sizeClass : "" ] }, [ _vm.label || _vm.$slots.label ? _c( "label", { staticClass: "el-form-item__label", style: _vm.labelStyle, attrs: { for: _vm.labelFor } }, [ _vm._t("label", [ _vm._v(_vm._s(_vm.label + _vm.form.labelSuffix)) ]) ], 2 ) : _vm._e(), _c( "div", { staticClass: "el-form-item__content", style: _vm.contentStyle }, [ _vm._t("default"), _c( "transition", { attrs: { name: "el-zoom-in-top" } }, [ _vm.validateState === "error" && _vm.showMessage && _vm.form.showMessage ? _vm._t( "error", [ _c( "div", { staticClass: "el-form-item__error", class: { "el-form-item__error--inline": typeof _vm.inlineMessage === "boolean" ? _vm.inlineMessage : (_vm.elForm && _vm.elForm.inlineMessage) || false } }, [ _vm._v( "\n " + _vm._s(_vm.validateMessage) + "\n " ) ] ) ], { error: _vm.validateMessage } ) : _vm._e() ], 2 ) ], 2 ) ] ) } var form_itemvue_type_template_id_b6f3db6c_staticRenderFns = [] form_itemvue_type_template_id_b6f3db6c_render._withStripped = true // CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=template&id=b6f3db6c& // EXTERNAL MODULE: external "async-validator" var external_async_validator_ = __webpack_require__(36); var external_async_validator_default = /*#__PURE__*/__webpack_require__.n(external_async_validator_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form-item.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var form_itemvue_type_script_lang_js_ = ({ name: 'ElFormItem', componentName: 'ElFormItem', mixins: [emitter_default.a], provide: function provide() { return { elFormItem: this }; }, inject: ['elForm'], props: { label: String, labelWidth: String, prop: String, required: { type: Boolean, default: undefined }, rules: [Object, Array], error: String, validateStatus: String, for: String, inlineMessage: { type: [String, Boolean], default: '' }, showMessage: { type: Boolean, default: true }, size: String }, watch: { error: { immediate: true, handler: function handler(value) { this.validateMessage = value; this.validateState = value ? 'error' : ''; } }, validateStatus: function validateStatus(value) { this.validateState = value; } }, computed: { labelFor: function labelFor() { return this.for || this.prop; }, labelStyle: function labelStyle() { var ret = {}; if (this.form.labelPosition === 'top') return ret; var labelWidth = this.labelWidth || this.form.labelWidth; if (labelWidth) { ret.width = labelWidth; } return ret; }, contentStyle: function contentStyle() { var ret = {}; var label = this.label; if (this.form.labelPosition === 'top' || this.form.inline) return ret; if (!label && !this.labelWidth && this.isNested) return ret; var labelWidth = this.labelWidth || this.form.labelWidth; if (labelWidth) { ret.marginLeft = labelWidth; } return ret; }, form: function form() { var parent = this.$parent; var parentName = parent.$options.componentName; while (parentName !== 'ElForm') { if (parentName === 'ElFormItem') { this.isNested = true; } parent = parent.$parent; parentName = parent.$options.componentName; } return parent; }, fieldValue: function fieldValue() { var model = this.form.model; if (!model || !this.prop) { return; } var path = this.prop; if (path.indexOf(':') !== -1) { path = path.replace(/:/, '.'); } return Object(util_["getPropByPath"])(model, path, true).v; }, isRequired: function isRequired() { var rules = this.getRules(); var isRequired = false; if (rules && rules.length) { rules.every(function (rule) { if (rule.required) { isRequired = true; return false; } return true; }); } return isRequired; }, _formSize: function _formSize() { return this.elForm.size; }, elFormItemSize: function elFormItemSize() { return this.size || this._formSize; }, sizeClass: function sizeClass() { return this.elFormItemSize || (this.$ELEMENT || {}).size; } }, data: function data() { return { validateState: '', validateMessage: '', validateDisabled: false, validator: {}, isNested: false }; }, methods: { validate: function validate(trigger) { var _this = this; var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : util_["noop"]; this.validateDisabled = false; var rules = this.getFilteredRule(trigger); if ((!rules || rules.length === 0) && this.required === undefined) { callback(); return true; } this.validateState = 'validating'; var descriptor = {}; if (rules && rules.length > 0) { rules.forEach(function (rule) { delete rule.trigger; }); } descriptor[this.prop] = rules; var validator = new external_async_validator_default.a(descriptor); var model = {}; model[this.prop] = this.fieldValue; validator.validate(model, { firstFields: true }, function (errors, invalidFields) { _this.validateState = !errors ? 'success' : 'error'; _this.validateMessage = errors ? errors[0].message : ''; callback(_this.validateMessage, invalidFields); _this.elForm && _this.elForm.$emit('validate', _this.prop, !errors, _this.validateMessage || null); }); }, clearValidate: function clearValidate() { this.validateState = ''; this.validateMessage = ''; this.validateDisabled = false; }, resetField: function resetField() { this.validateState = ''; this.validateMessage = ''; var model = this.form.model; var value = this.fieldValue; var path = this.prop; if (path.indexOf(':') !== -1) { path = path.replace(/:/, '.'); } var prop = Object(util_["getPropByPath"])(model, path, true); this.validateDisabled = true; if (Array.isArray(value)) { prop.o[prop.k] = [].concat(this.initialValue); } else { prop.o[prop.k] = this.initialValue; } this.broadcast('ElTimeSelect', 'fieldReset', this.initialValue); }, getRules: function getRules() { var formRules = this.form.rules; var selfRules = this.rules; var requiredRule = this.required !== undefined ? { required: !!this.required } : []; var prop = Object(util_["getPropByPath"])(formRules, this.prop || ''); formRules = formRules ? prop.o[this.prop || ''] || prop.v : []; return [].concat(selfRules || formRules || []).concat(requiredRule); }, getFilteredRule: function getFilteredRule(trigger) { var rules = this.getRules(); return rules.filter(function (rule) { if (!rule.trigger || trigger === '') return true; if (Array.isArray(rule.trigger)) { return rule.trigger.indexOf(trigger) > -1; } else { return rule.trigger === trigger; } }).map(function (rule) { return merge_default()({}, rule); }); }, onFieldBlur: function onFieldBlur() { this.validate('blur'); }, onFieldChange: function onFieldChange() { if (this.validateDisabled) { this.validateDisabled = false; return; } this.validate('change'); } }, mounted: function mounted() { if (this.prop) { this.dispatch('ElForm', 'el.form.addField', [this]); var initialValue = this.fieldValue; if (Array.isArray(initialValue)) { initialValue = [].concat(initialValue); } Object.defineProperty(this, 'initialValue', { value: initialValue }); var rules = this.getRules(); if (rules.length || this.required !== undefined) { this.$on('el.form.blur', this.onFieldBlur); this.$on('el.form.change', this.onFieldChange); } } }, beforeDestroy: function beforeDestroy() { this.dispatch('ElForm', 'el.form.removeField', [this]); } }); // CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=script&lang=js& /* harmony default export */ var src_form_itemvue_type_script_lang_js_ = (form_itemvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/form/src/form-item.vue /* normalize component */ var form_item_component = normalizeComponent( src_form_itemvue_type_script_lang_js_, form_itemvue_type_template_id_b6f3db6c_render, form_itemvue_type_template_id_b6f3db6c_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var form_item_api; } form_item_component.options.__file = "packages/form/src/form-item.vue" /* harmony default export */ var form_item = (form_item_component.exports); // CONCATENATED MODULE: ./packages/form-item/index.js /* istanbul ignore next */ form_item.install = function (Vue) { Vue.component(form_item.name, form_item); }; /* harmony default export */ var packages_form_item = (form_item); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tab-bar.vue?vue&type=template&id=2031f33a& var tab_barvue_type_template_id_2031f33a_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "el-tabs__active-bar", class: "is-" + _vm.rootTabs.tabPosition, style: _vm.barStyle }) } var tab_barvue_type_template_id_2031f33a_staticRenderFns = [] tab_barvue_type_template_id_2031f33a_render._withStripped = true // CONCATENATED MODULE: ./packages/tabs/src/tab-bar.vue?vue&type=template&id=2031f33a& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tab-bar.vue?vue&type=script&lang=js& // // // /* harmony default export */ var tab_barvue_type_script_lang_js_ = ({ name: 'TabBar', props: { tabs: Array }, inject: ['rootTabs'], computed: { barStyle: { get: function get() { var _this = this; var style = {}; var offset = 0; var tabSize = 0; var sizeName = ['top', 'bottom'].indexOf(this.rootTabs.tabPosition) !== -1 ? 'width' : 'height'; var sizeDir = sizeName === 'width' ? 'x' : 'y'; var firstUpperCase = function firstUpperCase(str) { return str.toLowerCase().replace(/( |^)[a-z]/g, function (L) { return L.toUpperCase(); }); }; this.tabs.every(function (tab, index) { var $el = Object(util_["arrayFind"])(_this.$parent.$refs.tabs || [], function (t) { return t.id.replace('tab-', '') === tab.paneName; }); if (!$el) { return false; } if (!tab.active) { offset += $el['client' + firstUpperCase(sizeName)]; return true; } else { tabSize = $el['client' + firstUpperCase(sizeName)]; if (sizeName === 'width' && _this.tabs.length > 1) { tabSize -= index === 0 || index === _this.tabs.length - 1 ? 20 : 40; } return false; } }); if (sizeName === 'width' && offset !== 0) { offset += 20; } var transform = 'translate' + firstUpperCase(sizeDir) + '(' + offset + 'px)'; style[sizeName] = tabSize + 'px'; style.transform = transform; style.msTransform = transform; style.webkitTransform = transform; return style; } } } }); // CONCATENATED MODULE: ./packages/tabs/src/tab-bar.vue?vue&type=script&lang=js& /* harmony default export */ var src_tab_barvue_type_script_lang_js_ = (tab_barvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/tabs/src/tab-bar.vue /* normalize component */ var tab_bar_component = normalizeComponent( src_tab_barvue_type_script_lang_js_, tab_barvue_type_template_id_2031f33a_render, tab_barvue_type_template_id_2031f33a_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var tab_bar_api; } tab_bar_component.options.__file = "packages/tabs/src/tab-bar.vue" /* harmony default export */ var tab_bar = (tab_bar_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tab-nav.vue?vue&type=script&lang=js& function noop() {} var tab_navvue_type_script_lang_js_firstUpperCase = function firstUpperCase(str) { return str.toLowerCase().replace(/( |^)[a-z]/g, function (L) { return L.toUpperCase(); }); }; /* harmony default export */ var tab_navvue_type_script_lang_js_ = ({ name: 'TabNav', components: { TabBar: tab_bar }, inject: ['rootTabs'], props: { panes: Array, currentName: String, editable: Boolean, onTabClick: { type: Function, default: noop }, onTabRemove: { type: Function, default: noop }, type: String, stretch: Boolean }, data: function data() { return { scrollable: false, navOffset: 0, isFocus: false, focusable: true }; }, computed: { navStyle: function navStyle() { var dir = ['top', 'bottom'].indexOf(this.rootTabs.tabPosition) !== -1 ? 'X' : 'Y'; return { transform: 'translate' + dir + '(-' + this.navOffset + 'px)' }; }, sizeName: function sizeName() { return ['top', 'bottom'].indexOf(this.rootTabs.tabPosition) !== -1 ? 'width' : 'height'; } }, methods: { scrollPrev: function scrollPrev() { var containerSize = this.$refs.navScroll['offset' + tab_navvue_type_script_lang_js_firstUpperCase(this.sizeName)]; var currentOffset = this.navOffset; if (!currentOffset) return; var newOffset = currentOffset > containerSize ? currentOffset - containerSize : 0; this.navOffset = newOffset; }, scrollNext: function scrollNext() { var navSize = this.$refs.nav['offset' + tab_navvue_type_script_lang_js_firstUpperCase(this.sizeName)]; var containerSize = this.$refs.navScroll['offset' + tab_navvue_type_script_lang_js_firstUpperCase(this.sizeName)]; var currentOffset = this.navOffset; if (navSize - currentOffset <= containerSize) return; var newOffset = navSize - currentOffset > containerSize * 2 ? currentOffset + containerSize : navSize - containerSize; this.navOffset = newOffset; }, scrollToActiveTab: function scrollToActiveTab() { if (!this.scrollable) return; var nav = this.$refs.nav; var activeTab = this.$el.querySelector('.is-active'); if (!activeTab) return; var navScroll = this.$refs.navScroll; var activeTabBounding = activeTab.getBoundingClientRect(); var navScrollBounding = navScroll.getBoundingClientRect(); var maxOffset = nav.offsetWidth - navScrollBounding.width; var currentOffset = this.navOffset; var newOffset = currentOffset; if (activeTabBounding.left < navScrollBounding.left) { newOffset = currentOffset - (navScrollBounding.left - activeTabBounding.left); } if (activeTabBounding.right > navScrollBounding.right) { newOffset = currentOffset + activeTabBounding.right - navScrollBounding.right; } newOffset = Math.max(newOffset, 0); this.navOffset = Math.min(newOffset, maxOffset); }, update: function update() { if (!this.$refs.nav) return; var sizeName = this.sizeName; var navSize = this.$refs.nav['offset' + tab_navvue_type_script_lang_js_firstUpperCase(sizeName)]; var containerSize = this.$refs.navScroll['offset' + tab_navvue_type_script_lang_js_firstUpperCase(sizeName)]; var currentOffset = this.navOffset; if (containerSize < navSize) { var _currentOffset = this.navOffset; this.scrollable = this.scrollable || {}; this.scrollable.prev = _currentOffset; this.scrollable.next = _currentOffset + containerSize < navSize; if (navSize - _currentOffset < containerSize) { this.navOffset = navSize - containerSize; } } else { this.scrollable = false; if (currentOffset > 0) { this.navOffset = 0; } } }, changeTab: function changeTab(e) { var keyCode = e.keyCode; var nextIndex = void 0; var currentIndex = void 0, tabList = void 0; if ([37, 38, 39, 40].indexOf(keyCode) !== -1) { // 左右上下键更换tab tabList = e.currentTarget.querySelectorAll('[role=tab]'); currentIndex = Array.prototype.indexOf.call(tabList, e.target); } else { return; } if (keyCode === 37 || keyCode === 38) { // left if (currentIndex === 0) { // first nextIndex = tabList.length - 1; } else { nextIndex = currentIndex - 1; } } else { // right if (currentIndex < tabList.length - 1) { // not last nextIndex = currentIndex + 1; } else { nextIndex = 0; } } tabList[nextIndex].focus(); // 改变焦点元素 tabList[nextIndex].click(); // 选中下一个tab this.setFocus(); }, setFocus: function setFocus() { if (this.focusable) { this.isFocus = true; } }, removeFocus: function removeFocus() { this.isFocus = false; }, visibilityChangeHandler: function visibilityChangeHandler() { var _this = this; var visibility = document.visibilityState; if (visibility === 'hidden') { this.focusable = false; } else if (visibility === 'visible') { setTimeout(function () { _this.focusable = true; }, 50); } }, windowBlurHandler: function windowBlurHandler() { this.focusable = false; }, windowFocusHandler: function windowFocusHandler() { var _this2 = this; setTimeout(function () { _this2.focusable = true; }, 50); } }, updated: function updated() { this.update(); }, render: function render(h) { var _this3 = this; var type = this.type, panes = this.panes, editable = this.editable, stretch = this.stretch, onTabClick = this.onTabClick, onTabRemove = this.onTabRemove, navStyle = this.navStyle, scrollable = this.scrollable, scrollNext = this.scrollNext, scrollPrev = this.scrollPrev, changeTab = this.changeTab, setFocus = this.setFocus, removeFocus = this.removeFocus; var scrollBtn = scrollable ? [h( 'span', { 'class': ['el-tabs__nav-prev', scrollable.prev ? '' : 'is-disabled'], on: { 'click': scrollPrev } }, [h('i', { 'class': 'el-icon-arrow-left' })] ), h( 'span', { 'class': ['el-tabs__nav-next', scrollable.next ? '' : 'is-disabled'], on: { 'click': scrollNext } }, [h('i', { 'class': 'el-icon-arrow-right' })] )] : null; var tabs = this._l(panes, function (pane, index) { var _ref; var tabName = pane.name || pane.index || index; var closable = pane.isClosable || editable; pane.index = '' + index; var btnClose = closable ? h('span', { 'class': 'el-icon-close', on: { 'click': function click(ev) { onTabRemove(pane, ev); } } }) : null; var tabLabelContent = pane.$slots.label || pane.label; var tabindex = pane.active ? 0 : -1; return h( 'div', { 'class': (_ref = { 'el-tabs__item': true }, _ref['is-' + _this3.rootTabs.tabPosition] = true, _ref['is-active'] = pane.active, _ref['is-disabled'] = pane.disabled, _ref['is-closable'] = closable, _ref['is-focus'] = _this3.isFocus, _ref), attrs: { id: 'tab-' + tabName, 'aria-controls': 'pane-' + tabName, role: 'tab', 'aria-selected': pane.active, tabindex: tabindex }, key: 'tab-' + tabName, ref: 'tabs', refInFor: true, on: { 'focus': function focus() { setFocus(); }, 'blur': function blur() { removeFocus(); }, 'click': function click(ev) { removeFocus();onTabClick(pane, tabName, ev); }, 'keydown': function keydown(ev) { if (closable && (ev.keyCode === 46 || ev.keyCode === 8)) { onTabRemove(pane, ev); } } } }, [tabLabelContent, btnClose] ); }); return h( 'div', { 'class': ['el-tabs__nav-wrap', scrollable ? 'is-scrollable' : '', 'is-' + this.rootTabs.tabPosition] }, [scrollBtn, h( 'div', { 'class': ['el-tabs__nav-scroll'], ref: 'navScroll' }, [h( 'div', { 'class': ['el-tabs__nav', 'is-' + this.rootTabs.tabPosition, stretch && ['top', 'bottom'].indexOf(this.rootTabs.tabPosition) !== -1 ? 'is-stretch' : ''], ref: 'nav', style: navStyle, attrs: { role: 'tablist' }, on: { 'keydown': changeTab } }, [!type ? h('tab-bar', { attrs: { tabs: panes } }) : null, tabs] )] )] ); }, mounted: function mounted() { var _this4 = this; Object(resize_event_["addResizeListener"])(this.$el, this.update); document.addEventListener('visibilitychange', this.visibilityChangeHandler); window.addEventListener('blur', this.windowBlurHandler); window.addEventListener('focus', this.windowFocusHandler); setTimeout(function () { _this4.scrollToActiveTab(); }, 0); }, beforeDestroy: function beforeDestroy() { if (this.$el && this.update) Object(resize_event_["removeResizeListener"])(this.$el, this.update); document.removeEventListener('visibilitychange', this.visibilityChangeHandler); window.removeEventListener('blur', this.windowBlurHandler); window.removeEventListener('focus', this.windowFocusHandler); } }); // CONCATENATED MODULE: ./packages/tabs/src/tab-nav.vue?vue&type=script&lang=js& /* harmony default export */ var src_tab_navvue_type_script_lang_js_ = (tab_navvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/tabs/src/tab-nav.vue var tab_nav_render, tab_nav_staticRenderFns /* normalize component */ var tab_nav_component = normalizeComponent( src_tab_navvue_type_script_lang_js_, tab_nav_render, tab_nav_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var tab_nav_api; } tab_nav_component.options.__file = "packages/tabs/src/tab-nav.vue" /* harmony default export */ var tab_nav = (tab_nav_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tabs.vue?vue&type=script&lang=js& /* harmony default export */ var tabsvue_type_script_lang_js_ = ({ name: 'ElTabs', components: { TabNav: tab_nav }, props: { type: String, activeName: String, closable: Boolean, addable: Boolean, value: {}, editable: Boolean, tabPosition: { type: String, default: 'top' }, beforeLeave: Function, stretch: Boolean }, provide: function provide() { return { rootTabs: this }; }, data: function data() { return { currentName: this.value || this.activeName, panes: [] }; }, watch: { activeName: function activeName(value) { this.setCurrentName(value); }, value: function value(_value) { this.setCurrentName(_value); }, currentName: function currentName(value) { var _this = this; if (this.$refs.nav) { this.$nextTick(function () { _this.$refs.nav.$nextTick(function (_) { _this.$refs.nav.scrollToActiveTab(); }); }); } } }, methods: { calcPaneInstances: function calcPaneInstances() { var _this2 = this; if (this.$slots.default) { var paneSlots = this.$slots.default.filter(function (vnode) { return vnode.tag && vnode.componentOptions && vnode.componentOptions.Ctor.options.name === 'ElTabPane'; }); // update indeed var panes = paneSlots.map(function (_ref) { var componentInstance = _ref.componentInstance; return componentInstance; }); if (!(panes.length === this.panes.length && panes.every(function (pane, index) { return pane === _this2.panes[index]; }))) { this.panes = panes; } } else if (this.panes.length !== 0) { this.panes = []; } }, handleTabClick: function handleTabClick(tab, tabName, event) { if (tab.disabled) return; this.setCurrentName(tabName); this.$emit('tab-click', tab, event); }, handleTabRemove: function handleTabRemove(pane, ev) { if (pane.disabled) return; ev.stopPropagation(); this.$emit('edit', pane.name, 'remove'); this.$emit('tab-remove', pane.name); }, handleTabAdd: function handleTabAdd() { this.$emit('edit', null, 'add'); this.$emit('tab-add'); }, setCurrentName: function setCurrentName(value) { var _this3 = this; var changeCurrentName = function changeCurrentName() { _this3.currentName = value; _this3.$emit('input', value); }; if (this.currentName !== value && this.beforeLeave) { var before = this.beforeLeave(value, this.currentName); if (before && before.then) { before.then(function () { changeCurrentName(); _this3.$refs.nav && _this3.$refs.nav.removeFocus(); }); } else if (before !== false) { changeCurrentName(); } } else { changeCurrentName(); } } }, render: function render(h) { var _ref2; var type = this.type, handleTabClick = this.handleTabClick, handleTabRemove = this.handleTabRemove, handleTabAdd = this.handleTabAdd, currentName = this.currentName, panes = this.panes, editable = this.editable, addable = this.addable, tabPosition = this.tabPosition, stretch = this.stretch; var newButton = editable || addable ? h( 'span', { 'class': 'el-tabs__new-tab', on: { 'click': handleTabAdd, 'keydown': function keydown(ev) { if (ev.keyCode === 13) { handleTabAdd(); } } }, attrs: { tabindex: '0' } }, [h('i', { 'class': 'el-icon-plus' })] ) : null; var navData = { props: { currentName: currentName, onTabClick: handleTabClick, onTabRemove: handleTabRemove, editable: editable, type: type, panes: panes, stretch: stretch }, ref: 'nav' }; var header = h( 'div', { 'class': ['el-tabs__header', 'is-' + tabPosition] }, [newButton, h('tab-nav', navData)] ); var panels = h( 'div', { 'class': 'el-tabs__content' }, [this.$slots.default] ); return h( 'div', { 'class': (_ref2 = { 'el-tabs': true, 'el-tabs--card': type === 'card' }, _ref2['el-tabs--' + tabPosition] = true, _ref2['el-tabs--border-card'] = type === 'border-card', _ref2) }, [tabPosition !== 'bottom' ? [header, panels] : [panels, header]] ); }, created: function created() { if (!this.currentName) { this.setCurrentName('0'); } }, mounted: function mounted() { this.calcPaneInstances(); }, updated: function updated() { this.calcPaneInstances(); } }); // CONCATENATED MODULE: ./packages/tabs/src/tabs.vue?vue&type=script&lang=js& /* harmony default export */ var src_tabsvue_type_script_lang_js_ = (tabsvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/tabs/src/tabs.vue var tabs_render, tabs_staticRenderFns /* normalize component */ var tabs_component = normalizeComponent( src_tabsvue_type_script_lang_js_, tabs_render, tabs_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var tabs_api; } tabs_component.options.__file = "packages/tabs/src/tabs.vue" /* harmony default export */ var tabs = (tabs_component.exports); // CONCATENATED MODULE: ./packages/tabs/index.js /* istanbul ignore next */ tabs.install = function (Vue) { Vue.component(tabs.name, tabs); }; /* harmony default export */ var packages_tabs = (tabs); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tab-pane.vue?vue&type=template&id=9145a070& var tab_panevue_type_template_id_9145a070_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return !_vm.lazy || _vm.loaded || _vm.active ? _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.active, expression: "active" } ], staticClass: "el-tab-pane", attrs: { role: "tabpanel", "aria-hidden": !_vm.active, id: "pane-" + _vm.paneName, "aria-labelledby": "tab-" + _vm.paneName } }, [_vm._t("default")], 2 ) : _vm._e() } var tab_panevue_type_template_id_9145a070_staticRenderFns = [] tab_panevue_type_template_id_9145a070_render._withStripped = true // CONCATENATED MODULE: ./packages/tabs/src/tab-pane.vue?vue&type=template&id=9145a070& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tab-pane.vue?vue&type=script&lang=js& // // // // // // // // // // // // // /* harmony default export */ var tab_panevue_type_script_lang_js_ = ({ name: 'ElTabPane', componentName: 'ElTabPane', props: { label: String, labelContent: Function, name: String, closable: Boolean, disabled: Boolean, lazy: Boolean }, data: function data() { return { index: null, loaded: false }; }, computed: { isClosable: function isClosable() { return this.closable || this.$parent.closable; }, active: function active() { var active = this.$parent.currentName === (this.name || this.index); if (active) { this.loaded = true; } return active; }, paneName: function paneName() { return this.name || this.index; } }, watch: { label: function label() { this.$parent.$forceUpdate(); } } }); // CONCATENATED MODULE: ./packages/tabs/src/tab-pane.vue?vue&type=script&lang=js& /* harmony default export */ var src_tab_panevue_type_script_lang_js_ = (tab_panevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/tabs/src/tab-pane.vue /* normalize component */ var tab_pane_component = normalizeComponent( src_tab_panevue_type_script_lang_js_, tab_panevue_type_template_id_9145a070_render, tab_panevue_type_template_id_9145a070_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var tab_pane_api; } tab_pane_component.options.__file = "packages/tabs/src/tab-pane.vue" /* harmony default export */ var tab_pane = (tab_pane_component.exports); // CONCATENATED MODULE: ./packages/tab-pane/index.js /* istanbul ignore next */ tab_pane.install = function (Vue) { Vue.component(tab_pane.name, tab_pane); }; /* harmony default export */ var packages_tab_pane = (tab_pane); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tag/src/tag.vue?vue&type=script&lang=js& /* harmony default export */ var tagvue_type_script_lang_js_ = ({ name: 'ElTag', props: { text: String, closable: Boolean, type: String, hit: Boolean, disableTransitions: Boolean, color: String, size: String }, methods: { handleClose: function handleClose(event) { event.stopPropagation(); this.$emit('close', event); }, handleClick: function handleClick(event) { event.stopPropagation(); this.$emit('click', event); } }, computed: { tagSize: function tagSize() { return this.size || (this.$ELEMENT || {}).size; } }, render: function render(h) { var classes = ['el-tag', this.type ? 'el-tag--' + this.type : '', this.tagSize ? 'el-tag--' + this.tagSize : '', { 'is-hit': this.hit }]; var tagEl = h( 'span', { 'class': classes, style: { backgroundColor: this.color }, on: { 'click': this.handleClick } }, [this.$slots.default, this.closable && h('i', { 'class': 'el-tag__close el-icon-close', on: { 'click': this.handleClose } })] ); return this.disableTransitions ? tagEl : h( 'transition', { attrs: { name: 'el-zoom-in-center' } }, [tagEl] ); } }); // CONCATENATED MODULE: ./packages/tag/src/tag.vue?vue&type=script&lang=js& /* harmony default export */ var src_tagvue_type_script_lang_js_ = (tagvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/tag/src/tag.vue var tag_render, tag_staticRenderFns /* normalize component */ var tag_component = normalizeComponent( src_tagvue_type_script_lang_js_, tag_render, tag_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var tag_api; } tag_component.options.__file = "packages/tag/src/tag.vue" /* harmony default export */ var tag = (tag_component.exports); // CONCATENATED MODULE: ./packages/tag/index.js /* istanbul ignore next */ tag.install = function (Vue) { Vue.component(tag.name, tag); }; /* harmony default export */ var packages_tag = (tag); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/tree.vue?vue&type=template&id=547575a6& var treevue_type_template_id_547575a6_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-tree", class: { "el-tree--highlight-current": _vm.highlightCurrent, "is-dragging": !!_vm.dragState.draggingNode, "is-drop-not-allow": !_vm.dragState.allowDrop, "is-drop-inner": _vm.dragState.dropType === "inner" }, attrs: { role: "tree" } }, [ _vm._l(_vm.root.childNodes, function(child) { return _c("el-tree-node", { key: _vm.getNodeKey(child), attrs: { node: child, props: _vm.props, "render-after-expand": _vm.renderAfterExpand, "show-checkbox": _vm.showCheckbox, "render-content": _vm.renderContent }, on: { "node-expand": _vm.handleNodeExpand } }) }), _vm.isEmpty ? _c("div", { staticClass: "el-tree__empty-block" }, [ _c("span", { staticClass: "el-tree__empty-text" }, [ _vm._v(_vm._s(_vm.emptyText)) ]) ]) : _vm._e(), _c("div", { directives: [ { name: "show", rawName: "v-show", value: _vm.dragState.showDropIndicator, expression: "dragState.showDropIndicator" } ], ref: "dropIndicator", staticClass: "el-tree__drop-indicator" }) ], 2 ) } var treevue_type_template_id_547575a6_staticRenderFns = [] treevue_type_template_id_547575a6_render._withStripped = true // CONCATENATED MODULE: ./packages/tree/src/tree.vue?vue&type=template&id=547575a6& // CONCATENATED MODULE: ./packages/tree/src/model/util.js var NODE_KEY = '$treeNodeId'; var markNodeData = function markNodeData(node, data) { if (!data || data[NODE_KEY]) return; Object.defineProperty(data, NODE_KEY, { value: node.id, enumerable: false, configurable: false, writable: false }); }; var util_getNodeKey = function getNodeKey(key, data) { if (!key) return data[NODE_KEY]; return data[key]; }; var findNearestComponent = function findNearestComponent(element, componentName) { var target = element; while (target && target.tagName !== 'BODY') { if (target.__vue__ && target.__vue__.$options.name === componentName) { return target.__vue__; } target = target.parentNode; } return null; }; // CONCATENATED MODULE: ./packages/tree/src/model/node.js var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); function node_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var getChildState = function getChildState(node) { var all = true; var none = true; var allWithoutDisable = true; for (var i = 0, j = node.length; i < j; i++) { var n = node[i]; if (n.checked !== true || n.indeterminate) { all = false; if (!n.disabled) { allWithoutDisable = false; } } if (n.checked !== false || n.indeterminate) { none = false; } } return { all: all, none: none, allWithoutDisable: allWithoutDisable, half: !all && !none }; }; var reInitChecked = function reInitChecked(node) { if (node.childNodes.length === 0) return; var _getChildState = getChildState(node.childNodes), all = _getChildState.all, none = _getChildState.none, half = _getChildState.half; if (all) { node.checked = true; node.indeterminate = false; } else if (half) { node.checked = false; node.indeterminate = true; } else if (none) { node.checked = false; node.indeterminate = false; } var parent = node.parent; if (!parent || parent.level === 0) return; if (!node.store.checkStrictly) { reInitChecked(parent); } }; var getPropertyFromData = function getPropertyFromData(node, prop) { var props = node.store.props; var data = node.data || {}; var config = props[prop]; if (typeof config === 'function') { return config(data, node); } else if (typeof config === 'string') { return data[config]; } else if (typeof config === 'undefined') { var dataProp = data[prop]; return dataProp === undefined ? '' : dataProp; } }; var nodeIdSeed = 0; var node_Node = function () { function Node(options) { node_classCallCheck(this, Node); this.id = nodeIdSeed++; this.text = null; this.checked = false; this.indeterminate = false; this.data = null; this.expanded = false; this.parent = null; this.visible = true; for (var name in options) { if (options.hasOwnProperty(name)) { this[name] = options[name]; } } // internal this.level = 0; this.loaded = false; this.childNodes = []; this.loading = false; if (this.parent) { this.level = this.parent.level + 1; } var store = this.store; if (!store) { throw new Error('[Node]store is required!'); } store.registerNode(this); var props = store.props; if (props && typeof props.isLeaf !== 'undefined') { var isLeaf = getPropertyFromData(this, 'isLeaf'); if (typeof isLeaf === 'boolean') { this.isLeafByUser = isLeaf; } } if (store.lazy !== true && this.data) { this.setData(this.data); if (store.defaultExpandAll) { this.expanded = true; } } else if (this.level > 0 && store.lazy && store.defaultExpandAll) { this.expand(); } if (!Array.isArray(this.data)) { markNodeData(this, this.data); } if (!this.data) return; var defaultExpandedKeys = store.defaultExpandedKeys; var key = store.key; if (key && defaultExpandedKeys && defaultExpandedKeys.indexOf(this.key) !== -1) { this.expand(null, store.autoExpandParent); } if (key && store.currentNodeKey !== undefined && this.key === store.currentNodeKey) { store.currentNode = this; } if (store.lazy) { store._initDefaultCheckedNode(this); } this.updateLeafState(); } Node.prototype.setData = function setData(data) { if (!Array.isArray(data)) { markNodeData(this, data); } this.data = data; this.childNodes = []; var children = void 0; if (this.level === 0 && this.data instanceof Array) { children = this.data; } else { children = getPropertyFromData(this, 'children') || []; } for (var i = 0, j = children.length; i < j; i++) { this.insertChild({ data: children[i] }); } }; Node.prototype.contains = function contains(target) { var deep = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; var walk = function walk(parent) { var children = parent.childNodes || []; var result = false; for (var i = 0, j = children.length; i < j; i++) { var child = children[i]; if (child === target || deep && walk(child)) { result = true; break; } } return result; }; return walk(this); }; Node.prototype.remove = function remove() { var parent = this.parent; if (parent) { parent.removeChild(this); } }; Node.prototype.insertChild = function insertChild(child, index, batch) { if (!child) throw new Error('insertChild error: child is required.'); if (!(child instanceof Node)) { if (!batch) { var children = this.getChildren(true); if (children.indexOf(child.data) === -1) { if (typeof index === 'undefined' || index < 0) { children.push(child.data); } else { children.splice(index, 0, child.data); } } } merge_default()(child, { parent: this, store: this.store }); child = new Node(child); } child.level = this.level + 1; if (typeof index === 'undefined' || index < 0) { this.childNodes.push(child); } else { this.childNodes.splice(index, 0, child); } this.updateLeafState(); }; Node.prototype.insertBefore = function insertBefore(child, ref) { var index = void 0; if (ref) { index = this.childNodes.indexOf(ref); } this.insertChild(child, index); }; Node.prototype.insertAfter = function insertAfter(child, ref) { var index = void 0; if (ref) { index = this.childNodes.indexOf(ref); if (index !== -1) index += 1; } this.insertChild(child, index); }; Node.prototype.removeChild = function removeChild(child) { var children = this.getChildren() || []; var dataIndex = children.indexOf(child.data); if (dataIndex > -1) { children.splice(dataIndex, 1); } var index = this.childNodes.indexOf(child); if (index > -1) { this.store && this.store.deregisterNode(child); child.parent = null; this.childNodes.splice(index, 1); } this.updateLeafState(); }; Node.prototype.removeChildByData = function removeChildByData(data) { var targetNode = null; for (var i = 0; i < this.childNodes.length; i++) { if (this.childNodes[i].data === data) { targetNode = this.childNodes[i]; break; } } if (targetNode) { this.removeChild(targetNode); } }; Node.prototype.expand = function expand(callback, expandParent) { var _this = this; var done = function done() { if (expandParent) { var parent = _this.parent; while (parent.level > 0) { parent.expanded = true; parent = parent.parent; } } _this.expanded = true; if (callback) callback(); }; if (this.shouldLoadData()) { this.loadData(function (data) { if (data instanceof Array) { if (_this.checked) { _this.setChecked(true, true); } else if (!_this.store.checkStrictly) { reInitChecked(_this); } done(); } }); } else { done(); } }; Node.prototype.doCreateChildren = function doCreateChildren(array) { var _this2 = this; var defaultProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; array.forEach(function (item) { _this2.insertChild(merge_default()({ data: item }, defaultProps), undefined, true); }); }; Node.prototype.collapse = function collapse() { this.expanded = false; }; Node.prototype.shouldLoadData = function shouldLoadData() { return this.store.lazy === true && this.store.load && !this.loaded; }; Node.prototype.updateLeafState = function updateLeafState() { if (this.store.lazy === true && this.loaded !== true && typeof this.isLeafByUser !== 'undefined') { this.isLeaf = this.isLeafByUser; return; } var childNodes = this.childNodes; if (!this.store.lazy || this.store.lazy === true && this.loaded === true) { this.isLeaf = !childNodes || childNodes.length === 0; return; } this.isLeaf = false; }; Node.prototype.setChecked = function setChecked(value, deep, recursion, passValue) { var _this3 = this; this.indeterminate = value === 'half'; this.checked = value === true; if (this.store.checkStrictly) return; if (!(this.shouldLoadData() && !this.store.checkDescendants)) { var _getChildState2 = getChildState(this.childNodes), all = _getChildState2.all, allWithoutDisable = _getChildState2.allWithoutDisable; if (!this.isLeaf && !all && allWithoutDisable) { this.checked = false; value = false; } var handleDescendants = function handleDescendants() { if (deep) { var childNodes = _this3.childNodes; for (var i = 0, j = childNodes.length; i < j; i++) { var child = childNodes[i]; passValue = passValue || value !== false; var isCheck = child.disabled ? child.checked : passValue; child.setChecked(isCheck, deep, true, passValue); } var _getChildState3 = getChildState(childNodes), half = _getChildState3.half, _all = _getChildState3.all; if (!_all) { _this3.checked = _all; _this3.indeterminate = half; } } }; if (this.shouldLoadData()) { // Only work on lazy load data. this.loadData(function () { handleDescendants(); reInitChecked(_this3); }, { checked: value !== false }); return; } else { handleDescendants(); } } var parent = this.parent; if (!parent || parent.level === 0) return; if (!recursion) { reInitChecked(parent); } }; Node.prototype.getChildren = function getChildren() { var forceInit = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; // this is data if (this.level === 0) return this.data; var data = this.data; if (!data) return null; var props = this.store.props; var children = 'children'; if (props) { children = props.children || 'children'; } if (data[children] === undefined) { data[children] = null; } if (forceInit && !data[children]) { data[children] = []; } return data[children]; }; Node.prototype.updateChildren = function updateChildren() { var _this4 = this; var newData = this.getChildren() || []; var oldData = this.childNodes.map(function (node) { return node.data; }); var newDataMap = {}; var newNodes = []; newData.forEach(function (item, index) { if (item[NODE_KEY]) { newDataMap[item[NODE_KEY]] = { index: index, data: item }; } else { newNodes.push({ index: index, data: item }); } }); if (!this.store.lazy) { oldData.forEach(function (item) { if (!newDataMap[item[NODE_KEY]]) _this4.removeChildByData(item); }); } newNodes.forEach(function (_ref) { var index = _ref.index, data = _ref.data; _this4.insertChild({ data: data }, index); }); this.updateLeafState(); }; Node.prototype.loadData = function loadData(callback) { var _this5 = this; var defaultProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; if (this.store.lazy === true && this.store.load && !this.loaded && (!this.loading || Object.keys(defaultProps).length)) { this.loading = true; var resolve = function resolve(children) { _this5.loaded = true; _this5.loading = false; _this5.childNodes = []; _this5.doCreateChildren(children, defaultProps); _this5.updateLeafState(); reInitChecked(_this5); if (callback) { callback.call(_this5, children); } }; this.store.load(this, resolve); } else { if (callback) { callback.call(this); } } }; _createClass(Node, [{ key: 'label', get: function get() { return getPropertyFromData(this, 'label'); } }, { key: 'key', get: function get() { var nodeKey = this.store.key; if (this.data) return this.data[nodeKey]; return null; } }, { key: 'disabled', get: function get() { return getPropertyFromData(this, 'disabled'); } }, { key: 'nextSibling', get: function get() { var parent = this.parent; if (parent) { var index = parent.childNodes.indexOf(this); if (index > -1) { return parent.childNodes[index + 1]; } } return null; } }, { key: 'previousSibling', get: function get() { var parent = this.parent; if (parent) { var index = parent.childNodes.indexOf(this); if (index > -1) { return index > 0 ? parent.childNodes[index - 1] : null; } } return null; } }]); return Node; }(); /* harmony default export */ var model_node = (node_Node); // CONCATENATED MODULE: ./packages/tree/src/model/tree-store.js var tree_store_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; function tree_store_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var tree_store_TreeStore = function () { function TreeStore(options) { var _this = this; tree_store_classCallCheck(this, TreeStore); this.currentNode = null; this.currentNodeKey = null; for (var option in options) { if (options.hasOwnProperty(option)) { this[option] = options[option]; } } this.nodesMap = {}; this.root = new model_node({ data: this.data, store: this }); if (this.lazy && this.load) { var loadFn = this.load; loadFn(this.root, function (data) { _this.root.doCreateChildren(data); _this._initDefaultCheckedNodes(); }); } else { this._initDefaultCheckedNodes(); } } TreeStore.prototype.filter = function filter(value) { var filterNodeMethod = this.filterNodeMethod; var lazy = this.lazy; var traverse = function traverse(node) { var childNodes = node.root ? node.root.childNodes : node.childNodes; childNodes.forEach(function (child) { child.visible = filterNodeMethod.call(child, value, child.data, child); traverse(child); }); if (!node.visible && childNodes.length) { var allHidden = true; childNodes.forEach(function (child) { if (child.visible) allHidden = false; }); if (node.root) { node.root.visible = allHidden === false; } else { node.visible = allHidden === false; } } if (!value) return; if (node.visible && !node.isLeaf && !lazy) node.expand(); }; traverse(this); }; TreeStore.prototype.setData = function setData(newVal) { var instanceChanged = newVal !== this.root.data; if (instanceChanged) { this.root.setData(newVal); this._initDefaultCheckedNodes(); } else { this.root.updateChildren(); } }; TreeStore.prototype.getNode = function getNode(data) { if (data instanceof model_node) return data; var key = (typeof data === 'undefined' ? 'undefined' : tree_store_typeof(data)) !== 'object' ? data : util_getNodeKey(this.key, data); return this.nodesMap[key] || null; }; TreeStore.prototype.insertBefore = function insertBefore(data, refData) { var refNode = this.getNode(refData); refNode.parent.insertBefore({ data: data }, refNode); }; TreeStore.prototype.insertAfter = function insertAfter(data, refData) { var refNode = this.getNode(refData); refNode.parent.insertAfter({ data: data }, refNode); }; TreeStore.prototype.remove = function remove(data) { var node = this.getNode(data); if (node && node.parent) { node.parent.removeChild(node); } }; TreeStore.prototype.append = function append(data, parentData) { var parentNode = parentData ? this.getNode(parentData) : this.root; if (parentNode) { parentNode.insertChild({ data: data }); } }; TreeStore.prototype._initDefaultCheckedNodes = function _initDefaultCheckedNodes() { var _this2 = this; var defaultCheckedKeys = this.defaultCheckedKeys || []; var nodesMap = this.nodesMap; defaultCheckedKeys.forEach(function (checkedKey) { var node = nodesMap[checkedKey]; if (node) { node.setChecked(true, !_this2.checkStrictly); } }); }; TreeStore.prototype._initDefaultCheckedNode = function _initDefaultCheckedNode(node) { var defaultCheckedKeys = this.defaultCheckedKeys || []; if (defaultCheckedKeys.indexOf(node.key) !== -1) { node.setChecked(true, !this.checkStrictly); } }; TreeStore.prototype.setDefaultCheckedKey = function setDefaultCheckedKey(newVal) { if (newVal !== this.defaultCheckedKeys) { this.defaultCheckedKeys = newVal; this._initDefaultCheckedNodes(); } }; TreeStore.prototype.registerNode = function registerNode(node) { var key = this.key; if (!key || !node || !node.data) return; var nodeKey = node.key; if (nodeKey !== undefined) this.nodesMap[node.key] = node; }; TreeStore.prototype.deregisterNode = function deregisterNode(node) { var _this3 = this; var key = this.key; if (!key || !node || !node.data) return; node.childNodes.forEach(function (child) { _this3.deregisterNode(child); }); delete this.nodesMap[node.key]; }; TreeStore.prototype.getCheckedNodes = function getCheckedNodes() { var leafOnly = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var includeHalfChecked = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var checkedNodes = []; var traverse = function traverse(node) { var childNodes = node.root ? node.root.childNodes : node.childNodes; childNodes.forEach(function (child) { if ((child.checked || includeHalfChecked && child.indeterminate) && (!leafOnly || leafOnly && child.isLeaf)) { checkedNodes.push(child.data); } traverse(child); }); }; traverse(this); return checkedNodes; }; TreeStore.prototype.getCheckedKeys = function getCheckedKeys() { var _this4 = this; var leafOnly = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; return this.getCheckedNodes(leafOnly).map(function (data) { return (data || {})[_this4.key]; }); }; TreeStore.prototype.getHalfCheckedNodes = function getHalfCheckedNodes() { var nodes = []; var traverse = function traverse(node) { var childNodes = node.root ? node.root.childNodes : node.childNodes; childNodes.forEach(function (child) { if (child.indeterminate) { nodes.push(child.data); } traverse(child); }); }; traverse(this); return nodes; }; TreeStore.prototype.getHalfCheckedKeys = function getHalfCheckedKeys() { var _this5 = this; return this.getHalfCheckedNodes().map(function (data) { return (data || {})[_this5.key]; }); }; TreeStore.prototype._getAllNodes = function _getAllNodes() { var allNodes = []; var nodesMap = this.nodesMap; for (var nodeKey in nodesMap) { if (nodesMap.hasOwnProperty(nodeKey)) { allNodes.push(nodesMap[nodeKey]); } } return allNodes; }; TreeStore.prototype.updateChildren = function updateChildren(key, data) { var node = this.nodesMap[key]; if (!node) return; var childNodes = node.childNodes; for (var i = childNodes.length - 1; i >= 0; i--) { var child = childNodes[i]; this.remove(child.data); } for (var _i = 0, j = data.length; _i < j; _i++) { var _child = data[_i]; this.append(_child, node.data); } }; TreeStore.prototype._setCheckedKeys = function _setCheckedKeys(key) { var leafOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var checkedKeys = arguments[2]; var allNodes = this._getAllNodes().sort(function (a, b) { return b.level - a.level; }); var cache = Object.create(null); var keys = Object.keys(checkedKeys); allNodes.forEach(function (node) { return node.setChecked(false, false); }); for (var i = 0, j = allNodes.length; i < j; i++) { var node = allNodes[i]; var nodeKey = node.data[key].toString(); var checked = keys.indexOf(nodeKey) > -1; if (!checked) { if (node.checked && !cache[nodeKey]) { node.setChecked(false, false); } continue; } var parent = node.parent; while (parent && parent.level > 0) { cache[parent.data[key]] = true; parent = parent.parent; } if (node.isLeaf || this.checkStrictly) { node.setChecked(true, false); continue; } node.setChecked(true, true); if (leafOnly) { (function () { node.setChecked(false, false); var traverse = function traverse(node) { var childNodes = node.childNodes; childNodes.forEach(function (child) { if (!child.isLeaf) { child.setChecked(false, false); } traverse(child); }); }; traverse(node); })(); } } }; TreeStore.prototype.setCheckedNodes = function setCheckedNodes(array) { var leafOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var key = this.key; var checkedKeys = {}; array.forEach(function (item) { checkedKeys[(item || {})[key]] = true; }); this._setCheckedKeys(key, leafOnly, checkedKeys); }; TreeStore.prototype.setCheckedKeys = function setCheckedKeys(keys) { var leafOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; this.defaultCheckedKeys = keys; var key = this.key; var checkedKeys = {}; keys.forEach(function (key) { checkedKeys[key] = true; }); this._setCheckedKeys(key, leafOnly, checkedKeys); }; TreeStore.prototype.setDefaultExpandedKeys = function setDefaultExpandedKeys(keys) { var _this6 = this; keys = keys || []; this.defaultExpandedKeys = keys; keys.forEach(function (key) { var node = _this6.getNode(key); if (node) node.expand(null, _this6.autoExpandParent); }); }; TreeStore.prototype.setChecked = function setChecked(data, checked, deep) { var node = this.getNode(data); if (node) { node.setChecked(!!checked, deep); } }; TreeStore.prototype.getCurrentNode = function getCurrentNode() { return this.currentNode; }; TreeStore.prototype.setCurrentNode = function setCurrentNode(node) { this.currentNode = node; }; TreeStore.prototype.setUserCurrentNode = function setUserCurrentNode(node) { var key = node[this.key]; var currNode = this.nodesMap[key]; this.setCurrentNode(currNode); }; TreeStore.prototype.setCurrentNodeKey = function setCurrentNodeKey(key) { if (key === null) { this.currentNode = null; return; } var node = this.getNode(key); if (node) { this.currentNode = node; } }; return TreeStore; }(); /* harmony default export */ var tree_store = (tree_store_TreeStore); ; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/tree-node.vue?vue&type=template&id=3ba3ef0e& var tree_nodevue_type_template_id_3ba3ef0e_render = function() { var this$1 = this var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.node.visible, expression: "node.visible" } ], ref: "node", staticClass: "el-tree-node", class: { "is-expanded": _vm.expanded, "is-current": _vm.tree.store.currentNode === _vm.node, "is-hidden": !_vm.node.visible, "is-focusable": !_vm.node.disabled, "is-checked": !_vm.node.disabled && _vm.node.checked }, attrs: { role: "treeitem", tabindex: "-1", "aria-expanded": _vm.expanded, "aria-disabled": _vm.node.disabled, "aria-checked": _vm.node.checked, draggable: _vm.tree.draggable }, on: { click: function($event) { $event.stopPropagation() return _vm.handleClick($event) }, contextmenu: function($event) { return this$1.handleContextMenu($event) }, dragstart: function($event) { $event.stopPropagation() return _vm.handleDragStart($event) }, dragover: function($event) { $event.stopPropagation() return _vm.handleDragOver($event) }, dragend: function($event) { $event.stopPropagation() return _vm.handleDragEnd($event) }, drop: function($event) { $event.stopPropagation() return _vm.handleDrop($event) } } }, [ _c( "div", { staticClass: "el-tree-node__content", style: { "padding-left": (_vm.node.level - 1) * _vm.tree.indent + "px" } }, [ _c("span", { class: [ { "is-leaf": _vm.node.isLeaf, expanded: !_vm.node.isLeaf && _vm.expanded }, "el-tree-node__expand-icon", _vm.tree.iconClass ? _vm.tree.iconClass : "el-icon-caret-right" ], on: { click: function($event) { $event.stopPropagation() return _vm.handleExpandIconClick($event) } } }), _vm.showCheckbox ? _c("el-checkbox", { attrs: { indeterminate: _vm.node.indeterminate, disabled: !!_vm.node.disabled }, on: { change: _vm.handleCheckChange }, nativeOn: { click: function($event) { $event.stopPropagation() } }, model: { value: _vm.node.checked, callback: function($$v) { _vm.$set(_vm.node, "checked", $$v) }, expression: "node.checked" } }) : _vm._e(), _vm.node.loading ? _c("span", { staticClass: "el-tree-node__loading-icon el-icon-loading" }) : _vm._e(), _c("node-content", { attrs: { node: _vm.node } }) ], 1 ), _c("el-collapse-transition", [ !_vm.renderAfterExpand || _vm.childNodeRendered ? _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.expanded, expression: "expanded" } ], staticClass: "el-tree-node__children", attrs: { role: "group", "aria-expanded": _vm.expanded } }, _vm._l(_vm.node.childNodes, function(child) { return _c("el-tree-node", { key: _vm.getNodeKey(child), attrs: { "render-content": _vm.renderContent, "render-after-expand": _vm.renderAfterExpand, "show-checkbox": _vm.showCheckbox, node: child }, on: { "node-expand": _vm.handleChildNodeExpand } }) }), 1 ) : _vm._e() ]) ], 1 ) } var tree_nodevue_type_template_id_3ba3ef0e_staticRenderFns = [] tree_nodevue_type_template_id_3ba3ef0e_render._withStripped = true // CONCATENATED MODULE: ./packages/tree/src/tree-node.vue?vue&type=template&id=3ba3ef0e& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/tree-node.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var tree_nodevue_type_script_lang_js_ = ({ name: 'ElTreeNode', componentName: 'ElTreeNode', mixins: [emitter_default.a], props: { node: { default: function _default() { return {}; } }, props: {}, renderContent: Function, renderAfterExpand: { type: Boolean, default: true }, showCheckbox: { type: Boolean, default: false } }, components: { ElCollapseTransition: collapse_transition_default.a, ElCheckbox: checkbox_default.a, NodeContent: { props: { node: { required: true } }, render: function render(h) { var parent = this.$parent; var tree = parent.tree; var node = this.node; var data = node.data, store = node.store; return parent.renderContent ? parent.renderContent.call(parent._renderProxy, h, { _self: tree.$vnode.context, node: node, data: data, store: store }) : tree.$scopedSlots.default ? tree.$scopedSlots.default({ node: node, data: data }) : h( 'span', { 'class': 'el-tree-node__label' }, [node.label] ); } } }, data: function data() { return { tree: null, expanded: false, childNodeRendered: false, oldChecked: null, oldIndeterminate: null }; }, watch: { 'node.indeterminate': function nodeIndeterminate(val) { this.handleSelectChange(this.node.checked, val); }, 'node.checked': function nodeChecked(val) { this.handleSelectChange(val, this.node.indeterminate); }, 'node.expanded': function nodeExpanded(val) { var _this = this; this.$nextTick(function () { return _this.expanded = val; }); if (val) { this.childNodeRendered = true; } } }, methods: { getNodeKey: function getNodeKey(node) { return util_getNodeKey(this.tree.nodeKey, node.data); }, handleSelectChange: function handleSelectChange(checked, indeterminate) { if (this.oldChecked !== checked && this.oldIndeterminate !== indeterminate) { this.tree.$emit('check-change', this.node.data, checked, indeterminate); } this.oldChecked = checked; this.indeterminate = indeterminate; }, handleClick: function handleClick() { var store = this.tree.store; store.setCurrentNode(this.node); this.tree.$emit('current-change', store.currentNode ? store.currentNode.data : null, store.currentNode); this.tree.currentNode = this; if (this.tree.expandOnClickNode) { this.handleExpandIconClick(); } if (this.tree.checkOnClickNode && !this.node.disabled) { this.handleCheckChange(null, { target: { checked: !this.node.checked } }); } this.tree.$emit('node-click', this.node.data, this.node, this); }, handleContextMenu: function handleContextMenu(event) { if (this.tree._events['node-contextmenu'] && this.tree._events['node-contextmenu'].length > 0) { event.stopPropagation(); event.preventDefault(); } this.tree.$emit('node-contextmenu', event, this.node.data, this.node, this); }, handleExpandIconClick: function handleExpandIconClick() { if (this.node.isLeaf) return; if (this.expanded) { this.tree.$emit('node-collapse', this.node.data, this.node, this); this.node.collapse(); } else { this.node.expand(); this.$emit('node-expand', this.node.data, this.node, this); } }, handleCheckChange: function handleCheckChange(value, ev) { var _this2 = this; this.node.setChecked(ev.target.checked, !this.tree.checkStrictly); this.$nextTick(function () { var store = _this2.tree.store; _this2.tree.$emit('check', _this2.node.data, { checkedNodes: store.getCheckedNodes(), checkedKeys: store.getCheckedKeys(), halfCheckedNodes: store.getHalfCheckedNodes(), halfCheckedKeys: store.getHalfCheckedKeys() }); }); }, handleChildNodeExpand: function handleChildNodeExpand(nodeData, node, instance) { this.broadcast('ElTreeNode', 'tree-node-expand', node); this.tree.$emit('node-expand', nodeData, node, instance); }, handleDragStart: function handleDragStart(event) { if (!this.tree.draggable) return; this.tree.$emit('tree-node-drag-start', event, this); }, handleDragOver: function handleDragOver(event) { if (!this.tree.draggable) return; this.tree.$emit('tree-node-drag-over', event, this); event.preventDefault(); }, handleDrop: function handleDrop(event) { event.preventDefault(); }, handleDragEnd: function handleDragEnd(event) { if (!this.tree.draggable) return; this.tree.$emit('tree-node-drag-end', event, this); } }, created: function created() { var _this3 = this; var parent = this.$parent; if (parent.isTree) { this.tree = parent; } else { this.tree = parent.tree; } var tree = this.tree; if (!tree) { console.warn('Can not find node\'s tree.'); } var props = tree.props || {}; var childrenKey = props['children'] || 'children'; this.$watch('node.data.' + childrenKey, function () { _this3.node.updateChildren(); }); if (this.node.expanded) { this.expanded = true; this.childNodeRendered = true; } if (this.tree.accordion) { this.$on('tree-node-expand', function (node) { if (_this3.node !== node) { _this3.node.collapse(); } }); } } }); // CONCATENATED MODULE: ./packages/tree/src/tree-node.vue?vue&type=script&lang=js& /* harmony default export */ var src_tree_nodevue_type_script_lang_js_ = (tree_nodevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/tree/src/tree-node.vue /* normalize component */ var tree_node_component = normalizeComponent( src_tree_nodevue_type_script_lang_js_, tree_nodevue_type_template_id_3ba3ef0e_render, tree_nodevue_type_template_id_3ba3ef0e_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var tree_node_api; } tree_node_component.options.__file = "packages/tree/src/tree-node.vue" /* harmony default export */ var tree_node = (tree_node_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/tree.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var treevue_type_script_lang_js_ = ({ name: 'ElTree', mixins: [emitter_default.a], components: { ElTreeNode: tree_node }, data: function data() { return { store: null, root: null, currentNode: null, treeItems: null, checkboxItems: [], dragState: { showDropIndicator: false, draggingNode: null, dropNode: null, allowDrop: true } }; }, props: { data: { type: Array }, emptyText: { type: String, default: function _default() { return Object(lib_locale_["t"])('el.tree.emptyText'); } }, renderAfterExpand: { type: Boolean, default: true }, nodeKey: String, checkStrictly: Boolean, defaultExpandAll: Boolean, expandOnClickNode: { type: Boolean, default: true }, checkOnClickNode: Boolean, checkDescendants: { type: Boolean, default: false }, autoExpandParent: { type: Boolean, default: true }, defaultCheckedKeys: Array, defaultExpandedKeys: Array, currentNodeKey: [String, Number], renderContent: Function, showCheckbox: { type: Boolean, default: false }, draggable: { type: Boolean, default: false }, allowDrag: Function, allowDrop: Function, props: { default: function _default() { return { children: 'children', label: 'label', disabled: 'disabled' }; } }, lazy: { type: Boolean, default: false }, highlightCurrent: Boolean, load: Function, filterNodeMethod: Function, accordion: Boolean, indent: { type: Number, default: 18 }, iconClass: String }, computed: { children: { set: function set(value) { this.data = value; }, get: function get() { return this.data; } }, treeItemArray: function treeItemArray() { return Array.prototype.slice.call(this.treeItems); }, isEmpty: function isEmpty() { var childNodes = this.root.childNodes; return !childNodes || childNodes.length === 0 || childNodes.every(function (_ref) { var visible = _ref.visible; return !visible; }); } }, watch: { defaultCheckedKeys: function defaultCheckedKeys(newVal) { this.store.setDefaultCheckedKey(newVal); }, defaultExpandedKeys: function defaultExpandedKeys(newVal) { this.store.defaultExpandedKeys = newVal; this.store.setDefaultExpandedKeys(newVal); }, data: function data(newVal) { this.store.setData(newVal); }, checkboxItems: function checkboxItems(val) { Array.prototype.forEach.call(val, function (checkbox) { checkbox.setAttribute('tabindex', -1); }); }, checkStrictly: function checkStrictly(newVal) { this.store.checkStrictly = newVal; } }, methods: { filter: function filter(value) { if (!this.filterNodeMethod) throw new Error('[Tree] filterNodeMethod is required when filter'); this.store.filter(value); }, getNodeKey: function getNodeKey(node) { return util_getNodeKey(this.nodeKey, node.data); }, getNodePath: function getNodePath(data) { if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in getNodePath'); var node = this.store.getNode(data); if (!node) return []; var path = [node.data]; var parent = node.parent; while (parent && parent !== this.root) { path.push(parent.data); parent = parent.parent; } return path.reverse(); }, getCheckedNodes: function getCheckedNodes(leafOnly, includeHalfChecked) { return this.store.getCheckedNodes(leafOnly, includeHalfChecked); }, getCheckedKeys: function getCheckedKeys(leafOnly) { return this.store.getCheckedKeys(leafOnly); }, getCurrentNode: function getCurrentNode() { var currentNode = this.store.getCurrentNode(); return currentNode ? currentNode.data : null; }, getCurrentKey: function getCurrentKey() { if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in getCurrentKey'); var currentNode = this.getCurrentNode(); return currentNode ? currentNode[this.nodeKey] : null; }, setCheckedNodes: function setCheckedNodes(nodes, leafOnly) { if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in setCheckedNodes'); this.store.setCheckedNodes(nodes, leafOnly); }, setCheckedKeys: function setCheckedKeys(keys, leafOnly) { if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in setCheckedKeys'); this.store.setCheckedKeys(keys, leafOnly); }, setChecked: function setChecked(data, checked, deep) { this.store.setChecked(data, checked, deep); }, getHalfCheckedNodes: function getHalfCheckedNodes() { return this.store.getHalfCheckedNodes(); }, getHalfCheckedKeys: function getHalfCheckedKeys() { return this.store.getHalfCheckedKeys(); }, setCurrentNode: function setCurrentNode(node) { if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in setCurrentNode'); this.store.setUserCurrentNode(node); }, setCurrentKey: function setCurrentKey(key) { if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in setCurrentKey'); this.store.setCurrentNodeKey(key); }, getNode: function getNode(data) { return this.store.getNode(data); }, remove: function remove(data) { this.store.remove(data); }, append: function append(data, parentNode) { this.store.append(data, parentNode); }, insertBefore: function insertBefore(data, refNode) { this.store.insertBefore(data, refNode); }, insertAfter: function insertAfter(data, refNode) { this.store.insertAfter(data, refNode); }, handleNodeExpand: function handleNodeExpand(nodeData, node, instance) { this.broadcast('ElTreeNode', 'tree-node-expand', node); this.$emit('node-expand', nodeData, node, instance); }, updateKeyChildren: function updateKeyChildren(key, data) { if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in updateKeyChild'); this.store.updateChildren(key, data); }, initTabIndex: function initTabIndex() { this.treeItems = this.$el.querySelectorAll('.is-focusable[role=treeitem]'); this.checkboxItems = this.$el.querySelectorAll('input[type=checkbox]'); var checkedItem = this.$el.querySelectorAll('.is-checked[role=treeitem]'); if (checkedItem.length) { checkedItem[0].setAttribute('tabindex', 0); return; } this.treeItems[0] && this.treeItems[0].setAttribute('tabindex', 0); }, handleKeydown: function handleKeydown(ev) { var currentItem = ev.target; if (currentItem.className.indexOf('el-tree-node') === -1) return; var keyCode = ev.keyCode; this.treeItems = this.$el.querySelectorAll('.is-focusable[role=treeitem]'); var currentIndex = this.treeItemArray.indexOf(currentItem); var nextIndex = void 0; if ([38, 40].indexOf(keyCode) > -1) { // up、down ev.preventDefault(); if (keyCode === 38) { // up nextIndex = currentIndex !== 0 ? currentIndex - 1 : 0; } else { nextIndex = currentIndex < this.treeItemArray.length - 1 ? currentIndex + 1 : 0; } this.treeItemArray[nextIndex].focus(); // 选中 } if ([37, 39].indexOf(keyCode) > -1) { // left、right 展开 ev.preventDefault(); currentItem.click(); // 选中 } var hasInput = currentItem.querySelector('[type="checkbox"]'); if ([13, 32].indexOf(keyCode) > -1 && hasInput) { // space enter选中checkbox ev.preventDefault(); hasInput.click(); } } }, created: function created() { var _this = this; this.isTree = true; this.store = new tree_store({ key: this.nodeKey, data: this.data, lazy: this.lazy, props: this.props, load: this.load, currentNodeKey: this.currentNodeKey, checkStrictly: this.checkStrictly, checkDescendants: this.checkDescendants, defaultCheckedKeys: this.defaultCheckedKeys, defaultExpandedKeys: this.defaultExpandedKeys, autoExpandParent: this.autoExpandParent, defaultExpandAll: this.defaultExpandAll, filterNodeMethod: this.filterNodeMethod }); this.root = this.store.root; var dragState = this.dragState; this.$on('tree-node-drag-start', function (event, treeNode) { if (typeof _this.allowDrag === 'function' && !_this.allowDrag(treeNode.node)) { event.preventDefault(); return false; } event.dataTransfer.effectAllowed = 'move'; // wrap in try catch to address IE's error when first param is 'text/plain' try { // setData is required for draggable to work in FireFox // the content has to be '' so dragging a node out of the tree won't open a new tab in FireFox event.dataTransfer.setData('text/plain', ''); } catch (e) {} dragState.draggingNode = treeNode; _this.$emit('node-drag-start', treeNode.node, event); }); this.$on('tree-node-drag-over', function (event, treeNode) { var dropNode = findNearestComponent(event.target, 'ElTreeNode'); var oldDropNode = dragState.dropNode; if (oldDropNode && oldDropNode !== dropNode) { Object(dom_["removeClass"])(oldDropNode.$el, 'is-drop-inner'); } var draggingNode = dragState.draggingNode; if (!draggingNode || !dropNode) return; var dropPrev = true; var dropInner = true; var dropNext = true; var userAllowDropInner = true; if (typeof _this.allowDrop === 'function') { dropPrev = _this.allowDrop(draggingNode.node, dropNode.node, 'prev'); userAllowDropInner = dropInner = _this.allowDrop(draggingNode.node, dropNode.node, 'inner'); dropNext = _this.allowDrop(draggingNode.node, dropNode.node, 'next'); } event.dataTransfer.dropEffect = dropInner ? 'move' : 'none'; if ((dropPrev || dropInner || dropNext) && oldDropNode !== dropNode) { if (oldDropNode) { _this.$emit('node-drag-leave', draggingNode.node, oldDropNode.node, event); } _this.$emit('node-drag-enter', draggingNode.node, dropNode.node, event); } if (dropPrev || dropInner || dropNext) { dragState.dropNode = dropNode; } if (dropNode.node.nextSibling === draggingNode.node) { dropNext = false; } if (dropNode.node.previousSibling === draggingNode.node) { dropPrev = false; } if (dropNode.node.contains(draggingNode.node, false)) { dropInner = false; } if (draggingNode.node === dropNode.node || draggingNode.node.contains(dropNode.node)) { dropPrev = false; dropInner = false; dropNext = false; } var targetPosition = dropNode.$el.getBoundingClientRect(); var treePosition = _this.$el.getBoundingClientRect(); var dropType = void 0; var prevPercent = dropPrev ? dropInner ? 0.25 : dropNext ? 0.45 : 1 : -1; var nextPercent = dropNext ? dropInner ? 0.75 : dropPrev ? 0.55 : 0 : 1; var indicatorTop = -9999; var distance = event.clientY - targetPosition.top; if (distance < targetPosition.height * prevPercent) { dropType = 'before'; } else if (distance > targetPosition.height * nextPercent) { dropType = 'after'; } else if (dropInner) { dropType = 'inner'; } else { dropType = 'none'; } var iconPosition = dropNode.$el.querySelector('.el-tree-node__expand-icon').getBoundingClientRect(); var dropIndicator = _this.$refs.dropIndicator; if (dropType === 'before') { indicatorTop = iconPosition.top - treePosition.top; } else if (dropType === 'after') { indicatorTop = iconPosition.bottom - treePosition.top; } dropIndicator.style.top = indicatorTop + 'px'; dropIndicator.style.left = iconPosition.right - treePosition.left + 'px'; if (dropType === 'inner') { Object(dom_["addClass"])(dropNode.$el, 'is-drop-inner'); } else { Object(dom_["removeClass"])(dropNode.$el, 'is-drop-inner'); } dragState.showDropIndicator = dropType === 'before' || dropType === 'after'; dragState.allowDrop = dragState.showDropIndicator || userAllowDropInner; dragState.dropType = dropType; _this.$emit('node-drag-over', draggingNode.node, dropNode.node, event); }); this.$on('tree-node-drag-end', function (event) { var draggingNode = dragState.draggingNode, dropType = dragState.dropType, dropNode = dragState.dropNode; event.preventDefault(); event.dataTransfer.dropEffect = 'move'; if (draggingNode && dropNode) { var draggingNodeCopy = { data: draggingNode.node.data }; if (dropType !== 'none') { draggingNode.node.remove(); } if (dropType === 'before') { dropNode.node.parent.insertBefore(draggingNodeCopy, dropNode.node); } else if (dropType === 'after') { dropNode.node.parent.insertAfter(draggingNodeCopy, dropNode.node); } else if (dropType === 'inner') { dropNode.node.insertChild(draggingNodeCopy); } if (dropType !== 'none') { _this.store.registerNode(draggingNodeCopy); } Object(dom_["removeClass"])(dropNode.$el, 'is-drop-inner'); _this.$emit('node-drag-end', draggingNode.node, dropNode.node, dropType, event); if (dropType !== 'none') { _this.$emit('node-drop', draggingNode.node, dropNode.node, dropType, event); } } if (draggingNode && !dropNode) { _this.$emit('node-drag-end', draggingNode.node, null, dropType, event); } dragState.showDropIndicator = false; dragState.draggingNode = null; dragState.dropNode = null; dragState.allowDrop = true; }); }, mounted: function mounted() { this.initTabIndex(); this.$el.addEventListener('keydown', this.handleKeydown); }, updated: function updated() { this.treeItems = this.$el.querySelectorAll('[role=treeitem]'); this.checkboxItems = this.$el.querySelectorAll('input[type=checkbox]'); } }); // CONCATENATED MODULE: ./packages/tree/src/tree.vue?vue&type=script&lang=js& /* harmony default export */ var src_treevue_type_script_lang_js_ = (treevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/tree/src/tree.vue /* normalize component */ var tree_component = normalizeComponent( src_treevue_type_script_lang_js_, treevue_type_template_id_547575a6_render, treevue_type_template_id_547575a6_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var tree_api; } tree_component.options.__file = "packages/tree/src/tree.vue" /* harmony default export */ var tree = (tree_component.exports); // CONCATENATED MODULE: ./packages/tree/index.js /* istanbul ignore next */ tree.install = function (Vue) { Vue.component(tree.name, tree); }; /* harmony default export */ var packages_tree = (tree); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/alert/src/main.vue?vue&type=template&id=6e53341b& var mainvue_type_template_id_6e53341b_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("transition", { attrs: { name: "el-alert-fade" } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-alert", class: [_vm.typeClass, _vm.center ? "is-center" : ""], attrs: { role: "alert" } }, [ _vm.showIcon ? _c("i", { staticClass: "el-alert__icon", class: [_vm.iconClass, _vm.isBigIcon] }) : _vm._e(), _c( "div", { staticClass: "el-alert__content" }, [ _vm.title || _vm.$slots.title ? _c( "span", { staticClass: "el-alert__title", class: [_vm.isBoldTitle] }, [_vm._t("title", [_vm._v(_vm._s(_vm.title))])], 2 ) : _vm._e(), _vm._t("default", [ _vm.description ? _c("p", { staticClass: "el-alert__description" }, [ _vm._v(_vm._s(_vm.description)) ]) : _vm._e() ]), _c( "i", { directives: [ { name: "show", rawName: "v-show", value: _vm.closable, expression: "closable" } ], staticClass: "el-alert__closebtn", class: { "is-customed": _vm.closeText !== "", "el-icon-close": _vm.closeText === "" }, on: { click: function($event) { _vm.close() } } }, [_vm._v(_vm._s(_vm.closeText))] ) ], 2 ) ] ) ]) } var mainvue_type_template_id_6e53341b_staticRenderFns = [] mainvue_type_template_id_6e53341b_render._withStripped = true // CONCATENATED MODULE: ./packages/alert/src/main.vue?vue&type=template&id=6e53341b& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/alert/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // var TYPE_CLASSES_MAP = { 'success': 'el-icon-success', 'warning': 'el-icon-warning', 'error': 'el-icon-error' }; /* harmony default export */ var alert_src_mainvue_type_script_lang_js_ = ({ name: 'ElAlert', props: { title: { type: String, default: '' }, description: { type: String, default: '' }, type: { type: String, default: 'info' }, closable: { type: Boolean, default: true }, closeText: { type: String, default: '' }, showIcon: Boolean, center: Boolean }, data: function data() { return { visible: true }; }, methods: { close: function close() { this.visible = false; this.$emit('close'); } }, computed: { typeClass: function typeClass() { return 'el-alert--' + this.type; }, iconClass: function iconClass() { return TYPE_CLASSES_MAP[this.type] || 'el-icon-info'; }, isBigIcon: function isBigIcon() { return this.description || this.$slots.default ? 'is-big' : ''; }, isBoldTitle: function isBoldTitle() { return this.description || this.$slots.default ? 'is-bold' : ''; } } }); // CONCATENATED MODULE: ./packages/alert/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_alert_src_mainvue_type_script_lang_js_ = (alert_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/alert/src/main.vue /* normalize component */ var alert_src_main_component = normalizeComponent( packages_alert_src_mainvue_type_script_lang_js_, mainvue_type_template_id_6e53341b_render, mainvue_type_template_id_6e53341b_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var alert_src_main_api; } alert_src_main_component.options.__file = "packages/alert/src/main.vue" /* harmony default export */ var alert_src_main = (alert_src_main_component.exports); // CONCATENATED MODULE: ./packages/alert/index.js /* istanbul ignore next */ alert_src_main.install = function (Vue) { Vue.component(alert_src_main.name, alert_src_main); }; /* harmony default export */ var packages_alert = (alert_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/notification/src/main.vue?vue&type=template&id=43dbc3d8& var mainvue_type_template_id_43dbc3d8_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("transition", { attrs: { name: "el-notification-fade" } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], class: ["el-notification", _vm.customClass, _vm.horizontalClass], style: _vm.positionStyle, attrs: { role: "alert" }, on: { mouseenter: function($event) { _vm.clearTimer() }, mouseleave: function($event) { _vm.startTimer() }, click: _vm.click } }, [ _vm.type || _vm.iconClass ? _c("i", { staticClass: "el-notification__icon", class: [_vm.typeClass, _vm.iconClass] }) : _vm._e(), _c( "div", { staticClass: "el-notification__group", class: { "is-with-icon": _vm.typeClass || _vm.iconClass } }, [ _c("h2", { staticClass: "el-notification__title", domProps: { textContent: _vm._s(_vm.title) } }), _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.message, expression: "message" } ], staticClass: "el-notification__content" }, [ _vm._t("default", [ !_vm.dangerouslyUseHTMLString ? _c("p", [_vm._v(_vm._s(_vm.message))]) : _c("p", { domProps: { innerHTML: _vm._s(_vm.message) } }) ]) ], 2 ), _vm.showClose ? _c("div", { staticClass: "el-notification__closeBtn el-icon-close", on: { click: function($event) { $event.stopPropagation() return _vm.close($event) } } }) : _vm._e() ] ) ] ) ]) } var mainvue_type_template_id_43dbc3d8_staticRenderFns = [] mainvue_type_template_id_43dbc3d8_render._withStripped = true // CONCATENATED MODULE: ./packages/notification/src/main.vue?vue&type=template&id=43dbc3d8& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/notification/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var mainvue_type_script_lang_js_typeMap = { success: 'success', info: 'info', warning: 'warning', error: 'error' }; /* harmony default export */ var notification_src_mainvue_type_script_lang_js_ = ({ data: function data() { return { visible: false, title: '', message: '', duration: 4500, type: '', showClose: true, customClass: '', iconClass: '', onClose: null, onClick: null, closed: false, verticalOffset: 0, timer: null, dangerouslyUseHTMLString: false, position: 'top-right' }; }, computed: { typeClass: function typeClass() { return this.type && mainvue_type_script_lang_js_typeMap[this.type] ? 'el-icon-' + mainvue_type_script_lang_js_typeMap[this.type] : ''; }, horizontalClass: function horizontalClass() { return this.position.indexOf('right') > -1 ? 'right' : 'left'; }, verticalProperty: function verticalProperty() { return (/^top-/.test(this.position) ? 'top' : 'bottom' ); }, positionStyle: function positionStyle() { var _ref; return _ref = {}, _ref[this.verticalProperty] = this.verticalOffset + 'px', _ref; } }, watch: { closed: function closed(newVal) { if (newVal) { this.visible = false; this.$el.addEventListener('transitionend', this.destroyElement); } } }, methods: { destroyElement: function destroyElement() { this.$el.removeEventListener('transitionend', this.destroyElement); this.$destroy(true); this.$el.parentNode.removeChild(this.$el); }, click: function click() { if (typeof this.onClick === 'function') { this.onClick(); } }, close: function close() { this.closed = true; if (typeof this.onClose === 'function') { this.onClose(); } }, clearTimer: function clearTimer() { clearTimeout(this.timer); }, startTimer: function startTimer() { var _this = this; if (this.duration > 0) { this.timer = setTimeout(function () { if (!_this.closed) { _this.close(); } }, this.duration); } }, keydown: function keydown(e) { if (e.keyCode === 46 || e.keyCode === 8) { this.clearTimer(); // detele 取消倒计时 } else if (e.keyCode === 27) { // esc关闭消息 if (!this.closed) { this.close(); } } else { this.startTimer(); // 恢复倒计时 } } }, mounted: function mounted() { var _this2 = this; if (this.duration > 0) { this.timer = setTimeout(function () { if (!_this2.closed) { _this2.close(); } }, this.duration); } document.addEventListener('keydown', this.keydown); }, beforeDestroy: function beforeDestroy() { document.removeEventListener('keydown', this.keydown); } }); // CONCATENATED MODULE: ./packages/notification/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_notification_src_mainvue_type_script_lang_js_ = (notification_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/notification/src/main.vue /* normalize component */ var notification_src_main_component = normalizeComponent( packages_notification_src_mainvue_type_script_lang_js_, mainvue_type_template_id_43dbc3d8_render, mainvue_type_template_id_43dbc3d8_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var notification_src_main_api; } notification_src_main_component.options.__file = "packages/notification/src/main.vue" /* harmony default export */ var notification_src_main = (notification_src_main_component.exports); // CONCATENATED MODULE: ./packages/notification/src/main.js var NotificationConstructor = external_vue_default.a.extend(notification_src_main); var src_main_instance = void 0; var instances = []; var seed = 1; var main_Notification = function Notification(options) { if (external_vue_default.a.prototype.$isServer) return; options = options || {}; var userOnClose = options.onClose; var id = 'notification_' + seed++; var position = options.position || 'top-right'; options.onClose = function () { Notification.close(id, userOnClose); }; src_main_instance = new NotificationConstructor({ data: options }); if (Object(vdom_["isVNode"])(options.message)) { src_main_instance.$slots.default = [options.message]; options.message = 'REPLACED_BY_VNODE'; } src_main_instance.id = id; src_main_instance.$mount(); document.body.appendChild(src_main_instance.$el); src_main_instance.visible = true; src_main_instance.dom = src_main_instance.$el; src_main_instance.dom.style.zIndex = popup_["PopupManager"].nextZIndex(); var verticalOffset = options.offset || 0; instances.filter(function (item) { return item.position === position; }).forEach(function (item) { verticalOffset += item.$el.offsetHeight + 16; }); verticalOffset += 16; src_main_instance.verticalOffset = verticalOffset; instances.push(src_main_instance); return src_main_instance; }; ['success', 'warning', 'info', 'error'].forEach(function (type) { main_Notification[type] = function (options) { if (typeof options === 'string' || Object(vdom_["isVNode"])(options)) { options = { message: options }; } options.type = type; return main_Notification(options); }; }); main_Notification.close = function (id, userOnClose) { var index = -1; var len = instances.length; var instance = instances.filter(function (instance, i) { if (instance.id === id) { index = i; return true; } return false; })[0]; if (!instance) return; if (typeof userOnClose === 'function') { userOnClose(instance); } instances.splice(index, 1); if (len <= 1) return; var position = instance.position; var removedHeight = instance.dom.offsetHeight; for (var i = index; i < len - 1; i++) { if (instances[i].position === position) { instances[i].dom.style[instance.verticalProperty] = parseInt(instances[i].dom.style[instance.verticalProperty], 10) - removedHeight - 16 + 'px'; } } }; main_Notification.closeAll = function () { for (var i = instances.length - 1; i >= 0; i--) { instances[i].close(); } }; /* harmony default export */ var packages_notification_src_main = (main_Notification); // CONCATENATED MODULE: ./packages/notification/index.js /* harmony default export */ var notification = (packages_notification_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/slider/src/main.vue?vue&type=template&id=32708644& var mainvue_type_template_id_32708644_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-slider", class: { "is-vertical": _vm.vertical, "el-slider--with-input": _vm.showInput }, attrs: { role: "slider", "aria-valuemin": _vm.min, "aria-valuemax": _vm.max, "aria-orientation": _vm.vertical ? "vertical" : "horizontal", "aria-disabled": _vm.sliderDisabled } }, [ _vm.showInput && !_vm.range ? _c("el-input-number", { ref: "input", staticClass: "el-slider__input", attrs: { step: _vm.step, disabled: _vm.sliderDisabled, controls: _vm.showInputControls, min: _vm.min, max: _vm.max, debounce: _vm.debounce, size: _vm.inputSize }, on: { change: function($event) { _vm.$nextTick(_vm.emitChange) } }, model: { value: _vm.firstValue, callback: function($$v) { _vm.firstValue = $$v }, expression: "firstValue" } }) : _vm._e(), _c( "div", { ref: "slider", staticClass: "el-slider__runway", class: { "show-input": _vm.showInput, disabled: _vm.sliderDisabled }, style: _vm.runwayStyle, on: { click: _vm.onSliderClick } }, [ _c("div", { staticClass: "el-slider__bar", style: _vm.barStyle }), _c("slider-button", { ref: "button1", attrs: { vertical: _vm.vertical, "tooltip-class": _vm.tooltipClass }, model: { value: _vm.firstValue, callback: function($$v) { _vm.firstValue = $$v }, expression: "firstValue" } }), _vm.range ? _c("slider-button", { ref: "button2", attrs: { vertical: _vm.vertical, "tooltip-class": _vm.tooltipClass }, model: { value: _vm.secondValue, callback: function($$v) { _vm.secondValue = $$v }, expression: "secondValue" } }) : _vm._e(), _vm._l(_vm.stops, function(item, key) { return _vm.showStops ? _c("div", { key: key, staticClass: "el-slider__stop", style: _vm.vertical ? { bottom: item + "%" } : { left: item + "%" } }) : _vm._e() }) ], 2 ) ], 1 ) } var mainvue_type_template_id_32708644_staticRenderFns = [] mainvue_type_template_id_32708644_render._withStripped = true // CONCATENATED MODULE: ./packages/slider/src/main.vue?vue&type=template&id=32708644& // EXTERNAL MODULE: external "element-ui/lib/input-number" var input_number_ = __webpack_require__(37); var input_number_default = /*#__PURE__*/__webpack_require__.n(input_number_); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/slider/src/button.vue?vue&type=template&id=e72d2ad2& var buttonvue_type_template_id_e72d2ad2_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { ref: "button", staticClass: "el-slider__button-wrapper", class: { hover: _vm.hovering, dragging: _vm.dragging }, style: _vm.wrapperStyle, attrs: { tabindex: "0" }, on: { mouseenter: _vm.handleMouseEnter, mouseleave: _vm.handleMouseLeave, mousedown: _vm.onButtonDown, touchstart: _vm.onButtonDown, focus: _vm.handleMouseEnter, blur: _vm.handleMouseLeave, keydown: [ function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "left", 37, $event.key, [ "Left", "ArrowLeft" ]) ) { return null } if ("button" in $event && $event.button !== 0) { return null } return _vm.onLeftKeyDown($event) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "right", 39, $event.key, [ "Right", "ArrowRight" ]) ) { return null } if ("button" in $event && $event.button !== 2) { return null } return _vm.onRightKeyDown($event) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "down", 40, $event.key, [ "Down", "ArrowDown" ]) ) { return null } $event.preventDefault() return _vm.onLeftKeyDown($event) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"]) ) { return null } $event.preventDefault() return _vm.onRightKeyDown($event) } ] } }, [ _c( "el-tooltip", { ref: "tooltip", attrs: { placement: "top", "popper-class": _vm.tooltipClass, disabled: !_vm.showTooltip } }, [ _c("span", { attrs: { slot: "content" }, slot: "content" }, [ _vm._v(_vm._s(_vm.formatValue)) ]), _c("div", { staticClass: "el-slider__button", class: { hover: _vm.hovering, dragging: _vm.dragging } }) ] ) ], 1 ) } var buttonvue_type_template_id_e72d2ad2_staticRenderFns = [] buttonvue_type_template_id_e72d2ad2_render._withStripped = true // CONCATENATED MODULE: ./packages/slider/src/button.vue?vue&type=template&id=e72d2ad2& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/slider/src/button.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var slider_src_buttonvue_type_script_lang_js_ = ({ name: 'ElSliderButton', components: { ElTooltip: tooltip_default.a }, props: { value: { type: Number, default: 0 }, vertical: { type: Boolean, default: false }, tooltipClass: String }, data: function data() { return { hovering: false, dragging: false, isClick: false, startX: 0, currentX: 0, startY: 0, currentY: 0, startPosition: 0, newPosition: null, oldValue: this.value }; }, computed: { disabled: function disabled() { return this.$parent.sliderDisabled; }, max: function max() { return this.$parent.max; }, min: function min() { return this.$parent.min; }, step: function step() { return this.$parent.step; }, showTooltip: function showTooltip() { return this.$parent.showTooltip; }, precision: function precision() { return this.$parent.precision; }, currentPosition: function currentPosition() { return (this.value - this.min) / (this.max - this.min) * 100 + '%'; }, enableFormat: function enableFormat() { return this.$parent.formatTooltip instanceof Function; }, formatValue: function formatValue() { return this.enableFormat && this.$parent.formatTooltip(this.value) || this.value; }, wrapperStyle: function wrapperStyle() { return this.vertical ? { bottom: this.currentPosition } : { left: this.currentPosition }; } }, watch: { dragging: function dragging(val) { this.$parent.dragging = val; } }, methods: { displayTooltip: function displayTooltip() { this.$refs.tooltip && (this.$refs.tooltip.showPopper = true); }, hideTooltip: function hideTooltip() { this.$refs.tooltip && (this.$refs.tooltip.showPopper = false); }, handleMouseEnter: function handleMouseEnter() { this.hovering = true; this.displayTooltip(); }, handleMouseLeave: function handleMouseLeave() { this.hovering = false; this.hideTooltip(); }, onButtonDown: function onButtonDown(event) { if (this.disabled) return; event.preventDefault(); this.onDragStart(event); window.addEventListener('mousemove', this.onDragging); window.addEventListener('touchmove', this.onDragging); window.addEventListener('mouseup', this.onDragEnd); window.addEventListener('touchend', this.onDragEnd); window.addEventListener('contextmenu', this.onDragEnd); }, onLeftKeyDown: function onLeftKeyDown() { if (this.disabled) return; this.newPosition = parseFloat(this.currentPosition) - this.step / (this.max - this.min) * 100; this.setPosition(this.newPosition); }, onRightKeyDown: function onRightKeyDown() { if (this.disabled) return; this.newPosition = parseFloat(this.currentPosition) + this.step / (this.max - this.min) * 100; this.setPosition(this.newPosition); }, onDragStart: function onDragStart(event) { this.dragging = true; this.isClick = true; if (event.type === 'touchstart') { event.clientY = event.touches[0].clientY; event.clientX = event.touches[0].clientX; } if (this.vertical) { this.startY = event.clientY; } else { this.startX = event.clientX; } this.startPosition = parseFloat(this.currentPosition); this.newPosition = this.startPosition; }, onDragging: function onDragging(event) { if (this.dragging) { this.isClick = false; this.displayTooltip(); this.$parent.resetSize(); var diff = 0; if (event.type === 'touchmove') { event.clientY = event.touches[0].clientY; event.clientX = event.touches[0].clientX; } if (this.vertical) { this.currentY = event.clientY; diff = (this.startY - this.currentY) / this.$parent.sliderSize * 100; } else { this.currentX = event.clientX; diff = (this.currentX - this.startX) / this.$parent.sliderSize * 100; } this.newPosition = this.startPosition + diff; this.setPosition(this.newPosition); } }, onDragEnd: function onDragEnd() { var _this = this; if (this.dragging) { /* * 防止在 mouseup 后立即触发 click,导致滑块有几率产生一小段位移 * 不使用 preventDefault 是因为 mouseup 和 click 没有注册在同一个 DOM 上 */ setTimeout(function () { _this.dragging = false; _this.hideTooltip(); if (!_this.isClick) { _this.setPosition(_this.newPosition); _this.$parent.emitChange(); } }, 0); window.removeEventListener('mousemove', this.onDragging); window.removeEventListener('touchmove', this.onDragging); window.removeEventListener('mouseup', this.onDragEnd); window.removeEventListener('touchend', this.onDragEnd); window.removeEventListener('contextmenu', this.onDragEnd); } }, setPosition: function setPosition(newPosition) { var _this2 = this; if (newPosition === null || isNaN(newPosition)) return; if (newPosition < 0) { newPosition = 0; } else if (newPosition > 100) { newPosition = 100; } var lengthPerStep = 100 / ((this.max - this.min) / this.step); var steps = Math.round(newPosition / lengthPerStep); var value = steps * lengthPerStep * (this.max - this.min) * 0.01 + this.min; value = parseFloat(value.toFixed(this.precision)); this.$emit('input', value); this.$nextTick(function () { _this2.$refs.tooltip && _this2.$refs.tooltip.updatePopper(); }); if (!this.dragging && this.value !== this.oldValue) { this.oldValue = this.value; } } } }); // CONCATENATED MODULE: ./packages/slider/src/button.vue?vue&type=script&lang=js& /* harmony default export */ var packages_slider_src_buttonvue_type_script_lang_js_ = (slider_src_buttonvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/slider/src/button.vue /* normalize component */ var src_button_component = normalizeComponent( packages_slider_src_buttonvue_type_script_lang_js_, buttonvue_type_template_id_e72d2ad2_render, buttonvue_type_template_id_e72d2ad2_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var src_button_api; } src_button_component.options.__file = "packages/slider/src/button.vue" /* harmony default export */ var slider_src_button = (src_button_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/slider/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var slider_src_mainvue_type_script_lang_js_ = ({ name: 'ElSlider', mixins: [emitter_default.a], inject: { elForm: { default: '' } }, props: { min: { type: Number, default: 0 }, max: { type: Number, default: 100 }, step: { type: Number, default: 1 }, value: { type: [Number, Array], default: 0 }, showInput: { type: Boolean, default: false }, showInputControls: { type: Boolean, default: true }, inputSize: { type: String, default: 'small' }, showStops: { type: Boolean, default: false }, showTooltip: { type: Boolean, default: true }, formatTooltip: Function, disabled: { type: Boolean, default: false }, range: { type: Boolean, default: false }, vertical: { type: Boolean, default: false }, height: { type: String }, debounce: { type: Number, default: 300 }, label: { type: String }, tooltipClass: String }, components: { ElInputNumber: input_number_default.a, SliderButton: slider_src_button }, data: function data() { return { firstValue: null, secondValue: null, oldValue: null, dragging: false, sliderSize: 1 }; }, watch: { value: function value(val, oldVal) { if (this.dragging || Array.isArray(val) && Array.isArray(oldVal) && val.every(function (item, index) { return item === oldVal[index]; })) { return; } this.setValues(); }, dragging: function dragging(val) { if (!val) { this.setValues(); } }, firstValue: function firstValue(val) { if (this.range) { this.$emit('input', [this.minValue, this.maxValue]); } else { this.$emit('input', val); } }, secondValue: function secondValue() { if (this.range) { this.$emit('input', [this.minValue, this.maxValue]); } }, min: function min() { this.setValues(); }, max: function max() { this.setValues(); } }, methods: { valueChanged: function valueChanged() { var _this = this; if (this.range) { return ![this.minValue, this.maxValue].every(function (item, index) { return item === _this.oldValue[index]; }); } else { return this.value !== this.oldValue; } }, setValues: function setValues() { if (this.min > this.max) { console.error('[Element Error][Slider]min should not be greater than max.'); return; } var val = this.value; if (this.range && Array.isArray(val)) { if (val[1] < this.min) { this.$emit('input', [this.min, this.min]); } else if (val[0] > this.max) { this.$emit('input', [this.max, this.max]); } else if (val[0] < this.min) { this.$emit('input', [this.min, val[1]]); } else if (val[1] > this.max) { this.$emit('input', [val[0], this.max]); } else { this.firstValue = val[0]; this.secondValue = val[1]; if (this.valueChanged()) { this.dispatch('ElFormItem', 'el.form.change', [this.minValue, this.maxValue]); this.oldValue = val.slice(); } } } else if (!this.range && typeof val === 'number' && !isNaN(val)) { if (val < this.min) { this.$emit('input', this.min); } else if (val > this.max) { this.$emit('input', this.max); } else { this.firstValue = val; if (this.valueChanged()) { this.dispatch('ElFormItem', 'el.form.change', val); this.oldValue = val; } } } }, setPosition: function setPosition(percent) { var targetValue = this.min + percent * (this.max - this.min) / 100; if (!this.range) { this.$refs.button1.setPosition(percent); return; } var button = void 0; if (Math.abs(this.minValue - targetValue) < Math.abs(this.maxValue - targetValue)) { button = this.firstValue < this.secondValue ? 'button1' : 'button2'; } else { button = this.firstValue > this.secondValue ? 'button1' : 'button2'; } this.$refs[button].setPosition(percent); }, onSliderClick: function onSliderClick(event) { if (this.sliderDisabled || this.dragging) return; this.resetSize(); if (this.vertical) { var sliderOffsetBottom = this.$refs.slider.getBoundingClientRect().bottom; this.setPosition((sliderOffsetBottom - event.clientY) / this.sliderSize * 100); } else { var sliderOffsetLeft = this.$refs.slider.getBoundingClientRect().left; this.setPosition((event.clientX - sliderOffsetLeft) / this.sliderSize * 100); } this.emitChange(); }, resetSize: function resetSize() { if (this.$refs.slider) { this.sliderSize = this.$refs.slider['client' + (this.vertical ? 'Height' : 'Width')]; } }, emitChange: function emitChange() { var _this2 = this; this.$nextTick(function () { _this2.$emit('change', _this2.range ? [_this2.minValue, _this2.maxValue] : _this2.value); }); } }, computed: { stops: function stops() { var _this3 = this; if (!this.showStops || this.min > this.max) return []; if (this.step === 0) { false && false; return []; } var stopCount = (this.max - this.min) / this.step; var stepWidth = 100 * this.step / (this.max - this.min); var result = []; for (var i = 1; i < stopCount; i++) { result.push(i * stepWidth); } if (this.range) { return result.filter(function (step) { return step < 100 * (_this3.minValue - _this3.min) / (_this3.max - _this3.min) || step > 100 * (_this3.maxValue - _this3.min) / (_this3.max - _this3.min); }); } else { return result.filter(function (step) { return step > 100 * (_this3.firstValue - _this3.min) / (_this3.max - _this3.min); }); } }, minValue: function minValue() { return Math.min(this.firstValue, this.secondValue); }, maxValue: function maxValue() { return Math.max(this.firstValue, this.secondValue); }, barSize: function barSize() { return this.range ? 100 * (this.maxValue - this.minValue) / (this.max - this.min) + '%' : 100 * (this.firstValue - this.min) / (this.max - this.min) + '%'; }, barStart: function barStart() { return this.range ? 100 * (this.minValue - this.min) / (this.max - this.min) + '%' : '0%'; }, precision: function precision() { var precisions = [this.min, this.max, this.step].map(function (item) { var decimal = ('' + item).split('.')[1]; return decimal ? decimal.length : 0; }); return Math.max.apply(null, precisions); }, runwayStyle: function runwayStyle() { return this.vertical ? { height: this.height } : {}; }, barStyle: function barStyle() { return this.vertical ? { height: this.barSize, bottom: this.barStart } : { width: this.barSize, left: this.barStart }; }, sliderDisabled: function sliderDisabled() { return this.disabled || (this.elForm || {}).disabled; } }, mounted: function mounted() { var valuetext = void 0; if (this.range) { if (Array.isArray(this.value)) { this.firstValue = Math.max(this.min, this.value[0]); this.secondValue = Math.min(this.max, this.value[1]); } else { this.firstValue = this.min; this.secondValue = this.max; } this.oldValue = [this.firstValue, this.secondValue]; valuetext = this.firstValue + '-' + this.secondValue; } else { if (typeof this.value !== 'number' || isNaN(this.value)) { this.firstValue = this.min; } else { this.firstValue = Math.min(this.max, Math.max(this.min, this.value)); } this.oldValue = this.firstValue; valuetext = this.firstValue; } this.$el.setAttribute('aria-valuetext', valuetext); // label screen reader this.$el.setAttribute('aria-label', this.label ? this.label : 'slider between ' + this.min + ' and ' + this.max); this.resetSize(); window.addEventListener('resize', this.resetSize); }, beforeDestroy: function beforeDestroy() { window.removeEventListener('resize', this.resetSize); } }); // CONCATENATED MODULE: ./packages/slider/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_slider_src_mainvue_type_script_lang_js_ = (slider_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/slider/src/main.vue /* normalize component */ var slider_src_main_component = normalizeComponent( packages_slider_src_mainvue_type_script_lang_js_, mainvue_type_template_id_32708644_render, mainvue_type_template_id_32708644_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var slider_src_main_api; } slider_src_main_component.options.__file = "packages/slider/src/main.vue" /* harmony default export */ var slider_src_main = (slider_src_main_component.exports); // CONCATENATED MODULE: ./packages/slider/index.js /* istanbul ignore next */ slider_src_main.install = function (Vue) { Vue.component(slider_src_main.name, slider_src_main); }; /* harmony default export */ var slider = (slider_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/loading/src/loading.vue?vue&type=template&id=eee0a7ac& var loadingvue_type_template_id_eee0a7ac_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "el-loading-fade" }, on: { "after-leave": _vm.handleAfterLeave } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-loading-mask", class: [_vm.customClass, { "is-fullscreen": _vm.fullscreen }], style: { backgroundColor: _vm.background || "" } }, [ _c("div", { staticClass: "el-loading-spinner" }, [ !_vm.spinner ? _c( "svg", { staticClass: "circular", attrs: { viewBox: "25 25 50 50" } }, [ _c("circle", { staticClass: "path", attrs: { cx: "50", cy: "50", r: "20", fill: "none" } }) ] ) : _c("i", { class: _vm.spinner }), _vm.text ? _c("p", { staticClass: "el-loading-text" }, [ _vm._v(_vm._s(_vm.text)) ]) : _vm._e() ]) ] ) ] ) } var loadingvue_type_template_id_eee0a7ac_staticRenderFns = [] loadingvue_type_template_id_eee0a7ac_render._withStripped = true // CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=template&id=eee0a7ac& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/loading/src/loading.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // /* harmony default export */ var loadingvue_type_script_lang_js_ = ({ data: function data() { return { text: null, spinner: null, background: null, fullscreen: true, visible: false, customClass: '' }; }, methods: { handleAfterLeave: function handleAfterLeave() { this.$emit('after-leave'); }, setText: function setText(text) { this.text = text; } } }); // CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=script&lang=js& /* harmony default export */ var src_loadingvue_type_script_lang_js_ = (loadingvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/loading/src/loading.vue /* normalize component */ var loading_component = normalizeComponent( src_loadingvue_type_script_lang_js_, loadingvue_type_template_id_eee0a7ac_render, loadingvue_type_template_id_eee0a7ac_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var loading_api; } loading_component.options.__file = "packages/loading/src/loading.vue" /* harmony default export */ var loading = (loading_component.exports); // EXTERNAL MODULE: external "element-ui/lib/utils/after-leave" var after_leave_ = __webpack_require__(28); var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_); // CONCATENATED MODULE: ./packages/loading/src/directive.js var Mask = external_vue_default.a.extend(loading); var loadingDirective = {}; loadingDirective.install = function (Vue) { if (Vue.prototype.$isServer) return; var toggleLoading = function toggleLoading(el, binding) { if (binding.value) { Vue.nextTick(function () { if (binding.modifiers.fullscreen) { el.originalPosition = Object(dom_["getStyle"])(document.body, 'position'); el.originalOverflow = Object(dom_["getStyle"])(document.body, 'overflow'); el.maskStyle.zIndex = popup_["PopupManager"].nextZIndex(); Object(dom_["addClass"])(el.mask, 'is-fullscreen'); insertDom(document.body, el, binding); } else { Object(dom_["removeClass"])(el.mask, 'is-fullscreen'); if (binding.modifiers.body) { el.originalPosition = Object(dom_["getStyle"])(document.body, 'position'); ['top', 'left'].forEach(function (property) { var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft'; el.maskStyle[property] = el.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] - parseInt(Object(dom_["getStyle"])(document.body, 'margin-' + property), 10) + 'px'; }); ['height', 'width'].forEach(function (property) { el.maskStyle[property] = el.getBoundingClientRect()[property] + 'px'; }); insertDom(document.body, el, binding); } else { el.originalPosition = Object(dom_["getStyle"])(el, 'position'); insertDom(el, el, binding); } } }); } else { after_leave_default()(el.instance, function (_) { el.domVisible = false; var target = binding.modifiers.fullscreen || binding.modifiers.body ? document.body : el; Object(dom_["removeClass"])(target, 'el-loading-parent--relative'); Object(dom_["removeClass"])(target, 'el-loading-parent--hidden'); el.instance.hiding = false; }, 300, true); el.instance.visible = false; el.instance.hiding = true; } }; var insertDom = function insertDom(parent, el, binding) { if (!el.domVisible && Object(dom_["getStyle"])(el, 'display') !== 'none' && Object(dom_["getStyle"])(el, 'visibility') !== 'hidden') { Object.keys(el.maskStyle).forEach(function (property) { el.mask.style[property] = el.maskStyle[property]; }); if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') { Object(dom_["addClass"])(parent, 'el-loading-parent--relative'); } if (binding.modifiers.fullscreen && binding.modifiers.lock) { Object(dom_["addClass"])(parent, 'el-loading-parent--hidden'); } el.domVisible = true; parent.appendChild(el.mask); Vue.nextTick(function () { if (el.instance.hiding) { el.instance.$emit('after-leave'); } else { el.instance.visible = true; } }); el.domInserted = true; } }; Vue.directive('loading', { bind: function bind(el, binding, vnode) { var textExr = el.getAttribute('element-loading-text'); var spinnerExr = el.getAttribute('element-loading-spinner'); var backgroundExr = el.getAttribute('element-loading-background'); var customClassExr = el.getAttribute('element-loading-custom-class'); var vm = vnode.context; var mask = new Mask({ el: document.createElement('div'), data: { text: vm && vm[textExr] || textExr, spinner: vm && vm[spinnerExr] || spinnerExr, background: vm && vm[backgroundExr] || backgroundExr, customClass: vm && vm[customClassExr] || customClassExr, fullscreen: !!binding.modifiers.fullscreen } }); el.instance = mask; el.mask = mask.$el; el.maskStyle = {}; binding.value && toggleLoading(el, binding); }, update: function update(el, binding) { el.instance.setText(el.getAttribute('element-loading-text')); if (binding.oldValue !== binding.value) { toggleLoading(el, binding); } }, unbind: function unbind(el, binding) { if (el.domInserted) { el.mask && el.mask.parentNode && el.mask.parentNode.removeChild(el.mask); toggleLoading(el, { value: false, modifiers: binding.modifiers }); } el.instance && el.instance.$destroy(); } }); }; /* harmony default export */ var src_directive = (loadingDirective); // CONCATENATED MODULE: ./packages/loading/src/index.js var LoadingConstructor = external_vue_default.a.extend(loading); var src_defaults = { text: null, fullscreen: true, body: false, lock: false, customClass: '' }; var fullscreenLoading = void 0; LoadingConstructor.prototype.originalPosition = ''; LoadingConstructor.prototype.originalOverflow = ''; LoadingConstructor.prototype.close = function () { var _this = this; if (this.fullscreen) { fullscreenLoading = undefined; } after_leave_default()(this, function (_) { var target = _this.fullscreen || _this.body ? document.body : _this.target; Object(dom_["removeClass"])(target, 'el-loading-parent--relative'); Object(dom_["removeClass"])(target, 'el-loading-parent--hidden'); if (_this.$el && _this.$el.parentNode) { _this.$el.parentNode.removeChild(_this.$el); } _this.$destroy(); }, 300); this.visible = false; }; var src_addStyle = function addStyle(options, parent, instance) { var maskStyle = {}; if (options.fullscreen) { instance.originalPosition = Object(dom_["getStyle"])(document.body, 'position'); instance.originalOverflow = Object(dom_["getStyle"])(document.body, 'overflow'); maskStyle.zIndex = popup_["PopupManager"].nextZIndex(); } else if (options.body) { instance.originalPosition = Object(dom_["getStyle"])(document.body, 'position'); ['top', 'left'].forEach(function (property) { var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft'; maskStyle[property] = options.target.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] + 'px'; }); ['height', 'width'].forEach(function (property) { maskStyle[property] = options.target.getBoundingClientRect()[property] + 'px'; }); } else { instance.originalPosition = Object(dom_["getStyle"])(parent, 'position'); } Object.keys(maskStyle).forEach(function (property) { instance.$el.style[property] = maskStyle[property]; }); }; var src_Loading = function Loading() { var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; if (external_vue_default.a.prototype.$isServer) return; options = merge_default()({}, src_defaults, options); if (typeof options.target === 'string') { options.target = document.querySelector(options.target); } options.target = options.target || document.body; if (options.target !== document.body) { options.fullscreen = false; } else { options.body = true; } if (options.fullscreen && fullscreenLoading) { return fullscreenLoading; } var parent = options.body ? document.body : options.target; var instance = new LoadingConstructor({ el: document.createElement('div'), data: options }); src_addStyle(options, parent, instance); if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') { Object(dom_["addClass"])(parent, 'el-loading-parent--relative'); } if (options.fullscreen && options.lock) { Object(dom_["addClass"])(parent, 'el-loading-parent--hidden'); } parent.appendChild(instance.$el); external_vue_default.a.nextTick(function () { instance.visible = true; }); if (options.fullscreen) { fullscreenLoading = instance; } return instance; }; /* harmony default export */ var src = (src_Loading); // CONCATENATED MODULE: ./packages/loading/index.js /* harmony default export */ var packages_loading = ({ install: function install(Vue) { Vue.use(src_directive); Vue.prototype.$loading = src; }, directive: src_directive, service: src }); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/icon.vue?vue&type=template&id=cb3fe7f4& var iconvue_type_template_id_cb3fe7f4_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("i", { class: "el-icon-" + _vm.name }) } var iconvue_type_template_id_cb3fe7f4_staticRenderFns = [] iconvue_type_template_id_cb3fe7f4_render._withStripped = true // CONCATENATED MODULE: ./packages/icon/src/icon.vue?vue&type=template&id=cb3fe7f4& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/icon.vue?vue&type=script&lang=js& // // // // /* harmony default export */ var iconvue_type_script_lang_js_ = ({ name: 'ElIcon', props: { name: String } }); // CONCATENATED MODULE: ./packages/icon/src/icon.vue?vue&type=script&lang=js& /* harmony default export */ var src_iconvue_type_script_lang_js_ = (iconvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/icon/src/icon.vue /* normalize component */ var icon_component = normalizeComponent( src_iconvue_type_script_lang_js_, iconvue_type_template_id_cb3fe7f4_render, iconvue_type_template_id_cb3fe7f4_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var icon_api; } icon_component.options.__file = "packages/icon/src/icon.vue" /* harmony default export */ var icon = (icon_component.exports); // CONCATENATED MODULE: ./packages/icon/index.js /* istanbul ignore next */ icon.install = function (Vue) { Vue.component(icon.name, icon); }; /* harmony default export */ var packages_icon = (icon); // CONCATENATED MODULE: ./packages/row/src/row.js /* harmony default export */ var src_row = ({ name: 'ElRow', componentName: 'ElRow', props: { tag: { type: String, default: 'div' }, gutter: Number, type: String, justify: { type: String, default: 'start' }, align: { type: String, default: 'top' } }, computed: { style: function style() { var ret = {}; if (this.gutter) { ret.marginLeft = '-' + this.gutter / 2 + 'px'; ret.marginRight = ret.marginLeft; } return ret; } }, render: function render(h) { return h(this.tag, { class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align !== 'top' ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }], style: this.style }, this.$slots.default); } }); // CONCATENATED MODULE: ./packages/row/index.js /* istanbul ignore next */ src_row.install = function (Vue) { Vue.component(src_row.name, src_row); }; /* harmony default export */ var packages_row = (src_row); // CONCATENATED MODULE: ./packages/col/src/col.js var col_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* harmony default export */ var col = ({ name: 'ElCol', props: { span: { type: Number, default: 24 }, tag: { type: String, default: 'div' }, offset: Number, pull: Number, push: Number, xs: [Number, Object], sm: [Number, Object], md: [Number, Object], lg: [Number, Object], xl: [Number, Object] }, computed: { gutter: function gutter() { var parent = this.$parent; while (parent && parent.$options.componentName !== 'ElRow') { parent = parent.$parent; } return parent ? parent.gutter : 0; } }, render: function render(h) { var _this = this; var classList = []; var style = {}; if (this.gutter) { style.paddingLeft = this.gutter / 2 + 'px'; style.paddingRight = style.paddingLeft; } ['span', 'offset', 'pull', 'push'].forEach(function (prop) { if (_this[prop] || _this[prop] === 0) { classList.push(prop !== 'span' ? 'el-col-' + prop + '-' + _this[prop] : 'el-col-' + _this[prop]); } }); ['xs', 'sm', 'md', 'lg', 'xl'].forEach(function (size) { if (typeof _this[size] === 'number') { classList.push('el-col-' + size + '-' + _this[size]); } else if (col_typeof(_this[size]) === 'object') { var props = _this[size]; Object.keys(props).forEach(function (prop) { classList.push(prop !== 'span' ? 'el-col-' + size + '-' + prop + '-' + props[prop] : 'el-col-' + size + '-' + props[prop]); }); } }); return h(this.tag, { class: ['el-col', classList], style: style }, this.$slots.default); } }); // CONCATENATED MODULE: ./packages/col/index.js /* istanbul ignore next */ col.install = function (Vue) { Vue.component(col.name, col); }; /* harmony default export */ var packages_col = (col); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-list.vue?vue&type=template&id=173fedf5& var upload_listvue_type_template_id_173fedf5_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition-group", { class: [ "el-upload-list", "el-upload-list--" + _vm.listType, { "is-disabled": _vm.disabled } ], attrs: { tag: "ul", name: "el-list" } }, _vm._l(_vm.files, function(file) { return _c( "li", { key: file.uid, class: [ "el-upload-list__item", "is-" + file.status, _vm.focusing ? "focusing" : "" ], attrs: { tabindex: "0" }, on: { keydown: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "delete", [8, 46], $event.key, [ "Backspace", "Delete", "Del" ]) ) { return null } !_vm.disabled && _vm.$emit("remove", file) }, focus: function($event) { _vm.focusing = true }, blur: function($event) { _vm.focusing = false }, click: function($event) { _vm.focusing = false } } }, [ file.status !== "uploading" && ["picture-card", "picture"].indexOf(_vm.listType) > -1 ? _c("img", { staticClass: "el-upload-list__item-thumbnail", attrs: { src: file.url, alt: "" } }) : _vm._e(), _c( "a", { staticClass: "el-upload-list__item-name", on: { click: function($event) { _vm.handleClick(file) } } }, [ _c("i", { staticClass: "el-icon-document" }), _vm._v(_vm._s(file.name) + "\n ") ] ), _c("label", { staticClass: "el-upload-list__item-status-label" }, [ _c("i", { class: { "el-icon-upload-success": true, "el-icon-circle-check": _vm.listType === "text", "el-icon-check": ["picture-card", "picture"].indexOf(_vm.listType) > -1 } }) ]), !_vm.disabled ? _c("i", { staticClass: "el-icon-close", on: { click: function($event) { _vm.$emit("remove", file) } } }) : _vm._e(), !_vm.disabled ? _c("i", { staticClass: "el-icon-close-tip" }, [ _vm._v(_vm._s(_vm.t("el.upload.deleteTip"))) ]) : _vm._e(), file.status === "uploading" ? _c("el-progress", { attrs: { type: _vm.listType === "picture-card" ? "circle" : "line", "stroke-width": _vm.listType === "picture-card" ? 6 : 2, percentage: _vm.parsePercentage(file.percentage) } }) : _vm._e(), _vm.listType === "picture-card" ? _c("span", { staticClass: "el-upload-list__item-actions" }, [ _vm.handlePreview && _vm.listType === "picture-card" ? _c( "span", { staticClass: "el-upload-list__item-preview", on: { click: function($event) { _vm.handlePreview(file) } } }, [_c("i", { staticClass: "el-icon-zoom-in" })] ) : _vm._e(), !_vm.disabled ? _c( "span", { staticClass: "el-upload-list__item-delete", on: { click: function($event) { _vm.$emit("remove", file) } } }, [_c("i", { staticClass: "el-icon-delete" })] ) : _vm._e() ]) : _vm._e() ], 1 ) }), 0 ) } var upload_listvue_type_template_id_173fedf5_staticRenderFns = [] upload_listvue_type_template_id_173fedf5_render._withStripped = true // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue?vue&type=template&id=173fedf5& // EXTERNAL MODULE: external "element-ui/lib/progress" var progress_ = __webpack_require__(29); var progress_default = /*#__PURE__*/__webpack_require__.n(progress_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-list.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var upload_listvue_type_script_lang_js_ = ({ name: 'ElUploadList', mixins: [locale_default.a], data: function data() { return { focusing: false }; }, components: { ElProgress: progress_default.a }, props: { files: { type: Array, default: function _default() { return []; } }, disabled: { type: Boolean, default: false }, handlePreview: Function, listType: String }, methods: { parsePercentage: function parsePercentage(val) { return parseInt(val, 10); }, handleClick: function handleClick(file) { this.handlePreview && this.handlePreview(file); } } }); // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue?vue&type=script&lang=js& /* harmony default export */ var src_upload_listvue_type_script_lang_js_ = (upload_listvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue /* normalize component */ var upload_list_component = normalizeComponent( src_upload_listvue_type_script_lang_js_, upload_listvue_type_template_id_173fedf5_render, upload_listvue_type_template_id_173fedf5_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var upload_list_api; } upload_list_component.options.__file = "packages/upload/src/upload-list.vue" /* harmony default export */ var upload_list = (upload_list_component.exports); // EXTERNAL MODULE: external "babel-helper-vue-jsx-merge-props" var external_babel_helper_vue_jsx_merge_props_ = __webpack_require__(23); var external_babel_helper_vue_jsx_merge_props_default = /*#__PURE__*/__webpack_require__.n(external_babel_helper_vue_jsx_merge_props_); // CONCATENATED MODULE: ./packages/upload/src/ajax.js function getError(action, option, xhr) { var msg = void 0; if (xhr.response) { msg = '' + (xhr.response.error || xhr.response); } else if (xhr.responseText) { msg = '' + xhr.responseText; } else { msg = 'fail to post ' + action + ' ' + xhr.status; } var err = new Error(msg); err.status = xhr.status; err.method = 'post'; err.url = action; return err; } function getBody(xhr) { var text = xhr.responseText || xhr.response; if (!text) { return text; } try { return JSON.parse(text); } catch (e) { return text; } } function upload(option) { if (typeof XMLHttpRequest === 'undefined') { return; } var xhr = new XMLHttpRequest(); var action = option.action; if (xhr.upload) { xhr.upload.onprogress = function progress(e) { if (e.total > 0) { e.percent = e.loaded / e.total * 100; } option.onProgress(e); }; } var formData = new FormData(); if (option.data) { Object.keys(option.data).forEach(function (key) { formData.append(key, option.data[key]); }); } formData.append(option.filename, option.file, option.file.name); xhr.onerror = function error(e) { option.onError(e); }; xhr.onload = function onload() { if (xhr.status < 200 || xhr.status >= 300) { return option.onError(getError(action, option, xhr)); } option.onSuccess(getBody(xhr)); }; xhr.open('post', action, true); if (option.withCredentials && 'withCredentials' in xhr) { xhr.withCredentials = true; } var headers = option.headers || {}; for (var item in headers) { if (headers.hasOwnProperty(item) && headers[item] !== null) { xhr.setRequestHeader(item, headers[item]); } } xhr.send(formData); return xhr; } // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-dragger.vue?vue&type=template&id=7ebbf219& var upload_draggervue_type_template_id_7ebbf219_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-upload-dragger", class: { "is-dragover": _vm.dragover }, on: { drop: function($event) { $event.preventDefault() return _vm.onDrop($event) }, dragover: function($event) { $event.preventDefault() return _vm.onDragover($event) }, dragleave: function($event) { $event.preventDefault() _vm.dragover = false } } }, [_vm._t("default")], 2 ) } var upload_draggervue_type_template_id_7ebbf219_staticRenderFns = [] upload_draggervue_type_template_id_7ebbf219_render._withStripped = true // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue?vue&type=template&id=7ebbf219& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-dragger.vue?vue&type=script&lang=js& // // // // // // // // // // // // // /* harmony default export */ var upload_draggervue_type_script_lang_js_ = ({ name: 'ElUploadDrag', props: { disabled: Boolean }, inject: { uploader: { default: '' } }, data: function data() { return { dragover: false }; }, methods: { onDragover: function onDragover() { if (!this.disabled) { this.dragover = true; } }, onDrop: function onDrop(e) { if (this.disabled || !this.uploader) return; var accept = this.uploader.accept; this.dragover = false; if (!accept) { this.$emit('file', e.dataTransfer.files); return; } this.$emit('file', [].slice.call(e.dataTransfer.files).filter(function (file) { var type = file.type, name = file.name; var extension = name.indexOf('.') > -1 ? '.' + name.split('.').pop() : ''; var baseType = type.replace(/\/.*$/, ''); return accept.split(',').map(function (type) { return type.trim(); }).filter(function (type) { return type; }).some(function (acceptedType) { if (/\..+$/.test(acceptedType)) { return extension === acceptedType; } if (/\/\*$/.test(acceptedType)) { return baseType === acceptedType.replace(/\/\*$/, ''); } if (/^[^\/]+\/[^\/]+$/.test(acceptedType)) { return type === acceptedType; } return false; }); })); } } }); // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue?vue&type=script&lang=js& /* harmony default export */ var src_upload_draggervue_type_script_lang_js_ = (upload_draggervue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue /* normalize component */ var upload_dragger_component = normalizeComponent( src_upload_draggervue_type_script_lang_js_, upload_draggervue_type_template_id_7ebbf219_render, upload_draggervue_type_template_id_7ebbf219_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var upload_dragger_api; } upload_dragger_component.options.__file = "packages/upload/src/upload-dragger.vue" /* harmony default export */ var upload_dragger = (upload_dragger_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload.vue?vue&type=script&lang=js& /* harmony default export */ var uploadvue_type_script_lang_js_ = ({ inject: ['uploader'], components: { UploadDragger: upload_dragger }, props: { type: String, action: { type: String, required: true }, name: { type: String, default: 'file' }, data: Object, headers: Object, withCredentials: Boolean, multiple: Boolean, accept: String, onStart: Function, onProgress: Function, onSuccess: Function, onError: Function, beforeUpload: Function, drag: Boolean, onPreview: { type: Function, default: function _default() {} }, onRemove: { type: Function, default: function _default() {} }, fileList: Array, autoUpload: Boolean, listType: String, httpRequest: { type: Function, default: upload }, disabled: Boolean, limit: Number, onExceed: Function }, data: function data() { return { mouseover: false, reqs: {} }; }, methods: { isImage: function isImage(str) { return str.indexOf('image') !== -1; }, handleChange: function handleChange(ev) { var files = ev.target.files; if (!files) return; this.uploadFiles(files); }, uploadFiles: function uploadFiles(files) { var _this = this; if (this.limit && this.fileList.length + files.length > this.limit) { this.onExceed && this.onExceed(files, this.fileList); return; } var postFiles = Array.prototype.slice.call(files); if (!this.multiple) { postFiles = postFiles.slice(0, 1); } if (postFiles.length === 0) { return; } postFiles.forEach(function (rawFile) { _this.onStart(rawFile); if (_this.autoUpload) _this.upload(rawFile); }); }, upload: function upload(rawFile) { var _this2 = this; this.$refs.input.value = null; if (!this.beforeUpload) { return this.post(rawFile); } var before = this.beforeUpload(rawFile); if (before && before.then) { before.then(function (processedFile) { var fileType = Object.prototype.toString.call(processedFile); if (fileType === '[object File]' || fileType === '[object Blob]') { if (fileType === '[object Blob]') { processedFile = new File([processedFile], rawFile.name, { type: rawFile.type }); } for (var p in rawFile) { if (rawFile.hasOwnProperty(p)) { processedFile[p] = rawFile[p]; } } _this2.post(processedFile); } else { _this2.post(rawFile); } }, function () { _this2.onRemove(null, rawFile); }); } else if (before !== false) { this.post(rawFile); } else { this.onRemove(null, rawFile); } }, abort: function abort(file) { var reqs = this.reqs; if (file) { var uid = file; if (file.uid) uid = file.uid; if (reqs[uid]) { reqs[uid].abort(); } } else { Object.keys(reqs).forEach(function (uid) { if (reqs[uid]) reqs[uid].abort(); delete reqs[uid]; }); } }, post: function post(rawFile) { var _this3 = this; var uid = rawFile.uid; var options = { headers: this.headers, withCredentials: this.withCredentials, file: rawFile, data: this.data, filename: this.name, action: this.action, onProgress: function onProgress(e) { _this3.onProgress(e, rawFile); }, onSuccess: function onSuccess(res) { _this3.onSuccess(res, rawFile); delete _this3.reqs[uid]; }, onError: function onError(err) { _this3.onError(err, rawFile); delete _this3.reqs[uid]; } }; var req = this.httpRequest(options); this.reqs[uid] = req; if (req && req.then) { req.then(options.onSuccess, options.onError); } }, handleClick: function handleClick() { if (!this.disabled) { this.$refs.input.value = null; this.$refs.input.click(); } }, handleKeydown: function handleKeydown(e) { if (e.target !== e.currentTarget) return; if (e.keyCode === 13 || e.keyCode === 32) { this.handleClick(); } } }, render: function render(h) { var handleClick = this.handleClick, drag = this.drag, name = this.name, handleChange = this.handleChange, multiple = this.multiple, accept = this.accept, listType = this.listType, uploadFiles = this.uploadFiles, disabled = this.disabled, handleKeydown = this.handleKeydown; var data = { class: { 'el-upload': true }, on: { click: handleClick, keydown: handleKeydown } }; data.class['el-upload--' + listType] = true; return h( 'div', external_babel_helper_vue_jsx_merge_props_default()([data, { attrs: { tabindex: '0' } }]), [drag ? h( 'upload-dragger', { attrs: { disabled: disabled }, on: { 'file': uploadFiles } }, [this.$slots.default] ) : this.$slots.default, h('input', { 'class': 'el-upload__input', attrs: { type: 'file', name: name, multiple: multiple, accept: accept }, ref: 'input', on: { 'change': handleChange } })] ); } }); // CONCATENATED MODULE: ./packages/upload/src/upload.vue?vue&type=script&lang=js& /* harmony default export */ var src_uploadvue_type_script_lang_js_ = (uploadvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/upload/src/upload.vue var upload_render, upload_staticRenderFns /* normalize component */ var upload_component = normalizeComponent( src_uploadvue_type_script_lang_js_, upload_render, upload_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var upload_api; } upload_component.options.__file = "packages/upload/src/upload.vue" /* harmony default export */ var src_upload = (upload_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/index.vue?vue&type=script&lang=js& function srcvue_type_script_lang_js_noop() {} /* harmony default export */ var srcvue_type_script_lang_js_ = ({ name: 'ElUpload', mixins: [migrating_default.a], components: { ElProgress: progress_default.a, UploadList: upload_list, Upload: src_upload }, provide: function provide() { return { uploader: this }; }, inject: { elForm: { default: '' } }, props: { action: { type: String, required: true }, headers: { type: Object, default: function _default() { return {}; } }, data: Object, multiple: Boolean, name: { type: String, default: 'file' }, drag: Boolean, dragger: Boolean, withCredentials: Boolean, showFileList: { type: Boolean, default: true }, accept: String, type: { type: String, default: 'select' }, beforeUpload: Function, beforeRemove: Function, onRemove: { type: Function, default: srcvue_type_script_lang_js_noop }, onChange: { type: Function, default: srcvue_type_script_lang_js_noop }, onPreview: { type: Function }, onSuccess: { type: Function, default: srcvue_type_script_lang_js_noop }, onProgress: { type: Function, default: srcvue_type_script_lang_js_noop }, onError: { type: Function, default: srcvue_type_script_lang_js_noop }, fileList: { type: Array, default: function _default() { return []; } }, autoUpload: { type: Boolean, default: true }, listType: { type: String, default: 'text' // text,picture,picture-card }, httpRequest: Function, disabled: Boolean, limit: Number, onExceed: { type: Function, default: srcvue_type_script_lang_js_noop } }, data: function data() { return { uploadFiles: [], dragOver: false, draging: false, tempIndex: 1 }; }, computed: { uploadDisabled: function uploadDisabled() { return this.disabled || (this.elForm || {}).disabled; } }, watch: { listType: function listType(type) { if (type === 'picture-card' || type === 'picture') { this.uploadFiles.forEach(function (file) { if (!file.url && file.raw) { try { file.url = URL.createObjectURL(file.raw); } catch (err) { console.error('[Element Error][Upload]', err); return; } } }); } }, fileList: { immediate: true, handler: function handler(fileList) { var _this = this; this.uploadFiles = fileList.map(function (item) { item.uid = item.uid || Date.now() + _this.tempIndex++; item.status = item.status || 'success'; return item; }); } } }, methods: { handleStart: function handleStart(rawFile) { rawFile.uid = Date.now() + this.tempIndex++; var file = { status: 'ready', name: rawFile.name, size: rawFile.size, percentage: 0, uid: rawFile.uid, raw: rawFile }; if (this.listType === 'picture-card' || this.listType === 'picture') { try { file.url = URL.createObjectURL(rawFile); } catch (err) { console.error('[Element Error][Upload]', err); return; } } this.uploadFiles.push(file); this.onChange(file, this.uploadFiles); }, handleProgress: function handleProgress(ev, rawFile) { var file = this.getFile(rawFile); this.onProgress(ev, file, this.uploadFiles); file.status = 'uploading'; file.percentage = ev.percent || 0; }, handleSuccess: function handleSuccess(res, rawFile) { var file = this.getFile(rawFile); if (file) { file.status = 'success'; file.response = res; this.onSuccess(res, file, this.uploadFiles); this.onChange(file, this.uploadFiles); } }, handleError: function handleError(err, rawFile) { var file = this.getFile(rawFile); var fileList = this.uploadFiles; file.status = 'fail'; fileList.splice(fileList.indexOf(file), 1); this.onError(err, file, this.uploadFiles); this.onChange(file, this.uploadFiles); }, handleRemove: function handleRemove(file, raw) { var _this2 = this; if (raw) { file = this.getFile(raw); } var doRemove = function doRemove() { _this2.abort(file); var fileList = _this2.uploadFiles; fileList.splice(fileList.indexOf(file), 1); _this2.onRemove(file, fileList); }; if (!this.beforeRemove) { doRemove(); } else if (typeof this.beforeRemove === 'function') { var before = this.beforeRemove(file, this.uploadFiles); if (before && before.then) { before.then(function () { doRemove(); }, srcvue_type_script_lang_js_noop); } else if (before !== false) { doRemove(); } } }, getFile: function getFile(rawFile) { var fileList = this.uploadFiles; var target = void 0; fileList.every(function (item) { target = rawFile.uid === item.uid ? item : null; return !target; }); return target; }, abort: function abort(file) { this.$refs['upload-inner'].abort(file); }, clearFiles: function clearFiles() { this.uploadFiles = []; }, submit: function submit() { var _this3 = this; this.uploadFiles.filter(function (file) { return file.status === 'ready'; }).forEach(function (file) { _this3.$refs['upload-inner'].upload(file.raw); }); }, getMigratingConfig: function getMigratingConfig() { return { props: { 'default-file-list': 'default-file-list is renamed to file-list.', 'show-upload-list': 'show-upload-list is renamed to show-file-list.', 'thumbnail-mode': 'thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan' } }; } }, beforeDestroy: function beforeDestroy() { this.uploadFiles.forEach(function (file) { if (file.url && file.url.indexOf('blob:') === 0) { URL.revokeObjectURL(file.url); } }); }, render: function render(h) { var uploadList = void 0; if (this.showFileList) { uploadList = h(upload_list, { attrs: { disabled: this.uploadDisabled, listType: this.listType, files: this.uploadFiles, handlePreview: this.onPreview }, on: { 'remove': this.handleRemove } }); } var uploadData = { props: { type: this.type, drag: this.drag, action: this.action, multiple: this.multiple, 'before-upload': this.beforeUpload, 'with-credentials': this.withCredentials, headers: this.headers, name: this.name, data: this.data, accept: this.accept, fileList: this.uploadFiles, autoUpload: this.autoUpload, listType: this.listType, disabled: this.uploadDisabled, limit: this.limit, 'on-exceed': this.onExceed, 'on-start': this.handleStart, 'on-progress': this.handleProgress, 'on-success': this.handleSuccess, 'on-error': this.handleError, 'on-preview': this.onPreview, 'on-remove': this.handleRemove, 'http-request': this.httpRequest }, ref: 'upload-inner' }; var trigger = this.$slots.trigger || this.$slots.default; var uploadComponent = h( 'upload', uploadData, [trigger] ); return h('div', [this.listType === 'picture-card' ? uploadList : '', this.$slots.trigger ? [uploadComponent, this.$slots.default] : uploadComponent, this.$slots.tip, this.listType !== 'picture-card' ? uploadList : '']); } }); // CONCATENATED MODULE: ./packages/upload/src/index.vue?vue&type=script&lang=js& /* harmony default export */ var upload_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/upload/src/index.vue var src_render, src_staticRenderFns /* normalize component */ var upload_src_component = normalizeComponent( upload_srcvue_type_script_lang_js_, src_render, src_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var src_api; } upload_src_component.options.__file = "packages/upload/src/index.vue" /* harmony default export */ var upload_src = (upload_src_component.exports); // CONCATENATED MODULE: ./packages/upload/index.js /* istanbul ignore next */ upload_src.install = function (Vue) { Vue.component(upload_src.name, upload_src); }; /* harmony default export */ var packages_upload = (upload_src); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=template&id=229ee406& var progressvue_type_template_id_229ee406_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-progress", class: [ "el-progress--" + _vm.type, _vm.status ? "is-" + _vm.status : "", { "el-progress--without-text": !_vm.showText, "el-progress--text-inside": _vm.textInside } ], attrs: { role: "progressbar", "aria-valuenow": _vm.percentage, "aria-valuemin": "0", "aria-valuemax": "100" } }, [ _vm.type === "line" ? _c("div", { staticClass: "el-progress-bar" }, [ _c( "div", { staticClass: "el-progress-bar__outer", style: { height: _vm.strokeWidth + "px" } }, [ _c( "div", { staticClass: "el-progress-bar__inner", style: _vm.barStyle }, [ _vm.showText && _vm.textInside ? _c( "div", { staticClass: "el-progress-bar__innerText" }, [_vm._v(_vm._s(_vm.percentage) + "%")] ) : _vm._e() ] ) ] ) ]) : _c( "div", { staticClass: "el-progress-circle", style: { height: _vm.width + "px", width: _vm.width + "px" } }, [ _c("svg", { attrs: { viewBox: "0 0 100 100" } }, [ _c("path", { staticClass: "el-progress-circle__track", attrs: { d: _vm.trackPath, stroke: "#e5e9f2", "stroke-width": _vm.relativeStrokeWidth, fill: "none" } }), _c("path", { staticClass: "el-progress-circle__path", style: _vm.circlePathStyle, attrs: { d: _vm.trackPath, "stroke-linecap": "round", stroke: _vm.stroke, "stroke-width": _vm.relativeStrokeWidth, fill: "none" } }) ]) ] ), _vm.showText && !_vm.textInside ? _c( "div", { staticClass: "el-progress__text", style: { fontSize: _vm.progressTextSize + "px" } }, [ !_vm.status ? [_vm._v(_vm._s(_vm.percentage) + "%")] : [ _vm.status === "text" ? _vm._t("default") : _c("i", { class: _vm.iconClass }) ] ], 2 ) : _vm._e() ] ) } var progressvue_type_template_id_229ee406_staticRenderFns = [] progressvue_type_template_id_229ee406_render._withStripped = true // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=template&id=229ee406& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var progressvue_type_script_lang_js_ = ({ name: 'ElProgress', props: { type: { type: String, default: 'line', validator: function validator(val) { return ['line', 'circle'].indexOf(val) > -1; } }, percentage: { type: Number, default: 0, required: true, validator: function validator(val) { return val >= 0 && val <= 100; } }, status: { type: String, validator: function validator(val) { return ['text', 'success', 'exception'].indexOf(val) > -1; } }, strokeWidth: { type: Number, default: 6 }, textInside: { type: Boolean, default: false }, width: { type: Number, default: 126 }, showText: { type: Boolean, default: true }, color: { type: String, default: '' } }, computed: { barStyle: function barStyle() { var style = {}; style.width = this.percentage + '%'; style.backgroundColor = this.color; return style; }, relativeStrokeWidth: function relativeStrokeWidth() { return (this.strokeWidth / this.width * 100).toFixed(1); }, trackPath: function trackPath() { var radius = parseInt(50 - parseFloat(this.relativeStrokeWidth) / 2, 10); return 'M 50 50 m 0 -' + radius + ' a ' + radius + ' ' + radius + ' 0 1 1 0 ' + radius * 2 + ' a ' + radius + ' ' + radius + ' 0 1 1 0 -' + radius * 2; }, perimeter: function perimeter() { var radius = 50 - parseFloat(this.relativeStrokeWidth) / 2; return 2 * Math.PI * radius; }, circlePathStyle: function circlePathStyle() { var perimeter = this.perimeter; return { strokeDasharray: perimeter + 'px,' + perimeter + 'px', strokeDashoffset: (1 - this.percentage / 100) * perimeter + 'px', transition: 'stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease' }; }, stroke: function stroke() { var ret = void 0; if (this.color) { ret = this.color; } else { switch (this.status) { case 'success': ret = '#13ce66'; break; case 'exception': ret = '#ff4949'; break; default: ret = '#20a0ff'; } } return ret; }, iconClass: function iconClass() { if (this.type === 'line') { return this.status === 'success' ? 'el-icon-circle-check' : 'el-icon-circle-close'; } else { return this.status === 'success' ? 'el-icon-check' : 'el-icon-close'; } }, progressTextSize: function progressTextSize() { return this.type === 'line' ? 12 + this.strokeWidth * 0.4 : this.width * 0.111111 + 2; } } }); // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=script&lang=js& /* harmony default export */ var src_progressvue_type_script_lang_js_ = (progressvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/progress/src/progress.vue /* normalize component */ var progress_component = normalizeComponent( src_progressvue_type_script_lang_js_, progressvue_type_template_id_229ee406_render, progressvue_type_template_id_229ee406_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var progress_api; } progress_component.options.__file = "packages/progress/src/progress.vue" /* harmony default export */ var progress = (progress_component.exports); // CONCATENATED MODULE: ./packages/progress/index.js /* istanbul ignore next */ progress.install = function (Vue) { Vue.component(progress.name, progress); }; /* harmony default export */ var packages_progress = (progress); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/spinner/src/spinner.vue?vue&type=template&id=697b8538& var spinnervue_type_template_id_697b8538_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("span", { staticClass: "el-spinner" }, [ _c( "svg", { staticClass: "el-spinner-inner", style: { width: _vm.radius / 2 + "px", height: _vm.radius / 2 + "px" }, attrs: { viewBox: "0 0 50 50" } }, [ _c("circle", { staticClass: "path", attrs: { cx: "25", cy: "25", r: "20", fill: "none", stroke: _vm.strokeColor, "stroke-width": _vm.strokeWidth } }) ] ) ]) } var spinnervue_type_template_id_697b8538_staticRenderFns = [] spinnervue_type_template_id_697b8538_render._withStripped = true // CONCATENATED MODULE: ./packages/spinner/src/spinner.vue?vue&type=template&id=697b8538& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/spinner/src/spinner.vue?vue&type=script&lang=js& // // // // // // // /* harmony default export */ var spinnervue_type_script_lang_js_ = ({ name: 'ElSpinner', props: { type: String, radius: { type: Number, default: 100 }, strokeWidth: { type: Number, default: 5 }, strokeColor: { type: String, default: '#efefef' } } }); // CONCATENATED MODULE: ./packages/spinner/src/spinner.vue?vue&type=script&lang=js& /* harmony default export */ var src_spinnervue_type_script_lang_js_ = (spinnervue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/spinner/src/spinner.vue /* normalize component */ var spinner_component = normalizeComponent( src_spinnervue_type_script_lang_js_, spinnervue_type_template_id_697b8538_render, spinnervue_type_template_id_697b8538_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var spinner_api; } spinner_component.options.__file = "packages/spinner/src/spinner.vue" /* harmony default export */ var spinner = (spinner_component.exports); // CONCATENATED MODULE: ./packages/spinner/index.js /* istanbul ignore next */ spinner.install = function (Vue) { Vue.component(spinner.name, spinner); }; /* harmony default export */ var packages_spinner = (spinner); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/message/src/main.vue?vue&type=template&id=455b9f60& var mainvue_type_template_id_455b9f60_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "el-message-fade" }, on: { "after-leave": _vm.handleAfterLeave } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], class: [ "el-message", _vm.type && !_vm.iconClass ? "el-message--" + _vm.type : "", _vm.center ? "is-center" : "", _vm.showClose ? "is-closable" : "", _vm.customClass ], attrs: { role: "alert" }, on: { mouseenter: _vm.clearTimer, mouseleave: _vm.startTimer } }, [ _vm.iconClass ? _c("i", { class: _vm.iconClass }) : _c("i", { class: _vm.typeClass }), _vm._t("default", [ !_vm.dangerouslyUseHTMLString ? _c("p", { staticClass: "el-message__content" }, [ _vm._v(_vm._s(_vm.message)) ]) : _c("p", { staticClass: "el-message__content", domProps: { innerHTML: _vm._s(_vm.message) } }) ]), _vm.showClose ? _c("i", { staticClass: "el-message__closeBtn el-icon-close", on: { click: _vm.close } }) : _vm._e() ], 2 ) ] ) } var mainvue_type_template_id_455b9f60_staticRenderFns = [] mainvue_type_template_id_455b9f60_render._withStripped = true // CONCATENATED MODULE: ./packages/message/src/main.vue?vue&type=template&id=455b9f60& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/message/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // var src_mainvue_type_script_lang_js_typeMap = { success: 'success', info: 'info', warning: 'warning', error: 'error' }; /* harmony default export */ var message_src_mainvue_type_script_lang_js_ = ({ data: function data() { return { visible: false, message: '', duration: 3000, type: 'info', iconClass: '', customClass: '', onClose: null, showClose: false, closed: false, timer: null, dangerouslyUseHTMLString: false, center: false }; }, computed: { typeClass: function typeClass() { return this.type && !this.iconClass ? 'el-message__icon el-icon-' + src_mainvue_type_script_lang_js_typeMap[this.type] : ''; } }, watch: { closed: function closed(newVal) { if (newVal) { this.visible = false; } } }, methods: { handleAfterLeave: function handleAfterLeave() { this.$destroy(true); this.$el.parentNode.removeChild(this.$el); }, close: function close() { this.closed = true; if (typeof this.onClose === 'function') { this.onClose(this); } }, clearTimer: function clearTimer() { clearTimeout(this.timer); }, startTimer: function startTimer() { var _this = this; if (this.duration > 0) { this.timer = setTimeout(function () { if (!_this.closed) { _this.close(); } }, this.duration); } }, keydown: function keydown(e) { if (e.keyCode === 27) { // esc关闭消息 if (!this.closed) { this.close(); } } } }, mounted: function mounted() { this.startTimer(); document.addEventListener('keydown', this.keydown); }, beforeDestroy: function beforeDestroy() { document.removeEventListener('keydown', this.keydown); } }); // CONCATENATED MODULE: ./packages/message/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_message_src_mainvue_type_script_lang_js_ = (message_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/message/src/main.vue /* normalize component */ var message_src_main_component = normalizeComponent( packages_message_src_mainvue_type_script_lang_js_, mainvue_type_template_id_455b9f60_render, mainvue_type_template_id_455b9f60_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var message_src_main_api; } message_src_main_component.options.__file = "packages/message/src/main.vue" /* harmony default export */ var message_src_main = (message_src_main_component.exports); // CONCATENATED MODULE: ./packages/message/src/main.js var MessageConstructor = external_vue_default.a.extend(message_src_main); var message_src_main_instance = void 0; var main_instances = []; var main_seed = 1; var main_Message = function Message(options) { if (external_vue_default.a.prototype.$isServer) return; options = options || {}; if (typeof options === 'string') { options = { message: options }; } var userOnClose = options.onClose; var id = 'message_' + main_seed++; options.onClose = function () { Message.close(id, userOnClose); }; message_src_main_instance = new MessageConstructor({ data: options }); message_src_main_instance.id = id; if (Object(vdom_["isVNode"])(message_src_main_instance.message)) { message_src_main_instance.$slots.default = [message_src_main_instance.message]; message_src_main_instance.message = null; } message_src_main_instance.vm = message_src_main_instance.$mount(); document.body.appendChild(message_src_main_instance.vm.$el); message_src_main_instance.vm.visible = true; message_src_main_instance.dom = message_src_main_instance.vm.$el; message_src_main_instance.dom.style.zIndex = popup_["PopupManager"].nextZIndex(); main_instances.push(message_src_main_instance); return message_src_main_instance.vm; }; ['success', 'warning', 'info', 'error'].forEach(function (type) { main_Message[type] = function (options) { if (typeof options === 'string') { options = { message: options }; } options.type = type; return main_Message(options); }; }); main_Message.close = function (id, userOnClose) { for (var i = 0, len = main_instances.length; i < len; i++) { if (id === main_instances[i].id) { if (typeof userOnClose === 'function') { userOnClose(main_instances[i]); } main_instances.splice(i, 1); break; } } }; main_Message.closeAll = function () { for (var i = main_instances.length - 1; i >= 0; i--) { main_instances[i].close(); } }; /* harmony default export */ var packages_message_src_main = (main_Message); // CONCATENATED MODULE: ./packages/message/index.js /* harmony default export */ var packages_message = (packages_message_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/badge/src/main.vue?vue&type=template&id=7ccb6598& var mainvue_type_template_id_7ccb6598_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-badge" }, [ _vm._t("default"), _c("transition", { attrs: { name: "el-zoom-in-center" } }, [ _c("sup", { directives: [ { name: "show", rawName: "v-show", value: !_vm.hidden && (_vm.content || _vm.content === 0 || _vm.isDot), expression: "!hidden && (content || content === 0 || isDot)" } ], staticClass: "el-badge__content", class: [ "el-badge__content--" + _vm.type, { "is-fixed": _vm.$slots.default, "is-dot": _vm.isDot } ], domProps: { textContent: _vm._s(_vm.content) } }) ]) ], 2 ) } var mainvue_type_template_id_7ccb6598_staticRenderFns = [] mainvue_type_template_id_7ccb6598_render._withStripped = true // CONCATENATED MODULE: ./packages/badge/src/main.vue?vue&type=template&id=7ccb6598& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/badge/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var badge_src_mainvue_type_script_lang_js_ = ({ name: 'ElBadge', props: { value: {}, max: Number, isDot: Boolean, hidden: Boolean, type: { type: String, validator: function validator(val) { return ['primary', 'success', 'warning', 'info', 'danger'].indexOf(val) > -1; } } }, computed: { content: function content() { if (this.isDot) return; var value = this.value; var max = this.max; if (typeof value === 'number' && typeof max === 'number') { return max < value ? max + '+' : value; } return value; } } }); // CONCATENATED MODULE: ./packages/badge/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_badge_src_mainvue_type_script_lang_js_ = (badge_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/badge/src/main.vue /* normalize component */ var badge_src_main_component = normalizeComponent( packages_badge_src_mainvue_type_script_lang_js_, mainvue_type_template_id_7ccb6598_render, mainvue_type_template_id_7ccb6598_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var badge_src_main_api; } badge_src_main_component.options.__file = "packages/badge/src/main.vue" /* harmony default export */ var badge_src_main = (badge_src_main_component.exports); // CONCATENATED MODULE: ./packages/badge/index.js /* istanbul ignore next */ badge_src_main.install = function (Vue) { Vue.component(badge_src_main.name, badge_src_main); }; /* harmony default export */ var badge = (badge_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/card/src/main.vue?vue&type=template&id=59a4a40f& var mainvue_type_template_id_59a4a40f_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-card", class: _vm.shadow ? "is-" + _vm.shadow + "-shadow" : "is-always-shadow" }, [ _vm.$slots.header || _vm.header ? _c( "div", { staticClass: "el-card__header" }, [_vm._t("header", [_vm._v(_vm._s(_vm.header))])], 2 ) : _vm._e(), _c( "div", { staticClass: "el-card__body", style: _vm.bodyStyle }, [_vm._t("default")], 2 ) ] ) } var mainvue_type_template_id_59a4a40f_staticRenderFns = [] mainvue_type_template_id_59a4a40f_render._withStripped = true // CONCATENATED MODULE: ./packages/card/src/main.vue?vue&type=template&id=59a4a40f& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/card/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // /* harmony default export */ var card_src_mainvue_type_script_lang_js_ = ({ name: 'ElCard', props: { header: {}, bodyStyle: {}, shadow: { type: String } } }); // CONCATENATED MODULE: ./packages/card/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_card_src_mainvue_type_script_lang_js_ = (card_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/card/src/main.vue /* normalize component */ var card_src_main_component = normalizeComponent( packages_card_src_mainvue_type_script_lang_js_, mainvue_type_template_id_59a4a40f_render, mainvue_type_template_id_59a4a40f_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var card_src_main_api; } card_src_main_component.options.__file = "packages/card/src/main.vue" /* harmony default export */ var card_src_main = (card_src_main_component.exports); // CONCATENATED MODULE: ./packages/card/index.js /* istanbul ignore next */ card_src_main.install = function (Vue) { Vue.component(card_src_main.name, card_src_main); }; /* harmony default export */ var card = (card_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/rate/src/main.vue?vue&type=template&id=ada57782& var mainvue_type_template_id_ada57782_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-rate", attrs: { role: "slider", "aria-valuenow": _vm.currentValue, "aria-valuetext": _vm.text, "aria-valuemin": "0", "aria-valuemax": _vm.max, tabindex: "0" }, on: { keydown: _vm.handleKey } }, [ _vm._l(_vm.max, function(item, key) { return _c( "span", { key: key, staticClass: "el-rate__item", style: { cursor: _vm.rateDisabled ? "auto" : "pointer" }, on: { mousemove: function($event) { _vm.setCurrentValue(item, $event) }, mouseleave: _vm.resetCurrentValue, click: function($event) { _vm.selectValue(item) } } }, [ _c( "i", { staticClass: "el-rate__icon", class: [ _vm.classes[item - 1], { hover: _vm.hoverIndex === item } ], style: _vm.getIconStyle(item) }, [ _vm.showDecimalIcon(item) ? _c("i", { staticClass: "el-rate__decimal", class: _vm.decimalIconClass, style: _vm.decimalStyle }) : _vm._e() ] ) ] ) }), _vm.showText || _vm.showScore ? _c( "span", { staticClass: "el-rate__text", style: { color: _vm.textColor } }, [_vm._v(_vm._s(_vm.text))] ) : _vm._e() ], 2 ) } var mainvue_type_template_id_ada57782_staticRenderFns = [] mainvue_type_template_id_ada57782_render._withStripped = true // CONCATENATED MODULE: ./packages/rate/src/main.vue?vue&type=template&id=ada57782& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/rate/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var rate_src_mainvue_type_script_lang_js_ = ({ name: 'ElRate', mixins: [migrating_default.a], inject: { elForm: { default: '' } }, data: function data() { return { pointerAtLeftHalf: true, currentValue: this.value, hoverIndex: -1 }; }, props: { value: { type: Number, default: 0 }, lowThreshold: { type: Number, default: 2 }, highThreshold: { type: Number, default: 4 }, max: { type: Number, default: 5 }, colors: { type: Array, default: function _default() { return ['#F7BA2A', '#F7BA2A', '#F7BA2A']; } }, voidColor: { type: String, default: '#C6D1DE' }, disabledVoidColor: { type: String, default: '#EFF2F7' }, iconClasses: { type: Array, default: function _default() { return ['el-icon-star-on', 'el-icon-star-on', 'el-icon-star-on']; } }, voidIconClass: { type: String, default: 'el-icon-star-off' }, disabledVoidIconClass: { type: String, default: 'el-icon-star-on' }, disabled: { type: Boolean, default: false }, allowHalf: { type: Boolean, default: false }, showText: { type: Boolean, default: false }, showScore: { type: Boolean, default: false }, textColor: { type: String, default: '#1f2d3d' }, texts: { type: Array, default: function _default() { return ['极差', '失望', '一般', '满意', '惊喜']; } }, scoreTemplate: { type: String, default: '{value}' } }, computed: { text: function text() { var result = ''; if (this.showScore) { result = this.scoreTemplate.replace(/\{\s*value\s*\}/, this.rateDisabled ? this.value : this.currentValue); } else if (this.showText) { result = this.texts[Math.ceil(this.currentValue) - 1]; } return result; }, decimalStyle: function decimalStyle() { var width = ''; if (this.rateDisabled) { width = (this.valueDecimal < 50 ? 0 : 50) + '%'; } if (this.allowHalf) { width = '50%'; } return { color: this.activeColor, width: width }; }, valueDecimal: function valueDecimal() { return this.value * 100 - Math.floor(this.value) * 100; }, decimalIconClass: function decimalIconClass() { return this.getValueFromMap(this.value, this.classMap); }, voidClass: function voidClass() { return this.rateDisabled ? this.classMap.disabledVoidClass : this.classMap.voidClass; }, activeClass: function activeClass() { return this.getValueFromMap(this.currentValue, this.classMap); }, colorMap: function colorMap() { return { lowColor: this.colors[0], mediumColor: this.colors[1], highColor: this.colors[2], voidColor: this.voidColor, disabledVoidColor: this.disabledVoidColor }; }, activeColor: function activeColor() { return this.getValueFromMap(this.currentValue, this.colorMap); }, classes: function classes() { var result = []; var i = 0; var threshold = this.currentValue; if (this.allowHalf && this.currentValue !== Math.floor(this.currentValue)) { threshold--; } for (; i < threshold; i++) { result.push(this.activeClass); } for (; i < this.max; i++) { result.push(this.voidClass); } return result; }, classMap: function classMap() { return { lowClass: this.iconClasses[0], mediumClass: this.iconClasses[1], highClass: this.iconClasses[2], voidClass: this.voidIconClass, disabledVoidClass: this.disabledVoidIconClass }; }, rateDisabled: function rateDisabled() { return this.disabled || (this.elForm || {}).disabled; } }, watch: { value: function value(val) { this.currentValue = val; this.pointerAtLeftHalf = this.value !== Math.floor(this.value); } }, methods: { getMigratingConfig: function getMigratingConfig() { return { props: { 'text-template': 'text-template is renamed to score-template.' } }; }, getValueFromMap: function getValueFromMap(value, map) { var result = ''; if (value <= this.lowThreshold) { result = map.lowColor || map.lowClass; } else if (value >= this.highThreshold) { result = map.highColor || map.highClass; } else { result = map.mediumColor || map.mediumClass; } return result; }, showDecimalIcon: function showDecimalIcon(item) { var showWhenDisabled = this.rateDisabled && this.valueDecimal > 0 && item - 1 < this.value && item > this.value; /* istanbul ignore next */ var showWhenAllowHalf = this.allowHalf && this.pointerAtLeftHalf && item - 0.5 <= this.currentValue && item > this.currentValue; return showWhenDisabled || showWhenAllowHalf; }, getIconStyle: function getIconStyle(item) { var voidColor = this.rateDisabled ? this.colorMap.disabledVoidColor : this.colorMap.voidColor; return { color: item <= this.currentValue ? this.activeColor : voidColor }; }, selectValue: function selectValue(value) { if (this.rateDisabled) { return; } if (this.allowHalf && this.pointerAtLeftHalf) { this.$emit('input', this.currentValue); this.$emit('change', this.currentValue); } else { this.$emit('input', value); this.$emit('change', value); } }, handleKey: function handleKey(e) { if (this.rateDisabled) { return; } var currentValue = this.currentValue; var keyCode = e.keyCode; if (keyCode === 38 || keyCode === 39) { // left / down if (this.allowHalf) { currentValue += 0.5; } else { currentValue += 1; } e.stopPropagation(); e.preventDefault(); } else if (keyCode === 37 || keyCode === 40) { if (this.allowHalf) { currentValue -= 0.5; } else { currentValue -= 1; } e.stopPropagation(); e.preventDefault(); } currentValue = currentValue < 0 ? 0 : currentValue; currentValue = currentValue > this.max ? this.max : currentValue; this.$emit('input', currentValue); this.$emit('change', currentValue); }, setCurrentValue: function setCurrentValue(value, event) { if (this.rateDisabled) { return; } /* istanbul ignore if */ if (this.allowHalf) { var target = event.target; if (Object(dom_["hasClass"])(target, 'el-rate__item')) { target = target.querySelector('.el-rate__icon'); } if (Object(dom_["hasClass"])(target, 'el-rate__decimal')) { target = target.parentNode; } this.pointerAtLeftHalf = event.offsetX * 2 <= target.clientWidth; this.currentValue = this.pointerAtLeftHalf ? value - 0.5 : value; } else { this.currentValue = value; } this.hoverIndex = value; }, resetCurrentValue: function resetCurrentValue() { if (this.rateDisabled) { return; } if (this.allowHalf) { this.pointerAtLeftHalf = this.value !== Math.floor(this.value); } this.currentValue = this.value; this.hoverIndex = -1; } }, created: function created() { if (!this.value) { this.$emit('input', 0); } } }); // CONCATENATED MODULE: ./packages/rate/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_rate_src_mainvue_type_script_lang_js_ = (rate_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/rate/src/main.vue /* normalize component */ var rate_src_main_component = normalizeComponent( packages_rate_src_mainvue_type_script_lang_js_, mainvue_type_template_id_ada57782_render, mainvue_type_template_id_ada57782_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var rate_src_main_api; } rate_src_main_component.options.__file = "packages/rate/src/main.vue" /* harmony default export */ var rate_src_main = (rate_src_main_component.exports); // CONCATENATED MODULE: ./packages/rate/index.js /* istanbul ignore next */ rate_src_main.install = function (Vue) { Vue.component(rate_src_main.name, rate_src_main); }; /* harmony default export */ var rate = (rate_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/steps.vue?vue&type=template&id=3c6b6dc0& var stepsvue_type_template_id_3c6b6dc0_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-steps", class: [ !_vm.simple && "el-steps--" + _vm.direction, _vm.simple && "el-steps--simple" ] }, [_vm._t("default")], 2 ) } var stepsvue_type_template_id_3c6b6dc0_staticRenderFns = [] stepsvue_type_template_id_3c6b6dc0_render._withStripped = true // CONCATENATED MODULE: ./packages/steps/src/steps.vue?vue&type=template&id=3c6b6dc0& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/steps.vue?vue&type=script&lang=js& // // // // // // // // // // // /* harmony default export */ var stepsvue_type_script_lang_js_ = ({ name: 'ElSteps', mixins: [migrating_default.a], props: { space: [Number, String], active: Number, direction: { type: String, default: 'horizontal' }, alignCenter: Boolean, simple: Boolean, finishStatus: { type: String, default: 'finish' }, processStatus: { type: String, default: 'process' } }, data: function data() { return { steps: [], stepOffset: 0 }; }, methods: { getMigratingConfig: function getMigratingConfig() { return { props: { 'center': 'center is removed.' } }; } }, watch: { active: function active(newVal, oldVal) { this.$emit('change', newVal, oldVal); }, steps: function steps(_steps) { _steps.forEach(function (child, index) { child.index = index; }); } } }); // CONCATENATED MODULE: ./packages/steps/src/steps.vue?vue&type=script&lang=js& /* harmony default export */ var src_stepsvue_type_script_lang_js_ = (stepsvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/steps/src/steps.vue /* normalize component */ var steps_component = normalizeComponent( src_stepsvue_type_script_lang_js_, stepsvue_type_template_id_3c6b6dc0_render, stepsvue_type_template_id_3c6b6dc0_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var steps_api; } steps_component.options.__file = "packages/steps/src/steps.vue" /* harmony default export */ var steps = (steps_component.exports); // CONCATENATED MODULE: ./packages/steps/index.js /* istanbul ignore next */ steps.install = function (Vue) { Vue.component(steps.name, steps); }; /* harmony default export */ var packages_steps = (steps); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/step.vue?vue&type=template&id=f414a87a& var stepvue_type_template_id_f414a87a_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-step", class: [ !_vm.isSimple && "is-" + _vm.$parent.direction, _vm.isSimple && "is-simple", _vm.isLast && !_vm.space && !_vm.isCenter && "is-flex", _vm.isCenter && !_vm.isVertical && !_vm.isSimple && "is-center" ], style: _vm.style }, [ _c( "div", { staticClass: "el-step__head", class: "is-" + _vm.currentStatus }, [ _c( "div", { staticClass: "el-step__line", style: _vm.isLast ? "" : { marginRight: _vm.$parent.stepOffset + "px" } }, [ _c("i", { staticClass: "el-step__line-inner", style: _vm.lineStyle }) ] ), _c( "div", { staticClass: "el-step__icon", class: "is-" + (_vm.icon ? "icon" : "text") }, [ _vm.currentStatus !== "success" && _vm.currentStatus !== "error" ? _vm._t("icon", [ _vm.icon ? _c("i", { staticClass: "el-step__icon-inner", class: [_vm.icon] }) : _vm._e(), !_vm.icon && !_vm.isSimple ? _c("div", { staticClass: "el-step__icon-inner" }, [ _vm._v(_vm._s(_vm.index + 1)) ]) : _vm._e() ]) : _c("i", { staticClass: "el-step__icon-inner is-status", class: [ "el-icon-" + (_vm.currentStatus === "success" ? "check" : "close") ] }) ], 2 ) ] ), _c("div", { staticClass: "el-step__main" }, [ _c( "div", { ref: "title", staticClass: "el-step__title", class: ["is-" + _vm.currentStatus] }, [_vm._t("title", [_vm._v(_vm._s(_vm.title))])], 2 ), _vm.isSimple ? _c("div", { staticClass: "el-step__arrow" }) : _c( "div", { staticClass: "el-step__description", class: ["is-" + _vm.currentStatus] }, [_vm._t("description", [_vm._v(_vm._s(_vm.description))])], 2 ) ]) ] ) } var stepvue_type_template_id_f414a87a_staticRenderFns = [] stepvue_type_template_id_f414a87a_render._withStripped = true // CONCATENATED MODULE: ./packages/steps/src/step.vue?vue&type=template&id=f414a87a& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/step.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var stepvue_type_script_lang_js_ = ({ name: 'ElStep', props: { title: String, icon: String, description: String, status: String }, data: function data() { return { index: -1, lineStyle: {}, internalStatus: '' }; }, beforeCreate: function beforeCreate() { this.$parent.steps.push(this); }, beforeDestroy: function beforeDestroy() { var steps = this.$parent.steps; var index = steps.indexOf(this); if (index >= 0) { steps.splice(index, 1); } }, computed: { currentStatus: function currentStatus() { return this.status || this.internalStatus; }, prevStatus: function prevStatus() { var prevStep = this.$parent.steps[this.index - 1]; return prevStep ? prevStep.currentStatus : 'wait'; }, isCenter: function isCenter() { return this.$parent.alignCenter; }, isVertical: function isVertical() { return this.$parent.direction === 'vertical'; }, isSimple: function isSimple() { return this.$parent.simple; }, isLast: function isLast() { var parent = this.$parent; return parent.steps[parent.steps.length - 1] === this; }, stepsCount: function stepsCount() { return this.$parent.steps.length; }, space: function space() { var isSimple = this.isSimple, space = this.$parent.space; return isSimple ? '' : space; }, style: function style() { var style = {}; var parent = this.$parent; var len = parent.steps.length; var space = typeof this.space === 'number' ? this.space + 'px' : this.space ? this.space : 100 / (len - (this.isCenter ? 0 : 1)) + '%'; style.flexBasis = space; if (this.isVertical) return style; if (this.isLast) { style.maxWidth = 100 / this.stepsCount + '%'; } else { style.marginRight = -this.$parent.stepOffset + 'px'; } return style; } }, methods: { updateStatus: function updateStatus(val) { var prevChild = this.$parent.$children[this.index - 1]; if (val > this.index) { this.internalStatus = this.$parent.finishStatus; } else if (val === this.index && this.prevStatus !== 'error') { this.internalStatus = this.$parent.processStatus; } else { this.internalStatus = 'wait'; } if (prevChild) prevChild.calcProgress(this.internalStatus); }, calcProgress: function calcProgress(status) { var step = 100; var style = {}; style.transitionDelay = 150 * this.index + 'ms'; if (status === this.$parent.processStatus) { step = this.currentStatus !== 'error' ? 0 : 0; } else if (status === 'wait') { step = 0; style.transitionDelay = -150 * this.index + 'ms'; } style.borderWidth = step ? '1px' : 0; this.$parent.direction === 'vertical' ? style.height = step + '%' : style.width = step + '%'; this.lineStyle = style; } }, mounted: function mounted() { var _this = this; var unwatch = this.$watch('index', function (val) { _this.$watch('$parent.active', _this.updateStatus, { immediate: true }); unwatch(); }); } }); // CONCATENATED MODULE: ./packages/steps/src/step.vue?vue&type=script&lang=js& /* harmony default export */ var src_stepvue_type_script_lang_js_ = (stepvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/steps/src/step.vue /* normalize component */ var step_component = normalizeComponent( src_stepvue_type_script_lang_js_, stepvue_type_template_id_f414a87a_render, stepvue_type_template_id_f414a87a_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var step_api; } step_component.options.__file = "packages/steps/src/step.vue" /* harmony default export */ var step = (step_component.exports); // CONCATENATED MODULE: ./packages/step/index.js /* istanbul ignore next */ step.install = function (Vue) { Vue.component(step.name, step); }; /* harmony default export */ var packages_step = (step); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/main.vue?vue&type=template&id=5d5d1482& var mainvue_type_template_id_5d5d1482_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-carousel", class: { "el-carousel--card": _vm.type === "card" }, on: { mouseenter: function($event) { $event.stopPropagation() return _vm.handleMouseEnter($event) }, mouseleave: function($event) { $event.stopPropagation() return _vm.handleMouseLeave($event) } } }, [ _c( "div", { staticClass: "el-carousel__container", style: { height: _vm.height } }, [ _c("transition", { attrs: { name: "carousel-arrow-left" } }, [ _vm.arrow !== "never" ? _c( "button", { directives: [ { name: "show", rawName: "v-show", value: (_vm.arrow === "always" || _vm.hover) && (_vm.loop || _vm.activeIndex > 0), expression: "(arrow === 'always' || hover) && (loop || activeIndex > 0)" } ], staticClass: "el-carousel__arrow el-carousel__arrow--left", attrs: { type: "button" }, on: { mouseenter: function($event) { _vm.handleButtonEnter("left") }, mouseleave: _vm.handleButtonLeave, click: function($event) { $event.stopPropagation() _vm.throttledArrowClick(_vm.activeIndex - 1) } } }, [_c("i", { staticClass: "el-icon-arrow-left" })] ) : _vm._e() ]), _c("transition", { attrs: { name: "carousel-arrow-right" } }, [ _vm.arrow !== "never" ? _c( "button", { directives: [ { name: "show", rawName: "v-show", value: (_vm.arrow === "always" || _vm.hover) && (_vm.loop || _vm.activeIndex < _vm.items.length - 1), expression: "(arrow === 'always' || hover) && (loop || activeIndex < items.length - 1)" } ], staticClass: "el-carousel__arrow el-carousel__arrow--right", attrs: { type: "button" }, on: { mouseenter: function($event) { _vm.handleButtonEnter("right") }, mouseleave: _vm.handleButtonLeave, click: function($event) { $event.stopPropagation() _vm.throttledArrowClick(_vm.activeIndex + 1) } } }, [_c("i", { staticClass: "el-icon-arrow-right" })] ) : _vm._e() ]), _vm._t("default") ], 2 ), _vm.indicatorPosition !== "none" ? _c( "ul", { staticClass: "el-carousel__indicators", class: { "el-carousel__indicators--labels": _vm.hasLabel, "el-carousel__indicators--outside": _vm.indicatorPosition === "outside" || _vm.type === "card" } }, _vm._l(_vm.items, function(item, index) { return _c( "li", { staticClass: "el-carousel__indicator", class: { "is-active": index === _vm.activeIndex }, on: { mouseenter: function($event) { _vm.throttledIndicatorHover(index) }, click: function($event) { $event.stopPropagation() _vm.handleIndicatorClick(index) } } }, [ _c("button", { staticClass: "el-carousel__button" }, [ _vm.hasLabel ? _c("span", [_vm._v(_vm._s(item.label))]) : _vm._e() ]) ] ) }), 0 ) : _vm._e() ] ) } var mainvue_type_template_id_5d5d1482_staticRenderFns = [] mainvue_type_template_id_5d5d1482_render._withStripped = true // CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=template&id=5d5d1482& // EXTERNAL MODULE: external "throttle-debounce/throttle" var throttle_ = __webpack_require__(30); var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var carousel_src_mainvue_type_script_lang_js_ = ({ name: 'ElCarousel', props: { initialIndex: { type: Number, default: 0 }, height: String, trigger: { type: String, default: 'hover' }, autoplay: { type: Boolean, default: true }, interval: { type: Number, default: 3000 }, indicatorPosition: String, indicator: { type: Boolean, default: true }, arrow: { type: String, default: 'hover' }, type: String, loop: { type: Boolean, default: true } }, data: function data() { return { items: [], activeIndex: -1, containerWidth: 0, timer: null, hover: false }; }, computed: { hasLabel: function hasLabel() { return this.items.some(function (item) { return item.label.toString().length > 0; }); } }, watch: { items: function items(val) { if (val.length > 0) this.setActiveItem(this.initialIndex); }, activeIndex: function activeIndex(val, oldVal) { this.resetItemPosition(oldVal); this.$emit('change', val, oldVal); }, autoplay: function autoplay(val) { val ? this.startTimer() : this.pauseTimer(); }, loop: function loop() { this.setActiveItem(this.activeIndex); } }, methods: { handleMouseEnter: function handleMouseEnter() { this.hover = true; this.pauseTimer(); }, handleMouseLeave: function handleMouseLeave() { this.hover = false; this.startTimer(); }, itemInStage: function itemInStage(item, index) { var length = this.items.length; if (index === length - 1 && item.inStage && this.items[0].active || item.inStage && this.items[index + 1] && this.items[index + 1].active) { return 'left'; } else if (index === 0 && item.inStage && this.items[length - 1].active || item.inStage && this.items[index - 1] && this.items[index - 1].active) { return 'right'; } return false; }, handleButtonEnter: function handleButtonEnter(arrow) { var _this = this; this.items.forEach(function (item, index) { if (arrow === _this.itemInStage(item, index)) { item.hover = true; } }); }, handleButtonLeave: function handleButtonLeave() { this.items.forEach(function (item) { item.hover = false; }); }, updateItems: function updateItems() { this.items = this.$children.filter(function (child) { return child.$options.name === 'ElCarouselItem'; }); }, resetItemPosition: function resetItemPosition(oldIndex) { var _this2 = this; this.items.forEach(function (item, index) { item.translateItem(index, _this2.activeIndex, oldIndex); }); }, playSlides: function playSlides() { if (this.activeIndex < this.items.length - 1) { this.activeIndex++; } else if (this.loop) { this.activeIndex = 0; } }, pauseTimer: function pauseTimer() { if (this.timer) { clearInterval(this.timer); this.timer = null; } }, startTimer: function startTimer() { if (this.interval <= 0 || !this.autoplay || this.timer) return; this.timer = setInterval(this.playSlides, this.interval); }, setActiveItem: function setActiveItem(index) { if (typeof index === 'string') { var filteredItems = this.items.filter(function (item) { return item.name === index; }); if (filteredItems.length > 0) { index = this.items.indexOf(filteredItems[0]); } } index = Number(index); if (isNaN(index) || index !== Math.floor(index)) { false && false; return; } var length = this.items.length; var oldIndex = this.activeIndex; if (index < 0) { this.activeIndex = this.loop ? length - 1 : 0; } else if (index >= length) { this.activeIndex = this.loop ? 0 : length - 1; } else { this.activeIndex = index; } if (oldIndex === this.activeIndex) { this.resetItemPosition(oldIndex); } }, prev: function prev() { this.setActiveItem(this.activeIndex - 1); }, next: function next() { this.setActiveItem(this.activeIndex + 1); }, handleIndicatorClick: function handleIndicatorClick(index) { this.activeIndex = index; }, handleIndicatorHover: function handleIndicatorHover(index) { if (this.trigger === 'hover' && index !== this.activeIndex) { this.activeIndex = index; } } }, created: function created() { var _this3 = this; this.throttledArrowClick = throttle_default()(300, true, function (index) { _this3.setActiveItem(index); }); this.throttledIndicatorHover = throttle_default()(300, function (index) { _this3.handleIndicatorHover(index); }); }, mounted: function mounted() { var _this4 = this; this.updateItems(); this.$nextTick(function () { Object(resize_event_["addResizeListener"])(_this4.$el, _this4.resetItemPosition); if (_this4.initialIndex < _this4.items.length && _this4.initialIndex >= 0) { _this4.activeIndex = _this4.initialIndex; } _this4.startTimer(); }); }, beforeDestroy: function beforeDestroy() { if (this.$el) Object(resize_event_["removeResizeListener"])(this.$el, this.resetItemPosition); this.pauseTimer(); } }); // CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_carousel_src_mainvue_type_script_lang_js_ = (carousel_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/carousel/src/main.vue /* normalize component */ var carousel_src_main_component = normalizeComponent( packages_carousel_src_mainvue_type_script_lang_js_, mainvue_type_template_id_5d5d1482_render, mainvue_type_template_id_5d5d1482_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var carousel_src_main_api; } carousel_src_main_component.options.__file = "packages/carousel/src/main.vue" /* harmony default export */ var carousel_src_main = (carousel_src_main_component.exports); // CONCATENATED MODULE: ./packages/carousel/index.js /* istanbul ignore next */ carousel_src_main.install = function (Vue) { Vue.component(carousel_src_main.name, carousel_src_main); }; /* harmony default export */ var carousel = (carousel_src_main); // CONCATENATED MODULE: ./packages/scrollbar/src/util.js var BAR_MAP = { vertical: { offset: 'offsetHeight', scroll: 'scrollTop', scrollSize: 'scrollHeight', size: 'height', key: 'vertical', axis: 'Y', client: 'clientY', direction: 'top' }, horizontal: { offset: 'offsetWidth', scroll: 'scrollLeft', scrollSize: 'scrollWidth', size: 'width', key: 'horizontal', axis: 'X', client: 'clientX', direction: 'left' } }; function renderThumbStyle(_ref) { var move = _ref.move, size = _ref.size, bar = _ref.bar; var style = {}; var translate = 'translate' + bar.axis + '(' + move + '%)'; style[bar.size] = size; style.transform = translate; style.msTransform = translate; style.webkitTransform = translate; return style; }; // CONCATENATED MODULE: ./packages/scrollbar/src/bar.js /* istanbul ignore next */ /* harmony default export */ var src_bar = ({ name: 'Bar', props: { vertical: Boolean, size: String, move: Number }, computed: { bar: function bar() { return BAR_MAP[this.vertical ? 'vertical' : 'horizontal']; }, wrap: function wrap() { return this.$parent.wrap; } }, render: function render(h) { var size = this.size, move = this.move, bar = this.bar; return h( 'div', { 'class': ['el-scrollbar__bar', 'is-' + bar.key], on: { 'mousedown': this.clickTrackHandler } }, [h('div', { ref: 'thumb', 'class': 'el-scrollbar__thumb', on: { 'mousedown': this.clickThumbHandler }, style: renderThumbStyle({ size: size, move: move, bar: bar }) })] ); }, methods: { clickThumbHandler: function clickThumbHandler(e) { this.startDrag(e); this[this.bar.axis] = e.currentTarget[this.bar.offset] - (e[this.bar.client] - e.currentTarget.getBoundingClientRect()[this.bar.direction]); }, clickTrackHandler: function clickTrackHandler(e) { var offset = Math.abs(e.target.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]); var thumbHalf = this.$refs.thumb[this.bar.offset] / 2; var thumbPositionPercentage = (offset - thumbHalf) * 100 / this.$el[this.bar.offset]; this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100; }, startDrag: function startDrag(e) { e.stopImmediatePropagation(); this.cursorDown = true; Object(dom_["on"])(document, 'mousemove', this.mouseMoveDocumentHandler); Object(dom_["on"])(document, 'mouseup', this.mouseUpDocumentHandler); document.onselectstart = function () { return false; }; }, mouseMoveDocumentHandler: function mouseMoveDocumentHandler(e) { if (this.cursorDown === false) return; var prevPage = this[this.bar.axis]; if (!prevPage) return; var offset = (this.$el.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]) * -1; var thumbClickPosition = this.$refs.thumb[this.bar.offset] - prevPage; var thumbPositionPercentage = (offset - thumbClickPosition) * 100 / this.$el[this.bar.offset]; this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100; }, mouseUpDocumentHandler: function mouseUpDocumentHandler(e) { this.cursorDown = false; this[this.bar.axis] = 0; Object(dom_["off"])(document, 'mousemove', this.mouseMoveDocumentHandler); document.onselectstart = null; } }, destroyed: function destroyed() { Object(dom_["off"])(document, 'mouseup', this.mouseUpDocumentHandler); } }); // CONCATENATED MODULE: ./packages/scrollbar/src/main.js // reference https://github.com/noeldelgado/gemini-scrollbar/blob/master/index.js /* istanbul ignore next */ /* harmony default export */ var scrollbar_src_main = ({ name: 'ElScrollbar', components: { Bar: src_bar }, props: { native: Boolean, wrapStyle: {}, wrapClass: {}, viewClass: {}, viewStyle: {}, noresize: Boolean, // 如果 container 尺寸不会发生变化,最好设置它可以优化性能 tag: { type: String, default: 'div' } }, data: function data() { return { sizeWidth: '0', sizeHeight: '0', moveX: 0, moveY: 0 }; }, computed: { wrap: function wrap() { return this.$refs.wrap; } }, render: function render(h) { var gutter = scrollbar_width_default()(); var style = this.wrapStyle; if (gutter) { var gutterWith = '-' + gutter + 'px'; var gutterStyle = 'margin-bottom: ' + gutterWith + '; margin-right: ' + gutterWith + ';'; if (Array.isArray(this.wrapStyle)) { style = Object(util_["toObject"])(this.wrapStyle); style.marginRight = style.marginBottom = gutterWith; } else if (typeof this.wrapStyle === 'string') { style += gutterStyle; } else { style = gutterStyle; } } var view = h(this.tag, { class: ['el-scrollbar__view', this.viewClass], style: this.viewStyle, ref: 'resize' }, this.$slots.default); var wrap = h( 'div', { ref: 'wrap', style: style, on: { 'scroll': this.handleScroll }, 'class': [this.wrapClass, 'el-scrollbar__wrap', gutter ? '' : 'el-scrollbar__wrap--hidden-default'] }, [[view]] ); var nodes = void 0; if (!this.native) { nodes = [wrap, h(src_bar, { attrs: { move: this.moveX, size: this.sizeWidth } }), h(src_bar, { attrs: { vertical: true, move: this.moveY, size: this.sizeHeight } })]; } else { nodes = [h( 'div', { ref: 'wrap', 'class': [this.wrapClass, 'el-scrollbar__wrap'], style: style }, [[view]] )]; } return h('div', { class: 'el-scrollbar' }, nodes); }, methods: { handleScroll: function handleScroll() { var wrap = this.wrap; this.moveY = wrap.scrollTop * 100 / wrap.clientHeight; this.moveX = wrap.scrollLeft * 100 / wrap.clientWidth; }, update: function update() { var heightPercentage = void 0, widthPercentage = void 0; var wrap = this.wrap; if (!wrap) return; heightPercentage = wrap.clientHeight * 100 / wrap.scrollHeight; widthPercentage = wrap.clientWidth * 100 / wrap.scrollWidth; this.sizeHeight = heightPercentage < 100 ? heightPercentage + '%' : ''; this.sizeWidth = widthPercentage < 100 ? widthPercentage + '%' : ''; } }, mounted: function mounted() { if (this.native) return; this.$nextTick(this.update); !this.noresize && Object(resize_event_["addResizeListener"])(this.$refs.resize, this.update); }, beforeDestroy: function beforeDestroy() { if (this.native) return; !this.noresize && Object(resize_event_["removeResizeListener"])(this.$refs.resize, this.update); } }); // CONCATENATED MODULE: ./packages/scrollbar/index.js /* istanbul ignore next */ scrollbar_src_main.install = function (Vue) { Vue.component(scrollbar_src_main.name, scrollbar_src_main); }; /* harmony default export */ var scrollbar = (scrollbar_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/item.vue?vue&type=template&id=1801ae19& var itemvue_type_template_id_1801ae19_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.ready, expression: "ready" } ], staticClass: "el-carousel__item", class: { "is-active": _vm.active, "el-carousel__item--card": _vm.$parent.type === "card", "is-in-stage": _vm.inStage, "is-hover": _vm.hover, "is-animating": _vm.animating }, style: { msTransform: "translateX(" + _vm.translate + "px) scale(" + _vm.scale + ")", webkitTransform: "translateX(" + _vm.translate + "px) scale(" + _vm.scale + ")", transform: "translateX(" + _vm.translate + "px) scale(" + _vm.scale + ")" }, on: { click: _vm.handleItemClick } }, [ _vm.$parent.type === "card" ? _c("div", { directives: [ { name: "show", rawName: "v-show", value: !_vm.active, expression: "!active" } ], staticClass: "el-carousel__mask" }) : _vm._e(), _vm._t("default") ], 2 ) } var itemvue_type_template_id_1801ae19_staticRenderFns = [] itemvue_type_template_id_1801ae19_render._withStripped = true // CONCATENATED MODULE: ./packages/carousel/src/item.vue?vue&type=template&id=1801ae19& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/item.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // var CARD_SCALE = 0.83; /* harmony default export */ var itemvue_type_script_lang_js_ = ({ name: 'ElCarouselItem', props: { name: String, label: { type: [String, Number], default: '' } }, data: function data() { return { hover: false, translate: 0, scale: 1, active: false, ready: false, inStage: false, animating: false }; }, methods: { processIndex: function processIndex(index, activeIndex, length) { if (activeIndex === 0 && index === length - 1) { return -1; } else if (activeIndex === length - 1 && index === 0) { return length; } else if (index < activeIndex - 1 && activeIndex - index >= length / 2) { return length + 1; } else if (index > activeIndex + 1 && index - activeIndex >= length / 2) { return -2; } return index; }, calculateTranslate: function calculateTranslate(index, activeIndex, parentWidth) { if (this.inStage) { return parentWidth * ((2 - CARD_SCALE) * (index - activeIndex) + 1) / 4; } else if (index < activeIndex) { return -(1 + CARD_SCALE) * parentWidth / 4; } else { return (3 + CARD_SCALE) * parentWidth / 4; } }, translateItem: function translateItem(index, activeIndex, oldIndex) { var parentWidth = this.$parent.$el.offsetWidth; var length = this.$parent.items.length; if (this.$parent.type !== 'card' && oldIndex !== undefined) { this.animating = index === activeIndex || index === oldIndex; } if (index !== activeIndex && length > 2 && this.$parent.loop) { index = this.processIndex(index, activeIndex, length); } if (this.$parent.type === 'card') { this.inStage = Math.round(Math.abs(index - activeIndex)) <= 1; this.active = index === activeIndex; this.translate = this.calculateTranslate(index, activeIndex, parentWidth); this.scale = this.active ? 1 : CARD_SCALE; } else { this.active = index === activeIndex; this.translate = parentWidth * (index - activeIndex); } this.ready = true; }, handleItemClick: function handleItemClick() { var parent = this.$parent; if (parent && parent.type === 'card') { var index = parent.items.indexOf(this); parent.setActiveItem(index); } } }, created: function created() { this.$parent && this.$parent.updateItems(); }, destroyed: function destroyed() { this.$parent && this.$parent.updateItems(); } }); // CONCATENATED MODULE: ./packages/carousel/src/item.vue?vue&type=script&lang=js& /* harmony default export */ var src_itemvue_type_script_lang_js_ = (itemvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/carousel/src/item.vue /* normalize component */ var item_component = normalizeComponent( src_itemvue_type_script_lang_js_, itemvue_type_template_id_1801ae19_render, itemvue_type_template_id_1801ae19_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var item_api; } item_component.options.__file = "packages/carousel/src/item.vue" /* harmony default export */ var src_item = (item_component.exports); // CONCATENATED MODULE: ./packages/carousel-item/index.js /* istanbul ignore next */ src_item.install = function (Vue) { Vue.component(src_item.name, src_item); }; /* harmony default export */ var carousel_item = (src_item); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse.vue?vue&type=template&id=461d57f4& var collapsevue_type_template_id_461d57f4_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-collapse", attrs: { role: "tablist", "aria-multiselectable": "true" } }, [_vm._t("default")], 2 ) } var collapsevue_type_template_id_461d57f4_staticRenderFns = [] collapsevue_type_template_id_461d57f4_render._withStripped = true // CONCATENATED MODULE: ./packages/collapse/src/collapse.vue?vue&type=template&id=461d57f4& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse.vue?vue&type=script&lang=js& // // // // // /* harmony default export */ var collapsevue_type_script_lang_js_ = ({ name: 'ElCollapse', componentName: 'ElCollapse', props: { accordion: Boolean, value: { type: [Array, String, Number], default: function _default() { return []; } } }, data: function data() { return { activeNames: [].concat(this.value) }; }, provide: function provide() { return { collapse: this }; }, watch: { value: function value(_value) { this.activeNames = [].concat(_value); } }, methods: { setActiveNames: function setActiveNames(activeNames) { activeNames = [].concat(activeNames); var value = this.accordion ? activeNames[0] : activeNames; this.activeNames = activeNames; this.$emit('input', value); this.$emit('change', value); }, handleItemClick: function handleItemClick(item) { if (this.accordion) { this.setActiveNames((this.activeNames[0] || this.activeNames[0] === 0) && this.activeNames[0] === item.name ? '' : item.name); } else { var activeNames = this.activeNames.slice(0); var index = activeNames.indexOf(item.name); if (index > -1) { activeNames.splice(index, 1); } else { activeNames.push(item.name); } this.setActiveNames(activeNames); } } }, created: function created() { this.$on('item-click', this.handleItemClick); } }); // CONCATENATED MODULE: ./packages/collapse/src/collapse.vue?vue&type=script&lang=js& /* harmony default export */ var src_collapsevue_type_script_lang_js_ = (collapsevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/collapse/src/collapse.vue /* normalize component */ var collapse_component = normalizeComponent( src_collapsevue_type_script_lang_js_, collapsevue_type_template_id_461d57f4_render, collapsevue_type_template_id_461d57f4_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var collapse_api; } collapse_component.options.__file = "packages/collapse/src/collapse.vue" /* harmony default export */ var collapse = (collapse_component.exports); // CONCATENATED MODULE: ./packages/collapse/index.js /* istanbul ignore next */ collapse.install = function (Vue) { Vue.component(collapse.name, collapse); }; /* harmony default export */ var packages_collapse = (collapse); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse-item.vue?vue&type=template&id=2d05faac& var collapse_itemvue_type_template_id_2d05faac_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-collapse-item", class: { "is-active": _vm.isActive } }, [ _c( "div", { attrs: { role: "tab", "aria-expanded": _vm.isActive, "aria-controls": "el-collapse-content-" + _vm.id, "aria-describedby": "el-collapse-content-" + _vm.id } }, [ _c( "div", { staticClass: "el-collapse-item__header", class: { focusing: _vm.focusing, "is-active": _vm.isActive }, attrs: { role: "button", id: "el-collapse-head-" + _vm.id, tabindex: "0" }, on: { click: _vm.handleHeaderClick, keyup: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "space", 32, $event.key, [ " ", "Spacebar" ]) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } $event.stopPropagation() return _vm.handleEnterClick($event) }, focus: _vm.handleFocus, blur: function($event) { _vm.focusing = false } } }, [ _vm._t("title", [_vm._v(_vm._s(_vm.title))]), _c("i", { staticClass: "el-collapse-item__arrow el-icon-arrow-right", class: { "is-active": _vm.isActive } }) ], 2 ) ] ), _c("el-collapse-transition", [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.isActive, expression: "isActive" } ], staticClass: "el-collapse-item__wrap", attrs: { role: "tabpanel", "aria-hidden": !_vm.isActive, "aria-labelledby": "el-collapse-head-" + _vm.id, id: "el-collapse-content-" + _vm.id } }, [ _c( "div", { staticClass: "el-collapse-item__content" }, [_vm._t("default")], 2 ) ] ) ]) ], 1 ) } var collapse_itemvue_type_template_id_2d05faac_staticRenderFns = [] collapse_itemvue_type_template_id_2d05faac_render._withStripped = true // CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue?vue&type=template&id=2d05faac& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse-item.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var collapse_itemvue_type_script_lang_js_ = ({ name: 'ElCollapseItem', componentName: 'ElCollapseItem', mixins: [emitter_default.a], components: { ElCollapseTransition: collapse_transition_default.a }, data: function data() { return { contentWrapStyle: { height: 'auto', display: 'block' }, contentHeight: 0, focusing: false, isClick: false }; }, inject: ['collapse'], props: { title: String, name: { type: [String, Number], default: function _default() { return this._uid; } } }, computed: { isActive: function isActive() { return this.collapse.activeNames.indexOf(this.name) > -1; }, id: function id() { return Object(util_["generateId"])(); } }, methods: { handleFocus: function handleFocus() { var _this = this; setTimeout(function () { if (!_this.isClick) { _this.focusing = true; } else { _this.isClick = false; } }, 50); }, handleHeaderClick: function handleHeaderClick() { this.dispatch('ElCollapse', 'item-click', this); this.focusing = false; this.isClick = true; }, handleEnterClick: function handleEnterClick() { this.dispatch('ElCollapse', 'item-click', this); } } }); // CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue?vue&type=script&lang=js& /* harmony default export */ var src_collapse_itemvue_type_script_lang_js_ = (collapse_itemvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue /* normalize component */ var collapse_item_component = normalizeComponent( src_collapse_itemvue_type_script_lang_js_, collapse_itemvue_type_template_id_2d05faac_render, collapse_itemvue_type_template_id_2d05faac_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var collapse_item_api; } collapse_item_component.options.__file = "packages/collapse/src/collapse-item.vue" /* harmony default export */ var collapse_item = (collapse_item_component.exports); // CONCATENATED MODULE: ./packages/collapse-item/index.js /* istanbul ignore next */ collapse_item.install = function (Vue) { Vue.component(collapse_item.name, collapse_item); }; /* harmony default export */ var packages_collapse_item = (collapse_item); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader/src/main.vue?vue&type=template&id=2e869fa1& var mainvue_type_template_id_2e869fa1_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "span", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.handleClickoutside, expression: "handleClickoutside" } ], ref: "reference", staticClass: "el-cascader", class: [ { "is-opened": _vm.menuVisible, "is-disabled": _vm.cascaderDisabled }, _vm.cascaderSize ? "el-cascader--" + _vm.cascaderSize : "" ], on: { click: _vm.handleClick, mouseenter: function($event) { _vm.inputHover = true }, focus: function($event) { _vm.inputHover = true }, mouseleave: function($event) { _vm.inputHover = false }, blur: function($event) { _vm.inputHover = false }, keydown: _vm.handleKeydown } }, [ _c( "el-input", { ref: "input", class: { "is-focus": _vm.menuVisible }, attrs: { readonly: _vm.readonly, placeholder: _vm.currentLabels.length ? undefined : _vm.placeholder, "validate-event": false, size: _vm.size, disabled: _vm.cascaderDisabled }, on: { input: _vm.debouncedInputChange, focus: _vm.handleFocus, blur: _vm.handleBlur }, nativeOn: { compositionstart: function($event) { return _vm.handleComposition($event) }, compositionend: function($event) { return _vm.handleComposition($event) } }, model: { value: _vm.inputValue, callback: function($$v) { _vm.inputValue = $$v }, expression: "inputValue" } }, [ _c("template", { slot: "suffix" }, [ _vm.clearable && _vm.inputHover && _vm.currentLabels.length ? _c("i", { key: "1", staticClass: "el-input__icon el-icon-circle-close el-cascader__clearIcon", on: { click: _vm.clearValue } }) : _c("i", { key: "2", staticClass: "el-input__icon el-icon-arrow-down", class: { "is-reverse": _vm.menuVisible } }) ]) ], 2 ), _c( "span", { directives: [ { name: "show", rawName: "v-show", value: _vm.inputValue === "" && !_vm.isOnComposition, expression: "inputValue === '' && !isOnComposition" } ], staticClass: "el-cascader__label" }, [ _vm.showAllLevels ? [ _vm._l(_vm.currentLabels, function(label, index) { return [ _vm._v("\n " + _vm._s(label) + "\n "), index < _vm.currentLabels.length - 1 ? _c("span", { key: index }, [ _vm._v(" " + _vm._s(_vm.separator) + " ") ]) : _vm._e() ] }) ] : [ _vm._v( "\n " + _vm._s(_vm.currentLabels[_vm.currentLabels.length - 1]) + "\n " ) ] ], 2 ) ], 1 ) } var mainvue_type_template_id_2e869fa1_staticRenderFns = [] mainvue_type_template_id_2e869fa1_render._withStripped = true // CONCATENATED MODULE: ./packages/cascader/src/main.vue?vue&type=template&id=2e869fa1& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader/src/menu.vue?vue&type=script&lang=js& var copyArray = function copyArray(arr, props) { if (!arr || !Array.isArray(arr) || !props) return arr; var result = []; var configurableProps = ['__IS__FLAT__OPTIONS', 'label', 'value', 'disabled']; var childrenProp = props.children || 'children'; arr.forEach(function (item) { var itemCopy = {}; configurableProps.forEach(function (prop) { var name = props[prop]; var value = item[name]; if (value === undefined) { name = prop; value = item[name]; } if (value !== undefined) itemCopy[name] = value; }); if (Array.isArray(item[childrenProp])) { itemCopy[childrenProp] = copyArray(item[childrenProp], props); } result.push(itemCopy); }); return result; }; /* harmony default export */ var cascader_src_menuvue_type_script_lang_js_ = ({ name: 'ElCascaderMenu', data: function data() { return { inputWidth: 0, options: [], props: {}, visible: false, activeValue: [], value: [], expandTrigger: 'click', changeOnSelect: false, popperClass: '', hoverTimer: 0, clicking: false, id: Object(util_["generateId"])() }; }, watch: { visible: function visible(value) { if (value) { this.activeValue = this.value; } }, value: { immediate: true, handler: function handler(value) { this.activeValue = value; } } }, computed: { activeOptions: { get: function get() { var _this = this; var activeValue = this.activeValue; var configurableProps = ['label', 'value', 'children', 'disabled']; var formatOptions = function formatOptions(options) { options.forEach(function (option) { if (option.__IS__FLAT__OPTIONS) return; configurableProps.forEach(function (prop) { var value = option[_this.props[prop] || prop]; if (value !== undefined) option[prop] = value; }); if (Array.isArray(option.children)) { formatOptions(option.children); } }); }; var loadActiveOptions = function loadActiveOptions(options) { var activeOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; var level = activeOptions.length; activeOptions[level] = options; var active = activeValue[level]; if (Object(shared_["isDef"])(active)) { options = options.filter(function (option) { return option.value === active; })[0]; if (options && options.children) { loadActiveOptions(options.children, activeOptions); } } return activeOptions; }; var optionsCopy = copyArray(this.options, this.props); formatOptions(optionsCopy); return loadActiveOptions(optionsCopy); } } }, methods: { select: function select(item, menuIndex) { if (item.__IS__FLAT__OPTIONS) { this.activeValue = item.value; } else if (menuIndex) { this.activeValue.splice(menuIndex, this.activeValue.length - 1, item.value); } else { this.activeValue = [item.value]; } this.$emit('pick', this.activeValue.slice()); }, handleMenuLeave: function handleMenuLeave() { this.$emit('menuLeave'); }, activeItem: function activeItem(item, menuIndex) { var len = this.activeOptions.length; this.activeValue.splice(menuIndex, len, item.value); this.activeOptions.splice(menuIndex + 1, len, item.children); if (this.changeOnSelect) { this.$emit('pick', this.activeValue.slice(), false); } else { this.$emit('activeItemChange', this.activeValue); } }, scrollMenu: function scrollMenu(menu) { scroll_into_view_default()(menu, menu.getElementsByClassName('is-active')[0]); }, handleMenuEnter: function handleMenuEnter() { var _this2 = this; this.$nextTick(function () { return _this2.$refs.menus.forEach(function (menu) { return _this2.scrollMenu(menu); }); }); } }, render: function render(h) { var _this3 = this; var activeValue = this.activeValue, activeOptions = this.activeOptions, visible = this.visible, expandTrigger = this.expandTrigger, popperClass = this.popperClass, hoverThreshold = this.hoverThreshold; var itemId = null; var itemIndex = 0; var hoverMenuRefs = {}; var hoverMenuHandler = function hoverMenuHandler(e) { var activeMenu = hoverMenuRefs.activeMenu; if (!activeMenu) return; var offsetX = e.offsetX; var width = activeMenu.offsetWidth; var height = activeMenu.offsetHeight; if (e.target === hoverMenuRefs.activeItem) { clearTimeout(_this3.hoverTimer); var _hoverMenuRefs = hoverMenuRefs, activeItem = _hoverMenuRefs.activeItem; var offsetY_top = activeItem.offsetTop; var offsetY_Bottom = offsetY_top + activeItem.offsetHeight; hoverMenuRefs.hoverZone.innerHTML = '\n <path style="pointer-events: auto;" fill="transparent" d="M' + offsetX + ' ' + offsetY_top + ' L' + width + ' 0 V' + offsetY_top + ' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M' + offsetX + ' ' + offsetY_Bottom + ' L' + width + ' ' + height + ' V' + offsetY_Bottom + ' Z" />\n '; } else { if (!_this3.hoverTimer) { _this3.hoverTimer = setTimeout(function () { hoverMenuRefs.hoverZone.innerHTML = ''; }, hoverThreshold); } } }; var menus = this._l(activeOptions, function (menu, menuIndex) { var isFlat = false; var menuId = 'menu-' + _this3.id + '-' + menuIndex; var ownsId = 'menu-' + _this3.id + '-' + (menuIndex + 1); var items = _this3._l(menu, function (item) { var events = { on: {} }; if (item.__IS__FLAT__OPTIONS) isFlat = true; if (!item.disabled) { // keydown up/down/left/right/enter events.on.keydown = function (ev) { var keyCode = ev.keyCode; if ([37, 38, 39, 40, 13, 9, 27].indexOf(keyCode) < 0) { return; } var currentEle = ev.target; var parentEle = _this3.$refs.menus[menuIndex]; var menuItemList = parentEle.querySelectorAll("[tabindex='-1']"); var currentIndex = Array.prototype.indexOf.call(menuItemList, currentEle); // 当前索引 var nextIndex = void 0, nextMenu = void 0; if ([38, 40].indexOf(keyCode) > -1) { if (keyCode === 38) { // up键 nextIndex = currentIndex !== 0 ? currentIndex - 1 : currentIndex; } else if (keyCode === 40) { // down nextIndex = currentIndex !== menuItemList.length - 1 ? currentIndex + 1 : currentIndex; } menuItemList[nextIndex].focus(); } else if (keyCode === 37) { // left键 if (menuIndex !== 0) { var previousMenu = _this3.$refs.menus[menuIndex - 1]; previousMenu.querySelector('[aria-expanded=true]').focus(); } } else if (keyCode === 39) { // right if (item.children) { // 有子menu 选择子menu的第一个menuitem nextMenu = _this3.$refs.menus[menuIndex + 1]; nextMenu.querySelectorAll("[tabindex='-1']")[0].focus(); } } else if (keyCode === 13) { if (!item.children) { var id = currentEle.getAttribute('id'); parentEle.setAttribute('aria-activedescendant', id); _this3.select(item, menuIndex); _this3.$nextTick(function () { return _this3.scrollMenu(_this3.$refs.menus[menuIndex]); }); } } else if (keyCode === 9 || keyCode === 27) { // esc tab _this3.$emit('closeInside'); } }; if (item.children) { var triggerEvent = { click: 'click', hover: 'mouseenter' }[expandTrigger]; var triggerHandler = function triggerHandler() { if (_this3.visible) { _this3.activeItem(item, menuIndex); _this3.$nextTick(function () { // adjust self and next level _this3.scrollMenu(_this3.$refs.menus[menuIndex]); _this3.scrollMenu(_this3.$refs.menus[menuIndex + 1]); }); } }; events.on[triggerEvent] = triggerHandler; if (triggerEvent === 'mouseenter' && _this3.changeOnSelect) { events.on.click = function () { if (_this3.activeValue.indexOf(item.value) !== -1) { _this3.$emit('closeInside', true); } }; } events.on['mousedown'] = function () { _this3.clicking = true; }; events.on['focus'] = function () { // focus 选中 if (_this3.clicking) { _this3.clicking = false; return; } triggerHandler(); }; } else { events.on.click = function () { _this3.select(item, menuIndex); _this3.$nextTick(function () { return _this3.scrollMenu(_this3.$refs.menus[menuIndex]); }); }; } } if (!item.disabled && !item.children) { // no children set id itemId = menuId + '-' + itemIndex; itemIndex++; } return h( 'li', external_babel_helper_vue_jsx_merge_props_default()([{ 'class': { 'el-cascader-menu__item': true, 'el-cascader-menu__item--extensible': item.children, 'is-active': item.value === activeValue[menuIndex], 'is-disabled': item.disabled }, ref: item.value === activeValue[menuIndex] ? 'activeItem' : null }, events, { attrs: { tabindex: item.disabled ? null : -1, role: 'menuitem', 'aria-haspopup': !!item.children, 'aria-expanded': item.value === activeValue[menuIndex], id: itemId, 'aria-owns': !item.children ? null : ownsId } }]), [h('span', [item.label])] ); }); var menuStyle = {}; if (isFlat) { menuStyle.minWidth = _this3.inputWidth + 'px'; } var isHoveredMenu = expandTrigger === 'hover' && activeValue.length - 1 === menuIndex; var hoverMenuEvent = { on: {} }; if (isHoveredMenu) { hoverMenuEvent.on.mousemove = hoverMenuHandler; menuStyle.position = 'relative'; } return h( 'ul', external_babel_helper_vue_jsx_merge_props_default()([{ 'class': { 'el-cascader-menu': true, 'el-cascader-menu--flexible': isFlat } }, hoverMenuEvent, { style: menuStyle, refInFor: true, ref: 'menus', attrs: { role: 'menu', id: menuId } }]), [items, isHoveredMenu ? h('svg', { ref: 'hoverZone', style: { position: 'absolute', top: 0, height: '100%', width: '100%', left: 0, pointerEvents: 'none' } }) : null] ); }); if (expandTrigger === 'hover') { this.$nextTick(function () { var activeItem = _this3.$refs.activeItem; if (activeItem) { var activeMenu = activeItem.parentElement; var hoverZone = _this3.$refs.hoverZone; hoverMenuRefs = { activeMenu: activeMenu, activeItem: activeItem, hoverZone: hoverZone }; } else { hoverMenuRefs = {}; } }); } return h( 'transition', { attrs: { name: 'el-zoom-in-top' }, on: { 'before-enter': this.handleMenuEnter, 'after-leave': this.handleMenuLeave } }, [h( 'div', { directives: [{ name: 'show', value: visible }], 'class': ['el-cascader-menus el-popper', popperClass], ref: 'wrapper' }, [h('div', { attrs: { 'x-arrow': true }, 'class': 'popper__arrow' }), menus] )] ); } }); // CONCATENATED MODULE: ./packages/cascader/src/menu.vue?vue&type=script&lang=js& /* harmony default export */ var packages_cascader_src_menuvue_type_script_lang_js_ = (cascader_src_menuvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/cascader/src/menu.vue var src_menu_render, src_menu_staticRenderFns /* normalize component */ var src_menu_component = normalizeComponent( packages_cascader_src_menuvue_type_script_lang_js_, src_menu_render, src_menu_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var src_menu_api; } src_menu_component.options.__file = "packages/cascader/src/menu.vue" /* harmony default export */ var cascader_src_menu = (src_menu_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var popperMixin = { props: { placement: { type: String, default: 'bottom-start' }, appendToBody: vue_popper_default.a.props.appendToBody, arrowOffset: vue_popper_default.a.props.arrowOffset, offset: vue_popper_default.a.props.offset, boundariesPadding: vue_popper_default.a.props.boundariesPadding, popperOptions: vue_popper_default.a.props.popperOptions }, methods: vue_popper_default.a.methods, data: vue_popper_default.a.data, beforeDestroy: vue_popper_default.a.beforeDestroy }; /* harmony default export */ var cascader_src_mainvue_type_script_lang_js_ = ({ name: 'ElCascader', directives: { Clickoutside: clickoutside_default.a }, mixins: [popperMixin, emitter_default.a, locale_default.a], inject: { elForm: { default: '' }, elFormItem: { default: '' } }, components: { ElInput: input_default.a }, props: { options: { type: Array, required: true }, props: { type: Object, default: function _default() { return { children: 'children', label: 'label', value: 'value', disabled: 'disabled' }; } }, value: { type: Array, default: function _default() { return []; } }, separator: { type: String, default: '/' }, placeholder: { type: String, default: function _default() { return Object(lib_locale_["t"])('el.cascader.placeholder'); } }, disabled: Boolean, clearable: { type: Boolean, default: false }, changeOnSelect: Boolean, popperClass: String, expandTrigger: { type: String, default: 'click' }, filterable: Boolean, size: String, showAllLevels: { type: Boolean, default: true }, debounce: { type: Number, default: 300 }, beforeFilter: { type: Function, default: function _default() { return function () {}; } }, hoverThreshold: { type: Number, default: 500 } }, data: function data() { return { currentValue: this.value || [], menu: null, debouncedInputChange: function debouncedInputChange() {}, menuVisible: false, inputHover: false, inputValue: '', flatOptions: null, id: Object(util_["generateId"])(), needFocus: true, isOnComposition: false }; }, computed: { labelKey: function labelKey() { return this.props.label || 'label'; }, valueKey: function valueKey() { return this.props.value || 'value'; }, childrenKey: function childrenKey() { return this.props.children || 'children'; }, disabledKey: function disabledKey() { return this.props.disabled || 'disabled'; }, currentLabels: function currentLabels() { var _this = this; var options = this.options; var labels = []; this.currentValue.forEach(function (value) { var targetOption = options && options.filter(function (option) { return option[_this.valueKey] === value; })[0]; if (targetOption) { labels.push(targetOption[_this.labelKey]); options = targetOption[_this.childrenKey]; } }); return labels; }, _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, cascaderSize: function cascaderSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, cascaderDisabled: function cascaderDisabled() { return this.disabled || (this.elForm || {}).disabled; }, readonly: function readonly() { return !this.filterable || !Object(util_["isIE"])() && !Object(util_["isEdge"])() && !this.menuVisible; } }, watch: { menuVisible: function menuVisible(value) { this.$refs.input.$refs.input.setAttribute('aria-expanded', value); value ? this.showMenu() : this.hideMenu(); this.$emit('visible-change', value); }, value: function value(_value) { this.currentValue = _value; }, currentValue: function currentValue(value) { this.dispatch('ElFormItem', 'el.form.change', [value]); }, currentLabels: function currentLabels(value) { var inputLabel = this.showAllLevels ? value.join('/') : value[value.length - 1]; this.$refs.input.$refs.input.setAttribute('value', inputLabel); }, options: { deep: true, handler: function handler(value) { if (!this.menu) { this.initMenu(); } this.flatOptions = this.flattenOptions(this.options); this.menu.options = value; } } }, methods: { initMenu: function initMenu() { this.menu = new external_vue_default.a(cascader_src_menu).$mount(); this.menu.options = this.options; this.menu.props = this.props; this.menu.expandTrigger = this.expandTrigger; this.menu.changeOnSelect = this.changeOnSelect; this.menu.popperClass = this.popperClass; this.menu.hoverThreshold = this.hoverThreshold; this.popperElm = this.menu.$el; this.menu.$refs.menus[0].setAttribute('id', 'cascader-menu-' + this.id); this.menu.$on('pick', this.handlePick); this.menu.$on('activeItemChange', this.handleActiveItemChange); this.menu.$on('menuLeave', this.doDestroy); this.menu.$on('closeInside', this.handleClickoutside); }, showMenu: function showMenu() { var _this2 = this; if (!this.menu) { this.initMenu(); } this.menu.value = this.currentValue.slice(0); this.menu.visible = true; this.menu.options = this.options; this.$nextTick(function (_) { _this2.updatePopper(); _this2.menu.inputWidth = _this2.$refs.input.$el.offsetWidth - 2; }); }, hideMenu: function hideMenu() { this.inputValue = ''; this.menu.visible = false; if (this.needFocus) { this.$refs.input.focus(); } else { this.needFocus = true; } }, handleActiveItemChange: function handleActiveItemChange(value) { var _this3 = this; this.$nextTick(function (_) { _this3.updatePopper(); }); this.$emit('active-item-change', value); }, handleKeydown: function handleKeydown(e) { var _this4 = this; var keyCode = e.keyCode; if (keyCode === 13) { this.handleClick(); } else if (keyCode === 40) { // down this.menuVisible = true; // 打开 setTimeout(function () { var firstMenu = _this4.popperElm.querySelectorAll('.el-cascader-menu')[0]; firstMenu.querySelectorAll("[tabindex='-1']")[0].focus(); }); e.stopPropagation(); e.preventDefault(); } else if (keyCode === 27 || keyCode === 9) { // esc tab this.inputValue = ''; if (this.menu) this.menu.visible = false; } }, handlePick: function handlePick(value) { var close = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; this.currentValue = value; this.$emit('input', value); this.$emit('change', value); if (close) { this.menuVisible = false; } else { this.$nextTick(this.updatePopper); } }, handleInputChange: function handleInputChange(value) { var _this5 = this; if (!this.menuVisible) return; var flatOptions = this.flatOptions; if (!value) { this.menu.options = this.options; this.$nextTick(this.updatePopper); return; } var filteredFlatOptions = flatOptions.filter(function (optionsStack) { return optionsStack.some(function (option) { return new RegExp(Object(util_["escapeRegexpString"])(value), 'i').test(option[_this5.labelKey]); }); }); if (filteredFlatOptions.length > 0) { filteredFlatOptions = filteredFlatOptions.map(function (optionStack) { return { __IS__FLAT__OPTIONS: true, value: optionStack.map(function (item) { return item[_this5.valueKey]; }), label: _this5.renderFilteredOptionLabel(value, optionStack), disabled: optionStack.some(function (item) { return item[_this5.disabledKey]; }) }; }); } else { filteredFlatOptions = [{ __IS__FLAT__OPTIONS: true, label: this.t('el.cascader.noMatch'), value: '', disabled: true }]; } this.menu.options = filteredFlatOptions; this.$nextTick(this.updatePopper); }, renderFilteredOptionLabel: function renderFilteredOptionLabel(inputValue, optionsStack) { var _this6 = this; return optionsStack.map(function (option, index) { var label = option[_this6.labelKey]; var keywordIndex = label.toLowerCase().indexOf(inputValue.toLowerCase()); var labelPart = label.slice(keywordIndex, inputValue.length + keywordIndex); var node = keywordIndex > -1 ? _this6.highlightKeyword(label, labelPart) : label; return index === 0 ? node : [' ' + _this6.separator + ' ', node]; }); }, highlightKeyword: function highlightKeyword(label, keyword) { var _this7 = this; var h = this._c; return label.split(keyword).map(function (node, index) { return index === 0 ? node : [h('span', { class: { 'el-cascader-menu__item__keyword': true } }, [_this7._v(keyword)]), node]; }); }, flattenOptions: function flattenOptions(options) { var _this8 = this; var ancestor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; var flatOptions = []; options.forEach(function (option) { var optionsStack = ancestor.concat(option); if (!option[_this8.childrenKey]) { flatOptions.push(optionsStack); } else { if (_this8.changeOnSelect) { flatOptions.push(optionsStack); } flatOptions = flatOptions.concat(_this8.flattenOptions(option[_this8.childrenKey], optionsStack)); } }); return flatOptions; }, clearValue: function clearValue(ev) { ev.stopPropagation(); this.handlePick([], true); }, handleClickoutside: function handleClickoutside() { var pickFinished = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; if (this.menuVisible && !pickFinished) { this.needFocus = false; } this.menuVisible = false; }, handleClick: function handleClick() { if (this.cascaderDisabled) return; this.$refs.input.focus(); if (this.filterable) { this.menuVisible = true; return; } this.menuVisible = !this.menuVisible; }, handleFocus: function handleFocus(event) { this.$emit('focus', event); }, handleBlur: function handleBlur(event) { this.$emit('blur', event); }, handleComposition: function handleComposition(event) { this.isOnComposition = event.type !== 'compositionend'; } }, created: function created() { var _this9 = this; this.debouncedInputChange = debounce_default()(this.debounce, function (value) { var before = _this9.beforeFilter(value); if (before && before.then) { _this9.menu.options = [{ __IS__FLAT__OPTIONS: true, label: _this9.t('el.cascader.loading'), value: '', disabled: true }]; before.then(function () { _this9.$nextTick(function () { _this9.handleInputChange(value); }); }); } else if (before !== false) { _this9.$nextTick(function () { _this9.handleInputChange(value); }); } }); }, mounted: function mounted() { this.flatOptions = this.flattenOptions(this.options); } }); // CONCATENATED MODULE: ./packages/cascader/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_cascader_src_mainvue_type_script_lang_js_ = (cascader_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/cascader/src/main.vue /* normalize component */ var cascader_src_main_component = normalizeComponent( packages_cascader_src_mainvue_type_script_lang_js_, mainvue_type_template_id_2e869fa1_render, mainvue_type_template_id_2e869fa1_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var cascader_src_main_api; } cascader_src_main_component.options.__file = "packages/cascader/src/main.vue" /* harmony default export */ var cascader_src_main = (cascader_src_main_component.exports); // CONCATENATED MODULE: ./packages/cascader/index.js /* istanbul ignore next */ cascader_src_main.install = function (Vue) { Vue.component(cascader_src_main.name, cascader_src_main); }; /* harmony default export */ var cascader = (cascader_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/main.vue?vue&type=template&id=55c8ade7& var mainvue_type_template_id_55c8ade7_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.hide, expression: "hide" } ], class: [ "el-color-picker", _vm.colorDisabled ? "is-disabled" : "", _vm.colorSize ? "el-color-picker--" + _vm.colorSize : "" ] }, [ _vm.colorDisabled ? _c("div", { staticClass: "el-color-picker__mask" }) : _vm._e(), _c( "div", { staticClass: "el-color-picker__trigger", on: { click: _vm.handleTrigger } }, [ _c( "span", { staticClass: "el-color-picker__color", class: { "is-alpha": _vm.showAlpha } }, [ _c("span", { staticClass: "el-color-picker__color-inner", style: { backgroundColor: _vm.displayedColor } }), !_vm.value && !_vm.showPanelColor ? _c("span", { staticClass: "el-color-picker__empty el-icon-close" }) : _vm._e() ] ), _c("span", { directives: [ { name: "show", rawName: "v-show", value: _vm.value || _vm.showPanelColor, expression: "value || showPanelColor" } ], staticClass: "el-color-picker__icon el-icon-arrow-down" }) ] ), _c("picker-dropdown", { ref: "dropdown", class: ["el-color-picker__panel", _vm.popperClass || ""], attrs: { color: _vm.color, "show-alpha": _vm.showAlpha, predefine: _vm.predefine }, on: { pick: _vm.confirmValue, clear: _vm.clearValue }, model: { value: _vm.showPicker, callback: function($$v) { _vm.showPicker = $$v }, expression: "showPicker" } }) ], 1 ) } var mainvue_type_template_id_55c8ade7_staticRenderFns = [] mainvue_type_template_id_55c8ade7_render._withStripped = true // CONCATENATED MODULE: ./packages/color-picker/src/main.vue?vue&type=template&id=55c8ade7& // CONCATENATED MODULE: ./packages/color-picker/src/color.js var color_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; function color_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var hsv2hsl = function hsv2hsl(hue, sat, val) { return [hue, sat * val / ((hue = (2 - sat) * val) < 1 ? hue : 2 - hue) || 0, hue / 2]; }; // Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1 // <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0> var isOnePointZero = function isOnePointZero(n) { return typeof n === 'string' && n.indexOf('.') !== -1 && parseFloat(n) === 1; }; var isPercentage = function isPercentage(n) { return typeof n === 'string' && n.indexOf('%') !== -1; }; // Take input from [0, n] and return it as [0, 1] var bound01 = function bound01(value, max) { if (isOnePointZero(value)) value = '100%'; var processPercent = isPercentage(value); value = Math.min(max, Math.max(0, parseFloat(value))); // Automatically convert percentage into number if (processPercent) { value = parseInt(value * max, 10) / 100; } // Handle floating point rounding errors if (Math.abs(value - max) < 0.000001) { return 1; } // Convert into [0, 1] range if it isn't already return value % max / parseFloat(max); }; var INT_HEX_MAP = { 10: 'A', 11: 'B', 12: 'C', 13: 'D', 14: 'E', 15: 'F' }; var toHex = function toHex(_ref) { var r = _ref.r, g = _ref.g, b = _ref.b; var hexOne = function hexOne(value) { value = Math.min(Math.round(value), 255); var high = Math.floor(value / 16); var low = value % 16; return '' + (INT_HEX_MAP[high] || high) + (INT_HEX_MAP[low] || low); }; if (isNaN(r) || isNaN(g) || isNaN(b)) return ''; return '#' + hexOne(r) + hexOne(g) + hexOne(b); }; var HEX_INT_MAP = { A: 10, B: 11, C: 12, D: 13, E: 14, F: 15 }; var parseHexChannel = function parseHexChannel(hex) { if (hex.length === 2) { return (HEX_INT_MAP[hex[0].toUpperCase()] || +hex[0]) * 16 + (HEX_INT_MAP[hex[1].toUpperCase()] || +hex[1]); } return HEX_INT_MAP[hex[1].toUpperCase()] || +hex[1]; }; var hsl2hsv = function hsl2hsv(hue, sat, light) { sat = sat / 100; light = light / 100; var smin = sat; var lmin = Math.max(light, 0.01); var sv = void 0; var v = void 0; light *= 2; sat *= light <= 1 ? light : 2 - light; smin *= lmin <= 1 ? lmin : 2 - lmin; v = (light + sat) / 2; sv = light === 0 ? 2 * smin / (lmin + smin) : 2 * sat / (light + sat); return { h: hue, s: sv * 100, v: v * 100 }; }; // `rgbToHsv` // Converts an RGB color value to HSV // *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1] // *Returns:* { h, s, v } in [0,1] var rgb2hsv = function rgb2hsv(r, g, b) { r = bound01(r, 255); g = bound01(g, 255); b = bound01(b, 255); var max = Math.max(r, g, b); var min = Math.min(r, g, b); var h = void 0, s = void 0; var v = max; var d = max - min; s = max === 0 ? 0 : d / max; if (max === min) { h = 0; // achromatic } else { switch (max) { case r: h = (g - b) / d + (g < b ? 6 : 0); break; case g: h = (b - r) / d + 2; break; case b: h = (r - g) / d + 4; break; } h /= 6; } return { h: h * 360, s: s * 100, v: v * 100 }; }; // `hsvToRgb` // Converts an HSV color value to RGB. // *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100] // *Returns:* { r, g, b } in the set [0, 255] var hsv2rgb = function hsv2rgb(h, s, v) { h = bound01(h, 360) * 6; s = bound01(s, 100); v = bound01(v, 100); var i = Math.floor(h); var f = h - i; var p = v * (1 - s); var q = v * (1 - f * s); var t = v * (1 - (1 - f) * s); var mod = i % 6; var r = [v, q, p, p, t, v][mod]; var g = [t, v, v, q, p, p][mod]; var b = [p, p, t, v, v, q][mod]; return { r: Math.round(r * 255), g: Math.round(g * 255), b: Math.round(b * 255) }; }; var Color = function () { function Color(options) { color_classCallCheck(this, Color); this._hue = 0; this._saturation = 100; this._value = 100; this._alpha = 100; this.enableAlpha = false; this.format = 'hex'; this.value = ''; options = options || {}; for (var option in options) { if (options.hasOwnProperty(option)) { this[option] = options[option]; } } this.doOnChange(); } Color.prototype.set = function set(prop, value) { if (arguments.length === 1 && (typeof prop === 'undefined' ? 'undefined' : color_typeof(prop)) === 'object') { for (var p in prop) { if (prop.hasOwnProperty(p)) { this.set(p, prop[p]); } } return; } this['_' + prop] = value; this.doOnChange(); }; Color.prototype.get = function get(prop) { return this['_' + prop]; }; Color.prototype.toRgb = function toRgb() { return hsv2rgb(this._hue, this._saturation, this._value); }; Color.prototype.fromString = function fromString(value) { var _this = this; if (!value) { this._hue = 0; this._saturation = 100; this._value = 100; this.doOnChange(); return; } var fromHSV = function fromHSV(h, s, v) { _this._hue = Math.max(0, Math.min(360, h)); _this._saturation = Math.max(0, Math.min(100, s)); _this._value = Math.max(0, Math.min(100, v)); _this.doOnChange(); }; if (value.indexOf('hsl') !== -1) { var parts = value.replace(/hsla|hsl|\(|\)/gm, '').split(/\s|,/g).filter(function (val) { return val !== ''; }).map(function (val, index) { return index > 2 ? parseFloat(val) : parseInt(val, 10); }); if (parts.length === 4) { this._alpha = Math.floor(parseFloat(parts[3]) * 100); } else if (parts.length === 3) { this._alpha = 100; } if (parts.length >= 3) { var _hsl2hsv = hsl2hsv(parts[0], parts[1], parts[2]), h = _hsl2hsv.h, s = _hsl2hsv.s, v = _hsl2hsv.v; fromHSV(h, s, v); } } else if (value.indexOf('hsv') !== -1) { var _parts = value.replace(/hsva|hsv|\(|\)/gm, '').split(/\s|,/g).filter(function (val) { return val !== ''; }).map(function (val, index) { return index > 2 ? parseFloat(val) : parseInt(val, 10); }); if (_parts.length === 4) { this._alpha = Math.floor(parseFloat(_parts[3]) * 100); } else if (_parts.length === 3) { this._alpha = 100; } if (_parts.length >= 3) { fromHSV(_parts[0], _parts[1], _parts[2]); } } else if (value.indexOf('rgb') !== -1) { var _parts2 = value.replace(/rgba|rgb|\(|\)/gm, '').split(/\s|,/g).filter(function (val) { return val !== ''; }).map(function (val, index) { return index > 2 ? parseFloat(val) : parseInt(val, 10); }); if (_parts2.length === 4) { this._alpha = Math.floor(parseFloat(_parts2[3]) * 100); } else if (_parts2.length === 3) { this._alpha = 100; } if (_parts2.length >= 3) { var _rgb2hsv = rgb2hsv(_parts2[0], _parts2[1], _parts2[2]), _h = _rgb2hsv.h, _s = _rgb2hsv.s, _v = _rgb2hsv.v; fromHSV(_h, _s, _v); } } else if (value.indexOf('#') !== -1) { var hex = value.replace('#', '').trim(); var r = void 0, g = void 0, b = void 0; if (hex.length === 3) { r = parseHexChannel(hex[0] + hex[0]); g = parseHexChannel(hex[1] + hex[1]); b = parseHexChannel(hex[2] + hex[2]); } else if (hex.length === 6 || hex.length === 8) { r = parseHexChannel(hex.substring(0, 2)); g = parseHexChannel(hex.substring(2, 4)); b = parseHexChannel(hex.substring(4, 6)); } if (hex.length === 8) { this._alpha = Math.floor(parseHexChannel(hex.substring(6)) / 255 * 100); } else if (hex.length === 3 || hex.length === 6) { this._alpha = 100; } var _rgb2hsv2 = rgb2hsv(r, g, b), _h2 = _rgb2hsv2.h, _s2 = _rgb2hsv2.s, _v2 = _rgb2hsv2.v; fromHSV(_h2, _s2, _v2); } }; Color.prototype.compare = function compare(color) { return Math.abs(color._hue - this._hue) < 2 && Math.abs(color._saturation - this._saturation) < 1 && Math.abs(color._value - this._value) < 1 && Math.abs(color._alpha - this._alpha) < 1; }; Color.prototype.doOnChange = function doOnChange() { var _hue = this._hue, _saturation = this._saturation, _value = this._value, _alpha = this._alpha, format = this.format; if (this.enableAlpha) { switch (format) { case 'hsl': var hsl = hsv2hsl(_hue, _saturation / 100, _value / 100); this.value = 'hsla(' + _hue + ', ' + Math.round(hsl[1] * 100) + '%, ' + Math.round(hsl[2] * 100) + '%, ' + _alpha / 100 + ')'; break; case 'hsv': this.value = 'hsva(' + _hue + ', ' + Math.round(_saturation) + '%, ' + Math.round(_value) + '%, ' + _alpha / 100 + ')'; break; default: var _hsv2rgb = hsv2rgb(_hue, _saturation, _value), r = _hsv2rgb.r, g = _hsv2rgb.g, b = _hsv2rgb.b; this.value = 'rgba(' + r + ', ' + g + ', ' + b + ', ' + _alpha / 100 + ')'; } } else { switch (format) { case 'hsl': var _hsl = hsv2hsl(_hue, _saturation / 100, _value / 100); this.value = 'hsl(' + _hue + ', ' + Math.round(_hsl[1] * 100) + '%, ' + Math.round(_hsl[2] * 100) + '%)'; break; case 'hsv': this.value = 'hsv(' + _hue + ', ' + Math.round(_saturation) + '%, ' + Math.round(_value) + '%)'; break; case 'rgb': var _hsv2rgb2 = hsv2rgb(_hue, _saturation, _value), _r = _hsv2rgb2.r, _g = _hsv2rgb2.g, _b = _hsv2rgb2.b; this.value = 'rgb(' + _r + ', ' + _g + ', ' + _b + ')'; break; default: this.value = toHex(hsv2rgb(_hue, _saturation, _value)); } } }; return Color; }(); /* harmony default export */ var src_color = (Color); ; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/picker-dropdown.vue?vue&type=template&id=06601625& var picker_dropdownvue_type_template_id_06601625_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "transition", { attrs: { name: "el-zoom-in-top" }, on: { "after-leave": _vm.doDestroy } }, [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.showPopper, expression: "showPopper" } ], staticClass: "el-color-dropdown" }, [ _c( "div", { staticClass: "el-color-dropdown__main-wrapper" }, [ _c("hue-slider", { ref: "hue", staticStyle: { float: "right" }, attrs: { color: _vm.color, vertical: "" } }), _c("sv-panel", { ref: "sl", attrs: { color: _vm.color } }) ], 1 ), _vm.showAlpha ? _c("alpha-slider", { ref: "alpha", attrs: { color: _vm.color } }) : _vm._e(), _vm.predefine ? _c("predefine", { attrs: { color: _vm.color, colors: _vm.predefine } }) : _vm._e(), _c( "div", { staticClass: "el-color-dropdown__btns" }, [ _c( "span", { staticClass: "el-color-dropdown__value" }, [ _c("el-input", { attrs: { "validate-event": false, size: "mini" }, on: { blur: _vm.handleConfirm }, nativeOn: { keyup: function($event) { if ( !("button" in $event) && _vm._k( $event.keyCode, "enter", 13, $event.key, "Enter" ) ) { return null } return _vm.handleConfirm($event) } }, model: { value: _vm.customInput, callback: function($$v) { _vm.customInput = $$v }, expression: "customInput" } }) ], 1 ), _c( "el-button", { staticClass: "el-color-dropdown__link-btn", attrs: { size: "mini", type: "text" }, on: { click: function($event) { _vm.$emit("clear") } } }, [ _vm._v( "\n " + _vm._s(_vm.t("el.colorpicker.clear")) + "\n " ) ] ), _c( "el-button", { staticClass: "el-color-dropdown__btn", attrs: { plain: "", size: "mini" }, on: { click: _vm.confirmValue } }, [ _vm._v( "\n " + _vm._s(_vm.t("el.colorpicker.confirm")) + "\n " ) ] ) ], 1 ) ], 1 ) ] ) } var picker_dropdownvue_type_template_id_06601625_staticRenderFns = [] picker_dropdownvue_type_template_id_06601625_render._withStripped = true // CONCATENATED MODULE: ./packages/color-picker/src/components/picker-dropdown.vue?vue&type=template&id=06601625& // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/sv-panel.vue?vue&type=template&id=d8583596& var sv_panelvue_type_template_id_d8583596_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-color-svpanel", style: { backgroundColor: _vm.background } }, [ _c("div", { staticClass: "el-color-svpanel__white" }), _c("div", { staticClass: "el-color-svpanel__black" }), _c( "div", { staticClass: "el-color-svpanel__cursor", style: { top: _vm.cursorTop + "px", left: _vm.cursorLeft + "px" } }, [_c("div")] ) ] ) } var sv_panelvue_type_template_id_d8583596_staticRenderFns = [] sv_panelvue_type_template_id_d8583596_render._withStripped = true // CONCATENATED MODULE: ./packages/color-picker/src/components/sv-panel.vue?vue&type=template&id=d8583596& // CONCATENATED MODULE: ./packages/color-picker/src/draggable.js var isDragging = false; /* harmony default export */ var draggable = (function (element, options) { if (external_vue_default.a.prototype.$isServer) return; var moveFn = function moveFn(event) { if (options.drag) { options.drag(event); } }; var upFn = function upFn(event) { document.removeEventListener('mousemove', moveFn); document.removeEventListener('mouseup', upFn); document.onselectstart = null; document.ondragstart = null; isDragging = false; if (options.end) { options.end(event); } }; element.addEventListener('mousedown', function (event) { if (isDragging) return; document.onselectstart = function () { return false; }; document.ondragstart = function () { return false; }; document.addEventListener('mousemove', moveFn); document.addEventListener('mouseup', upFn); isDragging = true; if (options.start) { options.start(event); } }); }); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/sv-panel.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // /* harmony default export */ var sv_panelvue_type_script_lang_js_ = ({ name: 'el-sl-panel', props: { color: { required: true } }, computed: { colorValue: function colorValue() { var hue = this.color.get('hue'); var value = this.color.get('value'); return { hue: hue, value: value }; } }, watch: { colorValue: function colorValue() { this.update(); } }, methods: { update: function update() { var saturation = this.color.get('saturation'); var value = this.color.get('value'); var el = this.$el; var width = el.clientWidth, height = el.clientHeight; this.cursorLeft = saturation * width / 100; this.cursorTop = (100 - value) * height / 100; this.background = 'hsl(' + this.color.get('hue') + ', 100%, 50%)'; }, handleDrag: function handleDrag(event) { var el = this.$el; var rect = el.getBoundingClientRect(); var left = event.clientX - rect.left; var top = event.clientY - rect.top; left = Math.max(0, left); left = Math.min(left, rect.width); top = Math.max(0, top); top = Math.min(top, rect.height); this.cursorLeft = left; this.cursorTop = top; this.color.set({ saturation: left / rect.width * 100, value: 100 - top / rect.height * 100 }); } }, mounted: function mounted() { var _this = this; draggable(this.$el, { drag: function drag(event) { _this.handleDrag(event); }, end: function end(event) { _this.handleDrag(event); } }); this.update(); }, data: function data() { return { cursorTop: 0, cursorLeft: 0, background: 'hsl(0, 100%, 50%)' }; } }); // CONCATENATED MODULE: ./packages/color-picker/src/components/sv-panel.vue?vue&type=script&lang=js& /* harmony default export */ var components_sv_panelvue_type_script_lang_js_ = (sv_panelvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/color-picker/src/components/sv-panel.vue /* normalize component */ var sv_panel_component = normalizeComponent( components_sv_panelvue_type_script_lang_js_, sv_panelvue_type_template_id_d8583596_render, sv_panelvue_type_template_id_d8583596_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var sv_panel_api; } sv_panel_component.options.__file = "packages/color-picker/src/components/sv-panel.vue" /* harmony default export */ var sv_panel = (sv_panel_component.exports); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/hue-slider.vue?vue&type=template&id=5cdc43b1& var hue_slidervue_type_template_id_5cdc43b1_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-color-hue-slider", class: { "is-vertical": _vm.vertical } }, [ _c("div", { ref: "bar", staticClass: "el-color-hue-slider__bar", on: { click: _vm.handleClick } }), _c("div", { ref: "thumb", staticClass: "el-color-hue-slider__thumb", style: { left: _vm.thumbLeft + "px", top: _vm.thumbTop + "px" } }) ] ) } var hue_slidervue_type_template_id_5cdc43b1_staticRenderFns = [] hue_slidervue_type_template_id_5cdc43b1_render._withStripped = true // CONCATENATED MODULE: ./packages/color-picker/src/components/hue-slider.vue?vue&type=template&id=5cdc43b1& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/hue-slider.vue?vue&type=script&lang=js& // // // // // // // // // // // // // /* harmony default export */ var hue_slidervue_type_script_lang_js_ = ({ name: 'el-color-hue-slider', props: { color: { required: true }, vertical: Boolean }, data: function data() { return { thumbLeft: 0, thumbTop: 0 }; }, computed: { hueValue: function hueValue() { var hue = this.color.get('hue'); return hue; } }, watch: { hueValue: function hueValue() { this.update(); } }, methods: { handleClick: function handleClick(event) { var thumb = this.$refs.thumb; var target = event.target; if (target !== thumb) { this.handleDrag(event); } }, handleDrag: function handleDrag(event) { var rect = this.$el.getBoundingClientRect(); var thumb = this.$refs.thumb; var hue = void 0; if (!this.vertical) { var left = event.clientX - rect.left; left = Math.min(left, rect.width - thumb.offsetWidth / 2); left = Math.max(thumb.offsetWidth / 2, left); hue = Math.round((left - thumb.offsetWidth / 2) / (rect.width - thumb.offsetWidth) * 360); } else { var top = event.clientY - rect.top; top = Math.min(top, rect.height - thumb.offsetHeight / 2); top = Math.max(thumb.offsetHeight / 2, top); hue = Math.round((top - thumb.offsetHeight / 2) / (rect.height - thumb.offsetHeight) * 360); } this.color.set('hue', hue); }, getThumbLeft: function getThumbLeft() { if (this.vertical) return 0; var el = this.$el; var hue = this.color.get('hue'); if (!el) return 0; var thumb = this.$refs.thumb; return Math.round(hue * (el.offsetWidth - thumb.offsetWidth / 2) / 360); }, getThumbTop: function getThumbTop() { if (!this.vertical) return 0; var el = this.$el; var hue = this.color.get('hue'); if (!el) return 0; var thumb = this.$refs.thumb; return Math.round(hue * (el.offsetHeight - thumb.offsetHeight / 2) / 360); }, update: function update() { this.thumbLeft = this.getThumbLeft(); this.thumbTop = this.getThumbTop(); } }, mounted: function mounted() { var _this = this; var _$refs = this.$refs, bar = _$refs.bar, thumb = _$refs.thumb; var dragConfig = { drag: function drag(event) { _this.handleDrag(event); }, end: function end(event) { _this.handleDrag(event); } }; draggable(bar, dragConfig); draggable(thumb, dragConfig); this.update(); } }); // CONCATENATED MODULE: ./packages/color-picker/src/components/hue-slider.vue?vue&type=script&lang=js& /* harmony default export */ var components_hue_slidervue_type_script_lang_js_ = (hue_slidervue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/color-picker/src/components/hue-slider.vue /* normalize component */ var hue_slider_component = normalizeComponent( components_hue_slidervue_type_script_lang_js_, hue_slidervue_type_template_id_5cdc43b1_render, hue_slidervue_type_template_id_5cdc43b1_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var hue_slider_api; } hue_slider_component.options.__file = "packages/color-picker/src/components/hue-slider.vue" /* harmony default export */ var hue_slider = (hue_slider_component.exports); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/alpha-slider.vue?vue&type=template&id=068c66cb& var alpha_slidervue_type_template_id_068c66cb_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-color-alpha-slider", class: { "is-vertical": _vm.vertical } }, [ _c("div", { ref: "bar", staticClass: "el-color-alpha-slider__bar", style: { background: _vm.background }, on: { click: _vm.handleClick } }), _c("div", { ref: "thumb", staticClass: "el-color-alpha-slider__thumb", style: { left: _vm.thumbLeft + "px", top: _vm.thumbTop + "px" } }) ] ) } var alpha_slidervue_type_template_id_068c66cb_staticRenderFns = [] alpha_slidervue_type_template_id_068c66cb_render._withStripped = true // CONCATENATED MODULE: ./packages/color-picker/src/components/alpha-slider.vue?vue&type=template&id=068c66cb& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/alpha-slider.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // /* harmony default export */ var alpha_slidervue_type_script_lang_js_ = ({ name: 'el-color-alpha-slider', props: { color: { required: true }, vertical: Boolean }, watch: { 'color._alpha': function color_alpha() { this.update(); }, 'color.value': function colorValue() { this.update(); } }, methods: { handleClick: function handleClick(event) { var thumb = this.$refs.thumb; var target = event.target; if (target !== thumb) { this.handleDrag(event); } }, handleDrag: function handleDrag(event) { var rect = this.$el.getBoundingClientRect(); var thumb = this.$refs.thumb; if (!this.vertical) { var left = event.clientX - rect.left; left = Math.max(thumb.offsetWidth / 2, left); left = Math.min(left, rect.width - thumb.offsetWidth / 2); this.color.set('alpha', Math.round((left - thumb.offsetWidth / 2) / (rect.width - thumb.offsetWidth) * 100)); } else { var top = event.clientY - rect.top; top = Math.max(thumb.offsetHeight / 2, top); top = Math.min(top, rect.height - thumb.offsetHeight / 2); this.color.set('alpha', Math.round((top - thumb.offsetHeight / 2) / (rect.height - thumb.offsetHeight) * 100)); } }, getThumbLeft: function getThumbLeft() { if (this.vertical) return 0; var el = this.$el; var alpha = this.color._alpha; if (!el) return 0; var thumb = this.$refs.thumb; return Math.round(alpha * (el.offsetWidth - thumb.offsetWidth / 2) / 100); }, getThumbTop: function getThumbTop() { if (!this.vertical) return 0; var el = this.$el; var alpha = this.color._alpha; if (!el) return 0; var thumb = this.$refs.thumb; return Math.round(alpha * (el.offsetHeight - thumb.offsetHeight / 2) / 100); }, getBackground: function getBackground() { if (this.color && this.color.value) { var _color$toRgb = this.color.toRgb(), r = _color$toRgb.r, g = _color$toRgb.g, b = _color$toRgb.b; return 'linear-gradient(to right, rgba(' + r + ', ' + g + ', ' + b + ', 0) 0%, rgba(' + r + ', ' + g + ', ' + b + ', 1) 100%)'; } return null; }, update: function update() { this.thumbLeft = this.getThumbLeft(); this.thumbTop = this.getThumbTop(); this.background = this.getBackground(); } }, data: function data() { return { thumbLeft: 0, thumbTop: 0, background: null }; }, mounted: function mounted() { var _this = this; var _$refs = this.$refs, bar = _$refs.bar, thumb = _$refs.thumb; var dragConfig = { drag: function drag(event) { _this.handleDrag(event); }, end: function end(event) { _this.handleDrag(event); } }; draggable(bar, dragConfig); draggable(thumb, dragConfig); this.update(); } }); // CONCATENATED MODULE: ./packages/color-picker/src/components/alpha-slider.vue?vue&type=script&lang=js& /* harmony default export */ var components_alpha_slidervue_type_script_lang_js_ = (alpha_slidervue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/color-picker/src/components/alpha-slider.vue /* normalize component */ var alpha_slider_component = normalizeComponent( components_alpha_slidervue_type_script_lang_js_, alpha_slidervue_type_template_id_068c66cb_render, alpha_slidervue_type_template_id_068c66cb_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var alpha_slider_api; } alpha_slider_component.options.__file = "packages/color-picker/src/components/alpha-slider.vue" /* harmony default export */ var alpha_slider = (alpha_slider_component.exports); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/predefine.vue?vue&type=template&id=06e03093& var predefinevue_type_template_id_06e03093_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "el-color-predefine" }, [ _c( "div", { staticClass: "el-color-predefine__colors" }, _vm._l(_vm.rgbaColors, function(item, index) { return _c( "div", { key: _vm.colors[index], staticClass: "el-color-predefine__color-selector", class: { selected: item.selected, "is-alpha": item._alpha < 100 }, on: { click: function($event) { _vm.handleSelect(index) } } }, [_c("div", { style: { "background-color": item.value } })] ) }), 0 ) ]) } var predefinevue_type_template_id_06e03093_staticRenderFns = [] predefinevue_type_template_id_06e03093_render._withStripped = true // CONCATENATED MODULE: ./packages/color-picker/src/components/predefine.vue?vue&type=template&id=06e03093& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/predefine.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // /* harmony default export */ var predefinevue_type_script_lang_js_ = ({ props: { colors: { type: Array, required: true }, color: { required: true } }, data: function data() { return { rgbaColors: this.parseColors(this.colors, this.color) }; }, methods: { handleSelect: function handleSelect(index) { this.color.fromString(this.colors[index]); }, parseColors: function parseColors(colors, color) { return colors.map(function (value) { var c = new src_color(); c.enableAlpha = true; c.format = 'rgba'; c.fromString(value); c.selected = c.value === color.value; return c; }); } }, watch: { '$parent.currentColor': function $parentCurrentColor(val) { var color = new src_color(); color.fromString(val); this.rgbaColors.forEach(function (item) { item.selected = color.compare(item); }); }, colors: function colors(newVal) { this.rgbaColors = this.parseColors(newVal, this.color); }, color: function color(newVal) { this.rgbaColors = this.parseColors(this.colors, newVal); } } }); // CONCATENATED MODULE: ./packages/color-picker/src/components/predefine.vue?vue&type=script&lang=js& /* harmony default export */ var components_predefinevue_type_script_lang_js_ = (predefinevue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/color-picker/src/components/predefine.vue /* normalize component */ var predefine_component = normalizeComponent( components_predefinevue_type_script_lang_js_, predefinevue_type_template_id_06e03093_render, predefinevue_type_template_id_06e03093_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var predefine_api; } predefine_component.options.__file = "packages/color-picker/src/components/predefine.vue" /* harmony default export */ var predefine = (predefine_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/picker-dropdown.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var picker_dropdownvue_type_script_lang_js_ = ({ name: 'el-color-picker-dropdown', mixins: [vue_popper_default.a, locale_default.a], components: { SvPanel: sv_panel, HueSlider: hue_slider, AlphaSlider: alpha_slider, ElInput: input_default.a, ElButton: button_default.a, Predefine: predefine }, props: { color: { required: true }, showAlpha: Boolean, predefine: Array }, data: function data() { return { customInput: '' }; }, computed: { currentColor: function currentColor() { var parent = this.$parent; return !parent.value && !parent.showPanelColor ? '' : parent.color.value; } }, methods: { confirmValue: function confirmValue() { this.$emit('pick'); }, handleConfirm: function handleConfirm() { this.color.fromString(this.customInput); } }, mounted: function mounted() { this.$parent.popperElm = this.popperElm = this.$el; this.referenceElm = this.$parent.$el; }, watch: { showPopper: function showPopper(val) { var _this = this; if (val === true) { this.$nextTick(function () { var _$refs = _this.$refs, sl = _$refs.sl, hue = _$refs.hue, alpha = _$refs.alpha; sl && sl.update(); hue && hue.update(); alpha && alpha.update(); }); } }, currentColor: { immediate: true, handler: function handler(val) { this.customInput = val; } } } }); // CONCATENATED MODULE: ./packages/color-picker/src/components/picker-dropdown.vue?vue&type=script&lang=js& /* harmony default export */ var components_picker_dropdownvue_type_script_lang_js_ = (picker_dropdownvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/color-picker/src/components/picker-dropdown.vue /* normalize component */ var picker_dropdown_component = normalizeComponent( components_picker_dropdownvue_type_script_lang_js_, picker_dropdownvue_type_template_id_06601625_render, picker_dropdownvue_type_template_id_06601625_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var picker_dropdown_api; } picker_dropdown_component.options.__file = "packages/color-picker/src/components/picker-dropdown.vue" /* harmony default export */ var picker_dropdown = (picker_dropdown_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var color_picker_src_mainvue_type_script_lang_js_ = ({ name: 'ElColorPicker', mixins: [emitter_default.a], props: { value: String, showAlpha: Boolean, colorFormat: String, disabled: Boolean, size: String, popperClass: String, predefine: Array }, inject: { elForm: { default: '' }, elFormItem: { default: '' } }, directives: { Clickoutside: clickoutside_default.a }, computed: { displayedColor: function displayedColor() { if (!this.value && !this.showPanelColor) { return 'transparent'; } return this.displayedRgb(this.color, this.showAlpha); }, _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, colorSize: function colorSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, colorDisabled: function colorDisabled() { return this.disabled || (this.elForm || {}).disabled; } }, watch: { value: function value(val) { if (!val) { this.showPanelColor = false; } else if (val && val !== this.color.value) { this.color.fromString(val); } }, color: { deep: true, handler: function handler() { this.showPanelColor = true; } }, displayedColor: function displayedColor(val) { if (!this.showPicker) return; var currentValueColor = new src_color({ enableAlpha: this.showAlpha, format: this.colorFormat }); currentValueColor.fromString(this.value); var currentValueColorRgb = this.displayedRgb(currentValueColor, this.showAlpha); if (val !== currentValueColorRgb) { this.$emit('active-change', val); } } }, methods: { handleTrigger: function handleTrigger() { if (this.colorDisabled) return; this.showPicker = !this.showPicker; }, confirmValue: function confirmValue() { var value = this.color.value; this.$emit('input', value); this.$emit('change', value); this.dispatch('ElFormItem', 'el.form.change', value); this.showPicker = false; }, clearValue: function clearValue() { this.$emit('input', null); this.$emit('change', null); if (this.value !== null) { this.dispatch('ElFormItem', 'el.form.change', null); } this.showPanelColor = false; this.showPicker = false; this.resetColor(); }, hide: function hide() { this.showPicker = false; this.resetColor(); }, resetColor: function resetColor() { var _this = this; this.$nextTick(function (_) { if (_this.value) { _this.color.fromString(_this.value); } else { _this.showPanelColor = false; } }); }, displayedRgb: function displayedRgb(color, showAlpha) { if (!(color instanceof src_color)) { throw Error('color should be instance of Color Class'); } var _color$toRgb = color.toRgb(), r = _color$toRgb.r, g = _color$toRgb.g, b = _color$toRgb.b; return showAlpha ? 'rgba(' + r + ', ' + g + ', ' + b + ', ' + color.get('alpha') / 100 + ')' : 'rgb(' + r + ', ' + g + ', ' + b + ')'; } }, mounted: function mounted() { var value = this.value; if (value) { this.color.fromString(value); } this.popperElm = this.$refs.dropdown.$el; }, data: function data() { var color = new src_color({ enableAlpha: this.showAlpha, format: this.colorFormat }); return { color: color, showPicker: false, showPanelColor: false }; }, components: { PickerDropdown: picker_dropdown } }); // CONCATENATED MODULE: ./packages/color-picker/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_color_picker_src_mainvue_type_script_lang_js_ = (color_picker_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/color-picker/src/main.vue /* normalize component */ var color_picker_src_main_component = normalizeComponent( packages_color_picker_src_mainvue_type_script_lang_js_, mainvue_type_template_id_55c8ade7_render, mainvue_type_template_id_55c8ade7_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var color_picker_src_main_api; } color_picker_src_main_component.options.__file = "packages/color-picker/src/main.vue" /* harmony default export */ var color_picker_src_main = (color_picker_src_main_component.exports); // CONCATENATED MODULE: ./packages/color-picker/index.js /* istanbul ignore next */ color_picker_src_main.install = function (Vue) { Vue.component(color_picker_src_main.name, color_picker_src_main); }; /* harmony default export */ var color_picker = (color_picker_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/transfer/src/main.vue?vue&type=template&id=5c654dd8& var mainvue_type_template_id_5c654dd8_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-transfer" }, [ _c( "transfer-panel", _vm._b( { ref: "leftPanel", attrs: { data: _vm.sourceData, title: _vm.titles[0] || _vm.t("el.transfer.titles.0"), "default-checked": _vm.leftDefaultChecked, placeholder: _vm.filterPlaceholder || _vm.t("el.transfer.filterPlaceholder") }, on: { "checked-change": _vm.onSourceCheckedChange } }, "transfer-panel", _vm.$props, false ), [_vm._t("left-footer")], 2 ), _c( "div", { staticClass: "el-transfer__buttons" }, [ _c( "el-button", { class: [ "el-transfer__button", _vm.hasButtonTexts ? "is-with-texts" : "" ], attrs: { type: "primary", disabled: _vm.rightChecked.length === 0 }, nativeOn: { click: function($event) { return _vm.addToLeft($event) } } }, [ _c("i", { staticClass: "el-icon-arrow-left" }), _vm.buttonTexts[0] !== undefined ? _c("span", [_vm._v(_vm._s(_vm.buttonTexts[0]))]) : _vm._e() ] ), _c( "el-button", { class: [ "el-transfer__button", _vm.hasButtonTexts ? "is-with-texts" : "" ], attrs: { type: "primary", disabled: _vm.leftChecked.length === 0 }, nativeOn: { click: function($event) { return _vm.addToRight($event) } } }, [ _vm.buttonTexts[1] !== undefined ? _c("span", [_vm._v(_vm._s(_vm.buttonTexts[1]))]) : _vm._e(), _c("i", { staticClass: "el-icon-arrow-right" }) ] ) ], 1 ), _c( "transfer-panel", _vm._b( { ref: "rightPanel", attrs: { data: _vm.targetData, title: _vm.titles[1] || _vm.t("el.transfer.titles.1"), "default-checked": _vm.rightDefaultChecked, placeholder: _vm.filterPlaceholder || _vm.t("el.transfer.filterPlaceholder") }, on: { "checked-change": _vm.onTargetCheckedChange } }, "transfer-panel", _vm.$props, false ), [_vm._t("right-footer")], 2 ) ], 1 ) } var mainvue_type_template_id_5c654dd8_staticRenderFns = [] mainvue_type_template_id_5c654dd8_render._withStripped = true // CONCATENATED MODULE: ./packages/transfer/src/main.vue?vue&type=template&id=5c654dd8& // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/transfer/src/transfer-panel.vue?vue&type=template&id=2ddab8bd& var transfer_panelvue_type_template_id_2ddab8bd_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "el-transfer-panel" }, [ _c( "p", { staticClass: "el-transfer-panel__header" }, [ _c( "el-checkbox", { attrs: { indeterminate: _vm.isIndeterminate }, on: { change: _vm.handleAllCheckedChange }, model: { value: _vm.allChecked, callback: function($$v) { _vm.allChecked = $$v }, expression: "allChecked" } }, [ _vm._v("\n " + _vm._s(_vm.title) + "\n "), _c("span", [_vm._v(_vm._s(_vm.checkedSummary))]) ] ) ], 1 ), _c( "div", { class: [ "el-transfer-panel__body", _vm.hasFooter ? "is-with-footer" : "" ] }, [ _vm.filterable ? _c( "el-input", { staticClass: "el-transfer-panel__filter", attrs: { size: "small", placeholder: _vm.placeholder }, nativeOn: { mouseenter: function($event) { _vm.inputHover = true }, mouseleave: function($event) { _vm.inputHover = false } }, model: { value: _vm.query, callback: function($$v) { _vm.query = $$v }, expression: "query" } }, [ _c("i", { class: ["el-input__icon", "el-icon-" + _vm.inputIcon], attrs: { slot: "prefix" }, on: { click: _vm.clearQuery }, slot: "prefix" }) ] ) : _vm._e(), _c( "el-checkbox-group", { directives: [ { name: "show", rawName: "v-show", value: !_vm.hasNoMatch && _vm.data.length > 0, expression: "!hasNoMatch && data.length > 0" } ], staticClass: "el-transfer-panel__list", class: { "is-filterable": _vm.filterable }, model: { value: _vm.checked, callback: function($$v) { _vm.checked = $$v }, expression: "checked" } }, _vm._l(_vm.filteredData, function(item) { return _c( "el-checkbox", { key: item[_vm.keyProp], staticClass: "el-transfer-panel__item", attrs: { label: item[_vm.keyProp], disabled: item[_vm.disabledProp] } }, [_c("option-content", { attrs: { option: item } })], 1 ) }), 1 ), _c( "p", { directives: [ { name: "show", rawName: "v-show", value: _vm.hasNoMatch, expression: "hasNoMatch" } ], staticClass: "el-transfer-panel__empty" }, [_vm._v(_vm._s(_vm.t("el.transfer.noMatch")))] ), _c( "p", { directives: [ { name: "show", rawName: "v-show", value: _vm.data.length === 0 && !_vm.hasNoMatch, expression: "data.length === 0 && !hasNoMatch" } ], staticClass: "el-transfer-panel__empty" }, [_vm._v(_vm._s(_vm.t("el.transfer.noData")))] ) ], 1 ), _vm.hasFooter ? _c( "p", { staticClass: "el-transfer-panel__footer" }, [_vm._t("default")], 2 ) : _vm._e() ]) } var transfer_panelvue_type_template_id_2ddab8bd_staticRenderFns = [] transfer_panelvue_type_template_id_2ddab8bd_render._withStripped = true // CONCATENATED MODULE: ./packages/transfer/src/transfer-panel.vue?vue&type=template&id=2ddab8bd& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/transfer/src/transfer-panel.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var transfer_panelvue_type_script_lang_js_ = ({ mixins: [locale_default.a], name: 'ElTransferPanel', componentName: 'ElTransferPanel', components: { ElCheckboxGroup: checkbox_group_default.a, ElCheckbox: checkbox_default.a, ElInput: input_default.a, OptionContent: { props: { option: Object }, render: function render(h) { var getParent = function getParent(vm) { if (vm.$options.componentName === 'ElTransferPanel') { return vm; } else if (vm.$parent) { return getParent(vm.$parent); } else { return vm; } }; var panel = getParent(this); var transfer = panel.$parent || panel; return panel.renderContent ? panel.renderContent(h, this.option) : transfer.$scopedSlots.default ? transfer.$scopedSlots.default({ option: this.option }) : h('span', [this.option[panel.labelProp] || this.option[panel.keyProp]]); } } }, props: { data: { type: Array, default: function _default() { return []; } }, renderContent: Function, placeholder: String, title: String, filterable: Boolean, format: Object, filterMethod: Function, defaultChecked: Array, props: Object }, data: function data() { return { checked: [], allChecked: false, query: '', inputHover: false, checkChangeByUser: true }; }, watch: { checked: function checked(val, oldVal) { this.updateAllChecked(); if (this.checkChangeByUser) { var movedKeys = val.concat(oldVal).filter(function (v) { return val.indexOf(v) === -1 || oldVal.indexOf(v) === -1; }); this.$emit('checked-change', val, movedKeys); } else { this.$emit('checked-change', val); this.checkChangeByUser = true; } }, data: function data() { var _this = this; var checked = []; var filteredDataKeys = this.filteredData.map(function (item) { return item[_this.keyProp]; }); this.checked.forEach(function (item) { if (filteredDataKeys.indexOf(item) > -1) { checked.push(item); } }); this.checkChangeByUser = false; this.checked = checked; }, checkableData: function checkableData() { this.updateAllChecked(); }, defaultChecked: { immediate: true, handler: function handler(val, oldVal) { var _this2 = this; if (oldVal && val.length === oldVal.length && val.every(function (item) { return oldVal.indexOf(item) > -1; })) return; var checked = []; var checkableDataKeys = this.checkableData.map(function (item) { return item[_this2.keyProp]; }); val.forEach(function (item) { if (checkableDataKeys.indexOf(item) > -1) { checked.push(item); } }); this.checkChangeByUser = false; this.checked = checked; } } }, computed: { filteredData: function filteredData() { var _this3 = this; return this.data.filter(function (item) { if (typeof _this3.filterMethod === 'function') { return _this3.filterMethod(_this3.query, item); } else { var label = item[_this3.labelProp] || item[_this3.keyProp].toString(); return label.toLowerCase().indexOf(_this3.query.toLowerCase()) > -1; } }); }, checkableData: function checkableData() { var _this4 = this; return this.filteredData.filter(function (item) { return !item[_this4.disabledProp]; }); }, checkedSummary: function checkedSummary() { var checkedLength = this.checked.length; var dataLength = this.data.length; var _format = this.format, noChecked = _format.noChecked, hasChecked = _format.hasChecked; if (noChecked && hasChecked) { return checkedLength > 0 ? hasChecked.replace(/\${checked}/g, checkedLength).replace(/\${total}/g, dataLength) : noChecked.replace(/\${total}/g, dataLength); } else { return checkedLength + '/' + dataLength; } }, isIndeterminate: function isIndeterminate() { var checkedLength = this.checked.length; return checkedLength > 0 && checkedLength < this.checkableData.length; }, hasNoMatch: function hasNoMatch() { return this.query.length > 0 && this.filteredData.length === 0; }, inputIcon: function inputIcon() { return this.query.length > 0 && this.inputHover ? 'circle-close' : 'search'; }, labelProp: function labelProp() { return this.props.label || 'label'; }, keyProp: function keyProp() { return this.props.key || 'key'; }, disabledProp: function disabledProp() { return this.props.disabled || 'disabled'; }, hasFooter: function hasFooter() { return !!this.$slots.default; } }, methods: { updateAllChecked: function updateAllChecked() { var _this5 = this; var checkableDataKeys = this.checkableData.map(function (item) { return item[_this5.keyProp]; }); this.allChecked = checkableDataKeys.length > 0 && checkableDataKeys.every(function (item) { return _this5.checked.indexOf(item) > -1; }); }, handleAllCheckedChange: function handleAllCheckedChange(value) { var _this6 = this; this.checked = value ? this.checkableData.map(function (item) { return item[_this6.keyProp]; }) : []; }, clearQuery: function clearQuery() { if (this.inputIcon === 'circle-close') { this.query = ''; } } } }); // CONCATENATED MODULE: ./packages/transfer/src/transfer-panel.vue?vue&type=script&lang=js& /* harmony default export */ var src_transfer_panelvue_type_script_lang_js_ = (transfer_panelvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/transfer/src/transfer-panel.vue /* normalize component */ var transfer_panel_component = normalizeComponent( src_transfer_panelvue_type_script_lang_js_, transfer_panelvue_type_template_id_2ddab8bd_render, transfer_panelvue_type_template_id_2ddab8bd_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var transfer_panel_api; } transfer_panel_component.options.__file = "packages/transfer/src/transfer-panel.vue" /* harmony default export */ var transfer_panel = (transfer_panel_component.exports); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/transfer/src/main.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var transfer_src_mainvue_type_script_lang_js_ = ({ name: 'ElTransfer', mixins: [emitter_default.a, locale_default.a, migrating_default.a], components: { TransferPanel: transfer_panel, ElButton: button_default.a }, props: { data: { type: Array, default: function _default() { return []; } }, titles: { type: Array, default: function _default() { return []; } }, buttonTexts: { type: Array, default: function _default() { return []; } }, filterPlaceholder: { type: String, default: '' }, filterMethod: Function, leftDefaultChecked: { type: Array, default: function _default() { return []; } }, rightDefaultChecked: { type: Array, default: function _default() { return []; } }, renderContent: Function, value: { type: Array, default: function _default() { return []; } }, format: { type: Object, default: function _default() { return {}; } }, filterable: Boolean, props: { type: Object, default: function _default() { return { label: 'label', key: 'key', disabled: 'disabled' }; } }, targetOrder: { type: String, default: 'original' } }, data: function data() { return { leftChecked: [], rightChecked: [] }; }, computed: { dataObj: function dataObj() { var key = this.props.key; return this.data.reduce(function (o, cur) { return (o[cur[key]] = cur) && o; }, {}); }, sourceData: function sourceData() { var _this = this; return this.data.filter(function (item) { return _this.value.indexOf(item[_this.props.key]) === -1; }); }, targetData: function targetData() { var _this2 = this; if (this.targetOrder === 'original') { return this.data.filter(function (item) { return _this2.value.indexOf(item[_this2.props.key]) > -1; }); } else { return this.value.reduce(function (arr, cur) { var val = _this2.dataObj[cur]; if (val) { arr.push(val); } return arr; }, []); } }, hasButtonTexts: function hasButtonTexts() { return this.buttonTexts.length === 2; } }, watch: { value: function value(val) { this.dispatch('ElFormItem', 'el.form.change', val); } }, methods: { getMigratingConfig: function getMigratingConfig() { return { props: { 'footer-format': 'footer-format is renamed to format.' } }; }, onSourceCheckedChange: function onSourceCheckedChange(val, movedKeys) { this.leftChecked = val; if (movedKeys === undefined) return; this.$emit('left-check-change', val, movedKeys); }, onTargetCheckedChange: function onTargetCheckedChange(val, movedKeys) { this.rightChecked = val; if (movedKeys === undefined) return; this.$emit('right-check-change', val, movedKeys); }, addToLeft: function addToLeft() { var currentValue = this.value.slice(); this.rightChecked.forEach(function (item) { var index = currentValue.indexOf(item); if (index > -1) { currentValue.splice(index, 1); } }); this.$emit('input', currentValue); this.$emit('change', currentValue, 'left', this.rightChecked); }, addToRight: function addToRight() { var _this3 = this; var currentValue = this.value.slice(); var itemsToBeMoved = []; var key = this.props.key; this.data.forEach(function (item) { var itemKey = item[key]; if (_this3.leftChecked.indexOf(itemKey) > -1 && _this3.value.indexOf(itemKey) === -1) { itemsToBeMoved.push(itemKey); } }); currentValue = this.targetOrder === 'unshift' ? itemsToBeMoved.concat(currentValue) : currentValue.concat(itemsToBeMoved); this.$emit('input', currentValue); this.$emit('change', currentValue, 'right', this.leftChecked); }, clearQuery: function clearQuery(which) { if (which === 'left') { this.$refs.leftPanel.query = ''; } else if (which === 'right') { this.$refs.rightPanel.query = ''; } } } }); // CONCATENATED MODULE: ./packages/transfer/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_transfer_src_mainvue_type_script_lang_js_ = (transfer_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/transfer/src/main.vue /* normalize component */ var transfer_src_main_component = normalizeComponent( packages_transfer_src_mainvue_type_script_lang_js_, mainvue_type_template_id_5c654dd8_render, mainvue_type_template_id_5c654dd8_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var transfer_src_main_api; } transfer_src_main_component.options.__file = "packages/transfer/src/main.vue" /* harmony default export */ var transfer_src_main = (transfer_src_main_component.exports); // CONCATENATED MODULE: ./packages/transfer/index.js /* istanbul ignore next */ transfer_src_main.install = function (Vue) { Vue.component(transfer_src_main.name, transfer_src_main); }; /* harmony default export */ var transfer = (transfer_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/container/src/main.vue?vue&type=template&id=5bf181d4& var mainvue_type_template_id_5bf181d4_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "section", { staticClass: "el-container", class: { "is-vertical": _vm.isVertical } }, [_vm._t("default")], 2 ) } var mainvue_type_template_id_5bf181d4_staticRenderFns = [] mainvue_type_template_id_5bf181d4_render._withStripped = true // CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=template&id=5bf181d4& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/container/src/main.vue?vue&type=script&lang=js& // // // // // // /* harmony default export */ var container_src_mainvue_type_script_lang_js_ = ({ name: 'ElContainer', componentName: 'ElContainer', props: { direction: String }, computed: { isVertical: function isVertical() { if (this.direction === 'vertical') { return true; } else if (this.direction === 'horizontal') { return false; } return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) { var tag = vnode.componentOptions && vnode.componentOptions.tag; return tag === 'el-header' || tag === 'el-footer'; }) : false; } } }); // CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_container_src_mainvue_type_script_lang_js_ = (container_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/container/src/main.vue /* normalize component */ var container_src_main_component = normalizeComponent( packages_container_src_mainvue_type_script_lang_js_, mainvue_type_template_id_5bf181d4_render, mainvue_type_template_id_5bf181d4_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var container_src_main_api; } container_src_main_component.options.__file = "packages/container/src/main.vue" /* harmony default export */ var container_src_main = (container_src_main_component.exports); // CONCATENATED MODULE: ./packages/container/index.js /* istanbul ignore next */ container_src_main.install = function (Vue) { Vue.component(container_src_main.name, container_src_main); }; /* harmony default export */ var container = (container_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/header/src/main.vue?vue&type=template&id=2b296ab2& var mainvue_type_template_id_2b296ab2_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "header", { staticClass: "el-header", style: { height: _vm.height } }, [_vm._t("default")], 2 ) } var mainvue_type_template_id_2b296ab2_staticRenderFns = [] mainvue_type_template_id_2b296ab2_render._withStripped = true // CONCATENATED MODULE: ./packages/header/src/main.vue?vue&type=template&id=2b296ab2& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/header/src/main.vue?vue&type=script&lang=js& // // // // // // /* harmony default export */ var header_src_mainvue_type_script_lang_js_ = ({ name: 'ElHeader', componentName: 'ElHeader', props: { height: { type: String, default: '60px' } } }); // CONCATENATED MODULE: ./packages/header/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_header_src_mainvue_type_script_lang_js_ = (header_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/header/src/main.vue /* normalize component */ var header_src_main_component = normalizeComponent( packages_header_src_mainvue_type_script_lang_js_, mainvue_type_template_id_2b296ab2_render, mainvue_type_template_id_2b296ab2_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var header_src_main_api; } header_src_main_component.options.__file = "packages/header/src/main.vue" /* harmony default export */ var header_src_main = (header_src_main_component.exports); // CONCATENATED MODULE: ./packages/header/index.js /* istanbul ignore next */ header_src_main.install = function (Vue) { Vue.component(header_src_main.name, header_src_main); }; /* harmony default export */ var header = (header_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=template&id=03411dbf& var mainvue_type_template_id_03411dbf_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "aside", { staticClass: "el-aside", style: { width: _vm.width } }, [_vm._t("default")], 2 ) } var mainvue_type_template_id_03411dbf_staticRenderFns = [] mainvue_type_template_id_03411dbf_render._withStripped = true // CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=template&id=03411dbf& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=script&lang=js& // // // // // // /* harmony default export */ var aside_src_mainvue_type_script_lang_js_ = ({ name: 'ElAside', componentName: 'ElAside', props: { width: { type: String, default: '300px' } } }); // CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_aside_src_mainvue_type_script_lang_js_ = (aside_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/aside/src/main.vue /* normalize component */ var aside_src_main_component = normalizeComponent( packages_aside_src_mainvue_type_script_lang_js_, mainvue_type_template_id_03411dbf_render, mainvue_type_template_id_03411dbf_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var aside_src_main_api; } aside_src_main_component.options.__file = "packages/aside/src/main.vue" /* harmony default export */ var aside_src_main = (aside_src_main_component.exports); // CONCATENATED MODULE: ./packages/aside/index.js /* istanbul ignore next */ aside_src_main.install = function (Vue) { Vue.component(aside_src_main.name, aside_src_main); }; /* harmony default export */ var aside = (aside_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=2a3a7406& var mainvue_type_template_id_2a3a7406_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("main", { staticClass: "el-main" }, [_vm._t("default")], 2) } var mainvue_type_template_id_2a3a7406_staticRenderFns = [] mainvue_type_template_id_2a3a7406_render._withStripped = true // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=2a3a7406& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=script&lang=js& // // // // // // /* harmony default export */ var main_src_mainvue_type_script_lang_js_ = ({ name: 'ElMain', componentName: 'ElMain' }); // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_main_src_mainvue_type_script_lang_js_ = (main_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/main/src/main.vue /* normalize component */ var main_src_main_component = normalizeComponent( packages_main_src_mainvue_type_script_lang_js_, mainvue_type_template_id_2a3a7406_render, mainvue_type_template_id_2a3a7406_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var main_src_main_api; } main_src_main_component.options.__file = "packages/main/src/main.vue" /* harmony default export */ var main_src_main = (main_src_main_component.exports); // CONCATENATED MODULE: ./packages/main/index.js /* istanbul ignore next */ main_src_main.install = function (Vue) { Vue.component(main_src_main.name, main_src_main); }; /* harmony default export */ var packages_main = (main_src_main); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/footer/src/main.vue?vue&type=template&id=80210338& var mainvue_type_template_id_80210338_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "footer", { staticClass: "el-footer", style: { height: _vm.height } }, [_vm._t("default")], 2 ) } var mainvue_type_template_id_80210338_staticRenderFns = [] mainvue_type_template_id_80210338_render._withStripped = true // CONCATENATED MODULE: ./packages/footer/src/main.vue?vue&type=template&id=80210338& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/footer/src/main.vue?vue&type=script&lang=js& // // // // // // /* harmony default export */ var footer_src_mainvue_type_script_lang_js_ = ({ name: 'ElFooter', componentName: 'ElFooter', props: { height: { type: String, default: '60px' } } }); // CONCATENATED MODULE: ./packages/footer/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var packages_footer_src_mainvue_type_script_lang_js_ = (footer_src_mainvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/footer/src/main.vue /* normalize component */ var footer_src_main_component = normalizeComponent( packages_footer_src_mainvue_type_script_lang_js_, mainvue_type_template_id_80210338_render, mainvue_type_template_id_80210338_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var footer_src_main_api; } footer_src_main_component.options.__file = "packages/footer/src/main.vue" /* harmony default export */ var footer_src_main = (footer_src_main_component.exports); // CONCATENATED MODULE: ./packages/footer/index.js /* istanbul ignore next */ footer_src_main.install = function (Vue) { Vue.component(footer_src_main.name, footer_src_main); }; /* harmony default export */ var footer = (footer_src_main); // CONCATENATED MODULE: ./src/index.js /* Automatically generated by './build/bin/build-entry.js' */ var components = [packages_pagination, dialog, packages_autocomplete, packages_dropdown, packages_dropdown_menu, packages_dropdown_item, packages_menu, packages_submenu, packages_menu_item, packages_menu_item_group, packages_input, packages_input_number, packages_radio, packages_radio_group, packages_radio_button, packages_checkbox, packages_checkbox_button, packages_checkbox_group, packages_switch, packages_select, packages_option, packages_option_group, packages_button, packages_button_group, packages_table, packages_table_column, packages_date_picker, packages_time_select, packages_time_picker, popover, packages_tooltip, packages_breadcrumb, packages_breadcrumb_item, packages_form, packages_form_item, packages_tabs, packages_tab_pane, packages_tag, packages_tree, packages_alert, slider, packages_icon, packages_row, packages_col, packages_upload, packages_progress, packages_spinner, badge, card, rate, packages_steps, packages_step, carousel, scrollbar, carousel_item, packages_collapse, packages_collapse_item, cascader, color_picker, transfer, container, header, aside, packages_main, footer, collapse_transition_default.a]; var src_install = function install(Vue) { var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; lib_locale_default.a.use(opts.locale); lib_locale_default.a.i18n(opts.i18n); components.forEach(function (component) { Vue.component(component.name, component); }); Vue.use(packages_loading.directive); Vue.prototype.$ELEMENT = { size: opts.size || '', zIndex: opts.zIndex || 2000 }; Vue.prototype.$loading = packages_loading.service; Vue.prototype.$msgbox = message_box; Vue.prototype.$alert = message_box.alert; Vue.prototype.$confirm = message_box.confirm; Vue.prototype.$prompt = message_box.prompt; Vue.prototype.$notify = notification; Vue.prototype.$message = packages_message; }; /* istanbul ignore if */ if (typeof window !== 'undefined' && window.Vue) { src_install(window.Vue); } /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({ version: '2.5.4', locale: lib_locale_default.a.use, i18n: lib_locale_default.a.i18n, install: src_install, CollapseTransition: collapse_transition_default.a, Loading: packages_loading, Pagination: packages_pagination, Dialog: dialog, Autocomplete: packages_autocomplete, Dropdown: packages_dropdown, DropdownMenu: packages_dropdown_menu, DropdownItem: packages_dropdown_item, Menu: packages_menu, Submenu: packages_submenu, MenuItem: packages_menu_item, MenuItemGroup: packages_menu_item_group, Input: packages_input, InputNumber: packages_input_number, Radio: packages_radio, RadioGroup: packages_radio_group, RadioButton: packages_radio_button, Checkbox: packages_checkbox, CheckboxButton: packages_checkbox_button, CheckboxGroup: packages_checkbox_group, Switch: packages_switch, Select: packages_select, Option: packages_option, OptionGroup: packages_option_group, Button: packages_button, ButtonGroup: packages_button_group, Table: packages_table, TableColumn: packages_table_column, DatePicker: packages_date_picker, TimeSelect: packages_time_select, TimePicker: packages_time_picker, Popover: popover, Tooltip: packages_tooltip, MessageBox: message_box, Breadcrumb: packages_breadcrumb, BreadcrumbItem: packages_breadcrumb_item, Form: packages_form, FormItem: packages_form_item, Tabs: packages_tabs, TabPane: packages_tab_pane, Tag: packages_tag, Tree: packages_tree, Alert: packages_alert, Notification: notification, Slider: slider, Icon: packages_icon, Row: packages_row, Col: packages_col, Upload: packages_upload, Progress: packages_progress, Spinner: packages_spinner, Message: packages_message, Badge: badge, Card: card, Rate: rate, Steps: packages_steps, Step: packages_step, Carousel: carousel, Scrollbar: scrollbar, CarouselItem: carousel_item, Collapse: packages_collapse, CollapseItem: packages_collapse_item, Cascader: cascader, ColorPicker: color_picker, Transfer: transfer, Container: container, Header: header, Aside: aside, Main: packages_main, Footer: footer }); /***/ }) /******/ ])["default"]; /***/ }), /* 93 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); var _popup = __webpack_require__(111); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var PopperJS = _vue2.default.prototype.$isServer ? function () {} : __webpack_require__(275); var stop = function stop(e) { return e.stopPropagation(); }; /** * @param {HTMLElement} [reference=$refs.reference] - The reference element used to position the popper. * @param {HTMLElement} [popper=$refs.popper] - The HTML element used as popper, or a configuration used to generate the popper. * @param {String} [placement=button] - Placement of the popper accepted values: top(-start, -end), right(-start, -end), bottom(-start, -end), left(-start, -end) * @param {Number} [offset=0] - Amount of pixels the popper will be shifted (can be negative). * @param {Boolean} [visible=false] Visibility of the popup element. * @param {Boolean} [visible-arrow=false] Visibility of the arrow, no style. */ exports.default = { props: { transformOrigin: { type: [Boolean, String], default: true }, placement: { type: String, default: 'bottom' }, boundariesPadding: { type: Number, default: 5 }, reference: {}, popper: {}, offset: { default: 0 }, value: Boolean, visibleArrow: Boolean, arrowOffset: { type: Number, default: 35 }, appendToBody: { type: Boolean, default: true }, popperOptions: { type: Object, default: function _default() { return { gpuAcceleration: false }; } } }, data: function data() { return { showPopper: false, currentPlacement: '' }; }, watch: { value: { immediate: true, handler: function handler(val) { this.showPopper = val; this.$emit('input', val); } }, showPopper: function showPopper(val) { if (this.disabled) { return; } val ? this.updatePopper() : this.destroyPopper(); this.$emit('input', val); } }, methods: { createPopper: function createPopper() { var _this = this; if (this.$isServer) return; this.currentPlacement = this.currentPlacement || this.placement; if (!/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement)) { return; } var options = this.popperOptions; var popper = this.popperElm = this.popperElm || this.popper || this.$refs.popper; var reference = this.referenceElm = this.referenceElm || this.reference || this.$refs.reference; if (!reference && this.$slots.reference && this.$slots.reference[0]) { reference = this.referenceElm = this.$slots.reference[0].elm; } if (!popper || !reference) return; if (this.visibleArrow) this.appendArrow(popper); if (this.appendToBody) document.body.appendChild(this.popperElm); if (this.popperJS && this.popperJS.destroy) { this.popperJS.destroy(); } options.placement = this.currentPlacement; options.offset = this.offset; options.arrowOffset = this.arrowOffset; this.popperJS = new PopperJS(reference, popper, options); this.popperJS.onCreate(function (_) { _this.$emit('created', _this); _this.resetTransformOrigin(); _this.$nextTick(_this.updatePopper); }); if (typeof options.onUpdate === 'function') { this.popperJS.onUpdate(options.onUpdate); } this.popperJS._popper.style.zIndex = _popup.PopupManager.nextZIndex(); this.popperElm.addEventListener('click', stop); }, updatePopper: function updatePopper() { var popperJS = this.popperJS; if (popperJS) { popperJS.update(); if (popperJS._popper) { popperJS._popper.style.zIndex = _popup.PopupManager.nextZIndex(); } } else { this.createPopper(); } }, doDestroy: function doDestroy(forceDestroy) { /* istanbul ignore if */ if (!this.popperJS || this.showPopper && !forceDestroy) return; this.popperJS.destroy(); this.popperJS = null; }, destroyPopper: function destroyPopper() { if (this.popperJS) { this.resetTransformOrigin(); } }, resetTransformOrigin: function resetTransformOrigin() { if (!this.transformOrigin) return; var placementMap = { top: 'bottom', bottom: 'top', left: 'right', right: 'left' }; var placement = this.popperJS._popper.getAttribute('x-placement').split('-')[0]; var origin = placementMap[placement]; this.popperJS._popper.style.transformOrigin = typeof this.transformOrigin === 'string' ? this.transformOrigin : ['top', 'bottom'].indexOf(placement) > -1 ? 'center ' + origin : origin + ' center'; }, appendArrow: function appendArrow(element) { var hash = void 0; if (this.appended) { return; } this.appended = true; for (var item in element.attributes) { if (/^_v-/.test(element.attributes[item].name)) { hash = element.attributes[item].name; break; } } var arrow = document.createElement('div'); if (hash) { arrow.setAttribute(hash, ''); } arrow.setAttribute('x-arrow', ''); arrow.className = 'popper__arrow'; element.appendChild(arrow); } }, beforeDestroy: function beforeDestroy() { this.doDestroy(true); if (this.popperElm && this.popperElm.parentNode === document.body) { this.popperElm.removeEventListener('click', stop); document.body.removeChild(this.popperElm); } }, // call destroy in keep-alive mode deactivated: function deactivated() { this.$options.beforeDestroy[0].call(this); } }; /***/ }), /* 94 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.default = function (target) { for (var i = 1, j = arguments.length; i < j; i++) { var source = arguments[i] || {}; for (var prop in source) { if (source.hasOwnProperty(prop)) { var value = source[prop]; if (value !== undefined) { target[prop] = value; } } } } return target; }; ; /***/ }), /* 95 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.default = function () { if (_vue2.default.prototype.$isServer) return 0; if (scrollBarWidth !== undefined) return scrollBarWidth; var outer = document.createElement('div'); outer.className = 'el-scrollbar__wrap'; outer.style.visibility = 'hidden'; outer.style.width = '100px'; outer.style.position = 'absolute'; outer.style.top = '-9999px'; document.body.appendChild(outer); var widthNoScroll = outer.offsetWidth; outer.style.overflow = 'scroll'; var inner = document.createElement('div'); inner.style.width = '100%'; outer.appendChild(inner); var widthWithScroll = inner.offsetWidth; outer.parentNode.removeChild(outer); scrollBarWidth = widthNoScroll - widthWithScroll; return scrollBarWidth; }; var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var scrollBarWidth = void 0; ; /***/ }), /* 96 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 61); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 10: /***/ (function(module, exports) { module.exports = __webpack_require__(113); /***/ }), /***/ 3: /***/ (function(module, exports) { module.exports = __webpack_require__(45); /***/ }), /***/ 61: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=template&id=343dd774& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { class: [ _vm.type === "textarea" ? "el-textarea" : "el-input", _vm.inputSize ? "el-input--" + _vm.inputSize : "", { "is-disabled": _vm.inputDisabled, "el-input-group": _vm.$slots.prepend || _vm.$slots.append, "el-input-group--append": _vm.$slots.append, "el-input-group--prepend": _vm.$slots.prepend, "el-input--prefix": _vm.$slots.prefix || _vm.prefixIcon, "el-input--suffix": _vm.$slots.suffix || _vm.suffixIcon || _vm.clearable } ], on: { mouseenter: function($event) { _vm.hovering = true }, mouseleave: function($event) { _vm.hovering = false } } }, [ _vm.type !== "textarea" ? [ _vm.$slots.prepend ? _c( "div", { staticClass: "el-input-group__prepend" }, [_vm._t("prepend")], 2 ) : _vm._e(), _vm.type !== "textarea" ? _c( "input", _vm._b( { ref: "input", staticClass: "el-input__inner", attrs: { tabindex: _vm.tabindex, type: _vm.type, disabled: _vm.inputDisabled, readonly: _vm.readonly, autocomplete: _vm.autoComplete || _vm.autocomplete, "aria-label": _vm.label }, domProps: { value: _vm.nativeInputValue }, on: { compositionstart: _vm.handleComposition, compositionupdate: _vm.handleComposition, compositionend: _vm.handleComposition, input: _vm.handleInput, focus: _vm.handleFocus, blur: _vm.handleBlur, change: _vm.handleChange } }, "input", _vm.$attrs, false ) ) : _vm._e(), _vm.$slots.prefix || _vm.prefixIcon ? _c( "span", { staticClass: "el-input__prefix" }, [ _vm._t("prefix"), _vm.prefixIcon ? _c("i", { staticClass: "el-input__icon", class: _vm.prefixIcon }) : _vm._e() ], 2 ) : _vm._e(), _vm.$slots.suffix || _vm.suffixIcon || _vm.showClear || (_vm.validateState && _vm.needStatusIcon) ? _c("span", { staticClass: "el-input__suffix" }, [ _c( "span", { staticClass: "el-input__suffix-inner" }, [ !_vm.showClear ? [ _vm._t("suffix"), _vm.suffixIcon ? _c("i", { staticClass: "el-input__icon", class: _vm.suffixIcon }) : _vm._e() ] : _c("i", { staticClass: "el-input__icon el-icon-circle-close el-input__clear", on: { click: _vm.clear } }) ], 2 ), _vm.validateState ? _c("i", { staticClass: "el-input__icon", class: ["el-input__validateIcon", _vm.validateIcon] }) : _vm._e() ]) : _vm._e(), _vm.$slots.append ? _c( "div", { staticClass: "el-input-group__append" }, [_vm._t("append")], 2 ) : _vm._e() ] : _c( "textarea", _vm._b( { ref: "textarea", staticClass: "el-textarea__inner", style: _vm.textareaStyle, attrs: { tabindex: _vm.tabindex, disabled: _vm.inputDisabled, readonly: _vm.readonly, autocomplete: _vm.autoComplete || _vm.autocomplete, "aria-label": _vm.label }, domProps: { value: _vm.nativeInputValue }, on: { compositionstart: _vm.handleComposition, compositionupdate: _vm.handleComposition, compositionend: _vm.handleComposition, input: _vm.handleInput, focus: _vm.handleFocus, blur: _vm.handleBlur, change: _vm.handleChange } }, "textarea", _vm.$attrs, false ) ) ], 2 ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=template&id=343dd774& // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" var emitter_ = __webpack_require__(3); var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); // EXTERNAL MODULE: external "element-ui/lib/mixins/migrating" var migrating_ = __webpack_require__(10); var migrating_default = /*#__PURE__*/__webpack_require__.n(migrating_); // CONCATENATED MODULE: ./packages/input/src/calcTextareaHeight.js var hiddenTextarea = void 0; var HIDDEN_STYLE = '\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n'; var CONTEXT_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing']; function calculateNodeStyling(targetElement) { var style = window.getComputedStyle(targetElement); var boxSizing = style.getPropertyValue('box-sizing'); var paddingSize = parseFloat(style.getPropertyValue('padding-bottom')) + parseFloat(style.getPropertyValue('padding-top')); var borderSize = parseFloat(style.getPropertyValue('border-bottom-width')) + parseFloat(style.getPropertyValue('border-top-width')); var contextStyle = CONTEXT_STYLE.map(function (name) { return name + ':' + style.getPropertyValue(name); }).join(';'); return { contextStyle: contextStyle, paddingSize: paddingSize, borderSize: borderSize, boxSizing: boxSizing }; } function calcTextareaHeight(targetElement) { var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; var maxRows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; if (!hiddenTextarea) { hiddenTextarea = document.createElement('textarea'); document.body.appendChild(hiddenTextarea); } var _calculateNodeStyling = calculateNodeStyling(targetElement), paddingSize = _calculateNodeStyling.paddingSize, borderSize = _calculateNodeStyling.borderSize, boxSizing = _calculateNodeStyling.boxSizing, contextStyle = _calculateNodeStyling.contextStyle; hiddenTextarea.setAttribute('style', contextStyle + ';' + HIDDEN_STYLE); hiddenTextarea.value = targetElement.value || targetElement.placeholder || ''; var height = hiddenTextarea.scrollHeight; var result = {}; if (boxSizing === 'border-box') { height = height + borderSize; } else if (boxSizing === 'content-box') { height = height - paddingSize; } hiddenTextarea.value = ''; var singleRowHeight = hiddenTextarea.scrollHeight - paddingSize; if (minRows !== null) { var minHeight = singleRowHeight * minRows; if (boxSizing === 'border-box') { minHeight = minHeight + paddingSize + borderSize; } height = Math.max(minHeight, height); result.minHeight = minHeight + 'px'; } if (maxRows !== null) { var maxHeight = singleRowHeight * maxRows; if (boxSizing === 'border-box') { maxHeight = maxHeight + paddingSize + borderSize; } height = Math.min(maxHeight, height); } result.height = height + 'px'; hiddenTextarea.parentNode && hiddenTextarea.parentNode.removeChild(hiddenTextarea); hiddenTextarea = null; return result; }; // EXTERNAL MODULE: external "element-ui/lib/utils/merge" var merge_ = __webpack_require__(8); var merge_default = /*#__PURE__*/__webpack_require__.n(merge_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var inputvue_type_script_lang_js_ = ({ name: 'ElInput', componentName: 'ElInput', mixins: [emitter_default.a, migrating_default.a], inheritAttrs: false, inject: { elForm: { default: '' }, elFormItem: { default: '' } }, data: function data() { return { textareaCalcStyle: {}, hovering: false, focused: false, isOnComposition: false }; }, props: { value: [String, Number], size: String, resize: String, form: String, disabled: Boolean, readonly: Boolean, type: { type: String, default: 'text' }, autosize: { type: [Boolean, Object], default: false }, autocomplete: { type: String, default: 'off' }, /** @Deprecated in next major version */ autoComplete: { type: String, validator: function validator(val) { false && false; return true; } }, validateEvent: { type: Boolean, default: true }, suffixIcon: String, prefixIcon: String, label: String, clearable: { type: Boolean, default: false }, tabindex: String }, computed: { _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, validateState: function validateState() { return this.elFormItem ? this.elFormItem.validateState : ''; }, needStatusIcon: function needStatusIcon() { return this.elForm ? this.elForm.statusIcon : false; }, validateIcon: function validateIcon() { return { validating: 'el-icon-loading', success: 'el-icon-circle-check', error: 'el-icon-circle-close' }[this.validateState]; }, textareaStyle: function textareaStyle() { return merge_default()({}, this.textareaCalcStyle, { resize: this.resize }); }, inputSize: function inputSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, inputDisabled: function inputDisabled() { return this.disabled || (this.elForm || {}).disabled; }, nativeInputValue: function nativeInputValue() { return this.value === null || this.value === undefined ? '' : this.value; }, showClear: function showClear() { return this.clearable && !this.inputDisabled && !this.readonly && this.nativeInputValue && (this.focused || this.hovering); } }, watch: { value: function value(val) { this.$nextTick(this.resizeTextarea); if (this.validateEvent) { this.dispatch('ElFormItem', 'el.form.change', [val]); } } }, methods: { focus: function focus() { this.getInput().focus(); }, blur: function blur() { this.getInput().blur(); }, getMigratingConfig: function getMigratingConfig() { return { props: { 'icon': 'icon is removed, use suffix-icon / prefix-icon instead.', 'on-icon-click': 'on-icon-click is removed.' }, events: { 'click': 'click is removed.' } }; }, handleBlur: function handleBlur(event) { this.focused = false; this.$emit('blur', event); if (this.validateEvent) { this.dispatch('ElFormItem', 'el.form.blur', [this.value]); } }, select: function select() { this.getInput().select(); }, resizeTextarea: function resizeTextarea() { if (this.$isServer) return; var autosize = this.autosize, type = this.type; if (type !== 'textarea') return; if (!autosize) { this.textareaCalcStyle = { minHeight: calcTextareaHeight(this.$refs.textarea).minHeight }; return; } var minRows = autosize.minRows; var maxRows = autosize.maxRows; this.textareaCalcStyle = calcTextareaHeight(this.$refs.textarea, minRows, maxRows); }, handleFocus: function handleFocus(event) { this.focused = true; this.$emit('focus', event); }, handleComposition: function handleComposition(event) { if (event.type === 'compositionstart') { this.isOnComposition = true; } if (event.type === 'compositionend') { this.isOnComposition = false; this.handleInput(event); } }, handleInput: function handleInput(event) { var _this = this; if (this.isOnComposition) return; // hack for https://github.com/ElemeFE/element/issues/8548 // should remove the following line when we don't support IE if (event.target.value === this.nativeInputValue) return; this.$emit('input', event.target.value); // set input's value, in case parent refuses the change // see: https://github.com/ElemeFE/element/issues/12850 this.$nextTick(function () { var input = _this.getInput(); input.value = _this.value; }); }, handleChange: function handleChange(event) { this.$emit('change', event.target.value); }, calcIconOffset: function calcIconOffset(place) { var elList = [].slice.call(this.$el.querySelectorAll('.el-input__' + place) || []); if (!elList.length) return; var el = null; for (var i = 0; i < elList.length; i++) { if (elList[i].parentNode === this.$el) { el = elList[i]; break; } } if (!el) return; var pendantMap = { suffix: 'append', prefix: 'prepend' }; var pendant = pendantMap[place]; if (this.$slots[pendant]) { el.style.transform = 'translateX(' + (place === 'suffix' ? '-' : '') + this.$el.querySelector('.el-input-group__' + pendant).offsetWidth + 'px)'; } else { el.removeAttribute('style'); } }, updateIconOffset: function updateIconOffset() { this.calcIconOffset('prefix'); this.calcIconOffset('suffix'); }, clear: function clear() { this.$emit('input', ''); this.$emit('change', ''); this.$emit('clear'); }, getInput: function getInput() { return this.$refs.input || this.$refs.textarea; } }, created: function created() { this.$on('inputSelect', this.select); }, mounted: function mounted() { this.resizeTextarea(); this.updateIconOffset(); }, updated: function updated() { this.$nextTick(this.updateIconOffset); } }); // CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=script&lang=js& /* harmony default export */ var src_inputvue_type_script_lang_js_ = (inputvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/input/src/input.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_inputvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/input/src/input.vue" /* harmony default export */ var input = (component.exports); // CONCATENATED MODULE: ./packages/input/index.js /* istanbul ignore next */ input.install = function (Vue) { Vue.component(input.name, input); }; /* harmony default export */ var packages_input = __webpack_exports__["default"] = (input); /***/ }), /***/ 8: /***/ (function(module, exports) { module.exports = __webpack_require__(94); /***/ }) /******/ }); /***/ }), /* 97 */ /***/ (function(module, exports, __webpack_require__) { /* eslint-disable no-undefined */ var throttle = __webpack_require__(115); /** * Debounce execution of a function. Debouncing, unlike throttling, * guarantees that a function is only executed a single time, either at the * very beginning of a series of calls, or at the very end. * * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful. * @param {Boolean} [atBegin] Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call. * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset). * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is, * to `callback` when the debounced-function is executed. * * @return {Function} A new, debounced function. */ module.exports = function ( delay, atBegin, callback ) { return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false); }; /***/ }), /* 98 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.removeResizeListener = exports.addResizeListener = undefined; var _resizeObserverPolyfill = __webpack_require__(276); var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var isServer = typeof window === 'undefined'; /* istanbul ignore next */ var resizeHandler = function resizeHandler(entries) { for (var _iterator = entries, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { var _ref; if (_isArray) { if (_i >= _iterator.length) break; _ref = _iterator[_i++]; } else { _i = _iterator.next(); if (_i.done) break; _ref = _i.value; } var entry = _ref; var listeners = entry.target.__resizeListeners__ || []; if (listeners.length) { listeners.forEach(function (fn) { fn(); }); } } }; /* istanbul ignore next */ var addResizeListener = exports.addResizeListener = function addResizeListener(element, fn) { if (isServer) return; if (!element.__resizeListeners__) { element.__resizeListeners__ = []; element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler); element.__ro__.observe(element); } element.__resizeListeners__.push(fn); }; /* istanbul ignore next */ var removeResizeListener = exports.removeResizeListener = function removeResizeListener(element, fn) { if (!element || !element.__resizeListeners__) return; element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1); if (!element.__resizeListeners__.length) { element.__ro__.disconnect(); } }; /***/ }), /* 99 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.default = function (ref) { return { methods: { focus: function focus() { this.$refs[ref].focus(); } } }; }; ; /***/ }), /* 100 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var $ = jQuery, domready = __webpack_require__(38); function toggleClass(item, newValue, oldValue) { var $el = $(item.selector); if (newValue) { $el.addClass(item.value); } else { $el.removeClass(item.value); } } function setClass(item, newValue, oldValue) { var $el = $(item.selector); var addClass = newValue; var removeClass = oldValue; if (item.value && item.value[newValue]) { addClass = item.value[newValue]; } if (item.value && item.value[oldValue]) { removeClass = item.value[oldValue]; } $el.removeClass(removeClass); $el.addClass(addClass); } function setCss(item, newValue, oldValue) { var $el = $(item.selector); var value = ""; if (_.isObject(item.value)) { value = item.value[newValue]; } else { value = newValue; } var callback = void 0; if (item.callback) { callback = new Function("return " + item.callback)(); value = callback(value, oldValue); } $el.css(item.property, value); } function focus(item, newValue, oldValue) { //let entity = newValue['entity']; var entity_type = item.value['entity']; var entity_id = item.value['entity_id']; var fallback_entity_type = void 0; var fallback_entity_id = void 0; if (item.value['fallback']) { fallback_entity_type = item.value['fallback']['entity']; fallback_entity_id = item.value['fallback']['entity_id']; } var entity = top.wp.customize[entity_type](entity_id); if (!entity && fallback_entity_type) { entity = top.wp.customize[fallback_entity_type](fallback_entity_id); } entity.collapse(); top.wp.customize.trigger('colibri_sections_collapse'); entity.focus(); //api.preview.send( 'focus-control-for-setting', entity_id ); } function colibriComponentToggle(item, newValue, oldValue) { var el = $(item.selector); var component = el.data()['fn.colibri.' + item.value]; if (component) { setTimeout(function () { if (newValue) { component.start(); } else { component.stop(); } }, item.delay || 0); } else { console.log(item.selector, 'has no colibri component'); } } function colibriComponentRestart(item, newValue, oldValue) { var el = $(item.selector); var component = el.data()['fn.colibri.' + item.value]; if (component) { setTimeout(function () { if (component.hasOwnProperty('restart')) { component.restart(); } else { component.stop(); component.start(); } }, item.delay || 0); } else { console.log(item.selector, 'has no colibri component'); } } function colibriNavigationToggleSticky(item, newValue, oldValue) { var el = $(item.selector); var component = el.data()['fn.colibri.navigation']; if (component.opts.data.sticky != false) { window.colibriNavStickyOpts = component.opts.data.sticky; } if (newValue == false) { component.opts.data.sticky = false; } else { component.opts.data.sticky = window.colibriNavStickyOpts; } if (component) { if (component.hasOwnProperty('restart')) { component.restart(); } else { component.stop(); component.start(); } } else { console.log(item.selector, 'has no colibri component'); } } function colibriNavigationToggleOverlap(item, newValue, oldValue) { var el = $(item.selector); var component = el.data()['fn.colibri.navigation']; component.opts.data.overlap = newValue; if (component) { if (component.hasOwnProperty('restart')) { component.restart(); } else { component.stop(); component.start(); } var callback = void 0; if (item.callback) { callback = new Function("return " + item.callback)(); callback(newValue, oldValue); } } else { console.log(item.selector, 'has no colibri component'); } } function colibriSetAttr(item, newValue, oldValue) { var el = $(item.selector); el.attr(item.value, newValue); } function runJs(data, newValue, oldValue) { data.forEach(function (item) { switch (item.action) { case 'toggle-class': toggleClass(item, newValue, oldValue); break; case 'set-class': setClass(item, newValue, oldValue); break; case 'set-css': setCss(item, newValue, oldValue); break; case 'focus': focus(item, newValue, oldValue); break; case 'colibri-component-restart': colibriComponentRestart(item, newValue, oldValue); break; case 'colibri-component-toggle': colibriComponentToggle(item, newValue, oldValue); break; case 'colibri-navigation-toggle-sticky': colibriNavigationToggleSticky(item, newValue, oldValue); break; case 'colibri-navigation-toggle-overlap': colibriNavigationToggleOverlap(item, newValue, oldValue); break; case 'colibri-set-attr': colibriSetAttr(item, newValue, oldValue); break; } }); } exports.default = runJs; /***/ }), /* 101 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */ !function() { 'use strict' var re = { not_string: /[^s]/, not_bool: /[^t]/, not_type: /[^T]/, not_primitive: /[^v]/, number: /[diefg]/, numeric_arg: /[bcdiefguxX]/, json: /[j]/, not_json: /[^j]/, text: /^[^\x25]+/, modulo: /^\x25{2}/, placeholder: /^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/, key: /^([a-z_][a-z_\d]*)/i, key_access: /^\.([a-z_][a-z_\d]*)/i, index_access: /^\[(\d+)\]/, sign: /^[+-]/ } function sprintf(key) { // `arguments` is not an array, but should be fine for this call return sprintf_format(sprintf_parse(key), arguments) } function vsprintf(fmt, argv) { return sprintf.apply(null, [fmt].concat(argv || [])) } function sprintf_format(parse_tree, argv) { var cursor = 1, tree_length = parse_tree.length, arg, output = '', i, k, ph, pad, pad_character, pad_length, is_positive, sign for (i = 0; i < tree_length; i++) { if (typeof parse_tree[i] === 'string') { output += parse_tree[i] } else if (typeof parse_tree[i] === 'object') { ph = parse_tree[i] // convenience purposes only if (ph.keys) { // keyword argument arg = argv[cursor] for (k = 0; k < ph.keys.length; k++) { if (arg == undefined) { throw new Error(sprintf('[sprintf] Cannot access property "%s" of undefined value "%s"', ph.keys[k], ph.keys[k-1])) } arg = arg[ph.keys[k]] } } else if (ph.param_no) { // positional argument (explicit) arg = argv[ph.param_no] } else { // positional argument (implicit) arg = argv[cursor++] } if (re.not_type.test(ph.type) && re.not_primitive.test(ph.type) && arg instanceof Function) { arg = arg() } if (re.numeric_arg.test(ph.type) && (typeof arg !== 'number' && isNaN(arg))) { throw new TypeError(sprintf('[sprintf] expecting number but found %T', arg)) } if (re.number.test(ph.type)) { is_positive = arg >= 0 } switch (ph.type) { case 'b': arg = parseInt(arg, 10).toString(2) break case 'c': arg = String.fromCharCode(parseInt(arg, 10)) break case 'd': case 'i': arg = parseInt(arg, 10) break case 'j': arg = JSON.stringify(arg, null, ph.width ? parseInt(ph.width) : 0) break case 'e': arg = ph.precision ? parseFloat(arg).toExponential(ph.precision) : parseFloat(arg).toExponential() break case 'f': arg = ph.precision ? parseFloat(arg).toFixed(ph.precision) : parseFloat(arg) break case 'g': arg = ph.precision ? String(Number(arg.toPrecision(ph.precision))) : parseFloat(arg) break case 'o': arg = (parseInt(arg, 10) >>> 0).toString(8) break case 's': arg = String(arg) arg = (ph.precision ? arg.substring(0, ph.precision) : arg) break case 't': arg = String(!!arg) arg = (ph.precision ? arg.substring(0, ph.precision) : arg) break case 'T': arg = Object.prototype.toString.call(arg).slice(8, -1).toLowerCase() arg = (ph.precision ? arg.substring(0, ph.precision) : arg) break case 'u': arg = parseInt(arg, 10) >>> 0 break case 'v': arg = arg.valueOf() arg = (ph.precision ? arg.substring(0, ph.precision) : arg) break case 'x': arg = (parseInt(arg, 10) >>> 0).toString(16) break case 'X': arg = (parseInt(arg, 10) >>> 0).toString(16).toUpperCase() break } if (re.json.test(ph.type)) { output += arg } else { if (re.number.test(ph.type) && (!is_positive || ph.sign)) { sign = is_positive ? '+' : '-' arg = arg.toString().replace(re.sign, '') } else { sign = '' } pad_character = ph.pad_char ? ph.pad_char === '0' ? '0' : ph.pad_char.charAt(1) : ' ' pad_length = ph.width - (sign + arg).length pad = ph.width ? (pad_length > 0 ? pad_character.repeat(pad_length) : '') : '' output += ph.align ? sign + arg + pad : (pad_character === '0' ? sign + pad + arg : pad + sign + arg) } } } return output } var sprintf_cache = Object.create(null) function sprintf_parse(fmt) { if (sprintf_cache[fmt]) { return sprintf_cache[fmt] } var _fmt = fmt, match, parse_tree = [], arg_names = 0 while (_fmt) { if ((match = re.text.exec(_fmt)) !== null) { parse_tree.push(match[0]) } else if ((match = re.modulo.exec(_fmt)) !== null) { parse_tree.push('%') } else if ((match = re.placeholder.exec(_fmt)) !== null) { if (match[2]) { arg_names |= 1 var field_list = [], replacement_field = match[2], field_match = [] if ((field_match = re.key.exec(replacement_field)) !== null) { field_list.push(field_match[1]) while ((replacement_field = replacement_field.substring(field_match[0].length)) !== '') { if ((field_match = re.key_access.exec(replacement_field)) !== null) { field_list.push(field_match[1]) } else if ((field_match = re.index_access.exec(replacement_field)) !== null) { field_list.push(field_match[1]) } else { throw new SyntaxError('[sprintf] failed to parse named argument key') } } } else { throw new SyntaxError('[sprintf] failed to parse named argument key') } match[2] = field_list } else { arg_names |= 2 } if (arg_names === 3) { throw new Error('[sprintf] mixing positional and named placeholders is not (yet) supported') } parse_tree.push( { placeholder: match[0], param_no: match[1], keys: match[2], sign: match[3], pad_char: match[4], align: match[5], width: match[6], precision: match[7], type: match[8] } ) } else { throw new SyntaxError('[sprintf] unexpected placeholder') } _fmt = _fmt.substring(match[0].length) } return sprintf_cache[fmt] = parse_tree } /** * export to either browser or node.js */ /* eslint-disable quote-props */ if (true) { exports['sprintf'] = sprintf exports['vsprintf'] = vsprintf } if (typeof window !== 'undefined') { window['sprintf'] = sprintf window['vsprintf'] = vsprintf if (true) { !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { return { 'sprintf': sprintf, 'vsprintf': vsprintf } }).call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) } } /* eslint-enable quote-props */ }(); // eslint-disable-line /***/ }), /* 102 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = compare; function compare(value1, value2, operator) { var result = null; switch (operator) { case "=": case "==": result = value1 == value2; break; case "===": result = value1 === value2; break; case "!=": result = value1 != value2; break; case "!==": result = value1 !== value2; break; case ">": result = value1 > value2; break; case ">=": result = value1 >= value2; break; case "<": result = value1 < value2; break; case "<=": result = value1 <= value2; break; case "in": if (_.isArray(value2)) { result = value2.indexOf(value1) !== -1; } else { if (_.isArray(value1)) { result = value1.indexOf(value2) !== -1; } else { result = false; } } break; } return result; } /***/ }), /* 103 */, /* 104 */, /* 105 */, /* 106 */, /* 107 */, /* 108 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_element_ui_src_locale_lang_zh_CN__ = __webpack_require__(179); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_vue__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_deepmerge__ = __webpack_require__(109); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_deepmerge___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_deepmerge__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__format__ = __webpack_require__(180); const format = Object(__WEBPACK_IMPORTED_MODULE_3__format__["a" /* default */])(__WEBPACK_IMPORTED_MODULE_1_vue___default.a); let lang = __WEBPACK_IMPORTED_MODULE_0_element_ui_src_locale_lang_zh_CN__["a" /* default */]; let merged = false; let i18nHandler = function() { const vuei18n = Object.getPrototypeOf(this || __WEBPACK_IMPORTED_MODULE_1_vue___default.a).$t; if (typeof vuei18n === 'function' && !!__WEBPACK_IMPORTED_MODULE_1_vue___default.a.locale) { if (!merged) { merged = true; __WEBPACK_IMPORTED_MODULE_1_vue___default.a.locale( __WEBPACK_IMPORTED_MODULE_1_vue___default.a.config.lang, __WEBPACK_IMPORTED_MODULE_2_deepmerge___default()(lang, __WEBPACK_IMPORTED_MODULE_1_vue___default.a.locale(__WEBPACK_IMPORTED_MODULE_1_vue___default.a.config.lang) || {}, { clone: true }) ); } return vuei18n.apply(this, arguments); } }; const t = function(path, options) { let value = i18nHandler.apply(this, arguments); if (value !== null && value !== undefined) return value; const array = path.split('.'); let current = lang; for (let i = 0, j = array.length; i < j; i++) { const property = array[i]; value = current[property]; if (i === j - 1) return format(value, options); if (!value) return ''; current = value; } return ''; }; /* harmony export (immutable) */ __webpack_exports__["t"] = t; const use = function(l) { lang = l || lang; }; /* harmony export (immutable) */ __webpack_exports__["use"] = use; const i18n = function(fn) { i18nHandler = fn || i18nHandler; }; /* harmony export (immutable) */ __webpack_exports__["i18n"] = i18n; /* harmony default export */ __webpack_exports__["default"] = ({ use, t, i18n }); /***/ }), /* 109 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var isMergeableObject = function isMergeableObject(value) { return isNonNullObject(value) && !isSpecial(value) }; function isNonNullObject(value) { return !!value && typeof value === 'object' } function isSpecial(value) { var stringValue = Object.prototype.toString.call(value); return stringValue === '[object RegExp]' || stringValue === '[object Date]' || isReactElement(value) } // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25 var canUseSymbol = typeof Symbol === 'function' && Symbol.for; var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7; function isReactElement(value) { return value.$$typeof === REACT_ELEMENT_TYPE } function emptyTarget(val) { return Array.isArray(val) ? [] : {} } function cloneIfNecessary(value, optionsArgument) { var clone = optionsArgument && optionsArgument.clone === true; return (clone && isMergeableObject(value)) ? deepmerge(emptyTarget(value), value, optionsArgument) : value } function defaultArrayMerge(target, source, optionsArgument) { var destination = target.slice(); source.forEach(function(e, i) { if (typeof destination[i] === 'undefined') { destination[i] = cloneIfNecessary(e, optionsArgument); } else if (isMergeableObject(e)) { destination[i] = deepmerge(target[i], e, optionsArgument); } else if (target.indexOf(e) === -1) { destination.push(cloneIfNecessary(e, optionsArgument)); } }); return destination } function mergeObject(target, source, optionsArgument) { var destination = {}; if (isMergeableObject(target)) { Object.keys(target).forEach(function(key) { destination[key] = cloneIfNecessary(target[key], optionsArgument); }); } Object.keys(source).forEach(function(key) { if (!isMergeableObject(source[key]) || !target[key]) { destination[key] = cloneIfNecessary(source[key], optionsArgument); } else { destination[key] = deepmerge(target[key], source[key], optionsArgument); } }); return destination } function deepmerge(target, source, optionsArgument) { var sourceIsArray = Array.isArray(source); var targetIsArray = Array.isArray(target); var options = optionsArgument || { arrayMerge: defaultArrayMerge }; var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray; if (!sourceAndTargetTypesMatch) { return cloneIfNecessary(source, optionsArgument) } else if (sourceIsArray) { var arrayMerge = options.arrayMerge || defaultArrayMerge; return arrayMerge(target, source, optionsArgument) } else { return mergeObject(target, source, optionsArgument) } } deepmerge.all = function deepmergeAll(array, optionsArgument) { if (!Array.isArray(array) || array.length < 2) { throw new Error('first argument should be an array with at least two elements') } // we are sure there are at least 2 values, so it is safe to have no initial value return array.reduce(function(prev, next) { return deepmerge(prev, next, optionsArgument) }) }; var deepmerge_1 = deepmerge; module.exports = deepmerge_1; /***/ }), /* 110 */ /***/ (function(module, exports) { module.exports = jQuery; /***/ }), /* 111 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.PopupManager = undefined; var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); var _merge = __webpack_require__(94); var _merge2 = _interopRequireDefault(_merge); var _popupManager = __webpack_require__(274); var _popupManager2 = _interopRequireDefault(_popupManager); var _scrollbarWidth = __webpack_require__(95); var _scrollbarWidth2 = _interopRequireDefault(_scrollbarWidth); var _dom = __webpack_require__(26); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var idSeed = 1; var scrollBarWidth = void 0; var getDOM = function getDOM(dom) { if (dom.nodeType === 3) { dom = dom.nextElementSibling || dom.nextSibling; getDOM(dom); } return dom; }; exports.default = { props: { visible: { type: Boolean, default: false }, openDelay: {}, closeDelay: {}, zIndex: {}, modal: { type: Boolean, default: false }, modalFade: { type: Boolean, default: true }, modalClass: {}, modalAppendToBody: { type: Boolean, default: false }, lockScroll: { type: Boolean, default: true }, closeOnPressEscape: { type: Boolean, default: false }, closeOnClickModal: { type: Boolean, default: false } }, beforeMount: function beforeMount() { this._popupId = 'popup-' + idSeed++; _popupManager2.default.register(this._popupId, this); }, beforeDestroy: function beforeDestroy() { _popupManager2.default.deregister(this._popupId); _popupManager2.default.closeModal(this._popupId); this.restoreBodyStyle(); }, data: function data() { return { opened: false, bodyPaddingRight: null, computedBodyPaddingRight: 0, withoutHiddenClass: true, rendered: false }; }, watch: { visible: function visible(val) { var _this = this; if (val) { if (this._opening) return; if (!this.rendered) { this.rendered = true; _vue2.default.nextTick(function () { _this.open(); }); } else { this.open(); } } else { this.close(); } } }, methods: { open: function open(options) { var _this2 = this; if (!this.rendered) { this.rendered = true; } var props = (0, _merge2.default)({}, this.$props || this, options); if (this._closeTimer) { clearTimeout(this._closeTimer); this._closeTimer = null; } clearTimeout(this._openTimer); var openDelay = Number(props.openDelay); if (openDelay > 0) { this._openTimer = setTimeout(function () { _this2._openTimer = null; _this2.doOpen(props); }, openDelay); } else { this.doOpen(props); } }, doOpen: function doOpen(props) { if (this.$isServer) return; if (this.willOpen && !this.willOpen()) return; if (this.opened) return; this._opening = true; var dom = getDOM(this.$el); var modal = props.modal; var zIndex = props.zIndex; if (zIndex) { _popupManager2.default.zIndex = zIndex; } if (modal) { if (this._closing) { _popupManager2.default.closeModal(this._popupId); this._closing = false; } _popupManager2.default.openModal(this._popupId, _popupManager2.default.nextZIndex(), this.modalAppendToBody ? undefined : dom, props.modalClass, props.modalFade); if (props.lockScroll) { this.withoutHiddenClass = !(0, _dom.hasClass)(document.body, 'el-popup-parent--hidden'); if (this.withoutHiddenClass) { this.bodyPaddingRight = document.body.style.paddingRight; this.computedBodyPaddingRight = parseInt((0, _dom.getStyle)(document.body, 'paddingRight'), 10); } scrollBarWidth = (0, _scrollbarWidth2.default)(); var bodyHasOverflow = document.documentElement.clientHeight < document.body.scrollHeight; var bodyOverflowY = (0, _dom.getStyle)(document.body, 'overflowY'); if (scrollBarWidth > 0 && (bodyHasOverflow || bodyOverflowY === 'scroll') && this.withoutHiddenClass) { document.body.style.paddingRight = this.computedBodyPaddingRight + scrollBarWidth + 'px'; } (0, _dom.addClass)(document.body, 'el-popup-parent--hidden'); } } if (getComputedStyle(dom).position === 'static') { dom.style.position = 'absolute'; } dom.style.zIndex = _popupManager2.default.nextZIndex(); this.opened = true; this.onOpen && this.onOpen(); this.doAfterOpen(); }, doAfterOpen: function doAfterOpen() { this._opening = false; }, close: function close() { var _this3 = this; if (this.willClose && !this.willClose()) return; if (this._openTimer !== null) { clearTimeout(this._openTimer); this._openTimer = null; } clearTimeout(this._closeTimer); var closeDelay = Number(this.closeDelay); if (closeDelay > 0) { this._closeTimer = setTimeout(function () { _this3._closeTimer = null; _this3.doClose(); }, closeDelay); } else { this.doClose(); } }, doClose: function doClose() { this._closing = true; this.onClose && this.onClose(); if (this.lockScroll) { setTimeout(this.restoreBodyStyle, 200); } this.opened = false; this.doAfterClose(); }, doAfterClose: function doAfterClose() { _popupManager2.default.closeModal(this._popupId); this._closing = false; }, restoreBodyStyle: function restoreBodyStyle() { if (this.modal && this.withoutHiddenClass) { document.body.style.paddingRight = this.bodyPaddingRight; (0, _dom.removeClass)(document.body, 'el-popup-parent--hidden'); } this.withoutHiddenClass = true; } } }; exports.PopupManager = _popupManager2.default; /***/ }), /* 112 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _locale = __webpack_require__(61); exports.default = { methods: { t: function t() { for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } return _locale.t.apply(this, args); } } }; /***/ }), /* 113 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; /** * Show migrating guide in browser console. * * Usage: * import Migrating from 'element-ui/src/mixins/migrating'; * * mixins: [Migrating] * * add getMigratingConfig method for your component. * getMigratingConfig() { * return { * props: { * 'allow-no-selection': 'allow-no-selection is removed.', * 'selection-mode': 'selection-mode is removed.' * }, * events: { * selectionchange: 'selectionchange is renamed to selection-change.' * } * }; * }, */ exports.default = { mounted: function mounted() { if (false) return; if (!this.$vnode) return; var _getMigratingConfig = this.getMigratingConfig(), _getMigratingConfig$p = _getMigratingConfig.props, props = _getMigratingConfig$p === undefined ? {} : _getMigratingConfig$p, _getMigratingConfig$e = _getMigratingConfig.events, events = _getMigratingConfig$e === undefined ? {} : _getMigratingConfig$e; var _$vnode = this.$vnode, data = _$vnode.data, componentOptions = _$vnode.componentOptions; var definedProps = data.attrs || {}; var definedEvents = componentOptions.listeners || {}; for (var propName in definedProps) { if (definedProps.hasOwnProperty(propName) && props[propName]) { console.warn('[Element Migrating][' + this.$options.name + '][Attribute]: ' + props[propName]); } } for (var eventName in definedEvents) { if (definedEvents.hasOwnProperty(eventName) && events[eventName]) { console.warn('[Element Migrating][' + this.$options.name + '][Event]: ' + events[eventName]); } } }, methods: { getMigratingConfig: function getMigratingConfig() { return { props: {}, events: {} }; } } }; /***/ }), /* 114 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); var _dom = __webpack_require__(26); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var nodeList = []; var ctx = '@@clickoutsideContext'; var startClick = void 0; var seed = 0; !_vue2.default.prototype.$isServer && (0, _dom.on)(document, 'mousedown', function (e) { return startClick = e; }); !_vue2.default.prototype.$isServer && (0, _dom.on)(document, 'mouseup', function (e) { nodeList.forEach(function (node) { return node[ctx].documentHandler(e, startClick); }); }); function createDocumentHandler(el, binding, vnode) { return function () { var mouseup = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var mousedown = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; if (!vnode || !vnode.context || !mouseup.target || !mousedown.target || el.contains(mouseup.target) || el.contains(mousedown.target) || el === mouseup.target || vnode.context.popperElm && (vnode.context.popperElm.contains(mouseup.target) || vnode.context.popperElm.contains(mousedown.target))) return; if (binding.expression && el[ctx].methodName && vnode.context[el[ctx].methodName]) { vnode.context[el[ctx].methodName](); } else { el[ctx].bindingFn && el[ctx].bindingFn(); } }; } /** * v-clickoutside * @desc 点击元素外面才会触发的事件 * @example * ```vue * <div v-element-clickoutside="handleClose"> * ``` */ exports.default = { bind: function bind(el, binding, vnode) { nodeList.push(el); var id = seed++; el[ctx] = { id: id, documentHandler: createDocumentHandler(el, binding, vnode), methodName: binding.expression, bindingFn: binding.value }; }, update: function update(el, binding, vnode) { el[ctx].documentHandler = createDocumentHandler(el, binding, vnode); el[ctx].methodName = binding.expression; el[ctx].bindingFn = binding.value; }, unbind: function unbind(el) { var len = nodeList.length; for (var i = 0; i < len; i++) { if (nodeList[i][ctx].id === el[ctx].id) { nodeList.splice(i, 1); break; } } delete el[ctx]; } }; /***/ }), /* 115 */ /***/ (function(module, exports) { /* eslint-disable no-undefined,no-param-reassign,no-shadow */ /** * Throttle execution of a function. Especially useful for rate limiting * execution of handlers on events like resize and scroll. * * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful. * @param {Boolean} [noTrailing] Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds, * the internal counter is reset) * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is, * to `callback` when the throttled-function is executed. * @param {Boolean} [debounceMode] If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end), * schedule `callback` to execute after `delay` ms. * * @return {Function} A new, throttled, function. */ module.exports = function ( delay, noTrailing, callback, debounceMode ) { // After wrapper has stopped being called, this timeout ensures that // `callback` is executed at the proper times in `throttle` and `end` // debounce modes. var timeoutID; // Keep track of the last time `callback` was executed. var lastExec = 0; // `noTrailing` defaults to falsy. if ( typeof noTrailing !== 'boolean' ) { debounceMode = callback; callback = noTrailing; noTrailing = undefined; } // The `wrapper` function encapsulates all of the throttling / debouncing // functionality and when executed will limit the rate at which `callback` // is executed. function wrapper () { var self = this; var elapsed = Number(new Date()) - lastExec; var args = arguments; // Execute `callback` and update the `lastExec` timestamp. function exec () { lastExec = Number(new Date()); callback.apply(self, args); } // If `debounceMode` is true (at begin) this is used to clear the flag // to allow future `callback` executions. function clear () { timeoutID = undefined; } if ( debounceMode && !timeoutID ) { // Since `wrapper` is being called for the first time and // `debounceMode` is true (at begin), execute `callback`. exec(); } // Clear any existing timeout. if ( timeoutID ) { clearTimeout(timeoutID); } if ( debounceMode === undefined && elapsed > delay ) { // In throttle mode, if `delay` time has been exceeded, execute // `callback`. exec(); } else if ( noTrailing !== true ) { // In trailing throttle mode, since `delay` time has not been // exceeded, schedule `callback` to execute `delay` ms after most // recent execution. // // If `debounceMode` is true (at begin), schedule `clear` to execute // after `delay` ms. // // If `debounceMode` is false (at end), schedule `callback` to // execute after `delay` ms. timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay); } } // Return the wrapper function. return wrapper; }; /***/ }), /* 116 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; exports.isVNode = isVNode; exports.getFirstComponentChild = getFirstComponentChild; var _util = __webpack_require__(39); function isVNode(node) { return node !== null && (typeof node === 'undefined' ? 'undefined' : _typeof(node)) === 'object' && (0, _util.hasOwn)(node, 'componentOptions'); }; function getFirstComponentChild(children) { return children && children.filter(function (c) { return c && c.tag; })[0]; }; /***/ }), /* 117 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 109); /******/ }) /************************************************************************/ /******/ ({ /***/ 109: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: external "element-ui/lib/utils/resize-event" var resize_event_ = __webpack_require__(15); // EXTERNAL MODULE: external "element-ui/lib/utils/scrollbar-width" var scrollbar_width_ = __webpack_require__(34); var scrollbar_width_default = /*#__PURE__*/__webpack_require__.n(scrollbar_width_); // EXTERNAL MODULE: external "element-ui/lib/utils/util" var util_ = __webpack_require__(4); // EXTERNAL MODULE: external "element-ui/lib/utils/dom" var dom_ = __webpack_require__(2); // CONCATENATED MODULE: ./packages/scrollbar/src/util.js var BAR_MAP = { vertical: { offset: 'offsetHeight', scroll: 'scrollTop', scrollSize: 'scrollHeight', size: 'height', key: 'vertical', axis: 'Y', client: 'clientY', direction: 'top' }, horizontal: { offset: 'offsetWidth', scroll: 'scrollLeft', scrollSize: 'scrollWidth', size: 'width', key: 'horizontal', axis: 'X', client: 'clientX', direction: 'left' } }; function renderThumbStyle(_ref) { var move = _ref.move, size = _ref.size, bar = _ref.bar; var style = {}; var translate = 'translate' + bar.axis + '(' + move + '%)'; style[bar.size] = size; style.transform = translate; style.msTransform = translate; style.webkitTransform = translate; return style; }; // CONCATENATED MODULE: ./packages/scrollbar/src/bar.js /* istanbul ignore next */ /* harmony default export */ var src_bar = ({ name: 'Bar', props: { vertical: Boolean, size: String, move: Number }, computed: { bar: function bar() { return BAR_MAP[this.vertical ? 'vertical' : 'horizontal']; }, wrap: function wrap() { return this.$parent.wrap; } }, render: function render(h) { var size = this.size, move = this.move, bar = this.bar; return h( 'div', { 'class': ['el-scrollbar__bar', 'is-' + bar.key], on: { 'mousedown': this.clickTrackHandler } }, [h('div', { ref: 'thumb', 'class': 'el-scrollbar__thumb', on: { 'mousedown': this.clickThumbHandler }, style: renderThumbStyle({ size: size, move: move, bar: bar }) })] ); }, methods: { clickThumbHandler: function clickThumbHandler(e) { this.startDrag(e); this[this.bar.axis] = e.currentTarget[this.bar.offset] - (e[this.bar.client] - e.currentTarget.getBoundingClientRect()[this.bar.direction]); }, clickTrackHandler: function clickTrackHandler(e) { var offset = Math.abs(e.target.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]); var thumbHalf = this.$refs.thumb[this.bar.offset] / 2; var thumbPositionPercentage = (offset - thumbHalf) * 100 / this.$el[this.bar.offset]; this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100; }, startDrag: function startDrag(e) { e.stopImmediatePropagation(); this.cursorDown = true; Object(dom_["on"])(document, 'mousemove', this.mouseMoveDocumentHandler); Object(dom_["on"])(document, 'mouseup', this.mouseUpDocumentHandler); document.onselectstart = function () { return false; }; }, mouseMoveDocumentHandler: function mouseMoveDocumentHandler(e) { if (this.cursorDown === false) return; var prevPage = this[this.bar.axis]; if (!prevPage) return; var offset = (this.$el.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]) * -1; var thumbClickPosition = this.$refs.thumb[this.bar.offset] - prevPage; var thumbPositionPercentage = (offset - thumbClickPosition) * 100 / this.$el[this.bar.offset]; this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100; }, mouseUpDocumentHandler: function mouseUpDocumentHandler(e) { this.cursorDown = false; this[this.bar.axis] = 0; Object(dom_["off"])(document, 'mousemove', this.mouseMoveDocumentHandler); document.onselectstart = null; } }, destroyed: function destroyed() { Object(dom_["off"])(document, 'mouseup', this.mouseUpDocumentHandler); } }); // CONCATENATED MODULE: ./packages/scrollbar/src/main.js // reference https://github.com/noeldelgado/gemini-scrollbar/blob/master/index.js /* istanbul ignore next */ /* harmony default export */ var main = ({ name: 'ElScrollbar', components: { Bar: src_bar }, props: { native: Boolean, wrapStyle: {}, wrapClass: {}, viewClass: {}, viewStyle: {}, noresize: Boolean, // 如果 container 尺寸不会发生变化,最好设置它可以优化性能 tag: { type: String, default: 'div' } }, data: function data() { return { sizeWidth: '0', sizeHeight: '0', moveX: 0, moveY: 0 }; }, computed: { wrap: function wrap() { return this.$refs.wrap; } }, render: function render(h) { var gutter = scrollbar_width_default()(); var style = this.wrapStyle; if (gutter) { var gutterWith = '-' + gutter + 'px'; var gutterStyle = 'margin-bottom: ' + gutterWith + '; margin-right: ' + gutterWith + ';'; if (Array.isArray(this.wrapStyle)) { style = Object(util_["toObject"])(this.wrapStyle); style.marginRight = style.marginBottom = gutterWith; } else if (typeof this.wrapStyle === 'string') { style += gutterStyle; } else { style = gutterStyle; } } var view = h(this.tag, { class: ['el-scrollbar__view', this.viewClass], style: this.viewStyle, ref: 'resize' }, this.$slots.default); var wrap = h( 'div', { ref: 'wrap', style: style, on: { 'scroll': this.handleScroll }, 'class': [this.wrapClass, 'el-scrollbar__wrap', gutter ? '' : 'el-scrollbar__wrap--hidden-default'] }, [[view]] ); var nodes = void 0; if (!this.native) { nodes = [wrap, h(src_bar, { attrs: { move: this.moveX, size: this.sizeWidth } }), h(src_bar, { attrs: { vertical: true, move: this.moveY, size: this.sizeHeight } })]; } else { nodes = [h( 'div', { ref: 'wrap', 'class': [this.wrapClass, 'el-scrollbar__wrap'], style: style }, [[view]] )]; } return h('div', { class: 'el-scrollbar' }, nodes); }, methods: { handleScroll: function handleScroll() { var wrap = this.wrap; this.moveY = wrap.scrollTop * 100 / wrap.clientHeight; this.moveX = wrap.scrollLeft * 100 / wrap.clientWidth; }, update: function update() { var heightPercentage = void 0, widthPercentage = void 0; var wrap = this.wrap; if (!wrap) return; heightPercentage = wrap.clientHeight * 100 / wrap.scrollHeight; widthPercentage = wrap.clientWidth * 100 / wrap.scrollWidth; this.sizeHeight = heightPercentage < 100 ? heightPercentage + '%' : ''; this.sizeWidth = widthPercentage < 100 ? widthPercentage + '%' : ''; } }, mounted: function mounted() { if (this.native) return; this.$nextTick(this.update); !this.noresize && Object(resize_event_["addResizeListener"])(this.$refs.resize, this.update); }, beforeDestroy: function beforeDestroy() { if (this.native) return; !this.noresize && Object(resize_event_["removeResizeListener"])(this.$refs.resize, this.update); } }); // CONCATENATED MODULE: ./packages/scrollbar/index.js /* istanbul ignore next */ main.install = function (Vue) { Vue.component(main.name, main); }; /* harmony default export */ var scrollbar = __webpack_exports__["default"] = (main); /***/ }), /***/ 15: /***/ (function(module, exports) { module.exports = __webpack_require__(98); /***/ }), /***/ 2: /***/ (function(module, exports) { module.exports = __webpack_require__(26); /***/ }), /***/ 34: /***/ (function(module, exports) { module.exports = __webpack_require__(95); /***/ }), /***/ 4: /***/ (function(module, exports) { module.exports = __webpack_require__(39); /***/ }) /******/ }); /***/ }), /* 118 */ /***/ (function(module, exports) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 107); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 107: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tag/src/tag.vue?vue&type=script&lang=js& /* harmony default export */ var tagvue_type_script_lang_js_ = ({ name: 'ElTag', props: { text: String, closable: Boolean, type: String, hit: Boolean, disableTransitions: Boolean, color: String, size: String }, methods: { handleClose: function handleClose(event) { event.stopPropagation(); this.$emit('close', event); }, handleClick: function handleClick(event) { event.stopPropagation(); this.$emit('click', event); } }, computed: { tagSize: function tagSize() { return this.size || (this.$ELEMENT || {}).size; } }, render: function render(h) { var classes = ['el-tag', this.type ? 'el-tag--' + this.type : '', this.tagSize ? 'el-tag--' + this.tagSize : '', { 'is-hit': this.hit }]; var tagEl = h( 'span', { 'class': classes, style: { backgroundColor: this.color }, on: { 'click': this.handleClick } }, [this.$slots.default, this.closable && h('i', { 'class': 'el-tag__close el-icon-close', on: { 'click': this.handleClose } })] ); return this.disableTransitions ? tagEl : h( 'transition', { attrs: { name: 'el-zoom-in-center' } }, [tagEl] ); } }); // CONCATENATED MODULE: ./packages/tag/src/tag.vue?vue&type=script&lang=js& /* harmony default export */ var src_tagvue_type_script_lang_js_ = (tagvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/tag/src/tag.vue var render, staticRenderFns /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_tagvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/tag/src/tag.vue" /* harmony default export */ var tag = (component.exports); // CONCATENATED MODULE: ./packages/tag/index.js /* istanbul ignore next */ tag.install = function (Vue) { Vue.component(tag.name, tag); }; /* harmony default export */ var packages_tag = __webpack_exports__["default"] = (tag); /***/ }) /******/ }); /***/ }), /* 119 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.default = scrollIntoView; var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function scrollIntoView(container, selected) { if (_vue2.default.prototype.$isServer) return; if (!selected) { container.scrollTop = 0; return; } var offsetParents = []; var pointer = selected.offsetParent; while (pointer && container !== pointer && container.contains(pointer)) { offsetParents.push(pointer); pointer = pointer.offsetParent; } var top = selected.offsetTop + offsetParents.reduce(function (prev, curr) { return prev + curr.offsetTop; }, 0); var bottom = top + selected.offsetHeight; var viewRectTop = container.scrollTop; var viewRectBottom = viewRectTop + container.clientHeight; if (top < viewRectTop) { container.scrollTop = top; } else if (bottom > viewRectBottom) { container.scrollTop = bottom - container.clientHeight; } } /***/ }), /* 120 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.isDef = isDef; exports.isKorean = isKorean; function isDef(val) { return val !== undefined && val !== null; } function isKorean(text) { var reg = /([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi; return reg.test(text); } /***/ }), /* 121 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _assign = __webpack_require__(297); var _assign2 = _interopRequireDefault(_assign); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = _assign2.default || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; /***/ }), /* 122 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(1); /** * Rule for validating required fields. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param source The source object being validated. * @param errors An array of errors that this rule may add * validation errors to. * @param options The validation options. * @param options.messages The validation messages. */ function required(rule, value, source, errors, options, type) { if (rule.required && (!source.hasOwnProperty(rule.field) || __WEBPACK_IMPORTED_MODULE_0__util__["e" /* isEmptyValue */](value, type || rule.type))) { errors.push(__WEBPACK_IMPORTED_MODULE_0__util__["d" /* format */](options.messages.required, rule.fullField)); } } /* harmony default export */ __webpack_exports__["a"] = (required); /***/ }), /* 123 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports,"__esModule",{value:true});exports.default=[{"name":"font-awesome/glass","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"glass\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1699 186q0 35-43 78l-632 632v768h320q26 0 45 19t19 45-19 45-45 19H448q-26 0-45-19t-19-45 19-45 45-19h320V896L136 264q-43-43-43-78 0-23 18-36.5t38-17.5 43-4h1408q23 0 43 4t38 17.5 18 36.5z\"/></svg>"},{"name":"font-awesome/music","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"music\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 224v1120q0 50-34 89t-86 60.5-103.5 32-96.5 10.5-96.5-10.5-103.5-32-86-60.5-34-89 34-89 86-60.5 103.5-32 96.5-10.5q105 0 192 39V654L640 891v709q0 50-34 89t-86 60.5-103.5 32T320 1792t-96.5-10.5-103.5-32-86-60.5-34-89 34-89 86-60.5 103.5-32T320 1408q105 0 192 39V480q0-31 19-56.5t49-35.5l832-256q12-4 28-4 40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/search","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"search\" viewBox=\"0 0 1672.2646 1896.0833\"><path d=\"M1152 832q0-185-131.5-316.5T704 384 387.5 515.5 256 832t131.5 316.5T704 1280t316.5-131.5T1152 832zm512 832q0 52-38 90t-90 38q-54 0-90-38l-343-342q-179 124-399 124-143 0-273.5-55.5t-225-150-150-225T0 832t55.5-273.5 150-225 225-150T704 128t273.5 55.5 225 150 150 225T1408 832q0 220-124 399l343 343q37 37 37 90z\"/></svg>"},{"name":"font-awesome/envelope-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"envelope-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1664 1504V736q-32 36-69 66-268 206-426 338-51 43-83 67t-86.5 48.5T897 1280h-2q-48 0-102.5-24.5T706 1207t-83-67q-158-132-426-338-37-30-69-66v768q0 13 9.5 22.5t22.5 9.5h1472q13 0 22.5-9.5t9.5-22.5zm0-1051v-24.5l-.5-13-3-12.5-5.5-9-9-7.5-14-2.5H160q-13 0-22.5 9.5T128 416q0 168 147 284 193 152 401 317 6 5 35 29.5t46 37.5 44.5 31.5T852 1143t43 9h2q20 0 43-9t50.5-27.5 44.5-31.5 46-37.5 35-29.5q208-165 401-317 54-43 100.5-115.5T1664 453zm128-37v1088q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V416q0-66 47-113t113-47h1472q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/heart","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"heart\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 1664q-26 0-44-18l-624-602q-10-8-27.5-26T145 952.5 77 855 23.5 734 0 596q0-220 127-344t351-124q62 0 126.5 21.5t120 58T820 276t76 68q36-36 76-68t95.5-68.5 120-58T1314 128q224 0 351 124t127 344q0 221-229 450l-623 600q-18 18-44 18z\"/></svg>"},{"name":"font-awesome/star","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"star\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1664 647q0 22-26 48l-363 354 86 500q1 7 1 20 0 21-10.5 35.5T1321 1619q-19 0-40-12l-449-236-449 236q-22 12-40 12-21 0-31.5-14.5T301 1569q0-6 2-20l86-500L25 695Q0 668 0 647q0-37 56-46l502-73L783 73q19-41 49-41t49 41l225 455 502 73q56 9 56 46z\"/></svg>"},{"name":"font-awesome/star-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"star-o\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1137 1004l306-297-422-62-189-382-189 382-422 62 306 297-73 421 378-199 377 199zm527-357q0 22-26 48l-363 354 86 500q1 7 1 20 0 50-41 50-19 0-40-12l-449-236-449 236q-22 12-40 12-21 0-31.5-14.5T301 1569q0-6 2-20l86-500L25 695Q0 668 0 647q0-37 56-46l502-73L783 73q19-41 49-41t49 41l225 455 502 73q56 9 56 46z\"/></svg>"},{"name":"font-awesome/user","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"user\" viewBox=\"0 0 1354.8114 1896.0833\"><path d=\"M1280 1399q0 109-62.5 187t-150.5 78H213q-88 0-150.5-78T0 1399q0-85 8.5-160.5t31.5-152 58.5-131 94-89T327 832q131 128 313 128t313-128q76 0 134.5 34.5t94 89 58.5 131 31.5 152 8.5 160.5zm-256-887q0 159-112.5 271.5T640 896 368.5 783.5 256 512t112.5-271.5T640 128t271.5 112.5T1024 512z\"/></svg>"},{"name":"font-awesome/film","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"film\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M384 1600v-128q0-26-19-45t-45-19H192q-26 0-45 19t-19 45v128q0 26 19 45t45 19h128q26 0 45-19t19-45zm0-384v-128q0-26-19-45t-45-19H192q-26 0-45 19t-19 45v128q0 26 19 45t45 19h128q26 0 45-19t19-45zm0-384V704q0-26-19-45t-45-19H192q-26 0-45 19t-19 45v128q0 26 19 45t45 19h128q26 0 45-19t19-45zm1024 768v-512q0-26-19-45t-45-19H576q-26 0-45 19t-19 45v512q0 26 19 45t45 19h768q26 0 45-19t19-45zM384 448V320q0-26-19-45t-45-19H192q-26 0-45 19t-19 45v128q0 26 19 45t45 19h128q26 0 45-19t19-45zm1408 1152v-128q0-26-19-45t-45-19h-128q-26 0-45 19t-19 45v128q0 26 19 45t45 19h128q26 0 45-19t19-45zm-384-768V320q0-26-19-45t-45-19H576q-26 0-45 19t-19 45v512q0 26 19 45t45 19h768q26 0 45-19t19-45zm384 384v-128q0-26-19-45t-45-19h-128q-26 0-45 19t-19 45v128q0 26 19 45t45 19h128q26 0 45-19t19-45zm0-384V704q0-26-19-45t-45-19h-128q-26 0-45 19t-19 45v128q0 26 19 45t45 19h128q26 0 45-19t19-45zm0-384V320q0-26-19-45t-45-19h-128q-26 0-45 19t-19 45v128q0 26 19 45t45 19h128q26 0 45-19t19-45zm128-160v1344q0 66-47 113t-113 47H160q-66 0-113-47T0 1632V288q0-66 47-113t113-47h1600q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/th-large","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"th-large\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M768 1024v384q0 52-38 90t-90 38H128q-52 0-90-38t-38-90v-384q0-52 38-90t90-38h512q52 0 90 38t38 90zm0-768v384q0 52-38 90t-90 38H128q-52 0-90-38T0 640V256q0-52 38-90t90-38h512q52 0 90 38t38 90zm896 768v384q0 52-38 90t-90 38h-512q-52 0-90-38t-38-90v-384q0-52 38-90t90-38h512q52 0 90 38t38 90zm0-768v384q0 52-38 90t-90 38h-512q-52 0-90-38t-38-90V256q0-52 38-90t90-38h512q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/th","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"th\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M512 1248v192q0 40-28 68t-68 28H96q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28H96q-40 0-68-28T0 928V736q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28H736q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zM512 224v192q0 40-28 68t-68 28H96q-40 0-68-28T0 416V224q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28H736q-40 0-68-28t-28-68V736q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zM1152 224v192q0 40-28 68t-68 28H736q-40 0-68-28t-28-68V224q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68V736q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68V224q0-40 28-68t68-28h320q40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/th-list","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"th-list\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M512 1248v192q0 40-28 68t-68 28H96q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28H96q-40 0-68-28T0 928V736q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28H736q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zM512 224v192q0 40-28 68t-68 28H96q-40 0-68-28T0 416V224q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28H736q-40 0-68-28t-28-68V736q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28H736q-40 0-68-28t-28-68V224q0-40 28-68t68-28h960q40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/check","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"check\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z\"/></svg>"},{"name":"font-awesome/remove","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"remove\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1298 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68L976 960l294 294q28 28 28 68z\"/></svg>"},{"name":"font-awesome/close","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"close\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1298 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68L976 960l294 294q28 28 28 68z\"/></svg>"},{"name":"font-awesome/times","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"times\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1298 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68L976 960l294 294q28 28 28 68z\"/></svg>"},{"name":"font-awesome/search-plus","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"search-plus\" viewBox=\"0 0 1672.5686 1896.0833\"><path d=\"M1024 800v64q0 13-9.5 22.5T992 896H768v224q0 13-9.5 22.5T736 1152h-64q-13 0-22.5-9.5T640 1120V896H416q-13 0-22.5-9.5T384 864v-64q0-13 9.5-22.5T416 768h224V544q0-13 9.5-22.5T672 512h64q13 0 22.5 9.5T768 544v224h224q13 0 22.5 9.5t9.5 22.5zm128 32q0-185-131.5-316.5T704 384 387.5 515.5 256 832t131.5 316.5T704 1280t316.5-131.5T1152 832zm512 832q0 53-37.5 90.5T1536 1792q-54 0-90-38l-343-342q-179 124-399 124-143 0-273.5-55.5t-225-150-150-225T0 832t55.5-273.5 150-225 225-150T704 128t273.5 55.5 225 150 150 225T1408 832q0 220-124 399l343 343q37 37 37 90z\"/></svg>"},{"name":"font-awesome/search-minus","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"search-minus\" viewBox=\"0 0 1672.5686 1896.0833\"><path d=\"M1024 800v64q0 13-9.5 22.5T992 896H416q-13 0-22.5-9.5T384 864v-64q0-13 9.5-22.5T416 768h576q13 0 22.5 9.5t9.5 22.5zm128 32q0-185-131.5-316.5T704 384 387.5 515.5 256 832t131.5 316.5T704 1280t316.5-131.5T1152 832zm512 832q0 53-37.5 90.5T1536 1792q-54 0-90-38l-343-342q-179 124-399 124-143 0-273.5-55.5t-225-150-150-225T0 832t55.5-273.5 150-225 225-150T704 128t273.5 55.5 225 150 150 225T1408 832q0 220-124 399l343 343q37 37 37 90z\"/></svg>"},{"name":"font-awesome/power-off","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"power-off\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 896q0 156-61 298t-164 245-245 164-298 61-298-61-245-164-164-245T0 896q0-182 80.5-343T307 283q43-32 95.5-25t83.5 50q32 42 24.5 94.5T461 487q-98 74-151.5 181T256 896q0 104 40.5 198.5T406 1258t163.5 109.5T768 1408t198.5-40.5T1130 1258t109.5-163.5T1280 896q0-121-53.5-228T1075 487q-42-32-49.5-84.5T1050 308q31-43 84-50t95 25q146 109 226.5 270t80.5 343zM896 128v640q0 52-38 90t-90 38-90-38-38-90V128q0-52 38-90t90-38 90 38 38 90z\"/></svg>"},{"name":"font-awesome/signal","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"signal\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M256 1440v192q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h192q14 0 23 9t9 23zm384-128v320q0 14-9 23t-23 9H416q-14 0-23-9t-9-23v-320q0-14 9-23t23-9h192q14 0 23 9t9 23zm384-256v576q0 14-9 23t-23 9H800q-14 0-23-9t-9-23v-576q0-14 9-23t23-9h192q14 0 23 9t9 23zm384-384v960q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23V672q0-14 9-23t23-9h192q14 0 23 9t9 23zm384-512v1472q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23V160q0-14 9-23t23-9h192q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/gear","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gear\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 896q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm512-109v222q0 12-8 23t-20 13l-185 28q-19 54-39 91 35 50 107 138 10 12 10 25t-9 23q-27 37-99 108t-94 71q-12 0-26-9l-138-108q-44 23-91 38-16 136-29 186-7 28-36 28H657q-14 0-24.5-8.5T621 1634l-28-184q-49-16-90-37l-141 107q-10 9-25 9-14 0-25-11-126-114-165-168-7-10-7-23 0-12 8-23 15-21 51-66.5t54-70.5q-27-50-41-99l-183-27q-13-2-21-12.5T0 1005V783q0-12 8-23t19-13l186-28q14-46 39-92-40-57-107-138-10-12-10-24 0-10 9-23 26-36 98.5-107.5T337 263q13 0 26 10l138 107q44-23 91-38 16-136 29-186 7-28 36-28h222q14 0 24.5 8.5T915 158l28 184q49 16 90 37l142-107q9-9 24-9 13 0 25 10 129 119 165 170 7 8 7 22 0 12-8 23-15 21-51 66.5t-54 70.5q26 50 41 98l183 28q13 2 21 12.5t8 23.5z\"/></svg>"},{"name":"font-awesome/cog","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cog\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 896q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm512-109v222q0 12-8 23t-20 13l-185 28q-19 54-39 91 35 50 107 138 10 12 10 25t-9 23q-27 37-99 108t-94 71q-12 0-26-9l-138-108q-44 23-91 38-16 136-29 186-7 28-36 28H657q-14 0-24.5-8.5T621 1634l-28-184q-49-16-90-37l-141 107q-10 9-25 9-14 0-25-11-126-114-165-168-7-10-7-23 0-12 8-23 15-21 51-66.5t54-70.5q-27-50-41-99l-183-27q-13-2-21-12.5T0 1005V783q0-12 8-23t19-13l186-28q14-46 39-92-40-57-107-138-10-12-10-24 0-10 9-23 26-36 98.5-107.5T337 263q13 0 26 10l138 107q44-23 91-38 16-136 29-186 7-28 36-28h222q14 0 24.5 8.5T915 158l28 184q49 16 90 37l142-107q9-9 24-9 13 0 25 10 129 119 165 170 7 8 7 22 0 12-8 23-15 21-51 66.5t-54 70.5q26 50 41 98l183 28q13 2 21 12.5t8 23.5z\"/></svg>"},{"name":"font-awesome/trash-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"trash-o\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M512 736v576q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V736q0-14 9-23t23-9h64q14 0 23 9t9 23zm256 0v576q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V736q0-14 9-23t23-9h64q14 0 23 9t9 23zm256 0v576q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V736q0-14 9-23t23-9h64q14 0 23 9t9 23zm128 724V512H256v948q0 22 7 40.5t14.5 27 10.5 8.5h832q3 0 10.5-8.5t14.5-27 7-40.5zM480 384h448l-48-117q-7-9-17-11H546q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5H288q-66 0-113-58.5T128 1464V512H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/home","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"home\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1408 992v480q0 26-19 45t-45 19H960v-384H704v384H320q-26 0-45-19t-19-45V992q0-1 .5-3t.5-3l575-474 575 474q1 2 1 6zm223-69l-62 74q-8 9-21 11h-3q-13 0-21-7L832 424l-692 577q-12 8-24 7-13-2-21-11l-62-74q-8-10-7-23.5T37 878l719-599q32-26 76-26t76 26l244 204V288q0-14 9-23t23-9h192q14 0 23 9t9 23v408l219 182q10 8 11 21.5t-7 23.5z\"/></svg>"},{"name":"font-awesome/file-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280z\"/></svg>"},{"name":"font-awesome/clock-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"clock-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M896 544v448q0 14-9 23t-23 9H544q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h224V544q0-14 9-23t23-9h64q14 0 23 9t9 23zm416 352q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/road","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"road\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1111 996v-4l-24-320q-1-13-11-22.5t-23-9.5H867q-13 0-23 9.5T833 672l-24 320v4q-1 12 8 20t21 8h244q12 0 21-8t8-20zm759 467q0 73-46 73h-704q13 0 22-9.5t8-22.5l-20-256q-1-13-11-22.5t-23-9.5H824q-13 0-23 9.5t-11 22.5l-20 256q-1 13 8 22.5t22 9.5H96q-46 0-46-73 0-54 26-116L493 303q8-19 26-33t38-14h339q-13 0-23 9.5T862 288l-15 192q-1 14 8 23t22 9h166q13 0 22-9t8-23l-15-192q-1-13-11-22.5t-23-9.5h339q20 0 38 14t26 33l417 1044q26 62 26 116z\"/></svg>"},{"name":"font-awesome/download","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"download\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1280 1344q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28H96q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h465l135 136q58 56 136 56t136-56l136-136h464q40 0 68 28t28 68zm-325-569q17 41-14 70l-448 448q-18 19-45 19t-45-19L339 621q-31-29-14-70 17-39 59-39h256V64q0-26 19-45t45-19h256q26 0 45 19t19 45v448h256q42 0 59 39z\"/></svg>"},{"name":"font-awesome/arrow-circle-o-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-circle-o-down\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1120 928q0 12-10 24l-319 319q-11 9-23 9t-23-9L425 951q-15-16-7-35 8-20 30-20h192V544q0-14 9-23t23-9h192q14 0 23 9t9 23v352h192q14 0 23 9t9 23zM768 352q-148 0-273 73T297 623t-73 273 73 273 198 198 273 73 273-73 198-198 73-273-73-273-198-198-273-73zm768 544q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/arrow-circle-o-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-circle-o-up\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1118 876q-8 20-30 20H896v352q0 14-9 23t-23 9H672q-14 0-23-9t-9-23V896H448q-14 0-23-9t-9-23q0-12 10-24l319-319q11-9 23-9t23 9l320 320q15 16 7 35zM768 352q-148 0-273 73T297 623t-73 273 73 273 198 198 273 73 273-73 198-198 73-273-73-273-198-198-273-73zm768 544q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/inbox","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"inbox\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1023 960h316q-1-3-2.5-8.5t-2.5-7.5l-212-496H414L202 944q-1 3-2.5 8.5T197 960h316l95 192h320zm513 30v482q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V990q0-62 25-123l238-552q10-25 36.5-42t52.5-17h832q26 0 52.5 17t36.5 42l238 552q25 61 25 123z\"/></svg>"},{"name":"font-awesome/play-circle-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"play-circle-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1184 896q0 37-32 55l-544 320q-15 9-32 9-16 0-32-8-32-19-32-56V576q0-37 32-56 33-18 64 1l544 320q32 18 32 55zm128 0q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/rotate-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"rotate-right\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138Q969 384 768 384q-104 0-198.5 40.5T406 534 296.5 697.5 256 896t40.5 198.5T406 1258t163.5 109.5T768 1408q119 0 225-52t179-147q7-10 23-12 15 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5T768 1664q-156 0-298-61t-245-164-164-245T0 896t61-298 164-245 245-164 298-61q147 0 284.5 55.5T1297 340l130-129q29-31 70-14 39 17 39 59z\"/></svg>"},{"name":"font-awesome/repeat","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"repeat\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138Q969 384 768 384q-104 0-198.5 40.5T406 534 296.5 697.5 256 896t40.5 198.5T406 1258t163.5 109.5T768 1408q119 0 225-52t179-147q7-10 23-12 15 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5T768 1664q-156 0-298-61t-245-164-164-245T0 896t61-298 164-245 245-164 298-61q147 0 284.5 55.5T1297 340l130-129q29-31 70-14 39 17 39 59z\"/></svg>"},{"name":"font-awesome/refresh","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"refresh\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1511 1056q0 5-1 7-64 268-268 434.5T764 1664q-146 0-282.5-55T238 1452l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138Q969 384 768 384q-134 0-250 65T332 628q-11 17-53 117-8 23-30 23H50q-13 0-22.5-9.5T18 736v-7q65-268 270-434.5T768 128q146 0 284 55.5T1297 340l130-129q19-19 45-19t45 19 19 45z\"/></svg>"},{"name":"font-awesome/list-alt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"list-alt\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M384 1184v64q0 13-9.5 22.5T352 1280h-64q-13 0-22.5-9.5T256 1248v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zm0-256v64q0 13-9.5 22.5T352 1024h-64q-13 0-22.5-9.5T256 992v-64q0-13 9.5-22.5T288 896h64q13 0 22.5 9.5T384 928zm0-256v64q0 13-9.5 22.5T352 768h-64q-13 0-22.5-9.5T256 736v-64q0-13 9.5-22.5T288 640h64q13 0 22.5 9.5T384 672zm1152 512v64q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1248v-64q0-13 9.5-22.5t22.5-9.5h960q13 0 22.5 9.5t9.5 22.5zm0-256v64q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992v-64q0-13 9.5-22.5T544 896h960q13 0 22.5 9.5t9.5 22.5zm0-256v64q0 13-9.5 22.5T1504 768H544q-13 0-22.5-9.5T512 736v-64q0-13 9.5-22.5T544 640h960q13 0 22.5 9.5t9.5 22.5zm128 704V544q0-13-9.5-22.5T1632 512H160q-13 0-22.5 9.5T128 544v832q0 13 9.5 22.5t22.5 9.5h1472q13 0 22.5-9.5t9.5-22.5zm128-1088v1088q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V288q0-66 47-113t113-47h1472q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/lock","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"lock\" viewBox=\"0 0 1283.9106 1896.0833\"><path d=\"M320 768h512V576q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V864q0-40 28-68t68-28h32V576q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/flag","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"flag\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M320 256q0 72-64 110v1266q0 13-9.5 22.5T224 1664h-64q-13 0-22.5-9.5T128 1632V366q-64-38-64-110 0-53 37.5-90.5T192 128t90.5 37.5T320 256zm1472 64v763q0 25-12.5 38.5T1740 1149q-215 116-369 116-61 0-123.5-22t-108.5-48-115.5-48-142.5-22q-192 0-464 146-17 9-33 9-26 0-45-19t-19-45V474q0-32 31-55 21-14 79-43 236-120 421-120 107 0 200 29t219 88q38 19 88 19 54 0 117.5-21t110-47 88-47 54.5-21q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/headphones","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"headphones\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1664 886q0 166-60 314l-20 49-185 33q-22 83-90.5 136.5T1152 1472v32q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V928q0-14 9-23t23-9h64q14 0 23 9t9 23v32q71 0 130 35.5t93 95.5l68-12q29-95 29-193 0-148-88-279t-236.5-209T832 320t-315.5 78T280 607t-88 279q0 98 29 193l68 12q34-60 93-95.5T512 960v-32q0-14 9-23t23-9h64q14 0 23 9t9 23v576q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-32q-88 0-156.5-53.5T265 1282l-185-33-20-49Q0 1052 0 886q0-151 67-291t179-242.5T512 189t320-61 320 61 266 163.5T1597 595t67 291z\"/></svg>"},{"name":"font-awesome/volume-off","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"volume-off\" viewBox=\"0 0 1068.8174 1896.0833\"><path d=\"M768 352v1088q0 26-19 45t-45 19-45-19l-333-333H64q-26 0-45-19t-19-45V704q0-26 19-45t45-19h262l333-333q19-19 45-19t45 19 19 45z\"/></svg>"},{"name":"font-awesome/volume-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"volume-down\" viewBox=\"0 0 1152 1896.0833\"><path d=\"M768 352v1088q0 26-19 45t-45 19-45-19l-333-333H64q-26 0-45-19t-19-45V704q0-26 19-45t45-19h262l333-333q19-19 45-19t45 19 19 45zm384 544q0 76-42.5 141.5T997 1131q-10 5-25 5-26 0-45-18.5t-19-45.5q0-21 12-35.5t29-25 34-23 29-36 12-56.5-12-56.5-29-36-34-23-29-25-12-35.5q0-27 19-45.5t45-18.5q15 0 25 5 70 27 112.5 93t42.5 142z\"/></svg>"},{"name":"font-awesome/volume-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"volume-up\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M768 352v1088q0 26-19 45t-45 19-45-19l-333-333H64q-26 0-45-19t-19-45V704q0-26 19-45t45-19h262l333-333q19-19 45-19t45 19 19 45zm384 544q0 76-42.5 141.5T997 1131q-10 5-25 5-26 0-45-18.5t-19-45.5q0-21 12-35.5t29-25 34-23 29-36 12-56.5-12-56.5-29-36-34-23-29-25-12-35.5q0-27 19-45.5t45-18.5q15 0 25 5 70 27 112.5 93t42.5 142zm256 0q0 153-85 282.5T1098 1367q-13 5-25 5-27 0-46-19t-19-45q0-39 39-59 56-29 76-44 74-54 115.5-135.5T1280 896t-41.5-173.5T1123 587q-20-15-76-44-39-20-39-59 0-26 19-45t45-19q13 0 26 5 140 59 225 188.5t85 282.5zm256 0q0 230-127 422.5T1199 1602q-13 5-26 5-26 0-45-19t-19-45q0-36 39-59 7-4 22.5-10.5t22.5-10.5q46-25 82-51 123-91 192-227t69-289-69-289-192-227q-36-26-82-51-7-4-22.5-10.5T1148 308q-39-23-39-59 0-26 19-45t45-19q13 0 26 5 211 91 338 283.5T1664 896z\"/></svg>"},{"name":"font-awesome/qrcode","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"qrcode\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M384 1152v128H256v-128h128zm0-768v128H256V384h128zm768 0v128h-128V384h128zM128 1407h384v-383H128v383zm0-767h384V256H128v384zm768 0h384V256H896v384zM640 896v640H0V896h640zm512 512v128h-128v-128h128zm256 0v128h-128v-128h128zm0-512v384h-384v-128H896v384H768V896h384v128h128V896h128zM640 128v640H0V128h640zm768 0v640H768V128h640z\"/></svg>"},{"name":"font-awesome/barcode","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"barcode\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M63 1536H0V128h63v1408zm63-1H94V128h32v1407zm94 0h-31V128h31v1407zm157 0h-31V128h31v1407zm157 0h-62V128h62v1407zm126 0h-31V128h31v1407zm63 0h-31V128h31v1407zm63 0h-31V128h31v1407zm157 0h-63V128h63v1407zm157 0h-63V128h63v1407zm126 0h-63V128h63v1407zm126 0h-63V128h63v1407zm94 0h-63V128h63v1407zm189 0h-94V128h94v1407zm63 0h-32V128h32v1407zm94 1h-63V128h63v1408z\"/></svg>"},{"name":"font-awesome/tag","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tag\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M448 448q0-53-37.5-90.5T320 320t-90.5 37.5T192 448t37.5 90.5T320 576t90.5-37.5T448 448zm1067 576q0 53-37 90l-491 492q-39 37-91 37-53 0-90-37L91 890q-38-37-64.5-101T0 672V256q0-52 38-90t90-38h416q53 0 117 26.5T763 219l715 714q37 39 37 91z\"/></svg>"},{"name":"font-awesome/tags","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tags\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M448 448q0-53-37.5-90.5T320 320t-90.5 37.5T192 448t37.5 90.5T320 576t90.5-37.5T448 448zm1067 576q0 53-37 90l-491 492q-39 37-91 37-53 0-90-37L91 890q-38-37-64.5-101T0 672V256q0-52 38-90t90-38h416q53 0 117 26.5T763 219l715 714q37 39 37 91zm384 0q0 53-37 90l-491 492q-39 37-91 37-36 0-59-14t-53-45l470-470q37-37 37-90 0-52-37-91L923 219q-38-38-102-64.5T704 128h224q53 0 117 26.5t102 64.5l715 714q37 39 37 91z\"/></svg>"},{"name":"font-awesome/book","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"book\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1639 478q40 57 18 129l-275 906q-19 64-76.5 107.5T1183 1664H260q-77 0-148.5-53.5T12 1479q-24-67-2-127 0-4 3-27t4-37q1-8-3-21.5t-3-19.5q2-11 8-21t16.5-23.5T52 1179q23-38 45-91.5t30-91.5q3-10 .5-30t-.5-28q3-11 17-28t17-23q21-36 42-92t25-90q1-9-2.5-32t.5-28q4-13 22-30.5t22-22.5q19-26 42.5-84.5T340 411q1-8-3-25.5t-2-26.5q2-8 9-18t18-23 17-21q8-12 16.5-30.5t15-35 16-36 19.5-32 26.5-23.5 36-11.5T556 134l-1 3q38-9 51-9h761q74 0 114 56t18 130l-274 906q-36 119-71.5 153.5T1025 1408H156q-27 0-38 15-11 16-1 43 24 70 144 70h923q29 0 56-15.5t35-41.5l300-987q7-22 5-57 38 15 59 43zm-1064 2q-4 13 2 22.5t20 9.5h608q13 0 25.5-9.5T1247 480l21-64q4-13-2-22.5t-20-9.5H638q-13 0-25.5 9.5T596 416zm-83 256q-4 13 2 22.5t20 9.5h608q13 0 25.5-9.5T1164 736l21-64q4-13-2-22.5t-20-9.5H555q-13 0-25.5 9.5T513 672z\"/></svg>"},{"name":"font-awesome/bookmark","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bookmark\" viewBox=\"0 0 1397.9638 1896.0833\"><path d=\"M1164 128q23 0 44 9 33 13 52.5 41t19.5 62v1289q0 34-19.5 62t-52.5 41q-19 8-44 8-48 0-83-32l-441-424-441 424q-36 33-83 33-23 0-44-9-33-13-52.5-41T0 1529V240q0-34 19.5-62T72 137q21-9 44-9h1048z\"/></svg>"},{"name":"font-awesome/print","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"print\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M384 1536h896v-256H384v256zm0-640h896V512h-160q-40 0-68-28t-28-68V256H384v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28H352q-40 0-68-28t-28-68v-160H32q-13 0-22.5-9.5T0 1376V960q0-79 56.5-135.5T192 768h64V224q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5T1664 960z\"/></svg>"},{"name":"font-awesome/camera","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"camera\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M960 672q119 0 203.5 84.5T1248 960t-84.5 203.5T960 1248t-203.5-84.5T672 960t84.5-203.5T960 672zm704-416q106 0 181 75t75 181v896q0 106-75 181t-181 75H256q-106 0-181-75T0 1408V512q0-106 75-181t181-75h224l51-136q19-49 69.5-84.5T704 0h512q53 0 103.5 35.5T1389 120l51 136h224zM960 1408q185 0 316.5-131.5T1408 960t-131.5-316.5T960 512 643.5 643.5 512 960t131.5 316.5T960 1408z\"/></svg>"},{"name":"font-awesome/font","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"font\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M725 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zM0 1664l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 5-.5 13.5t-.5 12.5q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5T382 1489q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10T236 1642q-8 0-26.5 4t-21.5 4q-80 14-188 14z\"/></svg>"},{"name":"font-awesome/bold","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bold\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M555 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74T901 917.5t-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82T787 245t-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zM0 1664l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34V1297q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5T6 232l-4-83q98-2 340-11.5t373-9.5q23 0 68 .5t68 .5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72T1206 722t-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5T978 1633t-176 14q-44 0-132-3t-132-3q-106 0-307 11T0 1664z\"/></svg>"},{"name":"font-awesome/italic","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"italic\" viewBox=\"0 0 1120.4078 1896.0833\"><path d=\"M0 1662l17-85q22-7 61.5-16.5t72-19T210 1518q28-35 41-101 1-7 62-289t114-543.5T479 288v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7T706 144q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5T795 279q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5T593 1224q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5T643 1664q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9T0 1662z\"/></svg>"},{"name":"font-awesome/text-height","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"text-height\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80V384h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zM81 129l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5T904 285t-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303V398q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111T56 557q-42-26-56-44V130z\"/></svg>"},{"name":"font-awesome/text-width","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"text-width\" viewBox=\"0 0 1563.2677 1896.0833\"><path d=\"M81 129l54 27q12 5 211 5 44 0 132-2t132-2q70 0 246.5-1t304.5-.5 247 4.5q33 1 56-31l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-47.5t-15-73.5-7-36q-10-13-27-19-5-2-66-2-30 0-93-1t-103-1-94 2-96 7q-9 81-8 136l1 152v-52q0 55 1 154t1.5 180 .5 153q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q7-16 11.5-74t6-145.5 1.5-155-.5-153.5-.5-89q0-7-2.5-21.5T635 587q0-7 .5-44t1-73 0-76.5-3-67.5-6.5-32q-11-12-162-12-41 0-163 13.5T164 320q-19 12-34 71.5T98.5 503 56 557q-42-26-56-44V130zm1229 1282q12 0 42 19.5t57.5 41.5 59.5 49 36 30q26 21 26 49t-26 49q-4 3-36 30t-59.5 49-57.5 41.5-42 19.5q-13 0-20.5-10.5t-10-28.5-2.5-33.5 1.5-33 1.5-19.5H256q0 2 1.5 19.5t1.5 33-2.5 33.5-10 28.5T226 1789q-12 0-42-19.5t-57.5-41.5-59.5-49-36-30q-26-21-26-49t26-49q4-3 36-30t59.5-49 57.5-41.5 42-19.5q13 0 20.5 10.5t10 28.5 2.5 33.5-1.5 33-1.5 19.5h1024q0-2-1.5-19.5t-1.5-33 2.5-33.5 10-28.5 20.5-10.5z\"/></svg>"},{"name":"font-awesome/align-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"align-left\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 1344v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V960q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19H64q-26 0-45-19T0 704V576q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19H64q-26 0-45-19T0 320V192q0-26 19-45t45-19h1152q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/align-center","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"align-center\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 1344v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19H448q-26 0-45-19t-19-45V960q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19H192q-26 0-45-19t-19-45V576q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19H576q-26 0-45-19t-19-45V192q0-26 19-45t45-19h640q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/align-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"align-right\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 1344v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19H448q-26 0-45-19t-19-45V960q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19H192q-26 0-45-19t-19-45V576q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19H576q-26 0-45-19t-19-45V192q0-26 19-45t45-19h1152q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/align-justify","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"align-justify\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 1344v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V960q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19H64q-26 0-45-19T0 704V576q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19H64q-26 0-45-19T0 320V192q0-26 19-45t45-19h1664q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/list","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"list\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M256 1312v192q0 13-9.5 22.5T224 1536H32q-13 0-22.5-9.5T0 1504v-192q0-13 9.5-22.5T32 1280h192q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T224 1152H32q-13 0-22.5-9.5T0 1120V928q0-13 9.5-22.5T32 896h192q13 0 22.5 9.5T256 928zm0-384v192q0 13-9.5 22.5T224 768H32q-13 0-22.5-9.5T0 736V544q0-13 9.5-22.5T32 512h192q13 0 22.5 9.5T256 544zm1536 768v192q0 13-9.5 22.5t-22.5 9.5H416q-13 0-22.5-9.5T384 1504v-192q0-13 9.5-22.5t22.5-9.5h1344q13 0 22.5 9.5t9.5 22.5zM256 160v192q0 13-9.5 22.5T224 384H32q-13 0-22.5-9.5T0 352V160q0-13 9.5-22.5T32 128h192q13 0 22.5 9.5T256 160zm1536 768v192q0 13-9.5 22.5t-22.5 9.5H416q-13 0-22.5-9.5T384 1120V928q0-13 9.5-22.5T416 896h1344q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 768H416q-13 0-22.5-9.5T384 736V544q0-13 9.5-22.5T416 512h1344q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 384H416q-13 0-22.5-9.5T384 352V160q0-13 9.5-22.5T416 128h1344q13 0 22.5 9.5t9.5 22.5z\"/></svg>"},{"name":"font-awesome/dedent","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"dedent\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M384 544v576q0 13-9.5 22.5T352 1152q-14 0-23-9L41 855q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5T384 544zm1408 768v192q0 13-9.5 22.5t-22.5 9.5H32q-13 0-22.5-9.5T0 1504v-192q0-13 9.5-22.5T32 1280h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5H672q-13 0-22.5-9.5T640 1120V928q0-13 9.5-22.5T672 896h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 768H672q-13 0-22.5-9.5T640 736V544q0-13 9.5-22.5T672 512h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 384H32q-13 0-22.5-9.5T0 352V160q0-13 9.5-22.5T32 128h1728q13 0 22.5 9.5t9.5 22.5z\"/></svg>"},{"name":"font-awesome/outdent","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"outdent\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M384 544v576q0 13-9.5 22.5T352 1152q-14 0-23-9L41 855q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5T384 544zm1408 768v192q0 13-9.5 22.5t-22.5 9.5H32q-13 0-22.5-9.5T0 1504v-192q0-13 9.5-22.5T32 1280h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5H672q-13 0-22.5-9.5T640 1120V928q0-13 9.5-22.5T672 896h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 768H672q-13 0-22.5-9.5T640 736V544q0-13 9.5-22.5T672 512h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 384H32q-13 0-22.5-9.5T0 352V160q0-13 9.5-22.5T32 128h1728q13 0 22.5 9.5t9.5 22.5z\"/></svg>"},{"name":"font-awesome/indent","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"indent\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M352 832q0 14-9 23L55 1143q-9 9-23 9-13 0-22.5-9.5T0 1120V544q0-13 9.5-22.5T32 512q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5H32q-13 0-22.5-9.5T0 1504v-192q0-13 9.5-22.5T32 1280h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5H672q-13 0-22.5-9.5T640 1120V928q0-13 9.5-22.5T672 896h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 768H672q-13 0-22.5-9.5T640 736V544q0-13 9.5-22.5T672 512h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 384H32q-13 0-22.5-9.5T0 352V160q0-13 9.5-22.5T32 128h1728q13 0 22.5 9.5t9.5 22.5z\"/></svg>"},{"name":"font-awesome/video-camera","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"video-camera\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5T992 1536H288q-119 0-203.5-84.5T0 1248V544q0-119 84.5-203.5T288 256h704q119 0 203.5 84.5T1280 544v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z\"/></svg>"},{"name":"font-awesome/photo","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"photo\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M640 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448H256v-192l320-320 160 160 512-512zm96-704H160q-13 0-22.5 9.5T128 288v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5V288q0-13-9.5-22.5T1760 256zm160 32v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1600q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/image","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"image\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M640 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448H256v-192l320-320 160 160 512-512zm96-704H160q-13 0-22.5 9.5T128 288v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5V288q0-13-9.5-22.5T1760 256zm160 32v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1600q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/picture-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"picture-o\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M640 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448H256v-192l320-320 160 160 512-512zm96-704H160q-13 0-22.5 9.5T128 288v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5V288q0-13-9.5-22.5T1760 256zm160 32v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1600q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/pencil","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pencil\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M363 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832H0v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z\"/></svg>"},{"name":"font-awesome/map-marker","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"map-marker\" viewBox=\"0 0 1049.8953 1896.0833\"><path d=\"M768 640q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm256 0q0 109-33 179l-364 774q-16 33-47.5 52t-67.5 19-67.5-19-46.5-52L33 819Q0 749 0 640q0-212 150-362t362-150 362 150 150 362z\"/></svg>"},{"name":"font-awesome/adjust","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"adjust\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 1440V352q-148 0-273 73T297 623t-73 273 73 273 198 198 273 73zm768-544q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/tint","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tint\" viewBox=\"0 0 1058.2744 1896.0833\"><path d=\"M512 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38T276 1083q-20 33-20 69 0 53 37.5 90.5T384 1280t90.5-37.5T512 1152zm512-128q0 212-150 362t-362 150-362-150T0 1024q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178T427 128q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151T943 749q81 127 81 275z\"/></svg>"},{"name":"font-awesome/edit","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"edit\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1L945 815q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5T1120 1536H288q-119 0-203.5-84.5T0 1248V416q0-119 84.5-203.5T288 128h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6H288q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672H640V992zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z\"/></svg>"},{"name":"font-awesome/pencil-square-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pencil-square-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1L945 815q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5T1120 1536H288q-119 0-203.5-84.5T0 1248V416q0-119 84.5-203.5T288 128h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6H288q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672H640V992zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z\"/></svg>"},{"name":"font-awesome/share-square-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"share-square-o\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1408 989v259q0 119-84.5 203.5T1120 1536H288q-119 0-203.5-84.5T0 1248V416q0-119 84.5-203.5T288 128h255q13 0 22.5 9.5T575 160q0 27-26 32-77 26-133 60-10 4-16 4H288q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-214q0-19 18-29 28-13 54-37 16-16 35-8 21 9 21 29zm237-496l-384 384q-18 19-45 19-12 0-25-5-39-17-39-59V640H992q-323 0-438 131-119 137-74 473 3 23-20 34-8 2-12 2-16 0-26-13-10-14-21-31t-39.5-68.5T312 1068t-38.5-114T256 832q0-49 3.5-91t14-90 28-88 47-81.5 68.5-74 94.5-61.5T636 297.5 795.5 267 992 256h160V64q0-42 39-59 13-5 25-5 26 0 45 19l384 384q19 19 19 45t-19 45z\"/></svg>"},{"name":"font-awesome/check-square-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"check-square-o\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1408 930v318q0 119-84.5 203.5T1120 1536H288q-119 0-203.5-84.5T0 1248V416q0-119 84.5-203.5T288 128h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6H288q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113V994q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24L281 825q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z\"/></svg>"},{"name":"font-awesome/arrows","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrows\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 896q0 26-19 45l-256 256q-19 19-45 19t-45-19-19-45v-128h-384v384h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-384H384v128q0 26-19 45t-45 19-45-19L19 941Q0 922 0 896t19-45l256-256q19-19 45-19t45 19 19 45v128h384V384H640q-26 0-45-19t-19-45 19-45L851 19q19-19 45-19t45 19l256 256q19 19 19 45t-19 45-45 19h-128v384h384V640q0-26 19-45t45-19 45 19l256 256q19 19 19 45z\"/></svg>"},{"name":"font-awesome/step-backward","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"step-backward\" viewBox=\"0 0 1298.1137 1896.0833\"><path d=\"M979 141q19-19 32-13t13 32v1472q0 26-13 32t-32-13L269 941q-9-9-13-19v678q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V192q0-26 19-45t45-19h128q26 0 45 19t19 45v678q4-10 13-19z\"/></svg>"},{"name":"font-awesome/fast-backward","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"fast-backward\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1747 141q19-19 32-13t13 32v1472q0 26-13 32t-32-13l-710-710q-9-9-13-19v710q0 26-13 32t-32-13L269 941q-9-9-13-19v678q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V192q0-26 19-45t45-19h128q26 0 45 19t19 45v678q4-10 13-19l710-710q19-19 32-13t13 32v710q4-10 13-19z\"/></svg>"},{"name":"font-awesome/backward","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"backward\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1619 141q19-19 32-13t13 32v1472q0 26-13 32t-32-13L909 941q-9-9-13-19v710q0 26-13 32t-32-13L141 941q-19-19-19-45t19-45l710-710q19-19 32-13t13 32v710q4-10 13-19z\"/></svg>"},{"name":"font-awesome/play","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"play\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1384 927L56 1665q-23 13-39.5 3T0 1632V160q0-26 16.5-36t39.5 3l1328 738q23 13 23 31t-23 31z\"/></svg>"},{"name":"font-awesome/pause","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pause\" viewBox=\"0 0 1567.1139 1896.0833\"><path d=\"M1536 192v1408q0 26-19 45t-45 19H960q-26 0-45-19t-19-45V192q0-26 19-45t45-19h512q26 0 45 19t19 45zm-896 0v1408q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V192q0-26 19-45t45-19h512q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/stop","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"stop\" viewBox=\"0 0 1567.1139 1896.0833\"><path d=\"M1536 192v1408q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V192q0-26 19-45t45-19h1408q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/forward","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"forward\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M45 1651q-19 19-32 13t-13-32V160q0-26 13-32t32 13l710 710q9 9 13 19V160q0-26 13-32t32 13l710 710q19 19 19 45t-19 45l-710 710q-19 19-32 13t-13-32V922q-4 10-13 19z\"/></svg>"},{"name":"font-awesome/fast-forward","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"fast-forward\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M45 1651q-19 19-32 13t-13-32V160q0-26 13-32t32 13l710 710q9 9 13 19V160q0-26 13-32t32 13l710 710q9 9 13 19V192q0-26 19-45t45-19h128q26 0 45 19t19 45v1408q0 26-19 45t-45 19h-128q-26 0-45-19t-19-45V922q-4 10-13 19l-710 710q-19 19-32 13t-13-32V922q-4 10-13 19z\"/></svg>"},{"name":"font-awesome/step-forward","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"step-forward\" viewBox=\"0 0 1282.1629 1896.0833\"><path d=\"M45 1651q-19 19-32 13t-13-32V160q0-26 13-32t32 13l710 710q9 9 13 19V192q0-26 19-45t45-19h128q26 0 45 19t19 45v1408q0 26-19 45t-45 19H832q-26 0-45-19t-19-45V922q-4 10-13 19z\"/></svg>"},{"name":"font-awesome/eject","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"eject\" viewBox=\"0 0 1538 1896.0833\"><path d=\"M14 979l710-710q19-19 45-19t45 19l710 710q19 19 13 32t-32 13H33q-26 0-32-13t13-32zm1459 557H65q-26 0-45-19t-19-45v-256q0-26 19-45t45-19h1408q26 0 45 19t19 45v256q0 26-19 45t-45 19z\"/></svg>"},{"name":"font-awesome/chevron-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chevron-left\" viewBox=\"0 0 1289.1823 1896.0833\"><path d=\"M1171 301L640 832l531 531q19 19 19 45t-19 45l-166 166q-19 19-45 19t-45-19L173 877q-19-19-19-45t19-45L915 45q19-19 45-19t45 19l166 166q19 19 19 45t-19 45z\"/></svg>"},{"name":"font-awesome/chevron-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chevron-right\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1107 877l-742 742q-19 19-45 19t-45-19l-166-166q-19-19-19-45t19-45l531-531-531-531q-19-19-19-45t19-45L275 45q19-19 45-19t45 19l742 742q19 19 19 45t-19 45z\"/></svg>"},{"name":"font-awesome/plus-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"plus-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1216 960V832q0-26-19-45t-45-19H896V512q0-26-19-45t-45-19H704q-26 0-45 19t-19 45v256H384q-26 0-45 19t-19 45v128q0 26 19 45t45 19h256v256q0 26 19 45t45 19h128q26 0 45-19t19-45v-256h256q26 0 45-19t19-45zm320-64q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/minus-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"minus-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1216 960V832q0-26-19-45t-45-19H384q-26 0-45 19t-19 45v128q0 26 19 45t45 19h768q26 0 45-19t19-45zm320-64q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/times-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"times-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1149 1122q0-26-19-45L949 896l181-181q19-19 19-45 0-27-19-46l-90-90q-19-19-46-19-26 0-45 19L768 715 587 534q-19-19-45-19-27 0-46 19l-90 90q-19 19-19 46 0 26 19 45l181 181-181 181q-19 19-19 45 0 27 19 46l90 90q19 19 46 19 26 0 45-19l181-181 181 181q19 19 45 19 27 0 46-19l90-90q19-19 19-46zm387-226q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/check-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"check-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1284 734q0-28-18-46l-91-90q-19-19-45-19t-45 19l-408 407-226-226q-19-19-45-19t-45 19l-91 90q-18 18-18 46 0 27 18 45l362 362q19 19 45 19 27 0 46-19l543-543q18-18 18-45zm252 162q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/question-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"question-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M896 1376v-192q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23-9t9-23zm256-672q0-88-55.5-163T958 425t-170-41q-243 0-371 213-15 24 8 42l132 100q7 6 19 6 16 0 25-12 53-68 86-92 34-24 86-24 48 0 85.5 26t37.5 59q0 38-20 61t-68 45q-63 28-115.5 86.5T640 1020v36q0 14 9 23t23 9h192q14 0 23-9t9-23q0-19 21.5-49.5T972 957q32-18 49-28.5t46-35 44.5-48 28-60.5 12.5-81zm384 192q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/info-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"info-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H544q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zM896 480V320q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/crosshairs","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"crosshairs\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1197 1024h-109q-26 0-45-19t-19-45V832q0-26 19-45t45-19h109q-32-108-112.5-188.5T896 467v109q0 26-19 45t-45 19H704q-26 0-45-19t-19-45V467q-108 32-188.5 112.5T339 768h109q26 0 45 19t19 45v128q0 26-19 45t-45 19H339q32 108 112.5 188.5T640 1325v-109q0-26 19-45t45-19h128q26 0 45 19t19 45v109q108-32 188.5-112.5T1197 1024zm339-192v128q0 26-19 45t-45 19h-143q-37 161-154.5 278.5T896 1457v143q0 26-19 45t-45 19H704q-26 0-45-19t-19-45v-143q-161-37-278.5-154.5T207 1024H64q-26 0-45-19T0 960V832q0-26 19-45t45-19h143q37-161 154.5-278.5T640 335V192q0-26 19-45t45-19h128q26 0 45 19t19 45v143q161 37 278.5 154.5T1329 768h143q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/times-circle-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"times-circle-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1097 1079l-146 146q-10 10-23 10t-23-10l-137-137-137 137q-10 10-23 10t-23-10l-146-146q-10-10-10-23t10-23l137-137-137-137q-10-10-10-23t10-23l146-146q10-10 23-10t23 10l137 137 137-137q10-10 23-10t23 10l146 146q10 10 10 23t-10 23L960 896l137 137q10 10 10 23t-10 23zm215-183q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/check-circle-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"check-circle-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1171 813l-422 422q-19 19-45 19t-45-19L365 941q-19-19-19-45t19-45l102-102q19-19 45-19t45 19l147 147 275-275q19-19 45-19t45 19l102 102q19 19 19 45t-19 45zm141 83q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/ban","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ban\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1312 893q0-161-87-295l-754 753q137 89 297 89 111 0 211.5-43.5T1153 1280t116-174.5 43-212.5zm-999 299l755-754q-135-91-300-91-148 0-273 73T297 619t-73 274q0 162 89 299zm1223-299q0 157-61 300t-163.5 246-245 164-298.5 61-298.5-61-245-164T61 1193 0 893t61-299.5T224.5 348t245-164T768 123t298.5 61 245 164T1475 593.5t61 299.5z\"/></svg>"},{"name":"font-awesome/arrow-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-left\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 896v128q0 53-32.5 90.5T1419 1152H715l293 294q38 36 38 90t-38 90l-75 76q-37 37-90 37-52 0-91-37l-651-652q-37-37-37-90 0-52 37-91l651-650q38-38 91-38 52 0 90 38l75 74q38 38 38 91t-38 91L715 768h704q52 0 84.5 37.5T1536 896z\"/></svg>"},{"name":"font-awesome/arrow-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-right\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1472 960q0 54-37 91l-651 651q-39 37-91 37-51 0-90-37l-75-75q-38-38-38-91t38-91l293-293H117q-52 0-84.5-37.5T0 1024V896q0-53 32.5-90.5T117 768h704L528 474q-38-36-38-90t38-90l75-75q38-38 90-38 53 0 91 38l651 651q37 35 37 90z\"/></svg>"},{"name":"font-awesome/arrow-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-up\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1611 971q0 51-37 90l-75 75q-38 38-91 38-54 0-90-38l-294-293v704q0 52-37.5 84.5T896 1664H768q-53 0-90.5-32.5T640 1547V843l-294 293q-36 38-90 38t-90-38l-75-75q-38-38-38-90 0-53 38-91l651-651q35-37 90-37 54 0 91 37l651 651q37 39 37 91z\"/></svg>"},{"name":"font-awesome/arrow-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-down\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1611 832q0 53-37 90l-651 652q-39 37-91 37-53 0-90-37L91 922q-38-36-38-90 0-53 38-91l74-75q39-37 91-37 53 0 90 37l294 294V256q0-52 38-90t90-38h128q52 0 90 38t38 90v704l294-294q37-37 90-37 52 0 91 37l75 75q37 39 37 91z\"/></svg>"},{"name":"font-awesome/mail-forward","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mail-forward\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 640q0 26-19 45l-512 512q-19 19-45 19t-45-19-19-45V896H928q-98 0-175.5 6t-154 21.5-133 42.5-105.5 69.5-80 101-48.5 138.5-17.5 181q0 55 5 123 0 6 2.5 23.5t2.5 26.5q0 15-8.5 25t-23.5 10q-16 0-28-17-7-9-13-22t-13.5-30-10.5-24Q0 1286 0 1120q0-199 53-333 162-403 875-403h224V128q0-26 19-45t45-19 45 19l512 512q19 19 19 45z\"/></svg>"},{"name":"font-awesome/share","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"share\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 640q0 26-19 45l-512 512q-19 19-45 19t-45-19-19-45V896H928q-98 0-175.5 6t-154 21.5-133 42.5-105.5 69.5-80 101-48.5 138.5-17.5 181q0 55 5 123 0 6 2.5 23.5t2.5 26.5q0 15-8.5 25t-23.5 10q-16 0-28-17-7-9-13-22t-13.5-30-10.5-24Q0 1286 0 1120q0-199 53-333 162-403 875-403h224V128q0-26 19-45t45-19 45 19l512 512q19 19 19 45z\"/></svg>"},{"name":"font-awesome/expand","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"expand\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M755 1056q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19H64q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23zm781-864v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10L791 759q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/compress","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"compress\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10L23 1527q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19H832q-26 0-45-19t-19-45V384q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z\"/></svg>"},{"name":"font-awesome/plus","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"plus\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1408 736v192q0 40-28 68t-68 28H896v416q0 40-28 68t-68 28H608q-40 0-68-28t-28-68v-416H96q-40 0-68-28T0 928V736q0-40 28-68t68-28h416V224q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/minus","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"minus\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1408 736v192q0 40-28 68t-68 28H96q-40 0-68-28T0 928V736q0-40 28-68t68-28h1216q40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/asterisk","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"asterisk\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1482 1050q46 26 59.5 77.5T1529 1225l-64 110q-26 46-77.5 59.5T1290 1382l-266-153v307q0 52-38 90t-90 38H768q-52 0-90-38t-38-90v-307l-266 153q-46 26-97.5 12.5T199 1335l-64-110q-26-46-12.5-97.5T182 1050l266-154-266-154q-46-26-59.5-77.5T135 567l64-110q26-46 77.5-59.5T374 410l266 153V256q0-52 38-90t90-38h128q52 0 90 38t38 90v307l266-153q46-26 97.5-12.5T1465 457l64 110q26 46 12.5 97.5T1482 742l-266 154z\"/></svg>"},{"name":"font-awesome/exclamation-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"exclamation-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 128q209 0 385.5 103T1433 510.5 1536 896t-103 385.5-279.5 279.5T768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128zm128 1247v-190q0-14-9-23.5t-22-9.5H673q-13 0-23 10t-10 23v190q0 13 10 23t23 10h192q13 0 22-9.5t9-23.5zm-2-344l18-621q0-12-10-18-10-8-24-8H658q-14 0-24 8-10 6-10 18l17 621q0 10 10 17.5t24 7.5h185q14 0 23.5-7.5T894 1031z\"/></svg>"},{"name":"font-awesome/gift","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gift\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M928 1356V640H608v716q0 25 18 38.5t46 13.5h192q28 0 46-13.5t18-38.5zM472 512h195L541 351q-26-31-69-31-40 0-68 28t-28 68 28 68 68 28zm688-96q0-40-28-68t-68-28q-43 0-69 31L870 512h194q40 0 68-28t28-68zm376 256v320q0 14-9 23t-23 9h-96v416q0 40-28 68t-68 28H224q-40 0-68-28t-28-68v-416H32q-14 0-23-9t-9-23V672q0-14 9-23t23-9h440q-93 0-158.5-65.5T248 416t65.5-158.5T472 192q107 0 168 77l128 165 128-165q61-77 168-77 93 0 158.5 65.5T1288 416t-65.5 158.5T1064 640h440q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/leaf","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"leaf\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1280 704q0-26-19-45t-45-19q-172 0-318 49.5t-259.5 134T403 1043q-19 21-19 45 0 26 19 45t45 19q24 0 45-19 27-24 74-71t67-66q137-124 268.5-176t313.5-52q26 0 45-19t19-45zm512-198q0 95-20 193-46 224-184.5 383T1230 1350q-214 108-438 108-148 0-286-47-15-5-88-42t-96-37q-16 0-39.5 32t-45 70-52.5 70-60 32q-43 0-63.5-17.5T16 1459q-2-4-6-11t-5.5-10-3-9.5T0 1415q0-35 31-73.5t68-65.5 68-56 31-48q0-4-14-38t-16-44q-9-51-9-104 0-115 43.5-220t119-184.5 170.5-139T696 347q55-18 145-25.5t179.5-9 178.5-6 163.5-24T1476 226l29.5-29.5 29.5-28 27-20 36.5-16 43.5-4.5q39 0 70.5 46t47.5 112 24 124 8 96z\"/></svg>"},{"name":"font-awesome/fire","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"fire\" viewBox=\"0 0 1565.5181 1896.0833\"><path d=\"M1408 1696v64q0 13-9.5 22.5t-22.5 9.5H32q-13 0-22.5-9.5T0 1760v-64q0-13 9.5-22.5T32 1664h1344q13 0 22.5 9.5t9.5 22.5zM1152 640q0 78-24.5 144t-64 112.5-87.5 88-96 77.5-87.5 72-64 81.5T704 1312q0 96 67 224l-4-1 1 1q-90-41-160-83t-138.5-100T356 1230.5 283.5 1080 256 896q0-78 24.5-144t64-112.5 87.5-88 96-77.5 87.5-72 64-81.5T704 224q0-94-66-224l3 1-1-1q90 41 160 83t138.5 100T1052 305.5t72.5 150.5 27.5 184z\"/></svg>"},{"name":"font-awesome/eye","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"eye\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z\"/></svg>"},{"name":"font-awesome/eye-slash","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"eye-slash\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M555 1335l78-141q-87-63-136-159t-49-203q0-121 61-225-229 117-381 353 167 258 427 375zm389-759q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm363-191q0 7-1 9-106 189-316 567t-315 566l-49 89q-10 16-28 16-12 0-134-70-16-10-16-28 0-12 44-87-143-65-263.5-173T20 1029Q0 998 0 960t20-69q153-235 380-371t496-136q89 0 180 17l54-97q10-16 28-16 5 0 18 6t31 15.5 33 18.5 31.5 18.5T1291 358q16 10 16 27zm37 447q0 139-79 253.5T1056 1250l280-502q8 45 8 84zm448 128q0 35-20 69-39 64-109 145-150 172-347.5 267T896 1536l74-132q212-18 392.5-137T1664 960q-115-179-282-294l63-112q95 64 182.5 153T1772 891q20 34 20 69z\"/></svg>"},{"name":"font-awesome/warning","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"warning\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1024 1375v-190q0-14-9.5-23.5T992 1152H800q-13 0-22.5 9.5T768 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19-13-11-24-11H786q-11 0-24 11-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126-17 29-46.5 46t-63.5 17H128q-34 0-63.5-17T18 1601q-37-63-2-126L784 67q17-31 47-49t65-18 65 18 47 49z\"/></svg>"},{"name":"font-awesome/exclamation-triangle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"exclamation-triangle\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1024 1375v-190q0-14-9.5-23.5T992 1152H800q-13 0-22.5 9.5T768 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19-13-11-24-11H786q-11 0-24 11-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126-17 29-46.5 46t-63.5 17H128q-34 0-63.5-17T18 1601q-37-63-2-126L784 67q17-31 47-49t65-18 65 18 47 49z\"/></svg>"},{"name":"font-awesome/plane","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"plane\" viewBox=\"0 0 1408.0003 1896.0833\"><path d=\"M1376 160q44 52 12 148t-108 172l-161 161 160 696q5 19-12 33l-128 96q-7 6-19 6-4 0-7-1-15-3-21-16L813 947l-259 259 53 194q5 17-8 31l-96 96q-9 9-23 9h-2q-15-2-24-13l-189-252-252-189q-11-7-13-23-1-13 9-25l96-97q9-9 23-9 6 0 8 1l194 53 259-259L81 444q-14-8-17-24-2-16 9-27l128-128q14-13 30-8l665 159 160-160q76-76 172-108t148 12z\"/></svg>"},{"name":"font-awesome/calendar","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"calendar\" viewBox=\"0 0 1672.2646 1896.0833\"><path d=\"M128 1664h288v-288H128v288zm352 0h320v-288H480v288zm-352-352h288V992H128v320zm352 0h320V992H480v320zM128 928h288V640H128v288zm736 736h320v-288H864v288zM480 928h320V640H480v288zm768 736h288v-288h-288v288zm-384-352h320V992H864v320zM512 448V160q0-13-9.5-22.5T480 128h-64q-13 0-22.5 9.5T384 160v288q0 13 9.5 22.5T416 480h64q13 0 22.5-9.5T512 448zm736 864h288V992h-288v320zM864 928h320V640H864v288zm384 0h288V640h-288v288zm32-480V160q0-13-9.5-22.5T1248 128h-64q-13 0-22.5 9.5T1152 160v288q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5-9.5t9.5-22.5zm384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/random","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"random\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M666 481q-60 92-137 273-22-45-37-72.5T451.5 618t-51-56.5-63-35T256 512H32q-14 0-23-9t-9-23V288q0-14 9-23t23-9h224q250 0 410 225zm1126 799q0 14-9 23l-320 320q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-192q-32 0-85 .5t-81 1-73-1-71-5-64-10.5-63-18.5-58-28.5-59-40-55-53.5-56-69.5q59-93 136-273 22 45 37 72.5t40.5 63.5 51 56.5 63 35 81.5 14.5h256V960q0-14 9-23t23-9q12 0 24 10l319 319q9 9 9 23zm0-896q0 14-9 23l-320 320q-9 9-23 9-13 0-22.5-9.5T1408 704V512h-256q-48 0-87 15t-69 45-51 61.5-45 77.5q-32 62-78 171-29 66-49.5 111t-54 105-64 100-74 83-90 68.5-106.5 42-128 16.5H32q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224q48 0 87-15t69-45 51-61.5 45-77.5q32-62 78-171 29-66 49.5-111t54-105 64-100 74-83 90-68.5 106.5-42 128-16.5h256V64q0-14 9-23t23-9q12 0 24 10l319 319q9 9 9 23z\"/></svg>"},{"name":"font-awesome/comment","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"comment\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 896q0 174-120 321.5t-326 233-450 85.5q-70 0-145-8-198 175-460 242-49 14-114 22-17 2-30.5-9t-17.5-29v-1q-3-4-.5-12t2-10 4.5-9.5l6-9 7-8.5 8-9q7-8 31-34.5t34.5-38 31-39.5 32.5-51 27-59 26-76q-157-89-247.5-220T0 896q0-130 71-248.5T262 443t286-136.5T896 256q244 0 450 85.5t326 233T1792 896z\"/></svg>"},{"name":"font-awesome/magnet","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"magnet\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 832v128q0 201-98.5 362t-274 251.5T768 1664t-395.5-90.5-274-251.5T0 960V832q0-26 19-45t45-19h384q26 0 45 19t19 45v128q0 52 23.5 90t53.5 57 71 30 64 13 44 2 44-2 64-13 71-30 53.5-57 23.5-90V832q0-26 19-45t45-19h384q26 0 45 19t19 45zM512 192v384q0 26-19 45t-45 19H64q-26 0-45-19T0 576V192q0-26 19-45t45-19h384q26 0 45 19t19 45zm1024 0v384q0 26-19 45t-45 19h-384q-26 0-45-19t-19-45V192q0-26 19-45t45-19h384q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/chevron-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chevron-up\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1683 1331l-166 165q-19 19-45 19t-45-19L896 965l-531 531q-19 19-45 19t-45-19l-166-165q-19-19-19-45.5t19-45.5l742-741q19-19 45-19t45 19l742 741q19 19 19 45.5t-19 45.5z\"/></svg>"},{"name":"font-awesome/chevron-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chevron-down\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1683 808l-742 741q-19 19-45 19t-45-19L109 808q-19-19-19-45.5t19-45.5l166-165q19-19 45-19t45 19l531 531 531-531q19-19 45-19t45 19l166 165q19 19 19 45.5t-19 45.5z\"/></svg>"},{"name":"font-awesome/retweet","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"retweet\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1280 1504q0 13-9.5 22.5t-22.5 9.5H288q-8 0-13.5-2t-9-7-5.5-8-3-11.5-1-11.5V896H64q-26 0-45-19T0 832q0-24 15-41l320-384q19-22 49-22t49 22l320 384q15 17 15 41 0 26-19 45t-45 19H512v384h576q16 0 25 11l160 192q7 10 7 21zm640-416q0 24-15 41l-320 384q-20 23-49 23t-49-23l-320-384q-15-17-15-41 0-26 19-45t45-19h192V640H832q-16 0-25-12L647 436q-7-9-7-20 0-13 9.5-22.5T672 384h960q8 0 13.5 2t9 7 5.5 8 3 11.5 1 11.5v600h192q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/shopping-cart","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"shopping-cart\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M640 1536q0 52-38 90t-90 38-90-38-38-90 38-90 90-38 90 38 38 90zm896 0q0 52-38 90t-90 38-90-38-38-90 38-90 90-38 90 38 38 90zm128-1088v512q0 24-16.5 42.5T1607 1024L563 1146q13 60 13 70 0 16-24 64h920q26 0 45 19t19 45-19 45-45 19H448q-26 0-45-19t-19-45q0-11 8-31.5t16-36 21.5-40T445 1207L268 384H64q-26 0-45-19T0 320t19-45 45-19h256q16 0 28.5 6.5T368 278t13 24.5 8 26 5.5 29.5 4.5 26h1201q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/folder","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"folder\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1664 608v704q0 92-66 158t-158 66H224q-92 0-158-66T0 1312V352q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z\"/></svg>"},{"name":"font-awesome/folder-open","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"folder-open\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1879 952q0 31-31 66l-336 396q-43 51-120.5 86.5T1248 1536H160q-34 0-60.5-13T73 1480q0-31 31-66l336-396q43-51 120.5-86.5T704 896h1088q34 0 60.5 13t26.5 43zm-343-344v160H704q-94 0-197 47.5T343 935L6 1331l-5 6q0-4-.5-12.5T0 1312V352q0-92 66-158t158-66h320q92 0 158 66t66 158v32h544q92 0 158 66t66 158z\"/></svg>"},{"name":"font-awesome/arrows-v","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrows-v\" viewBox=\"0 0 1047.4748 1896.0833\"><path d=\"M704 320q0 26-19 45t-45 19H512v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19L83 1517q-19-19-19-45t19-45 45-19h128V384H128q-26 0-45-19t-19-45 19-45L339 19q19-19 45-19t45 19l256 256q19 19 19 45z\"/></svg>"},{"name":"font-awesome/arrows-h","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrows-h\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 896q0 26-19 45l-256 256q-19 19-45 19t-45-19-19-45v-128H384v128q0 26-19 45t-45 19-45-19L19 941Q0 922 0 896t19-45l256-256q19-19 45-19t45 19 19 45v128h1024V640q0-26 19-45t45-19 45 19l256 256q19 19 19 45z\"/></svg>"},{"name":"font-awesome/bar-chart-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bar-chart-o\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M640 896v512H384V896h256zm384-512v1024H768V384h256zm1024 1152v128H0V128h128v1408h1920zm-640-896v768h-256V640h256zm384-384v1152h-256V256h256z\"/></svg>"},{"name":"font-awesome/bar-chart","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bar-chart\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M640 896v512H384V896h256zm384-512v1024H768V384h256zm1024 1152v128H0V128h128v1408h1920zm-640-896v768h-256V640h256zm384-384v1152h-256V256h256z\"/></svg>"},{"name":"font-awesome/twitter-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"twitter-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 610q-56 25-121 34 68-40 93-117-65 38-134 51-61-66-153-66-87 0-148.5 61.5T755 722q0 29 5 48-129-7-242-65T326 550q-29 50-29 106 0 114 91 175-47-1-100-26v2q0 75 50 133.5t123 72.5q-29 8-51 8-13 0-39-4 21 63 74.5 104t121.5 42q-116 90-261 90-26 0-50-3 148 94 322 94 112 0 210-35.5t168-95 120.5-137 75-162T1176 746q0-18-1-27 63-45 105-109zm256-194v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/facebook-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"facebook-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1248 128q119 0 203.5 84.5T1536 416v960q0 119-84.5 203.5T1248 1664h-188v-595h199l30-232h-229V689q0-56 23.5-84t91.5-28l122-1V369q-63-9-178-9-136 0-217.5 80T820 666v171H620v232h200v595H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960z\"/></svg>"},{"name":"font-awesome/camera-retro","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"camera-retro\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M928 832q0-14-9-23t-23-9q-66 0-113 47t-47 113q0 14 9 23t23 9 23-9 9-23q0-40 28-68t68-28q14 0 23-9t9-23zm224 130q0 106-75 181t-181 75-181-75-75-181 75-181 181-75 181 75 75 181zM128 1536h1536v-128H128v128zm1152-574q0-159-112.5-271.5T896 578 624.5 690.5 512 962t112.5 271.5T896 1346t271.5-112.5T1280 962zM256 320h384V192H256v128zM128 512h1536V256H836l-64 128H128v128zm1664-256v1280q0 53-37.5 90.5T1664 1664H128q-53 0-90.5-37.5T0 1536V256q0-53 37.5-90.5T128 128h1536q53 0 90.5 37.5T1792 256z\"/></svg>"},{"name":"font-awesome/key","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"key\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z\"/></svg>"},{"name":"font-awesome/gears","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gears\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M896 896q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm768 512q0-52-38-90t-90-38-90 38-38 90q0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm0-1024q0-52-38-90t-90-38-90 38-38 90q0 53 37.5 90.5T1536 512t90.5-37.5T1664 384zm-384 421v185q0 10-7 19.5t-16 10.5l-155 24q-11 35-32 76 34 48 90 115 7 11 7 20 0 12-7 19-23 30-82.5 89.5T999 1423q-11 0-21-7l-115-90q-37 19-77 31-11 108-23 155-7 24-30 24H547q-11 0-20-7.5t-10-17.5l-23-153q-34-10-75-31l-118 89q-7 7-20 7-11 0-21-8-144-133-144-160 0-9 7-19 10-14 41-53t47-61q-23-44-35-82l-152-24q-10-1-17-9.5T0 987V802q0-10 7-19.5T23 772l155-24q11-35 32-76-34-48-90-115-7-11-7-20 0-12 7-20 22-30 82-89t79-59q11 0 21 7l115 90q34-18 77-32 11-108 23-154 7-24 30-24h186q11 0 20 7.5t10 17.5l23 153q34 10 75 31l118-89q8-7 20-7 11 0 21 8 144 133 144 160 0 8-7 19-12 16-42 54t-45 60q23 48 34 82l152 23q10 2 17 10.5t7 19.5zm640 533v140q0 16-149 31-12 27-30 52 51 113 51 138 0 4-4 7-122 71-124 71-8 0-46-47t-52-68q-20 2-30 2t-30-2q-14 21-52 68t-46 47q-2 0-124-71-4-3-4-7 0-25 51-138-18-25-30-52-149-15-149-31v-140q0-16 149-31 13-29 30-52-51-113-51-138 0-4 4-7 4-2 35-20t59-34 30-16q8 0 46 46.5t52 67.5q20-2 30-2t30 2q51-71 92-112l6-2q4 0 124 70 4 3 4 7 0 25-51 138 17 23 30 52 149 15 149 31zm0-1024v140q0 16-149 31-12 27-30 52 51 113 51 138 0 4-4 7-122 71-124 71-8 0-46-47t-52-68q-20 2-30 2t-30-2q-14 21-52 68t-46 47q-2 0-124-71-4-3-4-7 0-25 51-138-18-25-30-52-149-15-149-31V314q0-16 149-31 13-29 30-52-51-113-51-138 0-4 4-7 4-2 35-20t59-34 30-16q8 0 46 46.5t52 67.5q20-2 30-2t30 2q51-71 92-112l6-2q4 0 124 70 4 3 4 7 0 25-51 138 17 23 30 52 149 15 149 31z\"/></svg>"},{"name":"font-awesome/cogs","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cogs\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M896 896q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm768 512q0-52-38-90t-90-38-90 38-38 90q0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm0-1024q0-52-38-90t-90-38-90 38-38 90q0 53 37.5 90.5T1536 512t90.5-37.5T1664 384zm-384 421v185q0 10-7 19.5t-16 10.5l-155 24q-11 35-32 76 34 48 90 115 7 11 7 20 0 12-7 19-23 30-82.5 89.5T999 1423q-11 0-21-7l-115-90q-37 19-77 31-11 108-23 155-7 24-30 24H547q-11 0-20-7.5t-10-17.5l-23-153q-34-10-75-31l-118 89q-7 7-20 7-11 0-21-8-144-133-144-160 0-9 7-19 10-14 41-53t47-61q-23-44-35-82l-152-24q-10-1-17-9.5T0 987V802q0-10 7-19.5T23 772l155-24q11-35 32-76-34-48-90-115-7-11-7-20 0-12 7-20 22-30 82-89t79-59q11 0 21 7l115 90q34-18 77-32 11-108 23-154 7-24 30-24h186q11 0 20 7.5t10 17.5l23 153q34 10 75 31l118-89q8-7 20-7 11 0 21 8 144 133 144 160 0 8-7 19-12 16-42 54t-45 60q23 48 34 82l152 23q10 2 17 10.5t7 19.5zm640 533v140q0 16-149 31-12 27-30 52 51 113 51 138 0 4-4 7-122 71-124 71-8 0-46-47t-52-68q-20 2-30 2t-30-2q-14 21-52 68t-46 47q-2 0-124-71-4-3-4-7 0-25 51-138-18-25-30-52-149-15-149-31v-140q0-16 149-31 13-29 30-52-51-113-51-138 0-4 4-7 4-2 35-20t59-34 30-16q8 0 46 46.5t52 67.5q20-2 30-2t30 2q51-71 92-112l6-2q4 0 124 70 4 3 4 7 0 25-51 138 17 23 30 52 149 15 149 31zm0-1024v140q0 16-149 31-12 27-30 52 51 113 51 138 0 4-4 7-122 71-124 71-8 0-46-47t-52-68q-20 2-30 2t-30-2q-14 21-52 68t-46 47q-2 0-124-71-4-3-4-7 0-25 51-138-18-25-30-52-149-15-149-31V314q0-16 149-31 13-29 30-52-51-113-51-138 0-4 4-7 4-2 35-20t59-34 30-16q8 0 46 46.5t52 67.5q20-2 30-2t30 2q51-71 92-112l6-2q4 0 124 70 4 3 4 7 0 25-51 138 17 23 30 52 149 15 149 31z\"/></svg>"},{"name":"font-awesome/comments","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"comments\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1408 768q0 139-94 257t-256.5 186.5T704 1280q-86 0-176-16-124 88-278 128-36 9-86 16h-3q-11 0-20.5-8t-11.5-21q-1-3-1-6.5t.5-6.5 2-6l2.5-5 3.5-5.5 4-5 4.5-5 4-4.5q5-6 23-25t26-29.5 22.5-29 25-38.5 20.5-44q-124-72-195-177T0 768q0-139 94-257t256.5-186.5T704 256t353.5 68.5T1314 511t94 257zm384 256q0 120-71 224.5T1526 1425q10 24 20.5 44t25 38.5 22.5 29 26 29.5 23 25q1 1 4 4.5t4.5 5 4 5 3.5 5.5l2.5 5 2 6 .5 6.5-1 6.5q-3 14-13 22t-22 7q-50-7-86-16-154-40-278-128-90 16-176 16-271 0-472-132 58 4 88 4 161 0 309-45t264-129q125-92 192-212t67-254q0-77-23-152 129 71 204 178t75 230z\"/></svg>"},{"name":"font-awesome/thumbs-o-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thumbs-o-up\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M256 1344q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm1152-576q0-51-39-89.5t-89-38.5H928q0-58 48-159.5t48-160.5q0-98-32-145t-128-47q-26 26-38 85t-30.5 125.5T736 448q-22 23-77 91-4 5-23 30t-31.5 41-34.5 42.5-40 44-38.5 35.5-40 27-35.5 9h-32v640h32q13 0 31.5 3t33 6.5 38 11 35 11.5 35.5 12.5 29 10.5q211 73 342 73h121q192 0 192-167 0-26-5-56 30-16 47.5-52.5t17.5-73.5-18-69q53-50 53-119 0-25-10-55.5t-25-47.5q32-1 53.5-47t21.5-81zm128-1q0 89-49 163 9 33 9 69 0 77-38 144 3 21 3 43 0 101-60 178 1 139-85 219.5t-227 80.5H960q-96 0-189.5-22.5T554 1576q-116-40-138-40H128q-53 0-90.5-37.5T0 1408V768q0-53 37.5-90.5T128 640h274q36-24 137-155 58-75 107-128 24-25 35.5-85.5T712 145t62-108q39-37 90-37 84 0 151 32.5T1117 134t35 186q0 93-48 192h176q104 0 180 76t76 179z\"/></svg>"},{"name":"font-awesome/thumbs-o-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thumbs-o-down\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M256 448q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm1152 576q0-35-21.5-81t-53.5-47q15-17 25-47.5t10-55.5q0-69-53-119 18-31 18-69 0-37-17.5-73.5T1268 479q5-30 5-56 0-85-49-126t-136-41H960q-131 0-342 73-5 2-29 10.5T553.5 352t-35 11.5-38 11-33 6.5-31.5 3h-32v640h32q16 0 35.5 9t40 27 38.5 35.5 40 44 34.5 42.5 31.5 41 23 30q55 68 77 91 41 43 59.5 109.5T826 1579t38 85q96 0 128-47t32-145q0-59-48-160.5T928 1152h352q50 0 89-38.5t39-89.5zm128 1q0 103-76 179t-180 76h-176q48 99 48 192 0 118-35 186-35 69-102 101.5T864 1792q-51 0-90-37-34-33-54-82t-25.5-90.5T677 1498t-31-64q-48-50-107-127-101-131-137-155H128q-53 0-90.5-37.5T0 1024V384q0-53 37.5-90.5T128 256h288q22 0 138-40 128-44 223-66t200-22h112q140 0 226.5 79t85.5 216v5q60 77 60 178 0 22-3 43 38 67 38 144 0 36-9 69 49 73 49 163z\"/></svg>"},{"name":"font-awesome/star-half","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"star-half\" viewBox=\"0 0 915.5439 1896.0833\"><path d=\"M832 32v1339l-449 236q-22 12-40 12-21 0-31.5-14.5T301 1569q0-6 2-20l86-500L25 695Q0 668 0 647q0-37 56-46l502-73L783 73q19-41 49-41z\"/></svg>"},{"name":"font-awesome/heart-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"heart-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1664 596q0-81-21.5-143t-55-98.5T1506 295t-94-31-98-8-112 25.5-110.5 64-86.5 72-60 61.5q-18 22-49 22t-49-22q-24-28-60-61.5t-86.5-72-110.5-64T478 256t-98 8-94 31-81.5 59.5-55 98.5T128 596q0 168 187 355l581 560 580-559q188-188 188-356zm128 0q0 221-229 450l-623 600q-18 18-44 18t-44-18l-624-602q-10-8-27.5-26T145 952.5 77 855 23.5 734 0 596q0-220 127-344t351-124q62 0 126.5 21.5t120 58T820 276t76 68q36-36 76-68t95.5-68.5 120-58T1314 128q224 0 351 124t127 344z\"/></svg>"},{"name":"font-awesome/sign-out","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sign-out\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M640 1440q0 4 1 20t.5 26.5-3 23.5-10 19.5-20.5 6.5H288q-119 0-203.5-84.5T0 1248V544q0-119 84.5-203.5T288 256h320q13 0 22.5 9.5T640 288q0 4 1 20t.5 26.5-3 23.5-10 19.5T608 384H288q-66 0-113 47t-47 113v704q0 66 47 113t113 47h312l11.5 1 11.5 3 8 5.5 7 9 2 13.5zm928-544q0 26-19 45l-544 544q-19 19-45 19t-45-19-19-45v-288H448q-26 0-45-19t-19-45V704q0-26 19-45t45-19h448V352q0-26 19-45t45-19 45 19l544 544q19 19 19 45z\"/></svg>"},{"name":"font-awesome/linkedin-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"linkedin-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M237 1414h231V720H237v694zm246-908q-1-52-36-86t-93-34-94.5 34-36.5 86q0 51 35.5 85.5T351 626h1q59 0 95-34.5t36-85.5zm585 908h231v-398q0-154-73-233t-193-79q-136 0-209 117h2V720H595q3 66 0 694h231v-388q0-38 7-56 15-35 45-59.5t74-24.5q116 0 116 157v371zm468-998v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/thumb-tack","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thumb-tack\" viewBox=\"0 0 1183.1139 1896.0833\"><path d=\"M480 864V416q0-14-9-23t-23-9-23 9-9 23v448q0 14 9 23t23 9 23-9 9-23zm672 352q0 26-19 45t-45 19H659l-51 483q-2 12-10.5 20.5T577 1792h-1q-27 0-32-27l-76-485H64q-26 0-45-19t-19-45q0-123 78.5-221.5T256 896V384q-52 0-90-38t-38-90 38-90 90-38h640q52 0 90 38t38 90-38 90-90 38v512q99 0 177.5 98.5T1152 1216z\"/></svg>"},{"name":"font-awesome/external-link","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"external-link\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1408 928v320q0 119-84.5 203.5T1120 1536H288q-119 0-203.5-84.5T0 1248V416q0-119 84.5-203.5T288 128h704q14 0 23 9t9 23v64q0 14-9 23t-23 9H288q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113V928q0-14 9-23t23-9h64q14 0 23 9t9 23zm384-864v512q0 26-19 45t-45 19-45-19l-176-176-652 652q-10 10-23 10t-23-10L695 983q-10-10-10-23t10-23l652-652-176-176q-19-19-19-45t19-45 45-19h512q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/sign-in","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sign-in\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1184 896q0 26-19 45l-544 544q-19 19-45 19t-45-19-19-45v-288H64q-26 0-45-19t-19-45V704q0-26 19-45t45-19h448V352q0-26 19-45t45-19 45 19l544 544q19 19 19 45zm352-352v704q0 119-84.5 203.5T1248 1536H928q-13 0-22.5-9.5T896 1504q0-4-1-20t-.5-26.5 3-23.5 10-19.5 20.5-6.5h320q66 0 113-47t47-113V544q0-66-47-113t-113-47H936l-11.5-1-11.5-3-8-5.5-7-9-2-13.5q0-4-1-20t-.5-26.5 3-23.5 10-19.5T928 256h320q119 0 203.5 84.5T1536 544z\"/></svg>"},{"name":"font-awesome/trophy","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"trophy\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M458 883q-74-162-74-371H128v96q0 78 94.5 162T458 883zm1078-275v-96h-256q0 209-74 371 141-29 235.5-113t94.5-162zm128-128v128q0 71-41.5 143t-112 130-173 97.5T1122 1023q-42 54-95 95-38 34-52.5 72.5T960 1280q0 54 30.5 91t97.5 37q75 0 133.5 45.5T1280 1568v64q0 14-9 23t-23 9H416q-14 0-23-9t-9-23v-64q0-69 58.5-114.5T576 1408q67 0 97.5-37t30.5-91q0-51-14.5-89.5T637 1118q-53-41-95-95-113-5-215.5-44.5t-173-97.5-112-130T0 608V480q0-40 28-68t68-28h288v-96q0-66 47-113t113-47h576q66 0 113 47t47 113v96h288q40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/github-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"github-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M519 1200q4-6-3-13-9-7-14-2-4 6 3 13 9 7 14 2zm-28-41q-5-7-12-4-6 4 0 12 7 8 12 5 6-4 0-13zm-41-40q2-4-5-8-7-2-8 2-3 5 4 8 8 2 9-2zm21 23q2-1 1.5-4.5t-3.5-5.5q-6-7-10-3t1 11q6 6 11 2zm86 75q2-7-9-11-9-3-13 4-2 7 9 11 9 3 13-4zm42 3q0-8-12-8-10 0-10 8t11 8 11-8zm39-7q-2-7-13-5t-9 9q2 8 12 6t10-10zm642-317q0-212-150-362T768 384 406 534 256 896q0 167 98 300.5T606 1382q18 3 26.5-5t8.5-20q0-52-1-95-6 1-15.5 2.5t-35.5 2-48-4-43.5-20T468 1201q-23-59-57-74-2-1-4.5-3.5l-8-8-7-9.5 4-7.5 19.5-3.5q6 0 15 2t30 15.5 33 35.5q16 28 37.5 42t43.5 14 38-3.5 30-9.5q7-47 33-69-49-6-86-18.5t-73-39-55.5-76T441 869q0-79 53-137-24-62 5-136 19-6 54.5 7.5T614 633l26 16q58-17 128-17t128 17q11-7 28.5-18t55.5-26 57-9q29 74 5 136 53 58 53 137 0 57-14 100.5t-35.5 70T992 1084t-62.5 26-68.5 12q35 31 35 95 0 40-.5 89t-.5 51q0 12 8.5 20t26.5 5q154-52 252-185.5t98-300.5zm256-480v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/upload","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"upload\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1280 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28H96q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19H704q-26 0-45-19t-19-45V640H384q-42 0-59-40-17-39 14-69L787 83q18-19 45-19t45 19l448 448q31 30 14 69z\"/></svg>"},{"name":"font-awesome/lemon-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"lemon-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1407 826q0-44-7-113.5t-18-96.5q-12-30-17-44t-9-36.5-4-48.5q0-23 5-68.5t5-67.5q0-37-10-55-4-1-13-1-19 0-58 4.5t-59 4.5q-60 0-176-24t-175-24q-43 0-94.5 11.5t-85 23.5-89.5 34q-137 54-202 103-96 73-159.5 189.5t-88 236T128 1102q0 40 12.5 120t12.5 121q0 23-11 66.5t-11 65.5 12 36.5 34 14.5q24 0 72.5-11t73.5-11q57 0 169.5 15.5T662 1535q181 0 284-36 129-45 235.5-152.5t166-245.5 59.5-275zm128-2q0 165-70 327.5t-196 288T988 1620q-124 44-326 44-57 0-170-14.5T323 1635q-24 0-72.5 14.5T177 1664q-73 0-123.5-55.5T3 1480q0-24 11-68t11-67q0-40-12.5-120.5T0 1103q0-111 18-217.5T72.5 676 173 482t150-156q78-59 232-120 194-78 316-78 60 0 175.5 24t173.5 24q19 0 57-5t58-5q81 0 118 50.5t37 134.5q0 23-5 68t-5 68q0 13 2 25t3.5 16.5 7.5 20.5 8 20q16 40 25 118.5t9 136.5z\"/></svg>"},{"name":"font-awesome/phone","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"phone\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1408 1240q0 27-10 70.5t-21 68.5q-21 50-122 106-94 51-186 51-27 0-53-3.5t-57.5-12.5-47-14.5T856 1485t-49-18q-98-35-175-83-127-79-264-216T152 904q-48-77-83-175-3-9-18-49t-20.5-55.5-14.5-47T3.5 520 0 467q0-92 51-186 56-101 106-122 25-11 68.5-21t70.5-10q14 0 21 3 18 6 53 76 11 19 30 54t35 63.5 31 53.5q3 4 17.5 25t21.5 35.5 7 28.5q0 20-28.5 50t-62 55-62 53-28.5 46q0 9 5 22.5t8.5 20.5 14 24 11.5 19q76 137 174 235t235 174q2 1 19 11.5t24 14 20.5 8.5 22.5 5q18 0 46-28.5t53-62 55-62 50-28.5q14 0 28.5 7t35.5 21.5 25 17.5q25 15 53.5 31t63.5 35 54 30q70 35 76 53 3 7 3 21z\"/></svg>"},{"name":"font-awesome/square-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"square-o\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1120 256H288q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113V416q0-66-47-113t-113-47zm288 160v832q0 119-84.5 203.5T1120 1536H288q-119 0-203.5-84.5T0 1248V416q0-119 84.5-203.5T288 128h832q119 0 203.5 84.5T1408 416z\"/></svg>"},{"name":"font-awesome/bookmark-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bookmark-o\" viewBox=\"0 0 1397.9638 1896.0833\"><path d=\"M1152 256H128v1242l423-406 89-85 89 85 423 406V256zm12-128q23 0 44 9 33 13 52.5 41t19.5 62v1289q0 34-19.5 62t-52.5 41q-19 8-44 8-48 0-83-32l-441-424-441 424q-36 33-83 33-23 0-44-9-33-13-52.5-41T0 1529V240q0-34 19.5-62T72 137q21-9 44-9h1048z\"/></svg>"},{"name":"font-awesome/phone-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"phone-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 1193q0-11-2-16t-18-16.5-40.5-25-47.5-26.5-45.5-25-28.5-15q-5-3-19-13t-25-15-21-5q-15 0-36.5 20.5t-39.5 45-38.5 45T885 1167q-7 0-16.5-3.5T853 1157t-17-9.5-14-8.5q-99-55-170-126.5T525 842q-2-3-8.5-14t-9.5-17-6.5-15.5T497 779q0-13 20.5-33.5t45-38.5 45-39.5T628 631q0-10-5-21t-15-25-13-19q-3-6-15-28.5T555 492t-26.5-47.5-25-40.5-16.5-18-16-2q-48 0-101 22-46 21-80 94.5T256 631q0 16 2.5 34t5 30.5 9 33 10 29.5 12.5 33 11 30q60 164 216.5 320.5T843 1358q6 2 30 11t33 12.5 29.5 10 33 9 30.5 5 34 2.5q57 0 130.5-34t94.5-80q22-53 22-101zm256-777v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/twitter","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"twitter\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1620 408q-67 98-162 167 1 14 1 42 0 130-38 259.5T1305.5 1125 1121 1335.5t-258 146-323 54.5q-271 0-496-145 35 4 78 4 225 0 401-138-105-2-188-64.5T221 1033q33 5 61 5 43 0 85-11-112-23-185.5-111.5T108 710v-4q68 38 146 41-66-44-105-115t-39-154q0-88 44-163 121 149 294.5 238.5T820 653q-8-38-8-74 0-134 94.5-228.5T1135 256q140 0 236 102 109-21 205-78-37 115-142 178 93-10 186-50z\"/></svg>"},{"name":"font-awesome/facebook-f","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"facebook-f\" viewBox=\"0 0 1024 1896.0833\"><path d=\"M959 12v264H802q-86 0-116 36t-30 108v189h293l-39 296H656v759H350V905H95V609h255V391q0-186 104-288.5T731 0q147 0 228 12z\"/></svg>"},{"name":"font-awesome/facebook","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"facebook\" viewBox=\"0 0 1024 1896.0833\"><path d=\"M959 12v264H802q-86 0-116 36t-30 108v189h293l-39 296H656v759H350V905H95V609h255V391q0-186 104-288.5T731 0q147 0 228 12z\"/></svg>"},{"name":"font-awesome/github","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"github\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 128q209 0 385.5 103T1433 510.5 1536 896q0 251-146.5 451.5T1011 1625q-27 5-40-7t-13-30q0-3 .5-76.5t.5-134.5q0-97-52-142 57-6 102.5-18t94-39 81-66.5 53-105T1258 856q0-119-79-206 37-91-8-204-28-9-81 11t-92 44l-38 24q-93-26-192-26t-192 26q-16-11-42.5-27T450 459.5 365 446q-45 113-8 204-79 87-79 206 0 85 20.5 150t52.5 105 80.5 67 94 39 102.5 18q-39 36-49 103-21 10-45 15t-57 5-65.5-21.5T356 1274q-19-32-48.5-52t-49.5-24l-20-3q-21 0-29 4.5t-5 11.5 9 14 13 12l7 5q22 10 43.5 38t31.5 51l10 23q13 38 44 61.5t67 30 69.5 7 55.5-3.5l23-4q0 38 .5 88.5t.5 54.5q0 18-13 30t-40 7q-232-77-378.5-277.5T0 896q0-209 103-385.5T382.5 231 768 128zM291 1231q3-7-7-12-10-3-13 2-3 7 7 12 9 6 13-2zm31 34q7-5-2-16-10-9-16-3-7 5 2 16 10 10 16 3zm30 45q9-7 0-19-8-13-17-6-9 5 0 18t17 7zm42 42q8-8-4-19-12-12-20-3-9 8 4 19 12 12 20 3zm57 25q3-11-13-16-15-4-19 7t13 15q15 6 19-6zm63 5q0-13-17-11-16 0-16 11 0 13 17 11 16 0 16-11zm58-10q-2-11-18-9-16 3-14 15t18 8 14-14z\"/></svg>"},{"name":"font-awesome/unlock","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"unlock\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1664 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45V576q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V864q0-40 28-68t68-28h672V576q0-185 131.5-316.5T1216 128t316.5 131.5T1664 576z\"/></svg>"},{"name":"font-awesome/credit-card","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"credit-card\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1760 128q66 0 113 47t47 113v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1600zM160 256q-13 0-22.5 9.5T128 288v224h1664V288q0-13-9.5-22.5T1760 256H160zm1600 1280q13 0 22.5-9.5t9.5-22.5V896H128v608q0 13 9.5 22.5t22.5 9.5h1600zM256 1408v-128h256v128H256zm384 0v-128h384v128H640z\"/></svg>"},{"name":"font-awesome/feed","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"feed\" viewBox=\"0 0 1438.6896 1896.0833\"><path d=\"M384 1344q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm512 123q2 28-17 48-18 21-47 21H697q-25 0-43-16.5t-20-41.5q-22-229-184.5-391.5T58 902q-25-2-41.5-20T0 839V704q0-29 21-47 17-17 43-17h5q160 13 306 80.5T634 902q114 113 181.5 259t80.5 306zm512 2q2 27-18 47-18 20-46 20h-143q-26 0-44.5-17.5T1137 1476q-12-215-101-408.5t-231.5-336-336-231.5T60 398q-25-1-42.5-19.5T0 335V192q0-28 20-46 18-18 44-18h3q262 13 501.5 120T994 542q187 186 294 425.5t120 501.5z\"/></svg>"},{"name":"font-awesome/rss","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"rss\" viewBox=\"0 0 1438.6896 1896.0833\"><path d=\"M384 1344q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm512 123q2 28-17 48-18 21-47 21H697q-25 0-43-16.5t-20-41.5q-22-229-184.5-391.5T58 902q-25-2-41.5-20T0 839V704q0-29 21-47 17-17 43-17h5q160 13 306 80.5T634 902q114 113 181.5 259t80.5 306zm512 2q2 27-18 47-18 20-46 20h-143q-26 0-44.5-17.5T1137 1476q-12-215-101-408.5t-231.5-336-336-231.5T60 398q-25-1-42.5-19.5T0 335V192q0-28 20-46 18-18 44-18h3q262 13 501.5 120T994 542q187 186 294 425.5t120 501.5z\"/></svg>"},{"name":"font-awesome/hdd-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hdd-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1040 1216q0 33-23.5 56.5T960 1296t-56.5-23.5T880 1216t23.5-56.5T960 1136t56.5 23.5 23.5 56.5zm256 0q0 33-23.5 56.5T1216 1296t-56.5-23.5-23.5-56.5 23.5-56.5 56.5-23.5 56.5 23.5 23.5 56.5zm112 160v-320q0-13-9.5-22.5t-22.5-9.5H160q-13 0-22.5 9.5T128 1056v320q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5-9.5t9.5-22.5zM178 896h1180l-157-482q-4-13-16-21.5t-26-8.5H377q-14 0-26 8.5T335 414zm1358 160v320q0 66-47 113t-113 47H160q-66 0-113-47T0 1376v-320q0-25 16-75l197-606q17-53 63-86t101-33h782q55 0 101 33t63 86l197 606q16 50 16 75z\"/></svg>"},{"name":"font-awesome/bullhorn","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bullhorn\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1664 640q53 0 90.5 37.5T1792 768t-37.5 90.5T1664 896v384q0 52-38 90t-90 38q-417-347-812-380-58 19-91 66t-31 100.5 40 92.5q-20 33-23 65.5t6 58 33.5 55 48 50T768 1566q-29 58-111.5 83T488 1660.5 356 1605q-7-23-29.5-87.5t-32-94.5-23-89-15-101 3.5-98.5 22-110.5H160q-66 0-113-47T0 864V672q0-66 47-113t113-47h480q435 0 896-384 52 0 90 38t38 90v384zm-128 604V290q-394 302-768 343v270q377 42 768 341z\"/></svg>"},{"name":"font-awesome/bell","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bell\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M912 1696q0-16-16-16-59 0-101.5-42.5T752 1536q0-16-16-16t-16 16q0 73 51.5 124.5T896 1712q16 0 16-16zm816-288q0 52-38 90t-90 38h-448q0 106-75 181t-181 75-181-75-75-181H192q-52 0-90-38t-38-90q50-42 91-88t85-119.5 74.5-158.5 50-206T384 576q0-152 117-282.5T808 135q-8-19-8-39 0-40 28-68t68-28 68 28 28 68q0 20-8 39 190 28 307 158.5T1408 576q0 139 19.5 260t50 206 74.5 158.5 85 119.5 91 88z\"/></svg>"},{"name":"font-awesome/certificate","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"certificate\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1376 896l138 135q30 28 20 70-12 41-52 51l-188 48 53 186q12 41-19 70-29 31-70 19l-186-53-48 188q-10 40-51 52-12 2-19 2-31 0-51-22l-135-138-135 138q-28 30-70 20-41-11-51-52l-48-188-186 53q-41 12-70-19-31-29-19-70l53-186-188-48q-40-10-52-51-10-42 20-70l138-135L22 761q-30-28-20-70 12-41 52-51l188-48-53-186q-12-41 19-70 29-31 70-19l186 53 48-188q10-41 51-51 41-12 70 19l135 139 135-139q29-30 70-19 41 10 51 51l48 188 186-53q41-12 70 19 31 29 19 70l-53 186 188 48q40 10 52 51 10 42-20 70z\"/></svg>"},{"name":"font-awesome/hand-o-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-o-right\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M256 1344q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm1408-576q0-51-39-89.5t-89-38.5H960q0-20 15-48.5t33-55 33-68 15-84.5q0-67-44.5-97.5T896 256q-24 0-90 139-24 44-37 65-40 64-112 145-71 81-101 106-69 57-140 57h-32v640h32q72 0 167 32t193.5 64 179.5 32q189 0 189-167 0-26-5-56 30-16 47.5-52.5t17.5-73.5-18-69q53-50 53-119 0-25-10-55.5t-25-47.5h331q52 0 90-38t38-90zm128-1q0 105-75.5 181t-180.5 76h-169q-4 62-37 119 3 21 3 43 0 101-60 178 1 139-85 219.5T961 1664q-133 0-322-69-164-59-223-59H128q-53 0-90.5-37.5T0 1408V768q0-53 37.5-90.5T128 640h288q10 0 21.5-4.5t23.5-14 22.5-18 24-22.5 20.5-21.5 19-21.5 14-17q65-74 100-129 13-21 33-62t37-72 40.5-63 55-49.5T896 128q125 0 206.5 67t81.5 189q0 68-22 128h374q104 0 180 76t76 179z\"/></svg>"},{"name":"font-awesome/hand-o-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-o-left\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1376 1408h32V768h-32q-35 0-67.5-12t-62.5-37-50-46-49-54q-8-9-12-14-72-81-112-145-14-22-38-68-1-3-10.5-22.5t-18.5-36-20-35.5-21.5-30.5T896 256q-71 0-115.5 30.5T736 384q0 43 15 84.5t33 68 33 55 15 48.5H256q-50 0-89 38.5T128 768q0 52 38 90t90 38h331q-15 17-25 47.5T552 999q0 69 53 119-18 32-18 69t17.5 73.5T652 1313q-4 24-4 56 0 85 48.5 126t135.5 41q84 0 183-32t194-64 167-32zm288-64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-576v640q0 53-37.5 90.5T1664 1536h-288q-59 0-223 59-190 69-317 69-142 0-230-77.5T519 1369l1-5q-61-76-61-178 0-22 3-43-33-57-37-119H256q-105 0-180.5-76T0 767q0-103 76-179t180-76h374q-22-60-22-128 0-122 81.5-189T896 128q38 0 69.5 17.5t55 49.5 40.5 63 37 72 33 62q35 55 100 129 2 3 14 17t19 21.5 20.5 21.5 24 22.5 22.5 18 23.5 14 21.5 4.5h288q53 0 90.5 37.5T1792 768z\"/></svg>"},{"name":"font-awesome/hand-o-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-o-up\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 1600q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-764q0-189-167-189-26 0-56 5-16-30-52.5-47.5T1059 587t-69 18q-50-53-119-53-25 0-55.5 10T768 587V256q0-52-38-90t-90-38q-51 0-89.5 39T512 256v576q-20 0-48.5-15t-55-33-68-33-84.5-15q-67 0-97.5 44.5T128 896q0 24 139 90 44 24 65 37 64 40 145 112 81 71 106 101 57 69 57 140v32h640v-32q0-72 32-167t64-193.5 32-179.5zm128-5q0 133-69 322-59 164-59 223v288q0 53-37.5 90.5T1280 1792H640q-53 0-90.5-37.5T512 1664v-288q0-10-4.5-21.5t-14-23.5-18-22.5-22.5-24-21.5-20.5-21.5-19-17-14q-74-65-129-100-21-13-62-33t-72-37-63-40.5-49.5-55T0 896q0-125 67-206.5T256 608q68 0 128 22V256q0-104 76-180T639 0q105 0 181 75.5T896 256v169q62 4 119 37 21-3 43-3 101 0 178 60 139-1 219.5 85t80.5 227z\"/></svg>"},{"name":"font-awesome/hand-o-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-o-down\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1408 960q0-84-32-183t-64-194-32-167v-32H640v32q0 35-12 67.5T591 546t-46 50-54 49q-9 8-14 12-81 72-145 112-22 14-68 38-3 1-22.5 10.5t-36 18.5-35.5 20-30.5 21.5T128 896q0 71 30.5 115.5T256 1056q43 0 84.5-15t68-33 55-33 48.5-15v576q0 50 38.5 89t89.5 39q52 0 90-38t38-90v-331q46 35 103 35 69 0 119-53 32 18 69 18t73.5-17.5 52.5-47.5q24 4 56 4 85 0 126-48.5t41-135.5zm-128-768q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 764q0 142-77.5 230t-217.5 87l-5-1q-76 61-178 61-22 0-43-3-54 30-119 37v169q0 105-76 180.5T639 1792q-103 0-179-76t-76-180v-374q-54 22-128 22-121 0-188.5-81.5T0 896q0-38 17.5-69.5t49.5-55 63-40.5 72-37 62-33q55-35 129-100 3-2 17-14t21.5-19 21.5-20.5 22.5-24 18-22.5 14-23.5T512 416V128q0-53 37.5-90.5T640 0h640q53 0 90.5 37.5T1408 128v288q0 59 59 223 69 190 69 317z\"/></svg>"},{"name":"font-awesome/arrow-circle-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-circle-left\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 960V832q0-26-19-45t-45-19H714l189-189q19-19 19-45t-19-45l-91-91q-18-18-45-18t-45 18L360 760l-91 91q-18 18-18 45t18 45l91 91 362 362q18 18 45 18t45-18l91-91q18-18 18-45t-18-45l-189-189h502q26 0 45-19t19-45zm256-64q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/arrow-circle-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-circle-right\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1285 896q0-27-18-45l-91-91-362-362q-18-18-45-18t-45 18l-91 91q-18 18-18 45t18 45l189 189H320q-26 0-45 19t-19 45v128q0 26 19 45t45 19h502l-189 189q-19 19-19 45t19 45l91 91q18 18 45 18t45-18l362-362 91-91q18-18 18-45zm251 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/arrow-circle-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-circle-up\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1284 895q0-27-18-45L904 488l-91-91q-18-18-45-18t-45 18l-91 91-362 362q-18 18-18 45t18 45l91 91q18 18 45 18t45-18l189-189v502q0 26 19 45t45 19h128q26 0 45-19t19-45V842l189 189q19 19 45 19t45-19l91-91q18-18 18-45zm252 1q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/arrow-circle-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-circle-down\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1284 897q0-27-18-45l-91-91q-18-18-45-18t-45 18L896 950V448q0-26-19-45t-45-19H704q-26 0-45 19t-19 45v502L451 761q-19-19-45-19t-45 19l-91 91q-18 18-18 45t18 45l362 362 91 91q18 18 45 18t45-18l91-91 362-362q18-18 18-45zm252-1q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/globe","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"globe\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 128q209 0 385.5 103T1433 510.5 1536 896t-103 385.5-279.5 279.5T768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128zm274 521q-2 1-9.5 9.5T1019 668q2 0 4.5-5t5-11 3.5-7q6-7 22-15 14-6 52-12 34-8 51 11-2-2 9.5-13t14.5-12q3-2 15-4.5t15-7.5l2-22q-12 1-17.5-7t-6.5-21q0 2-6 8 0-7-4.5-8t-11.5 1-9 1q-10-3-15-7.5t-8-16.5-4-15q-2-5-9.5-11t-9.5-10q-1-2-2.5-5.5t-3-6.5-4-5.5-5.5-2.5-7 5-7.5 10-4.5 5q-3-2-6-1.5t-4.5 1-4.5 3-5 3.5q-3 2-8.5 3t-8.5 2q15-5-1-11-10-4-16-3 9-4 7.5-12t-8.5-14h5q-1-4-8.5-8.5T1002 438t-13-6q-8-5-34-9.5t-33-.5q-5 6-4.5 10.5t4 14T925 459q1 6-5.5 13t-6.5 12q0 7 14 15.5t10 21.5q-3 8-16 16t-16 12q-5 8-1.5 18.5T914 584q2 2 1.5 4t-3.5 4.5-5.5 4-6.5 3.5l-3 2q-11 5-20.5-6T863 570q-7-25-16-30-23-8-29 1-5-13-41-26-25-9-58-4 6-1 0-15-7-15-19-12 3-6 4-17.5t1-13.5q3-13 12-23 1-1 7-8.5t9.5-13.5.5-6q35 4 50-11 5-5 11.5-17t10.5-17q9-6 14-5.5t14.5 5.5 14.5 5q14 1 15.5-11t-7.5-20q12 1 3-17-4-7-8-9-12-4-27 5-8 4 2 8-1-1-9.5 10.5T801 346t-16-5q-1-1-5.5-13.5T770 314q-8 0-16 15 3-8-11-15t-24-8q19-12-8-27-7-4-20.5-5t-19.5 4q-5 7-5.5 11.5t5 8T681 303t11.5 4 8.5 3q14 10 8 14-2 1-8.5 3.5T689 332t-6 4q-3 4 0 14t-2 14q-5-5-9-17.5t-7-16.5q7 9-25 6l-10-1q-4 0-16 2t-20.5 1-13.5-8q-4-8 0-20 1-4 4-2-4-3-11-9.5t-10-8.5q-46 15-94 41 6 1 12-1 5-2 13-6.5t10-5.5q34-14 42-7l5-5q14 16 20 25-7-4-30-1-20 6-22 12 7 12 5 18-4-3-11.5-10T498 339t-15-5q-16 0-22 1-146 80-235 222 7 7 12 8 4 1 5 9t2.5 11 11.5-3q9 8 3 19 1-1 44 27 19 17 21 21 3 11-10 18-1-2-9-9t-9-4q-3 5 .5 18.5T308 685q-7 0-9.5 16t-2.5 35.5-1 23.5l2 1q-3 12 5.5 34.5T324 815q-13 3 20 43 6 8 8 9 3 2 12 7.5t15 10 10 10.5q4 5 10 22.5t14 23.5q-2 6 9.5 20t10.5 23q-1 0-2.5 1t-2.5 1q3 7 15.5 14t15.5 13q1 3 2 10t3 11 8 2q2-20-24-62-15-25-17-29-3-5-5.5-15.5T421 915q2 0 6 1.5t8.5 3.5 7.5 4 2 3q-3 7 2 17.5t12 18.5 17 19 12 13q6 6 14 19.5t0 13.5q9 0 20 10.5t17 19.5q5 8 8 26t5 24q2 7 8.5 13.5t12.5 9.5l16 8 13 7q5 2 18.5 10.5T642 1168q10 4 16 4t14.5-2.5 13.5-3.5q15-2 29 15t21 21q36 19 55 11-2 1 .5 7.5t8 15.5 9 14.5 5.5 8.5q5 6 18 15t18 15q6-4 7-9-3 8 7 20t18 10q14-3 14-32-31 15-49-18 0-1-2.5-5.5t-4-8.5-2.5-8.5 0-7.5 5-3q9 0 10-3.5t-2-12.5-4-13q-1-8-11-20t-12-15q-5 9-16 8t-16-9q0 1-1.5 5.5t-1.5 6.5q-13 0-15-1 1-3 2.5-17.5t3.5-22.5q1-4 5.5-12t7.5-14.5 4-12.5-4.5-9.5-17.5-2.5q-19 1-26 20-1 3-3 10.5t-5 11.5-9 7q-7 3-24 2t-24-5q-13-8-22.5-29t-9.5-37q0-10 2.5-26.5t3-25T652 986q3-2 9-9.5t10-10.5q2-1 4.5-1.5t4.5 0 4-1.5 3-6q-1-1-4-3-3-3-4-3 7 3 28.5-1.5T735 951q15 11 22-2 0-1-2.5-9.5T754 926q5 27 29 9 3 3 15.5 5t17.5 5q3 2 7 5.5t5.5 4.5 5-.5 8.5-6.5q10 14 12 24 11 40 19 44 7 3 11 2t4.5-9.5 0-14T887 982l-1-8v-18l-1-8q-15-3-18.5-12t1.5-18.5 15-18.5q1-1 8-3.5t15.5-6.5 12.5-8q21-19 15-35 7 0 11-9-1 0-5-3t-7.5-5-4.5-2q9-5 2-16 5-3 7.5-11t7.5-10q9 12 21 2 8-8 1-16 5-7 20.5-10.5t18.5-9.5q7 2 8-2t1-12 3-12q4-5 15-9t13-5l17-11q3-4 0-4 18 2 31-11 10-11-6-20 3-6-3-9.5t-15-5.5q3-1 11.5-.5t10.5-1.5q15-10-7-16-17-5-43 12zm-163 877q206-36 351-189-3-3-12.5-4.5t-12.5-3.5q-18-7-24-8 1-7-2.5-13t-8-9-12.5-8-11-7q-2-2-7-6t-7-5.5-7.5-4.5-8.5-2-10 1l-3 1q-3 1-5.5 2.5t-5.5 3-4 3 0 2.5q-21-17-36-22-5-1-11-5.5t-10.5-7-10-1.5-11.5 7q-5 5-6 15t-2 13q-7-5 0-17.5t2-18.5q-3-6-10.5-4.5t-12 4.5-11.5 8.5-9 6.5-8.5 5.5-8.5 7.5q-3 4-6 12t-5 11q-2-4-11.5-6.5t-9.5-5.5q2 10 4 35t5 38q7 31-12 48-27 25-29 40-4 22 12 26 0 7-8 20.5t-7 21.5q0 6 2 16z\"/></svg>"},{"name":"font-awesome/wrench","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"wrench\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M384 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm644-420l-682 682q-37 37-90 37-52 0-91-37L59 1626q-38-36-38-90 0-53 38-91l681-681q39 98 114.5 173.5T1028 1052zm634-435q0 39-23 106-47 134-164.5 217.5T1216 1024q-185 0-316.5-131.5T768 576t131.5-316.5T1216 128q58 0 121.5 16.5T1445 191q16 11 16 28t-16 28l-293 169v224l193 107q5-3 79-48.5t135.5-81T1630 582q15 0 23.5 10t8.5 25z\"/></svg>"},{"name":"font-awesome/tasks","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tasks\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1024 1408h640v-128h-640v128zM640 896h1024V768H640v128zm640-512h384V256h-384v128zm512 832v256q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-256q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-512v256q0 26-19 45t-45 19H64q-26 0-45-19T0 960V704q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-512v256q0 26-19 45t-45 19H64q-26 0-45-19T0 448V192q0-26 19-45t45-19h1664q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/filter","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"filter\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1403 295q17 41-14 70L896 858v742q0 42-39 59-13 5-25 5-27 0-45-19l-256-256q-19-19-19-45V858L19 365q-31-29-14-70 17-39 59-39h1280q42 0 59 39z\"/></svg>"},{"name":"font-awesome/briefcase","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"briefcase\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M640 256h512V128H640v128zm1152 640v480q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V896h672v160q0 26 19 45t45 19h320q26 0 45-19t19-45V896h672zm-768 0v128H768V896h256zm768-480v384H0V416q0-66 47-113t113-47h352V96q0-40 28-68t68-28h576q40 0 68 28t28 68v160h352q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/arrows-alt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrows-alt\" viewBox=\"0 0 1567.1139 1896.0833\"><path d=\"M1283 541L928 896l355 355 144-144q29-31 70-14 39 17 39 59v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l144-144-355-355-355 355 144 144q31 30 14 69-17 40-59 40H64q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l144 144 355-355-355-355-144 144q-19 19-45 19-12 0-24-5-40-17-40-59V192q0-26 19-45t45-19h448q42 0 59 40 17 39-14 69L413 381l355 355 355-355-144-144q-31-30-14-69 17-40 59-40h448q26 0 45 19t19 45v448q0 42-39 59-13 5-25 5-26 0-45-19z\"/></svg>"},{"name":"font-awesome/group","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"group\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M593 896q-162 5-265 128H194q-82 0-138-40.5T0 865q0-353 124-353 6 0 43.5 21t97.5 42.5T384 597q67 0 133-23-5 37-5 66 0 139 81 256zm1071 637q0 120-73 189.5t-194 69.5H523q-121 0-194-69.5T256 1533q0-53 3.5-103.5t14-109T300 1212t43-97.5 62-81 85.5-53.5T602 960q10 0 43 21.5t73 48 107 48 135 21.5 135-21.5 107-48 73-48 43-21.5q61 0 111.5 20t85.5 53.5 62 81 43 97.5 26.5 108.5 14 109 3.5 103.5zM640 256q0 106-75 181t-181 75-181-75-75-181 75-181T384 0t181 75 75 181zm704 384q0 159-112.5 271.5T960 1024 688.5 911.5 576 640t112.5-271.5T960 256t271.5 112.5T1344 640zm576 225q0 78-56 118.5t-138 40.5h-134q-103-123-265-128 81-117 81-256 0-29-5-66 66 23 133 23 59 0 119-21.5t97.5-42.5 43.5-21q124 0 124 353zm-128-609q0 106-75 181t-181 75-181-75-75-181 75-181 181-75 181 75 75 181z\"/></svg>"},{"name":"font-awesome/users","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"users\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M593 896q-162 5-265 128H194q-82 0-138-40.5T0 865q0-353 124-353 6 0 43.5 21t97.5 42.5T384 597q67 0 133-23-5 37-5 66 0 139 81 256zm1071 637q0 120-73 189.5t-194 69.5H523q-121 0-194-69.5T256 1533q0-53 3.5-103.5t14-109T300 1212t43-97.5 62-81 85.5-53.5T602 960q10 0 43 21.5t73 48 107 48 135 21.5 135-21.5 107-48 73-48 43-21.5q61 0 111.5 20t85.5 53.5 62 81 43 97.5 26.5 108.5 14 109 3.5 103.5zM640 256q0 106-75 181t-181 75-181-75-75-181 75-181T384 0t181 75 75 181zm704 384q0 159-112.5 271.5T960 1024 688.5 911.5 576 640t112.5-271.5T960 256t271.5 112.5T1344 640zm576 225q0 78-56 118.5t-138 40.5h-134q-103-123-265-128 81-117 81-256 0-29-5-66 66 23 133 23 59 0 119-21.5t97.5-42.5 43.5-21q124 0 124 353zm-128-609q0 106-75 181t-181 75-181-75-75-181 75-181 181-75 181 75 75 181z\"/></svg>"},{"name":"font-awesome/chain","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chain\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1456 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zM753 511q0-40-28-68L519 236q-28-28-68-28-39 0-68 27L236 381q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5T543.5 680t-15-19-13-25.5T512 608q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84L100 652q-84-84-84-204t85-203L248 99q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z\"/></svg>"},{"name":"font-awesome/link","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"link\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1456 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zM753 511q0-40-28-68L519 236q-28-28-68-28-39 0-68 27L236 381q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5T543.5 680t-15-19-13-25.5T512 608q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84L100 652q-84-84-84-204t85-203L248 99q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z\"/></svg>"},{"name":"font-awesome/cloud","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cloud\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1920 1152q0 159-112.5 271.5T1536 1536H448q-185 0-316.5-131.5T0 1088q0-132 71-241.5T258 683q-2-28-2-43 0-212 150-362t362-150q158 0 286.5 88T1242 446q70-62 166-62 106 0 181 75t75 181q0 75-41 138 129 30 213 134.5t84 239.5z\"/></svg>"},{"name":"font-awesome/flask","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"flask\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1527 1448q56 89 21.5 152.5T1408 1664H256q-106 0-140.5-63.5T137 1448l503-793V256h-64q-26 0-45-19t-19-45 19-45 45-19h512q26 0 45 19t19 45-19 45-45 19h-64v399zM748 723l-272 429h712L916 723l-20-31V256H768v436z\"/></svg>"},{"name":"font-awesome/cut","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cut\" viewBox=\"0 0 1792.0024 1896.0833\"><path d=\"M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5T579 1580q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124T1 541q-5-59 15.5-113T80 335q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zM579 700q46-42 21-108T494 475q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z\"/></svg>"},{"name":"font-awesome/scissors","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"scissors\" viewBox=\"0 0 1792.0024 1896.0833\"><path d=\"M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5T579 1580q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124T1 541q-5-59 15.5-113T80 335q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zM579 700q46-42 21-108T494 475q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z\"/></svg>"},{"name":"font-awesome/copy","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"copy\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1696 384q40 0 68 28t28 68v1216q0 40-28 68t-68 28H736q-40 0-68-28t-28-68v-288H96q-40 0-68-28t-28-68V640q0-40 20-88t48-76L476 68q28-28 76-48t88-20h416q40 0 68 28t28 68v328q68-40 128-40h416zm-544 213L853 896h299V597zM512 213L213 512h299V213zm196 647l316-316V128H640v416q0 40-28 68t-68 28H128v640h512v-256q0-40 20-88t48-76zm956 804V512h-384v416q0 40-28 68t-68 28H768v640h896z\"/></svg>"},{"name":"font-awesome/files-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"files-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1696 384q40 0 68 28t28 68v1216q0 40-28 68t-68 28H736q-40 0-68-28t-28-68v-288H96q-40 0-68-28t-28-68V640q0-40 20-88t48-76L476 68q28-28 76-48t88-20h416q40 0 68 28t28 68v328q68-40 128-40h416zm-544 213L853 896h299V597zM512 213L213 512h299V213zm196 647l316-316V128H640v416q0 40-28 68t-68 28H128v640h512v-256q0-40 20-88t48-76zm956 804V512h-384v416q0 40-28 68t-68 28H768v640h896z\"/></svg>"},{"name":"font-awesome/paperclip","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"paperclip\" viewBox=\"0 0 1416.5353 1896.0833\"><path d=\"M1404 1385q0 117-79 196t-196 79q-135 0-235-100L117 784Q4 669 4 513q0-159 110-270t269-111q158 0 273 113l605 606q10 10 10 22 0 16-30.5 46.5T1194 950q-13 0-23-10L565 333q-79-77-181-77-106 0-179 75t-73 181q0 105 76 181l776 777q63 63 145 63 64 0 106-42t42-106q0-82-63-145L633 659q-26-24-60-24-29 0-48 19t-19 48q0 32 25 59l410 410q10 10 10 22 0 16-31 47t-47 31q-12 0-22-10L441 851q-63-61-63-149 0-82 57-139t139-57q88 0 149 63l581 581q100 98 100 235z\"/></svg>"},{"name":"font-awesome/save","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"save\" viewBox=\"0 0 1555.4077 1896.0833\"><path d=\"M384 1536h768v-384H384v384zm896 0h128V640q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28H352q-40 0-68-28t-28-68V256H128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zM896 608V288q0-13-9.5-22.5T864 256H672q-13 0-22.5 9.5T640 288v320q0 13 9.5 22.5T672 640h192q13 0 22.5-9.5T896 608zm640 32v928q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V224q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z\"/></svg>"},{"name":"font-awesome/floppy-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"floppy-o\" viewBox=\"0 0 1555.4077 1896.0833\"><path d=\"M384 1536h768v-384H384v384zm896 0h128V640q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28H352q-40 0-68-28t-28-68V256H128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zM896 608V288q0-13-9.5-22.5T864 256H672q-13 0-22.5 9.5T640 288v320q0 13 9.5 22.5T672 640h192q13 0 22.5-9.5T896 608zm640 32v928q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V224q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z\"/></svg>"},{"name":"font-awesome/square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 416v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/navicon","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"navicon\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 1344v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19H64q-26 0-45-19T0 960V832q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19H64q-26 0-45-19T0 448V320q0-26 19-45t45-19h1408q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/reorder","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"reorder\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 1344v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19H64q-26 0-45-19T0 960V832q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19H64q-26 0-45-19T0 448V320q0-26 19-45t45-19h1408q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/bars","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bars\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 1344v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19H64q-26 0-45-19T0 960V832q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19H64q-26 0-45-19T0 448V320q0-26 19-45t45-19h1408q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/list-ul","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"list-ul\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z\"/></svg>"},{"name":"font-awesome/list-ol","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"list-ol\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M381 1620q0 80-54.5 126T191 1792q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5T254 1626q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53H32v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159H21q-6-36-6-54 0-51 23.5-93T95 937t66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5T187 749q-46 0-81 58l-85-59q24-51 71.5-79.5T198 640q73 0 123 41.5T371 794q0 50-34 91.5T262 950t-75.5 50.5T151 1053h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zM384 413v99H49v-99h107q0-41 .5-121.5T157 170v-12h-2q-8 17-50 54l-71-76L170 9h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z\"/></svg>"},{"name":"font-awesome/strikethrough","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"strikethrough\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zM483 832q-28-35-51-80-48-98-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52H483zm507 256h411q7 39 7 92 0 111-41 212-23 56-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z\"/></svg>"},{"name":"font-awesome/underline","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"underline\" viewBox=\"0 0 1585.2479 1896.0833\"><path d=\"M48 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5T1244 396l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237V475q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9H32q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z\"/></svg>"},{"name":"font-awesome/table","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"table\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M512 1376v-192q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384V800q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zM512 608V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384V800q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768V416q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384V800q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384V416q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V288q0-66 47-113t113-47h1344q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/magic","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"magic\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1190 581l293-293-107-107-293 293zm447-293q0 27-18 45L333 1619q-18 18-45 18t-45-18L45 1421q-18-18-18-45t18-45L1331 45q18-18 45-18t45 18l198 198q18 18 18 45zM286 98l98 30-98 30-30 98-30-98-98-30 98-30 30-98zm350 162l196 60-196 60-60 196-60-196-196-60 196-60 60-196zm930 478l98 30-98 30-30 98-30-98-98-30 98-30 30-98zM926 98l98 30-98 30-30 98-30-98-98-30 98-30 30-98z\"/></svg>"},{"name":"font-awesome/truck","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"truck\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M640 1408q0-52-38-90t-90-38-90 38-38 90 38 90 90 38 90-38 38-90zM256 896h384V640H482q-13 0-22 9L265 844q-9 9-9 22v30zm1280 512q0-52-38-90t-90-38-90 38-38 90 38 90 90 38 90-38 38-90zm256-1088v1024q0 15-4 26.5t-13.5 18.5-16.5 11.5-23.5 6-22.5 2-25.5 0-22.5-.5q0 106-75 181t-181 75-181-75-75-181H768q0 106-75 181t-181 75-181-75-75-181h-64q-3 0-22.5.5t-25.5 0-22.5-2-23.5-6-16.5-11.5-13.5-18.5-4-26.5q0-26 19-45t45-19V960q0-8-.5-35t0-38 2.5-34.5 6.5-37 14-30.5 22.5-30l198-198q19-19 50.5-32t58.5-13h160V320q0-26 19-45t45-19h1024q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/pinterest","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pinterest\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 896q0 209-103 385.5T1153.5 1561 768 1664q-111 0-218-32 59-93 78-164 9-34 54-211 20 39 73 67.5t114 28.5q121 0 216-68.5t147-188.5 52-270q0-114-59.5-214T1052 449t-255-63q-105 0-196 29t-154.5 77-109 110.5-67 129.5T249 866q0 104 40 183t117 111q30 12 38-20 2-7 8-31t8-30q6-23-11-43-51-61-51-151 0-151 104.5-259.5T776 517q151 0 235.5 82t84.5 213q0 170-68.5 289T852 1220q-61 0-98-43.5T731 1072q8-35 26.5-93.5t30-103T799 800q0-50-27-83t-77-33q-62 0-105 57t-43 142q0 73 25 122l-99 418q-17 70-13 177-206-91-333-281T0 896q0-209 103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/pinterest-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pinterest-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1248 128q119 0 203.5 84.5T1536 416v960q0 119-84.5 203.5T1248 1664H523q85-122 108-210 9-34 53-209 21 39 73.5 67t112.5 28q181 0 295.5-147.5T1280 819q0-84-35-162.5t-96.5-139-152.5-97T799 384q-104 0-194.5 28.5t-153 76.5T344 598.5t-66.5 128T256 859q0 102 39.5 180T412 1149q13 5 23.5 0t14.5-19q10-44 15-61 6-23-11-42-50-62-50-150 0-150 103.5-256.5T778 514q149 0 232.5 81t83.5 210q0 168-67.5 286T853 1209q-60 0-97-43.5T733 1062q8-34 26.5-92.5t29.5-102 11-74.5q0-49-26.5-81.5T698 679q-61 0-103.5 56.5T552 875q0 72 24 121l-98 414q-24 100-7 254H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960z\"/></svg>"},{"name":"font-awesome/google-plus-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"google-plus-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M917 905q0-26-6-64H549v132h217q-3 24-16.5 50t-37.5 53-66.5 44.5T549 1138q-99 0-169-71t-70-171 70-171 169-71q92 0 153 59l104-101Q698 512 549 512q-160 0-272 112.5T165 896t112 271.5T549 1280q165 0 266.5-105T917 905zm345 46h109V841h-109V731h-110v110h-110v110h110v110h110V951zm274-535v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/google-plus","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"google-plus\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1437 913q0 208-87 370.5t-248 254-369 91.5q-149 0-285-58t-234-156-156-234T0 896t58-285 156-234 234-156 285-58q286 0 491 192l-199 191Q908 433 733 433q-123 0-227.5 62T340 663.5 279 896t61 232.5T505.5 1297t227.5 62q83 0 152.5-23t114.5-57.5 78.5-78.5 49-83 21.5-74H733V791h692q12 63 12 122zm867-122v210h-209v209h-210v-209h-209V791h209V582h210v209h209z\"/></svg>"},{"name":"font-awesome/money","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"money\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M768 1152h384v-96h-128V608H910L762 745l77 80q42-37 55-57h2v288H768v96zm512-256q0 70-21 142t-59.5 134-101.5 101-138 39-138-39-101.5-101-59.5-134-21-142 21-142 59.5-134T822 519t138-39 138 39 101.5 101 59.5 134 21 142zm512 256V640q-106 0-181-75t-75-181H384q0 106-75 181t-181 75v512q106 0 181 75t75 181h1152q0-106 75-181t181-75zm128-832v1152q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V320q0-26 19-45t45-19h1792q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/caret-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"caret-down\" viewBox=\"0 0 1024 1896.0833\"><path d=\"M1024 704q0 26-19 45l-448 448q-19 19-45 19t-45-19L19 749Q0 730 0 704t19-45 45-19h896q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/caret-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"caret-up\" viewBox=\"0 0 1111.653 1896.0833\"><path d=\"M1024 1216q0 26-19 45t-45 19H64q-26 0-45-19t-19-45 19-45l448-448q19-19 45-19t45 19l448 448q19 19 19 45z\"/></svg>"},{"name":"font-awesome/caret-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"caret-left\" viewBox=\"0 0 955.0362 1896.0833\"><path d=\"M640 448v896q0 26-19 45t-45 19-45-19L83 941q-19-19-19-45t19-45l448-448q19-19 45-19t45 19 19 45z\"/></svg>"},{"name":"font-awesome/caret-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"caret-right\" viewBox=\"0 0 720.451 1896.0833\"><path d=\"M576 896q0 26-19 45l-448 448q-19 19-45 19t-45-19-19-45V448q0-26 19-45t45-19 45 19l448 448q19 19 19 45z\"/></svg>"},{"name":"font-awesome/columns","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"columns\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M160 1536h608V384H128v1120q0 13 9.5 22.5t22.5 9.5zm1376-32V384H896v1152h608q13 0 22.5-9.5t9.5-22.5zm128-1216v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1344q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/unsorted","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"unsorted\" viewBox=\"0 0 1055.1139 1896.0833\"><path d=\"M1024 1088q0 26-19 45l-448 448q-19 19-45 19t-45-19L19 1133q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45zm0-384q0 26-19 45t-45 19H64q-26 0-45-19T0 704t19-45l448-448q19-19 45-19t45 19l448 448q19 19 19 45z\"/></svg>"},{"name":"font-awesome/sort","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort\" viewBox=\"0 0 1055.1139 1896.0833\"><path d=\"M1024 1088q0 26-19 45l-448 448q-19 19-45 19t-45-19L19 1133q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45zm0-384q0 26-19 45t-45 19H64q-26 0-45-19T0 704t19-45l448-448q19-19 45-19t45 19l448 448q19 19 19 45z\"/></svg>"},{"name":"font-awesome/sort-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort-down\" viewBox=\"0 0 1055.1139 1896.0833\"><path d=\"M1024 1088q0 26-19 45l-448 448q-19 19-45 19t-45-19L19 1133q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/sort-desc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort-desc\" viewBox=\"0 0 1055.1139 1896.0833\"><path d=\"M1024 1088q0 26-19 45l-448 448q-19 19-45 19t-45-19L19 1133q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/sort-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort-up\" viewBox=\"0 0 1024 1896.0833\"><path d=\"M1024 704q0 26-19 45t-45 19H64q-26 0-45-19T0 704t19-45l448-448q19-19 45-19t45 19l448 448q19 19 19 45z\"/></svg>"},{"name":"font-awesome/sort-asc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort-asc\" viewBox=\"0 0 1024 1896.0833\"><path d=\"M1024 704q0 26-19 45t-45 19H64q-26 0-45-19T0 704t19-45l448-448q19-19 45-19t45 19l448 448q19 19 19 45z\"/></svg>"},{"name":"font-awesome/envelope","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"envelope\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 710v794q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V710q44 49 101 87 362 246 497 345 57 42 92.5 65.5t94.5 48 110 24.5h2q51 0 110-24.5t94.5-48 92.5-65.5q170-123 498-345 57-39 100-87zm0-294q0 79-49 151t-122 123q-376 261-468 325-10 7-42.5 30.5t-54 38-52 32.5-57.5 27-50 9h-2q-23 0-50-9t-57.5-27-52-32.5-54-38T639 1015q-91-64-262-182.5T172 690q-62-42-117-115.5T0 438q0-78 41.5-130T160 256h1472q65 0 112.5 47t47.5 113z\"/></svg>"},{"name":"font-awesome/linkedin","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"linkedin\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M349 625v991H19V625h330zm21-306q1 73-50.5 122T184 490h-2q-82 0-132-49T0 319q0-74 51.5-122.5T186 148t133 48.5T370 319zm1166 729v568h-329v-530q0-105-40.5-164.5T1040 862q-63 0-105.5 34.5T871 982q-11 30-11 81v553H531q2-399 2-647t-1-296l-1-48h329v144h-2q20-32 41-56t56.5-52 87-43.5T1157 602q171 0 275 113.5t104 332.5z\"/></svg>"},{"name":"font-awesome/rotate-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"rotate-left\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5T177 1387q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5T1130 1258t109.5-163.5T1280 896t-40.5-198.5T1130 534 966.5 424.5 768 384q-98 0-188 35.5T420 521l137 138q31 30 14 69-17 40-59 40H64q-26 0-45-19T0 704V256q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5T768 128q156 0 298 61t245 164 164 245 61 298z\"/></svg>"},{"name":"font-awesome/undo","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"undo\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5T177 1387q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5T1130 1258t109.5-163.5T1280 896t-40.5-198.5T1130 534 966.5 424.5 768 384q-98 0-188 35.5T420 521l137 138q31 30 14 69-17 40-59 40H64q-26 0-45-19T0 704V256q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5T768 128q156 0 298 61t245 164 164 245 61 298z\"/></svg>"},{"name":"font-awesome/legal","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"legal\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1771 1536q0 53-37 90l-107 108q-39 37-91 37-53 0-90-37l-363-364q-38-36-38-90 0-53 43-96L832 928l-126 126q-14 14-34 14t-34-14q2 2 12.5 12t12.5 13 10 11.5 10 13.5 6 13.5 5.5 16.5 1.5 18q0 38-28 68-3 3-16.5 18t-19 20.5T614 1275t-22 15.5-22 9-26 4.5q-40 0-68-28L68 868q-28-28-28-68 0-13 4.5-26t9-22T69 730t16.5-18.5 20.5-19 18-16.5q30-28 68-28 10 0 18 1.5t16.5 5.5 13.5 6 13.5 10 11.5 10 13 12.5 12 12.5q-14-14-14-34t14-34l348-348q14-14 34-14t34 14q-2-2-12.5-12T681 265t-10-11.5-10-13.5-6-13.5-5.5-16.5-1.5-18q0-38 28-68 3-3 16.5-18t19-20.5T730 69t22-15.5 22-9 26-4.5q40 0 68 28l408 408q28 28 28 68 0 13-4.5 26t-9 22-15.5 22-16.5 18.5-20.5 19-18 16.5q-30 28-68 28-10 0-18-1.5t-16.5-5.5-13.5-6-13.5-10-11.5-10-13-12.5-12-12.5q14 14 14 34t-14 34L928 832l256 256q43-43 96-43 52 0 91 37l363 363q37 39 37 91z\"/></svg>"},{"name":"font-awesome/gavel","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gavel\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1771 1536q0 53-37 90l-107 108q-39 37-91 37-53 0-90-37l-363-364q-38-36-38-90 0-53 43-96L832 928l-126 126q-14 14-34 14t-34-14q2 2 12.5 12t12.5 13 10 11.5 10 13.5 6 13.5 5.5 16.5 1.5 18q0 38-28 68-3 3-16.5 18t-19 20.5T614 1275t-22 15.5-22 9-26 4.5q-40 0-68-28L68 868q-28-28-28-68 0-13 4.5-26t9-22T69 730t16.5-18.5 20.5-19 18-16.5q30-28 68-28 10 0 18 1.5t16.5 5.5 13.5 6 13.5 10 11.5 10 13 12.5 12 12.5q-14-14-14-34t14-34l348-348q14-14 34-14t34 14q-2-2-12.5-12T681 265t-10-11.5-10-13.5-6-13.5-5.5-16.5-1.5-18q0-38 28-68 3-3 16.5-18t19-20.5T730 69t22-15.5 22-9 26-4.5q40 0 68 28l408 408q28 28 28 68 0 13-4.5 26t-9 22-15.5 22-16.5 18.5-20.5 19-18 16.5q-30 28-68 28-10 0-18-1.5t-16.5-5.5-13.5-6-13.5-10-11.5-10-13-12.5-12-12.5q14 14 14 34t-14 34L928 832l256 256q43-43 96-43 52 0 91 37l363 363q37 39 37 91z\"/></svg>"},{"name":"font-awesome/dashboard","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"dashboard\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M384 1152q0-53-37.5-90.5T256 1024t-90.5 37.5T128 1152t37.5 90.5T256 1280t90.5-37.5T384 1152zm192-448q0-53-37.5-90.5T448 576t-90.5 37.5T320 704t37.5 90.5T448 832t90.5-37.5T576 704zm428 481l101-382q6-26-7.5-48.5T1059 725t-48 6.5-30 39.5l-101 382q-60 5-107 43.5t-63 98.5q-20 77 20 146t117 89 146-20 89-117q16-60-6-117t-72-91zm660-33q0-53-37.5-90.5T1536 1024t-90.5 37.5-37.5 90.5 37.5 90.5 90.5 37.5 90.5-37.5 37.5-90.5zm-640-640q0-53-37.5-90.5T896 384t-90.5 37.5T768 512t37.5 90.5T896 640t90.5-37.5T1024 512zm448 192q0-53-37.5-90.5T1344 576t-90.5 37.5T1216 704t37.5 90.5T1344 832t90.5-37.5T1472 704zm320 448q0 261-141 483-19 29-54 29H195q-35 0-54-29Q0 1414 0 1152q0-182 71-348t191-286 286-191 348-71 348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/tachometer","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tachometer\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M384 1152q0-53-37.5-90.5T256 1024t-90.5 37.5T128 1152t37.5 90.5T256 1280t90.5-37.5T384 1152zm192-448q0-53-37.5-90.5T448 576t-90.5 37.5T320 704t37.5 90.5T448 832t90.5-37.5T576 704zm428 481l101-382q6-26-7.5-48.5T1059 725t-48 6.5-30 39.5l-101 382q-60 5-107 43.5t-63 98.5q-20 77 20 146t117 89 146-20 89-117q16-60-6-117t-72-91zm660-33q0-53-37.5-90.5T1536 1024t-90.5 37.5-37.5 90.5 37.5 90.5 90.5 37.5 90.5-37.5 37.5-90.5zm-640-640q0-53-37.5-90.5T896 384t-90.5 37.5T768 512t37.5 90.5T896 640t90.5-37.5T1024 512zm448 192q0-53-37.5-90.5T1344 576t-90.5 37.5T1216 704t37.5 90.5T1344 832t90.5-37.5T1472 704zm320 448q0 261-141 483-19 29-54 29H195q-35 0-54-29Q0 1414 0 1152q0-182 71-348t191-286 286-191 348-71 348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/comment-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"comment-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 384q-204 0-381.5 69.5T232.5 641 128 896q0 112 71.5 213.5T401 1285l87 50-27 96q-24 91-70 172 152-63 275-171l43-38 57 6q69 8 130 8 204 0 381.5-69.5t282-187.5T1664 896t-104.5-255-282-187.5T896 384zm896 512q0 174-120 321.5t-326 233-450 85.5q-70 0-145-8-198 175-460 242-49 14-114 22h-5q-15 0-27-10.5t-16-27.5v-1q-3-4-.5-12t2-10 4.5-9.5l6-9 7-8.5 8-9q7-8 31-34.5t34.5-38 31-39.5 32.5-51 27-59 26-76q-157-89-247.5-220T0 896q0-174 120-321.5t326-233T896 256t450 85.5 326 233T1792 896z\"/></svg>"},{"name":"font-awesome/comments-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"comments-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M704 384q-153 0-286 52T206.5 577 128 768q0 82 53 158t149 132l97 56-35 84q34-20 62-39l44-31 53 10q78 14 153 14 153 0 286-52t211.5-141 78.5-191-78.5-191T990 436t-286-52zm0-128q191 0 353.5 68.5T1314 511t94 257-94 257-256.5 186.5T704 1280q-86 0-176-16-124 88-278 128-36 9-86 16h-3q-11 0-20.5-8t-11.5-21q-1-3-1-6.5t.5-6.5 2-6l2.5-5 3.5-5.5 4-5 4.5-5 4-4.5q5-6 23-25t26-29.5 22.5-29 25-38.5 20.5-44q-124-72-195-177T0 768q0-139 94-257t256.5-186.5T704 256zm822 1169q10 24 20.5 44t25 38.5 22.5 29 26 29.5 23 25q1 1 4 4.5t4.5 5 4 5 3.5 5.5l2.5 5 2 6 .5 6.5-1 6.5q-3 14-13 22t-22 7q-50-7-86-16-154-40-278-128-90 16-176 16-271 0-472-132 58 4 88 4 161 0 309-45t264-129q125-92 192-212t67-254q0-77-23-152 129 71 204 178t75 230q0 120-71 224.5T1526 1425z\"/></svg>"},{"name":"font-awesome/flash","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"flash\" viewBox=\"0 0 974.0545 1896.0833\"><path d=\"M885 566q18 20 7 44L352 1767q-13 25-42 25-4 0-14-2-17-5-25.5-19t-4.5-30l197-808-406 101q-4 1-12 1-18 0-31-11-18-15-13-39l201-825q4-14 16-23t28-9h328q19 0 32 12.5t13 29.5q0 8-5 18L443 651l396-98q8-2 12-2 19 0 34 15z\"/></svg>"},{"name":"font-awesome/bolt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bolt\" viewBox=\"0 0 974.0545 1896.0833\"><path d=\"M885 566q18 20 7 44L352 1767q-13 25-42 25-4 0-14-2-17-5-25.5-19t-4.5-30l197-808-406 101q-4 1-12 1-18 0-31-11-18-15-13-39l201-825q4-14 16-23t28-9h328q19 0 32 12.5t13 29.5q0 8-5 18L443 651l396-98q8-2 12-2 19 0 34 15z\"/></svg>"},{"name":"font-awesome/sitemap","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sitemap\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 1248v320q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h96V960H960v192h96q40 0 68 28t28 68v320q0 40-28 68t-68 28H736q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h96V960H320v192h96q40 0 68 28t28 68v320q0 40-28 68t-68 28H96q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h96V960q0-52 38-90t90-38h512V640h-96q-40 0-68-28t-28-68V224q0-40 28-68t68-28h320q40 0 68 28t28 68v320q0 40-28 68t-68 28h-96v192h512q52 0 90 38t38 90v192h96q40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/umbrella","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"umbrella\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M896 828v580q0 104-76 180t-180 76-180-76-76-180q0-26 19-45t45-19 45 19 19 45q0 50 39 89t89 39 89-39 39-89V828q33-11 64-11t64 11zm768 27q0 13-9.5 22.5T1632 887q-11 0-23-10-49-46-93-69t-102-23q-68 0-128 37t-103 97q-7 10-17.5 28t-14.5 24q-11 17-28 17-18 0-29-17-4-6-14.5-24t-17.5-28q-43-60-102.5-97T832 785t-127.5 37T602 919q-7 10-17.5 28T570 971q-11 17-29 17-17 0-28-17-4-6-14.5-24T481 919q-43-60-103-97t-128-37q-58 0-102 23t-93 69q-12 10-23 10-13 0-22.5-9.5T0 855q0-5 1-7 45-183 172.5-319.5t298-204.5T832 256q140 0 274.5 40T1353 409.5t194.5 187T1663 848q1 2 1 7zM896 128v98q-42-2-64-2t-64 2v-98q0-26 19-45t45-19 45 19 19 45z\"/></svg>"},{"name":"font-awesome/paste","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"paste\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M768 1664h896v-640h-416q-40 0-68-28t-28-68V512H768v1152zm256-1440v-64q0-13-9.5-22.5T992 128H288q-13 0-22.5 9.5T256 160v64q0 13 9.5 22.5T288 256h704q13 0 22.5-9.5t9.5-22.5zm256 672h299l-299-299v299zm512 128v672q0 40-28 68t-68 28H736q-40 0-68-28t-28-68v-160H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h1088q40 0 68 28t28 68v328q21 13 36 28l408 408q28 28 48 76t20 88z\"/></svg>"},{"name":"font-awesome/clipboard","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"clipboard\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M768 1664h896v-640h-416q-40 0-68-28t-28-68V512H768v1152zm256-1440v-64q0-13-9.5-22.5T992 128H288q-13 0-22.5 9.5T256 160v64q0 13 9.5 22.5T288 256h704q13 0 22.5-9.5t9.5-22.5zm256 672h299l-299-299v299zm512 128v672q0 40-28 68t-68 28H736q-40 0-68-28t-28-68v-160H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h1088q40 0 68 28t28 68v328q21 13 36 28l408 408q28 28 48 76t20 88z\"/></svg>"},{"name":"font-awesome/lightbulb-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"lightbulb-o\" viewBox=\"0 0 1085.3815 1896.0833\"><path d=\"M736 576q0 13-9.5 22.5T704 608t-22.5-9.5T672 576q0-46-54-71t-106-25q-13 0-22.5-9.5T480 448t9.5-22.5T512 416q50 0 99.5 16t87 54 37.5 90zm160 0q0-72-34.5-134t-90-101.5-123-62T512 256t-136.5 22.5-123 62-90 101.5T128 576q0 101 68 180 10 11 30.5 33t30.5 33q128 153 141 298h228q13-145 141-298 10-11 30.5-33t30.5-33q68-79 68-180zm128 0q0 155-103 268-45 49-74.5 87t-59.5 95.5-34 107.5q47 28 47 82 0 37-25 64 25 27 25 64 0 52-45 81 13 23 13 47 0 46-31.5 71t-77.5 25q-20 44-60 70t-87 26-87-26-60-70q-46 0-77.5-25t-31.5-71q0-24 13-47-45-29-45-81 0-37 25-64-25-27-25-64 0-54 47-82-4-50-34-107.5T177.5 931 103 844Q0 731 0 576q0-99 44.5-184.5t117-142 164-89T512 128t186.5 32.5 164 89 117 142T1024 576z\"/></svg>"},{"name":"font-awesome/exchange","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"exchange\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 1184v192q0 13-9.5 22.5t-22.5 9.5H384v192q0 13-9.5 22.5T352 1632q-12 0-24-10L9 1302q-9-9-9-22 0-14 9-23l320-320q9-9 23-9 13 0 22.5 9.5T384 960v192h1376q13 0 22.5 9.5t9.5 22.5zm0-544q0 14-9 23l-320 320q-9 9-23 9-13 0-22.5-9.5T1408 960V768H32q-13 0-22.5-9.5T0 736V544q0-13 9.5-22.5T32 512h1376V320q0-14 9-23t23-9q12 0 24 10l319 319q9 9 9 23z\"/></svg>"},{"name":"font-awesome/cloud-download","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cloud-download\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1280 928q0-14-9-23t-23-9h-224V544q0-13-9.5-22.5T992 512H800q-13 0-22.5 9.5T768 544v352H544q-13 0-22.5 9.5T512 928q0 14 9 23l352 352q9 9 23 9t23-9l351-351q10-12 10-24zm640 224q0 159-112.5 271.5T1536 1536H448q-185 0-316.5-131.5T0 1088q0-130 70-240t188-165q-2-30-2-43 0-212 150-362t362-150q156 0 285.5 87T1242 446q71-62 166-62 106 0 181 75t75 181q0 76-41 138 130 31 213.5 135.5T1920 1152z\"/></svg>"},{"name":"font-awesome/cloud-upload","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cloud-upload\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1280 864q0-14-9-23L919 489q-9-9-23-9t-23 9L522 840q-10 12-10 24 0 14 9 23t23 9h224v352q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5V896h224q13 0 22.5-9.5t9.5-22.5zm640 288q0 159-112.5 271.5T1536 1536H448q-185 0-316.5-131.5T0 1088q0-130 70-240t188-165q-2-30-2-43 0-212 150-362t362-150q156 0 285.5 87T1242 446q71-62 166-62 106 0 181 75t75 181q0 76-41 138 130 31 213.5 135.5T1920 1152z\"/></svg>"},{"name":"font-awesome/user-md","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"user-md\" viewBox=\"0 0 1428.0134 1896.0833\"><path d=\"M384 1344q0 26-19 45t-45 19-45-19-19-45 19-45 45-19 45 19 19 45zm1024 61q0 121-73 190t-194 69H267q-121 0-194-69T0 1405q0-68 5.5-131t24-138T77 1003.5t81-103T278 840q-22 52-22 120v203q-58 20-93 70t-35 111q0 80 56 136t136 56 136-56 56-136q0-61-35.5-111t-92.5-70V960q0-62 25-93 132 104 295 104t295-104q25 31 25 93v64q-106 0-181 75t-75 181v89q-32 29-32 71 0 40 28 68t68 28 68-28 28-68q0-42-32-71v-89q0-52 38-90t90-38 90 38 38 90v89q-32 29-32 71 0 40 28 68t68 28 68-28 28-68q0-42-32-71v-89q0-68-34.5-127.5T1152 1059q0-10 .5-42.5t0-48-2.5-41.5-7-47-13-40q68 15 120 60.5t81 103 47.5 132.5 24 138 5.5 131zm-320-893q0 159-112.5 271.5T704 896 432.5 783.5 320 512t112.5-271.5T704 128t271.5 112.5T1088 512z\"/></svg>"},{"name":"font-awesome/stethoscope","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"stethoscope\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1280 704q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0q0 62-35.5 111t-92.5 70v395q0 159-131.5 271.5T832 1664t-316.5-112.5T384 1280v-132q-164-20-274-128T0 768V256q0-26 19-45t45-19q6 0 16 2 17-30 47-48t65-18q53 0 90.5 37.5T320 256t-37.5 90.5T192 384q-33 0-64-18v402q0 106 94 181t226 75 226-75 94-181V366q-31 18-64 18-53 0-90.5-37.5T576 256t37.5-90.5T704 128q35 0 65 18t47 48q10-2 16-2 26 0 45 19t19 45v512q0 144-110 252t-274 128v132q0 106 94 181t226 75 226-75 94-181V885q-57-21-92.5-70T1024 704q0-80 56-136t136-56 136 56 56 136z\"/></svg>"},{"name":"font-awesome/suitcase","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"suitcase\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M640 384h512V256H640v128zm-352 0v1280h-64q-92 0-158-66T0 1440V608q0-92 66-158t158-66h64zm1120 0v1280H384V384h128V224q0-40 28-68t68-28h576q40 0 68 28t28 68v160h128zm384 224v832q0 92-66 158t-158 66h-64V384h64q92 0 158 66t66 158z\"/></svg>"},{"name":"font-awesome/bell-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bell-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M912 1696q0-16-16-16-59 0-101.5-42.5T752 1536q0-16-16-16t-16 16q0 73 51.5 124.5T896 1712q16 0 16-16zm-666-288h1300q-266-300-266-832 0-51-24-105t-69-103-121.5-80.5T896 256t-169.5 31.5T605 368t-69 103-24 105q0 532-266 832zm1482 0q0 52-38 90t-90 38h-448q0 106-75 181t-181 75-181-75-75-181H192q-52 0-90-38t-38-90q50-42 91-88t85-119.5 74.5-158.5 50-206T384 576q0-152 117-282.5T808 135q-8-19-8-39 0-40 28-68t68-28 68 28 28 68q0 20-8 39 190 28 307 158.5T1408 576q0 139 19.5 260t50 206 74.5 158.5 85 119.5 91 88z\"/></svg>"},{"name":"font-awesome/coffee","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"coffee\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1664 640q0-80-56-136t-136-56h-64v384h64q80 0 136-56t56-136zM0 1408h1792q0 106-75 181t-181 75H256q-106 0-181-75T0 1408zm1856-768q0 159-112.5 271.5T1472 1024h-64v32q0 92-66 158t-158 66H480q-92 0-158-66t-66-158V320q0-26 19-45t45-19h1152q159 0 271.5 112.5T1856 640z\"/></svg>"},{"name":"font-awesome/cutlery","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cutlery\" viewBox=\"0 0 1526.6214 1896.0833\"><path d=\"M640 64v640q0 61-35.5 111T512 885v779q0 52-38 90t-90 38H256q-52 0-90-38t-38-90V885q-57-20-92.5-70T0 704V64q0-26 19-45T64 0t45 19 19 45v416q0 26 19 45t45 19 45-19 19-45V64q0-26 19-45t45-19 45 19 19 45v416q0 26 19 45t45 19 45-19 19-45V64q0-26 19-45t45-19 45 19 19 45zm768 0v1600q0 52-38 90t-90 38h-128q-52 0-90-38t-38-90v-512H800q-13 0-22.5-9.5T768 1120V320q0-132 94-226t226-94h256q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/file-text-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-text-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zM384 800q0-14 9-23t23-9h704q14 0 23 9t9 23v64q0 14-9 23t-23 9H416q-14 0-23-9t-9-23v-64zm736 224q14 0 23 9t9 23v64q0 14-9 23t-23 9H416q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704zm0 256q14 0 23 9t9 23v64q0 14-9 23t-23 9H416q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704z\"/></svg>"},{"name":"font-awesome/building-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"building-o\" viewBox=\"0 0 1552.451 1896.0833\"><path d=\"M384 1312v64q0 13-9.5 22.5T352 1408h-64q-13 0-22.5-9.5T256 1376v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zm0-256v64q0 13-9.5 22.5T352 1152h-64q-13 0-22.5-9.5T256 1120v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zm256 0v64q0 13-9.5 22.5T608 1152h-64q-13 0-22.5-9.5T512 1120v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zM384 800v64q0 13-9.5 22.5T352 896h-64q-13 0-22.5-9.5T256 864v-64q0-13 9.5-22.5T288 768h64q13 0 22.5 9.5T384 800zm768 512v64q0 13-9.5 22.5t-22.5 9.5h-64q-13 0-22.5-9.5t-9.5-22.5v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zm-256-256v64q0 13-9.5 22.5T864 1152h-64q-13 0-22.5-9.5T768 1120v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zM640 800v64q0 13-9.5 22.5T608 896h-64q-13 0-22.5-9.5T512 864v-64q0-13 9.5-22.5T544 768h64q13 0 22.5 9.5T640 800zM384 544v64q0 13-9.5 22.5T352 640h-64q-13 0-22.5-9.5T256 608v-64q0-13 9.5-22.5T288 512h64q13 0 22.5 9.5T384 544zm768 512v64q0 13-9.5 22.5t-22.5 9.5h-64q-13 0-22.5-9.5t-9.5-22.5v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zM896 800v64q0 13-9.5 22.5T864 896h-64q-13 0-22.5-9.5T768 864v-64q0-13 9.5-22.5T800 768h64q13 0 22.5 9.5T896 800zM640 544v64q0 13-9.5 22.5T608 640h-64q-13 0-22.5-9.5T512 608v-64q0-13 9.5-22.5T544 512h64q13 0 22.5 9.5T640 544zM384 288v64q0 13-9.5 22.5T352 384h-64q-13 0-22.5-9.5T256 352v-64q0-13 9.5-22.5T288 256h64q13 0 22.5 9.5T384 288zm768 512v64q0 13-9.5 22.5T1120 896h-64q-13 0-22.5-9.5T1024 864v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zM896 544v64q0 13-9.5 22.5T864 640h-64q-13 0-22.5-9.5T768 608v-64q0-13 9.5-22.5T800 512h64q13 0 22.5 9.5T896 544zM640 288v64q0 13-9.5 22.5T608 384h-64q-13 0-22.5-9.5T512 352v-64q0-13 9.5-22.5T544 256h64q13 0 22.5 9.5T640 288zm512 256v64q0 13-9.5 22.5T1120 640h-64q-13 0-22.5-9.5T1024 608v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zM896 288v64q0 13-9.5 22.5T864 384h-64q-13 0-22.5-9.5T768 352v-64q0-13 9.5-22.5T800 256h64q13 0 22.5 9.5T896 288zm256 0v64q0 13-9.5 22.5T1120 384h-64q-13 0-22.5-9.5T1024 352v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zM896 1664h384V128H128v1536h384v-224q0-13 9.5-22.5t22.5-9.5h320q13 0 22.5 9.5t9.5 22.5v224zM1408 64v1664q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V64q0-26 19-45T64 0h1280q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/hospital-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hospital-o\" viewBox=\"0 0 1552.451 1896.0833\"><path d=\"M384 1312v64q0 13-9.5 22.5T352 1408h-64q-13 0-22.5-9.5T256 1376v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zm0-256v64q0 13-9.5 22.5T352 1152h-64q-13 0-22.5-9.5T256 1120v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zm256 0v64q0 13-9.5 22.5T608 1152h-64q-13 0-22.5-9.5T512 1120v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zM384 800v64q0 13-9.5 22.5T352 896h-64q-13 0-22.5-9.5T256 864v-64q0-13 9.5-22.5T288 768h64q13 0 22.5 9.5T384 800zm768 512v64q0 13-9.5 22.5t-22.5 9.5h-64q-13 0-22.5-9.5t-9.5-22.5v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zm-256-256v64q0 13-9.5 22.5T864 1152h-64q-13 0-22.5-9.5T768 1120v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zM640 800v64q0 13-9.5 22.5T608 896h-64q-13 0-22.5-9.5T512 864v-64q0-13 9.5-22.5T544 768h64q13 0 22.5 9.5T640 800zm512 256v64q0 13-9.5 22.5t-22.5 9.5h-64q-13 0-22.5-9.5t-9.5-22.5v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zM896 800v64q0 13-9.5 22.5T864 896h-64q-13 0-22.5-9.5T768 864v-64q0-13 9.5-22.5T800 768h64q13 0 22.5 9.5T896 800zm256 0v64q0 13-9.5 22.5T1120 896h-64q-13 0-22.5-9.5T1024 864v-64q0-13 9.5-22.5t22.5-9.5h64q13 0 22.5 9.5t9.5 22.5zm-256 864h384V512h-256v32q0 40-28 68t-68 28H480q-40 0-68-28t-28-68v-32H128v1152h384v-224q0-13 9.5-22.5t22.5-9.5h320q13 0 22.5 9.5t9.5 22.5v224zm0-1184V160q0-13-9.5-22.5T864 128h-64q-13 0-22.5 9.5T768 160v96H640v-96q0-13-9.5-22.5T608 128h-64q-13 0-22.5 9.5T512 160v320q0 13 9.5 22.5T544 512h64q13 0 22.5-9.5T640 480v-96h128v96q0 13 9.5 22.5T800 512h64q13 0 22.5-9.5T896 480zm512-32v1280q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V448q0-26 19-45t45-19h320V96q0-40 28-68t68-28h448q40 0 68 28t28 68v288h320q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/ambulance","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ambulance\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M640 1408q0-53-37.5-90.5T512 1280t-90.5 37.5T384 1408t37.5 90.5T512 1536t90.5-37.5T640 1408zM256 896h384V640H482q-14 2-22 9L265 844q-7 12-9 22v30zm1280 512q0-53-37.5-90.5T1408 1280t-90.5 37.5-37.5 90.5 37.5 90.5 90.5 37.5 90.5-37.5 37.5-90.5zm128-672V544q0-14-9-23t-23-9h-224V288q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v224H928q-14 0-23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23-9t9-23V768h224q14 0 23-9t9-23zm256-544v1152q0 26-19 45t-45 19h-192q0 106-75 181t-181 75-181-75-75-181H768q0 106-75 181t-181 75-181-75-75-181H128q-26 0-45-19t-19-45 19-45 45-19V864q0-26 13-58t32-51l198-198q19-19 51-32t58-13h160V192q0-26 19-45t45-19h1152q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/medkit","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"medkit\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1280 1120V928q0-14-9-23t-23-9h-224V672q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v224H544q-14 0-23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23-9t9-23v-224h224q14 0 23-9t9-23zM640 384h512V256H640v128zm-384 0v1280h-32q-92 0-158-66T0 1440V608q0-92 66-158t158-66h32zm1184 0v1280H352V384h160V224q0-40 28-68t68-28h576q40 0 68 28t28 68v160h160zm352 224v832q0 92-66 158t-158 66h-32V384h32q92 0 158 66t66 158z\"/></svg>"},{"name":"font-awesome/fighter-jet","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"fighter-jet\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1920 960q-1 32-288 96l-352 32-224 64h-64l-293 352h69q26 0 45 4.5t19 11.5-19 11.5-45 4.5H448v-32h64v-416H352l-192 224H64l-32-32v-192h32v-32h128v-8L0 1024V896l192-24v-8H64v-32H32V640l32-32h96l192 224h160V416h-64v-32h320q26 0 45 4.5t19 11.5-19 11.5-45 4.5h-69l293 352h64l224 64 352 32q128 28 200 52t80 34z\"/></svg>"},{"name":"font-awesome/beer","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"beer\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M640 896V512H384v256q0 53 37.5 90.5T512 896h128zm1024 448v192H512v-192l128-192H512q-159 0-271.5-112.5T128 768V448l-64-64 32-128h480l32-128h960l32 192-64 32v800z\"/></svg>"},{"name":"font-awesome/h-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"h-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 1344V448q0-26-19-45t-45-19h-128q-26 0-45 19t-19 45v320H512V448q0-26-19-45t-45-19H320q-26 0-45 19t-19 45v896q0 26 19 45t45 19h128q26 0 45-19t19-45v-320h512v320q0 26 19 45t45 19h128q26 0 45-19t19-45zm256-928v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/plus-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"plus-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 960V832q0-26-19-45t-45-19H896V448q0-26-19-45t-45-19H704q-26 0-45 19t-19 45v320H320q-26 0-45 19t-19 45v128q0 26 19 45t45 19h320v320q0 26 19 45t45 19h128q26 0 45-19t19-45v-320h320q26 0 45-19t19-45zm256-544v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/angle-double-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"angle-double-left\" viewBox=\"0 0 1174.1503 1896.0833\"><path d=\"M627 1376q0 13-10 23l-50 50q-10 10-23 10t-23-10L55 983q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23L224 960l393 393q10 10 10 23zm384 0q0 13-10 23l-50 50q-10 10-23 10t-23-10L439 983q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23L608 960l393 393q10 10 10 23z\"/></svg>"},{"name":"font-awesome/angle-double-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"angle-double-right\" viewBox=\"0 0 1024 1896.0833\"><path d=\"M595 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393L23 567q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23zm384 0q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z\"/></svg>"},{"name":"font-awesome/angle-double-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"angle-double-up\" viewBox=\"0 0 1181.2815 1896.0833\"><path d=\"M1075 1312q0 13-10 23l-50 50q-10 10-23 10t-23-10L576 992l-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23zm0-384q0 13-10 23l-50 50q-10 10-23 10t-23-10L576 608l-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z\"/></svg>"},{"name":"font-awesome/angle-double-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"angle-double-down\" viewBox=\"0 0 1152 1896.0833\"><path d=\"M1075 864q0 13-10 23l-466 466q-10 10-23 10t-23-10L87 887q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23zm0-384q0 13-10 23L599 969q-10 10-23 10t-23-10L87 503q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z\"/></svg>"},{"name":"font-awesome/angle-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"angle-left\" viewBox=\"0 0 960.7972 1896.0833\"><path d=\"M627 544q0 13-10 23L224 960l393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10L55 983q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z\"/></svg>"},{"name":"font-awesome/angle-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"angle-right\" viewBox=\"0 0 758.1503 1896.0833\"><path d=\"M595 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393L23 567q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z\"/></svg>"},{"name":"font-awesome/angle-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"angle-up\" viewBox=\"0 0 1152 1896.0833\"><path d=\"M1075 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10L576 864l-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z\"/></svg>"},{"name":"font-awesome/angle-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"angle-down\" viewBox=\"0 0 1152 1896.0833\"><path d=\"M1075 736q0 13-10 23l-466 466q-10 10-23 10t-23-10L87 759q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z\"/></svg>"},{"name":"font-awesome/desktop","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"desktop\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1792 992V160q0-13-9.5-22.5T1760 128H160q-13 0-22.5 9.5T128 160v832q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5zm128-832v1088q0 66-47 113t-113 47h-544q0 37 16 77.5t32 71 16 43.5q0 26-19 45t-45 19H704q-26 0-45-19t-19-45q0-14 16-44t32-70 16-78H160q-66 0-113-47T0 1248V160Q0 94 47 47T160 0h1600q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/laptop","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"laptop\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M416 1280q-66 0-113-47t-47-113V416q0-66 47-113t113-47h1088q66 0 113 47t47 113v704q0 66-47 113t-113 47H416zm-32-864v704q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5-9.5t9.5-22.5V416q0-13-9.5-22.5T1504 384H416q-13 0-22.5 9.5T384 416zm1376 928h160v96q0 40-47 68t-113 28H160q-66 0-113-28t-47-68v-96h1760zm-720 96q16 0 16-16t-16-16H880q-16 0-16 16t16 16h160z\"/></svg>"},{"name":"font-awesome/tablet","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tablet\" viewBox=\"0 0 1258.3176 1896.0833\"><path d=\"M640 1408q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm384-160V288q0-13-9.5-22.5T992 256H160q-13 0-22.5 9.5T128 288v960q0 13 9.5 22.5t22.5 9.5h832q13 0 22.5-9.5t9.5-22.5zm128-960v1088q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V288q0-66 47-113t113-47h832q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/mobile-phone","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mobile-phone\" viewBox=\"0 0 1056.9019 1896.0833\"><path d=\"M464 1408q0-33-23.5-56.5T384 1328t-56.5 23.5T304 1408t23.5 56.5T384 1488t56.5-23.5T464 1408zm208-160V544q0-13-9.5-22.5T640 512H128q-13 0-22.5 9.5T96 544v704q0 13 9.5 22.5t22.5 9.5h512q13 0 22.5-9.5t9.5-22.5zM480 400q0-16-16-16H304q-16 0-16 16t16 16h160q16 0 16-16zm288-16v1024q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h512q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/mobile","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mobile\" viewBox=\"0 0 1056.9019 1896.0833\"><path d=\"M464 1408q0-33-23.5-56.5T384 1328t-56.5 23.5T304 1408t23.5 56.5T384 1488t56.5-23.5T464 1408zm208-160V544q0-13-9.5-22.5T640 512H128q-13 0-22.5 9.5T96 544v704q0 13 9.5 22.5t22.5 9.5h512q13 0 22.5-9.5t9.5-22.5zM480 400q0-16-16-16H304q-16 0-16 16t16 16h160q16 0 16-16zm288-16v1024q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h512q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/circle-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"circle-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 352q-148 0-273 73T297 623t-73 273 73 273 198 198 273 73 273-73 198-198 73-273-73-273-198-198-273-73zm768 544q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/quote-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"quote-left\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M768 960v384q0 80-56 136t-136 56H192q-80 0-136-56T0 1344V640q0-104 40.5-198.5T150 278t163.5-109.5T512 128h64q26 0 45 19t19 45v128q0 26-19 45t-45 19h-64q-106 0-181 75t-75 181v32q0 40 28 68t68 28h224q80 0 136 56t56 136zm896 0v384q0 80-56 136t-136 56h-384q-80 0-136-56t-56-136V640q0-104 40.5-198.5T1046 278t163.5-109.5T1408 128h64q26 0 45 19t19 45v128q0 26-19 45t-45 19h-64q-106 0-181 75t-75 181v32q0 40 28 68t68 28h224q80 0 136 56t56 136z\"/></svg>"},{"name":"font-awesome/quote-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"quote-right\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M768 320v704q0 104-40.5 198.5T618 1386t-163.5 109.5T256 1536h-64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h64q106 0 181-75t75-181v-32q0-40-28-68t-68-28H192q-80 0-136-56T0 704V320q0-80 56-136t136-56h384q80 0 136 56t56 136zm896 0v704q0 104-40.5 198.5T1514 1386t-163.5 109.5T1152 1536h-64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h64q106 0 181-75t75-181v-32q0-40-28-68t-68-28h-224q-80 0-136-56t-56-136V320q0-80 56-136t136-56h384q80 0 136 56t56 136z\"/></svg>"},{"name":"font-awesome/spinner","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"spinner\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M526 1394q0 53-37.5 90.5T398 1522q-52 0-90-38t-38-90q0-53 37.5-90.5T398 1266t90.5 37.5T526 1394zm498 206q0 53-37.5 90.5T896 1728t-90.5-37.5T768 1600t37.5-90.5T896 1472t90.5 37.5 37.5 90.5zM320 896q0 53-37.5 90.5T192 1024t-90.5-37.5T64 896t37.5-90.5T192 768t90.5 37.5T320 896zm1202 498q0 52-38 90t-90 38q-53 0-90.5-37.5T1266 1394t37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zM558 398q0 66-47 113t-113 47-113-47-47-113 47-113 113-47 113 47 47 113zm1170 498q0 53-37.5 90.5T1600 1024t-90.5-37.5T1472 896t37.5-90.5T1600 768t90.5 37.5T1728 896zm-640-704q0 80-56 136t-136 56-136-56-56-136 56-136T896 0t136 56 56 136zm530 206q0 93-66 158.5T1394 622q-93 0-158.5-65.5T1170 398q0-92 65.5-158t158.5-66q92 0 158 66t66 158z\"/></svg>"},{"name":"font-awesome/circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 896q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/mail-reply","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mail-reply\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 1120q0 166-127 451-3 7-10.5 24t-13.5 30-13 22q-12 17-28 17-15 0-23.5-10t-8.5-25q0-9 2.5-26.5t2.5-23.5q5-68 5-123 0-101-17.5-181t-48.5-138.5-80-101-105.5-69.5-133-42.5-154-21.5-175.5-6H640v256q0 26-19 45t-45 19-45-19L19 685Q0 666 0 640t19-45L531 83q19-19 45-19t45 19 19 45v256h224q713 0 875 403 53 134 53 333z\"/></svg>"},{"name":"font-awesome/reply","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"reply\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 1120q0 166-127 451-3 7-10.5 24t-13.5 30-13 22q-12 17-28 17-15 0-23.5-10t-8.5-25q0-9 2.5-26.5t2.5-23.5q5-68 5-123 0-101-17.5-181t-48.5-138.5-80-101-105.5-69.5-133-42.5-154-21.5-175.5-6H640v256q0 26-19 45t-45 19-45-19L19 685Q0 666 0 640t19-45L531 83q19-19 45-19t45 19 19 45v256h224q713 0 875 403 53 134 53 333z\"/></svg>"},{"name":"font-awesome/github-alt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"github-alt\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M640 1216q0 40-12.5 82t-43 76-72.5 34-72.5-34-43-76-12.5-82 12.5-82 43-76 72.5-34 72.5 34 43 76 12.5 82zm640 0q0 40-12.5 82t-43 76-72.5 34-72.5-34-43-76-12.5-82 12.5-82 43-76 72.5-34 72.5 34 43 76 12.5 82zm160 0q0-120-69-204t-187-84q-41 0-195 21-71 11-157 11t-157-11q-152-21-195-21-118 0-187 84t-69 204q0 88 32 153.5t81 103 122 60 140 29.5 149 7h168q82 0 149-7t140-29.5 122-60 81-103 32-153.5zm224-176q0 207-61 331-38 77-105.5 133t-141 86-170 47.5-171.5 22-167 4.5q-78 0-142-3t-147.5-12.5-152.5-30-137-51.5-121-81-86-115Q0 1248 0 1040q0-237 136-396-27-82-27-170 0-116 51-218 108 0 190 39.5T539 419q147-35 309-35 148 0 280 32 105-82 187-121t189-39q51 102 51 218 0 87-27 168 136 160 136 398z\"/></svg>"},{"name":"font-awesome/folder-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"folder-o\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1536 1312V608q0-40-28-68t-68-28H736q-40 0-68-28t-28-68v-64q0-40-28-68t-68-28H224q-40 0-68 28t-28 68v960q0 40 28 68t68 28h1216q40 0 68-28t28-68zm128-704v704q0 92-66 158t-158 66H224q-92 0-158-66T0 1312V352q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z\"/></svg>"},{"name":"font-awesome/folder-open-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"folder-open-o\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1781 931q0-35-53-35H640q-40 0-85.5 21.5T483 970l-294 363q-18 24-18 40 0 35 53 35h1088q40 0 86-22t71-53l294-363q18-22 18-39zM640 768h768V608q0-40-28-68t-68-28H736q-40 0-68-28t-28-68v-64q0-40-28-68t-68-28H224q-40 0-68 28t-28 68v853l256-315q44-53 116-87.5T640 768zm1269 163q0 62-46 120l-295 363q-43 53-116 87.5t-140 34.5H224q-92 0-158-66T0 1312V352q0-92 66-158t158-66h320q92 0 158 66t66 158v32h544q92 0 158 66t66 158v160h192q54 0 99 24.5t67 70.5q15 32 15 68z\"/></svg>"},{"name":"font-awesome/smile-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"smile-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1134 1075q-37 121-138 195t-228 74-228-74-138-195q-8-25 4-48.5t38-31.5q25-8 48.5 4t31.5 38q25 80 92.5 129.5T768 1216t151.5-49.5T1012 1037q8-26 32-38t49-4 37 31.5 4 48.5zM640 640q0 53-37.5 90.5T512 768t-90.5-37.5T384 640t37.5-90.5T512 512t90.5 37.5T640 640zm512 0q0 53-37.5 90.5T1024 768t-90.5-37.5T896 640t37.5-90.5T1024 512t90.5 37.5T1152 640zm256 256q0-130-51-248.5t-136.5-204-204-136.5T768 256t-248.5 51-204 136.5-136.5 204T128 896t51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5zm128 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/frown-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"frown-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1134 1229q8 25-4 48.5t-37 31.5-49-4-32-38q-25-80-92.5-129.5T768 1088t-151.5 49.5T524 1267q-8 26-31.5 38t-48.5 4q-26-8-38-31.5t-4-48.5q37-121 138-195t228-74 228 74 138 195zM640 640q0 53-37.5 90.5T512 768t-90.5-37.5T384 640t37.5-90.5T512 512t90.5 37.5T640 640zm512 0q0 53-37.5 90.5T1024 768t-90.5-37.5T896 640t37.5-90.5T1024 512t90.5 37.5T1152 640zm256 256q0-130-51-248.5t-136.5-204-204-136.5T768 256t-248.5 51-204 136.5-136.5 204T128 896t51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5zm128 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/meh-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"meh-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1152 1088q0 26-19 45t-45 19H448q-26 0-45-19t-19-45 19-45 45-19h640q26 0 45 19t19 45zM640 640q0 53-37.5 90.5T512 768t-90.5-37.5T384 640t37.5-90.5T512 512t90.5 37.5T640 640zm512 0q0 53-37.5 90.5T1024 768t-90.5-37.5T896 640t37.5-90.5T1024 512t90.5 37.5T1152 640zm256 256q0-130-51-248.5t-136.5-204-204-136.5T768 256t-248.5 51-204 136.5-136.5 204T128 896t51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5zm128 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/gamepad","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gamepad\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M832 1088V960q0-14-9-23t-23-9H608V736q0-14-9-23t-23-9H448q-14 0-23 9t-9 23v192H224q-14 0-23 9t-9 23v128q0 14 9 23t23 9h192v192q0 14 9 23t23 9h128q14 0 23-9t9-23v-192h192q14 0 23-9t9-23zm576 64q0-53-37.5-90.5T1280 1024t-90.5 37.5-37.5 90.5 37.5 90.5 90.5 37.5 90.5-37.5 37.5-90.5zm256-256q0-53-37.5-90.5T1536 768t-90.5 37.5T1408 896t37.5 90.5 90.5 37.5 90.5-37.5T1664 896zm256 128q0 212-150 362t-362 150q-192 0-338-128H850q-146 128-338 128-212 0-362-150T0 1024t150-362 362-150h896q212 0 362 150t150 362z\"/></svg>"},{"name":"font-awesome/keyboard-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"keyboard-o\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M384 1168v96q0 16-16 16h-96q-16 0-16-16v-96q0-16 16-16h96q16 0 16 16zm128-256v96q0 16-16 16H272q-16 0-16-16v-96q0-16 16-16h224q16 0 16 16zM384 656v96q0 16-16 16h-96q-16 0-16-16v-96q0-16 16-16h96q16 0 16 16zm1024 512v96q0 16-16 16H528q-16 0-16-16v-96q0-16 16-16h864q16 0 16 16zM768 912v96q0 16-16 16h-96q-16 0-16-16v-96q0-16 16-16h96q16 0 16 16zM640 656v96q0 16-16 16h-96q-16 0-16-16v-96q0-16 16-16h96q16 0 16 16zm384 256v96q0 16-16 16h-96q-16 0-16-16v-96q0-16 16-16h96q16 0 16 16zM896 656v96q0 16-16 16h-96q-16 0-16-16v-96q0-16 16-16h96q16 0 16 16zm384 256v96q0 16-16 16h-96q-16 0-16-16v-96q0-16 16-16h96q16 0 16 16zm384 256v96q0 16-16 16h-96q-16 0-16-16v-96q0-16 16-16h96q16 0 16 16zm-512-512v96q0 16-16 16h-96q-16 0-16-16v-96q0-16 16-16h96q16 0 16 16zm256 0v96q0 16-16 16h-96q-16 0-16-16v-96q0-16 16-16h96q16 0 16 16zm256 0v352q0 16-16 16h-224q-16 0-16-16v-96q0-16 16-16h112V656q0-16 16-16h96q16 0 16 16zm128 752V512H128v896h1664zm128-896v896q0 53-37.5 90.5T1792 1536H128q-53 0-90.5-37.5T0 1408V512q0-53 37.5-90.5T128 384h1664q53 0 90.5 37.5T1920 512z\"/></svg>"},{"name":"font-awesome/flag-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"flag-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1664 1045V429q-169 91-306 91-82 0-145-32-100-49-184-76.5T851 384q-173 0-403 127v599q245-113 433-113 55 0 103.5 7.5t98 26 77 31 82.5 39.5l28 14q44 22 101 22 120 0 293-92zM320 256q0 35-17.5 64T256 366v1266q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V366q-29-17-46.5-46T64 256q0-53 37.5-90.5T192 128t90.5 37.5T320 256zm1472 64v763q0 39-35 57-10 5-17 9-218 116-369 116-88 0-158-35l-28-14q-64-33-99-48t-91-29-114-14q-102 0-235.5 44T417 1271q-15 9-33 9-16 0-32-8-32-19-32-56V474q0-35 31-55 35-21 78.5-42.5t114-52T696 275t155-19q112 0 209 31t209 86q38 19 89 19 122 0 310-112 22-12 31-17 31-16 62 2 31 20 31 55z\"/></svg>"},{"name":"font-awesome/flag-checkered","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"flag-checkered\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M832 1000V808q-181 16-384 117v185q205-96 384-110zm0-418V385q-172 8-384 126v189q215-111 384-118zm832 463V861q-235 116-384 71V708q-20-6-39-15-5-3-33-17t-34.5-17-31.5-15-34.5-15.5-32.5-13-36-12.5-35-8.5-39.5-7.5-39.5-4-44-2q-23 0-49 3v222h19q102 0 192.5 29t197.5 82q19 9 39 15v188q42 17 91 17 120 0 293-92zm0-427V429q-169 91-306 91-45 0-78-8v196q148 42 384-90zM320 256q0 35-17.5 64T256 366v1266q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V366q-29-17-46.5-46T64 256q0-53 37.5-90.5T192 128t90.5 37.5T320 256zm1472 64v763q0 39-35 57-10 5-17 9-218 116-369 116-88 0-158-35l-28-14q-64-33-99-48t-91-29-114-14q-102 0-235.5 44T417 1271q-15 9-33 9-16 0-32-8-32-19-32-56V474q0-35 31-55 35-21 78.5-42.5t114-52T696 275t155-19q112 0 209 31t209 86q38 19 89 19 122 0 310-112 22-12 31-17 31-16 62 2 31 20 31 55z\"/></svg>"},{"name":"font-awesome/terminal","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"terminal\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M585 983l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393L23 567q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23zm1079 457v64q0 14-9 23t-23 9H672q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h960q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/code","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"code\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M617 1399l-50 50q-10 10-23 10t-23-10L55 983q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23L224 960l393 393q10 10 10 23t-10 23zm591-1067L835 1623q-4 13-15.5 19.5T796 1645l-62-17q-13-4-19.5-15.5T712 1588l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z\"/></svg>"},{"name":"font-awesome/mail-reply-all","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mail-reply-all\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M640 1082v70q0 42-39 59-13 5-25 5-27 0-45-19L19 685Q0 666 0 640t19-45L531 83q29-31 70-14 39 17 39 59v69L243 595q-19 19-19 45t19 45zm1152 38q0 58-17 133.5t-38.5 138-48 125-40.5 90.5l-20 40q-8 17-28 17-6 0-9-1-25-8-23-34 43-400-106-565-64-71-170.5-110.5T1024 901v251q0 42-39 59-13 5-25 5-27 0-45-19L403 685q-19-19-19-45t19-45L915 83q29-31 70-14 39 17 39 59v262q411 28 599 221 169 173 169 509z\"/></svg>"},{"name":"font-awesome/reply-all","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"reply-all\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M640 1082v70q0 42-39 59-13 5-25 5-27 0-45-19L19 685Q0 666 0 640t19-45L531 83q29-31 70-14 39 17 39 59v69L243 595q-19 19-19 45t19 45zm1152 38q0 58-17 133.5t-38.5 138-48 125-40.5 90.5l-20 40q-8 17-28 17-6 0-9-1-25-8-23-34 43-400-106-565-64-71-170.5-110.5T1024 901v251q0 42-39 59-13 5-25 5-27 0-45-19L403 685q-19-19-19-45t19-45L915 83q29-31 70-14 39 17 39 59v262q411 28 599 221 169 173 169 509z\"/></svg>"},{"name":"font-awesome/star-half-empty","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"star-half-empty\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1186 957l257-250-356-52-66-10-30-60-159-322v963l59 31 318 168-60-355-12-66zm452-262l-363 354 86 500q5 33-6 51.5t-34 18.5q-17 0-40-12l-449-236-449 236q-23 12-40 12-23 0-34-18.5t-6-51.5l86-500L25 695q-32-32-23-59.5T56 601l502-73L783 73q20-41 49-41 28 0 49 41l225 455 502 73q45 7 54 34.5t-24 59.5z\"/></svg>"},{"name":"font-awesome/star-half-full","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"star-half-full\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1186 957l257-250-356-52-66-10-30-60-159-322v963l59 31 318 168-60-355-12-66zm452-262l-363 354 86 500q5 33-6 51.5t-34 18.5q-17 0-40-12l-449-236-449 236q-23 12-40 12-23 0-34-18.5t-6-51.5l86-500L25 695q-32-32-23-59.5T56 601l502-73L783 73q20-41 49-41 28 0 49 41l225 455 502 73q45 7 54 34.5t-24 59.5z\"/></svg>"},{"name":"font-awesome/star-half-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"star-half-o\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1186 957l257-250-356-52-66-10-30-60-159-322v963l59 31 318 168-60-355-12-66zm452-262l-363 354 86 500q5 33-6 51.5t-34 18.5q-17 0-40-12l-449-236-449 236q-23 12-40 12-23 0-34-18.5t-6-51.5l86-500L25 695q-32-32-23-59.5T56 601l502-73L783 73q20-41 49-41 28 0 49 41l225 455 502 73q45 7 54 34.5t-24 59.5z\"/></svg>"},{"name":"font-awesome/location-arrow","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"location-arrow\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1401 349L761 1629q-17 35-57 35-5 0-15-2-22-5-35.5-22.5T640 1600v-576H64q-22 0-39.5-13.5T2 975t4-42 29-30l1280-640q13-7 29-7 27 0 45 19 15 14 18.5 34.5T1401 349z\"/></svg>"},{"name":"font-awesome/crop","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"crop\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M557 1280h595V685zm-45-45l595-595H512v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224H288q-14 0-23-9t-9-23V640H32q-14 0-23-9t-9-23V416q0-14 9-23t23-9h224V160q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/code-fork","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"code-fork\" viewBox=\"0 0 1024 1896.0833\"><path d=\"M288 1472q0-40-28-68t-68-28-68 28-28 68 28 68 68 28 68-28 28-68zm0-1152q0-40-28-68t-68-28-68 28-28 68 28 68 68 28 68-28 28-68zm640 128q0-40-28-68t-68-28-68 28-28 68 28 68 68 28 68-28 28-68zm96 0q0 52-26 96.5T928 614q-2 287-226 414-67 38-203 81-128 40-169.5 71T288 1280v26q44 25 70 69.5t26 96.5q0 80-56 136t-136 56-136-56-56-136q0-52 26-96.5t70-69.5V486q-44-25-70-69.5T0 320q0-80 56-136t136-56 136 56 56 136q0 52-26 96.5T288 486v497q54-26 154-57 55-17 87.5-29.5t70.5-31 59-39.5 40.5-51 28-69.5T736 614q-44-25-70-69.5T640 448q0-80 56-136t136-56 136 56 56 136z\"/></svg>"},{"name":"font-awesome/unlink","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"unlink\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M439 1271l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9H32q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27L236 381q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42L100 652q-84-86-84-204 0-120 85-203L248 99q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zM1120 32v320q0 14-9 23t-23 9-23-9-9-23V32q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z\"/></svg>"},{"name":"font-awesome/chain-broken","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chain-broken\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M439 1271l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9H32q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27L236 381q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42L100 652q-84-86-84-204 0-120 85-203L248 99q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zM1120 32v320q0 14-9 23t-23 9-23-9-9-23V32q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z\"/></svg>"},{"name":"font-awesome/question","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"question\" viewBox=\"0 0 1057.2116 1896.0833\"><path d=\"M704 1256v240q0 16-12 28t-28 12H424q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5H420q-15 0-25.5-18.5T384 1096v-45q0-83 65-156.5T592 786q59-27 84-56t25-76q0-42-46.5-74T547 548q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8L112 575q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z\"/></svg>"},{"name":"font-awesome/info","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"info\" viewBox=\"0 0 1011.9142 1896.0833\"><path d=\"M640 1344v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h64V896H64q-26 0-45-19T0 832V704q0-26 19-45t45-19h384q26 0 45 19t19 45v576h64q26 0 45 19t19 45zM512 192v192q0 26-19 45t-45 19H192q-26 0-45-19t-19-45V192q0-26 19-45t45-19h256q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/exclamation","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"exclamation\" viewBox=\"0 0 940.795 1896.0833\"><path d=\"M512 1248v224q0 26-19 45t-45 19H192q-26 0-45-19t-19-45v-224q0-26 19-45t45-19h256q26 0 45 19t19 45zm30-1056l-28 768q-1 26-20.5 45t-45.5 19H192q-26 0-45.5-19T126 960L98 192q-1-26 17.5-45t44.5-19h320q26 0 44.5 19t17.5 45z\"/></svg>"},{"name":"font-awesome/superscript","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"superscript\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M897 1369v167H649l-159-252-24-42q-8-9-11-21h-3q-1 3-2.5 6.5t-3.5 8-3 6.5q-10 20-25 44l-155 250H5v-167h128l197-291-185-272H8V638h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168H768l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5T1263 295q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5T1354 605t-82 50.5-65.5 51.5-30.5 63h232v-80h126z\"/></svg>"},{"name":"font-awesome/subscript","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"subscript\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M897 1369v167H649l-159-252-24-42q-8-9-11-21h-3q-1 3-2.5 6.5t-3.5 8-3 6.5q-10 20-25 44l-155 250H5v-167h128l197-291-185-272H8V638h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168H768l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5T1265 1191q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z\"/></svg>"},{"name":"font-awesome/eraser","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"eraser\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M896 1408l336-384H464l-336 384h768zM1909 331q15 34 9.5 71.5T1888 468L992 1492q-38 44-96 44H128q-38 0-69.5-20.5T11 1461q-15-34-9.5-71.5T32 1324L928 300q38-44 96-44h768q38 0 69.5 20.5T1909 331z\"/></svg>"},{"name":"font-awesome/puzzle-piece","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"puzzle-piece\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1664 1098q0 81-44.5 135t-123.5 54q-41 0-77.5-17.5t-59-38-56.5-38-71-17.5q-110 0-110 124 0 39 16 115t15 115v5q-22 0-33 1-34 3-97.5 11.5T907 1561t-98 5q-61 0-103-26.5t-42-83.5q0-37 17.5-71t38-56.5 38-59T775 1192q0-79-54-123.5T586 1024q-84 0-143 45.5T384 1197q0 43 15 83t33.5 64.5 33.5 53 15 50.5q0 45-46 89-37 35-117 35-95 0-245-24-9-2-27.5-4t-27.5-4l-13-2q-1 0-3-1-2 0-2-1V512q2 1 17.5 3.5t34 5T73 524q150 24 245 24 80 0 117-35 46-44 46-89 0-22-15-50.5t-33.5-53T399 256t-15-83q0-82 59-127.5T587 0q80 0 134 44.5T775 168q0 41-17.5 77.5t-38 59-38 56.5-17.5 71q0 57 42 83.5T809 542q64 0 180-15t163-17v2q-1 2-3.5 17.5t-5 34-3.5 21.5q-24 150-24 245 0 80 35 117 44 46 89 46 22 0 50.5-15t53-33.5T1408 911t83-15q82 0 127.5 59t45.5 143z\"/></svg>"},{"name":"font-awesome/microphone","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"microphone\" viewBox=\"0 0 1246.5988 1896.0833\"><path d=\"M1152 704v128q0 221-147.5 384.5T640 1404v132h256q26 0 45 19t19 45-19 45-45 19H256q-26 0-45-19t-19-45 19-45 45-19h256v-132q-217-24-364.5-187.5T0 832V704q0-26 19-45t45-19 45 19 19 45v128q0 185 131.5 316.5T576 1280t316.5-131.5T1024 832V704q0-26 19-45t45-19 45 19 19 45zM896 320v512q0 132-94 226t-226 94-226-94-94-226V320q0-132 94-226T576 0t226 94 94 226z\"/></svg>"},{"name":"font-awesome/microphone-slash","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"microphone-slash\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M271 945l-101 101q-42-103-42-214V704q0-26 19-45t45-19 45 19 19 45v128q0 53 15 113zm1114-602l-361 361v128q0 132-94 226t-226 94q-55 0-109-19l-96 96q97 51 205 51 185 0 316.5-131.5T1152 832V704q0-26 19-45t45-19 45 19 19 45v128q0 221-147.5 384.5T768 1404v132h256q26 0 45 19t19 45-19 45-45 19H384q-26 0-45-19t-19-45 19-45 45-19h256v-132q-125-13-235-81l-254 254q-10 10-23 10t-23-10l-82-82q-10-10-10-23t10-23L1257 215q10-10 23-10t23 10l82 82q10 10 10 23t-10 23zm-380-132L384 832V320q0-132 94-226T704 0q102 0 184.5 59T1005 211z\"/></svg>"},{"name":"font-awesome/shield","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"shield\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1088 960V320H640v1137q119-63 213-137 235-184 235-360zm192-768v768q0 86-33.5 170.5t-83 150-118 127.5T919 1511t-121 77.5-89.5 49.5-42.5 20q-12 6-26 6t-26-6q-16-7-42.5-20t-89.5-49.5-121-77.5-126.5-103-118-127.5-83-150T0 960V192q0-26 19-45t45-19h1152q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/calendar-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"calendar-o\" viewBox=\"0 0 1672.2646 1896.0833\"><path d=\"M128 1664h1408V640H128v1024zM512 448V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23zm768 0V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23zm384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/fire-extinguisher","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"fire-extinguisher\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M512 192q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm896-32v320q0 16-12 25-8 7-20 7-4 0-7-1l-448-96q-11-2-18-11t-7-20H640v102q111 23 183.5 111T896 800v800q0 26-19 45t-45 19H320q-26 0-45-19t-19-45V800q0-106 62.5-190.5T480 495V384h-32q-59 0-115 23.5t-91.5 53-66 66.5-40.5 53.5-14 24.5q-17 35-57 35-16 0-29-7-23-12-31.5-37T7 547q5-10 14.5-26T59 467.5t60.5-70 85-67T313 278q-25-42-25-86 0-66 47-113t113-47 113 47 47 113q0 33-14 64h302q0-11 7-20t18-11l448-96q3-1 7-1 12 0 20 7 12 9 12 25z\"/></svg>"},{"name":"font-awesome/rocket","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"rocket\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1440 448q0-40-28-68t-68-28-68 28-28 68 28 68 68 28 68-28 28-68zm224-288q0 249-75.5 430.5T1335 951q-81 80-195 176l-20 379q-2 16-16 26l-384 224q-7 4-16 4-12 0-23-9l-64-64q-13-14-8-32l85-276-281-281-276 85q-3 1-9 1-14 0-23-9l-64-64q-17-19-5-39l224-384q10-14 26-16l379-20q96-114 176-195 188-187 358-258t431-71q14 0 24 9.5t10 22.5z\"/></svg>"},{"name":"font-awesome/maxcdn","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"maxcdn\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1745 773l-164 763h-334l178-832q13-56-15-88-27-33-83-33h-169l-204 953H620l204-953H538l-204 953H0l204-953L51 256h1276q101 0 189.5 40.5T1664 410q60 73 81 168.5t0 194.5z\"/></svg>"},{"name":"font-awesome/chevron-circle-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chevron-circle-left\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M909 1395l102-102q19-19 19-45t-19-45L704 896l307-307q19-19 19-45t-19-45L909 397q-19-19-45-19t-45 19L365 851q-19 19-19 45t19 45l454 454q19 19 45 19t45-19zm627-499q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/chevron-circle-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chevron-circle-right\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M717 1395l454-454q19-19 19-45t-19-45L717 397q-19-19-45-19t-45 19L525 499q-19 19-19 45t19 45l307 307-307 307q-19 19-19 45t19 45l102 102q19 19 45 19t45-19zm819-499q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/chevron-circle-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chevron-circle-up\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1165 1139l102-102q19-19 19-45t-19-45L813 493q-19-19-45-19t-45 19L269 947q-19 19-19 45t19 45l102 102q19 19 45 19t45-19l307-307 307 307q19 19 45 19t45-19zm371-243q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/chevron-circle-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chevron-circle-down\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M813 1299l454-454q19-19 19-45t-19-45l-102-102q-19-19-45-19t-45 19L768 960 461 653q-19-19-45-19t-45 19L269 755q-19 19-19 45t19 45l454 454q19 19 45 19t45-19zm723-403q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/html5","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"html5\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1130 597l16-175H262l47 534h612l-22 228-197 53-196-53-13-140H318l22 278 362 100h4v-1l359-99 50-544H471l-15-181h674zM0 128h1408l-128 1438-578 162-574-162z\"/></svg>"},{"name":"font-awesome/css3","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"css3\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M275 128h1505l-266 1333-804 267-698-267 71-356h297l-29 147 422 161 486-161 68-339H119l58-297h1209l38-191H216z\"/></svg>"},{"name":"font-awesome/anchor","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"anchor\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M960 256q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm832 928v352q0 22-20 30-8 2-12 2-12 0-23-9l-93-93q-119 143-318.5 226.5T896 1776t-429.5-83.5T148 1466l-93 93q-9 9-23 9-4 0-12-2-20-8-20-30v-352q0-14 9-23t23-9h352q22 0 30 20 8 19-7 35l-100 100q67 91 189.5 153.5T768 1543V896H576q-26 0-45-19t-19-45V704q0-26 19-45t45-19h192V477q-58-34-93-92.5T640 256q0-106 75-181T896 0t181 75 75 181q0 70-35 128.5t-93 92.5v163h192q26 0 45 19t19 45v128q0 26-19 45t-45 19h-192v647q149-20 271.5-82.5T1485 1307l-100-100q-15-16-7-35 8-20 30-20h352q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/unlock-alt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"unlock-alt\" viewBox=\"0 0 1283.9106 1896.0833\"><path d=\"M1056 768q40 0 68 28t28 68v576q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V864q0-40 28-68t68-28h32V448q0-185 131.5-316.5T576 0t316.5 131.5T1024 448q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45q0-106-75-181t-181-75-181 75-75 181v320h736z\"/></svg>"},{"name":"font-awesome/bullseye","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bullseye\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 896q0 106-75 181t-181 75-181-75-75-181 75-181 181-75 181 75 75 181zm128 0q0-159-112.5-271.5T768 512 496.5 624.5 384 896t112.5 271.5T768 1280t271.5-112.5T1152 896zm128 0q0 212-150 362t-362 150-362-150-150-362 150-362 362-150 362 150 150 362zm128 0q0-130-51-248.5t-136.5-204-204-136.5T768 256t-248.5 51-204 136.5-136.5 204T128 896t51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5zm128 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/ellipsis-h","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ellipsis-h\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M384 736v192q0 40-28 68t-68 28H96q-40 0-68-28T0 928V736q0-40 28-68t68-28h192q40 0 68 28t28 68zm512 0v192q0 40-28 68t-68 28H608q-40 0-68-28t-28-68V736q0-40 28-68t68-28h192q40 0 68 28t28 68zm512 0v192q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68V736q0-40 28-68t68-28h192q40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/ellipsis-v","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ellipsis-v\" viewBox=\"0 0 856.9949 1896.0833\"><path d=\"M384 1248v192q0 40-28 68t-68 28H96q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h192q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28H96q-40 0-68-28T0 928V736q0-40 28-68t68-28h192q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28H96q-40 0-68-28T0 416V224q0-40 28-68t68-28h192q40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/rss-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"rss-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M512 1280q0-53-37.5-90.5T384 1152t-90.5 37.5T256 1280t37.5 90.5T384 1408t90.5-37.5T512 1280zm351 94q-13-233-176.5-396.5T290 801q-14-1-24 9t-10 23v128q0 13 8.5 22t21.5 10q154 11 264 121t121 264q1 13 10 21.5t22 8.5h128q13 0 23-10t9-24zm384 1q-5-154-56-297.5t-139.5-260-205-205-260-139.5T289 417q-14-1-23 9-10 10-10 23v128q0 13 9 22t22 10q204 7 378 111.5T943.5 999t111.5 378q1 13 10 22t22 9h128q13 0 23-10 11-9 9-23zm289-959v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/play-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"play-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 128q209 0 385.5 103T1433 510.5 1536 896t-103 385.5-279.5 279.5T768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128zm384 823q32-18 32-55t-32-55L608 521q-31-19-64-1-32 19-32 56v640q0 37 32 56 16 8 32 8 17 0 32-9z\"/></svg>"},{"name":"font-awesome/ticket","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ticket\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1024 452l316 316-572 572-316-316zm-211 979l618-618q19-19 19-45t-19-45l-362-362q-18-18-45-18t-45 18L361 979q-19 19-19 45t19 45l362 362q18 18 45 18t45-18zm889-637l-907 908q-37 37-90.5 37t-90.5-37l-126-126q56-56 56-136t-56-136-136-56-136 56L91 1178q-37-37-37-90.5T91 997L998 91q37-37 90.5-37t90.5 37l125 125q-56 56-56 136t56 136 136 56 136-56l126 125q37 37 37 90.5t-37 90.5z\"/></svg>"},{"name":"font-awesome/minus-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"minus-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 960V832q0-26-19-45t-45-19H320q-26 0-45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45-19t19-45zm256-544v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/minus-square-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"minus-square-o\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1152 800v64q0 14-9 23t-23 9H288q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h832q14 0 23 9t9 23zm128 448V416q0-66-47-113t-113-47H288q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5T1120 1536H288q-119 0-203.5-84.5T0 1248V416q0-119 84.5-203.5T288 128h832q119 0 203.5 84.5T1408 416z\"/></svg>"},{"name":"font-awesome/level-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"level-up\" viewBox=\"0 0 1096.6086 1896.0833\"><path d=\"M1018 603q-18 37-58 37H768v864q0 14-9 23t-23 9H32q-21 0-29-18-8-20 4-35l160-192q9-11 25-11h320V640H320q-40 0-58-37-17-37 9-68l320-384q18-22 49-22t49 22l320 384q27 32 9 68z\"/></svg>"},{"name":"font-awesome/level-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"level-down\" viewBox=\"0 0 1105.2055 1896.0833\"><path d=\"M32 256h704q13 0 22.5 9.5T768 289v863h192q40 0 58 37t-9 69l-320 384q-18 22-49 22t-49-22l-320-384q-26-31-9-69 18-37 58-37h192V512H192q-14 0-25-11L7 309q-13-14-4-34 9-19 29-19z\"/></svg>"},{"name":"font-awesome/check-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"check-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M685 1299l614-614q19-19 19-45t-19-45l-102-102q-19-19-45-19t-45 19L640 960 429 749q-19-19-45-19t-45 19L237 851q-19 19-19 45t19 45l358 358q19 19 45 19t45-19zm851-883v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/pencil-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pencil-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M404 1108l152 152-52 52h-56v-96h-96v-56zm414-390q14 13-3 30l-291 291q-17 17-30 3-14-13 3-30l291-291q17-17 30-3zm-274 690l544-544-288-288-544 544v288h288zm608-608l92-92q28-28 28-68t-28-68l-152-152q-28-28-68-28t-68 28l-92 92zm384-384v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/external-link-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"external-link-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 928V448q0-26-19-45t-45-19H736q-42 0-59 39-17 41 14 70l144 144-534 534q-19 19-19 45t19 45l102 102q19 19 45 19t45-19l534-534 144 144q18 19 45 19 12 0 25-5 39-17 39-59zm256-512v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/share-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"share-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1005 1101l352-352q19-19 19-45t-19-45l-352-352q-30-31-69-14-40 17-40 59v160q-119 0-216 19.5t-162.5 51-114 79T327 757t-44.5 109T261 977.5t-5 110.5q0 181 167 404 11 12 25 12 7 0 13-3 22-9 19-33-44-354 62-473 46-52 130-75.5T896 896v160q0 42 40 59 12 5 24 5 26 0 45-19zm531-685v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/compass","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"compass\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M640 1088l256-128-256-128v256zm384-591v542l-512 256V753zm288 399q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/toggle-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"toggle-down\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1145 675q18 35-5 66l-320 448q-19 27-52 27t-52-27L396 741q-23-31-5-66 17-35 57-35h640q40 0 57 35zm135 701V416q0-13-9.5-22.5T1248 384H288q-13 0-22.5 9.5T256 416v960q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5-9.5t9.5-22.5zm256-960v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/caret-square-o-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"caret-square-o-down\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1145 675q18 35-5 66l-320 448q-19 27-52 27t-52-27L396 741q-23-31-5-66 17-35 57-35h640q40 0 57 35zm135 701V416q0-13-9.5-22.5T1248 384H288q-13 0-22.5 9.5T256 416v960q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5-9.5t9.5-22.5zm256-960v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/toggle-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"toggle-up\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1145 1117q-17 35-57 35H448q-40 0-57-35-18-35 5-66l320-448q19-27 52-27t52 27l320 448q23 31 5 66zm135 259V416q0-13-9.5-22.5T1248 384H288q-13 0-22.5 9.5T256 416v960q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5-9.5t9.5-22.5zm256-960v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/caret-square-o-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"caret-square-o-up\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1145 1117q-17 35-57 35H448q-40 0-57-35-18-35 5-66l320-448q19-27 52-27t52 27l320 448q23 31 5 66zm135 259V416q0-13-9.5-22.5T1248 384H288q-13 0-22.5 9.5T256 416v960q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5-9.5t9.5-22.5zm256-960v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/toggle-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"toggle-right\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1088 896q0 33-27 52l-448 320q-31 23-66 5-35-17-35-57V576q0-40 35-57 35-18 66 5l448 320q27 19 27 52zm192 480V416q0-14-9-23t-23-9H288q-14 0-23 9t-9 23v960q0 14 9 23t23 9h960q14 0 23-9t9-23zm256-960v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/caret-square-o-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"caret-square-o-right\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1088 896q0 33-27 52l-448 320q-31 23-66 5-35-17-35-57V576q0-40 35-57 35-18 66 5l448 320q27 19 27 52zm192 480V416q0-14-9-23t-23-9H288q-14 0-23 9t-9 23v960q0 14 9 23t23 9h960q14 0 23-9t9-23zm256-960v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/euro","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"euro\" viewBox=\"0 0 1218.7993 1896.0833\"><path d=\"M976 1307l35 159q3 12-3 22.5t-17 14.5l-5 1q-4 2-10.5 3.5t-16 4.5-21.5 5.5-25.5 5-30 5-33.5 4.5-36.5 3-38.5 1q-234 0-409-130.5T127 1054H32q-13 0-22.5-9.5T0 1022V909q0-13 9.5-22.5T32 877h66q-2-57 1-105H32q-14 0-23-9t-9-23V626q0-14 9-23t23-9h98q67-210 243.5-338T774 128q102 0 194 23 11 3 20 15 6 11 3 24l-43 159q-3 13-14 19.5t-24 2.5l-4-1q-4-1-11.5-2.5L877 364l-22.5-3.5-26-3-29-2.5-29.5-1q-126 0-226 64T394 594h468q16 0 25 12 10 12 7 26l-24 114q-5 26-32 26H350q-3 37 0 105h459q15 0 25 12 9 12 6 27l-24 112q-2 11-11 18.5t-20 7.5H398q48 117 149.5 185.5T776 1308q18 0 36-1.5t33.5-3.5 29.5-4.5 24.5-5 18.5-4.5l12-3 5-2q13-5 26 2 12 7 15 21z\"/></svg>"},{"name":"font-awesome/eur","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"eur\" viewBox=\"0 0 1218.7993 1896.0833\"><path d=\"M976 1307l35 159q3 12-3 22.5t-17 14.5l-5 1q-4 2-10.5 3.5t-16 4.5-21.5 5.5-25.5 5-30 5-33.5 4.5-36.5 3-38.5 1q-234 0-409-130.5T127 1054H32q-13 0-22.5-9.5T0 1022V909q0-13 9.5-22.5T32 877h66q-2-57 1-105H32q-14 0-23-9t-9-23V626q0-14 9-23t23-9h98q67-210 243.5-338T774 128q102 0 194 23 11 3 20 15 6 11 3 24l-43 159q-3 13-14 19.5t-24 2.5l-4-1q-4-1-11.5-2.5L877 364l-22.5-3.5-26-3-29-2.5-29.5-1q-126 0-226 64T394 594h468q16 0 25 12 10 12 7 26l-24 114q-5 26-32 26H350q-3 37 0 105h459q15 0 25 12 9 12 6 27l-24 112q-2 11-11 18.5t-20 7.5H398q48 117 149.5 185.5T776 1308q18 0 36-1.5t33.5-3.5 29.5-4.5 24.5-5 18.5-4.5l12-3 5-2q13-5 26 2 12 7 15 21z\"/></svg>"},{"name":"font-awesome/gbp","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gbp\" viewBox=\"0 0 1236.6167 1896.0833\"><path d=\"M1020 1137v367q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-150q0-13 9.5-22.5T32 1322h97V939H34q-14 0-23-9.5T2 907V776q0-14 9-23t23-9h95V521q0-171 123.5-282T567 128q185 0 335 125 9 8 10 20.5t-7 22.5L802 423q-9 11-22 12-13 2-23-7-5-5-26-19t-69-32-93-18q-85 0-137 47t-52 123v215h305q13 0 22.5 9t9.5 23v131q0 13-9.5 22.5T685 939H380v379h414v-181q0-13 9-22.5t23-9.5h162q14 0 23 9.5t9 22.5z\"/></svg>"},{"name":"font-awesome/dollar","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"dollar\" viewBox=\"0 0 1128.1586 1896.0833\"><path d=\"M978 1185q0 153-99.5 263.5T620 1585v175q0 14-9 23t-23 9H453q-13 0-22.5-9.5T421 1760v-175q-66-9-127.5-31T192 1509.5t-74-48-46.5-37.5-17.5-18q-17-21-2-41l103-135q7-10 23-12 15-2 24 9l2 2q113 99 243 125 37 8 74 8 81 0 142.5-43t61.5-122q0-28-15-53t-33.5-42-58.5-37.5-66-32-80-32.5q-39-16-61.5-25T349 948.5t-62.5-31T230 882t-53.5-42.5-43.5-49-35.5-58-21-66.5-8.5-78q0-138 98-242t255-134V32q0-13 9.5-22.5T453 0h135q14 0 23 9t9 23v176q57 6 110.5 23t87 33.5T881 302t39 29 15 14q17 18 5 38l-81 146q-8 15-23 16-14 3-27-7-3-3-14.5-12t-39-26.5-58.5-32-74.5-26T537 430q-95 0-155 43t-60 111q0 26 8.5 48t29.5 41.5 39.5 33 56 31 60.5 27 70 27.5q53 20 81 31.5t76 35 75.5 42.5 62 50 53 63.5T965 1091t13 94z\"/></svg>"},{"name":"font-awesome/usd","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"usd\" viewBox=\"0 0 1128.1586 1896.0833\"><path d=\"M978 1185q0 153-99.5 263.5T620 1585v175q0 14-9 23t-23 9H453q-13 0-22.5-9.5T421 1760v-175q-66-9-127.5-31T192 1509.5t-74-48-46.5-37.5-17.5-18q-17-21-2-41l103-135q7-10 23-12 15-2 24 9l2 2q113 99 243 125 37 8 74 8 81 0 142.5-43t61.5-122q0-28-15-53t-33.5-42-58.5-37.5-66-32-80-32.5q-39-16-61.5-25T349 948.5t-62.5-31T230 882t-53.5-42.5-43.5-49-35.5-58-21-66.5-8.5-78q0-138 98-242t255-134V32q0-13 9.5-22.5T453 0h135q14 0 23 9t9 23v176q57 6 110.5 23t87 33.5T881 302t39 29 15 14q17 18 5 38l-81 146q-8 15-23 16-14 3-27-7-3-3-14.5-12t-39-26.5-58.5-32-74.5-26T537 430q-95 0-155 43t-60 111q0 26 8.5 48t29.5 41.5 39.5 33 56 31 60.5 27 70 27.5q53 20 81 31.5t76 35 75.5 42.5 62 50 53 63.5T965 1091t13 94z\"/></svg>"},{"name":"font-awesome/rupee","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"rupee\" viewBox=\"0 0 1090.3398 1896.0833\"><path d=\"M898 470v102q0 14-9 23t-23 9H698q-23 144-129 234T293 948q167 178 459 536 14 16 4 34-8 18-29 18H532q-16 0-25-12Q201 1157 9 953q-9-9-9-22V804q0-13 9.5-22.5T32 772h112q132 0 212.5-43T459 604H32q-14 0-23-9t-9-23V470q0-14 9-23t23-9h413q-57-113-268-113H32q-13 0-22.5-9.5T0 293V160q0-14 9-23t23-9h832q14 0 23 9t9 23v102q0 14-9 23t-23 9H631q47 61 64 144h171q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/inr","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"inr\" viewBox=\"0 0 1090.3398 1896.0833\"><path d=\"M898 470v102q0 14-9 23t-23 9H698q-23 144-129 234T293 948q167 178 459 536 14 16 4 34-8 18-29 18H532q-16 0-25-12Q201 1157 9 953q-9-9-9-22V804q0-13 9.5-22.5T32 772h112q132 0 212.5-43T459 604H32q-14 0-23-9t-9-23V470q0-14 9-23t23-9h413q-57-113-268-113H32q-13 0-22.5-9.5T0 293V160q0-14 9-23t23-9h832q14 0 23 9t9 23v102q0 14-9 23t-23 9H631q47 61 64 144h171q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/cny","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cny\" viewBox=\"0 0 1040.6229 1896.0833\"><path d=\"M603 1536H431q-13 0-22.5-9t-9.5-23v-330H111q-13 0-22.5-9t-9.5-23v-103q0-13 9.5-22.5t22.5-9.5h288v-85H111q-13 0-22.5-9T79 890V786q0-13 9.5-22.5T111 754h214L4 176q-8-16 0-32 10-16 28-16h194q19 0 29 18l215 425q19 38 56 125 10-24 30.5-68t27.5-61l191-420q8-19 29-19h191q17 0 27 16 9 14 1 31L710 754h215q13 0 22.5 9.5T957 786v104q0 14-9.5 23t-22.5 9H635v85h290q13 0 22.5 9.5t9.5 22.5v103q0 14-9.5 23t-22.5 9H635v330q0 13-9.5 22.5T603 1536z\"/></svg>"},{"name":"font-awesome/rmb","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"rmb\" viewBox=\"0 0 1040.6229 1896.0833\"><path d=\"M603 1536H431q-13 0-22.5-9t-9.5-23v-330H111q-13 0-22.5-9t-9.5-23v-103q0-13 9.5-22.5t22.5-9.5h288v-85H111q-13 0-22.5-9T79 890V786q0-13 9.5-22.5T111 754h214L4 176q-8-16 0-32 10-16 28-16h194q19 0 29 18l215 425q19 38 56 125 10-24 30.5-68t27.5-61l191-420q8-19 29-19h191q17 0 27 16 9 14 1 31L710 754h215q13 0 22.5 9.5T957 786v104q0 14-9.5 23t-22.5 9H635v85h290q13 0 22.5 9.5t9.5 22.5v103q0 14-9.5 23t-22.5 9H635v330q0 13-9.5 22.5T603 1536z\"/></svg>"},{"name":"font-awesome/yen","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"yen\" viewBox=\"0 0 1040.6229 1896.0833\"><path d=\"M603 1536H431q-13 0-22.5-9t-9.5-23v-330H111q-13 0-22.5-9t-9.5-23v-103q0-13 9.5-22.5t22.5-9.5h288v-85H111q-13 0-22.5-9T79 890V786q0-13 9.5-22.5T111 754h214L4 176q-8-16 0-32 10-16 28-16h194q19 0 29 18l215 425q19 38 56 125 10-24 30.5-68t27.5-61l191-420q8-19 29-19h191q17 0 27 16 9 14 1 31L710 754h215q13 0 22.5 9.5T957 786v104q0 14-9.5 23t-22.5 9H635v85h290q13 0 22.5 9.5t9.5 22.5v103q0 14-9.5 23t-22.5 9H635v330q0 13-9.5 22.5T603 1536z\"/></svg>"},{"name":"font-awesome/jpy","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"jpy\" viewBox=\"0 0 1040.6229 1896.0833\"><path d=\"M603 1536H431q-13 0-22.5-9t-9.5-23v-330H111q-13 0-22.5-9t-9.5-23v-103q0-13 9.5-22.5t22.5-9.5h288v-85H111q-13 0-22.5-9T79 890V786q0-13 9.5-22.5T111 754h214L4 176q-8-16 0-32 10-16 28-16h194q19 0 29 18l215 425q19 38 56 125 10-24 30.5-68t27.5-61l191-420q8-19 29-19h191q17 0 27 16 9 14 1 31L710 754h215q13 0 22.5 9.5T957 786v104q0 14-9.5 23t-22.5 9H635v85h290q13 0 22.5 9.5t9.5 22.5v103q0 14-9.5 23t-22.5 9H635v330q0 13-9.5 22.5T603 1536z\"/></svg>"},{"name":"font-awesome/ruble","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ruble\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1043 565q0-100-65-162t-171-62H487v448h320q106 0 171-62t65-162zm237 0q0 193-126.5 315T827 1002H487v118h505q14 0 23 9t9 23v128q0 14-9 23t-23 9H487v192q0 14-9.5 23t-22.5 9H288q-14 0-23-9t-9-23v-192H32q-14 0-23-9t-9-23v-128q0-14 9-23t23-9h224v-118H32q-14 0-23-9t-9-23V821q0-13 9-22.5t23-9.5h224V160q0-14 9-23t23-9h539q200 0 326.5 122T1280 565z\"/></svg>"},{"name":"font-awesome/rouble","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"rouble\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1043 565q0-100-65-162t-171-62H487v448h320q106 0 171-62t65-162zm237 0q0 193-126.5 315T827 1002H487v118h505q14 0 23 9t9 23v128q0 14-9 23t-23 9H487v192q0 14-9.5 23t-22.5 9H288q-14 0-23-9t-9-23v-192H32q-14 0-23-9t-9-23v-128q0-14 9-23t23-9h224v-118H32q-14 0-23-9t-9-23V821q0-13 9-22.5t23-9.5h224V160q0-14 9-23t23-9h539q200 0 326.5 122T1280 565z\"/></svg>"},{"name":"font-awesome/rub","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"rub\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1043 565q0-100-65-162t-171-62H487v448h320q106 0 171-62t65-162zm237 0q0 193-126.5 315T827 1002H487v118h505q14 0 23 9t9 23v128q0 14-9 23t-23 9H487v192q0 14-9.5 23t-22.5 9H288q-14 0-23-9t-9-23v-192H32q-14 0-23-9t-9-23v-128q0-14 9-23t23-9h224v-118H32q-14 0-23-9t-9-23V821q0-13 9-22.5t23-9.5h224V160q0-14 9-23t23-9h539q200 0 326.5 122T1280 565z\"/></svg>"},{"name":"font-awesome/won","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"won\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M514 1195l81-299H436l75 300q1 1 1 3t1 3q0-1 .5-3.5t.5-3.5zm116-427l35-128H373l32 128h225zm192 0h139l-35-128h-70zm449 428l78-300h-162l81 299q0 1 .5 3.5t1.5 3.5q0-1 .5-3t.5-3zm111-428l33-128h-297l34 128h230zm410 32v64q0 14-9 23t-23 9h-213l-164 616q-7 24-31 24h-159q-24 0-31-24L996 896H787l-167 616q-7 24-31 24H430q-11 0-19.5-7t-10.5-17L240 896H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h175l-33-128H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h109L52 168q-5-15 5-28 10-12 26-12h137q26 0 31 24l90 360h359l97-360q7-24 31-24h126q24 0 31 24l98 360h365l93-360q5-24 31-24h137q16 0 26 12 10 13 5 28l-91 344h111q14 0 23 9t9 23v64q0 14-9 23t-23 9h-145l-34 128h179q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/krw","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"krw\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M514 1195l81-299H436l75 300q1 1 1 3t1 3q0-1 .5-3.5t.5-3.5zm116-427l35-128H373l32 128h225zm192 0h139l-35-128h-70zm449 428l78-300h-162l81 299q0 1 .5 3.5t1.5 3.5q0-1 .5-3t.5-3zm111-428l33-128h-297l34 128h230zm410 32v64q0 14-9 23t-23 9h-213l-164 616q-7 24-31 24h-159q-24 0-31-24L996 896H787l-167 616q-7 24-31 24H430q-11 0-19.5-7t-10.5-17L240 896H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h175l-33-128H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h109L52 168q-5-15 5-28 10-12 26-12h137q26 0 31 24l90 360h359l97-360q7-24 31-24h126q24 0 31 24l98 360h365l93-360q5-24 31-24h137q16 0 26 12 10 13 5 28l-91 344h111q14 0 23 9t9 23v64q0 14-9 23t-23 9h-145l-34 128h179q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/bitcoin","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bitcoin\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1167 640q18 182-131 258 117 28 175 103t45 214q-7 71-32.5 125t-64.5 89-97 58.5-121.5 34.5-145.5 15v255H641v-251q-80 0-122-1v252H365v-255q-18 0-54-.5t-55-.5H56l31-183h111q50 0 58-51V900h16q-6-1-16-1V612q-13-68-89-68H56V380l212 1q64 0 97-1V128h154v247q82-2 122-2V128h154v252q79 7 140 22.5t113 45 82.5 78T1167 640zm-215 545q0-36-15-64t-37-46-57.5-30.5T777 1026t-74-9-69-3-64.5 1-47.5 1v338q8 0 37 .5t48 .5 53-1.5 58.5-4 57-8.5 55.5-14 47.5-21 39.5-30 24.5-40 9.5-51zm-71-476q0-33-12.5-58.5t-30.5-42-48-28-55-16.5-61.5-8-58-2.5-54 1-39.5.5v307q5 0 34.5.5t46.5 0 50-2 55-5.5 51.5-11 48.5-18.5 37-27 27-38.5 9-51z\"/></svg>"},{"name":"font-awesome/btc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"btc\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1167 640q18 182-131 258 117 28 175 103t45 214q-7 71-32.5 125t-64.5 89-97 58.5-121.5 34.5-145.5 15v255H641v-251q-80 0-122-1v252H365v-255q-18 0-54-.5t-55-.5H56l31-183h111q50 0 58-51V900h16q-6-1-16-1V612q-13-68-89-68H56V380l212 1q64 0 97-1V128h154v247q82-2 122-2V128h154v252q79 7 140 22.5t113 45 82.5 78T1167 640zm-215 545q0-36-15-64t-37-46-57.5-30.5T777 1026t-74-9-69-3-64.5 1-47.5 1v338q8 0 37 .5t48 .5 53-1.5 58.5-4 57-8.5 55.5-14 47.5-21 39.5-30 24.5-40 9.5-51zm-71-476q0-33-12.5-58.5t-30.5-42-48-28-55-16.5-61.5-8-58-2.5-54 1-39.5.5v307q5 0 34.5.5t46.5 0 50-2 55-5.5 51.5-11 48.5-18.5 37-27 27-38.5 9-51z\"/></svg>"},{"name":"font-awesome/file","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1024 512V40q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h800v544z\"/></svg>"},{"name":"font-awesome/file-text","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-text\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 476q14 14 28 36h-472V40q22 14 36 28zM992 640h544v1056q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h800v544q0 40 28 68t68 28zm160 736v-64q0-14-9-23t-23-9H416q-14 0-23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9H416q-14 0-23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9H416q-14 0-23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23-9t9-23z\"/></svg>"},{"name":"font-awesome/sort-alpha-asc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort-alpha-asc\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1191 408h177l-72-218-12-47q-2-16-2-20h-4l-3 20q0 1-3.5 18t-7.5 29zM736 1440q0 12-10 24l-319 319q-10 9-23 9-12 0-23-9L41 1463q-15-16-7-35 8-20 30-20h192V32q0-14 9-23t23-9h192q14 0 23 9t9 23v1376h192q14 0 23 9t9 23zm836 119v233H988v-90l369-529q12-18 21-27l11-9v-3q-2 0-6.5.5t-7.5.5q-12 3-30 3h-232v115H993v-229h567v89l-369 530q-6 8-21 26l-11 11v2l14-2q9-2 30-2h248v-119h121zm89-897v106h-288V662h75l-47-144h-243l-47 144h75v106H899V662h70L1199 0h162l230 662h70z\"/></svg>"},{"name":"font-awesome/sort-alpha-desc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort-alpha-desc\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1191 1432h177l-72-218-12-47q-2-16-2-20h-4l-3 20q0 1-3.5 18t-7.5 29zm-455 8q0 12-10 24l-319 319q-10 9-23 9-12 0-23-9L41 1463q-15-16-7-35 8-20 30-20h192V32q0-14 9-23t23-9h192q14 0 23 9t9 23v1376h192q14 0 23 9t9 23zm925 246v106h-288v-106h75l-47-144h-243l-47 144h75v106H899v-106h70l230-662h162l230 662h70zm-89-1151v233H988v-90l369-529q12-18 21-27l11-9v-3q-2 0-6.5.5t-7.5.5q-12 3-30 3h-232v115H993V0h567v89l-369 530q-6 8-21 26l-11 10v3l14-3q9-1 30-1h248V535h121z\"/></svg>"},{"name":"font-awesome/sort-amount-asc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort-amount-asc\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M736 1440q0 12-10 24l-319 319q-10 9-23 9-12 0-23-9L41 1463q-15-16-7-35 8-20 30-20h192V32q0-14 9-23t23-9h192q14 0 23 9t9 23v1376h192q14 0 23 9t9 23zm1056 128v192q0 14-9 23t-23 9H928q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h832q14 0 23 9t9 23zm-192-512v192q0 14-9 23t-23 9H928q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h640q14 0 23 9t9 23zm-192-512v192q0 14-9 23t-23 9H928q-14 0-23-9t-9-23V544q0-14 9-23t23-9h448q14 0 23 9t9 23zM1216 32v192q0 14-9 23t-23 9H928q-14 0-23-9t-9-23V32q0-14 9-23t23-9h256q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/sort-amount-desc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort-amount-desc\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1216 1568v192q0 14-9 23t-23 9H928q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h256q14 0 23 9t9 23zm-480-128q0 12-10 24l-319 319q-10 9-23 9-12 0-23-9L41 1463q-15-16-7-35 8-20 30-20h192V32q0-14 9-23t23-9h192q14 0 23 9t9 23v1376h192q14 0 23 9t9 23zm672-384v192q0 14-9 23t-23 9H928q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h448q14 0 23 9t9 23zm192-512v192q0 14-9 23t-23 9H928q-14 0-23-9t-9-23V544q0-14 9-23t23-9h640q14 0 23 9t9 23zm192-512v192q0 14-9 23t-23 9H928q-14 0-23-9t-9-23V32q0-14 9-23t23-9h832q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/sort-numeric-asc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort-numeric-asc\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1346 1313q0-63-44-116t-103-53q-52 0-83 37t-31 94 36.5 95 104.5 38q50 0 85-27t35-68zm-610 127q0 12-10 24l-319 319q-10 9-23 9-12 0-23-9L41 1463q-15-16-7-35 8-20 30-20h192V32q0-14 9-23t23-9h192q14 0 23 9t9 23v1376h192q14 0 23 9t9 23zm750-69q0 62-13 121.5t-41 114-68 95.5-98.5 65.5T1138 1792q-62 0-108-16-24-8-42-15l39-113q15 7 31 11 37 13 75 13 84 0 134.5-58.5T1334 1468h-2q-21 23-61.5 37t-84.5 14q-106 0-173-71.5T946 1275q0-105 72-178t181-73q123 0 205 94.5t82 252.5zm-30-717v114H987V654h167V222q0-7 .5-19t.5-17v-16h-2l-7 12q-8 13-26 31l-62 58-82-86L1168 0h123v654h165z\"/></svg>"},{"name":"font-awesome/sort-numeric-desc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sort-numeric-desc\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1346 289q0-63-44-116t-103-53q-52 0-83 37t-31 94 36.5 95 104.5 38q50 0 85-27t35-68zM736 1440q0 12-10 24l-319 319q-10 9-23 9-12 0-23-9L41 1463q-15-16-7-35 8-20 30-20h192V32q0-14 9-23t23-9h192q14 0 23 9t9 23v1376h192q14 0 23 9t9 23zm720 238v114H987v-114h167v-432q0-7 .5-19t.5-17v-16h-2l-7 12q-8 13-26 31l-62 58-82-86 192-185h123v654h165zm30-1331q0 62-13 121.5t-41 114-68 95.5-98.5 65.5T1138 768q-62 0-108-16-24-8-42-15l39-113q15 7 31 11 37 13 75 13 84 0 134.5-58.5T1334 444h-2q-21 23-61.5 37t-84.5 14q-106 0-173-71.5T946 251q0-105 72-178t181-73q123 0 205 94.5t82 252.5z\"/></svg>"},{"name":"font-awesome/thumbs-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thumbs-up\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M256 1344q0-26-19-45t-45-19q-27 0-45.5 19t-18.5 45q0 27 18.5 45.5T192 1408q26 0 45-18.5t19-45.5zm160-512v640q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V832q0-26 19-45t45-19h288q26 0 45 19t19 45zm1184 0q0 86-55 149 15 44 15 76 3 76-43 137 17 56 0 117-15 57-54 94 9 112-49 181-64 76-197 78h-129q-66 0-144-15.5t-121.5-29T702 1580q-123-43-158-44-26-1-45-19.5t-19-44.5V831q0-25 18-43.5t43-20.5q24-2 76-59t101-121q68-87 101-120 18-18 31-48t17.5-48.5T881 310q7-39 12.5-61t19.5-52 34-50q19-19 45-19 46 0 82.5 10.5t60 26 40 40.5 24 45 12 50 5 45 .5 39q0 38-9.5 76t-19 60-27.5 56q-3 6-10 18t-11 22-8 24h277q78 0 135 57t57 135z\"/></svg>"},{"name":"font-awesome/thumbs-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thumbs-down\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M256 576q0 26-19 45t-45 19q-27 0-45.5-19T128 576q0-27 18.5-45.5T192 512q26 0 45 18.5t19 45.5zm160 512V448q0-26-19-45t-45-19H64q-26 0-45 19T0 448v640q0 26 19 45t45 19h288q26 0 45-19t19-45zm1129-149q55 61 55 149-1 78-57.5 135t-134.5 57h-277q4 14 8 24t11 22 10 18q18 37 27 57t19 58.5 10 76.5q0 24-.5 39t-5 45-12 50-24 45-40 40.5-60 26T992 1792q-26 0-45-19-20-20-34-50t-19.5-52-12.5-61q-9-42-13.5-60.5T850 1501t-31-48q-33-33-101-120-49-64-101-121t-76-59q-25-2-43-20.5t-18-43.5V448q0-26 19-44.5t45-19.5q35-1 158-44 77-26 120.5-39.5t121.5-29 144-15.5h129q133 2 197 78 58 69 49 181 39 37 54 94 17 61 0 117 46 61 43 137 0 32-15 76z\"/></svg>"},{"name":"font-awesome/youtube-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"youtube-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M919 1303v-157q0-50-29-50-17 0-33 16v224q16 16 33 16 29 0 29-49zm184-122h66v-34q0-51-33-51t-33 51v34zM532 915v70h-80v423h-74V985h-78v-70h232zm201 126v367h-67v-40q-39 45-76 45-33 0-42-28-6-17-6-54v-290h66v270q0 24 1 26 1 15 15 15 20 0 42-31v-280h67zm252 111v146q0 52-7 73-12 42-53 42-35 0-68-41v36h-67V915h67v161q32-40 68-40 41 0 53 42 7 21 7 74zm251 129v9q0 29-2 43-3 22-15 40-27 40-80 40-52 0-81-38-21-27-21-86v-129q0-59 20-86 29-38 80-38t78 38q21 29 21 86v76h-133v65q0 51 34 51 24 0 30-26 0-1 .5-7t.5-16.5V1281h68zM785 457v156q0 51-32 51t-32-51V457q0-52 32-52t32 52zm533 713q0-177-19-260-10-44-43-73.5t-76-34.5q-136-15-412-15-275 0-411 15-44 5-76.5 34.5T238 910q-20 87-20 260 0 176 20 260 10 43 42.5 73t75.5 35q137 15 412 15t412-15q43-5 75.5-35t42.5-73q20-84 20-260zM563 519l90-296h-75l-51 195-53-195h-78q7 23 23 69l24 69q35 103 46 158v201h74V519zm289 81V470q0-58-21-87-29-38-78-38-51 0-78 38-21 29-21 87v130q0 58 21 87 27 38 78 38 49 0 78-38 21-27 21-87zm181 120h67V350h-67v283q-22 31-42 31-15 0-16-16-1-2-1-26V350h-67v293q0 37 6 55 11 27 43 27 36 0 77-45v40zm503-304v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/youtube","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"youtube\" viewBox=\"0 0 1546.6178 1896.0833\"><path d=\"M971 1244v211q0 67-39 67-23 0-45-22v-301q22-22 45-22 39 0 39 67zm338 1v46h-90v-46q0-68 45-68t45 68zm-966-218h107v-94H138v94h105v569h100v-569zm288 569h89v-494h-89v378q-30 42-57 42-18 0-21-21-1-3-1-35v-364h-89v391q0 49 8 73 12 37 58 37 48 0 102-61v54zm429-148v-197q0-73-9-99-17-56-71-56-50 0-93 54V933h-89v663h89v-48q45 55 93 55 54 0 71-55 9-27 9-100zm338-10v-13h-91q0 51-2 61-7 36-40 36-46 0-46-69v-87h179v-103q0-79-27-116-39-51-106-51-68 0-107 51-28 37-28 116v173q0 79 29 116 39 51 108 51 72 0 108-53 18-27 21-54 2-9 2-58zM790 525V315q0-69-43-69t-43 69v210q0 70 43 70t43-70zm719 751q0 234-26 350-14 59-58 99t-102 46q-184 21-555 21t-555-21q-58-6-102.5-46T53 1626q-26-112-26-350 0-234 26-350 14-59 58-99t103-47q183-20 554-20t555 20q58 7 102.5 47t57.5 99q26 112 26 350zM511 0h102L492 399v271H392V399q-14-74-61-212Q294 84 266 0h106l71 263zm370 333v175q0 81-28 118-38 51-106 51-67 0-105-51-28-38-28-118V333q0-80 28-117 38-51 105-51 68 0 106 51 28 37 28 117zm335-162v499h-91v-55q-53 62-103 62-46 0-59-37-8-24-8-75V171h91v367q0 33 1 35 3 22 21 22 27 0 57-43V171h91z\"/></svg>"},{"name":"font-awesome/xing","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"xing\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M597 667q-10 18-257 456-27 46-65 46H36q-21 0-31-17t0-36l253-448q1 0 0-1L97 388q-12-22-1-37 9-15 32-15h239q40 0 66 45zm806-642q11 16 0 37L875 996v1l336 615q11 20 1 37-10 15-32 15H941q-42 0-66-45L536 997q18-32 531-942 25-45 64-45h241q22 0 31 15z\"/></svg>"},{"name":"font-awesome/xing-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"xing-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M685 765q0-1-126-222-21-34-52-34H323q-18 0-26 11-7 12 1 29l125 216v1l-196 346q-9 14 0 28 8 13 24 13h185q31 0 50-36zm624-497q-7-12-24-12h-187q-30 0-49 35l-411 729q1 2 262 481 20 35 52 35h184q18 0 25-12 8-13-1-28l-260-476v-1l409-723q8-16 0-28zm227 148v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/youtube-play","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"youtube-play\" viewBox=\"0 0 1792.0009 1896.0833\"><path d=\"M711 1128l484-250-484-253v503zm185-862q168 0 324.5 4.5T1450 280l73 4q1 0 17 1.5t23 3 23.5 4.5 28.5 8 28 13 31 19.5 29 26.5q6 6 15.5 18.5t29 58.5 26.5 101q8 64 12.5 136.5T1792 788v176q1 145-18 290-7 55-25 99.5t-32 61.5l-14 17q-14 15-29 26.5t-31 19-28 12.5-28.5 8-24 4.5-23 3-16.5 1.5q-251 19-627 19-207-2-359.5-6.5T336 1512l-49-4-36-4q-36-5-54.5-10t-51-21-56.5-41q-6-6-15.5-18.5t-29-58.5T18 1254q-8-64-12.5-136.5T0 1004V828q-1-145 18-290 7-55 25-99.5T75 377l14-17q14-15 29-26.5t31-19.5 28-13 28.5-8 23.5-4.5 23-3 17-1.5q251-18 627-18z\"/></svg>"},{"name":"font-awesome/dropbox","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"dropbox\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M402 707l494 305-342 285L64 978zm986 555v108l-490 293v1l-1-1-1 1v-1l-489-293v-108l147 96 342-284v-2l1 1 1-1v2l343 284zM554 118l342 285-494 304L64 437zm836 589l338 271-489 319-343-285zm-151-589l489 319-338 270-494-304z\"/></svg>"},{"name":"font-awesome/stack-overflow","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"stack-overflow\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1289 1632H171v-480H11v640h1438v-640h-160v480zm-942-524l33-157 783 165-33 156zm103-374l67-146 725 339-67 145zm201-356l102-123 614 513-102 123zM1048 0l477 641-128 96L920 96zM330 1471v-159h800v159H330z\"/></svg>"},{"name":"font-awesome/instagram","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"instagram\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 896q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm138 0q0 164-115 279t-279 115-279-115-115-279 115-279 279-115 279 115 115 279zm108-410q0 38-27 65t-65 27-65-27-27-65 27-65 65-27 65 27 27 65zM768 266q-7 0-76.5-.5t-105.5 0-96.5 3-103 10T315 297q-50 20-88 58t-58 88q-11 29-18.5 71.5t-10 103-3 96.5 0 105.5.5 76.5-.5 76.5 0 105.5 3 96.5 10 103T169 1349q20 50 58 88t88 58q29 11 71.5 18.5t103 10 96.5 3 105.5 0 76.5-.5 76.5.5 105.5 0 96.5-3 103-10 71.5-18.5q50-20 88-58t58-88q11-29 18.5-71.5t10-103 3-96.5 0-105.5-.5-76.5.5-76.5 0-105.5-3-96.5-10-103T1367 443q-20-50-58-88t-88-58q-29-11-71.5-18.5t-103-10-96.5-3-105.5 0-76.5.5zm768 630q0 229-5 317-10 208-124 322t-322 124q-88 5-317 5t-317-5q-208-10-322-124T5 1213q-5-88-5-317t5-317q10-208 124-322t322-124q88-5 317-5t317 5q208 10 322 124t124 322q5 88 5 317z\"/></svg>"},{"name":"font-awesome/flickr","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"flickr\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1248 128q119 0 203.5 84.5T1536 416v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960zM698 896q0-88-62-150t-150-62-150 62-62 150 62 150 150 62 150-62 62-150zm564 0q0-88-62-150t-150-62-150 62-62 150 62 150 150 62 150-62 62-150z\"/></svg>"},{"name":"font-awesome/adn","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"adn\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 622l201 306H567zm365 530h94L768 461l-459 691h94l104-160h522zm403-256q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/bitbucket","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bitbucket\" viewBox=\"0 0 1408.5001 1896.0833\"><path d=\"M815 859q8 63-50.5 101T653 966q-39-17-53.5-58t-.5-82 52-58q36-18 72.5-12t64 35.5T815 859zm111-21q-14-107-113-164t-197-13q-63 28-100.5 88.5T481 879q4 91 77.5 155t165.5 56q91-8 152-84t50-168zm239-542q-20-27-56-44.5t-58-22-71-12.5q-291-47-566 2-43 7-66 12t-55 22-50 43q30 28 76 45.5t73.5 22T480 375q228 29 448 1 63-8 89.5-12t72.5-21.5 75-46.5zm57 1035q-8 26-15.5 76.5t-14 84-28.5 70-58 56.5q-86 48-189.5 71.5t-202 22T513 1693q-46-8-81.5-18t-76.5-27-73-43.5-52-61.5q-25-96-57-292l6-16 18-9q223 148 506.5 148t507.5-148q21 6 24 23t-5 45-8 37zm181-961q-26 167-111 655-5 30-27 56t-43.5 40-54.5 31q-252 126-610 88-248-27-394-139-15-12-25.5-26.5t-17-35-9-34-6-39.5-5.5-35q-9-50-26.5-150t-28-161.5T22 472 0 314q3-26 17.5-48.5T49 228t45-30 46-22.5 48-18.5q125-46 313-64 379-37 676 50 155 46 215 122 16 20 16.5 51t-5.5 54z\"/></svg>"},{"name":"font-awesome/bitbucket-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bitbucket-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M848 870q0-43-41-66t-77-1q-43 20-42.5 72.5T731 946q39 23 81-4t36-72zm80-16q8 66-36 121t-110 61-119-40-56-113q-2-49 25.5-93t72.5-64q70-31 141.5 10T928 854zm172-391q-20 21-53.5 34t-53 16-63.5 8q-155 20-324 0-44-6-63-9.5t-52.5-16T436 463q13-19 36-31t40-15.5 47-8.5q198-35 408-1 33 5 51 8.5t43 16 39 31.5zm42 746q0-7 5.5-26.5t3-32-17.5-16.5q-161 106-365 106t-366-106l-12 6-5 12q26 154 41 210 47 81 204 108 249 46 428-53 34-19 49-51.5t22.5-85.5 12.5-71zm130-693q9-53-8-75-43-55-155-88-216-63-487-36-132 12-226 46-38 15-59.5 25t-47 34-29.5 54q8 68 19 138t29 171 24 137q1 5 5 31t7 36 12 27 22 28q105 80 284 100 259 28 440-63 24-13 39.5-23t31-29 19.5-40q48-267 80-473zm264-100v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/tumblr","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tumblr\" viewBox=\"0 0 1241.3401 1896.0833\"><path d=\"M944 1329l80 237q-23 35-111 66t-177 32q-104 2-190.5-26T403 1564t-95-106-55.5-120-16.5-118V676H68V461q72-26 129-69.5t91-90 58-102 34-99T395 12q1-5 4.5-8.5T407 0h244v424h333v252H650v518q0 30 6.5 56t22.5 52.5 49.5 41.5 81.5 14q78-2 134-29z\"/></svg>"},{"name":"font-awesome/tumblr-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tumblr-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1136 1461l-62-183q-44 22-103 22-36 1-62-10.5t-38.5-31.5-17.5-40.5-5-43.5V776h257V582H849V256H661q-8 0-9 10-5 44-17.5 87t-39 95-77 95T400 611v165h130v418q0 57 21.5 115t65 111 121 85.5T914 1536q69-1 136.5-25t85.5-50zm400-1045v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/long-arrow-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"long-arrow-down\" viewBox=\"0 0 1007.6886 1896.0833\"><path d=\"M765 1299q8 19-5 35l-350 384q-10 10-23 10-14 0-24-10L8 1334q-13-16-5-35 9-19 29-19h224V32q0-14 9-23t23-9h192q14 0 23 9t9 23v1248h224q21 0 29 19z\"/></svg>"},{"name":"font-awesome/long-arrow-up","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"long-arrow-up\" viewBox=\"0 0 1068.1577 1896.0833\"><path d=\"M765 493q-9 19-29 19H512v1248q0 14-9 23t-23 9H288q-14 0-23-9t-9-23V512H32q-21 0-29-19t5-35L358 74q10-10 23-10 14 0 24 10l355 384q13 16 5 35z\"/></svg>"},{"name":"font-awesome/long-arrow-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"long-arrow-left\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 800v192q0 14-9 23t-23 9H512v224q0 21-19 29t-35-5L74 922q-10-10-10-23 0-14 10-24l384-354q16-14 35-6 19 9 19 29v224h1248q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/long-arrow-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"long-arrow-right\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1728 893q0 14-10 24l-384 354q-16 14-35 6-19-9-19-29v-224H32q-14 0-23-9t-9-23V800q0-14 9-23t23-9h1248V544q0-21 19-29t35 5l384 350q10 10 10 23z\"/></svg>"},{"name":"font-awesome/apple","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"apple\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1393 1215q-39 125-123 250-129 196-257 196-49 0-140-32-86-32-151-32-61 0-142 33-81 34-132 34-152 0-301-259Q0 1144 0 902q0-228 113-374 113-144 284-144 72 0 177 30 104 30 138 30 45 0 143-34 102-34 173-34 119 0 213 65 52 36 104 100-79 67-114 118-65 94-65 207 0 124 69 223t158 126zM1017 42q0 61-29 136-30 75-93 138-54 54-108 72-37 11-104 17 3-149 78-257Q835 41 1011 0q1 3 2.5 11t2.5 11q0 4 .5 10t.5 10z\"/></svg>"},{"name":"font-awesome/windows","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"windows\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M682 1006v651L0 1563v-557h682zm0-743v659H0V357zm982 743v786l-907-125v-661h907zm0-878v794H757V253z\"/></svg>"},{"name":"font-awesome/android","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"android\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M493 483q16 0 27.5-11.5T532 444t-11.5-27.5T493 405t-27 11.5-11 27.5 11 27.5 27 11.5zm422 0q16 0 27-11.5t11-27.5-11-27.5-27-11.5-27.5 11.5T876 444t11.5 27.5T915 483zM103 667q42 0 72 30t30 72v430q0 43-29.5 73t-72.5 30-73-30-30-73V769q0-42 30-72t73-30zm1060 19v666q0 46-32 78t-77 32h-75v227q0 43-30 73t-73 30-73-30-30-73v-227H635v227q0 43-30 73t-73 30q-42 0-72-30t-30-73l-1-227h-74q-46 0-78-32t-32-78V686h918zM931 281q107 55 171 153.5t64 215.5H241q0-117 64-215.5T477 281l-71-131q-7-13 5-20 13-6 20 6l72 132q95-42 201-42t201 42l72-132q7-12 20-6 12 7 5 20zm477 488v430q0 43-30 73t-73 30q-42 0-72-30t-30-73V769q0-43 30-72.5t72-29.5q43 0 73 29.5t30 72.5z\"/></svg>"},{"name":"font-awesome/linux","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"linux\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M663 411q-11 1-15.5 10.5T639 431q-5 1-5-5 0-12 19-15h10zm87 14q-4 1-11.5-6.5T721 414q24-11 32 2 3 6-3 9zM399 852q-4-1-6 3t-4.5 12.5T383 881t-10 13q-10 11-1 12 4 1 12.5-7t12.5-18q1-3 2-7t2-6 1.5-4.5.5-4v-3l-1-2.5-3-2zm855 359q0-18-55-42 4-15 7.5-27.5t5-26 3-21.5.5-22.5-1-19.5-3.5-22-4-20.5-5-25-5.5-26.5q-10-48-47-103t-72-75q24 20 57 83 87 162 54 278-11 40-50 42-31 4-38.5-18.5t-8-83.5-11.5-107q-9-39-19.5-69t-19.5-45.5-15.5-24.5-13-15-7.5-7q-14-62-31-103t-29.5-56-23.5-33-15-40q-4-21 6-53.5t4.5-49.5-44.5-25q-15-3-44.5-18T792 419q-8-1-11-26t8-51 36-27q37-3 51 30t4 58q-11 19-2 26.5t30 .5q13-4 13-36v-37q-5-30-13.5-50t-21-30.5-23.5-15-27-7.5q-107 8-89 134 0 15-1 15-9-9-29.5-10.5t-33 .5-15.5-5q1-57-16-90t-45-34q-27-1-41.5 27.5T549 351q-1 15 3.5 37t13 37.5T581 439q10-3 16-14 4-9-7-8-7 0-15.5-14.5T565 369q-1-22 9-37t34-14q17 0 27 21t9.5 39-1.5 22q-22 15-31 29-8 12-27.5 23.5T564 465q-13 14-15.5 27t7.5 18q14 8 25 19.5t16 19 18.5 13T651 568q47 2 102-15 2-1 23-7t34.5-10.5 29.5-13 21-17.5q9-14 20-8 5 3 6.5 8.5t-3 12T868 527q-20 6-56.5 21.5T766 568q-44 19-70 23-25 5-79-2-10-2-9 2t17 19q25 23 67 22 17-1 36-7t36-14 33.5-17.5 30-17 24.5-12 17.5-2.5 8.5 11q0 2-1 4.5t-4 5-6 4.5-8.5 5-9 4.5-10 5-9.5 4.5q-28 14-67.5 44T696 693t-49 1q-21-11-63-73-22-31-25-22-1 3-1 10 0 25-15 56.5T513.5 721t-21 58 11.5 63q-23 6-62.5 90T394 1073q-2 18-1.5 69t-5.5 59q-8 24-29 3-32-31-36-94-2-28 4-56 4-19-1-18-2 1-4 5-36 65 10 166 5 12 25 28t24 20q20 23 104 90.5t93 76.5q16 15 17.5 38t-14 43-45.5 23q8 15 29 44.5t28 54 7 70.5q46-24 7-92-4-8-10.5-16t-9.5-12-2-6q3-5 13-9.5t20 2.5q46 52 166 36 133-15 177-87 23-38 34-30 12 6 10 52-1 25-23 92-9 23-6 37.5t24 15.5q3-19 14.5-77t13.5-90q2-21-6.5-73.5t-7.5-97 23-70.5q15-18 51-18 1-37 34.5-53t72.5-10.5 60 22.5zM626 384q3-17-2.5-30T612 339q-9-2-9 7 2 5 5 6 10 0 7 15-3 20 8 20 3 0 3-3zm419 197q-2-8-6.5-11.5t-13-5-14.5-5.5q-5-3-9.5-8t-7-8-5.5-6.5-4-4-4 1.5q-14 16 7 43.5t39 31.5q9 1 14.5-8t3.5-20zM867 368q0-11-5-19.5T851 336t-9-3q-6 0-8 2t0 4 5 3q14 4 18 31 0 3 8-2 2-2 2-3zm54-233q0-2-2.5-5t-9-7-9.5-6q-15-15-24-15-9 1-11.5 7.5t-1 13-.5 12.5q-1 4-6 10.5t-6 9 3 8.5q4 3 8 0t11-9 15-9q1-1 9-1t15-2 9-7zm565 1341q20 12 31 24.5t12 24-2.5 22.5-15.5 22-23.5 19.5-30 18.5-31.5 16.5-32 15.5-27 13q-38 19-85.5 56t-75.5 64q-17 16-68 19.5t-89-14.5q-18-9-29.5-23.5T1003 1728t-22-19.5-47-9.5q-44-1-130-1-19 0-57 1.5t-58 2.5q-44 1-79.5 15t-53.5 30-43.5 28.5T459 1787q-29-1-111-31t-146-43q-19-4-51-9.5t-50-9-39.5-9.5-33.5-14.5-17-19.5q-10-23 7-66.5t18-54.5q1-16-4-40t-10-42.5-4.5-36.5 10.5-27q14-12 57-14t60-12q30-18 42-35t12-51q21 73-32 106-32 20-83 15-34-3-43 10-13 15 5 57 2 6 8 18t8.5 18 4.5 17 1 22q0 15-17 49t-14 48q3 17 37 26 20 6 84.5 18.5T258 1697q24 6 74 22t82.5 23 55.5 4q43-6 64.5-28t23-48-7.5-58.5-19-52-20-36.5q-121-190-169-242-68-74-113-40-11 9-15-15-3-16-2-38 1-29 10-52t24-47 22-42q8-21 26.5-72t29.5-78 30-61 39-54q110-143 124-195-12-112-16-310-2-90 24-151.5T631 21Q670 0 735 0q53-1 106 13.5T930 55q57 42 91.5 121.5T1051 324q-5 95 30 214 34 113 133 218 55 59 99.5 163t59.5 191q8 49 5 84.5t-12 55.5-20 22q-10 2-23.5 19t-27 35.5-40.5 33.5-61 14q-18-1-31.5-5t-22.5-13.5-13.5-15.5-11.5-20.5-9-19.5q-22-37-41-30t-28 49 7 97q20 70 1 195-10 65 18 100.5t73 33 85-35.5q59-49 89.5-66.5T1414 1600q53-18 77-36.5t18.5-34.5-25-28.5-51.5-23.5q-33-11-49.5-48t-15-72.5 15.5-47.5q1 31 8 56.5t14.5 40.5 20.5 28.5 21 19 21.5 13 16.5 9.5z\"/></svg>"},{"name":"font-awesome/dribbble","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"dribbble\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 1500q-42-241-140-498h-2l-2 1q-16 6-43 16.5t-101 49-137 82T468 1265t-103 148l-15-11q184 150 418 150 132 0 256-52zM839 893q-21-49-53-111-311 93-673 93-1 7-1 21 0 124 44 236.5T280 1334q50-89 123.5-166.5T546 1043t130.5-81 99.5-48l37-13q4-1 13-3.5t13-4.5zM732 681Q612 468 488 303q-138 65-234 186T126 761q302 0 606-80zm684 319q-210-60-409-29 87 239 128 469 111-75 185-189.5t96-250.5zM611 259q-1 0-2 1 1-1 2-1zm590 145q-185-164-433-164-76 0-155 19 131 170 246 382 69-26 130-60.5t96.5-61.5 65.5-57 37.5-40.5zm223 485q-3-232-149-410l-1 1q-9 12-19 24.5t-43.5 44.5-71 60.5-100 65T909 739q25 53 44 95 2 5 6.5 17t7.5 17q36-5 74.5-7t73.5-2 69 1.5 64 4 56.5 5.5 48 6.5 36.5 6 25 4.5zm112 7q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/skype","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"skype\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1173 1063q0-50-19.5-91.5T1105 903t-73-49-82.5-34-87.5-23l-104-24q-30-7-44-10.5T679 751t-30-16-16.5-21-7.5-30q0-77 144-77 43 0 77 12t54 28.5 38 33.5 40 29 48 12q47 0 75.5-32t28.5-77q0-55-56-99.5T932 446t-182-23q-68 0-132 15.5t-119.5 47-89 87T376 701q0 61 19 106.5t56 75.5 80 48.5T634 964l146 36q90 22 112 36 32 20 32 60 0 39-40 64.5T779 1186q-51 0-91.5-16t-65-38.5-45.5-45-46-38.5-54-16q-50 0-75.5 30t-25.5 75q0 92 122 157.5t291 65.5q73 0 140-18.5t122.5-53.5 88.5-93.5 33-131.5zm363 217q0 159-112.5 271.5T1152 1664q-130 0-234-80-77 16-150 16-143 0-273.5-55.5t-225-150-150-225T64 896q0-73 16-150Q0 642 0 512q0-159 112.5-271.5T384 128q130 0 234 80 77-16 150-16 143 0 273.5 55.5t225 150 150 225T1472 896q0 73-16 150 80 104 80 234z\"/></svg>"},{"name":"font-awesome/foursquare","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"foursquare\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1000 434l37-194q5-23-9-40t-35-17H281q-23 0-38.5 17T227 237v1101q0 7 6 1l291-352q23-26 38-33.5t48-7.5h239q22 0 37-14.5t18-29.5q24-130 37-191 4-21-11.5-40T893 652H599q-29 0-48-19t-19-48v-42q0-29 19-47.5t48-18.5h346q18 0 35-13.5t20-29.5zm227-222q-15 73-53.5 266.5t-69.5 350-35 173.5q-6 22-9 32.5t-14 32.5-24.5 33-38.5 21-58 10H654q-13 0-22 10-8 9-426 494-22 25-58.5 28.5T99 1658q-55-22-55-98V150q0-55 38-102.5T202 0h888q95 0 127 53t10 159zm0 0l-158 790q4-17 35-173.5t69.5-350T1227 212z\"/></svg>"},{"name":"font-awesome/trello","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"trello\" viewBox=\"0 0 1567.1139 1896.0833\"><path d=\"M704 1344V320q0-14-9-23t-23-9H192q-14 0-23 9t-9 23v1024q0 14 9 23t23 9h480q14 0 23-9t9-23zm672-384V320q0-14-9-23t-23-9H864q-14 0-23 9t-9 23v640q0 14 9 23t23 9h480q14 0 23-9t9-23zm160-768v1408q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V192q0-26 19-45t45-19h1408q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/female","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"female\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1280 1056q0 40-28 68t-68 28q-51 0-80-43L877 768h-45v132l247 411q9 15 9 33 0 26-19 45t-45 19H832v272q0 46-33 79t-79 33H560q-46 0-79-33t-33-79v-272H256q-26 0-45-19t-19-45q0-18 9-33l247-411V768h-45l-227 341q-29 43-80 43-40 0-68-28t-28-68q0-29 16-53l256-384q73-107 176-107h384q103 0 176 107l256 384q16 24 16 53zM864 256q0 93-65.5 158.5T640 480t-158.5-65.5T416 256t65.5-158.5T640 32t158.5 65.5T864 256z\"/></svg>"},{"name":"font-awesome/male","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"male\" viewBox=\"0 0 1177.3537 1896.0833\"><path d=\"M1024 704v416q0 40-28 68t-68 28-68-28-28-68V768h-64v912q0 46-33 79t-79 33-79-33-33-79v-464h-64v464q0 46-33 79t-79 33-79-33-33-79V768h-64v352q0 40-28 68t-68 28-68-28-28-68V704q0-80 56-136t136-56h640q80 0 136 56t56 136zM736 256q0 93-65.5 158.5T512 480t-158.5-65.5T288 256t65.5-158.5T512 32t158.5 65.5T736 256z\"/></svg>"},{"name":"font-awesome/gittip","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gittip\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M773 1302l350-473q16-22 24.5-59t-6-85-61.5-79q-40-26-83-25.5T923.5 598 869 643q-36 40-96 40-59 0-95-40-24-28-54.5-45T550 580.5 466 606q-46 31-60.5 79t-6 85 24.5 59zm763-406q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/gratipay","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gratipay\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M773 1302l350-473q16-22 24.5-59t-6-85-61.5-79q-40-26-83-25.5T923.5 598 869 643q-36 40-96 40-59 0-95-40-24-28-54.5-45T550 580.5 466 606q-46 31-60.5 79t-6 85 24.5 59zm763-406q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/sun-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sun-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1472 896q0-117-45.5-223.5t-123-184-184-123T896 320t-223.5 45.5-184 123-123 184T320 896t45.5 223.5 123 184 184 123T896 1472t223.5-45.5 184-123 123-184T1472 896zm276 277q-4 15-20 20l-292 96v306q0 16-13 26-15 10-29 4l-292-94-180 248q-10 13-26 13t-26-13l-180-248-292 94q-14 6-29-4-13-10-13-26v-306l-292-96q-16-5-20-20-5-17 4-29l180-248L48 648q-9-13-4-29 4-15 20-20l292-96V197q0-16 13-26 15-10 29-4l292 94L870 13q9-12 26-12t26 12l180 248 292-94q14-6 29 4 13 10 13 26v306l292 96q16 5 20 20 5 16-4 29l-180 248 180 248q9 12 4 29z\"/></svg>"},{"name":"font-awesome/moon-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"moon-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1262 1303q-54 9-110 9-182 0-337-90T570 977t-90-337q0-192 104-357-201 60-328.5 229T128 896q0 130 51 248.5t136.5 204 204 136.5 248.5 51q144 0 273.5-61.5T1262 1303zm203-85q-94 203-283.5 324.5T768 1664q-156 0-298-61t-245-164-164-245T0 896q0-153 57.5-292.5t156-241.5T449 197.5 739 129q44-2 61 39 18 41-15 72-86 78-131.5 181.5T608 640q0 148 73 273t198 198 273 73q118 0 228-51 41-18 72 13 14 14 17.5 34t-4.5 38z\"/></svg>"},{"name":"font-awesome/archive","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"archive\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1088 832q0-26-19-45t-45-19H768q-26 0-45 19t-19 45 19 45 45 19h256q26 0 45-19t19-45zm576-192v960q0 26-19 45t-45 19H192q-26 0-45-19t-19-45V640q0-26 19-45t45-19h1408q26 0 45 19t19 45zm64-448v256q0 26-19 45t-45 19H128q-26 0-45-19t-19-45V192q0-26 19-45t45-19h1536q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/bug","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bug\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1632 960q0 26-19 45t-45 19h-224q0 171-67 290l208 209q19 19 19 45t-19 45q-18 19-45 19t-45-19l-198-197q-5 5-15 13t-42 28.5-65 36.5-82 29-97 13V640H768v896q-51 0-101.5-13.5t-87-33-66-39T470 1418l-15-14-183 207q-20 21-48 21-24 0-43-16-19-18-20.5-44.5T176 1525l202-227q-58-114-58-274H96q-26 0-45-19t-19-45 19-45 45-19h224V602L147 429q-19-19-19-45t19-45 45-19 45 19l173 173h844l173-173q19-19 45-19t45 19 19 45-19 45l-173 173v294h224q26 0 45 19t19 45zm-480-576H512q0-133 93.5-226.5T832 64t226.5 93.5T1152 384z\"/></svg>"},{"name":"font-awesome/vk","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"vk\" viewBox=\"0 0 1921 1896.0833\"><path d=\"M1918 520q23 64-150 294-24 32-65 85-40 51-55 72t-30.5 49.5-12 42 13 34.5 32.5 43 57 53q4 2 5 4 141 131 191 221 3 5 6.5 12.5t7 26.5-.5 34-25 27.5-59 12.5l-256 4q-24 5-56-5t-52-22l-20-12q-30-21-70-64t-68.5-77.5-61-58-56.5-15.5q-3 1-8 3.5t-17 14.5-21.5 29.5-17 52-6.5 77.5q0 15-3.5 27.5t-7.5 18.5l-4 5q-18 19-53 22H940q-71 4-146-16.5t-131.5-53-103-66T489 1338l-25-24q-10-10-27.5-30t-71.5-91-106-151-122.5-211T6 559q-6-16-6-27t3-16l4-6q15-19 57-19l274-2q12 2 23 6.5t16 8.5l5 3q16 11 24 32 20 50 46 103.5t41 81.5l16 29q29 60 56 104t48.5 68.5T655 964t34 14 27-5q2-1 5-5t12-22 13.5-47 9.5-81 0-125q-2-40-9-73t-14-46l-6-12q-25-34-85-43-13-2 5-24 16-19 38-30 53-26 239-24 82 1 135 13 20 5 33.5 13.5t20.5 24 10.5 32 3.5 45.5-1 55-2.5 70.5-1.5 82.5q0 11-1 42t-.5 48 3.5 40.5 11.5 39T1158 971q8 2 17 4t26-11 38-34.5 52-67 68-107.5q60-104 107-225 4-10 10-17.5t11-10.5l4-3 5-2.5 13-3 20-.5 288-2q39-5 64 2.5t31 16.5z\"/></svg>"},{"name":"font-awesome/weibo","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"weibo\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M675 1284q21-34 11-69t-45-50q-34-14-73-1t-60 46q-22 34-13 68.5t43 50.5 74.5 2.5T675 1284zm94-121q8-13 3.5-26.5T755 1118q-14-5-28.5.5T705 1137q-17 31 13 45 14 5 29-.5t22-18.5zm174 107q-45 102-158 150t-224 12q-107-34-147.5-126.5T420 1118q47-93 151.5-139T782 960q111 29 158.5 119.5T943 1270zm312-160q-9-96-89-170T957.5 831 683 810q-223 23-369.5 141.5T181 1216q9 96 89 170t208.5 109 274.5 21q223-23 369.5-141.5T1255 1110zm308 4q0 68-37 139.5t-109 137-168.5 117.5-226 83-270.5 31-275-33.5-240.5-93-171.5-151T0 1145q0-115 69.5-245T267 642q169-169 341.5-236t246.5 7q65 64 20 209-4 14-1 20t10 7 14.5-.5T912 645l6-2q139-59 246-59t153 61q45 63 0 178-2 13-4.5 20t4.5 12.5 12 7.5 17 6q57 18 103 47t80 81.5 34 116.5zm-74-624q42 47 54.5 108.5T1537 716q-8 23-29.5 34t-44.5 4q-23-8-34-29.5t-4-44.5q20-63-24-111t-107-35q-24 5-45-8t-25-37q-5-24 8-44.5t37-25.5q60-13 119 5.5t101 65.5zm181-163q87 96 112.5 222.5T1769 791q-9 27-34 40t-52 4-40-34-5-52q28-82 10-172t-80-158q-62-69-148-95.5t-173-8.5q-28 6-52-9.5t-30-43.5 9.5-51.5T1218 181q123-26 244 11.5T1670 327z\"/></svg>"},{"name":"font-awesome/renren","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"renren\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1133 1570q-171 94-368 94-196 0-367-94 138-87 235.5-211T765 1091q35 144 132.5 268t235.5 211zM638 142v485q0 252-126.5 459.5T181 1393Q0 1178 0 898q0-187 83.5-349.5T313 279t325-137zm898 756q0 280-181 495-204-99-330.5-306.5T898 627V142q179 30 325 137t229.5 269.5T1536 898z\"/></svg>"},{"name":"font-awesome/pagelines","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pagelines\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1402 1103q-32 80-76 138t-91 88.5-99 46.5-101.5 14.5-96.5-8.5-86.5-22-69.5-27.5-46-22.5l-17-10q-113 228-289.5 359.5T45 1792q-19 0-32-13t-13-32 13-31.5 32-12.5q173-1 322.5-107.5T619 1301q-36 14-72 23t-83 13-91-2.5-93-28.5-92-59-84.5-100T29 1001q114-47 214-57t167.5 7.5T535 1008t88.5 77 56.5 82q53-131 79-291-7 1-18 2.5t-46.5 2.5-69.5-.5-81.5-10-88.5-23-84-42.5-75-65-54.5-94.5T213 518q70-28 133.5-36.5t112.5 1 92 30 73.5 50 56 61 42 63 27.5 56 16 39.5l4 16q12-122 12-195-8-6-21.5-16t-49-44.5T648 471t-54-93-33-112.5 12-127T643 0q73 25 127.5 61.5T855 138t48 85 20.5 89-.5 85.5-13 76.5-19 62-17 42l-7 15q1 4 1 50t-1 72q3-7 10-18.5t30.5-43 50.5-58 71-55.5 91.5-44.5 112-14.5 132.5 24q-2 78-21.5 141.5t-50 104.5-69.5 71.5-81.5 45.5-84.5 24-80 9.5-67.5-1T864 896l-17-3q-23 147-73 283 6-7 18-18.5t49.5-41T919 1064t99.5-42 117.5-20 129 23.5 137 77.5z\"/></svg>"},{"name":"font-awesome/stack-exchange","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"stack-exchange\" viewBox=\"0 0 1297.2512 1896.0833\"><path d=\"M1259 1253v66q0 85-57.5 144.5T1063 1523h-57l-260 269v-269H217q-81 0-138.5-59.5T21 1319v-66h1238zm0-326v255H21V927h1238zm0-328v255H21V599h1238zm0-140v67H21v-67q0-84 57.5-143.5T217 256h846q81 0 138.5 59.5T1259 459z\"/></svg>"},{"name":"font-awesome/arrow-circle-o-right","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-circle-o-right\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1152 896q0 14-9 23l-320 320q-9 9-23 9-13 0-22.5-9.5T768 1216v-192H416q-13 0-22.5-9.5T384 992V800q0-13 9.5-22.5T416 768h352V576q0-14 9-23t23-9q12 0 24 10l319 319q9 9 9 23zm160 0q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/arrow-circle-o-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"arrow-circle-o-left\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1152 800v192q0 13-9.5 22.5t-22.5 9.5H768v192q0 14-9 23t-23 9q-12 0-24-10L393 919q-9-9-9-23t9-23l320-320q9-9 23-9 13 0 22.5 9.5T768 576v192h352q13 0 22.5 9.5t9.5 22.5zm160 96q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/toggle-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"toggle-left\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 576v640q0 26-19 45t-45 19q-20 0-37-12L475 948q-27-19-27-52t27-52l448-320q17-12 37-12 26 0 45 19t19 45zm256 800V416q0-13-9.5-22.5T1248 384H288q-13 0-22.5 9.5T256 416v960q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5-9.5t9.5-22.5zm256-960v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/caret-square-o-left","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"caret-square-o-left\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 576v640q0 26-19 45t-45 19q-20 0-37-12L475 948q-27-19-27-52t27-52l448-320q17-12 37-12 26 0 45 19t19 45zm256 800V416q0-13-9.5-22.5T1248 384H288q-13 0-22.5 9.5T256 416v960q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5-9.5t9.5-22.5zm256-960v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/dot-circle-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"dot-circle-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 896q0 106-75 181t-181 75-181-75-75-181 75-181 181-75 181 75 75 181zM768 352q-148 0-273 73T297 623t-73 273 73 273 198 198 273 73 273-73 198-198 73-273-73-273-198-198-273-73zm768 544q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/wheelchair","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"wheelchair\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1023 1187l102 204q-58 179-210 290t-339 111q-156 0-288.5-77.5t-210-210T0 1216q0-181 104.5-330T379 675l17 131q-122 54-195 165.5T128 1216q0 185 131.5 316.5T576 1664q126 0 232.5-65t165-175.5T1023 1187zm548 100l58 114-256 128q-13 7-29 7-40 0-57-35l-239-477H576q-24 0-42.5-16.5T512 967l-96-779q-2-17 6-42 14-51 57-82.5T576 32q66 0 113 47t47 113q0 69-52 117.5T564 351l37 289h423v128H617l16 128h455q40 0 57 35l228 455z\"/></svg>"},{"name":"font-awesome/vimeo-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"vimeo-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1292 638q10-216-161-222-231-8-312 261 44-19 82-19 85 0 74 96-4 57-74 167t-105 110q-43 0-82-169-13-54-45-255-30-189-160-177-59 7-164 100l-81 72-81 72 52 67q76-52 87-52 57 0 107 179 15 55 45 164.5t45 164.5q68 179 164 179 157 0 383-294 220-283 226-444zm244-222v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/turkish-lira","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"turkish-lira\" viewBox=\"0 0 1152 1896.0833\"><path d=\"M1152 832q0 191-94.5 353T801 1441.5 448 1536H288q-14 0-23-9t-9-23V893L41 959q-3 1-9 1-10 0-19-6-13-10-13-26V800q0-23 23-31l233-71v-93L41 671q-3 1-9 1-10 0-19-6-13-10-13-26V512q0-23 23-31l233-71V160q0-14 9-23t23-9h160q14 0 23 9t9 23v181l375-116q15-5 28 5t13 26v128q0 23-23 31L480 536v93l375-116q15-5 28 5t13 26v128q0 23-23 31L480 824v487q188-13 318-151t130-328q0-14 9-23t23-9h160q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/try","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"try\" viewBox=\"0 0 1152 1896.0833\"><path d=\"M1152 832q0 191-94.5 353T801 1441.5 448 1536H288q-14 0-23-9t-9-23V893L41 959q-3 1-9 1-10 0-19-6-13-10-13-26V800q0-23 23-31l233-71v-93L41 671q-3 1-9 1-10 0-19-6-13-10-13-26V512q0-23 23-31l233-71V160q0-14 9-23t23-9h160q14 0 23 9t9 23v181l375-116q15-5 28 5t13 26v128q0 23-23 31L480 536v93l375-116q15-5 28 5t13 26v128q0 23-23 31L480 824v487q188-13 318-151t130-328q0-14 9-23t23-9h160q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/plus-square-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"plus-square-o\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M1152 800v64q0 14-9 23t-23 9H768v352q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V896H288q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352V416q0-14 9-23t23-9h64q14 0 23 9t9 23v352h352q14 0 23 9t9 23zm128 448V416q0-66-47-113t-113-47H288q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5T1120 1536H288q-119 0-203.5-84.5T0 1248V416q0-119 84.5-203.5T288 128h832q119 0 203.5 84.5T1408 416z\"/></svg>"},{"name":"font-awesome/space-shuttle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"space-shuttle\" viewBox=\"0 0 2176 1896.0833\"><path d=\"M620 1120q-110 64-268 64H224v-64h-64q-13 0-22.5-23.5T128 1040q0-24 7-49-58-2-96.5-10.5T0 960t38.5-20.5T135 929q-7-25-7-49 0-33 9.5-56.5T160 800h64v-64h128q158 0 268 64h1113q42 7 106.5 18t80.5 14q89 15 150 40.5t83.5 47.5 22.5 40-22.5 40-83.5 47.5-150 40.5q-16 3-80.5 14t-106.5 18H620zm1119-252q53 36 53 92t-53 92l81 30q68-48 68-122t-68-122zM625 1136h1015q-217 38-456 80-57 0-113 24t-83 48l-28 24-288 288q-26 26-70.5 45t-89.5 19h-96l-93-464h29q157 0 273-64zM352 720h-29l93-464h96q46 0 90 19t70 45l288 288q4 4 11 10.5t30.5 23 48.5 29 61.5 23T1184 704l456 80H625q-116-64-273-64z\"/></svg>"},{"name":"font-awesome/slack","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"slack\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1519 776q62 0 103.5 40.5T1664 918q0 97-93 130l-172 59 56 167q7 21 7 47 0 59-42 102t-101 43q-47 0-85.5-27t-53.5-72l-55-165-310 106 55 164q8 24 8 47 0 59-42 102t-102 43q-47 0-85-27t-53-72l-55-163-153 53q-29 9-50 9-61 0-101.5-40T196 1323q0-47 27.5-85t71.5-53l156-53-105-313-156 54q-26 8-48 8-60 0-101-40.5T0 740q0-47 27.5-85T99 602l157-53-53-159q-8-24-8-47 0-60 42-102.5T339 198q47 0 85 27t53 72l54 160 310-105-54-160q-8-24-8-47 0-59 42.5-102T923 0q47 0 85.5 27.5T1062 99l53 161 162-55q21-6 43-6 60 0 102.5 39.5T1465 337q0 45-30 81.5t-74 51.5l-157 54 105 316 164-56q24-8 46-8zm-794 262l310-105-105-315-310 107z\"/></svg>"},{"name":"font-awesome/envelope-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"envelope-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1248 128q119 0 203.5 84.5T1536 416v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960zm32 1056V748q-31 35-64 55-34 22-132.5 85T932 987q-98 69-164 69t-164-69q-47-32-142-92.5T320 802q-12-8-33-27t-31-27v436q0 40 28 68t68 28h832q40 0 68-28t28-68zm0-573q0-41-27.5-70t-68.5-29H352q-40 0-68 28t-28 68q0 37 30.5 76.5T354 749q47 32 137.5 89T621 921q3 2 17 11.5t21 14 21 13 23.5 13T725 982t22.5 7.5T768 992t20.5-2.5T811 982t21.5-9.5 23.5-13 21-13 21-14 17-11.5l267-174q35-23 66.5-62.5T1280 611z\"/></svg>"},{"name":"font-awesome/wordpress","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"wordpress\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M127 896q0-163 67-313l367 1005q-196-95-315-281T127 896zm1288-39q0 19-2.5 38.5t-10 49.5-11.5 44-17.5 59-17.5 58l-76 256-278-826q46-3 88-8 19-2 26-18.5t-2.5-31T1085 465l-205 10q-75-1-202-10-12-1-20.5 5T646 485t-1.5 18.5 9 16.5 19.5 8l80 8 120 328-168 504-280-832q46-3 88-8 19-2 26-18.5t-2.5-31T508 465l-205 10q-7 0-23-.5t-26-.5q105-160 274.5-253.5T896 127q147 0 280.5 53T1415 329h-10q-55 0-92 40.5t-37 95.5q0 12 2 24t4 21.5 8 23 9 21 12 22.5 12.5 21 14.5 24 14 23q63 107 63 212zM909 963l237 647q1 6 5 11-126 44-255 44-112 0-217-32zm661-436q95 174 95 369 0 209-104 385.5T1282 1560l235-678q59-169 59-276 0-42-6-79zM896 0q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0zm0 1751q173 0 331.5-68t273-182.5 182.5-273 68-331.5-68-331.5-182.5-273-273-182.5T896 41t-331.5 68-273 182.5-182.5 273T41 896t68 331.5 182.5 273 273 182.5 331.5 68z\"/></svg>"},{"name":"font-awesome/openid","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"openid\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1086 0v1536l-272 128q-228-20-414-102t-293-208.5T0 1081q0-140 100.5-263.5t275-205.5T767 504v172q-217 38-356.5 150T271 1081q0 152 154.5 267T814 1493V133zm669 582l37 390-525-114 147-83q-119-70-280-99V504q277 33 481 157z\"/></svg>"},{"name":"font-awesome/institution","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"institution\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M960 0l960 384v128h-128q0 26-20.5 45t-48.5 19H197q-28 0-48.5-19T128 512H0V384zM256 640h256v768h128V640h256v768h128V640h256v768h128V640h256v768h59q28 0 48.5 19t20.5 45v64H128v-64q0-26 20.5-45t48.5-19h59V640zm1595 960q28 0 48.5 19t20.5 45v128H0v-128q0-26 20.5-45t48.5-19h1782z\"/></svg>"},{"name":"font-awesome/bank","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bank\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M960 0l960 384v128h-128q0 26-20.5 45t-48.5 19H197q-28 0-48.5-19T128 512H0V384zM256 640h256v768h128V640h256v768h128V640h256v768h128V640h256v768h59q28 0 48.5 19t20.5 45v64H128v-64q0-26 20.5-45t48.5-19h59V640zm1595 960q28 0 48.5 19t20.5 45v128H0v-128q0-26 20.5-45t48.5-19h1782z\"/></svg>"},{"name":"font-awesome/university","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"university\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M960 0l960 384v128h-128q0 26-20.5 45t-48.5 19H197q-28 0-48.5-19T128 512H0V384zM256 640h256v768h128V640h256v768h128V640h256v768h128V640h256v768h59q28 0 48.5 19t20.5 45v64H128v-64q0-26 20.5-45t48.5-19h59V640zm1595 960q28 0 48.5 19t20.5 45v128H0v-128q0-26 20.5-45t48.5-19h1782z\"/></svg>"},{"name":"font-awesome/mortar-board","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mortar-board\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1774 836l18 316q4 69-82 128t-235 93.5-323 34.5-323-34.5-235-93.5-82-128l18-316 574 181q22 7 48 7t48-7zm530-324q0 23-22 31L1162 895q-4 1-10 1t-10-1L490 689q-43 34-71 111.5T385 979q63 36 63 109 0 69-58 107l58 433q2 14-8 25-9 11-24 11H224q-15 0-24-11-10-11-8-25l58-433q-58-38-58-107 0-73 65-111 11-207 98-330L22 543q-22-8-22-31t22-31l1120-352q4-1 10-1t10 1l1120 352q22 8 22 31z\"/></svg>"},{"name":"font-awesome/graduation-cap","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"graduation-cap\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1774 836l18 316q4 69-82 128t-235 93.5-323 34.5-323-34.5-235-93.5-82-128l18-316 574 181q22 7 48 7t48-7zm530-324q0 23-22 31L1162 895q-4 1-10 1t-10-1L490 689q-43 34-71 111.5T385 979q63 36 63 109 0 69-58 107l58 433q2 14-8 25-9 11-24 11H224q-15 0-24-11-10-11-8-25l58-433q-58-38-58-107 0-73 65-111 11-207 98-330L22 543q-22-8-22-31t22-31l1120-352q4-1 10-1t10 1l1120 352q22 8 22 31z\"/></svg>"},{"name":"font-awesome/yahoo","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"yahoo\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M859 957l13 707q-62-11-105-11-41 0-105 11l13-707q-40-69-168.5-295.5T290 287 109 0q58 15 108 15 44 0 111-15 63 111 133.5 229.5t167 276.5T767 733q37-61 109.5-177.5t117.5-190 105-176T1206 0q54 14 107 14 56 0 114-14-28 39-60 88.5t-49.5 78.5-56.5 96-49 84q-146 248-353 610z\"/></svg>"},{"name":"font-awesome/google","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"google\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 786h725q12 67 12 128 0 217-91 387.5T1154.5 1568 768 1664q-157 0-299-60.5T224 1440 60.5 1195 0 896t60.5-299T224 352t245-163.5T768 128q300 0 515 201l-209 201Q951 411 768 411q-129 0-238.5 65T356 652.5 292 896t64 243.5T529.5 1316t238.5 65q87 0 160-24t120-60 82-82 51.5-87 22.5-78H768V786z\"/></svg>"},{"name":"font-awesome/reddit","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"reddit\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1095 1167q16 16 0 31-62 62-199 62t-199-62q-16-15 0-31 6-6 15-6t15 6q48 49 169 49 120 0 169-49 6-6 15-6t15 6zM788 986q0 37-26 63t-63 26-63.5-26-26.5-63q0-38 26.5-64t63.5-26 63 26.5 26 63.5zm395 0q0 37-26.5 63t-63.5 26-63-26-26-63 26-63.5 63-26.5 63.5 26 26.5 64zm251-120q0-49-35-84t-85-35-86 36q-130-90-311-96l63-283 200 45q0 37 26 63t63 26 63.5-26.5T1359 448t-26.5-63.5T1269 358q-54 0-80 50l-221-49q-19-5-25 16l-69 312q-180 7-309 97-35-37-87-37-50 0-85 35t-35 84q0 35 18.5 64t49.5 44q-6 27-6 56 0 142 140 243t337 101q198 0 338-101t140-243q0-32-7-57 30-15 48-43.5t18-63.5zm358 30q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/reddit-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"reddit-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M939 1129q13 13 0 26-53 53-171 53t-171-53q-13-13 0-26 5-6 13-6t13 6q42 42 145 42t145-42q5-6 13-6t13 6zM676 973q0 31-23 54t-54 23-54-23-23-54q0-32 22.5-54.5T599 896t54.5 22.5T676 973zm338 0q0 31-23 54t-54 23-54-23-23-54q0-32 22.5-54.5T937 896t54.5 22.5T1014 973zm215-103q0-42-30-72t-73-30q-42 0-73 31-113-78-267-82l54-243 171 39q1 32 23.5 54t53.5 22q32 0 54.5-22.5T1165 512t-22.5-54.5T1088 435q-48 0-69 43l-189-42q-17-5-21 13l-60 268q-154 6-265 83-30-32-74-32-43 0-73 30t-30 72q0 30 16 55t42 38q-5 25-5 48 0 122 120 208.5t289 86.5q170 0 290-86.5t120-208.5q0-25-6-49 25-13 40.5-37.5T1229 870zm307-454v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/stumbleupon-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"stumbleupon-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M866 839l90-27v-62q0-79-58-135t-138-56-138 55.5T564 749v283q0 20-14 33.5t-33 13.5-32.5-13.5T471 1032V912H320v122q0 82 57.5 139t139.5 57q81 0 138.5-56.5T713 1037V757q0-19 13.5-33t33.5-14q19 0 32.5 14t13.5 33v54zm333 195V912h-150v126q0 20-13.5 33.5T1002 1085q-19 0-32.5-14t-13.5-33V915l-90 26-60-28v123q0 80 58 137t139 57 138.5-57 57.5-139zm337-138q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/stumbleupon","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"stumbleupon\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1062 712V594q0-42-30-72t-72-30-72 30-30 72v612q0 175-126 299t-303 124q-178 0-303.5-125.5T0 1200V934h328v262q0 43 30 72.5t72 29.5 72-29.5 30-72.5V576q0-171 126.5-292T960 163q176 0 302 122t126 294v136l-195 58zm530 222h328v266q0 178-125.5 303.5T1491 1629q-177 0-303-124.5T1062 1204V936l131 61 195-58v270q0 42 30 71.5t72 29.5 72-29.5 30-71.5V934z\"/></svg>"},{"name":"font-awesome/delicious","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"delicious\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1472 1376V896H768V192H288q-93 0-158.5 65.5T64 416v480h704v704h480q93 0 158.5-65.5T1472 1376zm64-960v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/digg","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"digg\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M328 282h204v983H0V568h328V282zm0 819V732H205v369h123zm286-533v697h205V568H614zm0-286v204h205V282H614zm287 286h533v942H901v-163h328v-82H901V568zm328 533V732h-123v369h123zm287-533h532v942h-532v-163h327v-82h-327V568zm327 533V732h-123v369h123z\"/></svg>"},{"name":"font-awesome/pied-piper-pp","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pied-piper-pp\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1046 1020q0 64-38 109t-91 45q-43 0-70-15V882q28-17 70-17 53 0 91 45.5t38 109.5zM703 592q0 64-38 109.5T574 747q-43 0-70-15V455q28-17 70-17 53 0 91 45t38 109zm562 431q0-134-88-229t-213-95q-20 0-39 3-23 78-78 136-87 95-211 101v636l211-41v-206q51 19 117 19 125 0 213-95t88-229zM922 596q0-134-88.5-229T620 272q-74 0-141 36H293v840l211-41V901q55 19 116 19 125 0 213.5-95T922 596zm614-180v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/pied-piper-alt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pied-piper-alt\" viewBox=\"0 0 2038 1896.0833\"><path d=\"M1222 929q75-3 143.5 20.5t118 58.5 101 94.5 84 108T1744 1331q33 56 78.5 109t75.5 80.5 99 88.5q-48 30-108.5 57.5t-138.5 59-114 47.5q-44-37-74-115t-43.5-164.5-33-180.5-42.5-168.5-72.5-123T1248 973l-10 2-6 4q4 5 13 14 6 5 28 23.5t25.5 22 19 18 18 20.5 11.5 21 10.5 27.5 4.5 31 4 40.5l1 33q1 26-2.5 57.5t-7.5 52-12.5 58.5-11.5 53q-35-1-101 9.5t-98 10.5q-39 0-72-10-2-16-2-47 0-74 3-96 2-13 31.5-41.5t57-59 26.5-51.5q-24-2-43 24-36 53-111.5 99.5T887 1336q-25 0-75.5-63T705 1133.5t-84-96.5q-6-4-27-30-482 112-513 112-16 0-28-11t-12-27q0-15 8.5-26.5T72 1040l486-106q-8-14-8-25t5.5-17.5 16-11.5 20-7 23-4.5T633 864q4-1 15.5-7.5T666 850q15 0 28 16t20 33q163-37 172-37 17 0 29.5 11t12.5 28q0 15-8.5 26T896 941l-182 40-1 16q-1 26 81.5 117.5T899 1206q47 0 119-80t72-129q0-36-23.5-53t-51-18.5-51-11.5-23.5-34q0-16 10-34l-68-19q43-44 43-117 0-26-5-58 82-16 144-16 44 0 71.5 1.5t48.5 8.5 31 13.5 20.5 24.5 15.5 33.5 17 47.5 24 60l50-25q-3 40-23 60t-42.5 21-40 6.5T1221 908zm60-235q-5-5-13.5-15.5t-12-14.5-10.5-11.5-10-10.5l-8-8-8.5-7.5-8-5-8.5-4.5q-7-3-14.5-5t-20.5-2.5-22-.5h-70q-126 0-217 43 16-30 36-46.5t54-29.5 65.5-36 46-36.5 50-55T1154 398q12 9 28 31.5t32 36.5 38 13l12-1v76l22 1q247-95 371-190 28-21 50-39t42.5-37.5 33-31 29.5-34 24-31 24.5-37 23-38 27-47.5 29.5-53l7-9q-2 53-43 139-79 165-205 264t-306 142q-14 3-42 7.5t-50 9.5-39 14q3 19 24.5 46t21.5 34q0 11-26 30zm-221 921q39-26 131.5-47.5T1339 1546q9 0 22.5 15.5t28 42.5 26 50 24 51 14.5 33q-121 45-244 45-61 0-125-11zM822 968l48-12 109 177-73 48zm501 517q3 15 3 16 0 7-17.5 14.5t-46 13-54 9.5-53.5 7.5-32 4.5l-7-43q21-2 60.5-8.5t72-10 60.5-3.5h14zM866 857l-96 20-6-17q10-1 32.5-7t34.5-6q19 0 35 10zm195 634h31l10 83-41 12v-95zM1950 1V0v1zm0 0l-1 5-2 2 1-3zm0 0l1-1z\"/></svg>"},{"name":"font-awesome/drupal","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"drupal\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1167 1586q-5-19-24-5-30 22-87 39t-131 17q-129 0-193-49-5-4-13-4-11 0-26 12-7 6-7.5 16t7.5 20q34 32 87.5 46t102.5 12.5 99-4.5q41-4 84.5-20.5t65-30 28.5-20.5q12-12 7-29zm-39-115q-19-47-39-61-23-15-76-15-47 0-71 10-29 12-78 56-26 24-12 44 9 8 17.5 4.5T901 1486q3-2 10.5-8.5t10.5-8.5 10-7 11.5-7 12.5-5 15-4.5 16.5-2.5 20.5-1q27 0 44.5 7.5t23 14.5 13.5 22q10 17 12.5 20t12.5-1q23-12 14-34zm355-281q0-22-5-44.5t-16.5-45-34-36.5-52.5-14q-33 0-97 41.5t-129 83.5-101 42q-27 1-63.5-19t-76-49-83.5-58-100-49-111-19q-115 1-197 78.5T333 1280q-2 112 74 164 29 20 62.5 28.5T573 1481q57 0 132-32.5t134-71 120-70.5 93-31q26 1 65 31.5t71.5 67 68 67.5 55.5 32q35 3 58.5-14t55.5-63q28-41 42.5-101t14.5-106zm53-160q0 164-62 304.5t-166 236-242.5 149.5-290.5 54-293-57.5-247.5-157T64 1318 0 1016q0-89 19.5-172.5t49-145.5T139 579.5t78.5-94T296 416t64.5-46.5T403 345q14-8 51-26.5t54.5-28.5 48-30 60.5-44q36-28 58-72.5T705 18q129 155 186 193 44 29 130 68t129 66q21 13 39 25t60.5 46.5 76 70.5 75 95 69 122 47 148.5T1536 1030z\"/></svg>"},{"name":"font-awesome/joomla","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"joomla\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1070 1073l-160 160-151 152-30 30q-65 64-151.5 87t-171.5 2q-16 70-72 115t-129 45q-85 0-145-60.5T0 1458q0-72 44.5-128t113.5-72q-22-86 1-173t88-152l12-12 151 152-11 11q-37 37-37 89t37 90q37 37 89 37t89-37l30-30 151-152 161-160zM729 391l12 12-152 152-12-12q-37-37-89-37t-89 37-37 89.5 37 89.5l29 29 152 152 160 160-151 152-161-160-151-152-30-30q-68-67-90-159.5t5-179.5q-70-15-115-71T2 334q0-85 60-145.5T207 128q76 0 133.5 49T410 300q84-20 169.5 3.5T729 391zm807 1067q0 85-60 145.5t-145 60.5q-74 0-131-47t-71-118q-86 28-179.5 6T788 1415l-11-12 151-152 12 12q37 37 89 37t89-37 37-89-37-89l-30-30-152-152-160-160 152-152 160 160 152 152 29 30q64 64 87.5 150.5t2.5 171.5q76 11 126.5 68.5T1536 1458zm-2-1124q0 77-51 135t-127 69q26 85 3 176.5T1269 873l-12 12-151-152 12-12q37-37 37-89t-37-89-89-37-89 37l-30 30-152 152-160 160-152-152 161-160 152-152 29-30q67-67 159-89.5t178 3.5q11-75 68.5-126t135.5-51q85 0 145 60.5t60 145.5z\"/></svg>"},{"name":"font-awesome/language","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"language\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M654 1078q-1 3-12.5-.5T610 1066l-20-9q-44-20-87-49-7-5-41-31.5T424 948q-67 103-134 181-81 95-105 110-4 2-19.5 4t-18.5 0q6-4 82-92 21-24 85.5-115T393 918q17-30 51-98.5t36-77.5q-8-1-110 33-8 2-27.5 7.5T308 792t-17 5q-2 2-2 10.5t-1 9.5q-5 10-31 15-23 7-47 0-18-4-28-21-4-6-5-23 6-2 24.5-5t29.5-6q58-16 105-32 100-35 102-35 10-2 43-19.5t44-21.5q9-3 21.5-8t14.5-5.5 6 .5q2 12-1 33 0 2-12.5 27T527 769.5 510 803q-25 50-77 131l64 28q12 6 74.5 32t67.5 28q4 1 10.5 25.5t4.5 30.5zM449 592q3 15-4 28-12 23-50 38-30 12-60 12-26-3-49-26-14-15-18-41l1-3q3 3 19.5 5t26.5 0 58-16q36-12 55-14 17 0 21 17zm698 129l63 227-139-42zM39 1521l694-232V257L39 490v1031zm1241-317l102 31-181-657-100-31-216 536 102 31 45-110 211 65zM777 242l573 184V46zm311 1323l158 13-54 160-40-66q-130 83-276 108-58 12-91 12h-84q-79 0-199.5-39T318 1668q-8-7-8-16 0-8 5-13.5t13-5.5q4 0 18 7.5t30.5 16.5 20.5 11q73 37 159.5 61.5T714 1754q95 0 167-14.5t157-50.5q15-7 30.5-15.5t34-19 28.5-16.5zm448-1079v1079l-774-246q-14 6-375 127.5T19 1568q-13 0-18-13 0-1-1-3V474q3-9 4-10 5-6 20-11 107-36 149-50V19l558 198q2 0 160.5-55t316-108.5T1369 0q20 0 20 21v418z\"/></svg>"},{"name":"font-awesome/fax","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"fax\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M288 384q66 0 113 47t47 113v1088q0 66-47 113t-113 47H160q-66 0-113-47T0 1632V544q0-66 47-113t113-47h128zm1376 163q58 34 93 93t35 128v768q0 106-75 181t-181 75H672q-66 0-113-47t-47-113V96q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v163zm-736 989v-128q0-14-9-23t-23-9H768q-14 0-23 9t-9 23v128q0 14 9 23t23 9h128q14 0 23-9t9-23zm0-256v-128q0-14-9-23t-23-9H768q-14 0-23 9t-9 23v128q0 14 9 23t23 9h128q14 0 23-9t9-23zm0-256V896q0-14-9-23t-23-9H768q-14 0-23 9t-9 23v128q0 14 9 23t23 9h128q14 0 23-9t9-23zm256 512v-128q0-14-9-23t-23-9h-128q-14 0-23 9t-9 23v128q0 14 9 23t23 9h128q14 0 23-9t9-23zm0-256v-128q0-14-9-23t-23-9h-128q-14 0-23 9t-9 23v128q0 14 9 23t23 9h128q14 0 23-9t9-23zm0-256V896q0-14-9-23t-23-9h-128q-14 0-23 9t-9 23v128q0 14 9 23t23 9h128q14 0 23-9t9-23zm256 512v-128q0-14-9-23t-23-9h-128q-14 0-23 9t-9 23v128q0 14 9 23t23 9h128q14 0 23-9t9-23zm0-256v-128q0-14-9-23t-23-9h-128q-14 0-23 9t-9 23v128q0 14 9 23t23 9h128q14 0 23-9t9-23zm0-256V896q0-14-9-23t-23-9h-128q-14 0-23 9t-9 23v128q0 14 9 23t23 9h128q14 0 23-9t9-23zm96-384V384h-160q-40 0-68-28t-28-68V128H640v512h896z\"/></svg>"},{"name":"font-awesome/building","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"building\" viewBox=\"0 0 1552.451 1896.0833\"><path d=\"M1344 0q26 0 45 19t19 45v1664q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V64q0-26 19-45T64 0h1280zM512 288v64q0 14 9 23t23 9h64q14 0 23-9t9-23v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23zm0 256v64q0 14 9 23t23 9h64q14 0 23-9t9-23v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23zm0 256v64q0 14 9 23t23 9h64q14 0 23-9t9-23v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23zm0 256v64q0 14 9 23t23 9h64q14 0 23-9t9-23v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23zm-128 320v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm512 1280v-192q0-14-9-23t-23-9H544q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-512v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 1024v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v64q0 14 9 23t23 9h64q14 0 23-9t9-23z\"/></svg>"},{"name":"font-awesome/child","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"child\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1188 548L896 840v824q0 46-33 79t-79 33-79-33-33-79v-384h-64v384q0 46-33 79t-79 33-79-33-33-79V840L92 548q-28-28-28-68t28-68q29-28 68.5-28t67.5 28l228 228h368l228-228q28-28 68-28t68 28q28 29 28 68.5t-28 67.5zM864 384q0 93-65.5 158.5T640 608t-158.5-65.5T416 384t65.5-158.5T640 160t158.5 65.5T864 384z\"/></svg>"},{"name":"font-awesome/paw","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"paw\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M780 472q0 60-19 113.5T698 678t-105 39q-76 0-138-57.5T363 524t-30-151q0-60 19-113.5t63-92.5 105-39q77 0 138.5 57.5t91.5 135T780 472zM438 955q0 80-42 139t-119 59q-76 0-141.5-55.5T35 964 0 812q0-80 42-139.5T161 613q76 0 141.5 55.5t100.5 134T438 955zm394-27q118 0 255 97.5t229 237 92 254.5q0 46-17 76.5t-48.5 45-64.5 20-76 5.5q-68 0-187.5-45T832 1574q-66 0-192.5 44.5T439 1663q-183 0-183-146 0-86 56-191.5T451.5 1133 639 987t193-59zm239-211q-61 0-105-39t-63-92.5T884 472q0-74 30-151.5t91.5-135T1144 128q61 0 105 39t63 92.5 19 113.5q0 73-30 151t-92 135.5-138 57.5zm432-104q77 0 119 59.5t42 139.5q0 74-35 152t-100.5 133.5T1387 1153q-77 0-119-59t-42-139q0-74 35-152.5t100.5-134T1503 613z\"/></svg>"},{"name":"font-awesome/spoon","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"spoon\" viewBox=\"0 0 1071.2946 1896.0833\"><path d=\"M704 528q0 145-57 243.5T495 907l45 821q2 26-16 45t-44 19H288q-26 0-44-19t-16-45l45-821q-95-37-152-135.5T64 528q0-128 42.5-249.5T224 78.5 384 0t160 78.5 117.5 200T704 528z\"/></svg>"},{"name":"font-awesome/cube","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cube\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 1629l640-349V644L896 877v752zm-64-865l698-254-698-254-698 254zm832-252v768q0 35-18 65t-49 47l-704 384q-28 16-61 16t-61-16L67 1392q-31-17-49-47t-18-65V512q0-40 23-73t61-47l704-256q22-8 44-8t44 8l704 256q38 14 61 47t23 73z\"/></svg>"},{"name":"font-awesome/cubes","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cubes\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M640 1632l384-192v-314l-384 164v342zm-64-454l404-173-404-173-404 173zm1088 454l384-192v-314l-384 164v342zm-64-454l404-173-404-173-404 173zm-448-293l384-165V454l-384 164v267zm-64-379l441-189-441-189-441 189zm1088 518v416q0 36-19 67t-52 47l-448 224q-25 14-57 14t-57-14l-448-224q-4-2-7-4-2 2-7 4l-448 224q-25 14-57 14t-57-14L71 1554q-33-16-52-47t-19-67v-416q0-38 21.5-70T78 906l434-186V320q0-38 21.5-70t56.5-48l448-192q23-10 50-10t50 10l448 192q35 16 56.5 48t21.5 70v400l434 186q36 16 57 48t21 70z\"/></svg>"},{"name":"font-awesome/behance","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"behance\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1848 339h-511v124h511V339zm-252 426q-90 0-146 52.5T1388 960h408q-18-195-200-195zm16 585q63 0 122-32t76-87h221q-100 307-427 307-214 0-340.5-132T1137 1059q0-208 130.5-345.5T1604 576q138 0 240.5 68t153 179 50.5 248q0 17-2 47h-658q0 111 57.5 171.5T1612 1350zm-1335-50h296q205 0 205-167 0-180-199-180H277v347zm0-537h281q78 0 123.5-36.5T727 613q0-144-190-144H277v294zM0 254h594q87 0 155 14t126.5 47.5 90 96.5T997 566q0 181-172 263 114 32 172 115t58 204q0 75-24.5 136.5t-66 103.5-98.5 71-121 42-134 13H0V254z\"/></svg>"},{"name":"font-awesome/behance-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"behance-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1248 128q119 0 203.5 84.5T1536 416v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960zM499 495H128v787h382q117 0 197-57.5t80-170.5q0-158-143-200 107-52 107-164 0-57-19.5-96.5T675 533t-79-29.5-97-8.5zm-22 318H301V629h163q119 0 119 90 0 94-106 94zm9 335H301V931h189q124 0 124 113 0 104-128 104zm650 32q-68 0-104-38t-36-107h411q1-10 1-30 0-132-74.5-220.5T1130 696q-128 0-210 86t-82 216q0 135 79 217t213 82q205 0 267-191h-138q-11 34-47.5 54t-75.5 20zm-10-366q113 0 124 122H996q4-56 39-89t91-33zM964 548h319v77H964v-77z\"/></svg>"},{"name":"font-awesome/steam","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"steam\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1582 582q0 101-71.5 172.5T1338 826t-172.5-71.5T1094 582t71.5-172.5T1338 338t172.5 71.5T1582 582zm-770 742q0-104-73-177t-177-73q-27 0-54 6l104 42q77 31 109.5 106.5T723 1380q-31 77-107 109t-152 1q-21-8-62-24.5t-61-24.5q32 60 91 96.5t130 36.5q104 0 177-73t73-177zm830-741q0-126-89.5-215.5T1337 278q-127 0-216.5 89.5T1031 583q0 127 89.5 216t216.5 89q126 0 215.5-89t89.5-216zm150 0q0 189-133.5 322T1337 1038l-437 319q-12 129-109 218t-229 89q-121 0-214-76t-118-192L0 1304V875l389 157q79-48 173-48 13 0 35 2l284-407q2-187 135.5-319T1337 128q188 0 321.5 133.5T1792 583z\"/></svg>"},{"name":"font-awesome/steam-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"steam-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1242 647q0-80-57-136.5T1048 454t-136.5 57T855 647q0 80 56.5 136.5T1048 840t137-56.5 57-136.5zm-610 588q0 83-58 140.5T434 1433q-56 0-103-29t-72-77q52 20 98 40 60 24 120-1.5t85-86.5q24-60-1.5-120t-86.5-84l-82-33q22-5 42-5 82 0 140 57.5t58 140.5zm904-819v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376v-153l172 69q20 92 93.5 152t168.5 60q104 0 181-70t87-173l345-252q150 0 255.5-105.5T1408 649q0-150-105.5-255.5T1047 288q-148 0-253 104.5T687 645L462 967q-9-1-28-1-75 0-137 37L0 884V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416zm-247 233q0 100-71 170.5T1047 890t-170.5-70.5T806 649t70.5-171 170.5-71q101 0 171.5 70.5T1289 649z\"/></svg>"},{"name":"font-awesome/recycle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"recycle\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M836 1169l-15 368-2 22-420-29q-36-3-67-31.5t-47-65.5q-11-27-14.5-55t4-65 12-55 21.5-64 19-53q78 12 509 28zM449 583l180 379-147-92q-63 72-111.5 144.5t-72.5 125-39.5 94.5-18.5 63l-4 21L46 961q-17-26-18-56t6-47l8-18q35-63 114-188L16 566zm1231 517l-188 359q-12 29-36.5 46.5T1412 1526l-18 4q-71 7-219 12l8 164-230-367 211-362 7 173q170 16 283 5t170-33zM895 176q-47 63-265 435L313 424l-19-12L519 56q20-31 60-45t80-10q24 2 48.5 12t42 21T791 67t36 34.5 36 39.5 32 35zm655 307l212 363q18 37 12.5 76t-27.5 74q-13 20-33 37t-38 28-48.5 22-47 16-51.5 14-46 12q-34-72-265-436l313-195zm-143-226l142-83-220 373-419-20 151-86q-34-89-75-166t-75.5-123.5-64.5-80T799 25l-17-13 405 1q31-3 58 10.5t39 28.5l11 15q39 61 112 190z\"/></svg>"},{"name":"font-awesome/automobile","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"automobile\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M480 1088q0-66-47-113t-113-47-113 47-47 113 47 113 113 47 113-47 47-113zm36-320h1016l-89-357q-2-8-14-17.5t-21-9.5H640q-9 0-21 9.5T605 411zm1372 320q0-66-47-113t-113-47-113 47-47 113 47 113 113 47 113-47 47-113zm160-96v384q0 14-9 23t-23 9h-96v128q0 80-56 136t-136 56-136-56-56-136v-128H512v128q0 80-56 136t-136 56-136-56-56-136v-128H32q-14 0-23-9t-9-23V992q0-93 65.5-158.5T224 768h28l105-419q23-94 104-157.5T640 128h768q98 0 179 63.5T1691 349l105 419h28q93 0 158.5 65.5T2048 992z\"/></svg>"},{"name":"font-awesome/car","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"car\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M480 1088q0-66-47-113t-113-47-113 47-47 113 47 113 113 47 113-47 47-113zm36-320h1016l-89-357q-2-8-14-17.5t-21-9.5H640q-9 0-21 9.5T605 411zm1372 320q0-66-47-113t-113-47-113 47-47 113 47 113 113 47 113-47 47-113zm160-96v384q0 14-9 23t-23 9h-96v128q0 80-56 136t-136 56-136-56-56-136v-128H512v128q0 80-56 136t-136 56-136-56-56-136v-128H32q-14 0-23-9t-9-23V992q0-93 65.5-158.5T224 768h28l105-419q23-94 104-157.5T640 128h768q98 0 179 63.5T1691 349l105 419h28q93 0 158.5 65.5T2048 992z\"/></svg>"},{"name":"font-awesome/cab","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cab\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1824 896q93 0 158.5 65.5T2048 1120v384q0 14-9 23t-23 9h-96v64q0 80-56 136t-136 56-136-56-56-136v-64H512v64q0 80-56 136t-136 56-136-56-56-136v-64H32q-14 0-23-9t-9-23v-384q0-93 65.5-158.5T224 896h28l105-419q23-94 104-157.5T640 256h128V32q0-14 9-23t23-9h448q14 0 23 9t9 23v224h128q98 0 179 63.5T1691 477l105 419h28zM320 1376q66 0 113-47t47-113-47-113-113-47-113 47-47 113 47 113 113 47zm196-480h1016l-89-357q-2-8-14-17.5t-21-9.5H640q-9 0-21 9.5T605 539zm1212 480q66 0 113-47t47-113-47-113-113-47-113 47-47 113 47 113 113 47z\"/></svg>"},{"name":"font-awesome/taxi","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"taxi\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1824 896q93 0 158.5 65.5T2048 1120v384q0 14-9 23t-23 9h-96v64q0 80-56 136t-136 56-136-56-56-136v-64H512v64q0 80-56 136t-136 56-136-56-56-136v-64H32q-14 0-23-9t-9-23v-384q0-93 65.5-158.5T224 896h28l105-419q23-94 104-157.5T640 256h128V32q0-14 9-23t23-9h448q14 0 23 9t9 23v224h128q98 0 179 63.5T1691 477l105 419h28zM320 1376q66 0 113-47t47-113-47-113-113-47-113 47-47 113 47 113 113 47zm196-480h1016l-89-357q-2-8-14-17.5t-21-9.5H640q-9 0-21 9.5T605 539zm1212 480q66 0 113-47t47-113-47-113-113-47-113 47-47 113 47 113 113 47z\"/></svg>"},{"name":"font-awesome/tree","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tree\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1504 1472q0 26-19 45t-45 19H978q1 17 6 87.5t5 108.5q0 25-18 42.5t-43 17.5H608q-25 0-43-17.5t-18-42.5q0-38 5-108.5t6-87.5H96q-26 0-45-19t-19-45 19-45l402-403H224q-26 0-45-19t-19-45 19-45l402-403H384q-26 0-45-19t-19-45 19-45L723 19q19-19 45-19t45 19l384 384q19 19 19 45t-19 45-45 19H955l402 403q19 19 19 45t-19 45-45 19h-229l402 403q19 19 19 45z\"/></svg>"},{"name":"font-awesome/spotify","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"spotify\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1127 1210q0-32-30-51-193-115-447-115-133 0-287 34-42 9-42 52 0 20 13.5 34.5T370 1179q5 0 37-8 132-27 243-27 226 0 397 103 19 11 33 11 19 0 33-13.5t14-34.5zm96-215q0-40-35-61-237-141-548-141-153 0-303 42-48 13-48 64 0 25 17.5 42.5T349 959q7 0 37-8 122-33 251-33 279 0 488 124 24 13 38 13 25 0 42.5-17.5T1223 995zm108-248q0-47-40-70-126-73-293-110.5T655 529q-204 0-364 47-23 7-38.5 25.5T237 650q0 31 20.5 52t51.5 21q11 0 40-8 133-37 307-37 159 0 309.5 34t253.5 95q21 12 40 12 29 0 50.5-20.5T1331 747zm205 149q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/deviantart","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"deviantart\" viewBox=\"0 0 1024 1896.0833\"><path d=\"M1024 303L721 885l24 31h279v415H517l-44 30-142 273-30 30H0v-303l303-583-24-30H0V333h507l44-30L693 30l30-30h301v303z\"/></svg>"},{"name":"font-awesome/soundcloud","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"soundcloud\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M784 1372l16-241-16-523q-1-10-7.5-17t-16.5-7q-9 0-16 7t-7 17l-14 523 14 241q1 10 7.5 16.5t15.5 6.5q22 0 24-23zm296-29l11-211-12-586q0-16-13-24-8-5-16-5t-16 5q-13 8-13 24l-1 6-10 579q0 1 11 236v1q0 10 6 17 9 11 23 11 11 0 20-9 9-7 9-20zM35 1003l20 128-20 126q-2 9-9 9t-9-9L0 1131l17-128q2-9 9-9t9 9zm86-79l26 207-26 203q-2 9-10 9-9 0-9-10l-23-202 23-207q0-9 9-9 8 0 10 9zm280 453zM213 886l25 245-25 237q0 11-11 11-10 0-12-11l-21-237 21-245q2-12 12-12 11 0 11 12zm94-7l23 252-23 244q-2 13-14 13-13 0-13-13l-21-244 21-252q0-13 13-13 12 0 14 13zm94 18l21 234-21 246q-2 16-16 16-6 0-10.5-4.5T370 1377l-20-246 20-234q0-6 4.5-10.5T385 882q14 0 16 15zm383 475zM495 751l21 380-21 246q0 7-5 12.5t-12 5.5q-16 0-18-18l-18-246 18-380q2-18 18-18 7 0 12 5.5t5 12.5zm94-86l19 468-19 244q0 8-5.5 13.5T570 1396q-18 0-20-19l-16-244 16-468q2-19 20-19 8 0 13.5 5.5T589 665zm98-40l18 506-18 242q-2 21-22 21-19 0-21-21l-16-242 16-506q0-9 6.5-15.5T665 603q9 0 15 6.5t7 15.5zm392 742zM881 621l15 510-15 239q0 10-7.5 17.5T856 1395t-17-7-8-18l-14-239 14-510q0-11 7.5-18t17.5-7 17.5 7 7.5 18zm99 19l14 492-14 236q0 11-8 19t-19 8-19-8-9-19l-12-236 12-492q1-12 9-20t19-8 18.5 8 8.5 20zm212 492l-14 231q0 13-9 22t-22 9-22-9-10-22l-6-114-6-117 12-636v-3q2-15 12-24 9-7 20-7 8 0 15 5 14 8 16 26zm1112-19q0 117-83 199.5t-200 82.5h-786q-13-2-22-11t-9-22V463q0-23 28-33 85-34 181-34 195 0 338 131.5T1911 851q53-22 110-22 117 0 200 83t83 201z\"/></svg>"},{"name":"font-awesome/database","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"database\" viewBox=\"0 0 1542.7035 1896.0833\"><path d=\"M768 768q237 0 443-43t325-127v170q0 69-103 128t-280 93.5-385 34.5-385-34.5T103 896 0 768V598q119 84 325 127t443 43zm0 768q237 0 443-43t325-127v170q0 69-103 128t-280 93.5-385 34.5-385-34.5-280-93.5T0 1536v-170q119 84 325 127t443 43zm0-384q237 0 443-43t325-127v170q0 69-103 128t-280 93.5-385 34.5-385-34.5-280-93.5T0 1152V982q119 84 325 127t443 43zM768 0q208 0 385 34.5t280 93.5 103 128v128q0 69-103 128t-280 93.5T768 640t-385-34.5T103 512 0 384V256q0-69 103-128t280-93.5T768 0z\"/></svg>"},{"name":"font-awesome/file-pdf-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-pdf-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zm-514-593q33 26 84 56 59-7 117-7 147 0 177 49 16 22 2 52 0 1-1 2l-2 2v1q-6 38-71 38-48 0-115-20t-130-53q-221 24-392 83-153 262-242 262-15 0-28-7l-24-12q-1-1-6-5-10-10-6-36 9-40 56-91.5t132-96.5q14-9 23 6 2 2 2 4 52-85 107-197 68-136 104-262-24-82-30.5-159.5T657 552q11-40 42-40h22q23 0 35 15 18 21 9 68-2 6-4 8 1 3 1 8v30q-2 123-14 192 55 164 146 238zm-576 411q52-24 137-158-51 40-87.5 84t-49.5 74zm398-920q-15 42-2 132 1-7 7-44 0-3 7-43 1-4 4-8-1-1-1-2-1-2-1-3-1-22-13-36 0 1-1 2v2zm-124 661q135-54 284-81-2-1-13-9.5t-16-13.5q-76-67-127-176-27 86-83 197-30 56-45 83zm646-16q-24-24-140-24 76 28 124 28 14 0 18-1 0-1-2-3z\"/></svg>"},{"name":"font-awesome/file-word-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-word-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zM233 768v107h70l164 661h159l128-485q7-20 10-46 2-16 2-24h4l3 24q1 3 3.5 20t5.5 26l128 485h159l164-661h70V768h-300v107h90l-99 438q-5 20-7 46l-2 21h-4q0-3-.5-6.5t-1.5-8-1-6.5q-1-5-4-21t-5-25L825 768H711l-144 545q-2 9-4.5 24.5T559 1359l-4 21h-4l-2-21q-2-26-7-46l-99-438h90V768H233z\"/></svg>"},{"name":"font-awesome/file-excel-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-excel-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zm-979-234v106h281v-106h-75l103-161q5-7 10-16.5t7.5-13.5 3.5-4h2q1 4 5 10 2 4 4.5 7.5t6 8 6.5 8.5l107 161h-76v106h291v-106h-68l-192-273 195-282h67V768H828v107h74l-103 159q-4 7-10 16.5t-9 13.5l-2 3h-2q-1-4-5-10-6-11-17-23L648 875h76V768H434v107h68l189 272-194 283h-68z\"/></svg>"},{"name":"font-awesome/file-powerpoint-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-powerpoint-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zm-992-234v106h327v-106h-93v-167h137q76 0 118-15 67-23 106.5-87t39.5-146q0-81-37-141t-100-87q-48-19-130-19H416v107h92v555h-92zm353-280H650V882h120q52 0 83 18 56 33 56 115 0 89-62 120-31 15-78 15z\"/></svg>"},{"name":"font-awesome/file-photo-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-photo-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zm-128-448v320H256v-192l192-192 128 128 384-384zm-832-192q-80 0-136-56t-56-136 56-136 136-56 136 56 56 136-56 136-136 56z\"/></svg>"},{"name":"font-awesome/file-picture-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-picture-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zm-128-448v320H256v-192l192-192 128 128 384-384zm-832-192q-80 0-136-56t-56-136 56-136 136-56 136 56 56 136-56 136-136 56z\"/></svg>"},{"name":"font-awesome/file-image-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-image-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zm-128-448v320H256v-192l192-192 128 128 384-384zm-832-192q-80 0-136-56t-56-136 56-136 136-56 136 56 56 136-56 136-136 56z\"/></svg>"},{"name":"font-awesome/file-zip-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-zip-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M640 384V256H512v128h128zm128 128V384H640v128h128zM640 640V512H512v128h128zm128 128V640H640v128h128zm700-388q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H768v128H640V128H128v1536h1280zM781 943l107 349q8 27 8 52 0 83-72.5 137.5T640 1536t-183.5-54.5T384 1344q0-25 8-52 21-63 120-396V768h128v128h79q22 0 39 13t23 34zm-141 465q53 0 90.5-19t37.5-45-37.5-45-90.5-19-90.5 19-37.5 45 37.5 45 90.5 19z\"/></svg>"},{"name":"font-awesome/file-archive-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-archive-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M640 384V256H512v128h128zm128 128V384H640v128h128zM640 640V512H512v128h128zm128 128V640H640v128h128zm700-388q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H768v128H640V128H128v1536h1280zM781 943l107 349q8 27 8 52 0 83-72.5 137.5T640 1536t-183.5-54.5T384 1344q0-25 8-52 21-63 120-396V768h128v128h79q22 0 39 13t23 34zm-141 465q53 0 90.5-19t37.5-45-37.5-45-90.5-19-90.5 19-37.5 45 37.5 45 90.5 19z\"/></svg>"},{"name":"font-awesome/file-sound-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-sound-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zM620 850q20 8 20 30v544q0 22-20 30-8 2-12 2-12 0-23-9l-166-167H288q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h131l166-167q16-15 35-7zm417 689q31 0 50-24 129-159 129-363t-129-363q-16-21-43-24t-47 14q-21 17-23.5 43.5T988 870q100 123 100 282t-100 282q-17 21-14.5 47.5T997 1524q18 15 40 15zm-211-148q27 0 47-20 87-93 87-219t-87-219q-18-19-45-20t-46 17-20 44.5 18 46.5q52 57 52 131t-52 131q-19 20-18 46.5t20 44.5q20 17 44 17z\"/></svg>"},{"name":"font-awesome/file-audio-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-audio-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zM620 850q20 8 20 30v544q0 22-20 30-8 2-12 2-12 0-23-9l-166-167H288q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h131l166-167q16-15 35-7zm417 689q31 0 50-24 129-159 129-363t-129-363q-16-21-43-24t-47 14q-21 17-23.5 43.5T988 870q100 123 100 282t-100 282q-17 21-14.5 47.5T997 1524q18 15 40 15zm-211-148q27 0 47-20 87-93 87-219t-87-219q-18-19-45-20t-46 17-20 44.5 18 46.5q52 57 52 131t-52 131q-19 20-18 46.5t20 44.5q20 17 44 17z\"/></svg>"},{"name":"font-awesome/file-movie-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-movie-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zM768 768q52 0 90 38t38 90v384q0 52-38 90t-90 38H384q-52 0-90-38t-38-90V896q0-52 38-90t90-38h384zm492 2q20 8 20 30v576q0 22-20 30-8 2-12 2-14 0-23-9l-265-266v-90l265-266q9-9 23-9 4 0 12 2z\"/></svg>"},{"name":"font-awesome/file-video-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-video-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zM768 768q52 0 90 38t38 90v384q0 52-38 90t-90 38H384q-52 0-90-38t-38-90V896q0-52 38-90t90-38h384zm492 2q20 8 20 30v576q0 22-20 30-8 2-12 2-14 0-23-9l-265-266v-90l265-266q9-9 23-9 4 0 12 2z\"/></svg>"},{"name":"font-awesome/file-code-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"file-code-o\" viewBox=\"0 0 1611.2499 1896.0833\"><path d=\"M1468 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28H96q-40 0-68-28t-28-68V96q0-40 28-68T96 0h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528V640H992q-40 0-68-28t-28-68V128H128v1536h1280zM480 768q8-11 21-12.5t24 6.5l51 38q11 8 12.5 21t-6.5 24l-182 243 182 243q8 11 6.5 24t-12.5 21l-51 38q-11 8-24 6.5t-21-12.5l-226-301q-14-19 0-38zm802 301q14 19 0 38l-226 301q-8 11-21 12.5t-24-6.5l-51-38q-11-8-12.5-21t6.5-24l182-243-182-243q-8-11-6.5-24t12.5-21l51-38q11-8 24-6.5t21 12.5zm-620 461q-13-2-20.5-13t-5.5-24l138-831q2-13 13-20.5t24-5.5l63 10q13 2 20.5 13t5.5 24l-138 831q-2 13-13 20.5t-24 5.5z\"/></svg>"},{"name":"font-awesome/vine","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"vine\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1497 827v198q-101 23-198 23-65 136-165.5 271T952 1534.5 824 1641q-80 45-162-3-28-17-60.5-43.5t-85-83.5T414 1382.5t-107.5-184-105.5-244T109.5 640 39 250h283q26 218 70 398.5t104.5 317T618 1201t140 195q169-169 287-406-142-72-223-220t-81-333q0-192 104-314.5T1129 0q178 0 273 105.5t95 297.5q0 159-58 286-7 1-19.5 3t-46 2-63-6-62-25.5T1198 611q31-103 31-184 0-87-29-132t-79-45q-53 0-85 49.5T1004 440q0 186 105 293.5T1376 841q62 0 121-14z\"/></svg>"},{"name":"font-awesome/codepen","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"codepen\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M216 1169l603 402v-359L485 989zm-62-144l193-129-193-129v258zm819 546l603-402-269-180-334 223v359zm-77-493l272-182-272-182-272 182zM485 803l334-223V221L216 623zm960 93l193 129V767zm-138-93l269-180-603-402v359zm485-180v546q0 41-34 64l-819 546q-21 13-43 13t-43-13L34 1233q-34-23-34-64V623q0-41 34-64L853 13q21-13 43-13t43 13l819 546q34 23 34 64z\"/></svg>"},{"name":"font-awesome/jsfiddle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"jsfiddle\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1800 772q111 46 179.5 145.5T2048 1139q0 164-118 280.5T1645 1536q-4 0-11.5-.5t-10.5-.5H406q-170-10-288-125.5T0 1129q0-110 55-203t147-147q-12-39-12-82 0-115 82-196t199-81q95 0 172 58 75-154 222.5-248t326.5-94q166 0 306 80.5T1719.5 435t81.5 301q0 6-.5 18t-.5 18zM468 1038q0 122 84 193t208 71q137 0 240-99-16-20-47.5-56.5T909 1096q-67 65-144 65-55 0-93.5-33.5T633 1040q0-53 38.5-87t91.5-34q44 0 84.5 21t73 55 65 75 69 82 77 75 97 55 121.5 21q121 0 204.5-71.5T1638 1041q0-121-84-192t-207-71q-143 0-241 97l93 108q66-64 142-64 52 0 92 33t40 84q0 57-37 91.5t-94 34.5q-43 0-82.5-21t-72-55-65.5-75-69.5-82-77.5-75-96.5-55T760 778q-122 0-207 70.5T468 1038z\"/></svg>"},{"name":"font-awesome/life-bouy","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"life-bouy\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 0q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0zm0 128q-190 0-361 90l194 194q82-28 167-28t167 28l194-194q-171-90-361-90zM218 1257l194-194q-28-82-28-167t28-167L218 535q-90 171-90 361t90 361zm678 407q190 0 361-90l-194-194q-82 28-167 28t-167-28l-194 194q171 90 361 90zm0-384q159 0 271.5-112.5T1280 896t-112.5-271.5T896 512 624.5 624.5 512 896t112.5 271.5T896 1280zm484-217l194 194q90-171 90-361t-90-361l-194 194q28 82 28 167t-28 167z\"/></svg>"},{"name":"font-awesome/life-buoy","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"life-buoy\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 0q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0zm0 128q-190 0-361 90l194 194q82-28 167-28t167 28l194-194q-171-90-361-90zM218 1257l194-194q-28-82-28-167t28-167L218 535q-90 171-90 361t90 361zm678 407q190 0 361-90l-194-194q-82 28-167 28t-167-28l-194 194q171 90 361 90zm0-384q159 0 271.5-112.5T1280 896t-112.5-271.5T896 512 624.5 624.5 512 896t112.5 271.5T896 1280zm484-217l194 194q90-171 90-361t-90-361l-194 194q28 82 28 167t-28 167z\"/></svg>"},{"name":"font-awesome/life-saver","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"life-saver\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 0q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0zm0 128q-190 0-361 90l194 194q82-28 167-28t167 28l194-194q-171-90-361-90zM218 1257l194-194q-28-82-28-167t28-167L218 535q-90 171-90 361t90 361zm678 407q190 0 361-90l-194-194q-82 28-167 28t-167-28l-194 194q171 90 361 90zm0-384q159 0 271.5-112.5T1280 896t-112.5-271.5T896 512 624.5 624.5 512 896t112.5 271.5T896 1280zm484-217l194 194q90-171 90-361t-90-361l-194 194q28 82 28 167t-28 167z\"/></svg>"},{"name":"font-awesome/support","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"support\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 0q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0zm0 128q-190 0-361 90l194 194q82-28 167-28t167 28l194-194q-171-90-361-90zM218 1257l194-194q-28-82-28-167t28-167L218 535q-90 171-90 361t90 361zm678 407q190 0 361-90l-194-194q-82 28-167 28t-167-28l-194 194q171 90 361 90zm0-384q159 0 271.5-112.5T1280 896t-112.5-271.5T896 512 624.5 624.5 512 896t112.5 271.5T896 1280zm484-217l194 194q90-171 90-361t-90-361l-194 194q28 82 28 167t-28 167z\"/></svg>"},{"name":"font-awesome/life-ring","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"life-ring\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 0q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0zm0 128q-190 0-361 90l194 194q82-28 167-28t167 28l194-194q-171-90-361-90zM218 1257l194-194q-28-82-28-167t28-167L218 535q-90 171-90 361t90 361zm678 407q190 0 361-90l-194-194q-82 28-167 28t-167-28l-194 194q171 90 361 90zm0-384q159 0 271.5-112.5T1280 896t-112.5-271.5T896 512 624.5 624.5 512 896t112.5 271.5T896 1280zm484-217l194 194q90-171 90-361t-90-361l-194 194q28 82 28 167t-28 167z\"/></svg>"},{"name":"font-awesome/circle-o-notch","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"circle-o-notch\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1760 896q0 176-68.5 336t-184 275.5-275.5 184-336 68.5-336-68.5-275.5-184-184-275.5T32 896q0-213 97-398.5T394 192 768 41v228q-221 45-366.5 221T256 896q0 130 51 248.5t136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5q0-230-145.5-406T1024 269V41q206 31 374 151t265 305.5 97 398.5z\"/></svg>"},{"name":"font-awesome/ra","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ra\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M19 874q8-217 116-406t305-318h5q0 1-1 3-8 8-28 33.5T364 263t-60 110.5T259.5 509t-14 150.5 39 157.5T393 971q50 50 102 69.5t90.5 11.5 69.5-23.5 47-32.5l16-16q39-51 53-116.5t6.5-122.5-21-107-26.5-80l-14-29q-10-25-30.5-49.5t-43-41T599 405t-35-19l-13-6 104-115q39 17 78 52t59 61l19 27q1-48-18.5-103.5T752 214l-20-31L893 0l160 181q-33 46-52.5 102.5T978 374l-4 33q22-37 61.5-72.5T1103 282l28-17 103 115q-44 14-85 50t-60 65l-19 29q-31 56-48 133.5t-7 170 57 156.5q33 45 77.5 60.5t85 5.5 76-26.5T1368 990l21-16q60-53 96.5-115t48.5-121.5 10-121.5-18-118-37-107.5-45.5-93-45-72T1364 178l-13-17q-14-13-7-13l10 3q40 29 62.5 46t62 50 64 58 58.5 65 55.5 77 45.5 88 38 103 23.5 117 10.5 136q3 259-108 465t-312 321-456 115q-185 0-351-74t-283.5-198-184-293T19 874z\"/></svg>"},{"name":"font-awesome/resistance","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"resistance\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M19 874q8-217 116-406t305-318h5q0 1-1 3-8 8-28 33.5T364 263t-60 110.5T259.5 509t-14 150.5 39 157.5T393 971q50 50 102 69.5t90.5 11.5 69.5-23.5 47-32.5l16-16q39-51 53-116.5t6.5-122.5-21-107-26.5-80l-14-29q-10-25-30.5-49.5t-43-41T599 405t-35-19l-13-6 104-115q39 17 78 52t59 61l19 27q1-48-18.5-103.5T752 214l-20-31L893 0l160 181q-33 46-52.5 102.5T978 374l-4 33q22-37 61.5-72.5T1103 282l28-17 103 115q-44 14-85 50t-60 65l-19 29q-31 56-48 133.5t-7 170 57 156.5q33 45 77.5 60.5t85 5.5 76-26.5T1368 990l21-16q60-53 96.5-115t48.5-121.5 10-121.5-18-118-37-107.5-45.5-93-45-72T1364 178l-13-17q-14-13-7-13l10 3q40 29 62.5 46t62 50 64 58 58.5 65 55.5 77 45.5 88 38 103 23.5 117 10.5 136q3 259-108 465t-312 321-456 115q-185 0-351-74t-283.5-198-184-293T19 874z\"/></svg>"},{"name":"font-awesome/rebel","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"rebel\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M19 874q8-217 116-406t305-318h5q0 1-1 3-8 8-28 33.5T364 263t-60 110.5T259.5 509t-14 150.5 39 157.5T393 971q50 50 102 69.5t90.5 11.5 69.5-23.5 47-32.5l16-16q39-51 53-116.5t6.5-122.5-21-107-26.5-80l-14-29q-10-25-30.5-49.5t-43-41T599 405t-35-19l-13-6 104-115q39 17 78 52t59 61l19 27q1-48-18.5-103.5T752 214l-20-31L893 0l160 181q-33 46-52.5 102.5T978 374l-4 33q22-37 61.5-72.5T1103 282l28-17 103 115q-44 14-85 50t-60 65l-19 29q-31 56-48 133.5t-7 170 57 156.5q33 45 77.5 60.5t85 5.5 76-26.5T1368 990l21-16q60-53 96.5-115t48.5-121.5 10-121.5-18-118-37-107.5-45.5-93-45-72T1364 178l-13-17q-14-13-7-13l10 3q40 29 62.5 46t62 50 64 58 58.5 65 55.5 77 45.5 88 38 103 23.5 117 10.5 136q3 259-108 465t-312 321-456 115q-185 0-351-74t-283.5-198-184-293T19 874z\"/></svg>"},{"name":"font-awesome/ge","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ge\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M874 1638v66q-208-6-385-109.5T206 1319l58-34q29 49 73 99l65-57q148 168 368 212l-17 86q65 12 121 13zm-598-530l-83 28q22 60 49 112l-57 33q-98-180-98-385t98-385l57 33q-30 56-49 112l82 28q-35 100-35 212 0 109 36 212zm1252 177l58 34q-106 172-283 275.5T918 1704v-66q56-1 121-13l-17-86q220-44 368-212l65 57q44-50 73-99zm-151-554l-233 80q14 42 14 85t-14 85l232 80q-31 92-98 169l-185-162q-57 67-147 85l48 241q-52 10-98 10t-98-10l48-241q-90-18-147-85l-185 162q-67-77-98-169l232-80q-14-42-14-85t14-85l-233-80q33-93 99-169l185 162q59-68 147-86l-48-240q44-10 98-10t98 10l-48 240q88 18 147 86l185-162q66 76 99 169zM874 88v66q-65 2-121 13l17 86q-220 42-368 211l-65-56q-38 42-73 98l-57-33q106-172 282-275.5T874 88zm831 808q0 205-98 385l-57-33q27-52 49-112l-83-28q36-103 36-212 0-112-35-212l82-28q-19-56-49-112l57-33q98 180 98 385zm-120-423l-57 33q-35-56-73-98l-65 56q-148-169-368-211l17-86q-56-11-121-13V88q209 6 385 109.5T1585 473zm163 423q0-173-67.5-331T1499 293t-272-181.5T896 44t-331 67.5T293 293 111.5 565 44 896t67.5 331T293 1499t272 181.5 331 67.5 331-67.5 272-181.5 181.5-272 67.5-331zm44 0q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/empire","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"empire\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M874 1638v66q-208-6-385-109.5T206 1319l58-34q29 49 73 99l65-57q148 168 368 212l-17 86q65 12 121 13zm-598-530l-83 28q22 60 49 112l-57 33q-98-180-98-385t98-385l57 33q-30 56-49 112l82 28q-35 100-35 212 0 109 36 212zm1252 177l58 34q-106 172-283 275.5T918 1704v-66q56-1 121-13l-17-86q220-44 368-212l65 57q44-50 73-99zm-151-554l-233 80q14 42 14 85t-14 85l232 80q-31 92-98 169l-185-162q-57 67-147 85l48 241q-52 10-98 10t-98-10l48-241q-90-18-147-85l-185 162q-67-77-98-169l232-80q-14-42-14-85t14-85l-233-80q33-93 99-169l185 162q59-68 147-86l-48-240q44-10 98-10t98 10l-48 240q88 18 147 86l185-162q66 76 99 169zM874 88v66q-65 2-121 13l17 86q-220 42-368 211l-65-56q-38 42-73 98l-57-33q106-172 282-275.5T874 88zm831 808q0 205-98 385l-57-33q27-52 49-112l-83-28q36-103 36-212 0-112-35-212l82-28q-19-56-49-112l57-33q98 180 98 385zm-120-423l-57 33q-35-56-73-98l-65 56q-148-169-368-211l17-86q-56-11-121-13V88q209 6 385 109.5T1585 473zm163 423q0-173-67.5-331T1499 293t-272-181.5T896 44t-331 67.5T293 293 111.5 565 44 896t67.5 331T293 1499t272 181.5 331 67.5 331-67.5 272-181.5 181.5-272 67.5-331zm44 0q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/git-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"git-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M582 1308q0 66-93 66-107 0-107-63 0-64 98-64 102 0 102 61zm-36-466q0 85-74 85-77 0-77-84 0-90 77-90 36 0 55 25.5t19 63.5zm166-75V642q-78 29-135 29-50-29-110-29-86 0-145 57t-59 143q0 50 29.5 102t73.5 67v3q-38 17-38 85 0 53 41 77v3q-113 37-113 139 0 45 20 78.5t54 51 72 25.5 81 8q224 0 224-188 0-67-48-99t-126-46q-27-5-51.5-20.5T457 1088q0-44 49-52 77-15 122-70t45-134q0-24-10-52 37-9 49-13zm59 419h137q-2-27-2-82V717q0-46 2-69H771q3 23 3 71v392q0 50-3 75zm509-16v-121q-30 21-68 21-53 0-53-82V763h52q9 0 26.5 1t26.5 1V648h-105q0-82 3-102h-140q4 24 4 55v47h-60v117q36-3 37-3 3 0 11 .5t12 .5v2h-2v217q0 37 2.5 64t11.5 56.5 24.5 48.5 43.5 31 66 12q64 0 108-24zM924 464q0-36-24-63.5T840 373t-60.5 27-24.5 64q0 36 25 62.5t60 26.5 59.5-27 24.5-62zm612-48v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/git","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"git\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M595 1514q0-100-165-100-158 0-158 104 0 101 172 101 151 0 151-105zm-59-755q0-61-30-102t-89-41q-124 0-124 145 0 135 124 135 119 0 119-137zm269-324v202q-36 12-79 22 16 43 16 84 0 127-73 216.5T472 1072q-40 8-59.5 27t-19.5 58q0 31 22.5 51.5t58 32 78.5 22 86 25.5 78.5 37.5 58 64T797 1488q0 304-363 304-69 0-130-12.5t-116-41-87.5-82T68 1529q0-165 182-225v-4q-67-41-67-126 0-109 63-137v-4q-72-24-119.5-108.5T79 759q0-139 95-231.5T409 435q96 0 178 47 98 0 218-47zm318 881H901q4-45 4-134V573q0-94-4-128h222q-4 33-4 124v613q0 89 4 134zm601-222v196q-71 39-174 39-62 0-107-20t-70-50-39.5-78-18.5-92-4-103V635h2v-4q-7 0-19-1t-18-1q-21 0-59 6V445h96v-76q0-54-6-89h227q-6 41-6 165h171v190q-15 0-43.5-2t-42.5-2h-85v365q0 131 87 131 61 0 109-33zm-576-947q0 58-39 101.5t-96 43.5q-58 0-98-43.5T875 147q0-59 39.5-103T1013 0q58 0 96.5 44.5T1148 147z\"/></svg>"},{"name":"font-awesome/y-combinator-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"y-combinator-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M809 1004l266-499H963L806 817q-24 48-44 92l-42-92-155-312H445l263 493v324h101v-318zm727-588v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/yc-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"yc-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M809 1004l266-499H963L806 817q-24 48-44 92l-42-92-155-312H445l263 493v324h101v-318zm727-588v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/hacker-news","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hacker-news\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M809 1004l266-499H963L806 817q-24 48-44 92l-42-92-155-312H445l263 493v324h101v-318zm727-588v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/tencent-weibo","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tencent-weibo\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M842 572q0 80-57 136.5T649 765q-60 0-111-35-62 67-115 146-247 371-202 859 1 22-12.5 38.5T174 1792h-5q-20 0-35-13.5t-17-33.5q-14-126-3.5-247.5t29.5-217 54-186T266 939t74-125q61-90 132-165-16-35-16-77 0-80 56.5-136.5T649 379t136.5 56.5T842 572zm381 11q0 158-78 292t-212.5 212-292.5 78q-64 0-131-14-21-5-32.5-23.5T470 1088q5-20 23-31.5t39-7.5q51 13 108 13 97 0 186-38t153-102 102-153 38-186-38-186-102-153-153-102-186-38-186 38-153 102-102 153-38 186q0 114 52 218 10 20 3.5 40T191 871t-39.5 3-30.5-26Q57 725 57 583q0-119 46.5-227T228 170 414 46 640 0q158 0 292.5 78T1145 290.5t78 292.5z\"/></svg>"},{"name":"font-awesome/qq","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"qq\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M270 806q-8-19-8-52 0-20 11-49t24-45q-1-22 7.5-53t22.5-43q0-139 92.5-288.5T637 66Q776 0 961 0q133 0 266 55 49 21 90 48t71 56 55 68 42 74 32.5 84.5T1543 475t22 98l1 5q55 83 55 150 0 14-9 40t-9 38q0 1 1.5 3.5t3.5 5 2 3.5q77 114 120.5 214.5T1774 1241q0 43-19.5 100t-55.5 57q-9 0-19.5-7.5t-19-17.5-19-26-16-26.5-13.5-26-9-17.5q-1-1-3-1l-5 4q-59 154-132 223 20 20 61.5 38.5t69 41.5 35.5 65q-2 4-4 16t-7 18q-64 97-302 97-53 0-110.5-9t-98-20-104.5-30q-15-5-23-7-14-4-46-4.5t-40-1.5q-41 45-127.5 65T598 1792q-35 0-69-1.5t-93-9-101-20.5-74.5-40-32.5-64q0-40 10-59.5t41-48.5q11-2 40.5-13t49.5-12q4 0 14-2 2-2 2-4l-2-3q-48-11-108-105.5T202 1253l-5-3q-4 0-12 20-18 41-54.5 74.5T53 1382h-1q-4 0-6-4.5t-5-5.5q-23-54-23-100 0-275 252-466z\"/></svg>"},{"name":"font-awesome/wechat","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"wechat\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M580 461q0-41-25-66t-66-25q-43 0-76 25.5T380 461q0 39 33 64.5t76 25.5q41 0 66-24.5t25-65.5zm743 507q0-28-25.5-50t-65.5-22q-27 0-49.5 22.5T1160 968q0 28 22.5 50.5t49.5 22.5q40 0 65.5-22t25.5-51zm-236-507q0-41-24.5-66T997 370q-43 0-76 25.5T888 461q0 39 33 64.5t76 25.5q41 0 65.5-24.5T1087 461zm635 507q0-28-26-50t-65-22q-27 0-49.5 22.5T1559 968q0 28 22.5 50.5t49.5 22.5q39 0 65-22t26-51zm-266-397q-31-4-70-4-169 0-311 77T851.5 852.5 770 1140q0 78 23 152-35 3-68 3-26 0-50-1.5t-55-6.5-44.5-7-54.5-10.5-50-10.5l-253 127 72-218Q0 965 0 678q0-169 97.5-311t264-223.5T725 62q176 0 332.5 66t262 182.5T1456 571zm592 561q0 117-68.5 223.5T1794 1549l55 181-199-109q-150 37-218 37-169 0-311-70.5T897.5 1396 816 1132t81.5-264T1121 676.5t311-70.5q161 0 303 70.5t227.5 192T2048 1132z\"/></svg>"},{"name":"font-awesome/weixin","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"weixin\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M580 461q0-41-25-66t-66-25q-43 0-76 25.5T380 461q0 39 33 64.5t76 25.5q41 0 66-24.5t25-65.5zm743 507q0-28-25.5-50t-65.5-22q-27 0-49.5 22.5T1160 968q0 28 22.5 50.5t49.5 22.5q40 0 65.5-22t25.5-51zm-236-507q0-41-24.5-66T997 370q-43 0-76 25.5T888 461q0 39 33 64.5t76 25.5q41 0 65.5-24.5T1087 461zm635 507q0-28-26-50t-65-22q-27 0-49.5 22.5T1559 968q0 28 22.5 50.5t49.5 22.5q39 0 65-22t26-51zm-266-397q-31-4-70-4-169 0-311 77T851.5 852.5 770 1140q0 78 23 152-35 3-68 3-26 0-50-1.5t-55-6.5-44.5-7-54.5-10.5-50-10.5l-253 127 72-218Q0 965 0 678q0-169 97.5-311t264-223.5T725 62q176 0 332.5 66t262 182.5T1456 571zm592 561q0 117-68.5 223.5T1794 1549l55 181-199-109q-150 37-218 37-169 0-311-70.5T897.5 1396 816 1132t81.5-264T1121 676.5t311-70.5q161 0 303 70.5t227.5 192T2048 1132z\"/></svg>"},{"name":"font-awesome/send","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"send\" viewBox=\"0 0 1792.0013 1896.0833\"><path d=\"M1764 11q33 24 27 64l-256 1536q-5 29-32 45-14 8-31 8-11 0-24-5l-453-185-242 295q-18 23-49 23-13 0-22-4-19-7-30.5-23.5T640 1728v-349l864-1059-1069 925-395-162q-37-14-40-55-2-40 32-59L1696 9q15-9 32-9 20 0 36 11z\"/></svg>"},{"name":"font-awesome/paper-plane","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"paper-plane\" viewBox=\"0 0 1792.0013 1896.0833\"><path d=\"M1764 11q33 24 27 64l-256 1536q-5 29-32 45-14 8-31 8-11 0-24-5l-453-185-242 295q-18 23-49 23-13 0-22-4-19-7-30.5-23.5T640 1728v-349l864-1059-1069 925-395-162q-37-14-40-55-2-40 32-59L1696 9q15-9 32-9 20 0 36 11z\"/></svg>"},{"name":"font-awesome/send-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"send-o\" viewBox=\"0 0 1792.003 1896.0833\"><path d=\"M1764.003 11q33 24 27 64l-256 1536q-5 29-32 45-14 8-31 8-11 0-24-5l-527-215-298 327q-18 21-47 21-14 0-23-4-19-7-30-23.5t-11-36.5v-452l-472-193q-37-14-40-55-3-39 32-59l1664-960q35-21 68 2zm-342 1499l221-1323-1434 827 336 137 863-639-478 797z\"/></svg>"},{"name":"font-awesome/paper-plane-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"paper-plane-o\" viewBox=\"0 0 1792.003 1896.0833\"><path d=\"M1764.003 11q33 24 27 64l-256 1536q-5 29-32 45-14 8-31 8-11 0-24-5l-527-215-298 327q-18 21-47 21-14 0-23-4-19-7-30-23.5t-11-36.5v-452l-472-193q-37-14-40-55-3-39 32-59l1664-960q35-21 68 2zm-342 1499l221-1323-1434 827 336 137 863-639-478 797z\"/></svg>"},{"name":"font-awesome/history","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"history\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5T177 1387q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5T1130 1258t109.5-163.5T1280 896t-40.5-198.5T1130 534 966.5 424.5 768 384q-98 0-188 35.5T420 521l137 138q31 30 14 69-17 40-59 40H64q-26 0-45-19T0 704V256q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5T768 128q156 0 298 61t245 164 164 245 61 298zM896 608v448q0 14-9 23t-23 9H544q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h224V608q0-14 9-23t23-9h64q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/circle-thin","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"circle-thin\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 256q-130 0-248.5 51t-204 136.5-136.5 204T128 896t51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5-51-248.5-136.5-204-204-136.5T768 256zm768 640q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/header","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"header\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1682 1664q-44 0-132.5-3.5T1416 1657q-44 0-132 3.5t-132 3.5q-24 0-37-20.5t-13-45.5q0-31 17-46t39-17 51-7 45-15q33-21 33-140l-1-391q0-21-1-31-13-4-50-4H560q-38 0-51 4-1 10-1 31l-1 371q0 142 37 164 16 10 48 13t57 3.5 45 15 20 45.5q0 26-12.5 48t-36.5 22q-47 0-139.5-3.5T387 1657q-43 0-128 3.5t-127 3.5q-23 0-35.5-21T84 1598q0-30 15.5-45t36-17.5 47.5-7.5 42-15q33-23 33-143l-1-57V500q0-3 .5-26t0-36.5T256 399t-3.5-42-6.5-36.5-11-31.5-16-18q-15-10-45-12t-53-2-41-14-18-45q0-26 12-48t36-22q46 0 138.5 3.5T387 135q42 0 126.5-3.5T640 128q25 0 37.5 22t12.5 48q0 30-17 43.5T634.5 256t-49.5 4-43 13q-35 21-35 160l1 320q0 21 1 32 13 3 39 3h699q25 0 38-3 1-11 1-32l1-320q0-139-35-160-18-11-58.5-12.5t-66-13T1102 198q0-26 12.5-48t37.5-22q44 0 132 3.5t132 3.5q43 0 129-3.5t129-3.5q25 0 37.5 22t12.5 48q0 30-17.5 44t-40 14.5-51.5 3-44 12.5q-35 23-35 161l1 943q0 119 34 140 16 10 46 13.5t53.5 4.5 41.5 15.5 18 44.5q0 26-12 48t-36 22z\"/></svg>"},{"name":"font-awesome/paragraph","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"paragraph\" viewBox=\"0 0 1341.2812 1896.0833\"><path d=\"M1278 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18H959q-25 0-43-18t-18-43V385H755v1218q0 25-17.5 43t-43.5 18H586q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z\"/></svg>"},{"name":"font-awesome/sliders","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sliders\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M352 1408v128H0v-128h352zm352-128q26 0 45 19t19 45v256q0 26-19 45t-45 19H448q-26 0-45-19t-19-45v-256q0-26 19-45t45-19h256zm160-384v128H0V896h864zM224 384v128H0V384h224zm1312 1024v128H800v-128h736zM576 256q26 0 45 19t19 45v256q0 26-19 45t-45 19H320q-26 0-45-19t-19-45V320q0-26 19-45t45-19h256zm640 512q26 0 45 19t19 45v256q0 26-19 45t-45 19H960q-26 0-45-19t-19-45V832q0-26 19-45t45-19h256zm320 128v128h-224V896h224zm0-512v128H672V384h864z\"/></svg>"},{"name":"font-awesome/share-alt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"share-alt\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1216 1024q133 0 226.5 93.5T1536 1344t-93.5 226.5T1216 1664t-226.5-93.5T896 1344q0-12 2-34l-360-180q-92 86-218 86-133 0-226.5-93.5T0 896t93.5-226.5T320 576q126 0 218 86l360-180q-2-22-2-34 0-133 93.5-226.5T1216 128t226.5 93.5T1536 448t-93.5 226.5T1216 768q-126 0-218-86L638 862q2 22 2 34t-2 34l360 180q92-86 218-86z\"/></svg>"},{"name":"font-awesome/share-alt-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"share-alt-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 1195q0-88-62.5-151T1067 981q-84 0-145 58L681 919q2-16 2-23t-2-23l241-120q61 58 145 58 88 0 150.5-63t62.5-151-62.5-150.5T1067 384t-151 62.5T853 597q0 7 2 23L614 740q-62-57-145-57-88 0-150.5 62.5T256 896t62.5 150.5T469 1109q83 0 145-57l241 120q-2 16-2 23 0 88 63 150.5t151 62.5 150.5-62.5T1280 1195zm256-779v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/bomb","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bomb\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M571 589q-10-25-34-35t-49 0q-108 44-191 127T170 872q-10 25 0 49t35 34q13 5 24 5 42 0 60-40 34-84 98.5-148.5T536 673q25-11 35-35t0-49zm942-356l46 46-244 243 68 68q19 19 19 45.5t-19 45.5l-64 64q89 161 89 343 0 143-55.5 273.5t-150 225-225 150T704 1792t-273.5-55.5-225-150-150-225T0 1088t55.5-273.5 150-225 225-150T704 384q182 0 343 89l64-64q19-19 45.5-19t45.5 19l68 68zm8-56q-10 10-22 10-13 0-23-10l-91-90q-9-10-9-23t9-23q10-9 23-9t23 9l90 91q10 9 10 22.5t-10 22.5zm230 230q-11 9-23 9t-23-9l-90-91q-10-9-10-22.5t10-22.5q9-10 22.5-10t22.5 10l91 90q9 10 9 23t-9 23zm41-183q0 14-9 23t-23 9h-96q-14 0-23-9t-9-23 9-23 23-9h96q14 0 23 9t9 23zM1600 32v96q0 14-9 23t-23 9-23-9-9-23V32q0-14 9-23t23-9 23 9 9 23zm151 55l-91 90q-10 10-22 10-13 0-23-10-10-9-10-22.5t10-22.5l90-91q10-9 23-9t23 9q9 10 9 23t-9 23z\"/></svg>"},{"name":"font-awesome/soccer-ball-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"soccer-ball-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M609 816l287-208 287 208-109 336H719zM896 0q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0zm619 1350q149-203 149-454v-3l-102 89-240-224 63-323 134 12q-150-206-389-282l53 124-287 159-287-159 53-124q-239 76-389 282l135-12 62 323-240 224-102-89v3q0 251 149 454l30-132 326 40 139 298-116 69q117 39 240 39t240-39l-116-69 139-298 326-40z\"/></svg>"},{"name":"font-awesome/futbol-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"futbol-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M609 816l287-208 287 208-109 336H719zM896 0q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0zm619 1350q149-203 149-454v-3l-102 89-240-224 63-323 134 12q-150-206-389-282l53 124-287 159-287-159 53-124q-239 76-389 282l135-12 62 323-240 224-102-89v3q0 251 149 454l30-132 326 40 139 298-116 69q117 39 240 39t240-39l-116-69 139-298 326-40z\"/></svg>"},{"name":"font-awesome/tty","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tty\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M448 1312v192q0 14-9 23t-23 9H224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h192q14 0 23 9t9 23zM256 928v192q0 14-9 23t-23 9H32q-14 0-23-9t-9-23V928q0-14 9-23t23-9h192q14 0 23 9t9 23zm576 384v192q0 14-9 23t-23 9H608q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h192q14 0 23 9t9 23zM640 928v192q0 14-9 23t-23 9H416q-14 0-23-9t-9-23V928q0-14 9-23t23-9h192q14 0 23 9t9 23zM66 768q-28 0-47-19T0 703V574h514v129q0 27-19 46t-46 19H66zm1150 544v192q0 14-9 23t-23 9H992q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h192q14 0 23 9t9 23zm-192-384v192q0 14-9 23t-23 9H800q-14 0-23-9t-9-23V928q0-14 9-23t23-9h192q14 0 23 9t9 23zm576 384v192q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h192q14 0 23 9t9 23zm-192-384v192q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23V928q0-14 9-23t23-9h192q14 0 23 9t9 23zm384-408v13h-514v-10q0-104-382-102-382 1-382 102v10H0v-13q0-17 8.5-43t34-64 65.5-75.5 110.5-76 160-67.5 224-47.5T896 128t293 18.5 224 47.5 160.5 67.5 110.5 76 65.5 75.5 34 64 8.5 43zm0 408v192q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23V928q0-14 9-23t23-9h192q14 0 23 9t9 23zm0-354v129q0 27-19 46t-46 19h-384q-27 0-46-19t-19-46V574h514z\"/></svg>"},{"name":"font-awesome/binoculars","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"binoculars\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M704 320v768q0 26-19 45t-45 19v576q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-512l249-873q7-23 31-23h424zm320 0v704H768V320h256zm768 896v512q0 26-19 45t-45 19h-512q-26 0-45-19t-19-45v-576q-26 0-45-19t-19-45V320h424q24 0 31 23zM736 32v224H384V32q0-14 9-23t23-9h288q14 0 23 9t9 23zm672 0v224h-352V32q0-14 9-23t23-9h288q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/plug","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"plug\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1755 453q37 38 37 90.5t-37 90.5l-401 400 150 150-160 160q-163 163-389.5 186.5T543 1430l-362 362H0v-181l362-362q-124-185-100.5-411.5T448 448l160-160 150 150 400-401q38-37 91-37t90 37 37 90.5-37 90.5L939 619l234 234 401-400q38-37 91-37t90 37z\"/></svg>"},{"name":"font-awesome/slideshare","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"slideshare\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M873 740q0 83-63.5 142.5T657 942t-152.5-59.5T441 740q0-84 63.5-143T657 538t152.5 59T873 740zm502 0q0 83-63 142.5T1159 942q-89 0-152.5-59.5T943 740q0-84 63.5-143t152.5-59q90 0 153 59t63 143zm225 180V253q0-87-32-123.5T1457 93H345q-83 0-112.5 34T203 253v673q43 23 88.5 40t81 28 81 18.5 71 11 70 4 58.5.5 56.5-2 44.5-2q68-1 95 27 6 6 10 9 26 25 61 51 7-91 118-87 5 0 36.5 1.5t43 2 45.5 1 53-1 54.5-4.5 61-8.5 62-13.5 67-19.5 67.5-27 72-34.5zm163-5q-121 149-372 252 84 285-23 465-66 113-183 148-104 32-182-15-86-51-82-164l-1-326v-1q-8-2-24.5-6t-23.5-5l-1 338q4 114-83 164-79 47-183 15-117-36-182-150-105-180-22-463-251-103-372-252-25-37-4-63t60 1q4 2 11.5 7t10.5 8V174q0-72 47-123T268 0h1257q67 0 114 51t47 123v694l21-15q39-27 60-1t-4 63z\"/></svg>"},{"name":"font-awesome/twitch","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"twitch\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 434v434H751V434h145zm398 0v434h-145V434h145zm0 760l253-254V145H353v1049h326v217l217-217h398zM1692 0v1013l-434 434H932l-217 217H498v-217H100V289L209 0h1483z\"/></svg>"},{"name":"font-awesome/yelp","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"yelp\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M773 1319v127q-1 292-6 305-12 32-51 40-54 9-181.5-38T372 1664q-13-15-17-36-1-12 4-26 4-10 34-47t181-216q1 0 60-70 15-19 39.5-24.5t49.5 3.5q24 10 37.5 29t12.5 42zm-149-251q-3 55-52 70l-120 39q-275 88-292 88-35-2-54-36-12-25-17-75-8-76 1-166.5T120 863t56-32q13 0 202 77 71 29 115 47l84 34q23 9 35.5 30.5T624 1068zm826 297q-7 54-91.5 161T1223 1653q-37 14-63-7-14-10-184-287l-47-77q-14-21-11.5-46t19.5-46q35-43 83-26 1 1 119 40 203 66 242 79.5t47 20.5q28 22 22 61zM778 733q5 102-54 122-58 17-114-71L232 186q-8-35 19-62 41-43 207.5-89.5T683 3q40 10 49 45 3 18 22 305.5T778 733zm662 108q3 39-26 59-15 10-329 86-67 15-91 23l1-2q-23 6-46-4t-37-32q-30-47 0-87 1-1 75-102 125-171 150-204t34-39q28-19 65-2 48 23 123 133.5t81 167.5v3z\"/></svg>"},{"name":"font-awesome/newspaper-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"newspaper-o\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1024 512H640v384h384V512zm128 640v128H512v-128h640zm0-768v640H512V384h640zm640 768v128h-512v-128h512zm0-256v128h-512V896h512zm0-256v128h-512V640h512zm0-256v128h-512V384h512zM256 1344V384H128v960q0 26 19 45t45 19 45-19 19-45zm1664 0V256H384v1088q0 33-11 64h1483q26 0 45-19t19-45zm128-1216v1216q0 80-56 136t-136 56H192q-80 0-136-56T0 1344V256h256V128h1792z\"/></svg>"},{"name":"font-awesome/wifi","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"wifi\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1024 1523q-20 0-93-73.5t-73-93.5q0-32 62.5-54t103.5-22 103.5 22 62.5 54q0 20-73 93.5t-93 73.5zm270-271q-2 0-40-25t-101.5-50-128.5-25-128.5 25-101 50-40.5 25q-18 0-93.5-75t-75.5-93q0-13 10-23 78-77 196-121t233-44 233 44 196 121q10 10 10 23 0 18-75.5 93t-93.5 75zm273-272q-11 0-23-8-136-105-252-154.5T1024 768q-85 0-170.5 22t-149 53T591 905t-79 53-31 22q-17 0-92-75t-75-93q0-12 10-22 132-132 320-205t380-73 380 73 320 205q10 10 10 22 0 18-75 93t-92 75zm271-271q-11 0-22-9-179-157-371.5-236.5T1024 384t-420.5 79.5T232 700q-11 9-22 9-17 0-92.5-75T42 541q0-13 10-23 187-186 445-288t527-102 527 102 445 288q10 10 10 23 0 18-75.5 93t-92.5 75z\"/></svg>"},{"name":"font-awesome/calculator","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"calculator\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M384 1536q0-53-37.5-90.5T256 1408t-90.5 37.5T128 1536t37.5 90.5T256 1664t90.5-37.5T384 1536zm384 0q0-53-37.5-90.5T640 1408t-90.5 37.5T512 1536t37.5 90.5T640 1664t90.5-37.5T768 1536zm-384-384q0-53-37.5-90.5T256 1024t-90.5 37.5T128 1152t37.5 90.5T256 1280t90.5-37.5T384 1152zm768 384q0-53-37.5-90.5T1024 1408t-90.5 37.5T896 1536t37.5 90.5 90.5 37.5 90.5-37.5 37.5-90.5zm-384-384q0-53-37.5-90.5T640 1024t-90.5 37.5T512 1152t37.5 90.5T640 1280t90.5-37.5T768 1152zM384 768q0-53-37.5-90.5T256 640t-90.5 37.5T128 768t37.5 90.5T256 896t90.5-37.5T384 768zm768 384q0-53-37.5-90.5T1024 1024t-90.5 37.5T896 1152t37.5 90.5 90.5 37.5 90.5-37.5 37.5-90.5zM768 768q0-53-37.5-90.5T640 640t-90.5 37.5T512 768t37.5 90.5T640 896t90.5-37.5T768 768zm768 768v-384q0-52-38-90t-90-38-90 38-38 90v384q0 52 38 90t90 38 90-38 38-90zm-384-768q0-53-37.5-90.5T1024 640t-90.5 37.5T896 768t37.5 90.5T1024 896t90.5-37.5T1152 768zm384-320V192q0-26-19-45t-45-19H192q-26 0-45 19t-19 45v256q0 26 19 45t45 19h1280q26 0 45-19t19-45zm0 320q0-53-37.5-90.5T1408 640t-90.5 37.5T1280 768t37.5 90.5T1408 896t90.5-37.5T1536 768zm128-640v1536q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V128q0-52 38-90t90-38h1408q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/paypal","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"paypal\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1519 646q18 84-4 204-87 444-565 444h-44q-25 0-44 16.5t-24 42.5l-4 19-55 346-2 15q-5 26-24.5 42.5T708 1792H457q-21 0-33-15t-9-36q9-56 26.5-168t26.5-168 27-167.5 27-167.5q5-37 43-37h131q133 2 236-21 175-39 287-144 102-95 155-246 24-70 35-133 1-6 2.5-7.5t3.5-1 6 3.5q79 59 98 162zm-172-282q0 107-46 236-80 233-302 315-113 40-252 42 0 1-90 1l-90-1q-100 0-118 96-2 8-85 530-1 10-12 10H57q-22 0-36.5-16.5T9 1538L241 67q5-29 27.5-48T320 0h598q34 0 97.5 13T1127 45q107 41 163.5 123t56.5 196z\"/></svg>"},{"name":"font-awesome/google-wallet","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"google-wallet\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M441 672q33 0 52 26 266 364 362 774H409Q282 1031 42 723q-12-16-3-33.5T68 672h373zm559 357q-49 199-125 393-79-310-256-594 40-221 44-449 211 340 337 650zm99-709q235 324 384.5 698.5T1668 1792h-451q-41-665-553-1472h435zm693 576q0 424-101 812-67-560-359-1083-25-301-106-584-4-16 5.5-28.5T1257 0h359q21 0 38.5 13t22.5 33q115 409 115 850z\"/></svg>"},{"name":"font-awesome/cc-visa","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cc-visa\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1975 990h-138q14-37 66-179l3-9q4-10 10-26t9-26l12 55zM531 925l-58-295q-11-54-75-54H130l-2 13q311 79 403 336zm179-349l-162 438-17-89q-26-70-85-129.5T315 707l135 510h175l261-641H710zm139 642h166l104-642H953zm768-626q-69-27-149-27-123 0-201 59t-79 153q-1 102 145 174 48 23 67 41t19 39q0 30-30 46t-69 16q-86 0-156-33l-22-11-23 144q74 34 185 34 130 1 208.5-59t80.5-160q0-106-140-174-49-25-71-42t-22-38q0-22 24.5-38.5T1455 699q70-1 124 24l15 8zm425-16h-128q-65 0-87 54l-246 588h174l35-96h212q5 22 20 96h154zm262-320v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V256q0-52 38-90t90-38h2048q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/cc-mastercard","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cc-mastercard\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1119 341q-128-85-281-85-103 0-197.5 40.5T478 405 369.5 567 329 764q0 104 40.5 198T478 1124t162 108.5 198 40.5q153 0 281-85-131-107-178-265.5t.5-316.5T1119 341zm33 24q-126 99-172 249.5t-.5 300.5 172.5 249q127-99 172.5-249t-.5-300.5T1152 365zm33-24q130 107 177.5 265.5t.5 317-178 264.5q128 85 281 85 104 0 198-40.5t162-108.5 108.5-162 40.5-198q0-103-40.5-197T1826 405t-162.5-108.5T1466 256q-153 0-281 85zm741 722h7v-3h-17v3h7v17h3v-17zm29 17h4v-20h-5l-6 13-6-13h-5v20h3v-15l6 13h4l5-13v15zm-8 440v2h-5v-3h5v1zm0 9h3l-4-5h2l1-1q1-1 1-3t-1-3l-1-1h-9v13h3v-5h1zm-1262-68q0-19 11-31t30-12q18 0 29 12.5t11 30.5q0 19-11 31t-29 12q-19 0-30-12t-11-31zm473-44q30 0 35 32h-70q5-32 35-32zm356 44q0-19 11-31t29-12 29.5 12.5 11.5 30.5q0 19-11 31t-30 12q-18 0-29-12t-11-31zm272 0q0-18 11.5-30.5t29.5-12.5 29.5 12.5 11.5 30.5q0 19-11.5 31t-29.5 12-29.5-12.5-11.5-30.5zm158 72q-2 0-4-1-1 0-3-2t-2-3q-1-2-1-4 0-3 1-4 0-2 2-4l1-1q2 0 2-1 2-1 4-1 3 0 4 1l4 2 2 4v1q1 2 1 3l-1 1v3l-1 1-1 2q-2 2-4 2-1 1-4 1zm-1345-4h30v-85q0-24-14.5-38.5T575 1390q-32 0-47 24-14-24-45-24-24 0-39 20v-16h-30v135h30v-75q0-36 33-36 30 0 30 36v75h29v-75q0-36 33-36 30 0 30 36v75zm166 0h29v-135h-29v16q-17-20-43-20-29 0-48 20t-19 51 19 51 48 20q28 0 43-20v17zm178-41q0-34-47-40l-14-2q-23-4-23-14 0-15 25-15 23 0 43 11l12-24q-22-14-55-14-26 0-41 12t-15 32q0 33 47 39l13 2q24 4 24 14 0 17-31 17-25 0-45-14l-13 23q25 17 58 17 29 0 45.5-12t16.5-32zm130 34l-8-25q-13 7-26 7-19 0-19-22v-61h48v-27h-48v-41h-30v41h-28v27h28v61q0 50 47 50 21 0 36-10zm86-132q-29 0-48 20t-19 51q0 32 19.5 51.5t49.5 19.5q33 0 55-19l-14-22q-18 15-39 15-34 0-41-33h101v-12q0-32-18-51.5t-46-19.5zm159 0q-23 0-35 20v-16h-30v135h30v-76q0-35 29-35 10 0 18 4l9-28q-9-4-21-4zm30 71q0 31 19.5 51t52.5 20q29 0 48-16l-14-24q-18 13-35 12-18 0-29.5-12t-11.5-31 11.5-31 29.5-12q19 0 35 12l14-24q-20-16-48-16-33 0-52.5 20t-19.5 51zm245 68h30v-135h-30v16q-15-20-42-20-29 0-48.5 20t-19.5 51 19.5 51 48.5 20q28 0 42-20v17zm133-139q-23 0-35 20v-16h-29v135h29v-76q0-35 29-35 10 0 18 4l9-28q-8-4-21-4zm140 139h29v-190h-29v71q-15-20-43-20t-47.5 20.5-19.5 50.5 19.5 50.5 47.5 20.5q29 0 43-20v17zm78-20l-2 1h-3q-2 1-4 3-3 1-3 4-1 2-1 6 0 3 1 5 0 2 3 4 2 2 4 3t5 1q4 0 6-1 0-1 2-2l2-1q1-1 3-4 1-2 1-5 0-4-1-6-1-1-3-4 0-1-2-2l-2-1q-1 0-3-.5t-3-.5zm360-1253v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V256q0-52 38-90t90-38h2048q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/cc-discover","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cc-discover\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M313 777q0 51-36 84-29 26-89 26h-17V667h17q61 0 89 27 36 31 36 83zm1776-65q0 52-64 52h-19V663h20q63 0 63 49zM380 777q0-74-50-120.5T201 610h-95v333h95q74 0 119-38 60-51 60-128zm30 166h65V610h-65v333zm320-101q0-40-20.5-62T634 738q-29-10-39.5-19T584 696q0-16 13.5-26.5T632 659q29 0 53 27l34-44q-41-37-98-37-44 0-74 27.5T517 700q0 35 18 55.5t64 36.5q37 13 45 19 19 12 19 34 0 20-14 33.5T613 892q-48 0-71-44l-42 40q44 64 115 64 51 0 83-30.5t32-79.5zm278 90v-77q-37 37-78 37-49 0-80.5-32.5T818 777q0-48 31.5-81.5T927 662q43 0 81 38v-77q-40-20-80-20-74 0-125.5 50.5T751 777t51 123.5T927 951q42 0 81-19zm1232 604v-527q-65 40-144.5 84T1858 1210t-329.5 137.5T1111 1482t-504 118h1569q26 0 45-19t19-45zm-851-757q0-75-53-128t-128-53-128 53-53 128 53 128 128 53 128-53 53-128zm152 173l144-342h-71l-90 224-89-224h-71l142 342h35zm173-9h184v-56h-119v-90h115v-56h-115v-74h119v-57h-184v333zm391 0h80l-105-140q76-16 76-94 0-47-31-73t-87-26h-97v333h65V810h9zm199-681v1268q0 56-38.5 95t-93.5 39H132q-55 0-93.5-39T0 1530V262q0-56 38.5-95t93.5-39h2040q55 0 93.5 39t38.5 95z\"/></svg>"},{"name":"font-awesome/cc-amex","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cc-amex\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M119 682h89l-45-108zm621 526l74-79-70-79H581v49h142v55H581v54h159zm158-78l99 110v-217zm288-47q0-33-40-33h-84v69h83q41 0 41-36zm289-4q0-29-42-29h-82v61h81q43 0 43-32zm-278-466q0-29-42-29h-82v60h81q43 0 43-31zm459 69h89l-44-108zM699 527v271h-66V586l-94 212h-57l-94-212v212H256l-25-60H96l-25 60H1l116-271h96l110 257V527h106l85 184 77-184h108zm556 556q0 20-5.5 35t-14 25-22.5 16.5-26 10-31.5 4.5-31.5 1-32.5-.5-29.5-.5v91H936l-80-90-83 90H517V994h260l80 89 82-89h207q109 0 109 89zM964 742v56H747V527h217v57H812v49h148v55H812v54h152zm1340 559v229q0 55-38.5 94.5T2172 1664H132q-55 0-93.5-39.5T0 1530V852h111l25-61h55l25 61h218v-46l19 46h113l20-47v47h541v-99l10-1q10 0 10 14v86h279v-23q23 12 55 18t52.5 6.5 63-.5 51.5-1l25-61h56l25 61h227v-58l34 58h182V474h-180v44l-25-44h-185v44l-23-44h-249q-69 0-109 22v-22h-172v22q-24-22-73-22H553l-43 97-43-97H269v44l-22-44H78L0 653V262q0-55 38.5-94.5T132 128h2040q55 0 93.5 39.5T2304 262v678h-120q-51 0-81 22v-22h-177q-55 0-78 22v-22h-316v22q-31-22-87-22h-209v22q-23-22-91-22H911l-54 58-50-58H458v378h343l55-59 52 59h211v-89h21q59 0 90-13v102h174v-99h8q8 0 10 2t2 10v87h529q57 0 88-24v24h168q60 0 95-17zm-758-234q0 23-12 43t-34 29q25 9 34 26t9 46v54h-65v-45q0-33-12-43.5t-46-10.5h-69v99h-65V994h154q48 0 77 15t29 58zm-277-467q0 24-12.5 44t-33.5 29q26 9 34.5 25.5t8.5 46.5v53h-65q0-9 .5-26.5t0-25-3-18.5-8.5-16-17.5-8.5-29.5-3.5h-70v98h-64V527l153 1q49 0 78 14.5t29 57.5zm529 609v56h-216V994h216v56h-151v49h148v55h-148v54zm-426-682v271h-66V527h66zm693 652q0 86-102 86h-126v-58h126q34 0 34-25 0-16-17-21t-41.5-5-49.5-3.5-42-22.5-17-55q0-39 26-60t66-21h130v57h-119q-36 0-36 25 0 16 17.5 20.5t42 4 49 2.5 42 21.5 17.5 54.5zm239-50v101q-24 35-88 35h-125v-58h125q33 0 33-25 0-13-12.5-19t-31-5.5-40-2-40-8-31-24-12.5-48.5q0-39 26.5-60t66.5-21h129v57h-118q-36 0-36 25 0 20 29 22t68.5 5 56.5 26zm-165-601v270h-92l-122-203v203h-132l-26-60h-134l-25 60h-75q-129 0-129-133 0-138 133-138h63v59q-7 0-28-1t-28.5-.5-23 2-21.5 6.5-14.5 13.5-11.5 23-3 33.5q0 38 13.5 58t49.5 20h29l92-213h97l109 256V528h99l114 188V528h66z\"/></svg>"},{"name":"font-awesome/cc-paypal","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cc-paypal\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M745 906q0 37-25.5 61.5T657 992q-29 0-46.5-16T593 932q0-37 25-62.5t62-25.5q28 0 46.5 16.5T745 906zm785-149q0 42-22 57t-66 15l-32 1 17-107q2-11 13-11h18q22 0 35 2t25 12.5 12 30.5zm351 149q0 36-25.5 61t-61.5 25q-29 0-47-16t-18-44q0-37 25-62.5t62-25.5q28 0 46.5 16.5T1881 906zM513 735q0-59-38.5-85.5T374 623H214q-19 0-21 19l-65 408q-1 6 3 11t10 5h76q20 0 22-19l18-110q1-8 7-13t15-6.5 17-1.5 19 1 14 1q86 0 135-48.5T513 735zm309 312l41-261q1-6-3-11t-10-5h-76q-14 0-17 33-27-40-95-40-72 0-122.5 54T489 944q0 59 34.5 94t92.5 35q28 0 58-12t48-32q-4 12-4 21 0 16 13 16h69q19 0 22-19zm447-263q0-5-4-9.5t-9-4.5h-77q-11 0-18 10l-106 156-44-150q-5-16-22-16h-75q-5 0-9 4.5t-4 9.5q0 2 19.5 59t42 123 23.5 70q-82 112-82 120 0 13 13 13h77q11 0 18-10l255-368q2-2 2-7zm380-49q0-59-38.5-85.5T1510 623h-159q-20 0-22 19l-65 408q-1 6 3 11t10 5h82q12 0 16-13l18-116q1-8 7-13t15-6.5 17-1.5 19 1 14 1q86 0 135-48.5t49-134.5zm309 312l41-261q1-6-3-11t-10-5h-76q-14 0-17 33-26-40-95-40-72 0-122.5 54T1625 944q0 59 34.5 94t92.5 35q29 0 59-12t47-32q0 1-2 9t-2 12q0 16 13 16h69q19 0 22-19zm218-409v-1q0-14-13-14h-74q-11 0-13 11l-65 416-1 2q0 5 4 9.5t10 4.5h66q19 0 21-19zM392 772q-5 35-26 46t-60 11l-33 1 17-107q2-11 13-11h19q40 0 58 11.5t12 48.5zm1912-516v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V256q0-52 38-90t90-38h2048q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/cc-stripe","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cc-stripe\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1597 903q0 69-21 106-19 35-52 35-23 0-41-9V811q29-30 57-30 57 0 57 122zm438-36h-110q6-98 56-98 51 0 54 98zM476 1002q0-59-33-91.5T342 853q-36-13-52-24t-16-25q0-26 38-26 58 0 124 33l18-112q-67-32-149-32-77 0-123 38-48 39-48 109 0 58 32.5 90.5T266 961q39 14 54.5 25.5T336 1014q0 31-48 31-29 0-70-12.5t-72-30.5l-18 113q72 41 168 41 81 0 129-37 51-41 51-117zm295-215l19-111h-96V541l-129 21-18 114-46 8-17 103h62v219q0 84 44 120 38 30 111 30 32 0 79-11v-118q-32 7-44 7-42 0-42-50V787h77zm316 25V673q-15-3-28-3-32 0-55.5 16T970 732l-10-56H829v471h150V841q26-31 82-31 16 0 26 2zm37 335h150V676h-150v471zm622-249q0-122-45-179-40-52-111-52-64 0-117 56l-8-47h-132v645l150-25v-151q36 11 68 11 83 0 134-56 61-65 61-202zm-468-348q0-33-23-56t-56-23-56 23-23 56 23 56.5 56 23.5 56-23.5 23-56.5zm898 357q0-113-48-176-50-64-144-64-96 0-151.5 66T1777 913q0 128 63 188 55 55 161 55 101 0 160-40l-16-103q-57 31-128 31-43 0-63-19-23-19-28-66h248q2-14 2-52zm128-651v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V256q0-52 38-90t90-38h2048q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/bell-slash","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bell-slash\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1558 852q61 356 298 556 0 52-38 90t-90 38h-448q0 106-75 181t-181 75-180.5-74.5T768 1537zm-534 860q16 0 16-16t-16-16q-59 0-101.5-42.5T880 1536q0-16-16-16t-16 16q0 73 51.5 124.5T1024 1712zM2026 112q8 10 7.5 23.5T2023 158L151 1780q-10 8-23.5 7t-21.5-11l-84-96q-8-10-7.5-23.5T25 1635l186-161q-19-32-19-66 50-42 91-88t85-119.5 74.5-158.5 50-206T512 576q0-152 117-282.5T936 135q-8-19-8-39 0-40 28-68t68-28 68 28 28 68q0 20-8 39 124 18 219 82.5T1479 375l418-363q10-8 23.5-7t21.5 11z\"/></svg>"},{"name":"font-awesome/bell-slash-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bell-slash-o\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1040 1696q0-16-16-16-59 0-101.5-42.5T880 1536q0-16-16-16t-16 16q0 73 51.5 124.5T1024 1712q16 0 16-16zm-537-475l877-760q-42-88-132.5-146.5T1024 256q-93 0-169.5 31.5T733 368t-69 103-24 105q0 384-137 645zm1353 187q0 52-38 90t-90 38h-448q0 106-75 181t-181 75-180.5-74.5T768 1537l149-129h757q-166-187-227-459l111-97q61 356 298 556zm86-1392l84 96q8 10 7.5 23.5T2023 158L151 1780q-10 8-23.5 7t-21.5-11l-84-96q-8-10-7.5-23.5T25 1635l186-161q-19-32-19-66 50-42 91-88t85-119.5 74.5-158.5 50-206T512 576q0-152 117-282.5T936 135q-8-19-8-39 0-40 28-68t68-28 68 28 28 68q0 20-8 39 124 18 219 82.5T1479 375l418-363q10-8 23.5-7t21.5 11z\"/></svg>"},{"name":"font-awesome/trash","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"trash\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M512 1376V672q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0V672q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0V672q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zM480 384h448l-48-117q-7-9-17-11H546q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5H288q-66 0-113-58.5T128 1464V512H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/copyright","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"copyright\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1150 1074v109q0 50-36.5 89t-94 60.5-118 32.5-117.5 11q-205 0-342.5-139T304 891q0-203 136-339t339-136q34 0 75.5 4.5t93 18 92.5 34 69 56.5 28 81v109q0 16-16 16h-118q-16 0-16-16v-70q0-43-65.5-67.5T784 557q-140 0-228.5 91.5T467 886q0 151 91.5 249.5T792 1234q68 0 138-24t70-66v-70q0-7 4.5-11.5t10.5-4.5h119q6 0 11 4.5t5 11.5zM768 256q-130 0-248.5 51t-204 136.5-136.5 204T128 896t51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5-51-248.5-136.5-204-204-136.5T768 256zm768 640q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/at","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"at\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M972 775q0-108-53.5-169T771 545q-63 0-124 30.5T537 660t-79.5 137T427 977q0 112 53.5 173t150.5 61q96 0 176-66.5t122.5-166T972 775zm564 121q0 111-37 197t-98.5 135-131.5 74.5-145 27.5q-6 0-15.5.5t-16.5.5q-95 0-142-53-28-33-33-83-52 66-131.5 110T612 1349q-161 0-249.5-95.5T274 984q0-157 66-290t179-210.5T765 406q87 0 155 35.5t106 99.5l2-19 11-56q1-6 5.5-12t9.5-6h118q5 0 13 11 5 5 3 16l-120 614q-5 24-5 48 0 39 12.5 52t44.5 13q28-1 57-5.5t73-24 77-50 57-89.5 24-137q0-292-174-466T768 256q-130 0-248.5 51t-204 136.5-136.5 204T128 896t51 248.5 136.5 204 204 136.5 248.5 51q228 0 405-144 11-9 24-8t21 12l41 49q8 12 7 24-2 13-12 22-102 83-227.5 128T768 1664q-156 0-298-61t-245-164-164-245T0 896t61-298 164-245 245-164 298-61q344 0 556 212t212 556z\"/></svg>"},{"name":"font-awesome/eyedropper","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"eyedropper\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1698 94q94 94 94 226.5T1698 546l-225 223 104 104q10 10 10 23t-10 23l-210 210q-10 10-23 10t-23-10l-105-105-603 603q-37 37-90 37H320L64 1792l-64-64 128-256v-203q0-53 37-90l603-603-105-105q-10-10-10-23t10-23l210-210q10-10 23-10t23 10l104 104 223-225q93-94 225.5-94T1698 94zM512 1472l576-576-192-192-576 576v192h192z\"/></svg>"},{"name":"font-awesome/paint-brush","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"paint-brush\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1615 0q70 0 122.5 46.5T1790 163q0 63-45 151-332 629-465 752-97 91-218 91-126 0-216.5-92.5T755 845q0-128 92-212l638-579q59-54 130-54zM706 1034q39 76 106.5 130t150.5 76l1 71q4 213-129.5 347T486 1792q-123 0-218-46.5T115.5 1618 29 1435 0 1215q7 5 41 30t62 44.5 59 36.5 46 17q41 0 55-37 25-66 57.5-112.5t69.5-76 88-47.5 103-25.5 125-10.5z\"/></svg>"},{"name":"font-awesome/birthday-cake","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"birthday-cake\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 1408v384H0v-384q45 0 85-14t59-27.5 47-37.5q30-27 51.5-38t56.5-11q24 0 44 7t31 15 33 27q29 25 47 38t58 27 86 14q45 0 85-14.5t58-27 48-37.5q21-19 32.5-27t31-15 43.5-7q35 0 56.5 11t51.5 38q28 24 47 37.5t59 27.5 85 14 85-14 59-27.5 47-37.5q30-27 51.5-38t56.5-11q34 0 55.5 11t51.5 38q28 24 47 37.5t59 27.5 85 14zm0-320v192q-24 0-44-7t-31-15-33-27q-29-25-47-38t-58-27-85-14q-46 0-86 14t-58 27-47 38q-22 19-33 27t-31 15-44 7q-35 0-56.5-11t-51.5-38q-29-25-47-38t-58-27-86-14q-45 0-85 14.5t-58 27-48 37.5q-21 19-32.5 27t-31 15-43.5 7q-35 0-56.5-11t-51.5-38q-28-24-47-37.5t-59-27.5-85-14q-46 0-86 14t-58 27-47 38q-30 27-51.5 38T0 1280v-192q0-80 56-136t136-56h64V448h256v448h256V448h256v448h256V448h256v448h64q80 0 136 56t56 136zM512 224q0 77-36 118.5T384 384q-53 0-90.5-37.5T256 256q0-29 9.5-51t23.5-34 31-28 31-31.5T374.5 67 384 0q38 0 83 74t45 150zm512 0q0 77-36 118.5T896 384q-53 0-90.5-37.5T768 256q0-29 9.5-51t23.5-34 31-28 31-31.5T886.5 67 896 0q38 0 83 74t45 150zm512 0q0 77-36 118.5t-92 41.5q-53 0-90.5-37.5T1280 256q0-29 9.5-51t23.5-34 31-28 31-31.5 23.5-44.5 9.5-67q38 0 83 74t45 150z\"/></svg>"},{"name":"font-awesome/area-chart","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"area-chart\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M2048 1536v128H0V128h128v1408h1920zM1664 512l256 896H256V832l448-576 576 576z\"/></svg>"},{"name":"font-awesome/pie-chart","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pie-chart\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M768 890l546 546q-106 108-247.5 168T768 1664q-209 0-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128v762zm187 6h773q0 157-60 298.5T1500 1442zm709-128H896V0q209 0 385.5 103T1561 382.5 1664 768z\"/></svg>"},{"name":"font-awesome/line-chart","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"line-chart\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M2048 1536v128H0V128h128v1408h1920zM1920 288v435q0 21-19.5 29.5T1865 745l-121-121-633 633q-10 10-23 10t-23-10l-233-233-416 416-192-192 585-585q10-10 23-10t23 10l233 233 464-464-121-121q-16-16-7.5-35.5T1453 256h435q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/lastfm","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"lastfm\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1292 704q0 6 10 41 10 29 25 49.5t41 34 44 20 55 16.5q325 91 325 332 0 146-105.5 242.5T1432 1536q-59 0-111.5-18.5T1229 1472t-77-74.5-63-87.5-53.5-103.5-43.5-103T952.5 997 917 902q-32-81-61.5-133.5T782 672t-104-64-142-20q-96 0-183 55.5T215 788t-51 185q0 160 106.5 279.5T534 1372q177 0 258-95 56-63 83-116l84 152q-15 34-44 70l1 1q-131 152-388 152-147 0-269.5-79T68 1249.5 0 975q0-105 43.5-206t116-176.5 172-121.5T536 425q87 0 159 19t123.5 50 95 80 72.5 99 58.5 117 50.5 124.5 50 130.5 55 127q96 200 233 200 81 0 138.5-48.5T1629 1195q0-42-19-72t-50.5-46-72.5-31.5-84.5-27-87.5-34-81-52-65-82-39-122.5q-3-16-3-33 0-110 87.5-192t198.5-78q78 3 120.5 14.5T1624 493h-1q12 11 23 24.5t26 36 19 27.5l-129 99q-26-49-54-70v-1q-23-21-97-21-49 0-84 33t-35 83z\"/></svg>"},{"name":"font-awesome/lastfm-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"lastfm-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1432 1052q0-173-234-239-35-10-53-16.5t-38-25-29-46.5q0-2-2-8.5t-3-12-1-7.5q0-36 24.5-59.5T1157 614q54 0 71 15h-1q20 15 39 51l93-71q-39-54-49-64-33-29-67.5-39t-85.5-10q-80 0-142 57.5T953 691q0 7 2 23 16 96 64.5 140t148.5 73q29 8 49 15.5t45 21.5 38.5 34.5 13.5 46.5v5q1 58-40.5 93t-100.5 35q-97 0-167-144-23-47-51.5-121.5t-48-125.5-54-110.5-74-95.5T675 520.5 528 496q-101 0-192 56T192 700t-50 192v1q4 108 50.5 199T326 1239.5t196 56.5q186 0 279-110 20-27 31-51l-60-109q-42 80-99 116t-146 36q-115 0-191-87t-76-204q0-105 82-189t186-84q112 0 170 53.5T802 840q8 21 25.5 68.5T856 985t31.5 74.5 38.5 74 45.5 62.5 55.5 53.5 66 33 80 13.5q107 0 183-69.5t76-174.5zm104-636v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/toggle-off","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"toggle-off\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1152 896q0-104-40.5-198.5T1002 534 838.5 424.5 640 384t-198.5 40.5T278 534 168.5 697.5 128 896t40.5 198.5T278 1258t163.5 109.5T640 1408t198.5-40.5T1002 1258t109.5-163.5T1152 896zm768 0q0-104-40.5-198.5T1770 534t-163.5-109.5T1408 384h-386q119 90 188.5 224t69.5 288-69.5 288-188.5 224h386q104 0 198.5-40.5T1770 1258t109.5-163.5T1920 896zm128 0q0 130-51 248.5t-136.5 204-204 136.5-248.5 51H640q-130 0-248.5-51t-204-136.5-136.5-204T0 896t51-248.5 136.5-204 204-136.5T640 256h768q130 0 248.5 51t204 136.5 136.5 204 51 248.5z\"/></svg>"},{"name":"font-awesome/toggle-on","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"toggle-on\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M0 896q0-130 51-248.5t136.5-204 204-136.5T640 256h768q130 0 248.5 51t204 136.5 136.5 204 51 248.5-51 248.5-136.5 204-204 136.5-248.5 51H640q-130 0-248.5-51t-204-136.5-136.5-204T0 896zm1408 512q104 0 198.5-40.5T1770 1258t109.5-163.5T1920 896t-40.5-198.5T1770 534t-163.5-109.5T1408 384t-198.5 40.5T1046 534 936.5 697.5 896 896t40.5 198.5T1046 1258t163.5 109.5T1408 1408z\"/></svg>"},{"name":"font-awesome/bicycle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bicycle\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M762 1152H448q-40 0-57.5-35t6.5-67l188-251q-65-31-137-31-132 0-226 94t-94 226 94 226 226 94q115 0 203-72.5T762 1152zm-186-128h186q-18-85-75-148zm480 0l288-384H864l-99 132q105 103 126 252h165zm1120 64q0-132-94-226t-226-94q-60 0-121 24l174 260q15 23 10 49t-27 40q-15 11-36 11-35 0-53-29l-174-260q-93 95-93 225 0 132 94 226t226 94 226-94 94-226zm128 0q0 185-131.5 316.5T1856 1536t-316.5-131.5T1408 1088q0-97 39.5-183.5T1557 755l-65-98-353 469q-18 26-51 26H891q-23 164-149 274t-294 110q-185 0-316.5-131.5T0 1088t131.5-316.5T448 640q114 0 215 55l137-183H576q-26 0-45-19t-19-45 19-45 45-19h384v128h435l-85-128h-222q-26 0-45-19t-19-45 19-45 45-19h256q33 0 53 28l267 400q91-44 192-44 185 0 316.5 131.5T2304 1088z\"/></svg>"},{"name":"font-awesome/bus","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bus\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M384 1216q0-53-37.5-90.5T256 1088t-90.5 37.5T128 1216t37.5 90.5T256 1344t90.5-37.5T384 1216zm1024 0q0-53-37.5-90.5T1280 1088t-90.5 37.5-37.5 90.5 37.5 90.5 90.5 37.5 90.5-37.5 37.5-90.5zm-46-396l-72-384q-5-23-22.5-37.5T1227 384H309q-23 0-40.5 14.5T246 436l-72 384q-5 30 14 53t49 23h1062q30 0 49-23t14-53zm-226-612q0-20-14-34t-34-14H448q-20 0-34 14t-14 34 14 34 34 14h640q20 0 34-14t14-34zm400 725v603h-128v128q0 53-37.5 90.5T1280 1792t-90.5-37.5-37.5-90.5v-128H384v128q0 53-37.5 90.5T256 1792t-90.5-37.5T128 1664v-128H0V933q0-112 25-223l103-454q9-78 97.5-137t230-89T768 0t312.5 30 230 89 97.5 137l105 454q23 102 23 223z\"/></svg>"},{"name":"font-awesome/ioxhost","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ioxhost\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1463 832q0 35-25 60.5t-61 25.5H675q-36 0-61-25.5T589 832t25-60.5 61-25.5h702q36 0 61 25.5t25 60.5zm214 0q0-86-23-170H672q-36 0-61-25t-25-60q0-36 25-61t61-25h908q-88-143-235-227t-320-84q-177 0-327.5 87.5T459.5 505 372 832q0 86 23 170h982q36 0 61 25t25 60q0 36-25 61t-61 25H469q88 143 235.5 227t320.5 84q132 0 253-51.5t208-139 139-208 52-253.5zm371-255q0 35-25 60t-61 25h-131q17 85 17 170 0 167-65.5 319.5t-175.5 263-262.5 176T1025 1656q-246 0-448.5-133T275 1173H86q-36 0-61-25t-25-61q0-35 25-60t61-25h132q-17-85-17-170 0-167 65.5-319.5t175.5-263 262.5-176T1025 8q245 0 447.5 133T1774 491h188q36 0 61 25t25 61z\"/></svg>"},{"name":"font-awesome/angellist","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"angellist\" viewBox=\"0 0 1282.7045 1896.0833\"><path d=\"M953 378L839 706l117 21q165-451 165-518 0-56-38-56-57 0-130 225zm-299 687l33 88q37-42 71-67l-33-5.5-38.5-7-32.5-8.5zM362 169q0 98 159 521 17-10 49-10 15 0 75 5L524 334q-75-220-123-220-19 0-29 17.5T362 169zm-79 759q0 36 51.5 119T452 1200t100 70q14 0 25.5-13t11.5-27q0-24-32-102-13-32-32-72t-47.5-89-61.5-81-62-32q-20 0-45.5 27T283 928zm-158 335q0 41 25 104 59 145 183.5 227t281.5 82q227 0 382-170 152-169 152-427 0-43-1-67t-11.5-62-30.5-56q-56-49-211.5-75.5T624 792q-37 0-49 11-12 5-12 35 0 34 21.5 60t55.5 40 77.5 23.5T805 973t85 4 70 0h23q24 0 40 19 15 19 19 55-28 28-96 54-61 22-93 46-64 46-108.5 114T700 1402q0 31 18.5 88.5T737 1578l-3 12q-4 12-4 14-137-10-146-216-8 2-41 2 2 7 2 21 0 53-40.5 89.5T410 1537q-82 0-166.5-78T159 1300q0-34 33-67 52 64 60 76 77 104 133 104 12 0 26.5-8.5T426 1384q0-34-87.5-145T222 1128q-43 0-70 44.5t-27 90.5zm-114 9q0-101 42.5-163t136.5-88q-28-74-28-104 0-62 61-123t122-61q29 0 70 15-163-462-163-567 0-80 41-130.5T412 0q131 0 325 581 6 17 8 23 6-16 29-79.5T817.5 406t54-127.5 64.5-123 70.5-86.5 76.5-36q71 0 112 49t41 122q0 108-159 550 61 15 100.5 46t58.5 78 26 93.5 7 110.5q0 150-47 280t-132 225-211 150-278 55q-111 0-223-42-149-57-258-191.5T11 1272z\"/></svg>"},{"name":"font-awesome/cc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cc\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M785 1008h207q-14 158-98.5 248.5T679 1347q-162 0-254.5-116T332 915q0-194 93-311.5T658 486q148 0 232 87t97 247H784q-5-64-35.5-99T667 686q-57 0-88.5 60.5T547 924q0 48 5 84t18 69.5 40 51.5 66 18q95 0 109-139zm712 0h206q-14 158-98 248.5t-214 90.5q-162 0-254.5-116T1044 915q0-194 93-311.5T1370 486q148 0 232 87t97 247h-204q-4-64-35-99t-81-35q-57 0-88.5 60.5T1259 924q0 48 5 84t18 69.5 39.5 51.5 65.5 18q49 0 76.5-38t33.5-101zm359-119q0-207-15.5-307T1780 421q-6-8-13.5-14t-21.5-15-16-11q-86-63-697-63-625 0-710 63-5 4-17.5 11.5t-21 14T269 421q-45 60-60 159.5T194 889q0 208 15 307.5t60 160.5q6 8 15 15t20.5 14 17.5 12q44 33 239.5 49t470.5 16q610 0 697-65 5-4 17-11t20.5-14 13.5-16q46-60 61-159t15-309zm192-761v1536H0V128h2048z\"/></svg>"},{"name":"font-awesome/shekel","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"shekel\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M992 624v496q0 14-9 23t-23 9H800q-14 0-23-9t-9-23V624q0-112-80-192t-192-80H224v1152q0 14-9 23t-23 9H32q-14 0-23-9t-9-23V160q0-14 9-23t23-9h464q135 0 249 66.5T925.5 375 992 624zm384-464v880q0 135-66.5 249T1129 1469.5 880 1536H416q-14 0-23-9t-9-23V544q0-14 9-23t23-9h160q14 0 23 9t9 23v768h272q112 0 192-80t80-192V160q0-14 9-23t23-9h160q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/sheqel","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sheqel\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M992 624v496q0 14-9 23t-23 9H800q-14 0-23-9t-9-23V624q0-112-80-192t-192-80H224v1152q0 14-9 23t-23 9H32q-14 0-23-9t-9-23V160q0-14 9-23t23-9h464q135 0 249 66.5T925.5 375 992 624zm384-464v880q0 135-66.5 249T1129 1469.5 880 1536H416q-14 0-23-9t-9-23V544q0-14 9-23t23-9h160q14 0 23 9t9 23v768h272q112 0 192-80t80-192V160q0-14 9-23t23-9h160q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/ils","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ils\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M992 624v496q0 14-9 23t-23 9H800q-14 0-23-9t-9-23V624q0-112-80-192t-192-80H224v1152q0 14-9 23t-23 9H32q-14 0-23-9t-9-23V160q0-14 9-23t23-9h464q135 0 249 66.5T925.5 375 992 624zm384-464v880q0 135-66.5 249T1129 1469.5 880 1536H416q-14 0-23-9t-9-23V544q0-14 9-23t23-9h160q14 0 23 9t9 23v768h272q112 0 192-80t80-192V160q0-14 9-23t23-9h160q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/meanpath","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"meanpath\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1311 842v114q0 24-13.5 38t-37.5 14h-202q-24 0-38-14t-14-38V842q0-24 14-38t38-14h202q24 0 37.5 14t13.5 38zm-490 230V822q0-53-32.5-85.5T703 704H570q-68 0-96 52-28-52-96-52H248q-53 0-85.5 32.5T130 822v250q0 22 21 22h55q22 0 22-22V842q0-24 13.5-38t38.5-14h94q24 0 38 14t14 38v230q0 22 21 22h54q22 0 22-22V842q0-24 14-38t38-14h97q24 0 37.5 14t13.5 38v230q0 22 22 22h55q21 0 21-22zm589-96V822q0-53-33-85.5t-86-32.5h-264q-53 0-86 32.5T908 822v410q0 21 22 21h55q21 0 21-21v-180q31 42 94 42h191q53 0 86-32.5t33-85.5zm126-616v1072q0 96-68 164t-164 68H232q-96 0-164-68T0 1432V360q0-96 68-164t164-68h1072q96 0 164 68t68 164z\"/></svg>"},{"name":"font-awesome/buysellads","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"buysellads\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M915 1086H621l147-551zm86 322h311L988 384H548L224 1408h311l383-314zm535-992v960q0 118-85 203t-203 85H288q-118 0-203-85T0 1376V416q0-118 85-203t203-85h960q118 0 203 85t85 203z\"/></svg>"},{"name":"font-awesome/connectdevelop","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"connectdevelop\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M2048 895q0 21-13 36.5t-33 19.5l-205 356q3 9 3 18 0 20-12.5 35.5T1755 1380l-193 337q3 8 3 16 0 23-16.5 40t-40.5 17q-25 0-41-18h-400q-17 20-43 20t-43-20H582q-17 20-43 20-23 0-40-16.5t-17-40.5q0-8 4-20l-193-335q-20-4-32.5-19.5T248 1325q0-9 3-18L45 951q-20-5-32.5-20.5T0 895q0-21 13.5-36.5T47 839l199-344q0-1-.5-3t-.5-3q0-36 34-51L488 75q-4-10-4-18 0-24 17-40.5T541 0q26 0 44 21h396q16-21 43-21t43 21h398q18-21 44-21 23 0 40 16.5t17 40.5q0 6-4 18l207 358q23 1 39 17.5t16 38.5q0 13-7 27l187 324q19 4 31.5 19.5T2048 895zm-985 799h389l-342-354H967l-342 354h360q18-16 39-16t39 16zM112 882q1 4 1 13 0 10-2 15l208 360 15 6 188-199V730L335 536q-13 8-29 10zM986 98H598l190 200 554-200h-280q-16 16-38 16t-38-16zm703 1212q1-6 5-11l-64-68-17 79h76zm-106 0l22-105-252-266-296 307 63 64h463zm-88 368l16-28 65-310h-427l333 343q8-4 13-5zm-917 16h5l342-354H552v335l4 6q14 5 22 13zm-26-384h402l64-66-309-321-157 166v221zm-193 0h163v-189l-168 177q4 8 5 12zm-1-825q0 1 .5 2t.5 2q0 16-8 29l171 177V426zm194-70v311l153 157 297-314-223-236zm4-304l-4 8v264l205-74-191-201q-6 2-10 3zm891-13h-16L810 322l213 225zm-424 492L726 905l311 319 296-307zM688 902L552 761v284zm350 364l-42 44h85zm336-348l238 251 132-624-3-5-1-1zm344-400q-8-13-8-29v-2l-216-376q-5-1-13-5l-437 463 310 327zM522 394V171L359 453zm0 946H359l163 283v-283zm1085 0l-48 227 130-227h-82zm122-70l207-361q-2-10-2-14 0-1 3-16l-171-296-129 612 77 82q5-3 15-7z\"/></svg>"},{"name":"font-awesome/dashcube","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"dashcube\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M0 680q0-131 91.5-226.5T314 358h742L1408 0v1470q0 132-91.5 227t-222.5 95H314q-131 0-222.5-95T0 1470V680zm1232 754l-176-180V829q0-46-32-79t-78-33H462q-46 0-78 33t-32 79v492q0 46 32.5 79.5T462 1434h770z\"/></svg>"},{"name":"font-awesome/forumbee","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"forumbee\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M934 150Q617 271 378 512.5T20 1073Q0 984 0 897q0-208 102.5-384.5t278.5-279T765 131q82 0 169 19zm269 119q93 65 164 155-389 113-674.5 400.5T296 1501q-93-72-155-162 112-386 395-671t667-399zM470 1603q115-356 379.5-622T1469 597q40 92 54 195-292 120-516 345t-343 518q-103-14-194-52zm1066 58q-193-50-367-115-135 84-290 107 109-205 274-370.5t369-275.5q-21 152-101 284 65 175 115 370z\"/></svg>"},{"name":"font-awesome/leanpub","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"leanpub\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1893 392l155 1272q-131 0-257-57-200-91-393-91-226 0-374 148-148-148-374-148-193 0-393 91-128 57-252 57H0L155 392q224-127 482-127 233 0 387 106 154-106 387-106 258 0 482 127zm-495 987q129 0 232 28.5t260 93.5L1766 480q-171-78-368-78-224 0-374 141-150-141-374-141-197 0-368 78L158 1501q105-43 165.5-65t148.5-39.5 178-17.5q202 0 374 108 172-108 374-108zm40-34l-55-907q-211 4-359 155-152-155-374-155-176 0-336 66l-114 941q124-51 228.5-76t221.5-25q209 0 374 102 172-107 374-102z\"/></svg>"},{"name":"font-awesome/sellsy","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sellsy\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1500 1371V638q0-21-15-36t-35-15h-93q-20 0-35 15t-15 36v733q0 20 15 35t35 15h93q20 0 35-15t15-35zm-284 0V840q0-20-15-35t-35-15h-101q-20 0-35 15t-15 35v531q0 20 15 35t35 15h101q20 0 35-15t15-35zm-292 0V942q0-20-15-35t-35-15H773q-20 0-35 15t-15 35v429q0 20 15 35t35 15h101q20 0 35-15t15-35zm-292 0v-362q0-20-15-35t-35-15H481q-20 0-35 15t-15 35v362q0 20 15 35t35 15h101q20 0 35-15t15-35zm1416-146q0 166-118 284t-284 118H402q-166 0-284-118T0 1225q0-116 63-214.5T231 862q-10-34-10-73 0-113 80.5-193.5T495 515q102 0 180 67 45-183 194-300t338-117q149 0 275 73.5T1681.5 438t73.5 275q0 66-14 122 135 33 221 142.5t86 247.5z\"/></svg>"},{"name":"font-awesome/shirtsinbulk","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"shirtsinbulk\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M0 0h1536v1392l-776 338L0 1392V0zm1436 1327V401H100v926l661 294zm0-1026V100H100v201h1336zM181 599v115h-37V599h37zm0 148v115h-37V747h37zm0 148v115h-37V895h37zm0 148v115h-37v-115h37zm0 148v115h-37v-115h37zm26 143l15-34 105 47-15 33zm136 60l15-34 105 46-15 34zm135 60l15-34 105 46-15 34zm136 59l15-33 104 46-15 34zm183 13l105-46 15 33-105 47zm135-60l105-46 15 34-105 46zm136-60l105-46 15 34-105 46zm135-59l105-47 15 34-105 46zM259 147v36H145v-36h114zm162 0v36H306v-36h115zm162 0v36H468v-36h115zm161 0v36H630v-36h114zm162 0v36H792v-36h114zm162 0v36H953v-36h115zm162 0v36h-115v-36h115zm161 0v36h-114v-36h114zM181 487v79h-37V451h115v36h-78zm240-36v36H306v-36h115zm162 0v36H468v-36h115zm161 0v36H630v-36h114zm162 0v36H792v-36h114zm162 0v36H953v-36h115zm162 0v36h-115v-36h115zm125 115v-79h-78v-36h115v115h-37zm0 148V599h37v115h-37zm0 148V747h37v115h-37zm0 148V895h37v115h-37zm0 148v-115h37v115h-37zm0 148v-115h37v115h-37zm-595-35q-129 0-221-91.5T447 958q0-129 92-221t221-92q130 0 221.5 92t91.5 221q0 130-91.5 221.5T760 1271zM595 890q0 36 19.5 56.5t49.5 25 64 7 64 2 49.5 9T861 1020q0 49-112 49-97 0-123-51h-3l-31 63q67 42 162 42 29 0 56.5-5t55.5-16 45.5-33 17.5-53q0-46-27.5-69.5t-67.5-27-79.5-3-67-5T660 886q0-21 20.5-33t40.5-15 41-3q34 0 70.5 11t51.5 34h3l30-58q-3-1-21-8.5t-22.5-9-19.5-7-22-7-20-4.5-24-4-23-1q-29 0-56.5 5t-54 16.5-43 34T595 890z\"/></svg>"},{"name":"font-awesome/simplybuilt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"simplybuilt\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M863 1032q0-112-79.5-191.5T592 761t-191 79.5-79 191.5 79 191 191 79 191.5-79 79.5-191zm863-1q0-112-79-191t-191-79-191.5 79-79.5 191q0 113 79.5 192t191.5 79 191-79.5 79-191.5zm322-809v1348q0 44-31.5 75.5T1940 1677H108q-45 0-76.5-31.5T0 1570V222q0-44 31.5-75.5T108 115h431q44 0 76 31.5t32 75.5v161h754V222q0-44 32-75.5t76-31.5h431q45 0 76.5 31.5T2048 222z\"/></svg>"},{"name":"font-awesome/skyatlas","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"skyatlas\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1430 583zm260 204q148 0 253 98.5t105 244.5q0 157-109 261.5T1672 1496q-85 0-162-27.5t-138-73.5-118-106-109-126-103.5-132.5T933 904 816 798t-136-73.5T521 697q-154 0-251.5 91.5T172 1033q0 157 104 250t263 93q100 0 208-37.5t193-98.5q5-4 21-18.5t30-24 22-9.5q14 0 24.5 10.5t10.5 24.5q0 24-60 77-101 88-234.5 142T493 1496q-133 0-245.5-58t-180-165T0 1032q0-205 141.5-341T489 555q120 0 226.5 43.5t185.5 113 151.5 153 139 167.5 133.5 153.5 149.5 113T1647 1342q102 0 168.5-61.5T1882 1118q0-95-64.5-159T1658 895q-30 0-81.5 18.5T1508 932q-20 0-35.5-15t-15.5-35q0-18 8.5-57t8.5-59q0-159-107.5-263T1100 399q-58 0-111.5 18.5t-84 40.5-55.5 40.5-33 18.5q-15 0-25.5-10.5T780 481q0-19 25-46 59-67 147-103.5t182-36.5q191 0 318 125.5T1579 736q0 37-4 66 57-15 115-15z\"/></svg>"},{"name":"font-awesome/cart-plus","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cart-plus\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1216 704q0-26-19-45t-45-19h-128V512q0-26-19-45t-45-19-45 19-19 45v128H768q-26 0-45 19t-19 45 19 45 45 19h128v128q0 26 19 45t45 19 45-19 19-45V768h128q26 0 45-19t19-45zm-576 832q0 53-37.5 90.5T512 1664t-90.5-37.5T384 1536t37.5-90.5T512 1408t90.5 37.5T640 1536zm896 0q0 53-37.5 90.5T1408 1664t-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm128-1088v512q0 24-16 42.5t-41 21.5L563 1146q1 7 4.5 21.5t6 26.5 2.5 22q0 16-24 64h920q26 0 45 19t19 45-19 45-45 19H448q-26 0-45-19t-19-45q0-14 11-39.5t29.5-59.5 20.5-38L268 384H64q-26 0-45-19T0 320t19-45 45-19h256q16 0 28.5 6.5t20 15.5 13 24.5T389 329t5.5 29.5T399 384h1201q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/cart-arrow-down","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cart-arrow-down\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1280 704q0-26-19-45t-45-19-45 19l-147 146V512q0-26-19-45t-45-19-45 19-19 45v293L749 659q-19-19-45-19t-45 19-19 45 19 45l256 256q19 19 45 19t45-19l256-256q19-19 19-45zm-640 832q0 53-37.5 90.5T512 1664t-90.5-37.5T384 1536t37.5-90.5T512 1408t90.5 37.5T640 1536zm896 0q0 53-37.5 90.5T1408 1664t-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm128-1088v512q0 24-16 42.5t-41 21.5L563 1146q1 7 4.5 21.5t6 26.5 2.5 22q0 16-24 64h920q26 0 45 19t19 45-19 45-45 19H448q-26 0-45-19t-19-45q0-14 11-39.5t29.5-59.5 20.5-38L268 384H64q-26 0-45-19T0 320t19-45 45-19h256q16 0 28.5 6.5t20 15.5 13 24.5T389 329t5.5 29.5T399 384h1201q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/diamond","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"diamond\" viewBox=\"0 0 2048.0005 1896.0833\"><path d=\"M212 768l623 665-300-665H212zm812 772l349-772H675zM538 640l204-384H480L192 640h346zm675 793l623-665h-323zM683 640h682l-204-384H887zm827 0h346l-288-384h-262zm141-486l384 512q14 18 13 41.5t-17 40.5l-960 1024q-18 20-47 20t-47-20L17 748Q1 731 0 707.5T13 666l384-512q18-26 51-26h1152q33 0 51 26z\"/></svg>"},{"name":"font-awesome/ship","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ship\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1811 1555q19-19 45-19t45 19l128 128-90 90-83-83-83 83q-18 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19L19 1645l90-90 83 83 83-83q19-19 45-19t45 19l83 83 83-83q19-19 45-19t45 19l83 83 83-83q19-19 45-19t45 19l83 83 83-83q19-19 45-19t45 19l83 83 83-83q19-19 45-19t45 19l83 83 83-83q19-19 45-19t45 19l83 83zm-1574-38q-19 19-45 19t-45-19L19 1389l90-90 83 82 83-82q19-19 45-19t45 19l83 82 64-64v-293L302 710q-17-26-7-56.5t40-40.5l177-58V256h128V128h256V0h256v128h256v128h128v299l177 58q30 10 40 40.5t-7 56.5l-210 314v293l19-18q19-19 45-19t45 19l83 82 83-82q19-19 45-19t45 19l128 128-90 90-83-83-83 83q-18 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19l-83-83-83 83q-19 19-45 19t-45-19l-83-83zM640 384v128l384-128 384 128V384h-128V256H768v128H640z\"/></svg>"},{"name":"font-awesome/user-secret","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"user-secret\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M576 1536l96-448-96-128-128-64zm256 0l128-640-128 64-96 128zM992 526q-2-4-4-6-10-8-96-8-70 0-167 19-7 2-21 2t-21-2q-97-19-167-19-86 0-96 8-2 2-4 6 2 18 4 27 2 3 7.5 6.5T435 570q2 4 7.5 20.5t7 20.5 7.5 17 8.5 17 9 14 12 13.5 14 9.5 17.5 8 20.5 4 24.5 2q36 0 59-12.5t32.5-30T669 619t11.5-29.5T698 577h12q11 0 17.5 12.5T739 619t14.5 34.5 32.5 30 59 12.5q13 0 24.5-2t20.5-4 17.5-8 14-9.5 12-13.5 9-14 8.5-17 7.5-17 7-20.5T973 570q2-7 7.5-10.5t7.5-6.5q2-9 4-27zm416 879q0 121-73 190t-194 69H267q-121 0-194-69T0 1405q0-61 4.5-118t19-125.5T61 1038t63.5-103.5T218 860l-90-220h214q-22-64-22-128 0-12 2-32-194-40-194-96 0-57 210-99 17-62 51.5-134T460 37q32-37 76-37 30 0 84 31t84 31 84-31 84-31q44 0 76 37 36 42 70.5 114t51.5 134q210 42 210 99 0 56-194 96 7 81-20 160h214l-82 225q63 33 107.5 96.5T1371 1105t29 151.5 8 148.5z\"/></svg>"},{"name":"font-awesome/motorcycle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"motorcycle\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M2301 1036q12 103-22 198.5t-99 163.5-158.5 106-196.5 31q-161-11-279.5-125T1411 1136q-12-111 27.5-210.5T1557 755l-71-107q-96 80-151 194t-55 244q0 27-18.5 46.5T1216 1152H891q-23 164-149 274t-294 110q-185 0-316.5-131.5T0 1088t131.5-316.5T448 640q76 0 152 27l24-45Q501 512 320 512h-64q-26 0-45-19t-19-45 19-45 45-19h128q78 0 145 13.5T645.5 436t71.5 39.5 51 36.5h627l-85-128h-222q-30 0-49-22.5t-14-52.5q4-23 23-38t43-15h253q33 0 53 28l70 105 114-114q19-19 46-19h101q26 0 45 19t19 45v128q0 26-19 45t-45 19h-179l115 172q131-63 275-36 143 26 244 134.5t118 253.5zM448 1408q115 0 203-72.5T762 1152H448q-35 0-55-31-18-32-1-63l147-277q-47-13-91-13-132 0-226 94t-94 226 94 226 226 94zm1408 0q132 0 226-94t94-226-94-226-226-94q-60 0-121 24l174 260q15 23 10 49t-27 40q-15 11-36 11-35 0-53-29l-174-260q-93 95-93 225 0 132 94 226t226 94z\"/></svg>"},{"name":"font-awesome/street-view","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"street-view\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1408 1536q0 63-61.5 113.5t-164 81-225 46T704 1792t-253.5-15.5-225-46-164-81T0 1536q0-49 33-88.5t91-66.5 118-44.5 131-29.5q26-5 48 10.5t26 41.5q5 26-10.5 48t-41.5 26q-58 10-106 23.5t-76.5 25.5-48.5 23.5-27.5 19.5-8.5 12q3 11 27 26.5t73 33 114 32.5 160.5 25 201.5 10 201.5-10 160.5-25 114-33 73-33.5 27-27.5q-1-4-8.5-11t-27.5-19-48.5-23.5-76.5-25-106-23.5q-26-4-41.5-26t-10.5-48q4-26 26-41.5t48-10.5q71 12 131 29.5t118 44.5 91 66.5 33 88.5zm-384-896v384q0 26-19 45t-45 19h-64v384q0 26-19 45t-45 19H576q-26 0-45-19t-19-45v-384h-64q-26 0-45-19t-19-45V640q0-53 37.5-90.5T512 512h384q53 0 90.5 37.5T1024 640zm-96-384q0 93-65.5 158.5T704 480t-158.5-65.5T480 256t65.5-158.5T704 32t158.5 65.5T928 256z\"/></svg>"},{"name":"font-awesome/heartbeat","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"heartbeat\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1280 1024h305q-5 6-10 10.5t-9 7.5l-3 4-623 600q-18 18-44 18t-44-18l-624-602q-5-2-21-20h369q22 0 39.5-13.5T638 976l70-281 190 667q6 20 23 33t39 13q21 0 38-13t23-33l146-485 56 112q18 35 57 35zm512-428q0 145-103 300h-369l-111-221q-8-17-25.5-27t-36.5-8q-45 5-56 46l-129 430-196-686q-6-20-23.5-33T703 384t-39 13.5-22 34.5L526 896H103Q0 741 0 596q0-220 127-344t351-124q62 0 126.5 21.5t120 58T820 276t76 68q36-36 76-68t95.5-68.5 120-58T1314 128q224 0 351 124t127 344z\"/></svg>"},{"name":"font-awesome/venus","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"venus\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1152 576q0 221-147.5 384.5T640 1148v260h224q14 0 23 9t9 23v64q0 14-9 23t-23 9H640v224q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-224H288q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h224v-260q-150-16-271.5-103t-186-224T2 529q11-134 80.5-249t182-188T510 4q170-19 319 54t236 212 87 306zm-1024 0q0 185 131.5 316.5T576 1024t316.5-131.5T1024 576 892.5 259.5 576 128 259.5 259.5 128 576z\"/></svg>"},{"name":"font-awesome/mars","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mars\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1472 128q26 0 45 19t19 45v416q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V346l-382 383q126 156 126 359 0 117-45.5 223.5t-123 184-184 123T576 1664t-223.5-45.5-184-123-123-184T0 1088t45.5-223.5 123-184 184-123T576 512q203 0 359 126l382-382h-261q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h416zM576 1536q185 0 316.5-131.5T1024 1088 892.5 771.5 576 640 259.5 771.5 128 1088t131.5 316.5T576 1536z\"/></svg>"},{"name":"font-awesome/mercury","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mercury\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M830 316q145 72 233.5 210.5T1152 832q0 221-147.5 384.5T640 1404v132h96q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96v96q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-96h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96v-132q-217-24-364.5-187.5T0 832q0-167 88.5-305.5T322 316Q157 220 94 43q-6-16 3.5-29.5T124 0h69q21 0 29 20 44 106 140 171t214 65 214-65T930 20q8-20 37-20h61q17 0 26.5 13.5T1058 43q-63 177-228 273zm-254 964q185 0 316.5-131.5T1024 832 892.5 515.5 576 384 259.5 515.5 128 832t131.5 316.5T576 1280z\"/></svg>"},{"name":"font-awesome/intersex","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"intersex\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 32q0-14 9-23t23-9h288q26 0 45 19t19 45v288q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V218l-254 255q126 158 126 359 0 221-147.5 384.5T640 1404v132h96q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96v96q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-96h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96v-132q-149-16-270.5-103T55 1077.5 2 786q16-204 160-353.5T509 260q118-14 228 19t198 103l255-254h-134q-14 0-23-9t-9-23V32zM576 1280q185 0 316.5-131.5T1024 832 892.5 515.5 576 384 259.5 515.5 128 832t131.5 316.5T576 1280z\"/></svg>"},{"name":"font-awesome/transgender","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"transgender\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 32q0-14 9-23t23-9h288q26 0 45 19t19 45v288q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V218l-254 255q126 158 126 359 0 221-147.5 384.5T640 1404v132h96q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96v96q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-96h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96v-132q-149-16-270.5-103T55 1077.5 2 786q16-204 160-353.5T509 260q118-14 228 19t198 103l255-254h-134q-14 0-23-9t-9-23V32zM576 1280q185 0 316.5-131.5T1024 832 892.5 515.5 576 384 259.5 515.5 128 832t131.5 316.5T576 1280z\"/></svg>"},{"name":"font-awesome/transgender-alt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"transgender-alt\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1280 32q0-14 9-23t23-9h288q26 0 45 19t19 45v288q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V218l-254 255q126 158 126 359 0 221-147.5 384.5T896 1404v132h96q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96v96q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-96h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96v-132q-217-24-364.5-187.5T256 832q0-201 126-359l-52-53-101 111q-9 10-22 10.5t-23-7.5l-48-44q-10-8-10.5-21.5T134 445l105-115-111-112v134q0 14-9 23t-23 9H32q-14 0-23-9t-9-23V64q0-26 19-45T64 0h288q14 0 23 9t9 23v64q0 14-9 23t-23 9H219l106 107 86-94q9-10 22-10.5t23 7.5l48 44q10 8 10.5 21.5T506 227l-90 99 57 56q158-126 359-126t359 126l255-254h-134q-14 0-23-9t-9-23V32zM832 1280q185 0 316.5-131.5T1280 832t-131.5-316.5T832 384 515.5 515.5 384 832t131.5 316.5T832 1280z\"/></svg>"},{"name":"font-awesome/venus-double","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"venus-double\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1790 529q12 155-52.5 292t-186 224-271.5 103v260h224q14 0 23 9t9 23v64q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-224H640v224q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-224H288q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h224v-260q-150-16-271.5-103t-186-224T2 529q17-206 164.5-356.5T519 3q206-21 377 94 171-115 377-94 205 19 352.5 169.5T1790 529zM896 889q128-131 128-313T896 263Q768 394 768 576t128 313zm-320 135q115 0 218-57-154-165-154-391 0-224 154-391-103-57-218-57-185 0-316.5 131.5T128 576t131.5 316.5T576 1024zm576 384v-260q-137-15-256-94-119 79-256 94v260h512zm64-384q185 0 316.5-131.5T1664 576t-131.5-316.5T1216 128q-115 0-218 57 154 167 154 391 0 226-154 391 103 57 218 57z\"/></svg>"},{"name":"font-awesome/mars-double","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mars-double\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1536 416q0-14 9-23t23-9h288q26 0 45 19t19 45v288q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V602l-254 255q76 95 107.5 214t9.5 247q-31 182-166 312t-318 156q-210 29-384.5-80T545 1406q-117-6-221-57.5t-177.5-133T33 1023 1 793q9-135 78-252t182-191.5T509 260q118-14 227.5 19T935 382l255-254h-134q-14 0-23-9t-9-23V32q0-14 9-23t23-9h288q26 0 45 19t19 45v288q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V218l-254 255q59 74 93 169 182 9 328 124l255-254h-134q-14 0-23-9t-9-23v-64zm-512 416q0-20-4-58-162 25-271 150t-109 292q0 20 4 58 162-25 271-150t109-292zm-896 0q0 168 111 294t276 149q-3-29-3-59 0-210 135-369.5T985 650q-53-120-163.5-193T576 384q-185 0-316.5 131.5T128 832zm960 832q185 0 316.5-131.5T1536 1216q0-168-111-294t-276-149q3 28 3 59 0 210-135 369.5T679 1398q53 120 163.5 193t245.5 73z\"/></svg>"},{"name":"font-awesome/venus-mars","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"venus-mars\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1664 32q0-14 9-23t23-9h288q26 0 45 19t19 45v288q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V218l-254 255q76 95 107.5 214t9.5 247q-32 180-164.5 310T1305 1401q-223 34-409-90-117 78-256 93v132h96q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96v96q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-96h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96v-132q-155-17-279.5-109.5T45.5 1057 6 750q25-187 159.5-322.5T486 263q224-34 410 90 146-97 320-97 201 0 359 126l255-254h-134q-14 0-23-9t-9-23V32zM896 1145q128-131 128-313T896 519Q768 650 768 832t128 313zM128 832q0 185 131.5 316.5T576 1280q117 0 218-57-154-167-154-391t154-391q-101-57-218-57-185 0-316.5 131.5T128 832zm1088 448q185 0 316.5-131.5T1664 832t-131.5-316.5T1216 384q-117 0-218 57 154 167 154 391t-154 391q101 57 218 57z\"/></svg>"},{"name":"font-awesome/mars-stroke","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mars-stroke\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1472 128q26 0 45 19t19 45v416q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23V346l-213 214 140 140q9 10 9 23t-9 22l-46 46q-9 9-22 9t-23-9l-140-141-78 79q126 156 126 359 0 117-45.5 223.5t-123 184-184 123T576 1664t-223.5-45.5-184-123-123-184T0 1088t45.5-223.5 123-184 184-123T576 512q203 0 359 126l78-78-172-172q-9-10-9-23t9-22l46-46q9-9 22-9t23 9l172 172 213-213h-261q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h416zM576 1536q185 0 316.5-131.5T1024 1088 892.5 771.5 576 640 259.5 771.5 128 1088t131.5 316.5T576 1536z\"/></svg>"},{"name":"font-awesome/mars-stroke-v","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mars-stroke-v\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M640 644q217 24 364.5 187.5T1152 1216q0 167-87 306t-236 212-319 54q-133-15-245.5-88t-182-188T2 1263q-12-155 52.5-292t186-224T512 644V512H352q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h160V219l-92 92q-10 9-23 9t-22-9l-46-46q-9-9-9-22t9-23L531 19q19-19 45-19t45 19l202 201q9 10 9 23t-9 22l-46 46q-9 9-22 9t-23-9l-92-92v165h160q14 0 23 9t9 23v64q0 14-9 23t-23 9H640v132zm-64 1020q185 0 316.5-131.5T1024 1216 892.5 899.5 576 768 259.5 899.5 128 1216t131.5 316.5T576 1664z\"/></svg>"},{"name":"font-awesome/mars-stroke-h","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mars-stroke-h\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1901 915q19 19 19 45t-19 45l-294 294q-9 10-22.5 10t-22.5-10l-45-45q-10-9-10-22.5t10-22.5l185-185h-294v224q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-224h-132q-24 217-187.5 364.5T576 1536q-167 0-306-87T58 1213 4 894q15-133 88-245.5t188-182T529 386q155-12 292 52.5t224 186T1148 896h132V672q0-14 9-23t23-9h64q14 0 23 9t9 23v224h294l-185-185q-10-9-10-22.5t10-22.5l45-45q9-10 22.5-10t22.5 10zM576 1408q185 0 316.5-131.5T1024 960 892.5 643.5 576 512 259.5 643.5 128 960t131.5 316.5T576 1408z\"/></svg>"},{"name":"font-awesome/neuter","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"neuter\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1152 576q0 221-147.5 384.5T640 1148v612q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-612q-217-24-364.5-187.5T0 576q0-117 45.5-223.5t123-184 184-123T576 0t223.5 45.5 184 123 123 184T1152 576zm-576 448q185 0 316.5-131.5T1024 576 892.5 259.5 576 128 259.5 259.5 128 576t131.5 316.5T576 1024z\"/></svg>"},{"name":"font-awesome/genderless","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"genderless\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1024 960q0-185-131.5-316.5T576 512 259.5 643.5 128 960t131.5 316.5T576 1408t316.5-131.5T1024 960zm128 0q0 117-45.5 223.5t-123 184-184 123T576 1536t-223.5-45.5-184-123-123-184T0 960t45.5-223.5 123-184 184-123T576 384t223.5 45.5 184 123 123 184T1152 960z\"/></svg>"},{"name":"font-awesome/facebook-official","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"facebook-official\" viewBox=\"0 0 1559.268 1896.0833\"><path d=\"M1451 128q35 0 60 25t25 60v1366q0 35-25 60t-60 25h-391v-595h199l30-232h-229V689q0-56 23.5-84t91.5-28l122-1V369q-63-9-178-9-136 0-217.5 80T820 666v171H620v232h200v595H85q-35 0-60-25t-25-60V213q0-35 25-60t60-25h1366z\"/></svg>"},{"name":"font-awesome/pinterest-p","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pinterest-p\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M0 597q0-108 37.5-203.5T141 227t152-123 185-78T680 0q158 0 294 66.5T1195 260t85 287q0 96-19 188t-60 177-100 149.5-145 103-189 38.5q-68 0-135-32t-96-88q-10 39-28 112.5t-23.5 95-20.5 71-26 71-32 62.5-46 77.5-62 86.5l-14 5-9-10q-15-157-15-188 0-92 21.5-206.5T348 972t52-203q-32-65-32-169 0-83 52-156t132-73q61 0 95 40.5T681 514q0 66-44 191t-44 187q0 63 45 104.5t109 41.5q55 0 102-25t78.5-68 56-95 38-110.5 20-111 6.5-99.5q0-173-109.5-269.5T653 163q-200 0-334 129.5T185 621q0 44 12.5 85t27 65 27 45.5T264 847q0 28-15 73t-37 45q-2 0-17-3-51-15-90.5-56t-61-94.5-32.5-108T0 597z\"/></svg>"},{"name":"font-awesome/whatsapp","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"whatsapp\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M985 974q13 0 97.5 44t89.5 53q2 5 2 15 0 33-17 76-16 39-71 65.5T984 1254q-57 0-190-62-98-45-170-118T476 889q-72-107-71-194v-8q3-91 74-158 24-22 52-22 6 0 18 1.5t19 1.5q19 0 26.5 6.5T610 544q8 20 33 88t25 75q0 21-34.5 57.5T599 811q0 7 5 15 34 73 102 137 56 53 151 101 12 7 22 7 15 0 54-48.5t52-48.5zm-203 530q127 0 243.5-50t200.5-134 134-200.5 50-243.5-50-243.5T1226 432t-200.5-134T782 248t-243.5 50T338 432 204 632.5 154 876q0 203 120 368l-79 233 242-77q158 104 345 104zm0-1382q153 0 292.5 60T1315 343t161 240.5 60 292.5-60 292.5-161 240.5-240.5 161-292.5 60q-195 0-365-94L0 1670l136-405Q28 1087 28 876q0-153 60-292.5T249 343t240.5-161T782 122z\"/></svg>"},{"name":"font-awesome/server","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"server\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M128 1408h1024v-128H128v128zm0-512h1024V768H128v128zm1568 448q0-40-28-68t-68-28-68 28-28 68 28 68 68 28 68-28 28-68zM128 384h1024V256H128v128zm1568 448q0-40-28-68t-68-28-68 28-28 68 28 68 68 28 68-28 28-68zm0-512q0-40-28-68t-68-28-68 28-28 68 28 68 68 28 68-28 28-68zm96 832v384H0v-384h1792zm0-512v384H0V640h1792zm0-512v384H0V128h1792z\"/></svg>"},{"name":"font-awesome/user-plus","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"user-plus\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M704 896q-159 0-271.5-112.5T320 512t112.5-271.5T704 128t271.5 112.5T1088 512 975.5 783.5 704 896zm960 128h352q13 0 22.5 9.5t9.5 22.5v192q0 13-9.5 22.5t-22.5 9.5h-352v352q0 13-9.5 22.5t-22.5 9.5h-192q-13 0-22.5-9.5t-9.5-22.5v-352h-352q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h352V672q0-13 9.5-22.5t22.5-9.5h192q13 0 22.5 9.5t9.5 22.5v352zm-736 224q0 52 38 90t90 38h256v238q-68 50-171 50H267q-121 0-194-69T0 1405q0-53 3.5-103.5t14-109T44 1084t43-97.5 62-81 85.5-53.5T346 832q19 0 39 17 79 61 154.5 91.5T704 971t164.5-30.5T1023 849q20-17 39-17 132 0 217 96h-223q-52 0-90 38t-38 90v192z\"/></svg>"},{"name":"font-awesome/user-times","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"user-times\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M704 896q-159 0-271.5-112.5T320 512t112.5-271.5T704 128t271.5 112.5T1088 512 975.5 783.5 704 896zm1077 320l249 249q9 9 9 23 0 13-9 22l-136 136q-9 9-22 9-14 0-23-9l-249-249-249 249q-9 9-23 9-13 0-22-9l-136-136q-9-9-9-22 0-14 9-23l249-249-249-249q-9-9-9-23 0-13 9-22l136-136q9-9 22-9 14 0 23 9l249 249 249-249q9-9 23-9 13 0 22 9l136 136q9 9 9 22 0 14-9 23zm-498 0l-181 181q-37 37-37 91 0 53 37 90l83 83q-21 3-44 3H267q-121 0-194-69T0 1405q0-53 3.5-103.5t14-109T44 1084t43-97.5 62-81 85.5-53.5T346 832q19 0 39 17 154 122 319 122t319-122q20-17 39-17 28 0 57 6-28 27-41 50t-13 56q0 54 37 91z\"/></svg>"},{"name":"font-awesome/hotel","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hotel\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M256 1024h1728q26 0 45 19t19 45v448h-256v-256H256v256H0V320q0-26 19-45t45-19h128q26 0 45 19t19 45v704zm576-320q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm1216 256v-64q0-159-112.5-271.5T1664 512H960q-26 0-45 19t-19 45v384h1152z\"/></svg>"},{"name":"font-awesome/bed","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bed\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M256 1024h1728q26 0 45 19t19 45v448h-256v-256H256v256H0V320q0-26 19-45t45-19h128q26 0 45 19t19 45v704zm576-320q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm1216 256v-64q0-159-112.5-271.5T1664 512H960q-26 0-45 19t-19 45v384h1152z\"/></svg>"},{"name":"font-awesome/viacoin","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"viacoin\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 0l-192 448h192v192h-274l-55 128h329v192h-411l-357 832-357-832H0V768h329l-55-128H0V448h192L0 0h256l323 768h378L1280 0h256zM768 1216l108-256H660z\"/></svg>"},{"name":"font-awesome/train","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"train\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1088 0q185 0 316.5 93.5T1536 320v896q0 130-125.5 222t-305.5 97l213 202q16 15 8 35t-30 20H240q-22 0-30-20t8-35l213-202q-180-5-305.5-97T0 1216V320Q0 187 131.5 93.5T448 0h640zM768 1344q80 0 136-56t56-136-56-136-136-56-136 56-56 136 56 136 136 56zm576-576V256H192v512h1152z\"/></svg>"},{"name":"font-awesome/subway","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"subway\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1088 0q185 0 316.5 93.5T1536 320v896q0 130-125.5 222t-305.5 97l213 202q16 15 8 35t-30 20H240q-22 0-30-20t8-35l213-202q-180-5-305.5-97T0 1216V320Q0 187 131.5 93.5T448 0h640zM288 1312q66 0 113-47t47-113-47-113-113-47-113 47-47 113 47 113 113 47zm416-544V256H160v512h544zm544 544q66 0 113-47t47-113-47-113-113-47-113 47-47 113 47 113 113 47zm160-544V256H832v512h576z\"/></svg>"},{"name":"font-awesome/medium","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"medium\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M597 421v1173q0 25-12.5 42.5T548 1654q-17 0-33-8L50 1413q-21-10-35.5-33.5T0 1333V193q0-20 10-34t29-14q14 0 44 15l511 256q3 3 3 5zm64 101l534 866-534-266V522zm1131 18v1054q0 25-14 40.5t-38 15.5-47-13l-441-220zm-3-120q0 3-256.5 419.5T1232 1327L842 693l324-527q17-28 52-28 14 0 26 6l541 270q4 2 4 6z\"/></svg>"},{"name":"font-awesome/yc","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"yc\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M809 1004l266-499H963L806 817q-24 48-44 92l-42-92-155-312H445l263 493v324h101v-318zm727-876v1536H0V128h1536z\"/></svg>"},{"name":"font-awesome/y-combinator","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"y-combinator\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M809 1004l266-499H963L806 817q-24 48-44 92l-42-92-155-312H445l263 493v324h101v-318zm727-876v1536H0V128h1536z\"/></svg>"},{"name":"font-awesome/optin-monster","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"optin-monster\" viewBox=\"0 0 2296 1896.0833\"><path d=\"M478 1675q-8 16-27 34.5t-37 25.5q-25 9-51.5-3.5T334 1700q-1-22 40-55t68-38q23-4 34 21.5t2 46.5zm1341 0q7 16 26 34.5t38 25.5q25 9 51.5-3.5t27.5-31.5q2-22-39.5-55t-68.5-38q-22-4-33 21.5t-2 46.5zm48-109q13 27 56.5 59.5t77.5 41.5q45 13 82-4.5t37-50.5q0-46-67.5-100.5T1937 1452q-40-5-63.5 37.5t-6.5 76.5zm-1439 0q-13 27-56 59.5t-77 41.5q-45 13-82-4.5t-37-50.5q0-46 67.5-100.5T359 1452q40-5 63 37.5t6 76.5zm730-1124h1q-41 0-76 15 27 8 44 30.5t17 49.5q0 35-27 60t-65 25q-52 0-80-43-5 23-5 42 0 74 56 126.5t135 52.5q80 0 136-52.5t56-126.5-56-126.5-136-52.5zm304-218q-99-109-220.5-131.5T996 137q27-60 82.5-96.5t118-39.5T1318 18t99.5 74.5T1462 224zm750 1239q8 11-11 42 7 23 7 40 1 56-44.5 112.5T2054 1749t-118 37q-48 2-92-21.5t-66-65.5q-687 25-1259 0-23 41-66.5 65t-92.5 22q-86-3-179.5-80.5T88 1545q2-22 7-40-19-31-11-42 6-10 31-1 14-22 41-51-7-29 2-38 11-10 39 4 29-20 59-34 0-29 13-37 23-12 51 16 35-5 61 2 18 4 38 19v-73q-11 0-18-2-53-10-97-44.5t-55-87.5q-9-38 0-81 15-62 93-95 2-17 19-35.5t36-23.5 33 7.5 19 30.5h13q46 5 60 23 3 3 5 7 10-1 30.5-3.5T588 962q-15-11-30-17-23-40-91-43 0-6 1-10-62-2-118.5-18.5T265 826q-32-36-42.5-92T220 622q16-126 90-179 23-16 52-4.5t32 40.5q0 1 1.5 14t2.5 21 3 20 5.5 19 8.5 10q27 14 76 12 48-46 98-74-40-4-162 14l47-46q61-58 163-111 145-73 282-86-20-8-41-15.5t-47-14-42.5-10.5-47.5-11-43-10q595-126 904 139 98 84 158 222 85 10 121-9h1q5-3 8.5-10t5.5-19 3-19.5 3-21.5l1-14q3-28 32-40t52 5q73 52 91 178 7 57-3.5 113t-42.5 91q-28 32-83.5 48.5T1833 893v10q-71 2-95 43-14 5-31 17 11 1 32 3.5t30 3.5q1-5 5-8 16-18 60-23h13q5-18 19-30t33-8 36 23 19 36q79 32 93 95 9 40 1 81-12 53-56 88t-97 44q-10 2-17 2 0 49-1 73 20-15 38-19 26-7 61-2 28-28 51-16 14 9 14 37 33 16 59 34 27-13 38-4 10 10 2 38 28 30 41 51 23-8 31 1zm-275-952q0 29-9 54 82 32 112 132 4-37-9.5-98.5T1989 508q-20-19-36-17t-16 20zm-78 100q35 42 47.5 108.5T1906 844q67-13 97-45 13-14 18-28-3-64-31-114.5t-79-66.5q-15 15-52 21zm-37 4q-30 0-44-1 42 115 53 239 21 0 43-3 16-68 1-135t-53-100zM258 697q30-100 112-132-9-25-9-54 0-18-16.5-20T309 508q-28 29-41.5 90.5T258 697zm36 102q29 31 97 45-13-58-.5-124.5T438 611q-37-6-52-21-51 16-78.5 66T276 771q9 17 18 28zm177 54q14-124 73-235-19 4-55 18l-45 19v-1q-46 89-20 196 25 3 47 3zm963 39q8 38 16.5 108.5t11.5 89.5q3 18 9.5 21.5t23.5-4.5q40-20 62-85.5t23-125.5q-24-2-146-4zm-282-641q-116 0-199 82.5T870 532q0 117 83 199.5t199 82.5 199-82.5 83-199.5q0-116-83-198.5T1152 251zm228 639q-105-2-211 0v-1q-1 27 2.5 86t13.5 66q29 14 93.5 14.5t95.5-10.5q9-3 11-39t-.5-69.5-4.5-46.5zm-268 199q8-4 9.5-48t-.5-88-4-63v-1q-212 3-214 3-4 20-7 62t0 83 14 46q34 15 101 16t101-10zM718 900q-16 59 4.5 118.5T800 1103q15 8 24 5t12-21q3-16 8-90t10-103q-69 2-136 6zm-127 126q3 23-34 36 132 141 271.5 240t305.5 154q172-49 310.5-146t293.5-250q-33-13-30-34 0-2 .5-3.5t1.5-3 1-2.5v-1 1q-17-2-50-5.5t-48-4.5q-26 90-82 132-51 38-82-1-5-6-9-14-7-13-17-62-2 5-5 9t-7.5 7-8 5.5-9.5 4l-10 2.5-12 2-12 1.5-13.5 1-13.5.5q-106 9-163-11-4 17-10 26.5t-21 15-23 7-36 3.5q-6 1-9 1-179 17-203-40-2 63-56 54-47-8-91-54-12-13-20-26-17-29-26-65-58 6-87 10 1 2 4 10zm-84 628q3-14 3-30-17-71-51-130t-73-70q-41-12-101.5 14.5t-104.5 80-39 107.5q35 53 100 93t119 42q51 2 94-28t53-79zm3-171q23 63 27 119 195-113 392-174-98-52-180.5-120T569 1143q-6 4-29 13 0 1-1 4t-1 5q31 18 22 37-12 23-56 34-10 13-29 24h-1q-2 83 1 150 19 34 35 73zm69 166q532 21 1145 0-254-147-428-196-76 35-156 57-8 3-16 0-65-21-129-49-208 60-416 188h-1v1q1 0 1-1zm1184-46q4-54 28-120 14-38 33-71l-1 1q3-77 3-153-15-8-30-25-42-9-56-33-9-20 22-38-2-4-2-9-16-4-28-12-204 190-383 284 198 59 414 176zm392 23q5-54-39-107.5t-104-80-102-14.5q-38 11-72.5 70.5T1786 1624q0 16 3 30 10 49 53 79t94 28q54-2 119-42t100-93z\"/></svg>"},{"name":"font-awesome/opencart","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"opencart\" viewBox=\"0 0 2304.5004 1896.0833\"><path d=\"M1524 1561q0 68-48 116t-116 48-116.5-48-48.5-116 48.5-116.5T1360 1396t116 48.5 48 116.5zm-749 0q0 68-48.5 116T610 1725t-116-48-48-116 48-116.5 116-48.5 116.5 48.5T775 1561zM0 67q57 60 110.5 104.5t121 82 136 63 166 45.5 200 31.5 250 18.5 304 9.5T1660 424q139 0 244.5 5t181 16.5 124 27.5 71 39.5 24 51.5-19.5 64-56.5 76.5-89.5 91T2023 900t-139 119q-185 157-286 247 29-51 76.5-109t94-105.5T1863 953t83-91.5 54-80.5 13-70-45.5-55.5-116.5-41-204-23.5-304-5q-168 2-314-6t-256-23-204.5-41T409 464.5 286.5 402 195 335.5 127 264t-50.5-69.5-40-68T0 67z\"/></svg>"},{"name":"font-awesome/expeditedssl","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"expeditedssl\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 64q-169 0-323 66T307.5 307.5 130 573 64 896t66 323 177.5 265.5T573 1662t323 66 323-66 265.5-177.5T1662 1219t66-323-66-323-177.5-265.5T1219 130 896 64zm0-64q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0zM496 832q16 0 16 16v480q0 16-16 16h-32q-16 0-16-16V848q0-16 16-16h32zm400 64q53 0 90.5 37.5t37.5 90.5q0 35-17.5 64t-46.5 46v114q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-114q-29-17-46.5-46t-17.5-64q0-53 37.5-90.5T896 896zm0-768q209 0 385.5 103T1561 510.5 1664 896t-103 385.5-279.5 279.5T896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128zM544 608v96q0 14 9 23t23 9h64q14 0 23-9t9-23v-96q0-93 65.5-158.5T896 384t158.5 65.5T1120 608v96q0 14 9 23t23 9h64q14 0 23-9t9-23v-96q0-146-103-249T896 256 647 359 544 608zm864 736V832q0-26-19-45t-45-19H448q-26 0-45 19t-19 45v512q0 26 19 45t45 19h896q26 0 45-19t19-45z\"/></svg>"},{"name":"font-awesome/battery-4","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery-4\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1920 512v768H256V512h1664zm128 576h128V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288zm256-384v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160q53 0 90.5 37.5T2304 704z\"/></svg>"},{"name":"font-awesome/battery","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1920 512v768H256V512h1664zm128 576h128V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288zm256-384v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160q53 0 90.5 37.5T2304 704z\"/></svg>"},{"name":"font-awesome/battery-full","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery-full\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1920 512v768H256V512h1664zm128 576h128V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288zm256-384v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160q53 0 90.5 37.5T2304 704z\"/></svg>"},{"name":"font-awesome/battery-3","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery-3\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M256 1280V512h1280v768H256zm1920-704q53 0 90.5 37.5T2304 704v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160zm0 512V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288h128z\"/></svg>"},{"name":"font-awesome/battery-three-quarters","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery-three-quarters\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M256 1280V512h1280v768H256zm1920-704q53 0 90.5 37.5T2304 704v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160zm0 512V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288h128z\"/></svg>"},{"name":"font-awesome/battery-2","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery-2\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M256 1280V512h896v768H256zm1920-704q53 0 90.5 37.5T2304 704v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160zm0 512V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288h128z\"/></svg>"},{"name":"font-awesome/battery-half","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery-half\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M256 1280V512h896v768H256zm1920-704q53 0 90.5 37.5T2304 704v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160zm0 512V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288h128z\"/></svg>"},{"name":"font-awesome/battery-1","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery-1\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M256 1280V512h512v768H256zm1920-704q53 0 90.5 37.5T2304 704v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160zm0 512V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288h128z\"/></svg>"},{"name":"font-awesome/battery-quarter","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery-quarter\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M256 1280V512h512v768H256zm1920-704q53 0 90.5 37.5T2304 704v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160zm0 512V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288h128z\"/></svg>"},{"name":"font-awesome/battery-0","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery-0\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M2176 576q53 0 90.5 37.5T2304 704v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160zm0 512V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288h128z\"/></svg>"},{"name":"font-awesome/battery-empty","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"battery-empty\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M2176 576q53 0 90.5 37.5T2304 704v384q0 53-37.5 90.5T2176 1216v160q0 66-47 113t-113 47H160q-66 0-113-47T0 1376V416q0-66 47-113t113-47h1856q66 0 113 47t47 113v160zm0 512V704h-128V416q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v960q0 14 9 23t23 9h1856q14 0 23-9t9-23v-288h128z\"/></svg>"},{"name":"font-awesome/mouse-pointer","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mouse-pointer\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1133 1043q31 30 14 69-17 40-59 40H706l201 476q10 25 0 49t-34 35l-177 75q-25 10-49 0t-35-34l-191-452-312 312q-19 19-45 19-12 0-24-5-40-17-40-59V64Q0 22 40 5q12-5 24-5 27 0 45 19z\"/></svg>"},{"name":"font-awesome/i-cursor","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"i-cursor\" viewBox=\"0 0 1112.4844 1896.0833\"><path d=\"M832 128q-320 0-320 224v416h128v128H512v544q0 224 320 224h64v128h-64q-272 0-384-146-112 146-384 146H0v-128h64q320 0 320-224V896H256V768h128V352q0-224-320-224H0V0h64q272 0 384 146Q560 0 832 0h64v128h-64z\"/></svg>"},{"name":"font-awesome/object-group","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"object-group\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M2048 384h-128v1024h128v384h-384v-128H384v128H0v-384h128V384H0V0h384v128h1280V0h384v384zm-256-256v128h128V128h-128zm-1664 0v128h128V128H128zm128 1536v-128H128v128h128zm1408-128v-128h128V384h-128V256H384v128H256v1024h128v128h1280zm256 128v-128h-128v128h128zM1280 640h384v768H768v-256H384V384h896v256zm-768 384h640V512H512v512zm1024 256V768h-256v384H896v128h640z\"/></svg>"},{"name":"font-awesome/object-ungroup","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"object-ungroup\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M2304 768h-128v640h128v384h-384v-128h-896v128H640v-384h128v-128H384v128H0v-384h128V384H0V0h384v128h896V0h384v384h-128v128h384V384h384v384zm-256-256v128h128V512h-128zm-640-384v128h128V128h-128zm-1280 0v128h128V128H128zm128 1152v-128H128v128h128zm1280-128h-128v128h128v-128zm-1152 0h896v-128h128V384h-128V256H384v128H256v640h128v128zm512 512v-128H768v128h128zm1280 0v-128h-128v128h128zm-128-256V768h-128V640h-384v384h128v384h-384v-128H896v128h128v128h896v-128h128z\"/></svg>"},{"name":"font-awesome/sticky-note","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sticky-note\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1024 1248v416H96q-40 0-68-28t-28-68V224q0-40 28-68t68-28h1344q40 0 68 28t28 68v928h-416q-40 0-68 28t-28 68zm128 32h381q-15 82-65 132l-184 184q-50 50-132 65v-381z\"/></svg>"},{"name":"font-awesome/sticky-note-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sticky-note-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1400 1280h-248v248q29-10 41-22l185-185q12-12 22-41zm-280-128h288V256H128v1280h896v-288q0-40 28-68t68-28zm416-928v1024q0 40-20 88t-48 76l-184 184q-28 28-76 48t-88 20H96q-40 0-68-28t-28-68V224q0-40 28-68t68-28h1344q40 0 68 28t28 68z\"/></svg>"},{"name":"font-awesome/cc-jcb","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cc-jcb\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1951 998q0 26-15.5 44.5T1897 1066q-8 2-18 2h-153V928h153q10 0 18 2 23 5 38.5 23.5T1951 998zm-18-213q0 25-15 42t-38 21q-3 1-15 1h-139V720h139q3 0 8.5.5t6.5.5q23 4 38 21.5t15 42.5zM728 949V641H500v308q0 58-38 94.5T357 1080q-108 0-229-59v112q53 15 121 23t109 9l42 1q328 0 328-217zm714 184v-113q-99 52-200 59-108 8-169-41t-61-142 61-142 169-41q101 7 200 58V659q-48-12-100-19.5t-80-9.5l-28-2q-127-6-218.5 14T875 702t-71 88-22 106 22 106 71 88 140.5 60 218.5 14q101-4 208-31zm734-115q0-54-43-88.5T2024 890v-3q57-8 89-41.5t32-79.5q0-55-41-88t-107-36q-3 0-12-.5t-14-.5h-455v510h491q74 0 121.5-36.5t47.5-96.5zm128-762v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V256q0-52 38-90t90-38h2048q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/cc-diners-club","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"cc-diners-club\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M858 1241V548q-106 41-172 135.5T620 895t66 211.5T858 1241zm504-346q0-117-66-211.5T1124 548v694q106-41 172-135.5t66-211.5zm215 0q0 159-78.5 294T1285 1402.5 991 1481q-119 0-227.5-46.5t-187-125-125-187T405 895q0-159 78.5-294T697 387.5 991 309t294 78.5T1498.5 601t78.5 294zm383 7q0-139-55.5-261.5T1757 435t-213.5-131-252.5-48H990q-176 0-323.5 81t-235 230T344 902q0 171 87 317.5T667 1451t323 85h301q129 0 251.5-50.5t214.5-135 147.5-202.5 55.5-246zm344-646v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V256q0-52 38-90t90-38h2048q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/clone","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"clone\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1664 1632V544q0-13-9.5-22.5T1632 512H544q-13 0-22.5 9.5T512 544v1088q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5-9.5t9.5-22.5zm128-1088v1088q0 66-47 113t-113 47H544q-66 0-113-47t-47-113V544q0-66 47-113t113-47h1088q66 0 113 47t47 113zm-384-384v160h-128V160q0-13-9.5-22.5T1248 128H160q-13 0-22.5 9.5T128 160v1088q0 13 9.5 22.5t22.5 9.5h160v128H160q-66 0-113-47T0 1248V160Q0 94 47 47T160 0h1088q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/balance-scale","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"balance-scale\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1728 448l-384 704h768zm-1280 0L64 1152h768zm821-192q-14 40-45.5 71.5T1152 373v1291h608q14 0 23 9t9 23v64q0 14-9 23t-23 9H416q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h608V373q-40-14-71.5-45.5T907 256H416q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h491q21-57 70-92.5T1088 0t111 35.5 70 92.5h491q14 0 23 9t9 23v64q0 14-9 23t-23 9h-491zm-181 16q33 0 56.5-23.5T1168 192t-23.5-56.5T1088 112t-56.5 23.5T1008 192t23.5 56.5T1088 272zm1088 880q0 73-46.5 131t-117.5 91-144.5 49.5T1728 1440t-139.5-16.5T1444 1374t-117.5-91-46.5-131q0-11 35-81t92-174.5T1514 701t102-184 56-100q18-33 56-33t56 33q4 7 56 100t102 184 107 195.5 92 174.5 35 81zm-1280 0q0 73-46.5 131T732 1374t-144.5 49.5T448 1440t-139.5-16.5T164 1374t-117.5-91T0 1152q0-11 35-81t92-174.5T234 701t102-184 56-100q18-33 56-33t56 33q4 7 56 100t102 184 107 195.5 92 174.5 35 81z\"/></svg>"},{"name":"font-awesome/hourglass-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hourglass-o\" viewBox=\"0 0 1637.0876 1896.0833\"><path d=\"M1408 128q0 261-106.5 461.5T1035 896q160 106 266.5 306.5T1408 1664h96q14 0 23 9t9 23v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96q0-261 106.5-461.5T501 896Q341 790 234.5 589.5T128 128H32q-14 0-23-9T0 96V32Q0 18 9 9t23-9h1472q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96zM874 836q77-29 149-92.5T1152.5 591t92.5-210 35-253H256q0 132 35 253t92.5 210T513 743.5 662 836q19 7 30.5 23.5T704 896t-11.5 36.5T662 956q-77 29-149 92.5T383.5 1201 291 1411t-35 253h1024q0-132-35-253t-92.5-210-129.5-152.5T874 956q-19-7-30.5-23.5T832 896t11.5-36.5T874 836z\"/></svg>"},{"name":"font-awesome/hourglass-1","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hourglass-1\" viewBox=\"0 0 1637.0876 1896.0833\"><path d=\"M1408 128q0 261-106.5 461.5T1035 896q160 106 266.5 306.5T1408 1664h96q14 0 23 9t9 23v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96q0-261 106.5-461.5T501 896Q341 790 234.5 589.5T128 128H32q-14 0-23-9T0 96V32Q0 18 9 9t23-9h1472q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96zm-128 0H256q0 66 9 128h1006q9-61 9-128zm0 1536q0-130-34-249.5t-90.5-208-126.5-152T883 960H653q-76 31-146 94.5t-126.5 152-90.5 208-34 249.5h1024z\"/></svg>"},{"name":"font-awesome/hourglass-start","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hourglass-start\" viewBox=\"0 0 1637.0876 1896.0833\"><path d=\"M1408 128q0 261-106.5 461.5T1035 896q160 106 266.5 306.5T1408 1664h96q14 0 23 9t9 23v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96q0-261 106.5-461.5T501 896Q341 790 234.5 589.5T128 128H32q-14 0-23-9T0 96V32Q0 18 9 9t23-9h1472q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96zm-128 0H256q0 66 9 128h1006q9-61 9-128zm0 1536q0-130-34-249.5t-90.5-208-126.5-152T883 960H653q-76 31-146 94.5t-126.5 152-90.5 208-34 249.5h1024z\"/></svg>"},{"name":"font-awesome/hourglass-2","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hourglass-2\" viewBox=\"0 0 1637.0876 1896.0833\"><path d=\"M1408 128q0 261-106.5 461.5T1035 896q160 106 266.5 306.5T1408 1664h96q14 0 23 9t9 23v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96q0-261 106.5-461.5T501 896Q341 790 234.5 589.5T128 128H32q-14 0-23-9T0 96V32Q0 18 9 9t23-9h1472q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96zm-128 0H256q0 206 85 384h854q85-178 85-384zm-57 1216q-54-141-145.5-241.5T883 960H653q-103 42-194.5 142.5T313 1344h910z\"/></svg>"},{"name":"font-awesome/hourglass-half","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hourglass-half\" viewBox=\"0 0 1637.0876 1896.0833\"><path d=\"M1408 128q0 261-106.5 461.5T1035 896q160 106 266.5 306.5T1408 1664h96q14 0 23 9t9 23v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96q0-261 106.5-461.5T501 896Q341 790 234.5 589.5T128 128H32q-14 0-23-9T0 96V32Q0 18 9 9t23-9h1472q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96zm-128 0H256q0 206 85 384h854q85-178 85-384zm-57 1216q-54-141-145.5-241.5T883 960H653q-103 42-194.5 142.5T313 1344h910z\"/></svg>"},{"name":"font-awesome/hourglass-3","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hourglass-3\" viewBox=\"0 0 1637.0876 1896.0833\"><path d=\"M1408 128q0 261-106.5 461.5T1035 896q160 106 266.5 306.5T1408 1664h96q14 0 23 9t9 23v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96q0-261 106.5-461.5T501 896Q341 790 234.5 589.5T128 128H32q-14 0-23-9T0 96V32Q0 18 9 9t23-9h1472q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96zM874 836q77-29 149-92.5T1152.5 591t92.5-210 35-253H256q0 132 35 253t92.5 210T513 743.5 662 836q19 7 30.5 23.5T704 896t-11.5 36.5T662 956q-137 51-244 196h700q-107-145-244-196-19-7-30.5-23.5T832 896t11.5-36.5T874 836z\"/></svg>"},{"name":"font-awesome/hourglass-end","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hourglass-end\" viewBox=\"0 0 1637.0876 1896.0833\"><path d=\"M1408 128q0 261-106.5 461.5T1035 896q160 106 266.5 306.5T1408 1664h96q14 0 23 9t9 23v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96q0-261 106.5-461.5T501 896Q341 790 234.5 589.5T128 128H32q-14 0-23-9T0 96V32Q0 18 9 9t23-9h1472q14 0 23 9t9 23v64q0 14-9 23t-23 9h-96zM874 836q77-29 149-92.5T1152.5 591t92.5-210 35-253H256q0 132 35 253t92.5 210T513 743.5 662 836q19 7 30.5 23.5T704 896t-11.5 36.5T662 956q-137 51-244 196h700q-107-145-244-196-19-7-30.5-23.5T832 896t11.5-36.5T874 836z\"/></svg>"},{"name":"font-awesome/hourglass","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hourglass\" viewBox=\"0 0 1637.0876 1896.0833\"><path d=\"M1504 1600q14 0 23 9t9 23v128q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-128q0-14 9-23t23-9h1472zm-1374-64q3-55 16-107t30-95 46-87 53.5-76 64.5-69.5 66-60 70.5-55T543 939t65-43q-43-28-65-43t-66.5-47.5-70.5-55-66-60-64.5-69.5-53.5-76-46-87-30-95-16-107h1276q-3 55-16 107t-30 95-46 87-53.5 76-64.5 69.5-66 60-70.5 55T993 853t-65 43q43 28 65 43t66.5 47.5 70.5 55 66 60 64.5 69.5 53.5 76 46 87 30 95 16 107H130zM1504 0q14 0 23 9t9 23v128q0 14-9 23t-23 9H32q-14 0-23-9t-9-23V32Q0 18 9 9t23-9h1472z\"/></svg>"},{"name":"font-awesome/hand-grab-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-grab-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 384q-53 0-90.5 37.5T640 512v128h-32v-93q0-48-32-81.5T496 432q-46 0-79 33t-33 79v429l-32-30V771q0-48-32-81.5T240 656q-46 0-79 33t-33 79v224q0 47 35 82l310 296q39 39 39 102 0 26 19 45t45 19h640q26 0 45-19t19-45v-25q0-41 10-77l108-436q10-36 10-77V611q0-48-32-81.5t-80-33.5q-46 0-79 33t-33 79v32h-32V515q0-40-25-72.5t-64-40.5q-14-2-23-2-46 0-79 33t-33 79v128h-32V518q0-51-32.5-89.5T781 385q-5-1-13-1zm0-128q84 0 149 50 57-34 123-34 59 0 111 27t86 76q27-7 59-7 100 0 170 71.5t70 171.5v246q0 51-13 108l-109 436q-6 24-6 71 0 80-56 136t-136 56H576q-84 0-138-58.5T384 1463L76 1167Q0 1094 0 992V768q0-99 70.5-169.5T240 528q11 0 16 1 6-95 75.5-160T496 304q52 0 98 21 72-69 174-69z\"/></svg>"},{"name":"font-awesome/hand-rock-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-rock-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 384q-53 0-90.5 37.5T640 512v128h-32v-93q0-48-32-81.5T496 432q-46 0-79 33t-33 79v429l-32-30V771q0-48-32-81.5T240 656q-46 0-79 33t-33 79v224q0 47 35 82l310 296q39 39 39 102 0 26 19 45t45 19h640q26 0 45-19t19-45v-25q0-41 10-77l108-436q10-36 10-77V611q0-48-32-81.5t-80-33.5q-46 0-79 33t-33 79v32h-32V515q0-40-25-72.5t-64-40.5q-14-2-23-2-46 0-79 33t-33 79v128h-32V518q0-51-32.5-89.5T781 385q-5-1-13-1zm0-128q84 0 149 50 57-34 123-34 59 0 111 27t86 76q27-7 59-7 100 0 170 71.5t70 171.5v246q0 51-13 108l-109 436q-6 24-6 71 0 80-56 136t-136 56H576q-84 0-138-58.5T384 1463L76 1167Q0 1094 0 992V768q0-99 70.5-169.5T240 528q11 0 16 1 6-95 75.5-160T496 304q52 0 98 21 72-69 174-69z\"/></svg>"},{"name":"font-awesome/hand-stop-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-stop-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M880 128q-46 0-79 33t-33 79v656h-32V368q0-46-33-79t-79-33-79 33-33 79v784L358 947q-38-51-102-51-53 0-90.5 37.5T128 1024q0 43 26 77l384 512q38 51 102 51h688q34 0 61-22t34-56l76-405q5-32 5-59V624q0-46-33-79t-79-33-79 33-33 79v272h-32V368q0-46-33-79t-79-33-79 33-33 79v528h-32V240q0-46-33-79t-79-33zm0-128q68 0 125.5 35.5T1094 132q19-4 42-4 99 0 169.5 70.5T1376 368v17q105-6 180.5 64t75.5 175v498q0 40-8 83l-76 404q-14 79-76.5 131t-143.5 52H640q-60 0-114.5-27.5T435 1690L51 1178q-51-68-51-154 0-106 75-181t181-75q78 0 128 34V368q0-99 70.5-169.5T624 128q23 0 42 4 31-61 88.5-96.5T880 0z\"/></svg>"},{"name":"font-awesome/hand-paper-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-paper-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M880 128q-46 0-79 33t-33 79v656h-32V368q0-46-33-79t-79-33-79 33-33 79v784L358 947q-38-51-102-51-53 0-90.5 37.5T128 1024q0 43 26 77l384 512q38 51 102 51h688q34 0 61-22t34-56l76-405q5-32 5-59V624q0-46-33-79t-79-33-79 33-33 79v272h-32V368q0-46-33-79t-79-33-79 33-33 79v528h-32V240q0-46-33-79t-79-33zm0-128q68 0 125.5 35.5T1094 132q19-4 42-4 99 0 169.5 70.5T1376 368v17q105-6 180.5 64t75.5 175v498q0 40-8 83l-76 404q-14 79-76.5 131t-143.5 52H640q-60 0-114.5-27.5T435 1690L51 1178q-51-68-51-154 0-106 75-181t181-75q78 0 128 34V368q0-99 70.5-169.5T624 128q23 0 42 4 31-61 88.5-96.5T880 0z\"/></svg>"},{"name":"font-awesome/hand-scissors-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-scissors-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1073 1664H896q-163 0-226-141-23-49-23-102v-5q-62-30-98.5-88.5T512 1200q0-38 5-48H256q-106 0-181-75T0 896t75-181 181-75h113l-44-17q-74-28-119.5-93.5T160 384q0-106 75-181t181-75q46 0 91 17l628 239h401q106 0 181 75t75 181v668q0 88-54 157.5t-140 90.5l-339 85q-92 23-186 23zm-49-711l-155 71-163 74q-30 14-48 41.5t-18 60.5q0 46 33 79t79 33q26 0 46-10l338-154q-49-10-80.5-50t-31.5-90v-55zm320 311q0-46-33-79t-79-33q-26 0-46 10l-290 132q-28 13-37 17t-30.5 17-29.5 23.5-16 29-8 40.5q0 50 31.5 82t81.5 32q20 0 38-9l352-160q30-14 48-41.5t18-60.5zm-232-752L462 264q-24-8-46-8-53 0-90.5 37.5T288 384q0 40 22.5 73t59.5 47l526 200v64H256q-53 0-90.5 37.5T128 896t37.5 90.5T256 1024h535l233-106V720q0-63 46-106l111-102h-69zm-39 1024q82 0 155-19l339-85q43-11 70-45.5t27-78.5V640q0-53-37.5-90.5T1536 512h-308l-136 126q-36 33-36 82v296q0 46 33 77t79 31 79-35 33-81V800h32v208q0 70-57 114 52 8 86.5 48.5t34.5 93.5q0 42-23 78t-61 53l-310 141h91z\"/></svg>"},{"name":"font-awesome/hand-lizard-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-lizard-o\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1151 0q61 0 116 28t91 77l572 781q118 159 118 359v355q0 80-56 136t-136 56h-384q-80 0-136-56t-56-136v-177l-286-143H448q-80 0-136-56t-56-136v-32q0-119 84.5-203.5T544 768h420l42-128H320q-100 0-173.5-67.5T65 406Q0 327 0 224v-32q0-80 56-136T192 0h959zm769 1600v-355q0-157-93-284l-573-781q-39-52-103-52H192q-26 0-45 19t-19 45q0 32 1.5 49.5T139 282t25 43q10-31 35.5-50t56.5-19h832v32H256q-26 0-45 19t-19 45q0 44 3 58 8 44 44 73t81 29h731q40 0 68 28t28 68q0 15-5 30l-64 192q-10 29-35 47.5T987 896H544q-66 0-113 47t-47 113v32q0 26 19 45t45 19h561q16 0 29 7l317 158q24 13 38.5 36t14.5 50v197q0 26 19 45t45 19h384q26 0 45-19t19-45z\"/></svg>"},{"name":"font-awesome/hand-spock-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-spock-o\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M459 1792q-77 0-137.5-47.5T242 1622l-101-401q-13-57-13-108 0-45-5-67L7 569q-7-27-7-57 0-93 62-161t155-78q17-85 82.5-139T452 80q83 0 148 51.5T685 264l83 348 103-428q20-81 85-132.5T1104 0q89 0 155.5 57.5T1340 202q92 10 152 79t60 162q0 24-7 59l-123 512q10-7 37.5-28.5T1498 956t35-23 41-20.5 41.5-11 49.5-5.5q105 0 180 74t75 179q0 62-28.5 118t-78.5 94l-507 380q-68 51-153 51H459zm645-1664q-38 0-68.5 24T996 214L832 896H705L560 294q-9-38-39.5-62T452 208q-48 0-80 33t-32 80q0 15 3 28l132 547h-26l-99-408q-9-37-40-62.5T241 400q-47 0-80 33t-33 79q0 14 3 26l116 478q7 28 9 86t10 88l100 401q8 32 34 52.5t59 20.5h694q42 0 76-26l507-379q56-43 56-110 0-52-37.5-88.5T1665 1024q-43 0-77 26l-307 230v-227q0-4 32-138t68-282 39-161q4-18 4-29 0-47-32-81t-79-34q-39 0-69.5 24t-39.5 62l-116 482h-26l150-624q3-14 3-28 0-48-31.5-82t-79.5-34z\"/></svg>"},{"name":"font-awesome/hand-pointer-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-pointer-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M640 128q-53 0-90.5 37.5T512 256v896L361 950q-41-54-107-54-52 0-89 38t-37 90q0 43 26 77l384 512q38 51 102 51h718q22 0 39.5-13.5t22.5-34.5l92-368q24-96 24-194V837q0-41-28-71t-68-30-68 28-28 68h-32v-61q0-48-32-81.5t-80-33.5q-46 0-79 33t-33 79v64h-32v-90q0-55-37-94.5T928 608q-53 0-90.5 37.5T800 736v96h-32V262q0-55-37-94.5T640 128zm0-128q107 0 181.5 77.5T896 262v220q22-2 32-2 99 0 173 69 47-21 99-21 113 0 184 87 27-7 56-7 94 0 159 67.5t65 161.5v217q0 116-28 225l-92 368q-16 64-68 104.5t-118 40.5H640q-60 0-114.5-27.5T435 1690L51 1178q-51-68-51-154 0-105 74.5-180.5T254 768q71 0 130 35V256q0-106 75-181T640 0zm128 1408v-384h-32v384h32zm256 0v-384h-32v384h32zm256 0v-384h-32v384h32z\"/></svg>"},{"name":"font-awesome/hand-peace-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hand-peace-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1288 647q60 0 107 23 141 63 141 226v177q0 94-23 186l-85 339q-21 86-90.5 140t-157.5 54H512q-106 0-181-75t-75-181v-401L17 507Q0 462 0 416q0-106 75-181t181-75q80 0 145.5 45.5T495 325l17 44V256q0-106 75-181T768 0t181 75 75 181v261q27-5 48-5 69 0 127.5 36.5T1288 647zm-216-7q-33 0-60.5 18T970 706l-74 163-71 155h55q50 0 90 31.5t50 80.5l154-338q10-20 10-46 0-46-33-79t-79-33zm221 135q-22 0-40.5 8t-29 16-23.5 29.5-17 30.5-17 37l-132 290q-10 20-10 46 0 46 33 79t79 33q33 0 60.5-18t41.5-48l160-352q9-18 9-38 0-50-32-81.5t-82-31.5zM128 416q0 22 8 46l248 650v69l102-111q43-46 106-46h198l106-233V256q0-53-37.5-90.5T768 128t-90.5 37.5T640 256v640h-64L376 370q-14-37-47-59.5T256 288q-53 0-90.5 37.5T128 416zm1052 1248q44 0 78.5-27t45.5-70l85-339q19-73 19-155v-91l-141 310q-17 38-53 61t-78 23q-53 0-93.5-34.5T994 1255q-44 57-114 57H672v-32h208q46 0 81-33t35-79-31-79-77-33H592q-49 0-82 36l-126 136v308q0 53 37.5 90.5T512 1664h668z\"/></svg>"},{"name":"font-awesome/trademark","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"trademark\" viewBox=\"0 0 1973 1896.0833\"><path d=\"M857 544v117q0 13-9.5 22t-22.5 9H527v812q0 13-9 22.5t-22 9.5H361q-13 0-22.5-9t-9.5-23V692H32q-13 0-22.5-9T0 661V544q0-14 9-23t23-9h793q13 0 22.5 9.5T857 544zm1038-3l77 961q1 13-8 24-10 10-23 10h-134q-12 0-21-8.5t-10-20.5l-46-588-189 425q-8 19-29 19h-120q-20 0-29-19l-188-427-45 590q-1 12-10 20.5t-21 8.5H964q-13 0-23-10-9-10-9-24l78-961q1-12 10-20.5t21-8.5h142q20 0 29 19l220 520q10 24 20 51 3-7 9.5-24.5t10.5-26.5l221-520q9-19 29-19h141q13 0 22 8.5t10 20.5z\"/></svg>"},{"name":"font-awesome/registered","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"registered\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1042 703q0-88-60-121-33-18-117-18H742v281h162q66 0 102-37t36-105zm52 285l205 373q8 17-1 31-8 16-27 16h-152q-20 0-28-17l-194-365H742v350q0 14-9 23t-23 9H576q-14 0-23-9t-9-23V416q0-14 9-23t23-9h294q128 0 190 24 85 31 134 109t49 180q0 92-42.5 165.5T1085 972q6 10 9 16zM896 160q-150 0-286 58.5t-234.5 157-157 234.5T160 896t58.5 286 157 234.5 234.5 157 286 58.5 286-58.5 234.5-157 157-234.5 58.5-286-58.5-286-157-234.5-234.5-157T896 160zm896 736q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/creative-commons","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"creative-commons\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M605 1233q153 0 257-104 14-18 3-36l-45-82q-6-13-24-17-16-2-27 11l-4 3q-4 4-11.5 10t-17.5 13.5-23.5 14.5-28.5 13-33.5 9.5-37.5 3.5q-76 0-125-50t-49-127q0-76 48-125.5T609 720q37 0 71.5 14t50.5 28l16 14q11 11 26 10 16-2 24-14l53-78q13-20-2-39-3-4-11-12t-30-23.5-48.5-28T691 569t-86-10q-148 0-246 96.5T261 896q0 146 97 241.5t247 95.5zm630 0q153 0 257-104 14-18 4-36l-45-82q-8-14-25-17-16-2-27 11l-4 3q-4 4-11.5 10t-17.5 13.5-23.5 14.5-28.5 13-33.5 9.5-37.5 3.5q-76 0-125-50t-49-127q0-76 48-125.5t122-49.5q37 0 71.5 14t50.5 28l16 14q11 11 26 10 16-2 24-14l53-78q13-20-2-39-3-4-11-12t-30-23.5-48.5-28T1321 569t-86-10q-147 0-245.5 96.5T891 896q0 146 97 241.5t247 95.5zM896 160q-150 0-286 58.5t-234.5 157-157 234.5T160 896t58.5 286 157 234.5 234.5 157 286 58.5 286-58.5 234.5-157 157-234.5 58.5-286-58.5-286-157-234.5-234.5-157T896 160zm0-160q182 0 348 71t286 191 191 286 71 348-71 348-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0z\"/></svg>"},{"name":"font-awesome/gg","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gg\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M736 800l384 384-384 384L64 896l672-672 168 168-96 96-72-72-480 480 480 480 193-193-289-287zm576-576l672 672-672 672-168-168 96-96 72 72 480-480-480-480-193 193 289 287-96 96-384-384z\"/></svg>"},{"name":"font-awesome/gg-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gg-circle\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M717 1354l271-271-279-279-88 88 192 191-96 96-279-279 279-279 40 40 87-87-127-128-454 454zm358-8l454-454-454-454-271 271 279 279 88-88-192-191 96-96 279 279-279 279-40-40-87 88zm717-450q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/tripadvisor","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tripadvisor\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M651 997q0 39-27.5 66.5T558 1091q-39 0-66.5-27.5T464 997q0-38 27.5-65.5T558 904q38 0 65.5 27.5T651 997zm1154-1q0 39-27.5 66.5T1711 1090t-66.5-27.5T1617 996t27.5-66 66.5-27 66.5 27 27.5 66zm-1040 1q0-79-56.5-136T572 804t-136.5 56.5T379 997t56.5 136.5T572 1190t136.5-56.5T765 997zm1153-1q0-80-56.5-136.5T1725 803q-79 0-136 56.5T1532 996t56.5 136.5T1725 1189t136.5-56.5T1918 996zm-1068 1q0 116-81.5 197.5T572 1276q-116 0-197.5-82T293 997t82-196.5T572 719t196.5 81.5T850 997zm1154-1q0 115-81.5 196.5T1725 1274q-115 0-196.5-81.5T1447 996t81.5-196.5T1725 718q116 0 197.5 81.5T2004 996zm-964 3q0-191-135.5-326.5T578 537q-125 0-231 62T179 767.5 117 999t62 231.5T347 1399t231 62q191 0 326.5-135.5T1040 999zm668-573q-254-111-556-111-319 0-573 110 117 0 223 45.5T984.5 593t122 183 45.5 223q0-115 43.5-219.5t118-180.5T1491 476t217-50zm479 573q0-191-135-326.5T1726 537t-326.5 135.5T1264 999t135.5 326.5T1726 1461t326-135.5T2187 999zm-266-566h383q-44 51-75 114.5T2189 662q110 151 110 337 0 156-77 288t-209 208.5-287 76.5q-133 0-249-56t-196-155q-47 56-129 179-11-22-53.5-82.5T1024 1360q-80 99-196.5 155.5T578 1572q-155 0-287-76.5T82 1287 5 999q0-186 110-337-9-51-40-114.5T0 433h365q149-100 355-156.5t432-56.5q224 0 421 56t348 157z\"/></svg>"},{"name":"font-awesome/odnoklassniki","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"odnoklassniki\" viewBox=\"0 0 1358.9558 1896.0833\"><path d=\"M640 907q-188 0-321-133T186 454q0-188 133-321T640 0t321 133 133 321q0 187-133 320T640 907zm0-677q-92 0-157.5 65.5T417 454q0 92 65.5 157.5T640 677t157.5-65.5T863 454q0-93-65.5-158.5T640 230zm523 732q13 27 15 49.5t-4.5 40.5-26.5 38.5-42.5 37-61.5 41.5q-115 73-315 94l73 72 267 267q30 31 30 74t-30 73l-12 13q-31 30-74 30t-74-30q-67-68-267-268l-267 268q-31 30-74 30t-73-30l-12-13q-31-30-31-73t31-74l267-267 72-72q-203-21-317-94-39-25-61.5-41.5t-42.5-37-26.5-38.5-4.5-40.5 15-49.5q10-20 28-35t42-22 56 2 65 35q5 4 15 11t43 24.5 69 30.5 92 24 113 11q91 0 174-25.5T934 967l38-25q33-26 65-35t56-2 42 22 28 35z\"/></svg>"},{"name":"font-awesome/odnoklassniki-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"odnoklassniki-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M927 580q0 66-46.5 112.5T768 739t-112.5-46.5T609 580t46.5-112.5T768 421t112.5 46.5T927 580zm214 363q-10-20-28-32t-47.5-9.5T1005 929q-10 8-29 20t-81 32-127 20-124-18-86-36l-27-18q-31-25-60.5-27.5T423 911t-28 32q-22 45-2 74.5t87 73.5q83 53 226 67l-51 52q-142 142-191 190-22 22-22 52.5t22 52.5l9 9q22 22 52.5 22t52.5-22l191-191q114 115 191 191 22 22 52.5 22t52.5-22l9-9q22-22 22-52.5t-22-52.5l-191-190-52-52q141-14 225-67 67-44 87-73.5t-2-74.5zm-49-363q0-134-95-229t-229-95-229 95-95 229 95 229 229 95 229-95 95-229zm444-164v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/get-pocket","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"get-pocket\" viewBox=\"0 0 1720 1896.0833\"><path d=\"M1565 128q65 0 110 45.5t45 110.5v519q0 176-68 336t-182.5 275-274 182.5T861 1664q-176 0-335.5-67.5T251 1414 68 1139 0 803V284q0-64 46-110t110-46h1409zM861 1192q47 0 82-33l404-388q37-35 37-85 0-49-34.5-83.5T1266 568q-47 0-82 33L861 911 538 601q-35-33-81-33-49 0-83.5 34.5T339 686q0 51 36 85l405 388q33 33 81 33z\"/></svg>"},{"name":"font-awesome/wikipedia-w","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"wikipedia-w\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1494 1639l-295-695q-25 49-158.5 305.5T842 1639q-1 1-27.5.5T788 1638q-82-193-255.5-587T273 455q-21-50-66.5-107.5T103 247 1 204q0-5-.5-24T0 153h583v50q-39 2-79.5 16T437 262t-10 64q26 59 216.5 499T879 1365q31-61 140-266.5T1150 851q-19-39-126-281T888 275q-38-69-201-71v-50l513 1v47q-60 2-93.5 25t-12.5 69q33 70 87 189.5t86 187.5q110-214 173-363 24-55-10-79.5T1301 204q1-7 1-25v-24q64 0 170.5-.5t180-1 92.5-.5v49q-62 2-119 33t-90 81l-213 442q13 33 127.5 290t121.5 274l441-1017q-14-38-49.5-62.5t-65-31.5-55.5-8v-50l460 4 1 2-1 44q-139 4-201 145-526 1216-559 1291h-49z\"/></svg>"},{"name":"font-awesome/safari","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"safari\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M949 893q0 26-16.5 45T891 957q-26 0-45-16.5T827 899q0-26 17-45t42-19 44 16.5 19 41.5zm15 58l350-581q-9 8-67.5 62.5T1121 549 984.5 676t-117 110.5T817 838l-349 580q7-7 67-62t126-116.5 136-127 117-111 50-50.5zm647-55q0 201-104 371-3-2-17-11t-26.5-16.5-16.5-7.5q-13 0-13 13 0 10 59 44-74 112-184.5 190.5T1067 1590l-16-67q-1-10-15-10-5 0-8 5.5t-2 9.5l16 68q-72 15-146 15-199 0-372-105 1-2 13-20.5t21.5-33.5 9.5-19q0-13-13-13-6 0-17 14.5t-22.5 34.5-13.5 23q-113-75-192-187.5T200 1060l69-15q10-3 10-15 0-5-5.5-8t-10.5-2l-68 15q-14-72-14-139 0-206 109-379 2 1 18.5 12t30 19 17.5 8q13 0 13-12 0-6-12.5-15.5T324 507l-20-12q77-112 189-189t244-107l15 67q2 10 15 10 5 0 8-5.5t2-10.5l-15-66q71-13 134-13 204 0 379 109-39 56-39 65 0 13 12 13 11 0 48-64 111 75 187.5 186T1591 731l-56 12q-10 2-10 16 0 5 5.5 8t9.5 2l57-13q14 72 14 140zm85 0q0-163-63.5-311T1462 330t-255-170.5T896 96t-311 63.5T330 330 159.5 585 96 896t63.5 311T330 1462t255 170.5 311 63.5 311-63.5 255-170.5 170.5-255 63.5-311zm96 0q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/chrome","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"chrome\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M893 0q240-2 451 120 232 134 352 372l-742-39q-160-9-294 74.5T475 757L199 333Q327 174 510 87.5T893 0zM146 405l337 663q72 143 211 217t293 45l-230 451q-212-33-385-157.5t-272.5-316T0 896q0-267 146-491zm1586 169q58 150 59.5 310.5t-48.5 306-153 272-246 209.5q-230 133-498 119l405-623q88-131 82.5-290.5T1227 600zm-836 20q125 0 213.5 88.5T1198 896t-88.5 213.5T896 1198t-213.5-88.5T594 896t88.5-213.5T896 594z\"/></svg>"},{"name":"font-awesome/firefox","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"firefox\" viewBox=\"0 0 1792.0017 1896.0833\"><path d=\"M903 1792q-283 0-504.5-150.5T69 1243Q11 1112 2 942t26-332.5 111-312T318 55l-11 281q11-14 68-15.5t70 15.5q42-81 160.5-138T840 139q-54 45-119.5 148.5T662 451q25 8 62.5 13.5t63 7.5 68 4 50.5 3q15 5 9.5 45.5T885 600q-5 7-16.5 18.5T812 654t-101 34l15 189-139-67q-18 43-7.5 81.5t36 66.5 65.5 41.5 81 6.5q51-9 98-34.5t83.5-45T1017 909q61 4 89.5 33t19.5 65q-1 2-2.5 5.5t-8.5 12.5-18 15.5-31.5 10.5-46.5 1q-60 95-144.5 135.5T665 1217q74 61 162.5 82.5t168.5 6 154.5-52 128-87.5 80.5-104q43-91 39-192.5T1360.5 681 1282 556q87 38 137 79.5t77 112.5q15-170-57.5-343T1229 121q265 77 412 279.5T1792 918q2 127-40.5 255T1628 1411t-189 196-247.5 135.5T903 1792z\"/></svg>"},{"name":"font-awesome/opera","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"opera\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1493 228q-165-110-359-110-155 0-293 73T601 391q-75 93-119.5 218T433 875v42q4 141 48.5 266T601 1401q102 127 240 200t293 73q194 0 359-110-121 108-274.5 168T896 1792q-29 0-43-1-175-8-333-82t-272-193-181-281T0 896q0-182 71-348t191-286T548 71 896 0h3q168 1 320.5 60.5T1493 228zm299 668q0 192-77 362.5T1502 1555q-104 63-222 63-137 0-255-84 154-56 253.5-233t99.5-405q0-227-99-404t-253-234q119-83 254-83 119 0 226 65 135 125 210.5 295t75.5 361z\"/></svg>"},{"name":"font-awesome/internet-explorer","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"internet-explorer\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 937q0 56-7 104H634q0 146 109.5 244.5T1001 1384q99 0 185.5-46.5T1323 1207h423q-56 159-170.5 281T1308 1676.5 987 1743q-187 0-356-83-228 116-394 116-237 0-237-263 0-115 45-275 17-60 109-229 199-360 475-606-184 79-427 354 63-274 283.5-449.5T987 132q30 0 45 1 255-117 433-117 64 0 116 13t94.5 40.5T1742 146t24 115q0 116-75 286 101 182 101 390zm-70-640q0-83-53-132t-137-49q-108 0-254 70 121 47 222.5 131.5T1671 513q51-135 51-216zM128 1534q0 86 48.5 132.5T311 1713q115 0 266-83-122-72-213.5-183T226 1202q-98 205-98 332zm504-713h728q-5-142-113-237t-251-95q-144 0-251.5 95T632 821z\"/></svg>"},{"name":"font-awesome/tv","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"tv\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1792 1248V288q0-13-9.5-22.5T1760 256H160q-13 0-22.5 9.5T128 288v960q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5zm128-960v960q0 66-47 113t-113 47h-736v128h352q14 0 23 9t9 23v64q0 14-9 23t-23 9H544q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-128H160q-66 0-113-47T0 1248V288q0-66 47-113t113-47h1600q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/television","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"television\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1792 1248V288q0-13-9.5-22.5T1760 256H160q-13 0-22.5 9.5T128 288v960q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5zm128-960v960q0 66-47 113t-113 47h-736v128h352q14 0 23 9t9 23v64q0 14-9 23t-23 9H544q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-128H160q-66 0-113-47T0 1248V288q0-66 47-113t113-47h1600q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/contao","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"contao\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M138 128h197q-70 64-126 149-36 56-59 115t-30 125.5-8.5 120 10.5 132 21 126 28 136.5q4 19 6 28 51 238 81 329 57 171 152 275H138q-48 0-82-34t-34-82V244q0-48 34-82t82-34zm1208 0h308q48 0 82 34t34 82v1304q0 48-34 82t-82 34h-178q212-210 196-565l-469 101q-2 45-12 82t-31 72-59.5 59.5-93.5 36.5q-123 26-199-40-32-27-53-61t-51.5-129T639 962q-35-163-45.5-263T588 560t23-77q20-41 62.5-73T776 365q45-12 83.5-6.5t67 17 54 35 43 48T1058 515l468-100q-68-175-180-287z\"/></svg>"},{"name":"font-awesome/500px","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"500px\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1401 1547l-6 6q-113 113-259 175-154 64-317 64-165 0-317-64-148-63-259-175-113-112-175-258-42-103-54-189-4-28 48-36 51-8 56 20 1 1 1 4 18 90 46 159 50 124 152 226 98 98 226 152 132 56 276 56 143 0 276-56 128-55 225-152l6-6q10-10 25-6 12 3 33 22 36 37 17 58zM929 932l-66 66 63 63q21 21-7 49-17 17-32 17-10 0-19-10l-62-61-66 66q-5 5-15 5-15 0-31-16l-2-2q-18-15-18-29 0-7 8-17l66-65-66-66q-16-16 14-45 18-18 31-18 6 0 13 5l65 66 65-65q18-17 48 13 27 27 11 44zm471 57q0 118-46 228-45 105-126 186-80 80-187 126t-228 46-228-46-187-126q-82-82-125-186-15-33-15-40h-1q-9-27 43-44 50-16 60 12 37 99 97 167h1V971q3-136 102-232 105-103 253-103 147 0 251 103t104 249q0 147-104.5 251T813 1343q-58 0-112-16-28-11-13-61 16-51 44-43l14 3q14 3 33 6t30 3q104 0 176-71.5t72-174.5q0-101-72-171-71-71-175-71-107 0-178 80-64 72-64 160v413q110 67 242 67 96 0 185-36.5t156-103.5 103.5-155 36.5-183q0-198-141-339-140-140-339-140-200 0-340 140-53 53-77 87l-2 2q-8 11-13 15.5t-21.5 9.5-38.5-3q-21-5-36.5-16.5T267 718V38q0-15 10.5-26.5T305 0h877q30 0 30 55t-30 55H371v483h1q40-42 102-84t108-61q109-46 231-46 121 0 228 46t187 126q81 81 126 186 46 112 46 229zm-31-581q9 8 9 18t-5.5 18-16.5 21q-26 26-39 26-9 0-16-7-106-91-207-133-128-56-276-56-133 0-262 49-27 10-45-37-9-25-8-38 3-16 16-20 130-57 299-57 164 0 316 64 137 58 235 152z\"/></svg>"},{"name":"font-awesome/amazon","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"amazon\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1551 1476q15-6 26-3t11 17.5-15 33.5q-13 16-44 43.5t-95.5 68-141 74-188 58T875 1792q-119 0-238-31t-209-76.5-172.5-104-132.5-105-84-87.5q-8-9-10-16.5t1-12 8-7 11.5-2T61 1355q192 117 300 166 389 176 799 90 190-40 391-135zm207-115q11 16 2.5 69.5T1732 1533q-34 83-85 124-17 14-26 9t0-24q21-45 44.5-121.5t6.5-98.5q-5-7-15.5-11.5t-27-6-29.5-2.5-35 0-31.5 2-31 3-22.5 2q-6 1-13 1.5t-11 1-8.5 1-7 .5h-10l-3-.5-2-1.5-1.5-3q-6-16 47-40t103-30q46-7 108-1t76 24zm-394-443q0 31 13.5 64t32 58 37.5 46 33 32l13 11-227 224q-40-37-79-75.5t-58-58.5l-19-20q-11-11-25-33-38 59-97.5 102.5T860 1332t-140 23-137.5-21-117.5-65.5-83-113T351 993q0-84 28-154t72-116.5 106.5-83 122.5-57T810 548t119.5-18.5 99.5-6.5V396q0-65-21-97-34-53-121-53-6 0-16.5 1T830 259t-56 29.5-56 59.5-48 96l-294-27q0-60 22-119t67-113 108-95 151.5-65.5T915 0q100 0 181 25t129.5 61.5 81 83 45 86T1364 329v589zm-672 21q0 86 70 133 66 44 139 22 84-25 114-123 14-45 14-101V708q-59 2-111 12t-106.5 33.5-87 71T692 939z\"/></svg>"},{"name":"font-awesome/calendar-plus-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"calendar-plus-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1536 256q52 0 90 38t38 90v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128zm-384-96v288q0 14 9 23t23 9h64q14 0 23-9t9-23V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23zm-768 0v288q0 14 9 23t23 9h64q14 0 23-9t9-23V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23zm1152 1504V640H128v1024h1408zm-640-576h224q14 0 23 9t9 23v64q0 14-9 23t-23 9H896v224q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-224H544q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h224V864q0-14 9-23t23-9h64q14 0 23 9t9 23v224z\"/></svg>"},{"name":"font-awesome/calendar-minus-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"calendar-minus-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1152 1120v64q0 14-9 23t-23 9H544q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h576q14 0 23 9t9 23zM128 1664h1408V640H128v1024zM512 448V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23zm768 0V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23zm384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/calendar-times-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"calendar-times-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1111 1385l-46 46q-9 9-22 9t-23-9l-188-189-188 189q-10 9-23 9t-22-9l-46-46q-9-9-9-22t9-23l189-188-189-188q-9-10-9-23t9-22l46-46q9-9 22-9t23 9l188 188 188-188q10-9 23-9t22 9l46 46q9 9 9 22t-9 23l-188 188 188 188q9 10 9 23t-9 22zm-983 279h1408V640H128v1024zM512 448V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23zm768 0V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23zm384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/calendar-check-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"calendar-check-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1303 964l-512 512q-10 9-23 9t-23-9l-288-288q-9-10-9-23t9-22l46-46q9-9 22-9t23 9l220 220 444-444q10-9 23-9t22 9l46 46q9 9 9 22t-9 23zM128 1664h1408V640H128v1024zM512 448V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23zm768 0V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23zm384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90z\"/></svg>"},{"name":"font-awesome/industry","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"industry\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M448 0q26 0 45 19t19 45v891l536-429q17-14 40-14 26 0 45 19t19 45v379l536-429q17-14 40-14 26 0 45 19t19 45v1152q0 26-19 45t-45 19H64q-26 0-45-19t-19-45V64q0-26 19-45T64 0h384z\"/></svg>"},{"name":"font-awesome/map-pin","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"map-pin\" viewBox=\"0 0 1125.6776 1896.0833\"><path d=\"M512 1088q66 0 128-15v655q0 26-19 45t-45 19H448q-26 0-45-19t-19-45v-655q62 15 128 15zM512 0q212 0 362 150t150 362-150 362-362 150-362-150T0 512t150-362T512 0zm0 224q14 0 23-9t9-23-9-23-23-9q-146 0-249 103T160 512q0 14 9 23t23 9 23-9 9-23q0-119 84.5-203.5T512 224z\"/></svg>"},{"name":"font-awesome/map-signs","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"map-signs\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1745 297q10 10 10 23t-10 23l-141 141q-28 28-68 28H192q-26 0-45-19t-19-45V192q0-26 19-45t45-19h576V64q0-26 19-45t45-19h128q26 0 45 19t19 45v64h512q40 0 68 28zm-977 919h256v512q0 26-19 45t-45 19H832q-26 0-45-19t-19-45v-512zm832-448q26 0 45 19t19 45v256q0 26-19 45t-45 19H256q-40 0-68-28L47 983q-10-10-10-23t10-23l141-141q28-28 68-28h512V576h256v192h576z\"/></svg>"},{"name":"font-awesome/map-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"map-o\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M2020 11q28 20 28 53v1408q0 20-11 36t-29 23l-640 256q-24 11-48 0l-616-246-616 246q-10 5-24 5-19 0-36-11-28-20-28-53V320q0-20 11-36t29-23L680 5q24-11 48 0l616 246L1960 5q32-13 60 6zM736 146v1270l576 230V376zM128 363v1270l544-217V146zm1792 1066V159l-544 217v1270z\"/></svg>"},{"name":"font-awesome/map","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"map\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M512 0q13 0 22.5 9.5T544 32v1472q0 20-17 28L47 1788q-7 4-15 4-13 0-22.5-9.5T0 1760V288q0-20 17-28L497 4q7-4 15-4zm1248 0q13 0 22.5 9.5T1792 32v1472q0 20-17 28l-480 256q-7 4-15 4-13 0-22.5-9.5t-9.5-22.5V288q0-20 17-28L1745 4q7-4 15-4zM640 0q8 0 14 3l512 256q18 10 18 29v1472q0 13-9.5 22.5t-22.5 9.5q-8 0-14-3l-512-256q-18-10-18-29V32q0-13 9.5-22.5T640 0z\"/></svg>"},{"name":"font-awesome/commenting","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"commenting\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M640 896q0-53-37.5-90.5T512 768t-90.5 37.5T384 896t37.5 90.5T512 1024t90.5-37.5T640 896zm384 0q0-53-37.5-90.5T896 768t-90.5 37.5T768 896t37.5 90.5T896 1024t90.5-37.5T1024 896zm384 0q0-53-37.5-90.5T1280 768t-90.5 37.5T1152 896t37.5 90.5 90.5 37.5 90.5-37.5T1408 896zm384 0q0 174-120 321.5t-326 233-450 85.5q-110 0-211-18-173 173-435 229-52 10-86 13-12 1-22-6t-13-18q-4-15 20-37 5-5 23.5-21.5T198 1654t23.5-25.5 24-31.5 20.5-37 20-48 14.5-57.5T313 1382q-146-90-229.5-216.5T0 896q0-174 120-321.5t326-233T896 256t450 85.5 326 233T1792 896z\"/></svg>"},{"name":"font-awesome/commenting-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"commenting-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M640 896q0 53-37.5 90.5T512 1024t-90.5-37.5T384 896t37.5-90.5T512 768t90.5 37.5T640 896zm384 0q0 53-37.5 90.5T896 1024t-90.5-37.5T768 896t37.5-90.5T896 768t90.5 37.5T1024 896zm384 0q0 53-37.5 90.5T1280 1024t-90.5-37.5T1152 896t37.5-90.5T1280 768t90.5 37.5T1408 896zM896 384q-204 0-381.5 69.5T232.5 641 128 896q0 112 71.5 213.5T401 1285l87 50-27 96q-24 91-70 172 152-63 275-171l43-38 57 6q69 8 130 8 204 0 381.5-69.5t282-187.5T1664 896t-104.5-255-282-187.5T896 384zm896 512q0 174-120 321.5t-326 233-450 85.5q-70 0-145-8-198 175-460 242-49 14-114 22h-5q-15 0-27-10.5t-16-27.5v-1q-3-4-.5-12t2-10 4.5-9.5l6-9 7-8.5 8-9q7-8 31-34.5t34.5-38 31-39.5 32.5-51 27-59 26-76q-157-89-247.5-220T0 896q0-130 71-248.5T262 443t286-136.5T896 256t348 50.5T1530 443t191 204.5 71 248.5z\"/></svg>"},{"name":"font-awesome/houzz","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"houzz\" viewBox=\"0 0 1024 1896.0833\"><path d=\"M512 1191l512-295v591l-512 296v-592zM0 896v591l512-296zM512 9v591L0 896V305zm0 591l512-295v591z\"/></svg>"},{"name":"font-awesome/vimeo","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"vimeo\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1709 518q-10 236-332 651-333 431-562 431-142 0-240-263-44-160-132-482-72-262-157-262-18 0-127 76l-77-98q24-21 108-96.5T320 359q156-138 241-146 95-9 153 55.5T795 472q44 287 66 373 55 249 120 249 51 0 154-161 101-161 109-246 13-139-109-139-57 0-121 26 120-393 459-382 251 8 236 326z\"/></svg>"},{"name":"font-awesome/black-tie","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"black-tie\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M0 128h1536v1536H0V128zm1085 1115L864 612l221-297H451l221 297-221 631 317 304z\"/></svg>"},{"name":"font-awesome/fonticons","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"fonticons\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M0 128h1536v1536H0V128zm908 320l-12 33 75 83-31 114 25 25 107-57 107 57 25-25-31-114 75-83-12-33h-95l-53-96h-32l-53 96h-95zM641 611q32 0 44.5 16t11.5 63l174-21q0-55-17.5-92.5t-50.5-56-69-25.5-85-7q-133 0-199 57.5T384 728v72h-96v128h76q20 0 20 8v382q0 14-5 20t-18 7l-73 7v88h448v-86l-149-14q-6-1-8.5-1.5t-3.5-2.5-.5-4 1-7 .5-10V928h191l38-128H574q-6 0-2-6t4-9v-80q0-27 1.5-40.5t7.5-28 19.5-20T641 611zm607 829v-86l-54-9q-7-1-9.5-2.5t-2.5-3 1-7.5 1-12V800H909l-23 101 83 22q23 7 23 27v370q0 14-6 18.5t-20 6.5l-70 9v86h352z\"/></svg>"},{"name":"font-awesome/reddit-alien","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"reddit-alien\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 846q0 58-29.5 105.5T1683 1024q12 46 12 96 0 155-106.5 287T1298 1615.5 898 1692t-399.5-76.5-290-208.5T102 1120q0-47 11-94-51-25-82-73.5T0 846q0-82 58-140.5T199 647q85 0 145 63 218-152 515-162L975 27q3-13 15-21t26-5l369 81q18-37 54-59.5T1518 0q62 0 106 43.5t44 105.5-44 106-106 44-105.5-43.5T1369 150l-334-74-104 472q300 9 519 160 58-61 143-61 83 0 141 58.5t58 140.5zM418 1045q0 62 43.5 106t105.5 44 106-44 44-106-44-105.5T567 896q-61 0-105 44t-44 105zm810 355q11-11 11-26t-11-26q-10-10-25-10t-26 10q-41 42-121 62t-160 20-160-20-121-62q-11-10-26-10t-25 10q-11 10-11 25.5t11 26.5q43 43 118.5 68t122.5 29.5 91 4.5 91-4.5 122.5-29.5 118.5-68zm-3-205q62 0 105.5-44t43.5-106q0-61-44-105t-105-44q-62 0-106 43.5t-44 105.5 44 106 106 44z\"/></svg>"},{"name":"font-awesome/edge","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"edge\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M69 795h1q16-126 58.5-241.5t115-217 167.5-176T634.5 43 911 0q231 0 414 105.5T1619 409q104 187 104 442v188H598q1 111 53.5 192.5T788 1354t189.5 57 213 3 208-46.5T1572 1283v377q-92 55-229.5 92t-312.5 38-316-53q-189-73-311.5-249T278 1116q-3-242 111-412t325-268q-48 60-78 125.5T590 721h635q8-77-8-140t-47-101.5-70.5-66.5-80.5-41-75-20.5-56-8.5l-22-1q-135 5-259.5 44.5T383 491 207 631.5 69 795z\"/></svg>"},{"name":"font-awesome/credit-card-alt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"credit-card-alt\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M0 1504V896h2304v608q0 66-47 113t-113 47H160q-66 0-113-47T0 1504zm640-224v128h384v-128H640zm-384 0v128h256v-128H256zM2144 128q66 0 113 47t47 113v224H0V288q0-66 47-113t113-47h1984z\"/></svg>"},{"name":"font-awesome/codiepie","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"codiepie\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1584 1290l-218-111q-74 120-196.5 189T906 1437q-147 0-271-72t-196-196-72-270q0-110 42.5-209.5t115-172 172-115T906 360q131 0 247.5 60.5T1346 589l215-125q-110-169-286.5-265T896 103q-161 0-308 63T335 335 166 588t-63 308 63 308 169 253 253 169 308 63q213 0 397.5-107t290.5-292zm-554-397l693 352q-116 253-334.5 400T896 1792q-182 0-348-71t-286-191-191-286T0 896t71-348 191-286T548 71 896 0q260 0 470.5 133.5T1702 500zm513 3h-39v160h-96V704h136q32 0 54.5 20t28.5 48 1 56-27.5 48-57.5 20z\"/></svg>"},{"name":"font-awesome/modx","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"modx\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1427 709L813 323l92-151h855zM405 974L221 858V0l1183 743zm1019-135l147 95v858l-532-335zm-37-21l-500 802H32l356-571z\"/></svg>"},{"name":"font-awesome/fort-awesome","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"fort-awesome\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M640 1008V784q0-16-16-16h-96q-16 0-16 16v224q0 16 16 16h96q16 0 16-16zm512 0V784q0-16-16-16h-96q-16 0-16 16v224q0 16 16 16h96q16 0 16-16zm512 32v752h-640v-320q0-80-56-136t-136-56-136 56-56 136v320H0v-752q0-16 16-16h96q16 0 16 16v112h128V528q0-16 16-16h96q16 0 16 16v112h128V528q0-16 16-16h96q16 0 16 16v112h128V528q0-6 2.5-9.5t8.5-5 9.5-2 11.5 0 9 .5V121q-32-15-32-50 0-23 16.5-39T832 16t38.5 16T887 71q0 35-32 50v17q45-10 83-10 21 0 59.5 7.5t54.5 7.5q17 0 47-7.5t37-7.5q16 0 16 16v210q0 15-35 21.5t-62 6.5q-18 0-54.5-7.5T945 367q-40 0-90 12v133q1 0 9-.5t11.5 0 9.5 2 8.5 5 2.5 9.5v112h128V528q0-16 16-16h96q16 0 16 16v112h128V528q0-16 16-16h96q16 0 16 16v624h128v-112q0-16 16-16h96q16 0 16 16z\"/></svg>"},{"name":"font-awesome/usb","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"usb\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M2288 805q16 8 16 27t-16 27l-320 192q-8 5-16 5-9 0-16-4-16-10-16-28V896h-858q37 58 83 165 16 37 24.5 55t24 49 27 47 27 34 31.5 26 33 8h96v-96q0-14 9-23t23-9h320q14 0 23 9t9 23v320q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23v-96h-96q-32 0-61-10t-51-23.5-45-40.5-37-46-33.5-57-28.5-57.5-28-60.5q-23-53-37-81.5t-36-65-44.5-53.5-46.5-17H504q-22 84-91 138t-157 54q-106 0-181-75T0 832t75-181 181-75q88 0 157 54t91 138h104q24 0 46.5-17t44.5-53.5 36-65 37-81.5q19-41 28-60.5t28.5-57.5 33.5-57 37-46 45-40.5 51-23.5 61-10h107q21-57 70-92.5t111-35.5q80 0 136 56t56 136-56 136-136 56q-62 0-111-35.5t-70-92.5h-107q-17 0-33 8t-31.5 26-27 34-27 47-24 49-24.5 55q-46 107-83 165h1114V640q0-18 16-28t32 1z\"/></svg>"},{"name":"font-awesome/product-hunt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"product-hunt\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1150 762q0 56-39.5 95t-95.5 39H762V627h253q56 0 95.5 39.5T1150 762zm179 0q0-130-91.5-222T1015 448H582v896h180v-269h253q130 0 222-91.5t92-221.5zm463 134q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/mixcloud","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"mixcloud\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1645 1098q0-59-34-106.5t-87-68.5q-7 45-23 92-7 24-27.5 38t-44.5 14q-12 0-24-3-31-10-45-38.5t-4-58.5q23-71 23-143 0-123-61-227.5T1152 431t-228-61q-134 0-247 73T510 637q108 28 188 106 22 23 22 55t-22 54-54 22-55-22q-75-75-180-75-106 0-181 74.5T153 1032t75 180.5 181 74.5h1046q79 0 134.5-55.5T1645 1098zm153 0q0 142-100.5 242T1455 1440H409q-169 0-289-119.5T0 1032q0-153 100-267t249-136q62-184 221-298t354-114q235 0 408.5 158.5T1529 765q116 25 192.5 118.5T1798 1098zm250 0q0 175-97 319-23 33-64 33-24 0-43-13-26-17-32-48.5t12-57.5q71-104 71-233t-71-233q-18-26-12-57t32-49 57.5-11.5T1951 780q97 142 97 318zm256 0q0 244-134 443-23 34-64 34-23 0-42-13-26-18-32.5-49t11.5-57q108-164 108-358 0-195-108-357-18-26-11.5-57.5T2064 635q26-18 57-12t49 33q134 198 134 442z\"/></svg>"},{"name":"font-awesome/scribd","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"scribd\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1500 1549q0 89-63 152.5t-153 63.5-153.5-63.5T1067 1549q0-90 63.5-153.5T1284 1332t153 63.5 63 153.5zm-233-281q-115 15-192.5 102.5T997 1576q0 74 33 138-146 78-379 78-109 0-201-21t-153.5-54.5T186 1640t-76-85-44.5-83-23.5-66.5-6-39.5q0-19 4.5-42.5t18.5-56 36.5-58 64-43.5 94.5-18 94 17.5 63 41 35.5 53 17.5 49 4 33.5q0 34-23 81 28 27 82 42t93 17l40 1q115 0 190-51t75-133q0-26-9-48.5t-31.5-44.5-49.5-41-74-44-93.5-47.5T548 1017q-28-13-43-20-116-55-187-100T195.5 795t-72-125.5T103 507q0-78 20.5-150t66-137.5 112.5-114 166.5-77T690 0q120 0 220 26t164.5 67 109.5 94 64 105.5 19 103.5q0 46-15 82.5t-36.5 58-48.5 36-49 19.5-39 5h-40l-39-5-44-14-41-28-37-46-24-70.5-10-97.5q-15-16-59-25.5T704 300l-37-1q-68 0-117.5 31T479 400t-21 76q0 24 5 43t24 46 53 51 97 53.5T787 728q76 25 138.5 53.5t109 55.5 83 59 60.5 59.5 41 62.5 26.5 62 14.5 63.5 6 62 1 62.5z\"/></svg>"},{"name":"font-awesome/pause-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pause-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M704 1184V608q0-14-9-23t-23-9H416q-14 0-23 9t-9 23v576q0 14 9 23t23 9h256q14 0 23-9t9-23zm448 0V608q0-14-9-23t-23-9H864q-14 0-23 9t-9 23v576q0 14 9 23t23 9h256q14 0 23-9t9-23zm384-288q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/pause-circle-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pause-circle-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 128q209 0 385.5 103T1433 510.5 1536 896t-103 385.5-279.5 279.5T768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128zm0 1312q148 0 273-73t198-198 73-273-73-273-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73zm96-224q-14 0-23-9t-9-23V608q0-14 9-23t23-9h192q14 0 23 9t9 23v576q0 14-9 23t-23 9H864zm-384 0q-14 0-23-9t-9-23V608q0-14 9-23t23-9h192q14 0 23 9t9 23v576q0 14-9 23t-23 9H480z\"/></svg>"},{"name":"font-awesome/stop-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"stop-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1088 1184V608q0-14-9-23t-23-9H480q-14 0-23 9t-9 23v576q0 14 9 23t23 9h576q14 0 23-9t9-23zm448-288q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/stop-circle-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"stop-circle-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M768 128q209 0 385.5 103T1433 510.5 1536 896t-103 385.5-279.5 279.5T768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128zm0 1312q148 0 273-73t198-198 73-273-73-273-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73zm-288-224q-14 0-23-9t-9-23V608q0-14 9-23t23-9h576q14 0 23 9t9 23v576q0 14-9 23t-23 9H480z\"/></svg>"},{"name":"font-awesome/shopping-bag","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"shopping-bag\" viewBox=\"0 0 1792.0541 1896.0833\"><path d=\"M1757 1408l35 313q3 28-16 50-19 21-48 21H64q-29 0-48-21-19-22-16-50l35-313h1722zm-93-839l86 775H42l86-775q3-24 21-40.5t43-16.5h256v128q0 53 37.5 90.5T576 768t90.5-37.5T704 640V512h384v128q0 53 37.5 90.5T1216 768t90.5-37.5T1344 640V512h256q25 0 43 16.5t21 40.5zm-384-185v256q0 26-19 45t-45 19-45-19-19-45V384q0-106-75-181t-181-75-181 75-75 181v256q0 26-19 45t-45 19-45-19-19-45V384q0-159 112.5-271.5T896 0t271.5 112.5T1280 384z\"/></svg>"},{"name":"font-awesome/shopping-basket","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"shopping-basket\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1920 768q53 0 90.5 37.5T2048 896t-37.5 90.5-90.5 37.5h-15l-115 662q-8 46-44 76t-82 30H384q-46 0-82-30t-44-76l-115-662h-15q-53 0-90.5-37.5T0 896t37.5-90.5T128 768h1792zM485 1568q26-2 43.5-22.5T544 1499l-32-416q-2-26-22.5-43.5T443 1024t-43.5 22.5T384 1093l32 416q2 25 20.5 42t43.5 17h5zm411-64v-416q0-26-19-45t-45-19-45 19-19 45v416q0 26 19 45t45 19 45-19 19-45zm384 0v-416q0-26-19-45t-45-19-45 19-19 45v416q0 26 19 45t45 19 45-19 19-45zm352 5l32-416q2-26-15.5-46.5T1605 1024t-46.5 15.5-22.5 43.5l-32 416q-2 26 15.5 46.5t43.5 22.5h5q25 0 43.5-17t20.5-42zM476 292l-93 412H251l101-441q19-88 89-143.5T601 64h167q0-26 19-45t45-19h384q26 0 45 19t19 45h167q90 0 160 55.5t89 143.5l101 441h-132l-93-412q-11-44-45.5-72t-79.5-28h-167q0 26-19 45t-45 19H832q-26 0-45-19t-19-45H601q-45 0-79.5 28T476 292z\"/></svg>"},{"name":"font-awesome/hashtag","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hashtag\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M991 1024l64-256H801l-64 256h254zm768-504l-56 224q-7 24-31 24h-327l-64 256h311q15 0 25 12 10 14 6 28l-56 224q-5 24-31 24h-327l-81 328q-7 24-31 24H873q-16 0-26-12-9-12-6-28l78-312H665l-81 328q-7 24-31 24H328q-15 0-25-12-9-12-6-28l78-312H64q-15 0-25-12-9-12-6-28l56-224q7-24 31-24h327l64-256H200q-15 0-25-12-10-14-6-28l56-224q5-24 31-24h327l81-328q7-24 32-24h224q15 0 25 12 9 12 6 28l-78 312h254l81-328q7-24 32-24h224q15 0 25 12 9 12 6 28l-78 312h311q15 0 25 12 9 12 6 28z\"/></svg>"},{"name":"font-awesome/bluetooth","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bluetooth\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M841 1053l148 148-149 149zm-1-611l149 149-148 148zM710 1666l464-464-306-306 306-306-464-464v611L455 482l-93 93 320 321-320 321 93 93 255-255v611zm719-770q0 209-32 365.5t-87.5 257T1169 1681t-181.5 86.5T768 1792t-219.5-24.5T367 1681t-140.5-162.5-87.5-257T107 896t32-365.5 87.5-257T367 111t181.5-86.5T768 0t219.5 24.5T1169 111t140.5 162.5 87.5 257 32 365.5z\"/></svg>"},{"name":"font-awesome/bluetooth-b","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bluetooth-b\" viewBox=\"0 0 1024 1896.0833\"><path d=\"M596 1423l173-172-173-172v344zm0-710l173-172-173-172v344zm32 183l356 356-539 540v-711l-297 296-108-108 372-373L40 523l108-108 297 296V0l539 540z\"/></svg>"},{"name":"font-awesome/percent","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"percent\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 1280q0-52-38-90t-90-38-90 38-38 90 38 90 90 38 90-38 38-90zM512 512q0-52-38-90t-90-38-90 38-38 90 38 90 90 38 90-38 38-90zm1024 768q0 159-112.5 271.5T1152 1664t-271.5-112.5T768 1280t112.5-271.5T1152 896t271.5 112.5T1536 1280zm-96-1088q0 20-13 38L371 1638q-19 26-51 26H160q-26 0-45-19t-19-45q0-20 13-38L1165 154q19-26 51-26h160q26 0 45 19t19 45zM768 512q0 159-112.5 271.5T384 896 112.5 783.5 0 512t112.5-271.5T384 128t271.5 112.5T768 512z\"/></svg>"},{"name":"font-awesome/gitlab","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"gitlab\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M104 706l792 1015-868-630q-18-13-25-34.5t0-42.5l101-308zm462 0h660L896 1721zM368 94l198 612H104L302 94q8-23 33-23t33 23zm1320 612l101 308q7 21 0 42.5t-25 34.5l-868 630 792-1015zm0 0h-462l198-612q8-23 33-23t33 23z\"/></svg>"},{"name":"font-awesome/wpbeginner","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"wpbeginner\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M384 832h160V608H384v224zm837 332v-92q-104 36-243 38-135 1-259.5-46.5T498 941l1 96q88 80 212 128.5t272 47.5q129 0 238-49zM640 832h640V608H640v224zm1152-32q0 187-99 352 89 102 89 229 0 157-129.5 268T1339 1760q-122 0-225-52.5T953 1567q-19 1-57 1t-57-1q-58 88-161 140.5T453 1760q-184 0-313.5-111T10 1381q0-127 89-229Q0 987 0 800q0-209 120-385.5T446.5 135 896 32t449.5 103T1672 414.5 1792 800z\"/></svg>"},{"name":"font-awesome/wpforms","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"wpforms\" viewBox=\"0 0 1539.3921 1896.0833\"><path d=\"M515 911v128H263V911h252zm0-255v127H263V656h252zm758 511v128H932v-128h341zm0-256v128H601V911h672zm0-255v127H601V656h672zm135 860V276q0-8-6-14t-14-6h-32L978 512 768 341 558 512 180 256h-32q-8 0-14 6t-6 14v1240q0 8 6 14t14 6h1240q8 0 14-6t6-14zM553 406l185-150H332zm430 0l221-150H798zm553-130v1240q0 62-43 105t-105 43H148q-62 0-105-43T0 1516V276q0-62 43-105t105-43h1240q62 0 105 43t43 105z\"/></svg>"},{"name":"font-awesome/envira","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"envira\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 816Q792 620 736 538 597 336 389 220q-34-19-70-36-89-40-94-32t34 38l39 31q62 43 112.5 93.5T505 431t70.5 113T646 675q9 17 13 25 44 84 84 153t98 154 115.5 150 131 123.5T1236 1371q153 66 154 60 1-3-49-37-53-36-81-57-77-58-179-211T896 816zm-347 543q-76-60-132.5-125t-98-143.5-71-154.5T189 750t-52-209-60.5-252T0 0q273 0 497.5 36t379 92 271 144.5T1333 445t110 198.5 56 199.5 12.5 198.5-9.5 173-20 143.5-13 107l323 327h-104l-281-285q-22 2-91.5 14t-121.5 19-138 6-160.5-17-167.5-59-179-111z\"/></svg>"},{"name":"font-awesome/universal-access","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"universal-access\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1374 657q-6-26-28.5-39.5T1297 610q-261 62-401 62t-401-62q-26-6-48.5 7.5T418 657t7.5 48.5T465 734q194 46 303 58-2 158-15.5 269T726 1216.5 685 1332l-9 21q-10 25 1 49t36 34q9 4 23 4 44 0 60-41l8-20q54-139 71-259h42q17 120 71 259l8 20q16 41 60 41 14 0 23-4 25-10 36-34t1-49l-9-21q-28-71-41-115.5t-26.5-155.5-15.5-269q109-12 303-58 26-6 39.5-28.5t7.5-48.5zm-350-145q0-53-37.5-90.5T896 384t-90.5 37.5T768 512t37.5 90.5T896 640t90.5-37.5T1024 512zm576 384q0 143-55.5 273.5t-150 225-225 150T896 1600t-273.5-55.5-225-150-150-225T192 896t55.5-273.5 150-225 225-150T896 192t273.5 55.5 225 150 150 225T1600 896zM896 128q-156 0-298 61T353 353 189 598t-61 298 61 298 164 245 245 164 298 61 298-61 245-164 164-245 61-298-61-298-164-245-245-164-298-61zm896 768q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/wheelchair-alt","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"wheelchair-alt\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1438 813q34 35 29 82l-44 551q-4 42-34.5 70t-71.5 28q-6 0-9-1-44-3-72.5-36.5T1210 1429l35-429-143 8q55 113 55 240 0 216-148 372l-137-137q91-101 91-235 0-145-102.5-248T613 897q-134 0-236 92L240 851q120-114 284-141l264-300-149-87-181 161q-33 30-77 27.5T308 476t-26.5-77 34.5-73l239-213q26-23 60-26.5t64 14.5l488 283q36 21 48 68 17 67-26 117L984 801l371-20q49-3 83 32zm-198-457q-74 0-126-52t-52-126 52-126 126-52 126.5 52 52.5 126-52.5 126-126.5 52zM613 1598q106 0 196-61l139 139q-146 116-335 116-148 0-273.5-73T141 1521t-73-273q0-188 116-336l139 139q-60 88-60 197 0 145 102.5 247.5T613 1598z\"/></svg>"},{"name":"font-awesome/question-circle-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"question-circle-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M880 1200v160q0 14-9 23t-23 9H688q-14 0-23-9t-9-23v-160q0-14 9-23t23-9h160q14 0 23 9t9 23zm256-496q0 50-15 90t-45.5 69-52 44-59.5 36q-32 18-46.5 28t-26 24-11.5 29v32q0 14-9 23t-23 9H688q-14 0-23-9t-9-23v-68q0-35 10.5-64.5t24-47.5 39-35.5 41-25.5 44.5-21q53-25 75-43t22-49q0-42-43.5-71.5T773 601q-56 0-95 27-29 20-80 83-9 12-25 12-11 0-19-6l-108-82q-10-7-12-20t5-23q122-192 349-192 129 0 238.5 89.5T1136 704zM768 256q-130 0-248.5 51t-204 136.5-136.5 204T128 896t51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5-51-248.5-136.5-204-204-136.5T768 256zm768 640q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/blind","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"blind\" viewBox=\"0 0 1539.8183 1896.0833\"><path d=\"M366 311q-64 0-110-45.5T210 155q0-64 46-109.5T366 0t109.5 45.5T521 155q0 65-45.5 110.5T366 311zm551 642q0 50-30 67.5t-63.5 6.5-47.5-34L409 555q-7-12-14-15.5t-11-1.5l-3 3q-7 8 4 21l122 139 1 354-161 457q-67 192-92 234-15 26-28 32-50 26-103 1-29-13-41.5-43t-9.5-57q2-17 197-618l5-416-85 164 35 222q4 24-1 42t-14 27.5-19 16-17 7.5l-7 2q-19 3-34.5-3t-24-16-14-22-7.5-19.5-2-9.5L39 757l211-381q23-34 113-34 75 0 107 40l424 521q7 5 14 17l3 3-1 1q7 13 7 29zm-403 150q43 113 88.5 225t69.5 168l24 55q36 93 42 125 11 70-36 97-35 22-66 16t-51-22-29-35h-1q-6-16-8-25l-124-351zm824 592q31 49 31 57 0 5-3 7-9 5-14.5-.5t-15.5-26-16-30.5q-114-172-423-661 3 1 7-1t7-4l3-2q11-9 11-17z\"/></svg>"},{"name":"font-awesome/audio-description","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"audio-description\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M504 994h171l-1-265zm1026-99q0-87-50.5-140T1333 702h-54v388h52q91 0 145-57t54-138zM956 518l1 756q0 14-9.5 24t-23.5 10H708q-14 0-23.5-10t-9.5-24v-62H384l-55 81q-10 15-28 15H34q-21 0-30.5-18t3.5-35l556-757q9-14 27-14h332q14 0 24 10t10 24zm827 377q0 193-125.5 303T1333 1308h-270q-14 0-24-10t-10-24V518q0-14 10-24t24-10h268q200 0 326 109t126 302zm156 1q0 11-.5 29t-8 71.5-21.5 102-44.5 108T1791 1309h-51q38-45 66.5-104.5t41.5-112 21-98 9-72.5l1-27q0-8-.5-22.5t-7.5-60-20-91.5-41-111.5-66-124.5h43q41 47 72 107t45.5 111.5 23 96T1938 870zm184 0q0 11-.5 29t-8 71.5-21.5 102-45 108-74 102.5h-51q38-45 66.5-104.5t41.5-112 21-98 9-72.5l1-27q0-8-.5-22.5t-7.5-60-19.5-91.5-40.5-111.5-66-124.5h43q41 47 72 107t45.5 111.5 23 96T2122 870zm181 0q0 11-.5 29t-8 71.5-21.5 102-44.5 108T2156 1309h-51q38-45 66-104.5t41-112 21-98 9-72.5l1-27q0-8-.5-22.5t-7.5-60-19.5-91.5-40.5-111.5-66-124.5h43q41 47 72 107t45.5 111.5 23 96 9.5 70.5z\"/></svg>"},{"name":"font-awesome/volume-control-phone","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"volume-control-phone\" viewBox=\"0 0 1408 1896.0833\"><path d=\"M617 1689q0-11-13-58t-31-107-20-69q-1-4-5-26.5t-8.5-36T526 1371q-15-14-51-14-23 0-70 5.5t-71 5.5q-34 0-47-11-6-5-11-15.5t-7.5-20-6.5-24-5-18.5q-37-128-37-255t37-255q1-4 5-18.5t6.5-24 7.5-20 11-15.5q13-11 47-11 24 0 71 5.5t70 5.5q36 0 51-14 9-8 13.5-21.5t8.5-36 5-26.5q2-9 20-69t31-107 13-58q0-22-43.5-52.5T498 264q-20-8-45-8-34 0-98 18-57 17-96.5 40.5t-71 66-46 70T96 545q-6 12-9 19-49 107-68 216T0 1024t19 244 68 216q56 122 83 161 63 91 179 127l6 2q64 18 98 18 25 0 45-8 32-12 75.5-42.5T617 1689zm159-913q-26 0-45-19t-19-45.5 19-45.5q37-37 37-90 0-52-37-91-19-19-19-45t19-45 45-19 45 19q75 75 75 181t-75 181q-21 19-45 19zm181 181q-27 0-45-19-19-19-19-45t19-45q112-114 112-272T912 304q-19-19-19-45t19-45 45-19 45 19q150 150 150 362t-150 362q-18 19-45 19zm181 181q-27 0-45-19-19-19-19-45t19-45q90-91 138.5-208t48.5-245-48.5-245T1093 123q-19-19-19-45t19-45 45-19 45 19q109 109 167 249t58 294-58 294-167 249q-18 19-45 19z\"/></svg>"},{"name":"font-awesome/braille","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"braille\" viewBox=\"0 0 2176 1896.0833\"><path d=\"M192 1184q-66 0-113 47t-47 113 47 113 113 47 113-47 47-113-47-113-113-47zm512 0q-66 0-113 47t-47 113 47 113 113 47 113-47 47-113-47-113-113-47zm0-512q-66 0-113 47t-47 113 47 113 113 47 113-47 47-113-47-113-113-47zm768 512q-66 0-113 47t-47 113 47 113 113 47 113-47 47-113-47-113-113-47zm512 0q-66 0-113 47t-47 113 47 113 113 47 113-47 47-113-47-113-113-47zm-512-512q-66 0-113 47t-47 113 47 113 113 47 113-47 47-113-47-113-113-47zm512 0q-66 0-113 47t-47 113 47 113 113 47 113-47 47-113-47-113-113-47zm0-512q-66 0-113 47t-47 113 47 113 113 47 113-47 47-113-47-113-113-47zM384 1344q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm512 0q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zM384 832q0 80-56 136t-136 56-136-56T0 832t56-136 136-56 136 56 56 136zm512 0q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zM384 320q0 80-56 136t-136 56-136-56T0 320t56-136 136-56 136 56 56 136zm1280 1024q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zM896 320q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1280 1024q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm-512-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm512 0q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm-512-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm512 0q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136z\"/></svg>"},{"name":"font-awesome/assistive-listening-systems","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"assistive-listening-systems\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M128 1728q0 26-19 45t-45 19-45-19-19-45 19-45 45-19 45 19 19 45zm192-192q0 26-19 45t-45 19-45-19-19-45 19-45 45-19 45 19 19 45zm45-365l256 256-90 90-256-256zm339-19q0 26-19 45t-45 19-45-19-19-45 19-45 45-19 45 19 19 45zm707-320q0 59-11.5 108.5T1362 1034t-44 67.5-53 64.5q-31 35-45.5 54t-33.5 50-26.5 64-7.5 74q0 159-112.5 271.5T768 1792q-26 0-45-19t-19-45 19-45 45-19q106 0 181-75t75-181q0-57 11.5-105.5t37-91 43.5-66.5 52-63q40-46 59.5-72t37.5-74.5 18-103.5q0-185-131.5-316.5T835 384 518.5 515.5 387 832q0 26-19 45t-45 19-45-19-19-45q0-117 45.5-223.5t123-184 184-123T835 256t223.5 45.5 184 123 123 184T1411 832zM896 960q0 26-19 45t-45 19-45-19-19-45 19-45 45-19 45 19 19 45zm288-128q0 26-19 45t-45 19-45-19-19-45q0-93-65.5-158.5T832 608q-92 0-158 65.5T608 832q0 26-19 45t-45 19-45-19-19-45q0-146 103-249t249-103 249 103 103 249zm394-289q10 25-1 49t-36 34q-9 4-23 4-19 0-35.5-11t-23.5-30q-68-178-224-295-21-16-25-42t12-47q17-21 43-25t47 12q183 137 266 351zm210-81q9 25-1.5 49t-35.5 34q-11 4-23 4-44 0-60-41-92-238-297-393-22-16-25.5-42t12.5-47q16-22 42-25.5t47 12.5q235 175 341 449z\"/></svg>"},{"name":"font-awesome/asl-interpreting","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"asl-interpreting\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1032 960q-59-2-84-55-17-34-48-53.5T832 832q-53 0-90.5 37.5T704 960q0 56 36 89l10 8q34 31 82 31 37 0 68-19.5t48-53.5q25-53 84-55zm568-128q0-56-36-89l-10-8q-34-31-82-31-37 0-68 19.5t-48 53.5q-25 53-84 55 59 2 84 55 17 34 48 53.5t68 19.5q53 0 90.5-37.5T1600 832zm-426-221q-17 35-55 48t-73-4q-62-31-134-31-51 0-99 17 3 0 9.5-.5t9.5-.5q92 0 170.5 50T1121 823q17 36 3.5 73.5T1075 951q-18 9-39 9 21 0 39 9 36 17 49.5 54.5t-3.5 73.5q-40 83-118.5 133T832 1280h-6q-16-2-44-4l-290-27-239 120q-14 7-29 7-40 0-57-35L7 1021q-11-23-4-47.5T32 936l209-119 148-267q17-155 91.5-291.5T676 22Q707-3 746.5.5T811 35t21.5 70-34.5 65q-70 59-117 128 123-84 267-101 40-5 71.5 19t35.5 64q5 40-19 71.5T972 387q-84 10-159 55 46-10 99-10 115 0 218 50 36 18 49 55.5t-5 73.5zm963-160l160 320q11 23 4 47.5t-29 37.5l-209 119-148 267q-17 155-91.5 291.5T1628 1770q-26 22-61 22-45 0-74-35-25-31-21.5-70t34.5-65q70-59 117-128-123 84-267 101-4 1-12 1-36 0-63.5-24t-31.5-60q-5-40 19-71.5t64-35.5q84-10 159-55-46 10-99 10-115 0-218-50-36-18-49-55.5t5-73.5q17-35 55-48t73 4q62 31 134 31 51 0 99-17-3 0-9.5.5t-9.5.5q-92 0-170.5-50T1183 969q-17-36-3.5-73.5T1229 841q18-9 39-9-21 0-39-9-36-17-49.5-54.5t3.5-73.5q40-83 118.5-133t170.5-50h7q14 2 42 4l291 27 239-120q14-7 29-7 40 0 57 35z\"/></svg>"},{"name":"font-awesome/american-sign-language-interpreting","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"american-sign-language-interpreting\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M1032 960q-59-2-84-55-17-34-48-53.5T832 832q-53 0-90.5 37.5T704 960q0 56 36 89l10 8q34 31 82 31 37 0 68-19.5t48-53.5q25-53 84-55zm568-128q0-56-36-89l-10-8q-34-31-82-31-37 0-68 19.5t-48 53.5q-25 53-84 55 59 2 84 55 17 34 48 53.5t68 19.5q53 0 90.5-37.5T1600 832zm-426-221q-17 35-55 48t-73-4q-62-31-134-31-51 0-99 17 3 0 9.5-.5t9.5-.5q92 0 170.5 50T1121 823q17 36 3.5 73.5T1075 951q-18 9-39 9 21 0 39 9 36 17 49.5 54.5t-3.5 73.5q-40 83-118.5 133T832 1280h-6q-16-2-44-4l-290-27-239 120q-14 7-29 7-40 0-57-35L7 1021q-11-23-4-47.5T32 936l209-119 148-267q17-155 91.5-291.5T676 22Q707-3 746.5.5T811 35t21.5 70-34.5 65q-70 59-117 128 123-84 267-101 40-5 71.5 19t35.5 64q5 40-19 71.5T972 387q-84 10-159 55 46-10 99-10 115 0 218 50 36 18 49 55.5t-5 73.5zm963-160l160 320q11 23 4 47.5t-29 37.5l-209 119-148 267q-17 155-91.5 291.5T1628 1770q-26 22-61 22-45 0-74-35-25-31-21.5-70t34.5-65q70-59 117-128-123 84-267 101-4 1-12 1-36 0-63.5-24t-31.5-60q-5-40 19-71.5t64-35.5q84-10 159-55-46 10-99 10-115 0-218-50-36-18-49-55.5t5-73.5q17-35 55-48t73 4q62 31 134 31 51 0 99-17-3 0-9.5.5t-9.5.5q-92 0-170.5-50T1183 969q-17-36-3.5-73.5T1229 841q18-9 39-9-21 0-39-9-36-17-49.5-54.5t3.5-73.5q40-83 118.5-133t170.5-50h7q14 2 42 4l291 27 239-120q14-7 29-7 40 0 57 35z\"/></svg>"},{"name":"font-awesome/deafness","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"deafness\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1056 832q0 26 19 45t45 19 45-19 19-45q0-146-103-249T832 480 583 583 480 832q0 26 19 45t45 19 45-19 19-45q0-93 66-158.5T832 608t158 65.5 66 158.5zM835 256q-117 0-223.5 45.5t-184 123-123 184T259 832q0 26 19 45t45 19 45-19 19-45q0-185 131.5-316.5T835 384t316.5 131.5T1283 832q0 55-18 103.5t-37.5 74.5-59.5 72q-34 39-52 63t-43.5 66.5-37 91T1024 1408q0 106-75 181t-181 75q-26 0-45 19t-19 45 19 45 45 19q159 0 271.5-112.5T1152 1408q0-41 7.5-74t26.5-64 33.5-50 45.5-54q35-41 53-64.5t44-67.5 37.5-93.5T1411 832q0-117-45.5-223.5t-123-184-184-123T835 256zM591 975l226 226-579 579q-12 12-29 12t-29-12L12 1612q-12-12-12-29t12-29zM1612 12l168 168q12 12 12 29t-12 30l-233 233-26 25-71 71q-66-153-195-258l91-91 207-207q13-12 30-12t29 12z\"/></svg>"},{"name":"font-awesome/hard-of-hearing","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"hard-of-hearing\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1056 832q0 26 19 45t45 19 45-19 19-45q0-146-103-249T832 480 583 583 480 832q0 26 19 45t45 19 45-19 19-45q0-93 66-158.5T832 608t158 65.5 66 158.5zM835 256q-117 0-223.5 45.5t-184 123-123 184T259 832q0 26 19 45t45 19 45-19 19-45q0-185 131.5-316.5T835 384t316.5 131.5T1283 832q0 55-18 103.5t-37.5 74.5-59.5 72q-34 39-52 63t-43.5 66.5-37 91T1024 1408q0 106-75 181t-181 75q-26 0-45 19t-19 45 19 45 45 19q159 0 271.5-112.5T1152 1408q0-41 7.5-74t26.5-64 33.5-50 45.5-54q35-41 53-64.5t44-67.5 37.5-93.5T1411 832q0-117-45.5-223.5t-123-184-184-123T835 256zM591 975l226 226-579 579q-12 12-29 12t-29-12L12 1612q-12-12-12-29t12-29zM1612 12l168 168q12 12 12 29t-12 30l-233 233-26 25-71 71q-66-153-195-258l91-91 207-207q13-12 30-12t29 12z\"/></svg>"},{"name":"font-awesome/deaf","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"deaf\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1056 832q0 26 19 45t45 19 45-19 19-45q0-146-103-249T832 480 583 583 480 832q0 26 19 45t45 19 45-19 19-45q0-93 66-158.5T832 608t158 65.5 66 158.5zM835 256q-117 0-223.5 45.5t-184 123-123 184T259 832q0 26 19 45t45 19 45-19 19-45q0-185 131.5-316.5T835 384t316.5 131.5T1283 832q0 55-18 103.5t-37.5 74.5-59.5 72q-34 39-52 63t-43.5 66.5-37 91T1024 1408q0 106-75 181t-181 75q-26 0-45 19t-19 45 19 45 45 19q159 0 271.5-112.5T1152 1408q0-41 7.5-74t26.5-64 33.5-50 45.5-54q35-41 53-64.5t44-67.5 37.5-93.5T1411 832q0-117-45.5-223.5t-123-184-184-123T835 256zM591 975l226 226-579 579q-12 12-29 12t-29-12L12 1612q-12-12-12-29t12-29zM1612 12l168 168q12 12 12 29t-12 30l-233 233-26 25-71 71q-66-153-195-258l91-91 207-207q13-12 30-12t29 12z\"/></svg>"},{"name":"font-awesome/glide","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"glide\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M866 515q0 27-13 94-11 50-31.5 150T791 909q-2 11-4.5 12.5T773 924q-20 2-31 2-58 0-84-49.5T632 763q0-88 35-174t103-124q28-14 51-14 28 0 36.5 16.5T866 515zm486 424q0-14-39-75.5t-52-66.5q-21-8-34-8-91 0-226 77l-2-2q3-22 27.5-135t24.5-178q0-233-242-233-24 0-68 6-94 17-168.5 89.5T461 580t-37 189q0 146 80.5 225t227.5 79q25 0 25 3t-1 5q-4 34-26 117-14 52-51.5 101t-82.5 49q-42 0-42-47 0-24 10.5-47.5t25-39.5 29.5-28.5 26-20 11-8.5q0-3-7-10-24-22-58.5-36.5T525 1096q-35 0-63.5 34t-41 75-12.5 75q0 88 51.5 142t138.5 54q82 0 155-53t117.5-126 65.5-153q6-22 15.5-66.5T966 1011q3-12 14-18 118-60 227-60 48 0 127 18 1 1 4 1 5 0 9.5-4.5t4.5-8.5zm184-523v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/glide-g","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"glide-g\" viewBox=\"0 0 1535 1896.0833\"><path d=\"M744 305q0-24-2-38.5t-8.5-30-21-23T675 206q-39 0-78 23-105 58-159 190.5T384 689q0 44 8.5 85.5T419 855t52.5 62.5T553 941q4 0 18 .5t20 0 16-3 15-8.5 7-16q16-77 48-231.5T725 451q19-91 19-146zm754 656q0 7-7.5 13.5T1475 981l-6-1q-22-3-62-11t-72-12.5-63-4.5q-167 0-351 93-15 8-21 27-10 36-24.5 105.5T853 1278q-23 91-70 179.5T670.5 1622 516 1745t-185 47q-135 0-214.5-83.5T37 1489q0-53 19.5-117t63-116.5T217 1203q38 0 120 33.5t83 61.5q0 1-16.5 12.5t-39.5 31-46 44.5-39 61-16 74q0 33 16.5 53t48.5 20q45 0 85-31.5t66.5-78 48-105.5 32.5-107 16-90v-9q0-2-3.5-3.5t-8.5-1.5h-10l-10 .5-6 .5q-227 0-352-122.5T61 698q0-108 34.5-221t96-210 156-167.5T552 10q52-9 106-9 374 0 374 360 0 98-38 273t-43 211l3 3q101-57 182.5-88t167.5-31q22 0 53 13 19 7 80 102.5t61 116.5z\"/></svg>"},{"name":"font-awesome/signing","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"signing\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M831 673q32 0 59 18l222 148q61 40 110 97l146 170q40 46 29 106l-72 413q-6 32-29.5 53.5T1240 1704l-527 56-352 32h-9q-39 0-67.5-28t-28.5-68q0-37 27-64t65-32l260-32H160q-41 0-69.5-30T64 1467q2-39 32-65t69-26l442-1-521-64q-41-5-66-37t-19-73q6-35 34.5-57.5T101 1121h10l481 60-351-94q-38-10-62-41.5T161 977q6-36 33-58.5t62-22.5q6 0 20 2l448 96 217 37q1 0 3 .5t3 .5q23 0 30.5-23T965 973L779 848q-35-23-42-63.5t18-73.5q27-38 76-38zm-70 202l186 125-218-37-5-2-36-38-238-262q-1-1-2.5-3.5T445 654q-24-31-18.5-70t37.5-64q31-23 68-17.5t64 33.5l142 147q-2 1-5 3.5t-4 4.5q-32 45-23 99t55 85zm887-454l15 266q4 73-11 147l-48 219q-12 59-67 87l-106 54q2-62-39-109l-146-170q-53-61-117-103L907 664q-34-23-76-23-51 0-88 37L508 366q-25-33-18-73.5t41-63.5q33-22 71.5-14t62.5 40l266 352-262-455q-21-35-10.5-75T706 18q35-18 72.5-6T836 58l241 420-136-337q-15-35-4.5-74T981 11q37-19 76-6t56 51l193 415 101 196q8 15 23 17.5t27-7.5 11-26l-12-224q-2-41 26-71t69-31q39 0 67 28.5t30 67.5z\"/></svg>"},{"name":"font-awesome/sign-language","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"sign-language\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M831 673q32 0 59 18l222 148q61 40 110 97l146 170q40 46 29 106l-72 413q-6 32-29.5 53.5T1240 1704l-527 56-352 32h-9q-39 0-67.5-28t-28.5-68q0-37 27-64t65-32l260-32H160q-41 0-69.5-30T64 1467q2-39 32-65t69-26l442-1-521-64q-41-5-66-37t-19-73q6-35 34.5-57.5T101 1121h10l481 60-351-94q-38-10-62-41.5T161 977q6-36 33-58.5t62-22.5q6 0 20 2l448 96 217 37q1 0 3 .5t3 .5q23 0 30.5-23T965 973L779 848q-35-23-42-63.5t18-73.5q27-38 76-38zm-70 202l186 125-218-37-5-2-36-38-238-262q-1-1-2.5-3.5T445 654q-24-31-18.5-70t37.5-64q31-23 68-17.5t64 33.5l142 147q-2 1-5 3.5t-4 4.5q-32 45-23 99t55 85zm887-454l15 266q4 73-11 147l-48 219q-12 59-67 87l-106 54q2-62-39-109l-146-170q-53-61-117-103L907 664q-34-23-76-23-51 0-88 37L508 366q-25-33-18-73.5t41-63.5q33-22 71.5-14t62.5 40l266 352-262-455q-21-35-10.5-75T706 18q35-18 72.5-6T836 58l241 420-136-337q-15-35-4.5-74T981 11q37-19 76-6t56 51l193 415 101 196q8 15 23 17.5t27-7.5 11-26l-12-224q-2-41 26-71t69-31q39 0 67 28.5t30 67.5z\"/></svg>"},{"name":"font-awesome/low-vision","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"low-vision\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M335 1356q-2 0-6-2-86-57-168.5-145T21 1029Q0 999 0 960q0-9 2-19t4-18 7-18 8.5-16T32 872t10-15 12-15.5T65 827q184-251 452-365-110-198-110-211 0-19 17-29 116-64 128-64 18 0 28 16l124 229q92-19 192-19 266 0 497.5 137.5T1772 891q20 31 20 69t-20 69q-91 142-218.5 253.5T1275 1458q110 198 110 211 0 20-17 29-116 64-127 64-19 0-29-16l-124-229-64-119-444-820 7-7q-58 24-99 47 3 5 127 234t243 449 119 223q0 7-9 9-13 3-72 3-57 0-60-7L380 688q-39 28-82 68 24 43 214 393.5T702 1504q0 10-11 10-14 0-82.5-22t-72.5-28l-106-197-224-413q-44 53-78 106 2 3 18 25t23 34l176 327q0 10-10 10zm830-102l49 91q273-111 450-385-180-277-459-389 67 64 103 148.5t36 176.5q0 106-47 200.5T1165 1254zM848 640q0 20 14 34t34 14q86 0 147 61t61 147q0 20 14 34t34 14 34-14 14-34q0-126-89-215t-215-89q-20 0-34 14t-14 34zm366-65l-9-4 7 7z\"/></svg>"},{"name":"font-awesome/viadeo","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"viadeo\" viewBox=\"0 0 1280 1896.0833\"><path d=\"M1050 1106q0 215-147 374-148 161-378 161-232 0-378-161Q0 1321 0 1106q0-147 68-270.5T257 639t268-73q96 0 182 31-32 62-39 126-66-28-143-28-167 0-280.5 123T131 1109q0 170 112.5 288.5T525 1516t281-118.5T918 1109q0-89-32-166 66-13 123-49 41 98 41 212zM846 917q0 192-79.5 345T528 1515l-14 1q-29 0-62-5 83-32 146.5-102.5T698 1254t58.5-189 30-192.5T794 694q0-69-3-103 55 160 55 326zm-55-328v2q-73-214-206-440 88 59 142.5 186.5T791 589zm244 203q-83 0-160-75 218-120 290-247 19-37 21-56-42 94-139.5 166.5T842 678q-35-54-35-113 0-37 17-79t43-68q46-44 157-74 59-16 106-58.5t74-100.5q74 105 74 253 0 109-24 170-32 77-88.5 130.5T1035 792z\"/></svg>"},{"name":"font-awesome/viadeo-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"viadeo-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1050 1041q0-78-28-147-41 25-85 34 22 50 22 114 0 117-77 198.5T689 1322t-193.5-81.5T418 1042q0-115 78-199.5T689 758q53 0 98 19 4-43 27-87-60-21-125-21-154 0-257.5 108.5T328 1041t103.5 261T689 1408t257.5-106.5T1050 1041zM872 686q2 24 2 71 0 63-5 123t-20.5 132.5-40.5 130-68.5 106T639 1319q21 3 42 3h10q219-139 219-411 0-116-38-225zm0 0q-4-80-44-171.5T730 384q92 156 142 302zm335-105q0-102-51-174-41 86-124 109-69 19-109 53.5T883 669q0 40 24 77 74-17 140.5-67t95.5-115q-4 52-74.5 111.5T930 773q52 52 110 52 51 0 90-37t60-90q17-42 17-117zm329-165v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/snapchat","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"snapchat\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1279 1148q0-22-22-27-67-15-118-59t-80-108q-7-19-7-25 0-15 19.5-26t43-17 43-20.5T1177 829q0-19-18.5-31.5T1120 785q-12 0-32 8t-31 8q-4 0-12-2 5-95 5-114 0-79-17-114-36-78-103-121.5T778 406q-199 0-275 165-17 35-17 114 0 19 5 114-4 2-14 2-12 0-32-7.5t-30-7.5q-21 0-38.5 12T359 830q0 21 19.5 35.5t43 20.5 43 17 19.5 26q0 6-7 25-64 138-198 167-22 5-22 27 0 46 137 68 2 5 6 26t11.5 30.5 23.5 9.5q12 0 37.5-4.5t39.5-4.5q35 0 67 15t54 32.5 57.5 32.5 76.5 15q43 0 79-15t57.5-32.5T957 1288t67-15q14 0 39.5 4t38.5 4q16 0 23-10t11-30 6-25q137-22 137-68zm257-252q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/snapchat-ghost","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"snapchat-ghost\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M848 128q134-1 240.5 68.5T1252 389q27 58 27 179 0 47-9 191 14 7 28 7 18 0 51-13.5t51-13.5q29 0 56 18t27 46q0 32-31.5 54t-69 31.5-69 29T1282 965q0 15 12 43 37 82 102.5 150t144.5 101q28 12 80 23 28 6 28 35 0 70-219 103-7 11-11 39t-14 46.5-33 18.5q-20 0-62-6.5t-64-6.5q-37 0-62 5-32 5-63 22.5t-58 38-58 40.5-76 33.5-99 13.5q-52 0-96.5-13.5t-75-33.5-57.5-40.5-58-38-62-22.5q-26-5-63-5-24 0-65.5 7.5T294 1526q-25 0-35-18.5t-14-47.5-11-40q-219-33-219-103 0-29 28-35 52-11 80-23 78-32 144.5-101T370 1008q12-28 12-43 0-28-31.5-47.5T281 888t-69.5-31.5T180 804q0-27 26-45.5t55-18.5q15 0 48 13t53 13q18 0 32-7-9-142-9-190 0-122 27-180 64-137 172-198t264-63z\"/></svg>"},{"name":"font-awesome/snapchat-square","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"snapchat-square\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1280 1148q0-22-22-27-67-14-118-58t-80-109q-7-14-7-25 0-15 19.5-26t42.5-17 42.5-20.5T1177 829q0-19-18.5-31.5T1120 785q-11 0-31 8t-32 8q-4 0-12-2 5-63 5-115 0-78-17-114-36-78-102.5-121.5T778 405q-198 0-275 165-18 38-18 115 0 38 6 114-10 2-15 2-11 0-31.5-8t-30.5-8q-20 0-37.5 12.5T359 830q0 21 19.5 35.5T421 886t42.5 17 19.5 26q0 11-7 25-64 138-198 167-22 5-22 27 0 47 138 69 2 5 6 26t11 30.5 23 9.5q13 0 38.5-5t38.5-5q35 0 67.5 15t54.5 32.5 57.5 32.5 76.5 15q43 0 79-15t57.5-32.5 54-32.5 67.5-15q13 0 39 4.5t39 4.5q15 0 22.5-9.5t11.5-31 5-24.5q138-22 138-69zm256-732v960q0 119-84.5 203.5T1248 1664H288q-119 0-203.5-84.5T0 1376V416q0-119 84.5-203.5T288 128h960q119 0 203.5 84.5T1536 416z\"/></svg>"},{"name":"font-awesome/pied-piper","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"pied-piper\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M2304 0q-69 46-125 92t-89 81-59.5 71.5T1993 302t-22 44.5-14 29.5q-10 18-35.5 136.5T1873 677q-15 29-50 60.5t-67.5 50.5-72.5 41-48 28q-47 31-151 231-341-14-630 158-92 53-303 179 47-16 86-31t55-22l15-7q71-27 163-64.5t133.5-53.5 108-34.5T1254 1181q186-31 465 7 1 0 10 3 11 6 14 17t-3 22l-194 345q-15 29-47 22-128-24-354-24-146 0-402 44.5T351 1664q-82 1-149-13t-107-37-61-40-33-34l-1-1v-2q0-6 6-6 138 0 371-55 192-366 374.5-524T1135 794q5 0 14.5.5t38 5 55 12T1304 836t63 39.5 54 59 40 82.5l102-177q2-4 21-42.5t44.5-86.5 61-109.5 84-133.5T1874 331q66-82 128-141.5T2123.5 93t92.5-53.5T2304 0z\"/></svg>"},{"name":"font-awesome/first-order","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"first-order\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1322 896q0 45-5 76l-236-14 224 78q-19 73-58 141l-214-103 177 158q-44 61-107 108l-157-178 103 215q-61 37-140 59l-79-228 14 240q-38 6-76 6t-76-6l14-238-78 226q-74-19-140-59l103-215-157 178q-59-43-108-108l178-158-214 104q-39-69-58-141l224-79-237 14q-5-42-5-76 0-35 5-77l238 14-225-79q19-73 58-140l214 104-177-159q46-61 107-108l158 178-103-215q67-39 140-58l77 224-13-236q36-6 75-6 38 0 76 6l-14 237 78-225q74 19 140 59L945 629l158-178q61 47 107 108l-177 159 213-104q37 62 58 141l-224 78 237-14q5 31 5 77zm30 0q0-160-78.5-295.5t-213-214T768 308q-119 0-227 46.5t-186.5 125T230 667t-46 229q0 119 46 228t124.5 187.5 186.5 125 227 46.5q158 0 292.5-78.5t213-214T1352 896zm73-383v766l-657 383-657-383V513l657-383zM768 1719l708-412V484L768 73 60 484v823zm768-1271v896l-768 448L0 1344V448L768 0z\"/></svg>"},{"name":"font-awesome/yoast","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"yoast\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M339 218h691l-26 72H339q-110 0-188.5 79T72 558v771q0 95 60.5 169.5T286 1592q23 5 98 5v72h-45q-140 0-239.5-100T0 1329V558q0-140 99.5-240T339 218zM1190 0h247L955 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L395 471h228l187 585zm474 558v1111H869q37-55 45-73h678V558q0-85-49.5-155T1413 304l25-67q101 34 163.5 123.5T1664 558z\"/></svg>"},{"name":"font-awesome/themeisle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"themeisle\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M852 309q0 29-17 52.5T790 385t-45-23.5-17-52.5 17-52.5 45-23.5 45 23.5 17 52.5zM688 1685v-114q0-30-20.5-51.5T617 1498t-50 21.5-20 51.5v114q0 30 20.5 52t49.5 22q30 0 50.5-22t20.5-52zm172 0v-114q0-30-20-51.5t-50-21.5-50.5 21.5T719 1571v114q0 30 20.5 52t50.5 22q29 0 49.5-22t20.5-52zm174 0v-114q0-30-20.5-51.5T963 1498t-50.5 21.5T892 1571v114q0 30 20.5 52t50.5 22 50.5-22 20.5-52zm174 0v-114q0-30-20.5-51.5T1137 1498t-50.5 21.5-20.5 51.5v114q0 30 20.5 52t50.5 22 50.5-22 20.5-52zm268-684q-84 160-232 259.5T921 1360q-123 0-229.5-51.5t-178.5-137T400 974t-41-232q0-88 21-174-104 175-104 390 0 162 65 312t185 251q30-57 91-57 56 0 86 50 32-50 87-50 56 0 86 50 32-50 87-50t87 50q30-50 86-50 28 0 52.5 15.5t37.5 40.5q112-94 177-231.5t73-287.5zm-150-29q0-75-72-75-17 0-47 6-95 19-149 19-226 0-226-243 0-86 30-204-83 127-83 275 0 150 89 260.5t235 110.5q111 0 210-70 13-48 13-79zM884 313q0-50-32-89.5T771 184t-81 39.5-32 89.5q0 51 31.5 90.5T771 443t81.5-39.5T884 313zm629 339q0-96-37.5-179t-113-137-173.5-54q-77 0-149 35t-127 94q-48 159-48 268 0 104 45.5 157t147.5 53q53 0 142-19 36-6 53-6 51 0 77.5 28t26.5 80q0 26-4 46 75-68 117.5-165.5T1513 652zm279 217q0 111-33.5 249.5T1665 1323q-58 64-195 142.5T1242 1570l-4 1v114q0 43-29.5 75t-72.5 32q-56 0-86-50-32 50-87 50t-87-50q-30 50-86 50-55 0-87-50-30 50-86 50-47 0-75-33.5t-28-81.5q-90 68-198 68-118 0-211-80 54-1 106-20-113-31-182-127 32 7 71 7 89 0 164-46-192-192-240-306-24-56-24-160 0-57 9-125.5T40.5 741t55-141T182 495t120-42q59 0 81 52 19-29 42-54 2-3 12-13t13-16q10-15 23-38t25-42 28-39q87-111 211.5-177T998 60q35 0 62 4 59-64 146-64 83 0 140 57 5 5 5 12 0 5-6 13.5t-12.5 16-16 17L1306 126q17 6 36 18t19 24q0 6-16 25 157 138 197 378 25-30 60-30 45 0 100 49 90 80 90 279z\"/></svg>"},{"name":"font-awesome/google-plus-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"google-plus-circle\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M917 905q0-33-6-64H549v132h217q-12 76-74.5 120.5T549 1138q-99 0-169-71.5T310 896t70-170.5T549 654q93 0 153 59l104-101Q698 512 549 512q-160 0-272 112.5T165 896t112 271.5T549 1280q165 0 266.5-105T917 905zm345 46h109V841h-109V731h-110v110h-110v110h110v110h110V951zm274-55q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/google-plus-official","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"google-plus-official\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M917 905q0-33-6-64H549v132h217q-12 76-74.5 120.5T549 1138q-99 0-169-71.5T310 896t70-170.5T549 654q93 0 153 59l104-101Q698 512 549 512q-160 0-272 112.5T165 896t112 271.5T549 1280q165 0 266.5-105T917 905zm345 46h109V841h-109V731h-110v110h-110v110h110v110h110V951zm274-55q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z\"/></svg>"},{"name":"font-awesome/fa","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"fa\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 512v839q0 48-49 62-174 52-338 52-73 0-215.5-29.5T706 1406q-164 0-370 48v338H176V424q-63-25-101-81T37 219q0-91 64-155T256 0t155 64 64 155q0 68-38 124t-101 81v68q190-44 343-44 99 0 198 15 14 2 111.5 22.5T1138 506q77 0 165-18 11-2 80-21t89-19q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/font-awesome","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"font-awesome\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1536 512v839q0 48-49 62-174 52-338 52-73 0-215.5-29.5T706 1406q-164 0-370 48v338H176V424q-63-25-101-81T37 219q0-91 64-155T256 0t155 64 64 155q0 68-38 124t-101 81v68q190-44 343-44 99 0 198 15 14 2 111.5 22.5T1138 506q77 0 165-18 11-2 80-21t89-19q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/handshake-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"handshake-o\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M192 1152q40 0 56-32t0-64-56-32-56 32 0 64 56 32zm1473-58q-10-13-38.5-50t-41.5-54-38-49-42.5-53-40.5-47-45-49l-125 140q-83 94-208.5 92T880 926q-57-69-56.5-158T882 611l177-206q-22-11-51-16.5t-47.5-6-56.5.5-49 1q-92 0-158 66L539 608H384v544q5 0 21-.5t22 0 19.5 2 20.5 4.5 17.5 8.5T503 1180l297 292q115 111 227 111 78 0 125-47 57 20 112.5-8t72.5-85q74 6 127-44 20-18 36-45.5t14-50.5q10 10 43 10 43 0 77-21t49.5-53 12-71.5-30.5-73.5zm159 58h96V640h-93l-157-180q-66-76-169-76h-167q-89 0-146 67L979 694q-28 33-28 75t27 75q43 51 110 52t111-49l193-218q25-23 53.5-21.5t47 27 8.5 56.5q16 19 56 63t60 68q29 36 82.5 105.5t64.5 84.5q52 66 60 140zm288 0q40 0 56-32t0-64-56-32-56 32 0 64 56 32zm192-576v640q0 26-19 45t-45 19h-434q-27 65-82 106.5t-125 51.5q-33 48-80.5 81.5T1416 1565q-42 53-104.5 81.5T1183 1671q-60 34-126 39.5t-127.5-14-117-53.5-103.5-81l-287-282H64q-26 0-45-19t-19-45V544q0-26 19-45t45-19h421q14-14 47-48t47.5-48 44-40 50.5-37.5 51-25.5 62-19.5 68-5.5h117q99 0 181 56 82-56 181-56h167q35 0 67 6t56.5 14.5T1676 303t44.5 31 43 39.5 39 42 41 48T1885 512h355q26 0 45 19t19 45z\"/></svg>"},{"name":"font-awesome/envelope-open","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"envelope-open\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 654v978q0 66-47 113t-113 47H160q-66 0-113-47T0 1632V654q0-15 11-24 8-7 39-34.5t41.5-36T137 522t70-55.5 96-73 143.5-107T639 146q5-4 52.5-40T763 53.5t64-35T896 0t69 18.5 65 35.5 71 52 52 40q110 80 192.5 140.5t143.5 107 96 73 70 55.5 45.5 37.5 41.5 36 39 34.5q11 9 11 24zm-564 585q263-191 345-252 11-8 12.5-20.5T1579 943l-38-52q-8-11-21-12.5t-24 6.5q-231 169-343 250-5 3-52 39t-71.5 52.5-64.5 35-69 18.5-69-18.5-64.5-35T691 1174t-52-39q-186-134-343-250-11-8-24-6.5T251 891l-38 52q-8 11-6.5 23.5T219 987q82 61 345 252 10 8 50 38t65 47 64 39.5 77.5 33.5 75.5 11 75.5-11 79-34.5 64.5-39.5 65-47.5 48-36.5z\"/></svg>"},{"name":"font-awesome/envelope-open-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"envelope-open-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1474 913l39 51q8 11 6.5 23.5T1508 1008q-43 34-126.5 98.5t-146.5 113-67 51.5q-39 32-60 48t-60.5 41-76.5 36.5-74 11.5h-2q-37 0-74-11.5t-76-36.5-61-41.5-60-47.5q-5-4-65-50.5t-143.5-111T293 1015q-11-8-12.5-20.5T287 971l37-52q8-11 21.5-13t24.5 7q94 73 306 236 5 4 43.5 35t60.5 46.5 56.5 32.5 58.5 17h2q24 0 58.5-17t56.5-32.5 60.5-46.5 43.5-35q258-198 313-242 11-8 24-6.5t21 12.5zm190 719V704q-90-83-159-139-91-74-389-304-3-2-43-35t-61-48-56-32.5-59-17.5h-2q-24 0-59 17.5T780 178t-61 48-43 35Q461 427 360.5 506.5T231 610.5 149 685q-14 12-21 19v928q0 13 9.5 22.5t22.5 9.5h1472q13 0 22.5-9.5t9.5-22.5zm128-928v928q0 66-47 113t-113 47H160q-66 0-113-47T0 1632V704q0-56 41-94 123-114 350-290.5T624 138q36-30 59-47.5t61.5-42 76-36.5T895 0h2q37 0 74.5 12t76 36.5 61.5 42 59 47.5q43 36 156 122t226 177 201 173q41 38 41 94z\"/></svg>"},{"name":"font-awesome/linode","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"linode\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M330 1535l202 214-34-236-216-213zm226 226l274-218-11-245-300 215zm-311-638l227 213-48-327-245-204zm250 224l317-214-14-324-352 200zm348 11l95 80-2-239-103-79q0 1 1 8.5t0 12-5 7.5l-78 52 85 70q7 6 7 88zM138 606l256 200-68-465L47 168zm1035 663l15-234-230 164 2 240zM417 814l373-194-19-441-423 163zm853 365l20-233-226-142-2 105 144 95q6 4 4 9l-7 119zm191-139l30-222-179 128-20 228zm-188 167l-71-49-8 117q0 5-4 8l-234 187q-7 5-14 0l-98-83 7 161q0 5-4 8l-293 234q-4 2-6 2-8-2-8-3l-228-242q-4-4-59-277-2-7 5-11l61-37q-94-86-95-92l-72-351q-2-7 6-12l94-45Q119 622 117 614L21 148q-2-10 7-13L461 0q5 0 8 1l317 153q6 4 6 9l20 463q0 7-6 10l-118 61 126 85q5 2 5 8l5 123 121-74q5-4 11 0l84 56 3-110q0-6 5-9l206-126q6-3 11 0l245 135q4 4 5 7t-6.5 60-17.5 124.5-10 70.5q0 5-4 7l-191 153q-6 5-13 0z\"/></svg>"},{"name":"font-awesome/address-book","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"address-book\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1201 1238q0-57-5.5-107t-21-100.5-39.5-86-64-58-91-22.5q-6 4-33.5 20.5T904 909t-40.5 20-49 17-46.5 5-46.5-5-49-17-40.5-20-42.5-24.5T556 864q-51 0-91 22.5t-64 58-39.5 86-21 100.5-5.5 107q0 73 42 121.5t103 48.5h576q61 0 103-48.5t42-121.5zm-173-594q0-108-76.5-184T768 384t-183.5 76T508 644q0 107 76.5 183T768 903t183.5-76 76.5-183zm636 540v192q0 14-9 23t-23 9h-96v224q0 66-47 113t-113 47H160q-66 0-113-47T0 1632V160Q0 94 47 47T160 0h1216q66 0 113 47t47 113v224h96q14 0 23 9t9 23v192q0 14-9 23t-23 9h-96v128h96q14 0 23 9t9 23v192q0 14-9 23t-23 9h-96v128h96q14 0 23 9t9 23z\"/></svg>"},{"name":"font-awesome/address-book-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"address-book-o\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1028 644q0 107-76.5 183T768 903t-183.5-76T508 644q0-108 76.5-184T768 384t183.5 76 76.5 184zm-48 220q46 0 82.5 17t60 47.5 39.5 67 24 81 11.5 82.5 3.5 79q0 67-39.5 118.5T1056 1408H480q-66 0-105.5-51.5T335 1238q0-48 4.5-93.5T358 1046t36.5-91.5 63-64.5 93.5-26h5q7 4 32 19.5t35.5 21 33 17 37 16 35 9T768 951t39.5-4.5 35-9 37-16 33-17 35.5-21 32-19.5zm684-256q0 13-9.5 22.5T1632 640h-96v128h96q13 0 22.5 9.5t9.5 22.5v192q0 13-9.5 22.5t-22.5 9.5h-96v128h96q13 0 22.5 9.5t9.5 22.5v192q0 13-9.5 22.5t-22.5 9.5h-96v224q0 66-47 113t-113 47H160q-66 0-113-47T0 1632V160Q0 94 47 47T160 0h1216q66 0 113 47t47 113v224h96q13 0 22.5 9.5t9.5 22.5v192zm-256 1024V160q0-13-9.5-22.5T1376 128H160q-13 0-22.5 9.5T128 160v1472q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5-9.5t9.5-22.5z\"/></svg>"},{"name":"font-awesome/vcard","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"vcard\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1024 1131q0-64-9-117.5t-29.5-103-60.5-78-97-28.5q-6 4-30 18t-37.5 21.5T725 861t-43 14.5-42 4.5-42-4.5-43-14.5-35.5-17.5T482 822t-30-18q-57 0-97 28.5t-60.5 78-29.5 103-9 117.5 37 106.5 91 42.5h512q54 0 91-42.5t37-106.5zM867 611q0-94-66.5-160.5T640 384t-160.5 66.5T413 611t66.5 160.5T640 838t160.5-66.5T867 611zm925 509v-64q0-14-9-23t-23-9h-576q-14 0-23 9t-9 23v64q0 14 9 23t23 9h576q14 0 23-9t9-23zm0-260v-56q0-15-10.5-25.5T1756 768h-568q-15 0-25.5 10.5T1152 804v56q0 15 10.5 25.5T1188 896h568q15 0 25.5-10.5T1792 860zm0-252v-64q0-14-9-23t-23-9h-576q-14 0-23 9t-9 23v64q0 14 9 23t23 9h576q14 0 23-9t9-23zm256-320v1216q0 66-47 113t-113 47h-352v-96q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v96H640v-96q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v96H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1728q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/address-card","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"address-card\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1024 1131q0-64-9-117.5t-29.5-103-60.5-78-97-28.5q-6 4-30 18t-37.5 21.5T725 861t-43 14.5-42 4.5-42-4.5-43-14.5-35.5-17.5T482 822t-30-18q-57 0-97 28.5t-60.5 78-29.5 103-9 117.5 37 106.5 91 42.5h512q54 0 91-42.5t37-106.5zM867 611q0-94-66.5-160.5T640 384t-160.5 66.5T413 611t66.5 160.5T640 838t160.5-66.5T867 611zm925 509v-64q0-14-9-23t-23-9h-576q-14 0-23 9t-9 23v64q0 14 9 23t23 9h576q14 0 23-9t9-23zm0-260v-56q0-15-10.5-25.5T1756 768h-568q-15 0-25.5 10.5T1152 804v56q0 15 10.5 25.5T1188 896h568q15 0 25.5-10.5T1792 860zm0-252v-64q0-14-9-23t-23-9h-576q-14 0-23 9t-9 23v64q0 14 9 23t23 9h576q14 0 23-9t9-23zm256-320v1216q0 66-47 113t-113 47h-352v-96q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v96H640v-96q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v96H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1728q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/vcard-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"vcard-o\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1024 1131q0 64-37 106.5t-91 42.5H384q-54 0-91-42.5T256 1131t9-117.5 29.5-103 60.5-78 97-28.5q6 4 30 18t37.5 21.5T555 861t43 14.5 42 4.5 42-4.5 43-14.5 35.5-17.5T798 822t30-18q57 0 97 28.5t60.5 78 29.5 103 9 117.5zM867 611q0 94-66.5 160.5T640 838t-160.5-66.5T413 611t66.5-160.5T640 384t160.5 66.5T867 611zm925 445v64q0 14-9 23t-23 9h-576q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h576q14 0 23 9t9 23zm0-252v56q0 15-10.5 25.5T1756 896h-568q-15 0-25.5-10.5T1152 860v-56q0-15 10.5-25.5T1188 768h568q15 0 25.5 10.5T1792 804zm0-260v64q0 14-9 23t-23 9h-576q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h576q14 0 23 9t9 23zm128 960V288q0-13-9.5-22.5T1888 256H160q-13 0-22.5 9.5T128 288v1216q0 13 9.5 22.5t22.5 9.5h352v-96q0-14 9-23t23-9h64q14 0 23 9t9 23v96h768v-96q0-14 9-23t23-9h64q14 0 23 9t9 23v96h352q13 0 22.5-9.5t9.5-22.5zm128-1216v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1728q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/address-card-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"address-card-o\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M1024 1131q0 64-37 106.5t-91 42.5H384q-54 0-91-42.5T256 1131t9-117.5 29.5-103 60.5-78 97-28.5q6 4 30 18t37.5 21.5T555 861t43 14.5 42 4.5 42-4.5 43-14.5 35.5-17.5T798 822t30-18q57 0 97 28.5t60.5 78 29.5 103 9 117.5zM867 611q0 94-66.5 160.5T640 838t-160.5-66.5T413 611t66.5-160.5T640 384t160.5 66.5T867 611zm925 445v64q0 14-9 23t-23 9h-576q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h576q14 0 23 9t9 23zm0-252v56q0 15-10.5 25.5T1756 896h-568q-15 0-25.5-10.5T1152 860v-56q0-15 10.5-25.5T1188 768h568q15 0 25.5 10.5T1792 804zm0-260v64q0 14-9 23t-23 9h-576q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h576q14 0 23 9t9 23zm128 960V288q0-13-9.5-22.5T1888 256H160q-13 0-22.5 9.5T128 288v1216q0 13 9.5 22.5t22.5 9.5h352v-96q0-14 9-23t23-9h64q14 0 23 9t9 23v96h768v-96q0-14 9-23t23-9h64q14 0 23 9t9 23v96h352q13 0 22.5-9.5t9.5-22.5zm128-1216v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1728q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/user-circle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"user-circle\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1523 1339q-22-155-87.5-257.5T1251 963q-67 74-159.5 115.5T896 1120t-195.5-41.5T541 963q-119 16-184.5 118.5T269 1339q106 150 271 237.5t356 87.5 356-87.5 271-237.5zm-243-699q0-159-112.5-271.5T896 256 624.5 368.5 512 640t112.5 271.5T896 1024t271.5-112.5T1280 640zm512 256q0 182-71 347.5t-190.5 286T1245 1721t-349 71q-182 0-348-71t-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/user-circle-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"user-circle-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M896 0q182 0 348 71t286 191 191 286 71 348q0 181-70.5 347T1531 1529t-286 191.5-349 71.5-349-71-285.5-191.5-190.5-286T0 896t71-348 191-286T548 71 896 0zm619 1351q149-205 149-455 0-156-61-298t-164-245-245-164-298-61-298 61-245 164-164 245-61 298q0 250 149 455 66-327 306-327 131 128 313 128t313-128q240 0 306 327zm-235-647q0-159-112.5-271.5T896 320 624.5 432.5 512 704t112.5 271.5T896 1088t271.5-112.5T1280 704z\"/></svg>"},{"name":"font-awesome/user-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"user-o\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M1201 784q47 14 89.5 38t89 73 79.5 115.5 55 172 22 236.5q0 154-100 263.5T1195 1792H341q-141 0-241-109.5T0 1419q0-131 22-236.5t55-172T156.5 895t89-73 89.5-38q-79-125-79-272 0-104 40.5-198.5T406 150 569.5 40.5 768 0t198.5 40.5T1130 150t109.5 163.5T1280 512q0 147-79 272zM768 128q-159 0-271.5 112.5T384 512t112.5 271.5T768 896t271.5-112.5T1152 512t-112.5-271.5T768 128zm427 1536q88 0 150.5-71.5T1408 1419q0-239-78.5-377T1104 897q-145 127-336 127T432 897q-147 7-225.5 145T128 1419q0 102 62.5 173.5T341 1664h854z\"/></svg>"},{"name":"font-awesome/id-badge","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"id-badge\" viewBox=\"0 0 1442.859 1896.0833\"><path d=\"M1024 1258q0 64-37 107t-91 43H384q-54 0-91-43t-37-107 9-118 29.5-104 61-78.5T452 929q80 75 188 75t188-75q56 0 96.5 28.5t61 78.5 29.5 104 9 118zM870 739q0 94-67.5 160.5T640 966t-162.5-66.5T410 739t67.5-160.5T640 512t162.5 66.5T870 739zm282 893V256H128v1376q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5-9.5t9.5-22.5zm128-1472v1472q0 66-47 113t-113 47H160q-66 0-113-47T0 1632V160Q0 94 47 47T160 0h352v96q0 14 9 23t23 9h192q14 0 23-9t9-23V0h352q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/drivers-license","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"drivers-license\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M896 1212q0-54-7.5-100.5t-24.5-90-51-68.5-81-25q-64 64-156 64t-156-64q-47 0-81 25t-51 68.5-24.5 90T256 1212q0 55 31.5 93.5T363 1344h426q44 0 75.5-38.5T896 1212zM768 768q0-80-56-136t-136-56-136 56-56 136 56 136 136 56 136-56 56-136zm1024 480v-64q0-14-9-23t-23-9h-704q-14 0-23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23-9t9-23zm-384-256v-64q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v64q0 14 9 23t23 9h320q14 0 23-9t9-23zm384 0v-64q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v64q0 14 9 23t23 9h192q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-704q-14 0-23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23-9t9-23zM128 384h1792v-96q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v96zm1920-96v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1728q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/id-card","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"id-card\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M896 1212q0-54-7.5-100.5t-24.5-90-51-68.5-81-25q-64 64-156 64t-156-64q-47 0-81 25t-51 68.5-24.5 90T256 1212q0 55 31.5 93.5T363 1344h426q44 0 75.5-38.5T896 1212zM768 768q0-80-56-136t-136-56-136 56-56 136 56 136 136 56 136-56 56-136zm1024 480v-64q0-14-9-23t-23-9h-704q-14 0-23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23-9t9-23zm-384-256v-64q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v64q0 14 9 23t23 9h320q14 0 23-9t9-23zm384 0v-64q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v64q0 14 9 23t23 9h192q14 0 23-9t9-23zm0-256v-64q0-14-9-23t-23-9h-704q-14 0-23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23-9t9-23zM128 384h1792v-96q0-14-9-23t-23-9H160q-14 0-23 9t-9 23v96zm1920-96v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1728q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/drivers-license-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"drivers-license-o\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M896 1212q0 55-31.5 93.5T789 1344H363q-44 0-75.5-38.5T256 1212q0-54 7.5-100.5t24.5-90 51-68.5 81-25q64 64 156 64t156-64q47 0 81 25t51 68.5 24.5 90T896 1212zM768 768q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 416v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704q14 0 23 9t9 23zm-384-256v64q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h320q14 0 23 9t9 23zm384 0v64q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h192q14 0 23 9t9 23zm0-256v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704q14 0 23 9t9 23zm128 832V384H128v1120q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5-9.5t9.5-22.5zm128-1216v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1728q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/id-card-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"id-card-o\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M896 1212q0 55-31.5 93.5T789 1344H363q-44 0-75.5-38.5T256 1212q0-54 7.5-100.5t24.5-90 51-68.5 81-25q64 64 156 64t156-64q47 0 81 25t51 68.5 24.5 90T896 1212zM768 768q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 416v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704q14 0 23 9t9 23zm-384-256v64q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h320q14 0 23 9t9 23zm384 0v64q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h192q14 0 23 9t9 23zm0-256v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704q14 0 23 9t9 23zm128 832V384H128v1120q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5-9.5t9.5-22.5zm128-1216v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1728q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/quora","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"quora\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1255 787q0-318-105-474.5T820 156q-222 0-326 157T390 787q0 316 104 471.5T820 1414q74 0 131-17-22-43-39-73t-44-65-53.5-56.5-63-36T674 1152q-46 0-79 16l-49-97q105-91 276-91 132 0 215.5 54t150.5 155q67-149 67-402zm390 632h117q3 27-2 67t-26.5 95-58 100.5-107 78T1406 1792q-71 0-130.5-19t-105.5-56-79-78-66-96q-97 27-205 27-150 0-292.5-58t-253-158.5-178-249T29 787q0-170 67.5-319.5T275 217 528.5 58 820 0q121 0 238.5 36t217 106 176 164.5 119.5 219 43 261.5q0 190-80.5 347.5T1315 1399q47 70 93.5 106.5T1513 1542q61 0 94-37.5t38-85.5z\"/></svg>"},{"name":"font-awesome/free-code-camp","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"free-code-camp\" viewBox=\"0 0 2304 1896.0833\"><path d=\"M453 1637q0 21-16 37.5t-37 16.5q-1 0-13-3-63-15-162-140Q0 1264 0 872q0-341 213-614 39-51 95-103.5t94-52.5q19 0 35 13.5t16 32.5q0 27-63 90-98 102-147 184-119 199-119 449 0 281 123 491 50 85 136 173 2 3 14.5 16t19.5 21 17 20.5 14.5 23.5 4.5 21zm1343-134q0 29-17.5 48.5T1732 1571H651q-26 0-45-19t-19-45q0-29 17.5-48.5T651 1439h1081q26 0 45 19t19 45zm-215-611q0 134-67 233-25 38-69.5 78.5T1361 1264q-16 10-27 10-7 0-15-6t-8-12q0-9 19-30t42-46 42-67.5 19-88.5q0-76-35-130-29-42-46-42-3 0-3 5 0 12 7.5 35.5t7.5 36.5q0 22-21.5 35t-44.5 13q-66 0-66-76 0-15 1.5-44t1.5-44q0-25-10-46-13-25-42-53.5t-51-28.5q-5 0-7 .5t-3.5 2.5-1.5 6q0 2 16 26t16 54q0 37-19 68t-46 54-53.5 46-45.5 54-19 68q0 98 42 160 29 43 79 63 16 5 17 10 1 2 1 5 0 16-18 16-6 0-33-11-119-43-195-139.5T786 949q0-55 24.5-115.5t60-115T941 610t59.5-113.5T1025 385q0-53-25-94-29-48-56-64-19-9-19-21 0-20 41-20 50 0 110 29 41 19 71 44.5t49.5 51T1230 373t22 69 16 80q0 1 3 17.5t4.5 25 5.5 25 9 27 11 21.5 14.5 16.5 18.5 5.5q23 0 37-14t14-37q0-25-20-67t-20-52 10-10q27 0 93 70 72 76 102.5 156t30.5 186zm723 29q0 274-138 503-19 32-48 72t-68 86.5-81 77-74 30.5q-16 0-31-15.5t-15-31.5q0-15 29-50.5t68.5-77 48.5-52.5q183-230 183-531 0-131-20.5-235T2085 486q-58-119-163-228-2-3-13-13.5t-16.5-16.5-15-17.5-15-20-9.5-18.5-4-19q0-19 16-35.5t35-16.5q70 0 196 169 98 131 146 273t60 314q2 42 2 64z\"/></svg>"},{"name":"font-awesome/telegram","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"telegram\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1189 1307l147-693q9-44-10.5-63t-51.5-7L410 877q-29 11-39.5 25t-2.5 26.5 32 19.5l221 69 513-323q21-14 32-6 7 5-4 15l-415 375-16 228q23 0 45-22l108-104 224 165q64 36 81-38zm603-411q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/thermometer-4","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer-4\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-60 35-110t93-71V256h128v907q58 21 93 71t35 110zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/thermometer","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-60 35-110t93-71V256h128v907q58 21 93 71t35 110zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/thermometer-full","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer-full\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-60 35-110t93-71V256h128v907q58 21 93 71t35 110zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/thermometer-3","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer-3\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-60 35-110t93-71V512h128v651q58 21 93 71t35 110zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/thermometer-three-quarters","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer-three-quarters\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-60 35-110t93-71V512h128v651q58 21 93 71t35 110zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/thermometer-2","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer-2\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-60 35-110t93-71V768h128v395q58 21 93 71t35 110zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/thermometer-half","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer-half\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-60 35-110t93-71V768h128v395q58 21 93 71t35 110zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/thermometer-1","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer-1\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-60 35-110t93-71v-139h128v139q58 21 93 71t35 110zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/thermometer-quarter","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer-quarter\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-60 35-110t93-71v-139h128v139q58 21 93 71t35 110zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/thermometer-0","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer-0\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-79 56-135.5t136-56.5 136 56.5 56 135.5zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/thermometer-empty","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"thermometer-empty\" viewBox=\"0 0 1115.0285 1896.0833\"><path d=\"M640 1344q0 80-56 136t-136 56-136-56-56-136q0-79 56-135.5t136-56.5 136 56.5 56 135.5zm128 0q0-77-34-144t-94-112V320q0-80-56-136t-136-56-136 56-56 136v768q-60 45-94 112t-34 144q0 133 93.5 226.5T448 1664t226.5-93.5T768 1344zm128 0q0 185-131.5 316.5T448 1792t-316.5-131.5T0 1344q0-182 128-313V320q0-133 93.5-226.5T448 0t226.5 93.5T768 320v711q128 131 128 313zm128-576v128H832V768h192zm0-256v128H832V512h192zm0-256v128H832V256h192z\"/></svg>"},{"name":"font-awesome/shower","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"shower\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1433 249q10 10 10 23t-10 23L807 921q-10 10-23 10t-23-10l-82-82q-10-10-10-23t10-23l44-44q-72-91-81.5-207T688 327q-74-71-176-71-106 0-181 75t-75 181v1280H0V512q0-104 40.5-198.5T150 150 313.5 40.5 512 0q106 0 201 41t166 115q94-39 197-24.5t185 79.5l44-44q10-10 23-10t23 10zm-89 263q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm256 128q-26 0-45-19t-19-45 19-45 45-19 45 19 19 45-19 45-45 19zm256-128q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm-640 128q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm192 64q0-26 19-45t45-19 45 19 19 45-19 45-45 19-45-19-19-45zm320-64q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm-640 128q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm256 128q-26 0-45-19t-19-45 19-45 45-19 45 19 19 45-19 45-45 19zm256-128q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm-384 256q-26 0-45-19t-19-45 19-45 45-19 45 19 19 45-19 45-45 19zm256-128q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm-384 128q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm256 0q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm-128 128q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm-128 128q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19z\"/></svg>"},{"name":"font-awesome/bathtub","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bathtub\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1664 1088v192q0 169-128 286v194q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-118q-63 22-128 22H512q-65 0-128-22v110q0 17-9.5 28.5T352 1792h-64q-13 0-22.5-11.5T256 1752v-186q-128-117-128-286v-192h1536zM704 672q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm128 0q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm1088 512v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96V256q0-106 75-181T384 0q108 0 184 78 46-19 98-12t93 39l22-22q11-11 22 0l42 42q11 11 0 22L531 461q-11 11-22 0l-42-42q-11-11 0-22l22-22q-36-46-40.5-104T472 163q-37-35-88-35-53 0-90.5 37.5T256 256v640h1504q14 0 23 9t9 23zM896 480q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm192 64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm192 64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm128 0q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23z\"/></svg>"},{"name":"font-awesome/s15","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"s15\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1664 1088v192q0 169-128 286v194q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-118q-63 22-128 22H512q-65 0-128-22v110q0 17-9.5 28.5T352 1792h-64q-13 0-22.5-11.5T256 1752v-186q-128-117-128-286v-192h1536zM704 672q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm128 0q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm1088 512v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96V256q0-106 75-181T384 0q108 0 184 78 46-19 98-12t93 39l22-22q11-11 22 0l42 42q11 11 0 22L531 461q-11 11-22 0l-42-42q-11-11 0-22l22-22q-36-46-40.5-104T472 163q-37-35-88-35-53 0-90.5 37.5T256 256v640h1504q14 0 23 9t9 23zM896 480q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm192 64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm192 64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm128 0q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23z\"/></svg>"},{"name":"font-awesome/bath","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bath\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1664 1088v192q0 169-128 286v194q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-118q-63 22-128 22H512q-65 0-128-22v110q0 17-9.5 28.5T352 1792h-64q-13 0-22.5-11.5T256 1752v-186q-128-117-128-286v-192h1536zM704 672q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm128 0q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm1088 512v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h96V256q0-106 75-181T384 0q108 0 184 78 46-19 98-12t93 39l22-22q11-11 22 0l42 42q11 11 0 22L531 461q-11 11-22 0l-42-42q-11-11 0-22l22-22q-36-46-40.5-104T472 163q-37-35-88-35-53 0-90.5 37.5T256 256v640h1504q14 0 23 9t9 23zM896 480q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm192 64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm192 64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm-64-64q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23zm128 0q0 14-9 23t-23 9-23-9-9-23 9-23 23-9 23 9 9 23z\"/></svg>"},{"name":"font-awesome/podcast","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"podcast\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M994 1192q0 86-17 197-31 215-55 313-22 90-152 90t-152-90q-24-98-55-313-17-110-17-197 0-168 224-168t224 168zm542-424q0 240-134 434t-350 280q-8 3-15-3t-6-15q7-48 10-66 4-32 6-47 1-9 9-12 159-81 255.5-234t96.5-337q0-180-91-330.5T1070 203t-337-74q-124 7-237 61T302.5 330.5t-128 202T128 773q1 184 99 336.5T484 1341q7 3 9 12 3 21 6 45 1 9 5 32.5t6 35.5q1 9-6.5 15t-15.5 2q-148-58-261-169.5t-173.5-264T1 730q7-143 66-273.5t154.5-227T446.5 72 719 2q164-10 315.5 46.5t261 160.5 175 250.5T1536 768zm-542-32q0 93-65.5 158.5T770 960t-158.5-65.5T546 736t65.5-158.5T770 512t158.5 65.5T994 736zm288 32q0 122-53.5 228.5T1082 1174q-8 6-16 2t-10-14q-6-52-29-92-7-10 3-20 58-54 91-127t33-155q0-111-58.5-204T938 422.5 726 386q-133 15-229 113T388 730q-10 92 23.5 176t98.5 144q10 10 3 20-24 41-29 93-2 9-10 13t-16-2q-95-74-148.5-183T258 757q3-131 69-244t177-181.5T745 257q144-7 268 60t196.5 187.5T1282 768z\"/></svg>"},{"name":"font-awesome/window-maximize","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"window-maximize\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M256 1408h1280V640H256v768zM1792 288v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1472q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/window-minimize","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"window-minimize\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1792 1312v192q0 66-47 113t-113 47H160q-66 0-113-47T0 1504v-192q0-66 47-113t113-47h1472q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/window-restore","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"window-restore\" viewBox=\"0 0 2048 1896.0833\"><path d=\"M256 1536h768v-512H256v512zm1024-512h512V256h-768v256h96q66 0 113 47t47 113v352zm768-864v960q0 66-47 113t-113 47h-608v352q0 66-47 113t-113 47H160q-66 0-113-47T0 1632V672q0-66 47-113t113-47h608V160q0-66 47-113T928 0h960q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/times-rectangle","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"times-rectangle\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1175 1321l146-146q10-10 10-23t-10-23l-233-233 233-233q10-10 10-23t-10-23l-146-146q-10-10-23-10t-23 10L896 704 663 471q-10-10-23-10t-23 10L471 617q-10 10-10 23t10 23l233 233-233 233q-10 10-10 23t10 23l146 146q10 10 23 10t23-10l233-233 233 233q10 10 23 10t23-10zm617-1033v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1472q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/window-close","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"window-close\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1175 1321l146-146q10-10 10-23t-10-23l-233-233 233-233q10-10 10-23t-10-23l-146-146q-10-10-23-10t-23 10L896 704 663 471q-10-10-23-10t-23 10L471 617q-10 10-10 23t10 23l233 233-233 233q-10 10-10 23t10 23l146 146q10 10 23 10t23-10l233-233 233 233q10 10 23 10t23-10zm617-1033v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1472q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/times-rectangle-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"times-rectangle-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1257 1111l-146 146q-10 10-23 10t-23-10l-169-169-169 169q-10 10-23 10t-23-10l-146-146q-10-10-10-23t10-23l169-169-169-169q-10-10-10-23t10-23l146-146q10-10 23-10t23 10l169 169 169-169q10-10 23-10t23 10l146 146q10 10 10 23t-10 23l-169 169 169 169q10 10 10 23t-10 23zM256 1408h1280V384H256v1024zM1792 288v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1472q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/window-close-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"window-close-o\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1257 1111l-146 146q-10 10-23 10t-23-10l-169-169-169 169q-10 10-23 10t-23-10l-146-146q-10-10-10-23t10-23l169-169-169-169q-10-10-10-23t10-23l146-146q10-10 23-10t23 10l169 169 169-169q10-10 23-10t23 10l146 146q10 10 10 23t-10 23l-169 169 169 169q10 10 10 23t-10 23zM256 1408h1280V384H256v1024zM1792 288v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1472q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/bandcamp","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"bandcamp\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1070 1178l306-564H722l-306 564h654zm722-282q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/grav","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"grav\" viewBox=\"0 0 1794 1896.0833\"><path d=\"M1291 476q-15-17-35-8.5t-26 28.5 5 38q14 17 40 14.5t34-20.5-18-52zM895 722q-8 8-19.5 8t-18.5-8q-8-8-8-19t8-18q7-8 18.5-8t19.5 8q7 7 7 18t-7 19zm165 74l-35 35q-12 13-29.5 13T965 831l-38-38q-12-13-12-30t12-30l35-35q12-12 29.5-12t30.5 12l38 39q12 12 12 29.5t-12 29.5zM951 666q-7 8-18.5 8t-19.5-8q-7-8-7-19t7-19q8-8 19-8t19 8 8 19-8 19zm403-98q-34 64-107.5 85.5T1119 637q-38-28-61-66.5t-21-87.5 39-92 75.5-53 70.5 5 70 51q2 2 13 12.5t14.5 13.5 13 13.5T1345 449t10 15.5 8.5 18 4 18.5 1 21-5 22-9.5 24zm201 482q3-20-8.5-34.5T1519 994t-33-17-23-20q-40-71-84-98.5T1266 847q19-13 40-18.5t33-4.5l12 1q2-45-34-90 6-20 6.5-40.5T1321 664l-3-10q43-24 71-65t34-91q10-84-43-150.5T1243 271q-60-7-114 18.5t-82 74.5q-30 51-33.5 101t14.5 87 43.5 64 56.5 42q-45-4-88-36t-57-88q-28-108 32-222-16-21-29-32-50 0-89 19 19-24 42-37t36-14l13-1q0-50-13-78-10-21-32.5-28.5t-47 3.5-37.5 40q2-4 4-7-7 28-6.5 75.5t19 117T923 492q-25 14-47 36-35 16-85.5 70.5T706 700l-33 46q-90 34-181 125.5T417 1034q1 16 11 27-15 12-30 30-21 25-21 54t21.5 40 63.5-6q41-19 77-49.5t55-60.5q-2-2-6.5-5t-20.5-7.5-33-3.5q23-5 51-12.5t40-10 27.5-6 26-4 23.5-.5q14 7 22-34 7-37 7-90 0-102-40-150 106 103 101 219-1 29-15 50t-27 27l-13 6q-4 7-19 32t-26 45.5-26.5 52-25 61-17 63-6.5 66.5 10 63q-35-54-37-80-22 24-34.5 39t-33.5 42-30.5 46-16.5 41-.5 38 25.5 27q45 25 144-64t190.5-221.5T957 1070q86-52 145-115.5t86-119.5q47 93 154 178 104 83 167 80 39-2 46-43zm239-154q0 182-71 348t-191 286-286.5 191-348.5 71-348.5-71T262 1530 71 1244 0 896t71-348 191-286T548.5 71 897 0t348.5 71T1532 262t191 286 71 348z\"/></svg>"},{"name":"font-awesome/etsy","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"etsy\" viewBox=\"0 0 1560.7731 1896.0833\"><path d=\"M518 183v655q103 1 191.5-1.5T835 831l37-3q68-2 90.5-24.5T1002 709l33-142h103l-14 322 7 319h-103l-29-127q-15-68-45-93t-84-26q-87-8-352-8v556q0 78 43.5 115.5T695 1663h357q35 0 59.5-2t55-7.5 54-18 48.5-32 46-50.5 39-73l93-216h89q-6 37-31.5 252t-30.5 276q-146-5-263.5-8t-162.5-4H376L0 1792v-102l127-25q67-13 91.5-37t25.5-79l8-643q3-402-8-645-2-61-25.5-84T127 141L0 117V15l376 12h702q139 0 374-27-6 68-14 194.5T1426 414l-5 92h-93l-32-124q-31-121-74-179.5T1109 144H561q-28 0-35.5 8.5T518 183z\"/></svg>"},{"name":"font-awesome/imdb","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"imdb\" viewBox=\"0 0 1537.0033 1896.0833\"><path d=\"M922 797v182q0 4 .5 15t0 15l-1.5 12-3.5 11.5-6.5 7.5-11 5.5-16 1.5V738q9 0 16 1t11 5 6.5 5.5 3.5 9.5 1 10.5V797zm316 96v121q0 1 .5 12.5t0 15.5-2.5 11.5-7.5 10.5-13.5 3q-9 0-14-9-4-10-4-165v-24.5l1.5-8.5 3.5-7 5-5.5 8-1.5q6 0 10 1.5t6.5 4.5 4 6 2 8.5.5 8V893zM180 1129h122V657H180v472zm434 0h106V657H561l-28 221q-20-148-32-221H343v472h107V817l45 312h76l43-319v319zm425-305q0-67-5-90-3-16-11-28.5t-17-20.5-25-14-26.5-8.5-31-4-29-1.5H762v472h56q169 1 197-24.5t25-180.5q-1-62-1-100zm317 197V888q0-29-2-45t-9.5-33.5-24.5-25-46-7.5q-46 0-77 34V657h-117v472h110l7-30q30 36 77 36 50 0 66-30.5t16-83.5zm180-733v1216q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V288q0-66 47-113t113-47h1216q66 0 113 47t47 113z\"/></svg>"},{"name":"font-awesome/ravelry","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"ravelry\" viewBox=\"0 0 2176 1896.0833\"><path d=\"M1143 1733q-6-1-11-4-13-8-36-23t-86-65-116.5-104.5-112-140T692 1224q-17-3-175-37 66 213 235 362t391 184zm-641-606l168 28q-25-76-41-167.5T610 842l-4-53q-84 82-121 224 5 65 17 114zm110-609q-43 64-77 148 44-46 74-68zm1437 434q0-161-62-307t-167.5-252T1569 224.5 1265 162q-147 0-281 52.5T744 363q-30 58-45 160 60-51 143-83.5t158.5-43 143-13.5 108.5 1l40 3q33 1 53 15.5t24.5 33 6.5 37-1 28.5q-126-11-227.5-.5t-183 43.5T822 615.5 691 714q4 36 11.5 92.5t35.5 178 62 179.5q123 6 247.5-14.5T1262 1096t162.5-67 109.5-59l37-24q22-16 39.5-20.5t30.5 5 17 34.5q14 97-39 121-208 97-467 134-135 20-317 16 41 96 110 176.5t137 127 130.5 79T1314 1662l39 12q143 23 263-15 195-99 314-289t119-418zm74-37q-14 135-40 212-70 208-181.5 346.5T1583 1727q-48 33-82 44-72 26-163 16-36 3-73 3-283 0-504.5-173T465 1175q-1 0-4-.5t-5-.5q-6 50 2.5 112.5t26 115 36 98T552 1571l14 26q8 12 54 82-71-38-124.5-106.5t-78.5-140-39.5-137T360 1188l-2-42q-5-2-33.5-12.5t-48.5-18-53-20.5-57.5-25-50-25.5-42.5-27T48 992q19 10 50.5 25.5t113 45.5 145.5 38l2-32q11-149 94-290 41-202 176-365 28-115 81-214 15-28 32-45t49-32q158-74 303.5-104t302-11 306.5 97q220 115 333 336t87 474z\"/></svg>"},{"name":"font-awesome/eercast","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"eercast\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1341 784q29-44-6.5-129.5T1213 512q-58-39-125.5-53.5t-118-4.5-68.5 37q-12 23-4.5 28t42.5 10q23 3 38.5 5t44.5 9.5 56 17.5q36 13 67.5 31.5t53 37 40 38.5 30.5 38 22 34.5 16.5 28.5 12 18.5 10.5 6 11-9.5zm363 574q-52 127-148.5 220T1341 1719.5t-253 60.5-266-13.5-251-91T361 1514t-141.5-235.5T173 975q1-41 8.5-84.5t12.5-64 24-80.5 23-73q-51 208 1 397t173 318 291 206 346 83 349-74.5 289-244.5q20-27 18-14 0 4-4 14zm-239-449q0 104-40.5 199T1316 1272t-162 109.5-198 40.5-198-40.5T596 1272t-108.5-164T447 909t40.5-199T596 546t162-109.5T956 396t198 40.5T1316 546t108.5 164 40.5 199zm287-288q-65-147-180.5-251t-253-153.5-292-53.5-301 36.5-275.5 129T230 540 99 837t-10 373q-49-161-51.5-311.5T73 626t109-227 165.5-180.5 207-126 232-71 242.5-9 236 54T1481 191t178 197q33 50 62 121t31 112zm-62 342q12-244-136.5-416T1157 307q-8 0-10-5t24-8q125 4 230 50t173 120 116 168.5 58.5 199-1 208T1686 1237t-122.5 167-185 117.5T1130 1568q108-30 201.5-80t174-123 129.5-176.5 55-225.5z\"/></svg>"},{"name":"font-awesome/microchip","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"microchip\" viewBox=\"0 0 1536 1896.0833\"><path d=\"M192 1280v128H80q-16 0-16-16v-16H16q-16 0-16-16v-32q0-16 16-16h48v-16q0-16 16-16h112zm0-256v128H80q-16 0-16-16v-16H16q-16 0-16-16v-32q0-16 16-16h48v-16q0-16 16-16h112zm0-256v128H80q-16 0-16-16v-16H16q-16 0-16-16v-32q0-16 16-16h48v-16q0-16 16-16h112zm0-256v128H80q-16 0-16-16v-16H16q-16 0-16-16v-32q0-16 16-16h48v-16q0-16 16-16h112zm0-256v128H80q-16 0-16-16v-16H16q-16 0-16-16v-32q0-16 16-16h48v-16q0-16 16-16h112zM1280 96v1472q0 40-28 68t-68 28H352q-40 0-68-28t-28-68V96q0-40 28-68t68-28h832q40 0 68 28t28 68zm256 1232v32q0 16-16 16h-48v16q0 16-16 16h-112v-128h112q16 0 16 16v16h48q16 0 16 16zm0-256v32q0 16-16 16h-48v16q0 16-16 16h-112v-128h112q16 0 16 16v16h48q16 0 16 16zm0-256v32q0 16-16 16h-48v16q0 16-16 16h-112V768h112q16 0 16 16v16h48q16 0 16 16zm0-256v32q0 16-16 16h-48v16q0 16-16 16h-112V512h112q16 0 16 16v16h48q16 0 16 16zm0-256v32q0 16-16 16h-48v16q0 16-16 16h-112V256h112q16 0 16 16v16h48q16 0 16 16z\"/></svg>"},{"name":"font-awesome/snowflake-o","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"snowflake-o\" viewBox=\"0 0 1664 1896.0833\"><path d=\"M1566 1117l-167 33 186 107q23 13 29.5 38.5t-6.5 48.5q-14 23-39 29.5t-48-6.5l-186-106 55 160q13 38-12 63.5t-60.5 20.5-48.5-42l-102-300-271-156v313l208 238q16 18 17 39t-11 36.5-28.5 25-37 5.5-36.5-22l-112-128v214q0 26-19 45t-45 19-45-19-19-45v-214l-112 128q-16 18-36.5 22t-37-5.5-28.5-25-11-36.5 17-39l208-238v-313l-271 156-102 300q-13 37-48.5 42t-60.5-20.5-12-63.5l55-160-186 106q-23 13-48 6.5T56 1344q-13-23-6.5-48.5T79 1257l186-107-167-33q-29-6-42-29t-8.5-46.5 25.5-40 50-10.5l310 62 271-157-271-157-310 62q-4 1-13 1-27 0-44-18t-19-40 11-43 40-26l167-33L79 535q-23-13-29.5-38.5T56 448t39-30 48 7l186 106-55-160q-13-38 12-63.5t60.5-20.5 48.5 42l102 300 271 156V472L560 234q-16-18-17-39t11-36.5 28.5-25 37-5.5 36.5 22l112 128V64q0-26 19-45t45-19 45 19 19 45v214l112-128q16-18 36.5-22t37 5.5 28.5 25 11 36.5-17 39L896 472v313l271-156 102-300q13-37 48.5-42t60.5 20.5 12 63.5l-55 160 186-106q23-13 48-6.5t39 29.5q13 23 6.5 48.5T1585 535l-186 107 167 33q27 5 40 26t11 43-19 40-44 18q-9 0-13-1l-310-62-271 157 271 157 310-62q29-6 50 10.5t25.5 40-8.5 46.5-42 29z\"/></svg>"},{"name":"font-awesome/superpowers","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"superpowers\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M1473 929q7-118-33-226.5t-113-189-177-131T929 325q-116-7-225.5 32t-192 110.5-135 175T317 863q-7 118 33 226.5t113 189 177.5 131T862 1467q155 9 293-59t224-195.5 94-283.5zM1792 0l-349 348q120 117 180.5 272t50.5 321q-11 183-102 339t-241 255.5T999 1660L0 1792l347-347q-120-116-180.5-271.5T116 852q11-184 102-340t241.5-255.5T792 132q167-22 500-66t500-66z\"/></svg>"},{"name":"font-awesome/wpexplorer","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"wpexplorer\" viewBox=\"0 0 1792 1896.0833\"><path d=\"M948 1028l163 329h-51l-175-350-171 350h-49l179-374-78-33 21-49 240 102-21 50zM563 436l304 130-130 304-304-130zm344 185l240 103-103 239-239-102zm281 150l191 81-82 190-190-81zm492 125q0-159-62-304t-167.5-250.5T1200 174t-304-62-304 62-250.5 167.5T174 592t-62 304 62 304 167.5 250.5T592 1618t304 62 304-62 250.5-167.5T1618 1200t62-304zm112 0q0 182-71 348t-191 286-286 191-348 71-348-71-286-191-191-286T0 896t71-348 191-286T548 71 896 0t348 71 286 191 191 286 71 348z\"/></svg>"},{"name":"font-awesome/meetup","content":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"meetup\" viewBox=\"0 0 1920 1896.0833\"><path d=\"M1334 1234q-4-24-27.5-34t-49.5-10.5-48.5-12.5-25.5-38q-5-47 33-139.5t75-181 32-127.5q-14-101-117-103-45-1-75 16l-3 2-5 2.5-4.5 2-5 2-5 .5-6-1.5-6-3.5-6.5-5q-3-2-9-8.5t-9-9-8.5-7.5-9.5-7.5-9.5-5.5-11-4.5-11.5-2.5q-30-5-48 3t-45 31q-1 1-9 8.5t-12.5 11-15 10T876 627t-17-3q-54-27-84-40-41-18-94 5t-76 65q-16 28-41 98.5T520.5 885t-40 134-21.5 73q-22 69 18.5 119t110.5 46q30-2 50.5-15t38.5-46q7-13 79-199.5T833 802q6-11 21.5-18t29.5 0q27 15 21 53-2 18-51 139.5T804 1109q-6 38 19.5 56.5t60.5 7 55-49.5q4-8 45.5-92t81.5-163.5 46-88.5q20-29 41-28 29 0 25 38-2 16-65.5 147.5T1042 1096q-12 53 13 103t74 74q17 9 51 15.5t71.5 8 62.5-14 20-48.5zm-951 216q3 15-5 27.5t-23 15.5q-14 3-26.5-5t-15.5-23q-3-14 5-27t22-16 27 5 16 23zm570 263q12 17 8.5 37.5T941 1783t-37.5 8-32.5-21q-11-17-7.5-37.5T884 1700t37.5-8 31.5 21zM177 901q-18 27-49.5 33T70 921q-26-18-32-50t12-58q18-27 49.5-33t57.5 12q26 19 32 50.5T177 901zm1290 677q19 28 13 61.5t-34 52.5-60.5 13-51.5-34-13-61 33-53q28-19 60.5-13t52.5 34zm112-604q69 113 42.5 244.5T1487 1426q-90 63-199 60-20 80-84.5 127t-143.5 44.5-140-57.5q-12 9-13 10-103 71-225 48.5T489 1532q-50-73-53-164-83-14-142.5-70.5t-80.5-128-2-152T292 879q-36-60-38-128t24.5-125 79.5-98.5T479 477q32-85 99-148t146.5-91.5 168-17T1052 287q72-21 140-17.5t128.5 36 104.5 80 67.5 115T1510 641q52 16 87 57t45.5 89-5.5 99.5-58 87.5zM455 314q14 20 9.5 44.5T440 397q-19 14-43.5 9.5T359 382q-14-20-9.5-44.5T374 299q19-14 43.5-9.5T455 314zM614 33q4 16-5 30.5T583 82t-31-5.5T534 50q-3-17 6.5-31T566 1q17-4 31 5.5T614 33zm1186 948q4 20-6.5 37t-30.5 21q-19 4-36-6.5t-21-30.5 6.5-37 30.5-22q20-4 36.5 7.5T1800 981zM1136 88q16 27 8.5 58.5T1109 194q-27 16-57.5 8.5T1005 168q-16-28-8.5-59t34.5-48 58-9 47 36zm746 656q4 15-4 27.5t-23 16.5q-15 3-27.5-5.5T1812 760q-3-15 5-28t23-16q14-3 26.5 5t15.5 23zm-191-241q15 22 10.5 49t-26.5 43q-22 15-49 10t-42-27-10-49 27-43 48.5-11 41.5 28z\"/></svg>"}]; /***/ }), /* 124 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var api = wp.customize; var ButtonGroupControl = function (_ColibriVueControl) { _inherits(ButtonGroupControl, _ColibriVueControl); function ButtonGroupControl() { _classCallCheck(this, ButtonGroupControl); return _possibleConstructorReturn(this, (ButtonGroupControl.__proto__ || Object.getPrototypeOf(ButtonGroupControl)).apply(this, arguments)); } _createClass(ButtonGroupControl, [{ key: "name", value: function name() { return "colibri-button-group"; } }, { key: "vueData", value: function vueData(wpControl) { return { value: String(this.getWpControlValue(wpControl)), options: $.map(wpControl.params.choices, function (label, value) { return { label: label, value: value }; }), size: wpControl.params.button_size || 'small' }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var self = this; return { handleButtonClicked: function handleButtonClicked(value) { this.value = value; self.setWpControlValue(wpControl, value); }, noneClicked: function noneClicked(value) { this.value = wpControl.params.none_value; self.setWpControlValue(wpControl, wpControl.params.none_value); } }; } }]); return ButtonGroupControl; }(_colibriVueControl2.default); exports.default = ButtonGroupControl; /***/ }), /* 125 */, /* 126 */, /* 127 */, /* 128 */, /* 129 */, /* 130 */, /* 131 */, /* 132 */, /* 133 */, /* 134 */, /* 135 */, /* 136 */, /* 137 */, /* 138 */, /* 139 */, /* 140 */, /* 141 */, /* 142 */, /* 143 */, /* 144 */, /* 145 */, /* 146 */, /* 147 */, /* 148 */, /* 149 */, /* 150 */, /* 151 */, /* 152 */, /* 153 */, /* 154 */, /* 155 */, /* 156 */, /* 157 */, /* 158 */, /* 159 */, /* 160 */, /* 161 */, /* 162 */, /* 163 */, /* 164 */, /* 165 */, /* 166 */, /* 167 */, /* 168 */, /* 169 */, /* 170 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(171); /***/ }), /* 171 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); __webpack_require__(91); __webpack_require__(63); var _sortablejs = __webpack_require__(172); var _sortablejs2 = _interopRequireDefault(_sortablejs); var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); var _wpService = __webpack_require__(177); var _wpService2 = _interopRequireDefault(_wpService); var _translate = __webpack_require__(55); var _translate2 = _interopRequireDefault(_translate); __webpack_require__(184); __webpack_require__(185); __webpack_require__(186); __webpack_require__(187); __webpack_require__(361); __webpack_require__(362); __webpack_require__(363); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } _translate2.default.use(window.colibri_Customizer_Data.translations); _vue2.default.use(new _wpService2.default()); _vue2.default.directive('sortable-el-accordion', { inserted: function inserted(el, binding, vnode) { new _sortablejs2.default(el, { animation: 150, ghostClass: "sortable-ghost", handle: ".el-collapse-item__header", group: { pull: false, put: false }, onEnd: function onEnd(_ref) { var newIndex = _ref.newIndex, oldIndex = _ref.oldIndex; if (!_.isFunction(binding.value)) { var target = binding.value.splice(oldIndex, 1)[0]; binding.value.splice(newIndex, 0, target); } binding.value(newIndex, oldIndex); }, setData: function setData(dataTransfer) { dataTransfer.setDragImage(document.createElement('div'), 0, 0); } }); } }); var ColibriCustomizer = function () { function ColibriCustomizer() { _classCallCheck(this, ColibriCustomizer); this._settings = window.colibri_Customizer_Data; } _createClass(ColibriCustomizer, [{ key: "showOverlay", value: function showOverlay(message) { var $overlay = jQuery('.colibri-customizer-overlay'); if (!$overlay.length) { $overlay = jQuery('' + '<div class="colibri-customizer-overlay">\n' + ' <div class="colibri-customizer-overlay-content">\n' + ' <span class="colibri-customizer-overlay-loader"></span>\n' + ' <span class="colibri-customizer-overlay-message"></span>\n' + ' </div>\n' + ' </div>'); jQuery('body').append($overlay); } $('.colibri-customizer-overlay-message').html(message); $overlay.fadeIn(); } }, { key: "hideOverlay", value: function hideOverlay() { var $overlay = jQuery('.colibri-customizer-overlay'); $overlay.fadeOut(); } }, { key: "getActiveControls", value: function getActiveControls() { var targetWindow = null; if (wp.customize.previewer && wp.customize.previewer.targetWindow()) { targetWindow = wp.customize.previewer.targetWindow(); } if (targetWindow && targetWindow._wpCustomizeSettings) { return targetWindow._wpCustomizeSettings.activeControls || {}; } return {}; } }, { key: "settings", get: function get() { return this._settings; } }]); return ColibriCustomizer; }(); window.colibriCustomizer = new ColibriCustomizer(window); jQuery(function ($) { wp.ajax.post('brite_disable_big_notice', { nonce: window.colibri_Customizer_Data.brite_disable_big_notice_nonce }); if (window.colibriCustomizer.settings.colibri_autofocus) { var id = window.colibriCustomizer.settings.colibri_autofocus; var autofocusAliases = window.colibriCustomizer.settings.colibri_autofocus_aliases || {}; id = autofocusAliases[id] || id; if (!id) { return; } wp.customize(id, function (instance) { var control = instance.findControls()[0]; control.deferred.embedded.done(function () { wp.customize.previewer.deferred.active.done(function () { control.focus({}, true); }); }); }); } var debouncedReflowed = _.debounce(function () { wp.customize.trigger('colibri-reflowed'); }, 300); wp.customize.bind('pane-contents-reflowed', debouncedReflowed); window.addEventListener('message', function (event) { try { var message = JSON.parse(event.data); if (message.id === 'colibri-ready') { wp.customize.trigger('colibri-preview-ready', message.data); } if (message.id === 'url') { wp.customize.trigger('colibri-preview-start', message.data); } } catch (e) {} }); }); /***/ }), /* 172 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**! * Sortable * @author RubaXa <trash@rubaxa.org> * @author owenm <owen23355@gmail.com> * @license MIT */ (function sortableModule(factory) { "use strict"; if (true) { !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else if (typeof module != "undefined" && typeof module.exports != "undefined") { module.exports = factory(); } else { /* jshint sub:true */ window["Sortable"] = factory(); } })(function sortableFactory() { "use strict"; if (typeof window === "undefined" || !window.document) { return function sortableError() { throw new Error("Sortable.js requires a window with a document"); }; } var dragEl, parentEl, ghostEl, cloneEl, rootEl, nextEl, lastDownEl, scrollEl, scrollParentEl, scrollCustomFn, oldIndex, newIndex, activeGroup, putSortable, autoScrolls = [], scrolling = false, awaitingDragStarted = false, ignoreNextClick = false, sortables = [], pointerElemChangedInterval, lastPointerElemX, lastPointerElemY, tapEvt, touchEvt, moved, lastTarget, lastDirection, pastFirstInvertThresh = false, isCircumstantialInvert = false, lastMode, // 'swap' or 'insert' targetMoveDistance, forRepaintDummy, realDragElRect, // dragEl rect after current animation /** @const */ R_SPACE = /\s+/g, expando = 'Sortable' + (new Date).getTime(), win = window, document = win.document, parseInt = win.parseInt, setTimeout = win.setTimeout, $ = win.jQuery || win.Zepto, Polymer = win.Polymer, captureMode = { capture: false, passive: false }, IE11OrLess = !!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie|iemobile)/i), Edge = !!navigator.userAgent.match(/Edge/i), // FireFox = !!navigator.userAgent.match(/firefox/i), CSSFloatProperty = Edge || IE11OrLess ? 'cssFloat' : 'float', // This will not pass for IE9, because IE9 DnD only works on anchors supportDraggable = ('draggable' in document.createElement('div')), supportCssPointerEvents = (function() { // false when <= IE11 if (IE11OrLess) { return false; } var el = document.createElement('x'); el.style.cssText = 'pointer-events:auto'; return el.style.pointerEvents === 'auto'; })(), _silent = false, _alignedSilent = false, abs = Math.abs, min = Math.min, savedInputChecked = [], _detectDirection = function(el, options) { var elCSS = _css(el), elWidth = parseInt(elCSS.width), child1 = _getChild(el, 0, options), child2 = _getChild(el, 1, options), firstChildCSS = child1 && _css(child1), secondChildCSS = child2 && _css(child2), firstChildWidth = firstChildCSS && parseInt(firstChildCSS.marginLeft) + parseInt(firstChildCSS.marginRight) + _getRect(child1).width, secondChildWidth = secondChildCSS && parseInt(secondChildCSS.marginLeft) + parseInt(secondChildCSS.marginRight) + _getRect(child2).width; if (elCSS.display === 'flex') { return elCSS.flexDirection === 'column' || elCSS.flexDirection === 'column-reverse' ? 'vertical' : 'horizontal'; } if (child1 && firstChildCSS.float !== 'none') { var touchingSideChild2 = firstChildCSS.float === 'left' ? 'left' : 'right'; return child2 && (secondChildCSS.clear === 'both' || secondChildCSS.clear === touchingSideChild2) ? 'vertical' : 'horizontal'; } return (child1 && ( firstChildCSS.display === 'block' || firstChildCSS.display === 'flex' || firstChildCSS.display === 'table' || firstChildCSS.display === 'grid' || firstChildWidth >= elWidth && elCSS[CSSFloatProperty] === 'none' || child2 && elCSS[CSSFloatProperty] === 'none' && firstChildWidth + secondChildWidth > elWidth ) ? 'vertical' : 'horizontal' ); }, /** * Detects first nearest empty sortable to X and Y position using emptyInsertThreshold. * @param {Number} x X position * @param {Number} y Y position * @return {HTMLElement} Element of the first found nearest Sortable */ _detectNearestEmptySortable = function(x, y) { for (var i = 0; i < sortables.length; i++) { if (sortables[i].children.length) continue; var rect = _getRect(sortables[i]), threshold = sortables[i][expando].options.emptyInsertThreshold, insideHorizontally = x >= (rect.left - threshold) && x <= (rect.right + threshold), insideVertically = y >= (rect.top - threshold) && y <= (rect.bottom + threshold); if (insideHorizontally && insideVertically) { return sortables[i]; } } }, _isClientInRowColumn = function(x, y, el, axis, options) { var targetRect = _getRect(el), targetS1Opp = axis === 'vertical' ? targetRect.left : targetRect.top, targetS2Opp = axis === 'vertical' ? targetRect.right : targetRect.bottom, mouseOnOppAxis = axis === 'vertical' ? x : y; return targetS1Opp < mouseOnOppAxis && mouseOnOppAxis < targetS2Opp; }, _isElInRowColumn = function(el1, el2, axis) { var el1Rect = el1 === dragEl && realDragElRect || _getRect(el1), el2Rect = el2 === dragEl && realDragElRect || _getRect(el2), el1S1Opp = axis === 'vertical' ? el1Rect.left : el1Rect.top, el1S2Opp = axis === 'vertical' ? el1Rect.right : el1Rect.bottom, el1OppLength = axis === 'vertical' ? el1Rect.width : el1Rect.height, el2S1Opp = axis === 'vertical' ? el2Rect.left : el2Rect.top, el2S2Opp = axis === 'vertical' ? el2Rect.right : el2Rect.bottom, el2OppLength = axis === 'vertical' ? el2Rect.width : el2Rect.height; return ( el1S1Opp === el2S1Opp || el1S2Opp === el2S2Opp || (el1S1Opp + el1OppLength / 2) === (el2S1Opp + el2OppLength / 2) ); }, _getParentAutoScrollElement = function(el, includeSelf) { // skip to window if (!el || !el.getBoundingClientRect) return win; var elem = el; var gotSelf = false; do { // we don't need to get elem css if it isn't even overflowing in the first place (performance) if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) { var elemCSS = _css(elem); if ( elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == 'auto' || elemCSS.overflowX == 'scroll') || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == 'auto' || elemCSS.overflowY == 'scroll') ) { if (!elem || !elem.getBoundingClientRect || elem === document.body) return win; if (gotSelf || includeSelf) return elem; gotSelf = true; } } /* jshint boss:true */ } while (elem = elem.parentNode); return win; }, _autoScroll = _throttle(function (/**Event*/evt, /**Object*/options, /**HTMLElement*/rootEl, /**Boolean*/isFallback) { // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=505521 if (options.scroll) { var _this = rootEl ? rootEl[expando] : window, sens = options.scrollSensitivity, speed = options.scrollSpeed, x = evt.clientX, y = evt.clientY, winWidth = window.innerWidth, winHeight = window.innerHeight, scrollThisInstance = false; // Detect scrollEl if (scrollParentEl !== rootEl) { _clearAutoScrolls(); scrollEl = options.scroll; scrollCustomFn = options.scrollFn; if (scrollEl === true) { scrollEl = _getParentAutoScrollElement(rootEl, true); scrollParentEl = scrollEl; } } var layersOut = 0; var currentParent = scrollEl; do { var el = currentParent, rect = _getRect(el), top = rect.top, bottom = rect.bottom, left = rect.left, right = rect.right, width = rect.width, height = rect.height, scrollWidth, scrollHeight, css, vx, vy, canScrollX, canScrollY, scrollPosX, scrollPosY; if (el !== win) { scrollWidth = el.scrollWidth; scrollHeight = el.scrollHeight; css = _css(el); canScrollX = width < scrollWidth && (css.overflowX === 'auto' || css.overflowX === 'scroll'); canScrollY = height < scrollHeight && (css.overflowY === 'auto' || css.overflowY === 'scroll'); scrollPosX = el.scrollLeft; scrollPosY = el.scrollTop; } else { scrollWidth = document.documentElement.scrollWidth; scrollHeight = document.documentElement.scrollHeight; css = _css(document.documentElement); canScrollX = width < scrollWidth && (css.overflowX === 'auto' || css.overflowX === 'scroll' || css.overflowX === 'visible'); canScrollY = height < scrollHeight && (css.overflowY === 'auto' || css.overflowY === 'scroll' || css.overflowY === 'visible'); scrollPosX = document.documentElement.scrollLeft; scrollPosY = document.documentElement.scrollTop; } vx = canScrollX && (abs(right - x) <= sens && (scrollPosX + width) < scrollWidth) - (abs(left - x) <= sens && !!scrollPosX); vy = canScrollY && (abs(bottom - y) <= sens && (scrollPosY + height) < scrollHeight) - (abs(top - y) <= sens && !!scrollPosY); if (!autoScrolls[layersOut]) { for (var i = 0; i <= layersOut; i++) { if (!autoScrolls[i]) { autoScrolls[i] = {}; } } } if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) { autoScrolls[layersOut].el = el; autoScrolls[layersOut].vx = vx; autoScrolls[layersOut].vy = vy; clearInterval(autoScrolls[layersOut].pid); if (el && (vx != 0 || vy != 0)) { scrollThisInstance = true; /* jshint loopfunc:true */ autoScrolls[layersOut].pid = setInterval((function () { // emulate drag over during autoscroll (fallback), emulating native DnD behaviour if (isFallback && this.layer === 0) { Sortable.active._emulateDragOver(true); } var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0; var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0; if ('function' === typeof(scrollCustomFn)) { if (scrollCustomFn.call(_this, scrollOffsetX, scrollOffsetY, evt, touchEvt, autoScrolls[this.layer].el) !== 'continue') { return; } } if (autoScrolls[this.layer].el === win) { win.scrollTo(win.pageXOffset + scrollOffsetX, win.pageYOffset + scrollOffsetY); } else { autoScrolls[this.layer].el.scrollTop += scrollOffsetY; autoScrolls[this.layer].el.scrollLeft += scrollOffsetX; } }).bind({layer: layersOut}), 24); } } layersOut++; } while (options.bubbleScroll && currentParent !== win && (currentParent = _getParentAutoScrollElement(currentParent, false))); scrolling = scrollThisInstance; // in case another function catches scrolling as false in between when it is not } }, 30), _clearAutoScrolls = function () { autoScrolls.forEach(function(autoScroll) { clearInterval(autoScroll.pid); }); autoScrolls = []; }, _prepareGroup = function (options) { function toFn(value, pull) { return function(to, from, dragEl, evt) { var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name; if (value == null && (pull || sameGroup)) { // Default pull value // Default pull and put value if same group return true; } else if (value == null || value === false) { return false; } else if (pull && value === 'clone') { return value; } else if (typeof value === 'function') { return toFn(value(to, from, dragEl, evt), pull)(to, from, dragEl, evt); } else { var otherGroup = (pull ? to : from).options.group.name; return (value === true || (typeof value === 'string' && value === otherGroup) || (value.join && value.indexOf(otherGroup) > -1)); } }; } var group = {}; var originalGroup = options.group; if (!originalGroup || typeof originalGroup != 'object') { originalGroup = {name: originalGroup}; } group.name = originalGroup.name; group.checkPull = toFn(originalGroup.pull, true); group.checkPut = toFn(originalGroup.put); group.revertClone = originalGroup.revertClone; options.group = group; }, _checkAlignment = function(evt) { if (!dragEl || !dragEl.parentNode) return; dragEl.parentNode[expando] && dragEl.parentNode[expando]._computeIsAligned(evt); }, _isTrueParentSortable = function(el, target) { var trueParent = target; while (!trueParent[expando]) { trueParent = trueParent.parentNode; } return el === trueParent; }, _artificalBubble = function(sortable, originalEvt, method) { // Artificial IE bubbling var nextParent = sortable.parentNode; while (nextParent && !nextParent[expando]) { nextParent = nextParent.parentNode; } if (nextParent) { nextParent[expando][method](_extend(originalEvt, { artificialBubble: true })); } }, _hideGhostForTarget = function() { if (!supportCssPointerEvents && ghostEl) { _css(ghostEl, 'display', 'none'); } }, _unhideGhostForTarget = function() { if (!supportCssPointerEvents && ghostEl) { _css(ghostEl, 'display', ''); } }; // #1184 fix - Prevent click event on fallback if dragged but item not changed position document.addEventListener('click', function(evt) { if (ignoreNextClick) { evt.preventDefault(); evt.stopPropagation && evt.stopPropagation(); evt.stopImmediatePropagation && evt.stopImmediatePropagation(); ignoreNextClick = false; return false; } }, true); var nearestEmptyInsertDetectEvent = function(evt) { evt = evt.touches ? evt.touches[0] : evt; if (dragEl) { var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY); if (nearest) { nearest[expando]._onDragOver({ clientX: evt.clientX, clientY: evt.clientY, target: nearest, rootEl: nearest }); } } }; // We do not want this to be triggered if completed (bubbling canceled), so only define it here _on(document, 'dragover', nearestEmptyInsertDetectEvent); _on(document, 'mousemove', nearestEmptyInsertDetectEvent); _on(document, 'touchmove', nearestEmptyInsertDetectEvent); /** * @class Sortable * @param {HTMLElement} el * @param {Object} [options] */ function Sortable(el, options) { if (!(el && el.nodeType && el.nodeType === 1)) { throw 'Sortable: `el` must be HTMLElement, not ' + {}.toString.call(el); } this.el = el; // root element this.options = options = _extend({}, options); // Export instance el[expando] = this; // Default options var defaults = { group: null, sort: true, disabled: false, store: null, handle: null, scroll: true, scrollSensitivity: 30, scrollSpeed: 10, bubbleScroll: true, draggable: /[uo]l/i.test(el.nodeName) ? '>li' : '>*', swapThreshold: 1, // percentage; 0 <= x <= 1 invertSwap: false, // invert always invertedSwapThreshold: null, // will be set to same as swapThreshold if default removeCloneOnHide: true, direction: function() { return _detectDirection(el, this.options); }, ghostClass: 'sortable-ghost', chosenClass: 'sortable-chosen', dragClass: 'sortable-drag', ignore: 'a, img', filter: null, preventOnFilter: true, animation: 0, easing: null, setData: function (dataTransfer, dragEl) { dataTransfer.setData('Text', dragEl.textContent); }, dropBubble: false, dragoverBubble: false, dataIdAttr: 'data-id', delay: 0, touchStartThreshold: parseInt(window.devicePixelRatio, 10) || 1, forceFallback: false, fallbackClass: 'sortable-fallback', fallbackOnBody: false, fallbackTolerance: 0, fallbackOffset: {x: 0, y: 0}, supportPointer: Sortable.supportPointer !== false && ( ('PointerEvent' in window) || window.navigator && ('msPointerEnabled' in window.navigator) // microsoft ), emptyInsertThreshold: 5 }; // Set default options for (var name in defaults) { !(name in options) && (options[name] = defaults[name]); } _prepareGroup(options); // Bind all private methods for (var fn in this) { if (fn.charAt(0) === '_' && typeof this[fn] === 'function') { this[fn] = this[fn].bind(this); } } // Setup drag mode this.nativeDraggable = options.forceFallback ? false : supportDraggable; // Bind events if (options.supportPointer) { _on(el, 'pointerdown', this._onTapStart); } else { _on(el, 'mousedown', this._onTapStart); _on(el, 'touchstart', this._onTapStart); } if (this.nativeDraggable) { _on(el, 'dragover', this); _on(el, 'dragenter', this); } sortables.push(this.el); // Restore sorting options.store && options.store.get && this.sort(options.store.get(this) || []); } Sortable.prototype = /** @lends Sortable.prototype */ { constructor: Sortable, _computeIsAligned: function(evt) { var target; if (ghostEl && !supportCssPointerEvents) { _hideGhostForTarget(); target = document.elementFromPoint(evt.clientX, evt.clientY); _unhideGhostForTarget(); } else { target = evt.target; } target = _closest(target, this.options.draggable, this.el, false); if (_alignedSilent) return; if (!dragEl || dragEl.parentNode !== this.el) return; var children = this.el.children; for (var i = 0; i < children.length; i++) { // Don't change for target in case it is changed to aligned before onDragOver is fired if (_closest(children[i], this.options.draggable, this.el, false) && children[i] !== target) { children[i].sortableMouseAligned = _isClientInRowColumn(evt.clientX, evt.clientY, children[i], this._getDirection(evt, null), this.options); } } // Used for nulling last target when not in element, nothing to do with checking if aligned if (!_closest(target, this.options.draggable, this.el, true)) { lastTarget = null; } _alignedSilent = true; setTimeout(function() { _alignedSilent = false; }, 30); }, _getDirection: function(evt, target) { return (typeof this.options.direction === 'function') ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction; }, _onTapStart: function (/** Event|TouchEvent */evt) { if (!evt.cancelable) return; var _this = this, el = this.el, options = this.options, preventOnFilter = options.preventOnFilter, type = evt.type, touch = evt.touches && evt.touches[0], target = (touch || evt).target, originalTarget = evt.target.shadowRoot && ((evt.path && evt.path[0]) || (evt.composedPath && evt.composedPath()[0])) || target, filter = options.filter, startIndex; _saveInputCheckedState(el); // IE: Calls events in capture mode if event element is nested. This ensures only correct element's _onTapStart goes through. // This process is also done in _onDragOver if (IE11OrLess && !evt.artificialBubble && !_isTrueParentSortable(el, target)) { return; } // Don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group. if (dragEl) { return; } if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) { return; // only left button and enabled } // cancel dnd if original target is content editable if (originalTarget.isContentEditable) { return; } target = _closest(target, options.draggable, el, false); if (!target) { if (IE11OrLess) { _artificalBubble(el, evt, '_onTapStart'); } return; } if (lastDownEl === target) { // Ignoring duplicate `down` return; } // Get the index of the dragged element within its parent startIndex = _index(target, options.draggable); // Check filter if (typeof filter === 'function') { if (filter.call(this, evt, target, this)) { _dispatchEvent(_this, originalTarget, 'filter', target, el, el, startIndex); preventOnFilter && evt.cancelable && evt.preventDefault(); return; // cancel dnd } } else if (filter) { filter = filter.split(',').some(function (criteria) { criteria = _closest(originalTarget, criteria.trim(), el, false); if (criteria) { _dispatchEvent(_this, criteria, 'filter', target, el, el, startIndex); return true; } }); if (filter) { preventOnFilter && evt.cancelable && evt.preventDefault(); return; // cancel dnd } } if (options.handle && !_closest(originalTarget, options.handle, el, false)) { return; } // Prepare `dragstart` this._prepareDragStart(evt, touch, target, startIndex); }, _handleAutoScroll: function(evt, fallback) { if (!dragEl || !this.options.scroll) return; var x = evt.clientX, y = evt.clientY, elem = document.elementFromPoint(x, y), _this = this; // IE does not seem to have native autoscroll, // Edge's autoscroll seems too conditional, // Firefox and Chrome are good if (fallback || Edge || IE11OrLess) { _autoScroll(evt, _this.options, elem, fallback); // Listener for pointer element change var ogElemScroller = _getParentAutoScrollElement(elem, true); if ( scrolling && ( !pointerElemChangedInterval || x !== lastPointerElemX || y !== lastPointerElemY ) ) { pointerElemChangedInterval && clearInterval(pointerElemChangedInterval); // Detect for pointer elem change, emulating native DnD behaviour pointerElemChangedInterval = setInterval(function() { if (!dragEl) return; // could also check if scroll direction on newElem changes due to parent autoscrolling var newElem = _getParentAutoScrollElement(document.elementFromPoint(x, y), true); if (newElem !== ogElemScroller) { ogElemScroller = newElem; _clearAutoScrolls(); _autoScroll(evt, _this.options, ogElemScroller, fallback); } }, 10); lastPointerElemX = x; lastPointerElemY = y; } } else { // if DnD is enabled (and browser has good autoscrolling), first autoscroll will already scroll, so get parent autoscroll of first autoscroll if (!_this.options.bubbleScroll || _getParentAutoScrollElement(elem, true) === window) { _clearAutoScrolls(); return; } _autoScroll(evt, _this.options, _getParentAutoScrollElement(elem, false), false); } }, _prepareDragStart: function (/** Event */evt, /** Touch */touch, /** HTMLElement */target, /** Number */startIndex) { var _this = this, el = _this.el, options = _this.options, ownerDocument = el.ownerDocument, dragStartFn; if (target && !dragEl && (target.parentNode === el)) { rootEl = el; dragEl = target; parentEl = dragEl.parentNode; nextEl = dragEl.nextSibling; lastDownEl = target; activeGroup = options.group; oldIndex = startIndex; tapEvt = { target: dragEl, clientX: (touch || evt).clientX, clientY: (touch || evt).clientY }; this._lastX = (touch || evt).clientX; this._lastY = (touch || evt).clientY; dragEl.style['will-change'] = 'all'; // undo animation if needed dragEl.style.transition = ''; dragEl.style.transform = ''; dragStartFn = function () { // Delayed drag has been triggered // we can re-enable the events: touchmove/mousemove _this._disableDelayedDrag(); // Make the element draggable dragEl.draggable = _this.nativeDraggable; // Bind the events: dragstart/dragend _this._triggerDragStart(evt, touch); // Drag start event _dispatchEvent(_this, rootEl, 'choose', dragEl, rootEl, rootEl, oldIndex); // Chosen item _toggleClass(dragEl, options.chosenClass, true); }; // Disable "draggable" options.ignore.split(',').forEach(function (criteria) { _find(dragEl, criteria.trim(), _disableDraggable); }); if (options.supportPointer) { _on(ownerDocument, 'pointerup', _this._onDrop); } else { _on(ownerDocument, 'mouseup', _this._onDrop); _on(ownerDocument, 'touchend', _this._onDrop); _on(ownerDocument, 'touchcancel', _this._onDrop); } if (options.delay) { // If the user moves the pointer or let go the click or touch // before the delay has been reached: // disable the delayed drag _on(ownerDocument, 'mouseup', _this._disableDelayedDrag); _on(ownerDocument, 'touchend', _this._disableDelayedDrag); _on(ownerDocument, 'touchcancel', _this._disableDelayedDrag); _on(ownerDocument, 'mousemove', _this._delayedDragTouchMoveHandler); _on(ownerDocument, 'touchmove', _this._delayedDragTouchMoveHandler); options.supportPointer && _on(ownerDocument, 'pointermove', _this._delayedDragTouchMoveHandler); _this._dragStartTimer = setTimeout(dragStartFn, options.delay); } else { dragStartFn(); } } }, _delayedDragTouchMoveHandler: function (/** TouchEvent|PointerEvent **/e) { var touch = e.touches ? e.touches[0] : e; if (min(abs(touch.clientX - this._lastX), abs(touch.clientY - this._lastY)) >= this.options.touchStartThreshold ) { this._disableDelayedDrag(); } }, _disableDelayedDrag: function () { var ownerDocument = this.el.ownerDocument; clearTimeout(this._dragStartTimer); _off(ownerDocument, 'mouseup', this._disableDelayedDrag); _off(ownerDocument, 'touchend', this._disableDelayedDrag); _off(ownerDocument, 'touchcancel', this._disableDelayedDrag); _off(ownerDocument, 'mousemove', this._delayedDragTouchMoveHandler); _off(ownerDocument, 'touchmove', this._delayedDragTouchMoveHandler); _off(ownerDocument, 'pointermove', this._delayedDragTouchMoveHandler); }, _triggerDragStart: function (/** Event */evt, /** Touch */touch) { touch = touch || (evt.pointerType == 'touch' ? evt : null); if (!this.nativeDraggable || touch) { if (this.options.supportPointer) { _on(document, 'pointermove', this._onTouchMove); } else if (touch) { _on(document, 'touchmove', this._onTouchMove); } else { _on(document, 'mousemove', this._onTouchMove); } } else { _on(dragEl, 'dragend', this); _on(rootEl, 'dragstart', this._onDragStart); } try { if (document.selection) { // Timeout neccessary for IE9 _nextTick(function () { document.selection.empty(); }); } else { window.getSelection().removeAllRanges(); } } catch (err) { } }, _dragStarted: function (fallback) { awaitingDragStarted = false; if (rootEl && dragEl) { if (this.nativeDraggable) { _on(document, 'dragover', this._handleAutoScroll); _on(document, 'dragover', _checkAlignment); } var options = this.options; // Apply effect !fallback && _toggleClass(dragEl, options.dragClass, false); _toggleClass(dragEl, options.ghostClass, true); // In case dragging an animated element _css(dragEl, 'transform', ''); Sortable.active = this; fallback && this._appendGhost(); // Drag start event _dispatchEvent(this, rootEl, 'start', dragEl, rootEl, rootEl, oldIndex); } else { this._nulling(); } }, _emulateDragOver: function (bypassLastTouchCheck) { if (touchEvt) { if (this._lastX === touchEvt.clientX && this._lastY === touchEvt.clientY && !bypassLastTouchCheck) { return; } this._lastX = touchEvt.clientX; this._lastY = touchEvt.clientY; _hideGhostForTarget(); var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY); var parent = target; while (target && target.shadowRoot) { target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY); parent = target; } if (parent) { do { if (parent[expando]) { var inserted; inserted = parent[expando]._onDragOver({ clientX: touchEvt.clientX, clientY: touchEvt.clientY, target: target, rootEl: parent }); if (inserted && !this.options.dragoverBubble) { break; } } target = parent; // store last element } /* jshint boss:true */ while (parent = parent.parentNode); } dragEl.parentNode[expando]._computeIsAligned(touchEvt); _unhideGhostForTarget(); } }, _onTouchMove: function (/**TouchEvent*/evt) { if (tapEvt) { var options = this.options, fallbackTolerance = options.fallbackTolerance, fallbackOffset = options.fallbackOffset, touch = evt.touches ? evt.touches[0] : evt, matrix = ghostEl && _matrix(ghostEl), scaleX = ghostEl && matrix && matrix.a, scaleY = ghostEl && matrix && matrix.d, dx = ((touch.clientX - tapEvt.clientX) + fallbackOffset.x) / (scaleX ? scaleX : 1), dy = ((touch.clientY - tapEvt.clientY) + fallbackOffset.y) / (scaleY ? scaleY : 1), translate3d = evt.touches ? 'translate3d(' + dx + 'px,' + dy + 'px,0)' : 'translate(' + dx + 'px,' + dy + 'px)'; // only set the status to dragging, when we are actually dragging if (!Sortable.active && !awaitingDragStarted) { if (fallbackTolerance && min(abs(touch.clientX - this._lastX), abs(touch.clientY - this._lastY)) < fallbackTolerance ) { return; } this._onDragStart(evt, true); } this._handleAutoScroll(touch, true); moved = true; touchEvt = touch; _css(ghostEl, 'webkitTransform', translate3d); _css(ghostEl, 'mozTransform', translate3d); _css(ghostEl, 'msTransform', translate3d); _css(ghostEl, 'transform', translate3d); evt.cancelable && evt.preventDefault(); } }, _appendGhost: function () { if (!ghostEl) { var rect = _getRect(dragEl, this.options.fallbackOnBody ? document.body : rootEl, true), css = _css(dragEl), options = this.options; ghostEl = dragEl.cloneNode(true); _toggleClass(ghostEl, options.ghostClass, false); _toggleClass(ghostEl, options.fallbackClass, true); _toggleClass(ghostEl, options.dragClass, true); _css(ghostEl, 'box-sizing', 'border-box'); _css(ghostEl, 'margin', 0); _css(ghostEl, 'top', rect.top); _css(ghostEl, 'left', rect.left); _css(ghostEl, 'width', rect.width); _css(ghostEl, 'height', rect.height); _css(ghostEl, 'opacity', '0.8'); _css(ghostEl, 'position', 'fixed'); _css(ghostEl, 'zIndex', '100000'); _css(ghostEl, 'pointerEvents', 'none'); options.fallbackOnBody && document.body.appendChild(ghostEl) || rootEl.appendChild(ghostEl); } }, _onDragStart: function (/**Event*/evt, /**boolean*/fallback) { var _this = this; var dataTransfer = evt.dataTransfer; var options = _this.options; // Setup clone cloneEl = _clone(dragEl); cloneEl.draggable = false; cloneEl.style['will-change'] = ''; this._hideClone(); _toggleClass(cloneEl, _this.options.chosenClass, false); // #1143: IFrame support workaround _this._cloneId = _nextTick(function () { if (!_this.options.removeCloneOnHide) { rootEl.insertBefore(cloneEl, dragEl); } _dispatchEvent(_this, rootEl, 'clone', dragEl); }); !fallback && _toggleClass(dragEl, options.dragClass, true); // Set proper drop events if (fallback) { ignoreNextClick = true; _this._loopId = setInterval(_this._emulateDragOver, 50); } else { // Undo what was set in _prepareDragStart before drag started _off(document, 'mouseup', _this._onDrop); _off(document, 'touchend', _this._onDrop); _off(document, 'touchcancel', _this._onDrop); if (dataTransfer) { dataTransfer.effectAllowed = 'move'; options.setData && options.setData.call(_this, dataTransfer, dragEl); } _on(document, 'drop', _this); // #1276 fix: _css(dragEl, 'transform', 'translateZ(0)'); } awaitingDragStarted = true; _this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback)); _on(document, 'selectstart', _this); }, // Returns true - if no further action is needed (either inserted or another condition) _onDragOver: function (/**Event*/evt) { var el = this.el, target = evt.target, dragRect, targetRect, revert, options = this.options, group = options.group, activeSortable = Sortable.active, isOwner = (activeGroup === group), canSort = options.sort, _this = this; if (_silent) return; // IE event order fix if (IE11OrLess && !evt.rootEl && !evt.artificialBubble && !_isTrueParentSortable(el, target)) { return; } // Return invocation when no further action is needed in another sortable function completed() { if (activeSortable) { // Set ghost class to new sortable's ghost class _toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false); _toggleClass(dragEl, options.ghostClass, true); } if (putSortable !== _this && _this !== Sortable.active) { putSortable = _this; } else if (_this === Sortable.active) { putSortable = null; } // Null lastTarget if it is not inside a previously swapped element if ((target === dragEl && !dragEl.animated) || (target === el && !target.animated)) { lastTarget = null; } // no bubbling and not fallback if (!options.dragoverBubble && !evt.rootEl && target !== document) { _this._handleAutoScroll(evt); dragEl.parentNode[expando]._computeIsAligned(evt); } !options.dragoverBubble && evt.stopPropagation && evt.stopPropagation(); return true; } // Call when dragEl has been inserted function changed() { _dispatchEvent(_this, rootEl, 'change', target, el, rootEl, oldIndex, _index(dragEl, options.draggable), evt); } if (evt.preventDefault !== void 0) { evt.cancelable && evt.preventDefault(); } moved = true; target = _closest(target, options.draggable, el, true); // target is dragEl or target is animated if (!!_closest(evt.target, null, dragEl, true) || target.animated) { return completed(); } if (target !== dragEl) { ignoreNextClick = false; } if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = !rootEl.contains(dragEl)) // Reverting item into the original list : ( putSortable === this || ( (this.lastPutMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) && group.checkPut(this, activeSortable, dragEl, evt) ) ) ) ) { var axis = this._getDirection(evt, target); dragRect = _getRect(dragEl); if (revert) { this._hideClone(); parentEl = rootEl; // actualization if (nextEl) { rootEl.insertBefore(dragEl, nextEl); } else { rootEl.appendChild(dragEl); } return completed(); } if ((el.children.length === 0) || (el.children[0] === ghostEl) || _ghostIsLast(evt, axis, el) && !dragEl.animated ) { //assign target only if condition is true if (el.children.length !== 0 && el.children[0] !== ghostEl && el === evt.target) { target = _lastChild(el); } if (target) { targetRect = _getRect(target); } if (isOwner) { activeSortable._hideClone(); } else { activeSortable._showClone(this); } if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) { el.appendChild(dragEl); parentEl = el; // actualization realDragElRect = null; changed(); this._animate(dragRect, dragEl); target && this._animate(targetRect, target); return completed(); } } else if (target && target !== dragEl && target.parentNode === el) { var direction = 0, targetBeforeFirstSwap, aligned = target.sortableMouseAligned, differentLevel = dragEl.parentNode !== el, scrolledPastTop = _isScrolledPast(target, axis === 'vertical' ? 'top' : 'left'); if (lastTarget !== target) { lastMode = null; targetBeforeFirstSwap = _getRect(target)[axis === 'vertical' ? 'top' : 'left']; pastFirstInvertThresh = false; } // Reference: https://www.lucidchart.com/documents/view/10fa0e93-e362-4126-aca2-b709ee56bd8b/0 if ( _isElInRowColumn(dragEl, target, axis) && aligned || differentLevel || scrolledPastTop || options.invertSwap || lastMode === 'insert' || // Needed, in the case that we are inside target and inserted because not aligned... aligned will stay false while inside // and lastMode will change to 'insert', but we must swap lastMode === 'swap' ) { // New target that we will be inside if (lastMode !== 'swap') { isCircumstantialInvert = options.invertSwap || differentLevel || scrolling || scrolledPastTop; } direction = _getSwapDirection(evt, target, axis, options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target); lastMode = 'swap'; } else { // Insert at position direction = _getInsertDirection(target, options); lastMode = 'insert'; } if (direction === 0) return completed(); realDragElRect = null; lastTarget = target; lastDirection = direction; targetRect = _getRect(target); var nextSibling = target.nextElementSibling, after = false; after = direction === 1; var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after); if (moveVector !== false) { if (moveVector === 1 || moveVector === -1) { after = (moveVector === 1); } _silent = true; setTimeout(_unsilent, 30); if (isOwner) { activeSortable._hideClone(); } else { activeSortable._showClone(this); } if (after && !nextSibling) { el.appendChild(dragEl); } else { target.parentNode.insertBefore(dragEl, after ? nextSibling : target); } parentEl = dragEl.parentNode; // actualization // must be done before animation if (targetBeforeFirstSwap !== undefined && !isCircumstantialInvert) { targetMoveDistance = abs(targetBeforeFirstSwap - _getRect(target)[axis === 'vertical' ? 'top' : 'left']); } changed(); !differentLevel && this._animate(targetRect, target); this._animate(dragRect, dragEl); return completed(); } } if (el.contains(dragEl)) { return completed(); } } if (IE11OrLess && !evt.rootEl) { _artificalBubble(el, evt, '_onDragOver'); } return false; }, _animate: function (prevRect, target) { var ms = this.options.animation; if (ms) { var currentRect = _getRect(target); if (target === dragEl) { realDragElRect = currentRect; } if (prevRect.nodeType === 1) { prevRect = _getRect(prevRect); } // Check if actually moving position if ((prevRect.left + prevRect.width / 2) !== (currentRect.left + currentRect.width / 2) || (prevRect.top + prevRect.height / 2) !== (currentRect.top + currentRect.height / 2) ) { var matrix = _matrix(this.el), scaleX = matrix && matrix.a, scaleY = matrix && matrix.d; _css(target, 'transition', 'none'); _css(target, 'transform', 'translate3d(' + (prevRect.left - currentRect.left) / (scaleX ? scaleX : 1) + 'px,' + (prevRect.top - currentRect.top) / (scaleY ? scaleY : 1) + 'px,0)' ); forRepaintDummy = target.offsetWidth; // repaint _css(target, 'transition', 'transform ' + ms + 'ms' + (this.options.easing ? ' ' + this.options.easing : '')); _css(target, 'transform', 'translate3d(0,0,0)'); } (typeof target.animated === 'number') && clearTimeout(target.animated); target.animated = setTimeout(function () { _css(target, 'transition', ''); _css(target, 'transform', ''); target.animated = false; }, ms); } }, _offUpEvents: function () { var ownerDocument = this.el.ownerDocument; _off(document, 'touchmove', this._onTouchMove); _off(document, 'pointermove', this._onTouchMove); _off(ownerDocument, 'mouseup', this._onDrop); _off(ownerDocument, 'touchend', this._onDrop); _off(ownerDocument, 'pointerup', this._onDrop); _off(ownerDocument, 'touchcancel', this._onDrop); _off(document, 'selectstart', this); }, _onDrop: function (/**Event*/evt) { var el = this.el, options = this.options; awaitingDragStarted = false; scrolling = false; isCircumstantialInvert = false; pastFirstInvertThresh = false; clearInterval(this._loopId); clearInterval(pointerElemChangedInterval); _clearAutoScrolls(); _cancelThrottle(); clearTimeout(this._dragStartTimer); _cancelNextTick(this._cloneId); _cancelNextTick(this._dragStartId); // Unbind events _off(document, 'mousemove', this._onTouchMove); if (this.nativeDraggable) { _off(document, 'drop', this); _off(el, 'dragstart', this._onDragStart); _off(document, 'dragover', this._handleAutoScroll); _off(document, 'dragover', _checkAlignment); } this._offUpEvents(); if (evt) { if (moved) { evt.cancelable && evt.preventDefault(); !options.dropBubble && evt.stopPropagation(); } ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl); if (rootEl === parentEl || (putSortable && putSortable.lastPutMode !== 'clone')) { // Remove clone cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl); } if (dragEl) { if (this.nativeDraggable) { _off(dragEl, 'dragend', this); } _disableDraggable(dragEl); dragEl.style['will-change'] = ''; // Remove class's _toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false); _toggleClass(dragEl, this.options.chosenClass, false); // Drag stop event _dispatchEvent(this, rootEl, 'unchoose', dragEl, parentEl, rootEl, oldIndex, null, evt); if (rootEl !== parentEl) { newIndex = _index(dragEl, options.draggable); if (newIndex >= 0) { // Add event _dispatchEvent(null, parentEl, 'add', dragEl, parentEl, rootEl, oldIndex, newIndex, evt); // Remove event _dispatchEvent(this, rootEl, 'remove', dragEl, parentEl, rootEl, oldIndex, newIndex, evt); // drag from one list and drop into another _dispatchEvent(null, parentEl, 'sort', dragEl, parentEl, rootEl, oldIndex, newIndex, evt); _dispatchEvent(this, rootEl, 'sort', dragEl, parentEl, rootEl, oldIndex, newIndex, evt); } putSortable && putSortable.save(); } else { if (dragEl.nextSibling !== nextEl) { // Get the index of the dragged element within its parent newIndex = _index(dragEl, options.draggable); if (newIndex >= 0) { // drag & drop within the same list _dispatchEvent(this, rootEl, 'update', dragEl, parentEl, rootEl, oldIndex, newIndex, evt); _dispatchEvent(this, rootEl, 'sort', dragEl, parentEl, rootEl, oldIndex, newIndex, evt); } } } if (Sortable.active) { /* jshint eqnull:true */ if (newIndex == null || newIndex === -1) { newIndex = oldIndex; } _dispatchEvent(this, rootEl, 'end', dragEl, parentEl, rootEl, oldIndex, newIndex, evt); // Save sorting this.save(); } } } this._nulling(); }, _nulling: function() { rootEl = dragEl = parentEl = ghostEl = nextEl = cloneEl = lastDownEl = scrollEl = scrollParentEl = autoScrolls.length = pointerElemChangedInterval = lastPointerElemX = lastPointerElemY = tapEvt = touchEvt = moved = newIndex = oldIndex = lastTarget = lastDirection = forRepaintDummy = realDragElRect = putSortable = activeGroup = Sortable.active = null; savedInputChecked.forEach(function (el) { el.checked = true; }); savedInputChecked.length = 0; }, handleEvent: function (/**Event*/evt) { switch (evt.type) { case 'drop': case 'dragend': this._onDrop(evt); break; case 'dragenter': case 'dragover': if (dragEl) { this._onDragOver(evt); _globalDragOver(evt); } break; case 'selectstart': evt.preventDefault(); break; } }, /** * Serializes the item into an array of string. * @returns {String[]} */ toArray: function () { var order = [], el, children = this.el.children, i = 0, n = children.length, options = this.options; for (; i < n; i++) { el = children[i]; if (_closest(el, options.draggable, this.el, false)) { order.push(el.getAttribute(options.dataIdAttr) || _generateId(el)); } } return order; }, /** * Sorts the elements according to the array. * @param {String[]} order order of the items */ sort: function (order) { var items = {}, rootEl = this.el; this.toArray().forEach(function (id, i) { var el = rootEl.children[i]; if (_closest(el, this.options.draggable, rootEl, false)) { items[id] = el; } }, this); order.forEach(function (id) { if (items[id]) { rootEl.removeChild(items[id]); rootEl.appendChild(items[id]); } }); }, /** * Save the current sorting */ save: function () { var store = this.options.store; store && store.set && store.set(this); }, /** * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. * @param {HTMLElement} el * @param {String} [selector] default: `options.draggable` * @returns {HTMLElement|null} */ closest: function (el, selector) { return _closest(el, selector || this.options.draggable, this.el, false); }, /** * Set/get option * @param {string} name * @param {*} [value] * @returns {*} */ option: function (name, value) { var options = this.options; if (value === void 0) { return options[name]; } else { options[name] = value; if (name === 'group') { _prepareGroup(options); } } }, /** * Destroy */ destroy: function () { var el = this.el; el[expando] = null; _off(el, 'mousedown', this._onTapStart); _off(el, 'touchstart', this._onTapStart); _off(el, 'pointerdown', this._onTapStart); if (this.nativeDraggable) { _off(el, 'dragover', this); _off(el, 'dragenter', this); } // Remove draggable attributes Array.prototype.forEach.call(el.querySelectorAll('[draggable]'), function (el) { el.removeAttribute('draggable'); }); this._onDrop(); sortables.splice(sortables.indexOf(this.el), 1); this.el = el = null; }, _hideClone: function() { if (!cloneEl.cloneHidden) { _css(cloneEl, 'display', 'none'); cloneEl.cloneHidden = true; if (cloneEl.parentNode && this.options.removeCloneOnHide) { cloneEl.parentNode.removeChild(cloneEl); } } }, _showClone: function(putSortable) { if (putSortable.lastPutMode !== 'clone') { this._hideClone(); return; } if (cloneEl.cloneHidden) { // show clone at dragEl or original position if (rootEl.contains(dragEl) && !this.options.group.revertClone) { rootEl.insertBefore(cloneEl, dragEl); } else if (nextEl) { rootEl.insertBefore(cloneEl, nextEl); } else { rootEl.appendChild(cloneEl); } if (this.options.group.revertClone) { this._animate(dragEl, cloneEl); } _css(cloneEl, 'display', ''); cloneEl.cloneHidden = false; } } }; function _closest(/**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx, includeCTX) { if (el) { ctx = ctx || document; do { if ( selector != null && ( selector[0] === '>' && el.parentNode === ctx && _matches(el, selector.substring(1)) || _matches(el, selector) ) || includeCTX && el === ctx ) { return el; } if (el === ctx) break; /* jshint boss:true */ } while (el = _getParentOrHost(el)); } return null; } function _getParentOrHost(el) { return (el.host && el !== document && el.host.nodeType) ? el.host : el.parentNode; } function _globalDragOver(/**Event*/evt) { if (evt.dataTransfer) { evt.dataTransfer.dropEffect = 'move'; } evt.cancelable && evt.preventDefault(); } function _on(el, event, fn) { el.addEventListener(event, fn, captureMode); } function _off(el, event, fn) { el.removeEventListener(event, fn, captureMode); } function _toggleClass(el, name, state) { if (el && name) { if (el.classList) { el.classList[state ? 'add' : 'remove'](name); } else { var className = (' ' + el.className + ' ').replace(R_SPACE, ' ').replace(' ' + name + ' ', ' '); el.className = (className + (state ? ' ' + name : '')).replace(R_SPACE, ' '); } } } function _css(el, prop, val) { var style = el && el.style; if (style) { if (val === void 0) { if (document.defaultView && document.defaultView.getComputedStyle) { val = document.defaultView.getComputedStyle(el, ''); } else if (el.currentStyle) { val = el.currentStyle; } return prop === void 0 ? val : val[prop]; } else { if (!(prop in style) && prop.indexOf('webkit') === -1) { prop = '-webkit-' + prop; } style[prop] = val + (typeof val === 'string' ? '' : 'px'); } } } function _matrix(el) { var appliedTransforms = ''; do { var transform = _css(el, 'transform'); if (transform && transform !== 'none') { appliedTransforms = transform + ' ' + appliedTransforms; } /* jshint boss:true */ } while (el = el.parentNode); if (window.DOMMatrix) { return new DOMMatrix(appliedTransforms); } else if (window.WebKitCSSMatrix) { return new WebKitCSSMatrix(appliedTransforms); } else if (window.CSSMatrix) { return new CSSMatrix(appliedTransforms); } } function _find(ctx, tagName, iterator) { if (ctx) { var list = ctx.getElementsByTagName(tagName), i = 0, n = list.length; if (iterator) { for (; i < n; i++) { iterator(list[i], i); } } return list; } return []; } function _dispatchEvent(sortable, rootEl, name, targetEl, toEl, fromEl, startIndex, newIndex, originalEvt) { sortable = (sortable || rootEl[expando]); var evt, options = sortable.options, onName = 'on' + name.charAt(0).toUpperCase() + name.substr(1); // Support for new CustomEvent feature if (window.CustomEvent && !IE11OrLess && !Edge) { evt = new CustomEvent(name, { bubbles: true, cancelable: true }); } else { evt = document.createEvent('Event'); evt.initEvent(name, true, true); } evt.to = toEl || rootEl; evt.from = fromEl || rootEl; evt.item = targetEl || rootEl; evt.clone = cloneEl; evt.oldIndex = startIndex; evt.newIndex = newIndex; evt.originalEvent = originalEvt; if (rootEl) { rootEl.dispatchEvent(evt); } if (options[onName]) { options[onName].call(sortable, evt); } } function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvt, willInsertAfter) { var evt, sortable = fromEl[expando], onMoveFn = sortable.options.onMove, retVal; // Support for new CustomEvent feature if (window.CustomEvent && !IE11OrLess && !Edge) { evt = new CustomEvent('move', { bubbles: true, cancelable: true }); } else { evt = document.createEvent('Event'); evt.initEvent('move', true, true); } evt.to = toEl; evt.from = fromEl; evt.dragged = dragEl; evt.draggedRect = dragRect; evt.related = targetEl || toEl; evt.relatedRect = targetRect || _getRect(toEl); evt.willInsertAfter = willInsertAfter; evt.originalEvent = originalEvt; fromEl.dispatchEvent(evt); if (onMoveFn) { retVal = onMoveFn.call(sortable, evt, originalEvt); } return retVal; } function _disableDraggable(el) { el.draggable = false; } function _unsilent() { _silent = false; } /** * Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible) * and non-draggable elements * @param {HTMLElement} el The parent element * @param {Number} childNum The index of the child * @param {Object} options Parent Sortable's options * @return {HTMLElement} The child at index childNum, or null if not found */ function _getChild(el, childNum, options) { var currentChild = 0, i = 0, children = el.children; while (i < children.length) { if ( children[i].style.display !== 'none' && children[i] !== ghostEl && children[i] !== dragEl && _closest(children[i], options.draggable, el, false) ) { if (currentChild === childNum) { return children[i]; } currentChild++; } i++; } return null; } /** * Gets the last child in the el, ignoring ghostEl or invisible elements (clones) * @param {HTMLElement} el Parent element * @return {HTMLElement} The last child, ignoring ghostEl */ function _lastChild(el) { var last = el.lastElementChild; while (last === ghostEl || last.style.display === 'none') { last = last.previousElementSibling; if (!last) break; } return last || null; } function _ghostIsLast(evt, axis, el) { var elRect = _getRect(_lastChild(el)), mouseOnAxis = axis === 'vertical' ? evt.clientY : evt.clientX, mouseOnOppAxis = axis === 'vertical' ? evt.clientX : evt.clientY, targetS2 = axis === 'vertical' ? elRect.bottom : elRect.right, targetS1Opp = axis === 'vertical' ? elRect.left : elRect.top, targetS2Opp = axis === 'vertical' ? elRect.right : elRect.bottom, spacer = 10; return ( axis === 'vertical' ? (mouseOnOppAxis > targetS2Opp + spacer || mouseOnOppAxis <= targetS2Opp && mouseOnAxis > targetS2 && mouseOnOppAxis >= targetS1Opp) : (mouseOnAxis > targetS2 && mouseOnOppAxis > targetS1Opp || mouseOnAxis <= targetS2 && mouseOnOppAxis > targetS2Opp + spacer) ); } function _getSwapDirection(evt, target, axis, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) { var targetRect = _getRect(target), mouseOnAxis = axis === 'vertical' ? evt.clientY : evt.clientX, targetLength = axis === 'vertical' ? targetRect.height : targetRect.width, targetS1 = axis === 'vertical' ? targetRect.top : targetRect.left, targetS2 = axis === 'vertical' ? targetRect.bottom : targetRect.right, dragRect = _getRect(dragEl), invert = false; if (!invertSwap) { // Never invert or create dragEl shadow when target movemenet causes mouse to move past the end of regular swapThreshold if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) { // multiplied only by swapThreshold because mouse will already be inside target by (1 - threshold) * targetLength / 2 // check if past first invert threshold on side opposite of lastDirection if (!pastFirstInvertThresh && (lastDirection === 1 ? ( mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 ) : ( mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2 ) ) ) { // past first invert threshold, do not restrict inverted threshold to dragEl shadow pastFirstInvertThresh = true; } if (!pastFirstInvertThresh) { var dragS1 = axis === 'vertical' ? dragRect.top : dragRect.left, dragS2 = axis === 'vertical' ? dragRect.bottom : dragRect.right; // dragEl shadow (target move distance shadow) if ( lastDirection === 1 ? ( mouseOnAxis < targetS1 + targetMoveDistance // over dragEl shadow ) : ( mouseOnAxis > targetS2 - targetMoveDistance ) ) { return lastDirection * -1; } } else { invert = true; } } else { // Regular if ( mouseOnAxis > targetS1 + (targetLength * (1 - swapThreshold) / 2) && mouseOnAxis < targetS2 - (targetLength * (1 - swapThreshold) / 2) ) { return ((mouseOnAxis > targetS1 + targetLength / 2) ? -1 : 1); } } } invert = invert || invertSwap; if (invert) { // Invert of regular if ( mouseOnAxis < targetS1 + (targetLength * invertedSwapThreshold / 2) || mouseOnAxis > targetS2 - (targetLength * invertedSwapThreshold / 2) ) { return ((mouseOnAxis > targetS1 + targetLength / 2) ? 1 : -1); } } return 0; } /** * Gets the direction dragEl must be swapped relative to target in order to make it * seem that dragEl has been "inserted" into that element's position * @param {HTMLElement} target The target whose position dragEl is being inserted at * @param {Object} options options of the parent sortable * @return {Number} Direction dragEl must be swapped */ function _getInsertDirection(target, options) { var dragElIndex = _index(dragEl, options.draggable), targetIndex = _index(target, options.draggable); if (dragElIndex < targetIndex) { return 1; } else { return -1; } } /** * Generate id * @param {HTMLElement} el * @returns {String} * @private */ function _generateId(el) { var str = el.tagName + el.className + el.src + el.href + el.textContent, i = str.length, sum = 0; while (i--) { sum += str.charCodeAt(i); } return sum.toString(36); } /** * Returns the index of an element within its parent for a selected set of * elements * @param {HTMLElement} el * @param {selector} selector * @return {number} */ function _index(el, selector) { var index = 0; if (!el || !el.parentNode) { return -1; } while (el && (el = el.previousElementSibling)) { if ((el.nodeName.toUpperCase() !== 'TEMPLATE') && el !== cloneEl) { index++; } } return index; } function _matches(/**HTMLElement*/el, /**String*/selector) { if (el) { try { if (el.matches) { return el.matches(selector); } else if (el.msMatchesSelector) { return el.msMatchesSelector(selector); } else if (el.webkitMatchesSelector) { return el.webkitMatchesSelector(selector); } } catch(_) { return false; } } return false; } var _throttleTimeout; function _throttle(callback, ms) { return function () { if (!_throttleTimeout) { var args = arguments, _this = this; _throttleTimeout = setTimeout(function () { if (args.length === 1) { callback.call(_this, args[0]); } else { callback.apply(_this, args); } _throttleTimeout = void 0; }, ms); } }; } function _cancelThrottle() { clearTimeout(_throttleTimeout); _throttleTimeout = void 0; } function _extend(dst, src) { if (dst && src) { for (var key in src) { if (src.hasOwnProperty(key)) { dst[key] = src[key]; } } } return dst; } function _clone(el) { if (Polymer && Polymer.dom) { return Polymer.dom(el).cloneNode(true); } else if ($) { return $(el).clone(true)[0]; } else { return el.cloneNode(true); } } function _saveInputCheckedState(root) { savedInputChecked.length = 0; var inputs = root.getElementsByTagName('input'); var idx = inputs.length; while (idx--) { var el = inputs[idx]; el.checked && savedInputChecked.push(el); } } function _nextTick(fn) { return setTimeout(fn, 0); } function _cancelNextTick(id) { return clearTimeout(id); } /** * Returns the "bounding client rect" of given element * @param {HTMLElement} el The element whose boundingClientRect is wanted * @param {[HTMLElement]} container the parent the element will be placed in * @param {[Boolean]} adjustForTransform Whether the rect should compensate for parent's transform * (used for fixed positioning on el) * @return {Object} The boundingClientRect of el */ function _getRect(el, container, adjustForTransform) { if (!el.getBoundingClientRect && el !== win) return; var elRect, top, left, bottom, right, height, width; if (el !== win) { elRect = el.getBoundingClientRect(); top = elRect.top; left = elRect.left; bottom = elRect.bottom; right = elRect.right; height = elRect.height; width = elRect.width; } else { top = 0; left = 0; bottom = window.innerHeight; right = window.innerWidth; height = window.innerHeight; width = window.innerWidth; } if (adjustForTransform && el !== win) { // Adjust for translate() container = container || el.parentNode; // solves #1123 (see: https://stackoverflow.com/a/37953806/6088312) // Not needed on <= IE11 if (!IE11OrLess) { do { if (container && container.getBoundingClientRect && _css(container, 'transform') !== 'none') { var containerRect = container.getBoundingClientRect(); // Set relative to edges of padding box of container top -= containerRect.top + parseInt(_css(container, 'border-top-width')); left -= containerRect.left + parseInt(_css(container, 'border-left-width')); bottom = top + elRect.height; right = left + elRect.width; break; } /* jshint boss:true */ } while (container = container.parentNode); } // Adjust for scale() var matrix = _matrix(el), scaleX = matrix && matrix.a, scaleY = matrix && matrix.d; if (matrix) { top /= scaleY; left /= scaleX; width /= scaleX; height /= scaleY; bottom = top + height; right = left + width; } } return { top: top, left: left, bottom: bottom, right: right, width: width, height: height }; } /** * Checks if a side of an element is scrolled past a side of it's parents * @param {HTMLElement} el The element who's side being scrolled out of view is in question * @param {String} side Side of the element in question ('top', 'left', 'right', 'bottom') * @return {Boolean} Whether the element is overflowing the viewport on the given side of it's parent */ function _isScrolledPast(el, side) { var parent = _getParentAutoScrollElement(parent, true), elSide = _getRect(el)[side]; /* jshint boss:true */ while (parent) { var parentSide = _getRect(parent)[side], visible; if (side === 'top' || side === 'left') { visible = elSide >= parentSide; } else { visible = elSide <= parentSide; } if (!visible) return true; if (parent === win) break; parent = _getParentAutoScrollElement(parent, false); } return false; } // Fixed #973: _on(document, 'touchmove', function(evt) { if ((Sortable.active || awaitingDragStarted) && evt.cancelable) { evt.preventDefault(); } }); // Export utils Sortable.utils = { on: _on, off: _off, css: _css, find: _find, is: function (el, selector) { return !!_closest(el, selector, el, false); }, extend: _extend, throttle: _throttle, closest: _closest, toggleClass: _toggleClass, clone: _clone, index: _index, nextTick: _nextTick, cancelNextTick: _cancelNextTick, detectDirection: _detectDirection, getChild: _getChild }; /** * Create sortable instance * @param {HTMLElement} el * @param {Object} [options] */ Sortable.create = function (el, options) { return new Sortable(el, options); }; // Export Sortable.version = '1.8.3'; return Sortable; }); /***/ }), /* 173 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global, setImmediate) {/*! * Vue.js v2.6.6 * (c) 2014-2019 Evan You * Released under the MIT License. */ /* */ var emptyObject = Object.freeze({}); // These helpers produce better VM code in JS engines due to their // explicitness and function inlining. function isUndef (v) { return v === undefined || v === null } function isDef (v) { return v !== undefined && v !== null } function isTrue (v) { return v === true } function isFalse (v) { return v === false } /** * Check if value is primitive. */ function isPrimitive (value) { return ( typeof value === 'string' || typeof value === 'number' || // $flow-disable-line typeof value === 'symbol' || typeof value === 'boolean' ) } /** * Quick object check - this is primarily used to tell * Objects from primitive values when we know the value * is a JSON-compliant type. */ function isObject (obj) { return obj !== null && typeof obj === 'object' } /** * Get the raw type string of a value, e.g., [object Object]. */ var _toString = Object.prototype.toString; function toRawType (value) { return _toString.call(value).slice(8, -1) } /** * Strict object type check. Only returns true * for plain JavaScript objects. */ function isPlainObject (obj) { return _toString.call(obj) === '[object Object]' } function isRegExp (v) { return _toString.call(v) === '[object RegExp]' } /** * Check if val is a valid array index. */ function isValidArrayIndex (val) { var n = parseFloat(String(val)); return n >= 0 && Math.floor(n) === n && isFinite(val) } function isPromise (val) { return ( isDef(val) && typeof val.then === 'function' && typeof val.catch === 'function' ) } /** * Convert a value to a string that is actually rendered. */ function toString (val) { return val == null ? '' : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString) ? JSON.stringify(val, null, 2) : String(val) } /** * Convert an input value to a number for persistence. * If the conversion fails, return original string. */ function toNumber (val) { var n = parseFloat(val); return isNaN(n) ? val : n } /** * Make a map and return a function for checking if a key * is in that map. */ function makeMap ( str, expectsLowerCase ) { var map = Object.create(null); var list = str.split(','); for (var i = 0; i < list.length; i++) { map[list[i]] = true; } return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; } } /** * Check if a tag is a built-in tag. */ var isBuiltInTag = makeMap('slot,component', true); /** * Check if an attribute is a reserved attribute. */ var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is'); /** * Remove an item from an array. */ function remove (arr, item) { if (arr.length) { var index = arr.indexOf(item); if (index > -1) { return arr.splice(index, 1) } } } /** * Check whether an object has the property. */ var hasOwnProperty = Object.prototype.hasOwnProperty; function hasOwn (obj, key) { return hasOwnProperty.call(obj, key) } /** * Create a cached version of a pure function. */ function cached (fn) { var cache = Object.create(null); return (function cachedFn (str) { var hit = cache[str]; return hit || (cache[str] = fn(str)) }) } /** * Camelize a hyphen-delimited string. */ var camelizeRE = /-(\w)/g; var camelize = cached(function (str) { return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; }) }); /** * Capitalize a string. */ var capitalize = cached(function (str) { return str.charAt(0).toUpperCase() + str.slice(1) }); /** * Hyphenate a camelCase string. */ var hyphenateRE = /\B([A-Z])/g; var hyphenate = cached(function (str) { return str.replace(hyphenateRE, '-$1').toLowerCase() }); /** * Simple bind polyfill for environments that do not support it, * e.g., PhantomJS 1.x. Technically, we don't need this anymore * since native bind is now performant enough in most browsers. * But removing it would mean breaking code that was able to run in * PhantomJS 1.x, so this must be kept for backward compatibility. */ /* istanbul ignore next */ function polyfillBind (fn, ctx) { function boundFn (a) { var l = arguments.length; return l ? l > 1 ? fn.apply(ctx, arguments) : fn.call(ctx, a) : fn.call(ctx) } boundFn._length = fn.length; return boundFn } function nativeBind (fn, ctx) { return fn.bind(ctx) } var bind = Function.prototype.bind ? nativeBind : polyfillBind; /** * Convert an Array-like object to a real Array. */ function toArray (list, start) { start = start || 0; var i = list.length - start; var ret = new Array(i); while (i--) { ret[i] = list[i + start]; } return ret } /** * Mix properties into target object. */ function extend (to, _from) { for (var key in _from) { to[key] = _from[key]; } return to } /** * Merge an Array of Objects into a single Object. */ function toObject (arr) { var res = {}; for (var i = 0; i < arr.length; i++) { if (arr[i]) { extend(res, arr[i]); } } return res } /* eslint-disable no-unused-vars */ /** * Perform no operation. * Stubbing args to make Flow happy without leaving useless transpiled code * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/). */ function noop (a, b, c) {} /** * Always return false. */ var no = function (a, b, c) { return false; }; /* eslint-enable no-unused-vars */ /** * Return the same value. */ var identity = function (_) { return _; }; /** * Generate a string containing static keys from compiler modules. */ function genStaticKeys (modules) { return modules.reduce(function (keys, m) { return keys.concat(m.staticKeys || []) }, []).join(',') } /** * Check if two values are loosely equal - that is, * if they are plain objects, do they have the same shape? */ function looseEqual (a, b) { if (a === b) { return true } var isObjectA = isObject(a); var isObjectB = isObject(b); if (isObjectA && isObjectB) { try { var isArrayA = Array.isArray(a); var isArrayB = Array.isArray(b); if (isArrayA && isArrayB) { return a.length === b.length && a.every(function (e, i) { return looseEqual(e, b[i]) }) } else if (a instanceof Date && b instanceof Date) { return a.getTime() === b.getTime() } else if (!isArrayA && !isArrayB) { var keysA = Object.keys(a); var keysB = Object.keys(b); return keysA.length === keysB.length && keysA.every(function (key) { return looseEqual(a[key], b[key]) }) } else { /* istanbul ignore next */ return false } } catch (e) { /* istanbul ignore next */ return false } } else if (!isObjectA && !isObjectB) { return String(a) === String(b) } else { return false } } /** * Return the first index at which a loosely equal value can be * found in the array (if value is a plain object, the array must * contain an object of the same shape), or -1 if it is not present. */ function looseIndexOf (arr, val) { for (var i = 0; i < arr.length; i++) { if (looseEqual(arr[i], val)) { return i } } return -1 } /** * Ensure a function is called only once. */ function once (fn) { var called = false; return function () { if (!called) { called = true; fn.apply(this, arguments); } } } var SSR_ATTR = 'data-server-rendered'; var ASSET_TYPES = [ 'component', 'directive', 'filter' ]; var LIFECYCLE_HOOKS = [ 'beforeCreate', 'created', 'beforeMount', 'mounted', 'beforeUpdate', 'updated', 'beforeDestroy', 'destroyed', 'activated', 'deactivated', 'errorCaptured', 'serverPrefetch' ]; /* */ var config = ({ /** * Option merge strategies (used in core/util/options) */ // $flow-disable-line optionMergeStrategies: Object.create(null), /** * Whether to suppress warnings. */ silent: false, /** * Show production mode tip message on boot? */ productionTip: "development" !== 'production', /** * Whether to enable devtools */ devtools: "development" !== 'production', /** * Whether to record perf */ performance: false, /** * Error handler for watcher errors */ errorHandler: null, /** * Warn handler for watcher warns */ warnHandler: null, /** * Ignore certain custom elements */ ignoredElements: [], /** * Custom user key aliases for v-on */ // $flow-disable-line keyCodes: Object.create(null), /** * Check if a tag is reserved so that it cannot be registered as a * component. This is platform-dependent and may be overwritten. */ isReservedTag: no, /** * Check if an attribute is reserved so that it cannot be used as a component * prop. This is platform-dependent and may be overwritten. */ isReservedAttr: no, /** * Check if a tag is an unknown element. * Platform-dependent. */ isUnknownElement: no, /** * Get the namespace of an element */ getTagNamespace: noop, /** * Parse the real tag name for the specific platform. */ parsePlatformTagName: identity, /** * Check if an attribute must be bound using property, e.g. value * Platform-dependent. */ mustUseProp: no, /** * Perform updates asynchronously. Intended to be used by Vue Test Utils * This will significantly reduce performance if set to false. */ async: true, /** * Exposed for legacy reasons */ _lifecycleHooks: LIFECYCLE_HOOKS }); /* */ /** * unicode letters used for parsing html tags, component names and property paths. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname * skipping \u10000-\uEFFFF due to it freezing up PhantomJS */ var unicodeLetters = 'a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD'; /** * Check if a string starts with $ or _ */ function isReserved (str) { var c = (str + '').charCodeAt(0); return c === 0x24 || c === 0x5F } /** * Define a property. */ function def (obj, key, val, enumerable) { Object.defineProperty(obj, key, { value: val, enumerable: !!enumerable, writable: true, configurable: true }); } /** * Parse simple path. */ var bailRE = new RegExp(("[^" + unicodeLetters + ".$_\\d]")); function parsePath (path) { if (bailRE.test(path)) { return } var segments = path.split('.'); return function (obj) { for (var i = 0; i < segments.length; i++) { if (!obj) { return } obj = obj[segments[i]]; } return obj } } /* */ // can we use __proto__? var hasProto = '__proto__' in {}; // Browser environment sniffing var inBrowser = typeof window !== 'undefined'; var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform; var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase(); var UA = inBrowser && window.navigator.userAgent.toLowerCase(); var isIE = UA && /msie|trident/.test(UA); var isIE9 = UA && UA.indexOf('msie 9.0') > 0; var isEdge = UA && UA.indexOf('edge/') > 0; var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android'); var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios'); var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge; var isPhantomJS = UA && /phantomjs/.test(UA); var isFF = UA && UA.match(/firefox\/(\d+)/); // Firefox has a "watch" function on Object.prototype... var nativeWatch = ({}).watch; var supportsPassive = false; if (inBrowser) { try { var opts = {}; Object.defineProperty(opts, 'passive', ({ get: function get () { /* istanbul ignore next */ supportsPassive = true; } })); // https://github.com/facebook/flow/issues/285 window.addEventListener('test-passive', null, opts); } catch (e) {} } // this needs to be lazy-evaled because vue may be required before // vue-server-renderer can set VUE_ENV var _isServer; var isServerRendering = function () { if (_isServer === undefined) { /* istanbul ignore if */ if (!inBrowser && !inWeex && typeof global !== 'undefined') { // detect presence of vue-server-renderer and avoid // Webpack shimming the process _isServer = global['process'] && global['process'].env.VUE_ENV === 'server'; } else { _isServer = false; } } return _isServer }; // detect devtools var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__; /* istanbul ignore next */ function isNative (Ctor) { return typeof Ctor === 'function' && /native code/.test(Ctor.toString()) } var hasSymbol = typeof Symbol !== 'undefined' && isNative(Symbol) && typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys); var _Set; /* istanbul ignore if */ // $flow-disable-line if (typeof Set !== 'undefined' && isNative(Set)) { // use native Set when available. _Set = Set; } else { // a non-standard Set polyfill that only works with primitive keys. _Set = /*@__PURE__*/(function () { function Set () { this.set = Object.create(null); } Set.prototype.has = function has (key) { return this.set[key] === true }; Set.prototype.add = function add (key) { this.set[key] = true; }; Set.prototype.clear = function clear () { this.set = Object.create(null); }; return Set; }()); } /* */ var warn = noop; var tip = noop; var generateComponentTrace = (noop); // work around flow check var formatComponentName = (noop); { var hasConsole = typeof console !== 'undefined'; var classifyRE = /(?:^|[-_])(\w)/g; var classify = function (str) { return str .replace(classifyRE, function (c) { return c.toUpperCase(); }) .replace(/[-_]/g, ''); }; warn = function (msg, vm) { var trace = vm ? generateComponentTrace(vm) : ''; if (config.warnHandler) { config.warnHandler.call(null, msg, vm, trace); } else if (hasConsole && (!config.silent)) { console.error(("[Vue warn]: " + msg + trace)); } }; tip = function (msg, vm) { if (hasConsole && (!config.silent)) { console.warn("[Vue tip]: " + msg + ( vm ? generateComponentTrace(vm) : '' )); } }; formatComponentName = function (vm, includeFile) { if (vm.$root === vm) { return '<Root>' } var options = typeof vm === 'function' && vm.cid != null ? vm.options : vm._isVue ? vm.$options || vm.constructor.options : vm; var name = options.name || options._componentTag; var file = options.__file; if (!name && file) { var match = file.match(/([^/\\]+)\.vue$/); name = match && match[1]; } return ( (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") + (file && includeFile !== false ? (" at " + file) : '') ) }; var repeat = function (str, n) { var res = ''; while (n) { if (n % 2 === 1) { res += str; } if (n > 1) { str += str; } n >>= 1; } return res }; generateComponentTrace = function (vm) { if (vm._isVue && vm.$parent) { var tree = []; var currentRecursiveSequence = 0; while (vm) { if (tree.length > 0) { var last = tree[tree.length - 1]; if (last.constructor === vm.constructor) { currentRecursiveSequence++; vm = vm.$parent; continue } else if (currentRecursiveSequence > 0) { tree[tree.length - 1] = [last, currentRecursiveSequence]; currentRecursiveSequence = 0; } } tree.push(vm); vm = vm.$parent; } return '\n\nfound in\n\n' + tree .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm) ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)") : formatComponentName(vm))); }) .join('\n') } else { return ("\n\n(found in " + (formatComponentName(vm)) + ")") } }; } /* */ var uid = 0; /** * A dep is an observable that can have multiple * directives subscribing to it. */ var Dep = function Dep () { this.id = uid++; this.subs = []; }; Dep.prototype.addSub = function addSub (sub) { this.subs.push(sub); }; Dep.prototype.removeSub = function removeSub (sub) { remove(this.subs, sub); }; Dep.prototype.depend = function depend () { if (Dep.target) { Dep.target.addDep(this); } }; Dep.prototype.notify = function notify () { // stabilize the subscriber list first var subs = this.subs.slice(); if (!config.async) { // subs aren't sorted in scheduler if not running async // we need to sort them now to make sure they fire in correct // order subs.sort(function (a, b) { return a.id - b.id; }); } for (var i = 0, l = subs.length; i < l; i++) { subs[i].update(); } }; // The current target watcher being evaluated. // This is globally unique because only one watcher // can be evaluated at a time. Dep.target = null; var targetStack = []; function pushTarget (target) { targetStack.push(target); Dep.target = target; } function popTarget () { targetStack.pop(); Dep.target = targetStack[targetStack.length - 1]; } /* */ var VNode = function VNode ( tag, data, children, text, elm, context, componentOptions, asyncFactory ) { this.tag = tag; this.data = data; this.children = children; this.text = text; this.elm = elm; this.ns = undefined; this.context = context; this.fnContext = undefined; this.fnOptions = undefined; this.fnScopeId = undefined; this.key = data && data.key; this.componentOptions = componentOptions; this.componentInstance = undefined; this.parent = undefined; this.raw = false; this.isStatic = false; this.isRootInsert = true; this.isComment = false; this.isCloned = false; this.isOnce = false; this.asyncFactory = asyncFactory; this.asyncMeta = undefined; this.isAsyncPlaceholder = false; }; var prototypeAccessors = { child: { configurable: true } }; // DEPRECATED: alias for componentInstance for backwards compat. /* istanbul ignore next */ prototypeAccessors.child.get = function () { return this.componentInstance }; Object.defineProperties( VNode.prototype, prototypeAccessors ); var createEmptyVNode = function (text) { if ( text === void 0 ) text = ''; var node = new VNode(); node.text = text; node.isComment = true; return node }; function createTextVNode (val) { return new VNode(undefined, undefined, undefined, String(val)) } // optimized shallow clone // used for static nodes and slot nodes because they may be reused across // multiple renders, cloning them avoids errors when DOM manipulations rely // on their elm reference. function cloneVNode (vnode) { var cloned = new VNode( vnode.tag, vnode.data, // #7975 // clone children array to avoid mutating original in case of cloning // a child. vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory ); cloned.ns = vnode.ns; cloned.isStatic = vnode.isStatic; cloned.key = vnode.key; cloned.isComment = vnode.isComment; cloned.fnContext = vnode.fnContext; cloned.fnOptions = vnode.fnOptions; cloned.fnScopeId = vnode.fnScopeId; cloned.asyncMeta = vnode.asyncMeta; cloned.isCloned = true; return cloned } /* * not type checking this file because flow doesn't play well with * dynamically accessing methods on Array prototype */ var arrayProto = Array.prototype; var arrayMethods = Object.create(arrayProto); var methodsToPatch = [ 'push', 'pop', 'shift', 'unshift', 'splice', 'sort', 'reverse' ]; /** * Intercept mutating methods and emit events */ methodsToPatch.forEach(function (method) { // cache original method var original = arrayProto[method]; def(arrayMethods, method, function mutator () { var args = [], len = arguments.length; while ( len-- ) args[ len ] = arguments[ len ]; var result = original.apply(this, args); var ob = this.__ob__; var inserted; switch (method) { case 'push': case 'unshift': inserted = args; break case 'splice': inserted = args.slice(2); break } if (inserted) { ob.observeArray(inserted); } // notify change ob.dep.notify(); return result }); }); /* */ var arrayKeys = Object.getOwnPropertyNames(arrayMethods); /** * In some cases we may want to disable observation inside a component's * update computation. */ var shouldObserve = true; function toggleObserving (value) { shouldObserve = value; } /** * Observer class that is attached to each observed * object. Once attached, the observer converts the target * object's property keys into getter/setters that * collect dependencies and dispatch updates. */ var Observer = function Observer (value) { this.value = value; this.dep = new Dep(); this.vmCount = 0; def(value, '__ob__', this); if (Array.isArray(value)) { if (hasProto) { protoAugment(value, arrayMethods); } else { copyAugment(value, arrayMethods, arrayKeys); } this.observeArray(value); } else { this.walk(value); } }; /** * Walk through all properties and convert them into * getter/setters. This method should only be called when * value type is Object. */ Observer.prototype.walk = function walk (obj) { var keys = Object.keys(obj); for (var i = 0; i < keys.length; i++) { defineReactive$$1(obj, keys[i]); } }; /** * Observe a list of Array items. */ Observer.prototype.observeArray = function observeArray (items) { for (var i = 0, l = items.length; i < l; i++) { observe(items[i]); } }; // helpers /** * Augment a target Object or Array by intercepting * the prototype chain using __proto__ */ function protoAugment (target, src) { /* eslint-disable no-proto */ target.__proto__ = src; /* eslint-enable no-proto */ } /** * Augment a target Object or Array by defining * hidden properties. */ /* istanbul ignore next */ function copyAugment (target, src, keys) { for (var i = 0, l = keys.length; i < l; i++) { var key = keys[i]; def(target, key, src[key]); } } /** * Attempt to create an observer instance for a value, * returns the new observer if successfully observed, * or the existing observer if the value already has one. */ function observe (value, asRootData) { if (!isObject(value) || value instanceof VNode) { return } var ob; if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) { ob = value.__ob__; } else if ( shouldObserve && !isServerRendering() && (Array.isArray(value) || isPlainObject(value)) && Object.isExtensible(value) && !value._isVue ) { ob = new Observer(value); } if (asRootData && ob) { ob.vmCount++; } return ob } /** * Define a reactive property on an Object. */ function defineReactive$$1 ( obj, key, val, customSetter, shallow ) { var dep = new Dep(); var property = Object.getOwnPropertyDescriptor(obj, key); if (property && property.configurable === false) { return } // cater for pre-defined getter/setters var getter = property && property.get; var setter = property && property.set; if ((!getter || setter) && arguments.length === 2) { val = obj[key]; } var childOb = !shallow && observe(val); Object.defineProperty(obj, key, { enumerable: true, configurable: true, get: function reactiveGetter () { var value = getter ? getter.call(obj) : val; if (Dep.target) { dep.depend(); if (childOb) { childOb.dep.depend(); if (Array.isArray(value)) { dependArray(value); } } } return value }, set: function reactiveSetter (newVal) { var value = getter ? getter.call(obj) : val; /* eslint-disable no-self-compare */ if (newVal === value || (newVal !== newVal && value !== value)) { return } /* eslint-enable no-self-compare */ if (customSetter) { customSetter(); } // #7981: for accessor properties without setter if (getter && !setter) { return } if (setter) { setter.call(obj, newVal); } else { val = newVal; } childOb = !shallow && observe(newVal); dep.notify(); } }); } /** * Set a property on an object. Adds the new property and * triggers change notification if the property doesn't * already exist. */ function set (target, key, val) { if (isUndef(target) || isPrimitive(target) ) { warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target)))); } if (Array.isArray(target) && isValidArrayIndex(key)) { target.length = Math.max(target.length, key); target.splice(key, 1, val); return val } if (key in target && !(key in Object.prototype)) { target[key] = val; return val } var ob = (target).__ob__; if (target._isVue || (ob && ob.vmCount)) { warn( 'Avoid adding reactive properties to a Vue instance or its root $data ' + 'at runtime - declare it upfront in the data option.' ); return val } if (!ob) { target[key] = val; return val } defineReactive$$1(ob.value, key, val); ob.dep.notify(); return val } /** * Delete a property and trigger change if necessary. */ function del (target, key) { if (isUndef(target) || isPrimitive(target) ) { warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target)))); } if (Array.isArray(target) && isValidArrayIndex(key)) { target.splice(key, 1); return } var ob = (target).__ob__; if (target._isVue || (ob && ob.vmCount)) { warn( 'Avoid deleting properties on a Vue instance or its root $data ' + '- just set it to null.' ); return } if (!hasOwn(target, key)) { return } delete target[key]; if (!ob) { return } ob.dep.notify(); } /** * Collect dependencies on array elements when the array is touched, since * we cannot intercept array element access like property getters. */ function dependArray (value) { for (var e = (void 0), i = 0, l = value.length; i < l; i++) { e = value[i]; e && e.__ob__ && e.__ob__.dep.depend(); if (Array.isArray(e)) { dependArray(e); } } } /* */ /** * Option overwriting strategies are functions that handle * how to merge a parent option value and a child option * value into the final value. */ var strats = config.optionMergeStrategies; /** * Options with restrictions */ { strats.el = strats.propsData = function (parent, child, vm, key) { if (!vm) { warn( "option \"" + key + "\" can only be used during instance " + 'creation with the `new` keyword.' ); } return defaultStrat(parent, child) }; } /** * Helper that recursively merges two data objects together. */ function mergeData (to, from) { if (!from) { return to } var key, toVal, fromVal; var keys = hasSymbol ? Reflect.ownKeys(from) : Object.keys(from); for (var i = 0; i < keys.length; i++) { key = keys[i]; // in case the object is already observed... if (key === '__ob__') { continue } toVal = to[key]; fromVal = from[key]; if (!hasOwn(to, key)) { set(to, key, fromVal); } else if ( toVal !== fromVal && isPlainObject(toVal) && isPlainObject(fromVal) ) { mergeData(toVal, fromVal); } } return to } /** * Data */ function mergeDataOrFn ( parentVal, childVal, vm ) { if (!vm) { // in a Vue.extend merge, both should be functions if (!childVal) { return parentVal } if (!parentVal) { return childVal } // when parentVal & childVal are both present, // we need to return a function that returns the // merged result of both functions... no need to // check if parentVal is a function here because // it has to be a function to pass previous merges. return function mergedDataFn () { return mergeData( typeof childVal === 'function' ? childVal.call(this, this) : childVal, typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal ) } } else { return function mergedInstanceDataFn () { // instance merge var instanceData = typeof childVal === 'function' ? childVal.call(vm, vm) : childVal; var defaultData = typeof parentVal === 'function' ? parentVal.call(vm, vm) : parentVal; if (instanceData) { return mergeData(instanceData, defaultData) } else { return defaultData } } } } strats.data = function ( parentVal, childVal, vm ) { if (!vm) { if (childVal && typeof childVal !== 'function') { warn( 'The "data" option should be a function ' + 'that returns a per-instance value in component ' + 'definitions.', vm ); return parentVal } return mergeDataOrFn(parentVal, childVal) } return mergeDataOrFn(parentVal, childVal, vm) }; /** * Hooks and props are merged as arrays. */ function mergeHook ( parentVal, childVal ) { var res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal; return res ? dedupeHooks(res) : res } function dedupeHooks (hooks) { var res = []; for (var i = 0; i < hooks.length; i++) { if (res.indexOf(hooks[i]) === -1) { res.push(hooks[i]); } } return res } LIFECYCLE_HOOKS.forEach(function (hook) { strats[hook] = mergeHook; }); /** * Assets * * When a vm is present (instance creation), we need to do * a three-way merge between constructor options, instance * options and parent options. */ function mergeAssets ( parentVal, childVal, vm, key ) { var res = Object.create(parentVal || null); if (childVal) { assertObjectType(key, childVal, vm); return extend(res, childVal) } else { return res } } ASSET_TYPES.forEach(function (type) { strats[type + 's'] = mergeAssets; }); /** * Watchers. * * Watchers hashes should not overwrite one * another, so we merge them as arrays. */ strats.watch = function ( parentVal, childVal, vm, key ) { // work around Firefox's Object.prototype.watch... if (parentVal === nativeWatch) { parentVal = undefined; } if (childVal === nativeWatch) { childVal = undefined; } /* istanbul ignore if */ if (!childVal) { return Object.create(parentVal || null) } { assertObjectType(key, childVal, vm); } if (!parentVal) { return childVal } var ret = {}; extend(ret, parentVal); for (var key$1 in childVal) { var parent = ret[key$1]; var child = childVal[key$1]; if (parent && !Array.isArray(parent)) { parent = [parent]; } ret[key$1] = parent ? parent.concat(child) : Array.isArray(child) ? child : [child]; } return ret }; /** * Other object hashes. */ strats.props = strats.methods = strats.inject = strats.computed = function ( parentVal, childVal, vm, key ) { if (childVal && "development" !== 'production') { assertObjectType(key, childVal, vm); } if (!parentVal) { return childVal } var ret = Object.create(null); extend(ret, parentVal); if (childVal) { extend(ret, childVal); } return ret }; strats.provide = mergeDataOrFn; /** * Default strategy. */ var defaultStrat = function (parentVal, childVal) { return childVal === undefined ? parentVal : childVal }; /** * Validate component names */ function checkComponents (options) { for (var key in options.components) { validateComponentName(key); } } function validateComponentName (name) { if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + unicodeLetters + "]*$")).test(name)) { warn( 'Invalid component name: "' + name + '". Component names ' + 'should conform to valid custom element name in html5 specification.' ); } if (isBuiltInTag(name) || config.isReservedTag(name)) { warn( 'Do not use built-in or reserved HTML elements as component ' + 'id: ' + name ); } } /** * Ensure all props option syntax are normalized into the * Object-based format. */ function normalizeProps (options, vm) { var props = options.props; if (!props) { return } var res = {}; var i, val, name; if (Array.isArray(props)) { i = props.length; while (i--) { val = props[i]; if (typeof val === 'string') { name = camelize(val); res[name] = { type: null }; } else { warn('props must be strings when using array syntax.'); } } } else if (isPlainObject(props)) { for (var key in props) { val = props[key]; name = camelize(key); res[name] = isPlainObject(val) ? val : { type: val }; } } else { warn( "Invalid value for option \"props\": expected an Array or an Object, " + "but got " + (toRawType(props)) + ".", vm ); } options.props = res; } /** * Normalize all injections into Object-based format */ function normalizeInject (options, vm) { var inject = options.inject; if (!inject) { return } var normalized = options.inject = {}; if (Array.isArray(inject)) { for (var i = 0; i < inject.length; i++) { normalized[inject[i]] = { from: inject[i] }; } } else if (isPlainObject(inject)) { for (var key in inject) { var val = inject[key]; normalized[key] = isPlainObject(val) ? extend({ from: key }, val) : { from: val }; } } else { warn( "Invalid value for option \"inject\": expected an Array or an Object, " + "but got " + (toRawType(inject)) + ".", vm ); } } /** * Normalize raw function directives into object format. */ function normalizeDirectives (options) { var dirs = options.directives; if (dirs) { for (var key in dirs) { var def$$1 = dirs[key]; if (typeof def$$1 === 'function') { dirs[key] = { bind: def$$1, update: def$$1 }; } } } } function assertObjectType (name, value, vm) { if (!isPlainObject(value)) { warn( "Invalid value for option \"" + name + "\": expected an Object, " + "but got " + (toRawType(value)) + ".", vm ); } } /** * Merge two option objects into a new one. * Core utility used in both instantiation and inheritance. */ function mergeOptions ( parent, child, vm ) { { checkComponents(child); } if (typeof child === 'function') { child = child.options; } normalizeProps(child, vm); normalizeInject(child, vm); normalizeDirectives(child); // Apply extends and mixins on the child options, // but only if it is a raw options object that isn't // the result of another mergeOptions call. // Only merged options has the _base property. if (!child._base) { if (child.extends) { parent = mergeOptions(parent, child.extends, vm); } if (child.mixins) { for (var i = 0, l = child.mixins.length; i < l; i++) { parent = mergeOptions(parent, child.mixins[i], vm); } } } var options = {}; var key; for (key in parent) { mergeField(key); } for (key in child) { if (!hasOwn(parent, key)) { mergeField(key); } } function mergeField (key) { var strat = strats[key] || defaultStrat; options[key] = strat(parent[key], child[key], vm, key); } return options } /** * Resolve an asset. * This function is used because child instances need access * to assets defined in its ancestor chain. */ function resolveAsset ( options, type, id, warnMissing ) { /* istanbul ignore if */ if (typeof id !== 'string') { return } var assets = options[type]; // check local registration variations first if (hasOwn(assets, id)) { return assets[id] } var camelizedId = camelize(id); if (hasOwn(assets, camelizedId)) { return assets[camelizedId] } var PascalCaseId = capitalize(camelizedId); if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] } // fallback to prototype chain var res = assets[id] || assets[camelizedId] || assets[PascalCaseId]; if (warnMissing && !res) { warn( 'Failed to resolve ' + type.slice(0, -1) + ': ' + id, options ); } return res } /* */ function validateProp ( key, propOptions, propsData, vm ) { var prop = propOptions[key]; var absent = !hasOwn(propsData, key); var value = propsData[key]; // boolean casting var booleanIndex = getTypeIndex(Boolean, prop.type); if (booleanIndex > -1) { if (absent && !hasOwn(prop, 'default')) { value = false; } else if (value === '' || value === hyphenate(key)) { // only cast empty string / same name to boolean if // boolean has higher priority var stringIndex = getTypeIndex(String, prop.type); if (stringIndex < 0 || booleanIndex < stringIndex) { value = true; } } } // check default value if (value === undefined) { value = getPropDefaultValue(vm, prop, key); // since the default value is a fresh copy, // make sure to observe it. var prevShouldObserve = shouldObserve; toggleObserving(true); observe(value); toggleObserving(prevShouldObserve); } { assertProp(prop, key, value, vm, absent); } return value } /** * Get the default value of a prop. */ function getPropDefaultValue (vm, prop, key) { // no default, return undefined if (!hasOwn(prop, 'default')) { return undefined } var def = prop.default; // warn against non-factory defaults for Object & Array if (isObject(def)) { warn( 'Invalid default value for prop "' + key + '": ' + 'Props with type Object/Array must use a factory function ' + 'to return the default value.', vm ); } // the raw prop value was also undefined from previous render, // return previous default value to avoid unnecessary watcher trigger if (vm && vm.$options.propsData && vm.$options.propsData[key] === undefined && vm._props[key] !== undefined ) { return vm._props[key] } // call factory function for non-Function types // a value is Function if its prototype is function even across different execution context return typeof def === 'function' && getType(prop.type) !== 'Function' ? def.call(vm) : def } /** * Assert whether a prop is valid. */ function assertProp ( prop, name, value, vm, absent ) { if (prop.required && absent) { warn( 'Missing required prop: "' + name + '"', vm ); return } if (value == null && !prop.required) { return } var type = prop.type; var valid = !type || type === true; var expectedTypes = []; if (type) { if (!Array.isArray(type)) { type = [type]; } for (var i = 0; i < type.length && !valid; i++) { var assertedType = assertType(value, type[i]); expectedTypes.push(assertedType.expectedType || ''); valid = assertedType.valid; } } if (!valid) { warn( getInvalidTypeMessage(name, value, expectedTypes), vm ); return } var validator = prop.validator; if (validator) { if (!validator(value)) { warn( 'Invalid prop: custom validator check failed for prop "' + name + '".', vm ); } } } var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/; function assertType (value, type) { var valid; var expectedType = getType(type); if (simpleCheckRE.test(expectedType)) { var t = typeof value; valid = t === expectedType.toLowerCase(); // for primitive wrapper objects if (!valid && t === 'object') { valid = value instanceof type; } } else if (expectedType === 'Object') { valid = isPlainObject(value); } else if (expectedType === 'Array') { valid = Array.isArray(value); } else { valid = value instanceof type; } return { valid: valid, expectedType: expectedType } } /** * Use function string name to check built-in types, * because a simple equality check will fail when running * across different vms / iframes. */ function getType (fn) { var match = fn && fn.toString().match(/^\s*function (\w+)/); return match ? match[1] : '' } function isSameType (a, b) { return getType(a) === getType(b) } function getTypeIndex (type, expectedTypes) { if (!Array.isArray(expectedTypes)) { return isSameType(expectedTypes, type) ? 0 : -1 } for (var i = 0, len = expectedTypes.length; i < len; i++) { if (isSameType(expectedTypes[i], type)) { return i } } return -1 } function getInvalidTypeMessage (name, value, expectedTypes) { var message = "Invalid prop: type check failed for prop \"" + name + "\"." + " Expected " + (expectedTypes.map(capitalize).join(', ')); var expectedType = expectedTypes[0]; var receivedType = toRawType(value); var expectedValue = styleValue(value, expectedType); var receivedValue = styleValue(value, receivedType); // check if we need to specify expected value if (expectedTypes.length === 1 && isExplicable(expectedType) && !isBoolean(expectedType, receivedType)) { message += " with value " + expectedValue; } message += ", got " + receivedType + " "; // check if we need to specify received value if (isExplicable(receivedType)) { message += "with value " + receivedValue + "."; } return message } function styleValue (value, type) { if (type === 'String') { return ("\"" + value + "\"") } else if (type === 'Number') { return ("" + (Number(value))) } else { return ("" + value) } } function isExplicable (value) { var explicitTypes = ['string', 'number', 'boolean']; return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; }) } function isBoolean () { var args = [], len = arguments.length; while ( len-- ) args[ len ] = arguments[ len ]; return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; }) } /* */ function handleError (err, vm, info) { if (vm) { var cur = vm; while ((cur = cur.$parent)) { var hooks = cur.$options.errorCaptured; if (hooks) { for (var i = 0; i < hooks.length; i++) { try { var capture = hooks[i].call(cur, err, vm, info) === false; if (capture) { return } } catch (e) { globalHandleError(e, cur, 'errorCaptured hook'); } } } } } globalHandleError(err, vm, info); } function invokeWithErrorHandling ( handler, context, args, vm, info ) { var res; try { res = args ? handler.apply(context, args) : handler.call(context); if (res && !res._isVue && isPromise(res)) { res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); }); } } catch (e) { handleError(e, vm, info); } return res } function globalHandleError (err, vm, info) { if (config.errorHandler) { try { return config.errorHandler.call(null, err, vm, info) } catch (e) { // if the user intentionally throws the original error in the handler, // do not log it twice if (e !== err) { logError(e, null, 'config.errorHandler'); } } } logError(err, vm, info); } function logError (err, vm, info) { { warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm); } /* istanbul ignore else */ if ((inBrowser || inWeex) && typeof console !== 'undefined') { console.error(err); } else { throw err } } /* */ var isUsingMicroTask = false; var callbacks = []; var pending = false; function flushCallbacks () { pending = false; var copies = callbacks.slice(0); callbacks.length = 0; for (var i = 0; i < copies.length; i++) { copies[i](); } } // Here we have async deferring wrappers using microtasks. // In 2.5 we used (macro) tasks (in combination with microtasks). // However, it has subtle problems when state is changed right before repaint // (e.g. #6813, out-in transitions). // Also, using (macro) tasks in event handler would cause some weird behaviors // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109). // So we now use microtasks everywhere, again. // A major drawback of this tradeoff is that there are some scenarios // where microtasks have too high a priority and fire in between supposedly // sequential events (e.g. #4521, #6690, which have workarounds) // or even between bubbling of the same event (#6566). var timerFunc; // The nextTick behavior leverages the microtask queue, which can be accessed // via either native Promise.then or MutationObserver. // MutationObserver has wider support, however it is seriously bugged in // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It // completely stops working after triggering a few times... so, if native // Promise is available, we will use it: /* istanbul ignore next, $flow-disable-line */ if (typeof Promise !== 'undefined' && isNative(Promise)) { var p = Promise.resolve(); timerFunc = function () { p.then(flushCallbacks); // In problematic UIWebViews, Promise.then doesn't completely break, but // it can get stuck in a weird state where callbacks are pushed into the // microtask queue but the queue isn't being flushed, until the browser // needs to do some other work, e.g. handle a timer. Therefore we can // "force" the microtask queue to be flushed by adding an empty timer. if (isIOS) { setTimeout(noop); } }; isUsingMicroTask = true; } else if (!isIE && typeof MutationObserver !== 'undefined' && ( isNative(MutationObserver) || // PhantomJS and iOS 7.x MutationObserver.toString() === '[object MutationObserverConstructor]' )) { // Use MutationObserver where native Promise is not available, // e.g. PhantomJS, iOS7, Android 4.4 // (#6466 MutationObserver is unreliable in IE11) var counter = 1; var observer = new MutationObserver(flushCallbacks); var textNode = document.createTextNode(String(counter)); observer.observe(textNode, { characterData: true }); timerFunc = function () { counter = (counter + 1) % 2; textNode.data = String(counter); }; isUsingMicroTask = true; } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) { // Fallback to setImmediate. // Techinically it leverages the (macro) task queue, // but it is still a better choice than setTimeout. timerFunc = function () { setImmediate(flushCallbacks); }; } else { // Fallback to setTimeout. timerFunc = function () { setTimeout(flushCallbacks, 0); }; } function nextTick (cb, ctx) { var _resolve; callbacks.push(function () { if (cb) { try { cb.call(ctx); } catch (e) { handleError(e, ctx, 'nextTick'); } } else if (_resolve) { _resolve(ctx); } }); if (!pending) { pending = true; timerFunc(); } // $flow-disable-line if (!cb && typeof Promise !== 'undefined') { return new Promise(function (resolve) { _resolve = resolve; }) } } /* */ var mark; var measure; { var perf = inBrowser && window.performance; /* istanbul ignore if */ if ( perf && perf.mark && perf.measure && perf.clearMarks && perf.clearMeasures ) { mark = function (tag) { return perf.mark(tag); }; measure = function (name, startTag, endTag) { perf.measure(name, startTag, endTag); perf.clearMarks(startTag); perf.clearMarks(endTag); // perf.clearMeasures(name) }; } } /* not type checking this file because flow doesn't play well with Proxy */ var initProxy; { var allowedGlobals = makeMap( 'Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); var warnNonPresent = function (target, key) { warn( "Property or method \"" + key + "\" is not defined on the instance but " + 'referenced during render. Make sure that this property is reactive, ' + 'either in the data option, or for class-based components, by ' + 'initializing the property. ' + 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.', target ); }; var warnReservedPrefix = function (target, key) { warn( "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " + 'properties starting with "$" or "_" are not proxied in the Vue instance to ' + 'prevent conflicts with Vue internals' + 'See: https://vuejs.org/v2/api/#data', target ); }; var hasProxy = typeof Proxy !== 'undefined' && isNative(Proxy); if (hasProxy) { var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact'); config.keyCodes = new Proxy(config.keyCodes, { set: function set (target, key, value) { if (isBuiltInModifier(key)) { warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key)); return false } else { target[key] = value; return true } } }); } var hasHandler = { has: function has (target, key) { var has = key in target; var isAllowed = allowedGlobals(key) || (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data)); if (!has && !isAllowed) { if (key in target.$data) { warnReservedPrefix(target, key); } else { warnNonPresent(target, key); } } return has || !isAllowed } }; var getHandler = { get: function get (target, key) { if (typeof key === 'string' && !(key in target)) { if (key in target.$data) { warnReservedPrefix(target, key); } else { warnNonPresent(target, key); } } return target[key] } }; initProxy = function initProxy (vm) { if (hasProxy) { // determine which proxy handler to use var options = vm.$options; var handlers = options.render && options.render._withStripped ? getHandler : hasHandler; vm._renderProxy = new Proxy(vm, handlers); } else { vm._renderProxy = vm; } }; } /* */ var seenObjects = new _Set(); /** * Recursively traverse an object to evoke all converted * getters, so that every nested property inside the object * is collected as a "deep" dependency. */ function traverse (val) { _traverse(val, seenObjects); seenObjects.clear(); } function _traverse (val, seen) { var i, keys; var isA = Array.isArray(val); if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) { return } if (val.__ob__) { var depId = val.__ob__.dep.id; if (seen.has(depId)) { return } seen.add(depId); } if (isA) { i = val.length; while (i--) { _traverse(val[i], seen); } } else { keys = Object.keys(val); i = keys.length; while (i--) { _traverse(val[keys[i]], seen); } } } /* */ var normalizeEvent = cached(function (name) { var passive = name.charAt(0) === '&'; name = passive ? name.slice(1) : name; var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first name = once$$1 ? name.slice(1) : name; var capture = name.charAt(0) === '!'; name = capture ? name.slice(1) : name; return { name: name, once: once$$1, capture: capture, passive: passive } }); function createFnInvoker (fns, vm) { function invoker () { var arguments$1 = arguments; var fns = invoker.fns; if (Array.isArray(fns)) { var cloned = fns.slice(); for (var i = 0; i < cloned.length; i++) { invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler"); } } else { // return handler return value for single handlers return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler") } } invoker.fns = fns; return invoker } function updateListeners ( on, oldOn, add, remove$$1, createOnceHandler, vm ) { var name, def$$1, cur, old, event; for (name in on) { def$$1 = cur = on[name]; old = oldOn[name]; event = normalizeEvent(name); if (isUndef(cur)) { warn( "Invalid handler for event \"" + (event.name) + "\": got " + String(cur), vm ); } else if (isUndef(old)) { if (isUndef(cur.fns)) { cur = on[name] = createFnInvoker(cur, vm); } if (isTrue(event.once)) { cur = on[name] = createOnceHandler(event.name, cur, event.capture); } add(event.name, cur, event.capture, event.passive, event.params); } else if (cur !== old) { old.fns = cur; on[name] = old; } } for (name in oldOn) { if (isUndef(on[name])) { event = normalizeEvent(name); remove$$1(event.name, oldOn[name], event.capture); } } } /* */ function mergeVNodeHook (def, hookKey, hook) { if (def instanceof VNode) { def = def.data.hook || (def.data.hook = {}); } var invoker; var oldHook = def[hookKey]; function wrappedHook () { hook.apply(this, arguments); // important: remove merged hook to ensure it's called only once // and prevent memory leak remove(invoker.fns, wrappedHook); } if (isUndef(oldHook)) { // no existing hook invoker = createFnInvoker([wrappedHook]); } else { /* istanbul ignore if */ if (isDef(oldHook.fns) && isTrue(oldHook.merged)) { // already a merged invoker invoker = oldHook; invoker.fns.push(wrappedHook); } else { // existing plain hook invoker = createFnInvoker([oldHook, wrappedHook]); } } invoker.merged = true; def[hookKey] = invoker; } /* */ function extractPropsFromVNodeData ( data, Ctor, tag ) { // we are only extracting raw values here. // validation and default values are handled in the child // component itself. var propOptions = Ctor.options.props; if (isUndef(propOptions)) { return } var res = {}; var attrs = data.attrs; var props = data.props; if (isDef(attrs) || isDef(props)) { for (var key in propOptions) { var altKey = hyphenate(key); { var keyInLowerCase = key.toLowerCase(); if ( key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase) ) { tip( "Prop \"" + keyInLowerCase + "\" is passed to component " + (formatComponentName(tag || Ctor)) + ", but the declared prop name is" + " \"" + key + "\". " + "Note that HTML attributes are case-insensitive and camelCased " + "props need to use their kebab-case equivalents when using in-DOM " + "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"." ); } } checkProp(res, props, key, altKey, true) || checkProp(res, attrs, key, altKey, false); } } return res } function checkProp ( res, hash, key, altKey, preserve ) { if (isDef(hash)) { if (hasOwn(hash, key)) { res[key] = hash[key]; if (!preserve) { delete hash[key]; } return true } else if (hasOwn(hash, altKey)) { res[key] = hash[altKey]; if (!preserve) { delete hash[altKey]; } return true } } return false } /* */ // The template compiler attempts to minimize the need for normalization by // statically analyzing the template at compile time. // // For plain HTML markup, normalization can be completely skipped because the // generated render function is guaranteed to return Array<VNode>. There are // two cases where extra normalization is needed: // 1. When the children contains components - because a functional component // may return an Array instead of a single root. In this case, just a simple // normalization is needed - if any child is an Array, we flatten the whole // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep // because functional components already normalize their own children. function simpleNormalizeChildren (children) { for (var i = 0; i < children.length; i++) { if (Array.isArray(children[i])) { return Array.prototype.concat.apply([], children) } } return children } // 2. When the children contains constructs that always generated nested Arrays, // e.g. <template>, <slot>, v-for, or when the children is provided by user // with hand-written render functions / JSX. In such cases a full normalization // is needed to cater to all possible types of children values. function normalizeChildren (children) { return isPrimitive(children) ? [createTextVNode(children)] : Array.isArray(children) ? normalizeArrayChildren(children) : undefined } function isTextNode (node) { return isDef(node) && isDef(node.text) && isFalse(node.isComment) } function normalizeArrayChildren (children, nestedIndex) { var res = []; var i, c, lastIndex, last; for (i = 0; i < children.length; i++) { c = children[i]; if (isUndef(c) || typeof c === 'boolean') { continue } lastIndex = res.length - 1; last = res[lastIndex]; // nested if (Array.isArray(c)) { if (c.length > 0) { c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i)); // merge adjacent text nodes if (isTextNode(c[0]) && isTextNode(last)) { res[lastIndex] = createTextVNode(last.text + (c[0]).text); c.shift(); } res.push.apply(res, c); } } else if (isPrimitive(c)) { if (isTextNode(last)) { // merge adjacent text nodes // this is necessary for SSR hydration because text nodes are // essentially merged when rendered to HTML strings res[lastIndex] = createTextVNode(last.text + c); } else if (c !== '') { // convert primitive to vnode res.push(createTextVNode(c)); } } else { if (isTextNode(c) && isTextNode(last)) { // merge adjacent text nodes res[lastIndex] = createTextVNode(last.text + c.text); } else { // default key for nested array children (likely generated by v-for) if (isTrue(children._isVList) && isDef(c.tag) && isUndef(c.key) && isDef(nestedIndex)) { c.key = "__vlist" + nestedIndex + "_" + i + "__"; } res.push(c); } } } return res } /* */ function initProvide (vm) { var provide = vm.$options.provide; if (provide) { vm._provided = typeof provide === 'function' ? provide.call(vm) : provide; } } function initInjections (vm) { var result = resolveInject(vm.$options.inject, vm); if (result) { toggleObserving(false); Object.keys(result).forEach(function (key) { /* istanbul ignore else */ { defineReactive$$1(vm, key, result[key], function () { warn( "Avoid mutating an injected value directly since the changes will be " + "overwritten whenever the provided component re-renders. " + "injection being mutated: \"" + key + "\"", vm ); }); } }); toggleObserving(true); } } function resolveInject (inject, vm) { if (inject) { // inject is :any because flow is not smart enough to figure out cached var result = Object.create(null); var keys = hasSymbol ? Reflect.ownKeys(inject) : Object.keys(inject); for (var i = 0; i < keys.length; i++) { var key = keys[i]; // #6574 in case the inject object is observed... if (key === '__ob__') { continue } var provideKey = inject[key].from; var source = vm; while (source) { if (source._provided && hasOwn(source._provided, provideKey)) { result[key] = source._provided[provideKey]; break } source = source.$parent; } if (!source) { if ('default' in inject[key]) { var provideDefault = inject[key].default; result[key] = typeof provideDefault === 'function' ? provideDefault.call(vm) : provideDefault; } else { warn(("Injection \"" + key + "\" not found"), vm); } } } return result } } /* */ /** * Runtime helper for resolving raw children VNodes into a slot object. */ function resolveSlots ( children, context ) { if (!children || !children.length) { return {} } var slots = {}; for (var i = 0, l = children.length; i < l; i++) { var child = children[i]; var data = child.data; // remove slot attribute if the node is resolved as a Vue slot node if (data && data.attrs && data.attrs.slot) { delete data.attrs.slot; } // named slots should only be respected if the vnode was rendered in the // same context. if ((child.context === context || child.fnContext === context) && data && data.slot != null ) { var name = data.slot; var slot = (slots[name] || (slots[name] = [])); if (child.tag === 'template') { slot.push.apply(slot, child.children || []); } else { slot.push(child); } } else { (slots.default || (slots.default = [])).push(child); } } // ignore slots that contains only whitespace for (var name$1 in slots) { if (slots[name$1].every(isWhitespace)) { delete slots[name$1]; } } return slots } function isWhitespace (node) { return (node.isComment && !node.asyncFactory) || node.text === ' ' } /* */ function normalizeScopedSlots ( slots, normalSlots, prevSlots ) { var res; if (!slots) { res = {}; } else if (slots._normalized) { // fast path 1: child component re-render only, parent did not change return slots._normalized } else if ( slots.$stable && prevSlots && prevSlots !== emptyObject && Object.keys(normalSlots).length === 0 ) { // fast path 2: stable scoped slots w/ no normal slots to proxy, // only need to normalize once return prevSlots } else { res = {}; for (var key in slots) { if (slots[key] && key[0] !== '$') { res[key] = normalizeScopedSlot(normalSlots, key, slots[key]); } } } // expose normal slots on scopedSlots for (var key$1 in normalSlots) { if (!(key$1 in res)) { res[key$1] = proxyNormalSlot(normalSlots, key$1); } } // avoriaz seems to mock a non-extensible $scopedSlots object // and when that is passed down this would cause an error if (slots && Object.isExtensible(slots)) { (slots)._normalized = res; } def(res, '$stable', slots ? !!slots.$stable : true); return res } function normalizeScopedSlot(normalSlots, key, fn) { var normalized = function () { var res = arguments.length ? fn.apply(null, arguments) : fn({}); res = res && typeof res === 'object' && !Array.isArray(res) ? [res] // single vnode : normalizeChildren(res); return res && res.length === 0 ? undefined : res }; // this is a slot using the new v-slot syntax without scope. although it is // compiled as a scoped slot, render fn users would expect it to be present // on this.$slots because the usage is semantically a normal slot. if (fn.proxy) { Object.defineProperty(normalSlots, key, { get: normalized, enumerable: true, configurable: true }); } return normalized } function proxyNormalSlot(slots, key) { return function () { return slots[key]; } } /* */ /** * Runtime helper for rendering v-for lists. */ function renderList ( val, render ) { var ret, i, l, keys, key; if (Array.isArray(val) || typeof val === 'string') { ret = new Array(val.length); for (i = 0, l = val.length; i < l; i++) { ret[i] = render(val[i], i); } } else if (typeof val === 'number') { ret = new Array(val); for (i = 0; i < val; i++) { ret[i] = render(i + 1, i); } } else if (isObject(val)) { if (hasSymbol && val[Symbol.iterator]) { ret = []; var iterator = val[Symbol.iterator](); var result = iterator.next(); while (!result.done) { ret.push(render(result.value, ret.length)); result = iterator.next(); } } else { keys = Object.keys(val); ret = new Array(keys.length); for (i = 0, l = keys.length; i < l; i++) { key = keys[i]; ret[i] = render(val[key], key, i); } } } if (!isDef(ret)) { ret = []; } (ret)._isVList = true; return ret } /* */ /** * Runtime helper for rendering <slot> */ function renderSlot ( name, fallback, props, bindObject ) { var scopedSlotFn = this.$scopedSlots[name]; var nodes; if (scopedSlotFn) { // scoped slot props = props || {}; if (bindObject) { if (!isObject(bindObject)) { warn( 'slot v-bind without argument expects an Object', this ); } props = extend(extend({}, bindObject), props); } nodes = scopedSlotFn(props) || fallback; } else { nodes = this.$slots[name] || fallback; } var target = props && props.slot; if (target) { return this.$createElement('template', { slot: target }, nodes) } else { return nodes } } /* */ /** * Runtime helper for resolving filters */ function resolveFilter (id) { return resolveAsset(this.$options, 'filters', id, true) || identity } /* */ function isKeyNotMatch (expect, actual) { if (Array.isArray(expect)) { return expect.indexOf(actual) === -1 } else { return expect !== actual } } /** * Runtime helper for checking keyCodes from config. * exposed as Vue.prototype._k * passing in eventKeyName as last argument separately for backwards compat */ function checkKeyCodes ( eventKeyCode, key, builtInKeyCode, eventKeyName, builtInKeyName ) { var mappedKeyCode = config.keyCodes[key] || builtInKeyCode; if (builtInKeyName && eventKeyName && !config.keyCodes[key]) { return isKeyNotMatch(builtInKeyName, eventKeyName) } else if (mappedKeyCode) { return isKeyNotMatch(mappedKeyCode, eventKeyCode) } else if (eventKeyName) { return hyphenate(eventKeyName) !== key } } /* */ /** * Runtime helper for merging v-bind="object" into a VNode's data. */ function bindObjectProps ( data, tag, value, asProp, isSync ) { if (value) { if (!isObject(value)) { warn( 'v-bind without argument expects an Object or Array value', this ); } else { if (Array.isArray(value)) { value = toObject(value); } var hash; var loop = function ( key ) { if ( key === 'class' || key === 'style' || isReservedAttribute(key) ) { hash = data; } else { var type = data.attrs && data.attrs.type; hash = asProp || config.mustUseProp(tag, type, key) ? data.domProps || (data.domProps = {}) : data.attrs || (data.attrs = {}); } var camelizedKey = camelize(key); if (!(key in hash) && !(camelizedKey in hash)) { hash[key] = value[key]; if (isSync) { var on = data.on || (data.on = {}); on[("update:" + camelizedKey)] = function ($event) { value[key] = $event; }; } } }; for (var key in value) loop( key ); } } return data } /* */ /** * Runtime helper for rendering static trees. */ function renderStatic ( index, isInFor ) { var cached = this._staticTrees || (this._staticTrees = []); var tree = cached[index]; // if has already-rendered static tree and not inside v-for, // we can reuse the same tree. if (tree && !isInFor) { return tree } // otherwise, render a fresh tree. tree = cached[index] = this.$options.staticRenderFns[index].call( this._renderProxy, null, this // for render fns generated for functional component templates ); markStatic(tree, ("__static__" + index), false); return tree } /** * Runtime helper for v-once. * Effectively it means marking the node as static with a unique key. */ function markOnce ( tree, index, key ) { markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true); return tree } function markStatic ( tree, key, isOnce ) { if (Array.isArray(tree)) { for (var i = 0; i < tree.length; i++) { if (tree[i] && typeof tree[i] !== 'string') { markStaticNode(tree[i], (key + "_" + i), isOnce); } } } else { markStaticNode(tree, key, isOnce); } } function markStaticNode (node, key, isOnce) { node.isStatic = true; node.key = key; node.isOnce = isOnce; } /* */ function bindObjectListeners (data, value) { if (value) { if (!isPlainObject(value)) { warn( 'v-on without argument expects an Object value', this ); } else { var on = data.on = data.on ? extend({}, data.on) : {}; for (var key in value) { var existing = on[key]; var ours = value[key]; on[key] = existing ? [].concat(existing, ours) : ours; } } } return data } /* */ function resolveScopedSlots ( fns, // see flow/vnode hasDynamicKeys, res ) { res = res || { $stable: !hasDynamicKeys }; for (var i = 0; i < fns.length; i++) { var slot = fns[i]; if (Array.isArray(slot)) { resolveScopedSlots(slot, hasDynamicKeys, res); } else if (slot) { // marker for reverse proxying v-slot without scope on this.$slots if (slot.proxy) { slot.fn.proxy = true; } res[slot.key] = slot.fn; } } return res } /* */ function bindDynamicKeys (baseObj, values) { for (var i = 0; i < values.length; i += 2) { var key = values[i]; if (typeof key === 'string' && key) { baseObj[values[i]] = values[i + 1]; } else if (key !== '' && key !== null) { // null is a speical value for explicitly removing a binding warn( ("Invalid value for dynamic directive argument (expected string or null): " + key), this ); } } return baseObj } // helper to dynamically append modifier runtime markers to event names. // ensure only append when value is already string, otherwise it will be cast // to string and cause the type check to miss. function prependModifier (value, symbol) { return typeof value === 'string' ? symbol + value : value } /* */ function installRenderHelpers (target) { target._o = markOnce; target._n = toNumber; target._s = toString; target._l = renderList; target._t = renderSlot; target._q = looseEqual; target._i = looseIndexOf; target._m = renderStatic; target._f = resolveFilter; target._k = checkKeyCodes; target._b = bindObjectProps; target._v = createTextVNode; target._e = createEmptyVNode; target._u = resolveScopedSlots; target._g = bindObjectListeners; target._d = bindDynamicKeys; target._p = prependModifier; } /* */ function FunctionalRenderContext ( data, props, children, parent, Ctor ) { var this$1 = this; var options = Ctor.options; // ensure the createElement function in functional components // gets a unique context - this is necessary for correct named slot check var contextVm; if (hasOwn(parent, '_uid')) { contextVm = Object.create(parent); // $flow-disable-line contextVm._original = parent; } else { // the context vm passed in is a functional context as well. // in this case we want to make sure we are able to get a hold to the // real context instance. contextVm = parent; // $flow-disable-line parent = parent._original; } var isCompiled = isTrue(options._compiled); var needNormalization = !isCompiled; this.data = data; this.props = props; this.children = children; this.parent = parent; this.listeners = data.on || emptyObject; this.injections = resolveInject(options.inject, parent); this.slots = function () { if (!this$1.$slots) { normalizeScopedSlots( data.scopedSlots, this$1.$slots = resolveSlots(children, parent) ); } return this$1.$slots }; Object.defineProperty(this, 'scopedSlots', ({ enumerable: true, get: function get () { return normalizeScopedSlots(data.scopedSlots, this.slots()) } })); // support for compiled functional template if (isCompiled) { // exposing $options for renderStatic() this.$options = options; // pre-resolve slots for renderSlot() this.$slots = this.slots(); this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots); } if (options._scopeId) { this._c = function (a, b, c, d) { var vnode = createElement(contextVm, a, b, c, d, needNormalization); if (vnode && !Array.isArray(vnode)) { vnode.fnScopeId = options._scopeId; vnode.fnContext = parent; } return vnode }; } else { this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); }; } } installRenderHelpers(FunctionalRenderContext.prototype); function createFunctionalComponent ( Ctor, propsData, data, contextVm, children ) { var options = Ctor.options; var props = {}; var propOptions = options.props; if (isDef(propOptions)) { for (var key in propOptions) { props[key] = validateProp(key, propOptions, propsData || emptyObject); } } else { if (isDef(data.attrs)) { mergeProps(props, data.attrs); } if (isDef(data.props)) { mergeProps(props, data.props); } } var renderContext = new FunctionalRenderContext( data, props, children, contextVm, Ctor ); var vnode = options.render.call(null, renderContext._c, renderContext); if (vnode instanceof VNode) { return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext) } else if (Array.isArray(vnode)) { var vnodes = normalizeChildren(vnode) || []; var res = new Array(vnodes.length); for (var i = 0; i < vnodes.length; i++) { res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext); } return res } } function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) { // #7817 clone node before setting fnContext, otherwise if the node is reused // (e.g. it was from a cached normal slot) the fnContext causes named slots // that should not be matched to match. var clone = cloneVNode(vnode); clone.fnContext = contextVm; clone.fnOptions = options; { (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext; } if (data.slot) { (clone.data || (clone.data = {})).slot = data.slot; } return clone } function mergeProps (to, from) { for (var key in from) { to[camelize(key)] = from[key]; } } /* */ /* */ /* */ /* */ // inline hooks to be invoked on component VNodes during patch var componentVNodeHooks = { init: function init (vnode, hydrating) { if ( vnode.componentInstance && !vnode.componentInstance._isDestroyed && vnode.data.keepAlive ) { // kept-alive components, treat as a patch var mountedNode = vnode; // work around flow componentVNodeHooks.prepatch(mountedNode, mountedNode); } else { var child = vnode.componentInstance = createComponentInstanceForVnode( vnode, activeInstance ); child.$mount(hydrating ? vnode.elm : undefined, hydrating); } }, prepatch: function prepatch (oldVnode, vnode) { var options = vnode.componentOptions; var child = vnode.componentInstance = oldVnode.componentInstance; updateChildComponent( child, options.propsData, // updated props options.listeners, // updated listeners vnode, // new parent vnode options.children // new children ); }, insert: function insert (vnode) { var context = vnode.context; var componentInstance = vnode.componentInstance; if (!componentInstance._isMounted) { componentInstance._isMounted = true; callHook(componentInstance, 'mounted'); } if (vnode.data.keepAlive) { if (context._isMounted) { // vue-router#1212 // During updates, a kept-alive component's child components may // change, so directly walking the tree here may call activated hooks // on incorrect children. Instead we push them into a queue which will // be processed after the whole patch process ended. queueActivatedComponent(componentInstance); } else { activateChildComponent(componentInstance, true /* direct */); } } }, destroy: function destroy (vnode) { var componentInstance = vnode.componentInstance; if (!componentInstance._isDestroyed) { if (!vnode.data.keepAlive) { componentInstance.$destroy(); } else { deactivateChildComponent(componentInstance, true /* direct */); } } } }; var hooksToMerge = Object.keys(componentVNodeHooks); function createComponent ( Ctor, data, context, children, tag ) { if (isUndef(Ctor)) { return } var baseCtor = context.$options._base; // plain options object: turn it into a constructor if (isObject(Ctor)) { Ctor = baseCtor.extend(Ctor); } // if at this stage it's not a constructor or an async component factory, // reject. if (typeof Ctor !== 'function') { { warn(("Invalid Component definition: " + (String(Ctor))), context); } return } // async component var asyncFactory; if (isUndef(Ctor.cid)) { asyncFactory = Ctor; Ctor = resolveAsyncComponent(asyncFactory, baseCtor); if (Ctor === undefined) { // return a placeholder node for async component, which is rendered // as a comment node but preserves all the raw information for the node. // the information will be used for async server-rendering and hydration. return createAsyncPlaceholder( asyncFactory, data, context, children, tag ) } } data = data || {}; // resolve constructor options in case global mixins are applied after // component constructor creation resolveConstructorOptions(Ctor); // transform component v-model data into props & events if (isDef(data.model)) { transformModel(Ctor.options, data); } // extract props var propsData = extractPropsFromVNodeData(data, Ctor, tag); // functional component if (isTrue(Ctor.options.functional)) { return createFunctionalComponent(Ctor, propsData, data, context, children) } // extract listeners, since these needs to be treated as // child component listeners instead of DOM listeners var listeners = data.on; // replace with listeners with .native modifier // so it gets processed during parent component patch. data.on = data.nativeOn; if (isTrue(Ctor.options.abstract)) { // abstract components do not keep anything // other than props & listeners & slot // work around flow var slot = data.slot; data = {}; if (slot) { data.slot = slot; } } // install component management hooks onto the placeholder node installComponentHooks(data); // return a placeholder vnode var name = Ctor.options.name || tag; var vnode = new VNode( ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')), data, undefined, undefined, undefined, context, { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children }, asyncFactory ); return vnode } function createComponentInstanceForVnode ( vnode, // we know it's MountedComponentVNode but flow doesn't parent // activeInstance in lifecycle state ) { var options = { _isComponent: true, _parentVnode: vnode, parent: parent }; // check inline-template render functions var inlineTemplate = vnode.data.inlineTemplate; if (isDef(inlineTemplate)) { options.render = inlineTemplate.render; options.staticRenderFns = inlineTemplate.staticRenderFns; } return new vnode.componentOptions.Ctor(options) } function installComponentHooks (data) { var hooks = data.hook || (data.hook = {}); for (var i = 0; i < hooksToMerge.length; i++) { var key = hooksToMerge[i]; var existing = hooks[key]; var toMerge = componentVNodeHooks[key]; if (existing !== toMerge && !(existing && existing._merged)) { hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge; } } } function mergeHook$1 (f1, f2) { var merged = function (a, b) { // flow complains about extra args which is why we use any f1(a, b); f2(a, b); }; merged._merged = true; return merged } // transform component v-model info (value and callback) into // prop and event handler respectively. function transformModel (options, data) { var prop = (options.model && options.model.prop) || 'value'; var event = (options.model && options.model.event) || 'input' ;(data.attrs || (data.attrs = {}))[prop] = data.model.value; var on = data.on || (data.on = {}); var existing = on[event]; var callback = data.model.callback; if (isDef(existing)) { if ( Array.isArray(existing) ? existing.indexOf(callback) === -1 : existing !== callback ) { on[event] = [callback].concat(existing); } } else { on[event] = callback; } } /* */ var SIMPLE_NORMALIZE = 1; var ALWAYS_NORMALIZE = 2; // wrapper function for providing a more flexible interface // without getting yelled at by flow function createElement ( context, tag, data, children, normalizationType, alwaysNormalize ) { if (Array.isArray(data) || isPrimitive(data)) { normalizationType = children; children = data; data = undefined; } if (isTrue(alwaysNormalize)) { normalizationType = ALWAYS_NORMALIZE; } return _createElement(context, tag, data, children, normalizationType) } function _createElement ( context, tag, data, children, normalizationType ) { if (isDef(data) && isDef((data).__ob__)) { warn( "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" + 'Always create fresh vnode data objects in each render!', context ); return createEmptyVNode() } // object syntax in v-bind if (isDef(data) && isDef(data.is)) { tag = data.is; } if (!tag) { // in case of component :is set to falsy value return createEmptyVNode() } // warn against non-primitive key if (isDef(data) && isDef(data.key) && !isPrimitive(data.key) ) { { warn( 'Avoid using non-primitive value as key, ' + 'use string/number value instead.', context ); } } // support single function children as default scoped slot if (Array.isArray(children) && typeof children[0] === 'function' ) { data = data || {}; data.scopedSlots = { default: children[0] }; children.length = 0; } if (normalizationType === ALWAYS_NORMALIZE) { children = normalizeChildren(children); } else if (normalizationType === SIMPLE_NORMALIZE) { children = simpleNormalizeChildren(children); } var vnode, ns; if (typeof tag === 'string') { var Ctor; ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag); if (config.isReservedTag(tag)) { // platform built-in elements vnode = new VNode( config.parsePlatformTagName(tag), data, children, undefined, undefined, context ); } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) { // component vnode = createComponent(Ctor, data, context, children, tag); } else { // unknown or unlisted namespaced elements // check at runtime because it may get assigned a namespace when its // parent normalizes children vnode = new VNode( tag, data, children, undefined, undefined, context ); } } else { // direct component options / constructor vnode = createComponent(tag, data, context, children); } if (Array.isArray(vnode)) { return vnode } else if (isDef(vnode)) { if (isDef(ns)) { applyNS(vnode, ns); } if (isDef(data)) { registerDeepBindings(data); } return vnode } else { return createEmptyVNode() } } function applyNS (vnode, ns, force) { vnode.ns = ns; if (vnode.tag === 'foreignObject') { // use default namespace inside foreignObject ns = undefined; force = true; } if (isDef(vnode.children)) { for (var i = 0, l = vnode.children.length; i < l; i++) { var child = vnode.children[i]; if (isDef(child.tag) && ( isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) { applyNS(child, ns, force); } } } } // ref #5318 // necessary to ensure parent re-render when deep bindings like :style and // :class are used on slot nodes function registerDeepBindings (data) { if (isObject(data.style)) { traverse(data.style); } if (isObject(data.class)) { traverse(data.class); } } /* */ function initRender (vm) { vm._vnode = null; // the root of the child tree vm._staticTrees = null; // v-once cached trees var options = vm.$options; var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree var renderContext = parentVnode && parentVnode.context; vm.$slots = resolveSlots(options._renderChildren, renderContext); vm.$scopedSlots = emptyObject; // bind the createElement fn to this instance // so that we get proper render context inside it. // args order: tag, data, children, normalizationType, alwaysNormalize // internal version is used by render functions compiled from templates vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); }; // normalization is always applied for the public version, used in // user-written render functions. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); }; // $attrs & $listeners are exposed for easier HOC creation. // they need to be reactive so that HOCs using them are always updated var parentData = parentVnode && parentVnode.data; /* istanbul ignore else */ { defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () { !isUpdatingChildComponent && warn("$attrs is readonly.", vm); }, true); defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () { !isUpdatingChildComponent && warn("$listeners is readonly.", vm); }, true); } } var currentRenderingInstance = null; function renderMixin (Vue) { // install runtime convenience helpers installRenderHelpers(Vue.prototype); Vue.prototype.$nextTick = function (fn) { return nextTick(fn, this) }; Vue.prototype._render = function () { var vm = this; var ref = vm.$options; var render = ref.render; var _parentVnode = ref._parentVnode; if (_parentVnode) { vm.$scopedSlots = normalizeScopedSlots( _parentVnode.data.scopedSlots, vm.$slots, vm.$scopedSlots ); } // set parent vnode. this allows render functions to have access // to the data on the placeholder node. vm.$vnode = _parentVnode; // render self var vnode; try { // There's no need to maintain a stack becaues all render fns are called // separately from one another. Nested component's render fns are called // when parent component is patched. currentRenderingInstance = vm; vnode = render.call(vm._renderProxy, vm.$createElement); } catch (e) { handleError(e, vm, "render"); // return error render result, // or previous vnode to prevent render error causing blank component /* istanbul ignore else */ if (vm.$options.renderError) { try { vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e); } catch (e) { handleError(e, vm, "renderError"); vnode = vm._vnode; } } else { vnode = vm._vnode; } } finally { currentRenderingInstance = null; } // if the returned array contains only a single node, allow it if (Array.isArray(vnode) && vnode.length === 1) { vnode = vnode[0]; } // return empty vnode in case the render function errored out if (!(vnode instanceof VNode)) { if (Array.isArray(vnode)) { warn( 'Multiple root nodes returned from render function. Render function ' + 'should return a single root node.', vm ); } vnode = createEmptyVNode(); } // set parent vnode.parent = _parentVnode; return vnode }; } /* */ function ensureCtor (comp, base) { if ( comp.__esModule || (hasSymbol && comp[Symbol.toStringTag] === 'Module') ) { comp = comp.default; } return isObject(comp) ? base.extend(comp) : comp } function createAsyncPlaceholder ( factory, data, context, children, tag ) { var node = createEmptyVNode(); node.asyncFactory = factory; node.asyncMeta = { data: data, context: context, children: children, tag: tag }; return node } function resolveAsyncComponent ( factory, baseCtor ) { if (isTrue(factory.error) && isDef(factory.errorComp)) { return factory.errorComp } if (isDef(factory.resolved)) { return factory.resolved } if (isTrue(factory.loading) && isDef(factory.loadingComp)) { return factory.loadingComp } var owner = currentRenderingInstance; if (isDef(factory.owners)) { // already pending factory.owners.push(owner); } else { var owners = factory.owners = [owner]; var sync = true; var forceRender = function (renderCompleted) { for (var i = 0, l = owners.length; i < l; i++) { (owners[i]).$forceUpdate(); } if (renderCompleted) { owners.length = 0; } }; var resolve = once(function (res) { // cache resolved factory.resolved = ensureCtor(res, baseCtor); // invoke callbacks only if this is not a synchronous resolve // (async resolves are shimmed as synchronous during SSR) if (!sync) { forceRender(true); } else { owners.length = 0; } }); var reject = once(function (reason) { warn( "Failed to resolve async component: " + (String(factory)) + (reason ? ("\nReason: " + reason) : '') ); if (isDef(factory.errorComp)) { factory.error = true; forceRender(true); } }); var res = factory(resolve, reject); if (isObject(res)) { if (isPromise(res)) { // () => Promise if (isUndef(factory.resolved)) { res.then(resolve, reject); } } else if (isPromise(res.component)) { res.component.then(resolve, reject); if (isDef(res.error)) { factory.errorComp = ensureCtor(res.error, baseCtor); } if (isDef(res.loading)) { factory.loadingComp = ensureCtor(res.loading, baseCtor); if (res.delay === 0) { factory.loading = true; } else { setTimeout(function () { if (isUndef(factory.resolved) && isUndef(factory.error)) { factory.loading = true; forceRender(false); } }, res.delay || 200); } } if (isDef(res.timeout)) { setTimeout(function () { if (isUndef(factory.resolved)) { reject( "timeout (" + (res.timeout) + "ms)" ); } }, res.timeout); } } } sync = false; // return in case resolved synchronously return factory.loading ? factory.loadingComp : factory.resolved } } /* */ function isAsyncPlaceholder (node) { return node.isComment && node.asyncFactory } /* */ function getFirstComponentChild (children) { if (Array.isArray(children)) { for (var i = 0; i < children.length; i++) { var c = children[i]; if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) { return c } } } } /* */ /* */ function initEvents (vm) { vm._events = Object.create(null); vm._hasHookEvent = false; // init parent attached events var listeners = vm.$options._parentListeners; if (listeners) { updateComponentListeners(vm, listeners); } } var target; function add (event, fn) { target.$on(event, fn); } function remove$1 (event, fn) { target.$off(event, fn); } function createOnceHandler (event, fn) { var _target = target; return function onceHandler () { var res = fn.apply(null, arguments); if (res !== null) { _target.$off(event, onceHandler); } } } function updateComponentListeners ( vm, listeners, oldListeners ) { target = vm; updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm); target = undefined; } function eventsMixin (Vue) { var hookRE = /^hook:/; Vue.prototype.$on = function (event, fn) { var vm = this; if (Array.isArray(event)) { for (var i = 0, l = event.length; i < l; i++) { vm.$on(event[i], fn); } } else { (vm._events[event] || (vm._events[event] = [])).push(fn); // optimize hook:event cost by using a boolean flag marked at registration // instead of a hash lookup if (hookRE.test(event)) { vm._hasHookEvent = true; } } return vm }; Vue.prototype.$once = function (event, fn) { var vm = this; function on () { vm.$off(event, on); fn.apply(vm, arguments); } on.fn = fn; vm.$on(event, on); return vm }; Vue.prototype.$off = function (event, fn) { var vm = this; // all if (!arguments.length) { vm._events = Object.create(null); return vm } // array of events if (Array.isArray(event)) { for (var i$1 = 0, l = event.length; i$1 < l; i$1++) { vm.$off(event[i$1], fn); } return vm } // specific event var cbs = vm._events[event]; if (!cbs) { return vm } if (!fn) { vm._events[event] = null; return vm } // specific handler var cb; var i = cbs.length; while (i--) { cb = cbs[i]; if (cb === fn || cb.fn === fn) { cbs.splice(i, 1); break } } return vm }; Vue.prototype.$emit = function (event) { var vm = this; { var lowerCaseEvent = event.toLowerCase(); if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) { tip( "Event \"" + lowerCaseEvent + "\" is emitted in component " + (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " + "Note that HTML attributes are case-insensitive and you cannot use " + "v-on to listen to camelCase events when using in-DOM templates. " + "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"." ); } } var cbs = vm._events[event]; if (cbs) { cbs = cbs.length > 1 ? toArray(cbs) : cbs; var args = toArray(arguments, 1); var info = "event handler for \"" + event + "\""; for (var i = 0, l = cbs.length; i < l; i++) { invokeWithErrorHandling(cbs[i], vm, args, vm, info); } } return vm }; } /* */ var activeInstance = null; var isUpdatingChildComponent = false; function setActiveInstance(vm) { var prevActiveInstance = activeInstance; activeInstance = vm; return function () { activeInstance = prevActiveInstance; } } function initLifecycle (vm) { var options = vm.$options; // locate first non-abstract parent var parent = options.parent; if (parent && !options.abstract) { while (parent.$options.abstract && parent.$parent) { parent = parent.$parent; } parent.$children.push(vm); } vm.$parent = parent; vm.$root = parent ? parent.$root : vm; vm.$children = []; vm.$refs = {}; vm._watcher = null; vm._inactive = null; vm._directInactive = false; vm._isMounted = false; vm._isDestroyed = false; vm._isBeingDestroyed = false; } function lifecycleMixin (Vue) { Vue.prototype._update = function (vnode, hydrating) { var vm = this; var prevEl = vm.$el; var prevVnode = vm._vnode; var restoreActiveInstance = setActiveInstance(vm); vm._vnode = vnode; // Vue.prototype.__patch__ is injected in entry points // based on the rendering backend used. if (!prevVnode) { // initial render vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */); } else { // updates vm.$el = vm.__patch__(prevVnode, vnode); } restoreActiveInstance(); // update __vue__ reference if (prevEl) { prevEl.__vue__ = null; } if (vm.$el) { vm.$el.__vue__ = vm; } // if parent is an HOC, update its $el as well if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) { vm.$parent.$el = vm.$el; } // updated hook is called by the scheduler to ensure that children are // updated in a parent's updated hook. }; Vue.prototype.$forceUpdate = function () { var vm = this; if (vm._watcher) { vm._watcher.update(); } }; Vue.prototype.$destroy = function () { var vm = this; if (vm._isBeingDestroyed) { return } callHook(vm, 'beforeDestroy'); vm._isBeingDestroyed = true; // remove self from parent var parent = vm.$parent; if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) { remove(parent.$children, vm); } // teardown watchers if (vm._watcher) { vm._watcher.teardown(); } var i = vm._watchers.length; while (i--) { vm._watchers[i].teardown(); } // remove reference from data ob // frozen object may not have observer. if (vm._data.__ob__) { vm._data.__ob__.vmCount--; } // call the last hook... vm._isDestroyed = true; // invoke destroy hooks on current rendered tree vm.__patch__(vm._vnode, null); // fire destroyed hook callHook(vm, 'destroyed'); // turn off all instance listeners. vm.$off(); // remove __vue__ reference if (vm.$el) { vm.$el.__vue__ = null; } // release circular reference (#6759) if (vm.$vnode) { vm.$vnode.parent = null; } }; } function mountComponent ( vm, el, hydrating ) { vm.$el = el; if (!vm.$options.render) { vm.$options.render = createEmptyVNode; { /* istanbul ignore if */ if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') || vm.$options.el || el) { warn( 'You are using the runtime-only build of Vue where the template ' + 'compiler is not available. Either pre-compile the templates into ' + 'render functions, or use the compiler-included build.', vm ); } else { warn( 'Failed to mount component: template or render function not defined.', vm ); } } } callHook(vm, 'beforeMount'); var updateComponent; /* istanbul ignore if */ if (config.performance && mark) { updateComponent = function () { var name = vm._name; var id = vm._uid; var startTag = "vue-perf-start:" + id; var endTag = "vue-perf-end:" + id; mark(startTag); var vnode = vm._render(); mark(endTag); measure(("vue " + name + " render"), startTag, endTag); mark(startTag); vm._update(vnode, hydrating); mark(endTag); measure(("vue " + name + " patch"), startTag, endTag); }; } else { updateComponent = function () { vm._update(vm._render(), hydrating); }; } // we set this to vm._watcher inside the watcher's constructor // since the watcher's initial patch may call $forceUpdate (e.g. inside child // component's mounted hook), which relies on vm._watcher being already defined new Watcher(vm, updateComponent, noop, { before: function before () { if (vm._isMounted && !vm._isDestroyed) { callHook(vm, 'beforeUpdate'); } } }, true /* isRenderWatcher */); hydrating = false; // manually mounted instance, call mounted on self // mounted is called for render-created child components in its inserted hook if (vm.$vnode == null) { vm._isMounted = true; callHook(vm, 'mounted'); } return vm } function updateChildComponent ( vm, propsData, listeners, parentVnode, renderChildren ) { { isUpdatingChildComponent = true; } // determine whether component has slot children // we need to do this before overwriting $options._renderChildren. // check if there are dynamic scopedSlots (hand-written or compiled but with // dynamic slot names). Static scoped slots compiled from template has the // "$stable" marker. var hasDynamicScopedSlot = !!( (parentVnode.data.scopedSlots && !parentVnode.data.scopedSlots.$stable) || (vm.$scopedSlots !== emptyObject && !vm.$scopedSlots.$stable) ); // Any static slot children from the parent may have changed during parent's // update. Dynamic scoped slots may also have changed. In such cases, a forced // update is necessary to ensure correctness. var needsForceUpdate = !!( renderChildren || // has new static slots vm.$options._renderChildren || // has old static slots hasDynamicScopedSlot ); vm.$options._parentVnode = parentVnode; vm.$vnode = parentVnode; // update vm's placeholder node without re-render if (vm._vnode) { // update child tree's parent vm._vnode.parent = parentVnode; } vm.$options._renderChildren = renderChildren; // update $attrs and $listeners hash // these are also reactive so they may trigger child update if the child // used them during render vm.$attrs = parentVnode.data.attrs || emptyObject; vm.$listeners = listeners || emptyObject; // update props if (propsData && vm.$options.props) { toggleObserving(false); var props = vm._props; var propKeys = vm.$options._propKeys || []; for (var i = 0; i < propKeys.length; i++) { var key = propKeys[i]; var propOptions = vm.$options.props; // wtf flow? props[key] = validateProp(key, propOptions, propsData, vm); } toggleObserving(true); // keep a copy of raw propsData vm.$options.propsData = propsData; } // update listeners listeners = listeners || emptyObject; var oldListeners = vm.$options._parentListeners; vm.$options._parentListeners = listeners; updateComponentListeners(vm, listeners, oldListeners); // resolve slots + force update if has children if (needsForceUpdate) { vm.$slots = resolveSlots(renderChildren, parentVnode.context); vm.$forceUpdate(); } { isUpdatingChildComponent = false; } } function isInInactiveTree (vm) { while (vm && (vm = vm.$parent)) { if (vm._inactive) { return true } } return false } function activateChildComponent (vm, direct) { if (direct) { vm._directInactive = false; if (isInInactiveTree(vm)) { return } } else if (vm._directInactive) { return } if (vm._inactive || vm._inactive === null) { vm._inactive = false; for (var i = 0; i < vm.$children.length; i++) { activateChildComponent(vm.$children[i]); } callHook(vm, 'activated'); } } function deactivateChildComponent (vm, direct) { if (direct) { vm._directInactive = true; if (isInInactiveTree(vm)) { return } } if (!vm._inactive) { vm._inactive = true; for (var i = 0; i < vm.$children.length; i++) { deactivateChildComponent(vm.$children[i]); } callHook(vm, 'deactivated'); } } function callHook (vm, hook) { // #7573 disable dep collection when invoking lifecycle hooks pushTarget(); var handlers = vm.$options[hook]; var info = hook + " hook"; if (handlers) { for (var i = 0, j = handlers.length; i < j; i++) { invokeWithErrorHandling(handlers[i], vm, null, vm, info); } } if (vm._hasHookEvent) { vm.$emit('hook:' + hook); } popTarget(); } /* */ var MAX_UPDATE_COUNT = 100; var queue = []; var activatedChildren = []; var has = {}; var circular = {}; var waiting = false; var flushing = false; var index = 0; /** * Reset the scheduler's state. */ function resetSchedulerState () { index = queue.length = activatedChildren.length = 0; has = {}; { circular = {}; } waiting = flushing = false; } // Async edge case #6566 requires saving the timestamp when event listeners are // attached. However, calling performance.now() has a perf overhead especially // if the page has thousands of event listeners. Instead, we take a timestamp // every time the scheduler flushes and use that for all event listeners // attached during that flush. var currentFlushTimestamp = 0; // Async edge case fix requires storing an event listener's attach timestamp. var getNow = Date.now; // Determine what event timestamp the browser is using. Annoyingly, the // timestamp can either be hi-res (relative to page load) or low-res // (relative to UNIX epoch), so in order to compare time we have to use the // same timestamp type when saving the flush timestamp. if (inBrowser && getNow() > document.createEvent('Event').timeStamp) { // if the low-res timestamp which is bigger than the event timestamp // (which is evaluated AFTER) it means the event is using a hi-res timestamp, // and we need to use the hi-res version for event listeners as well. getNow = function () { return performance.now(); }; } /** * Flush both queues and run the watchers. */ function flushSchedulerQueue () { currentFlushTimestamp = getNow(); flushing = true; var watcher, id; // Sort queue before flush. // This ensures that: // 1. Components are updated from parent to child. (because parent is always // created before the child) // 2. A component's user watchers are run before its render watcher (because // user watchers are created before the render watcher) // 3. If a component is destroyed during a parent component's watcher run, // its watchers can be skipped. queue.sort(function (a, b) { return a.id - b.id; }); // do not cache length because more watchers might be pushed // as we run existing watchers for (index = 0; index < queue.length; index++) { watcher = queue[index]; if (watcher.before) { watcher.before(); } id = watcher.id; has[id] = null; watcher.run(); // in dev build, check and stop circular updates. if (has[id] != null) { circular[id] = (circular[id] || 0) + 1; if (circular[id] > MAX_UPDATE_COUNT) { warn( 'You may have an infinite update loop ' + ( watcher.user ? ("in watcher with expression \"" + (watcher.expression) + "\"") : "in a component render function." ), watcher.vm ); break } } } // keep copies of post queues before resetting state var activatedQueue = activatedChildren.slice(); var updatedQueue = queue.slice(); resetSchedulerState(); // call component updated and activated hooks callActivatedHooks(activatedQueue); callUpdatedHooks(updatedQueue); // devtool hook /* istanbul ignore if */ if (devtools && config.devtools) { devtools.emit('flush'); } } function callUpdatedHooks (queue) { var i = queue.length; while (i--) { var watcher = queue[i]; var vm = watcher.vm; if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) { callHook(vm, 'updated'); } } } /** * Queue a kept-alive component that was activated during patch. * The queue will be processed after the entire tree has been patched. */ function queueActivatedComponent (vm) { // setting _inactive to false here so that a render function can // rely on checking whether it's in an inactive tree (e.g. router-view) vm._inactive = false; activatedChildren.push(vm); } function callActivatedHooks (queue) { for (var i = 0; i < queue.length; i++) { queue[i]._inactive = true; activateChildComponent(queue[i], true /* true */); } } /** * Push a watcher into the watcher queue. * Jobs with duplicate IDs will be skipped unless it's * pushed when the queue is being flushed. */ function queueWatcher (watcher) { var id = watcher.id; if (has[id] == null) { has[id] = true; if (!flushing) { queue.push(watcher); } else { // if already flushing, splice the watcher based on its id // if already past its id, it will be run next immediately. var i = queue.length - 1; while (i > index && queue[i].id > watcher.id) { i--; } queue.splice(i + 1, 0, watcher); } // queue the flush if (!waiting) { waiting = true; if (!config.async) { flushSchedulerQueue(); return } nextTick(flushSchedulerQueue); } } } /* */ var uid$2 = 0; /** * A watcher parses an expression, collects dependencies, * and fires callback when the expression value changes. * This is used for both the $watch() api and directives. */ var Watcher = function Watcher ( vm, expOrFn, cb, options, isRenderWatcher ) { this.vm = vm; if (isRenderWatcher) { vm._watcher = this; } vm._watchers.push(this); // options if (options) { this.deep = !!options.deep; this.user = !!options.user; this.lazy = !!options.lazy; this.sync = !!options.sync; this.before = options.before; } else { this.deep = this.user = this.lazy = this.sync = false; } this.cb = cb; this.id = ++uid$2; // uid for batching this.active = true; this.dirty = this.lazy; // for lazy watchers this.deps = []; this.newDeps = []; this.depIds = new _Set(); this.newDepIds = new _Set(); this.expression = expOrFn.toString(); // parse expression for getter if (typeof expOrFn === 'function') { this.getter = expOrFn; } else { this.getter = parsePath(expOrFn); if (!this.getter) { this.getter = noop; warn( "Failed watching path: \"" + expOrFn + "\" " + 'Watcher only accepts simple dot-delimited paths. ' + 'For full control, use a function instead.', vm ); } } this.value = this.lazy ? undefined : this.get(); }; /** * Evaluate the getter, and re-collect dependencies. */ Watcher.prototype.get = function get () { pushTarget(this); var value; var vm = this.vm; try { value = this.getter.call(vm, vm); } catch (e) { if (this.user) { handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\"")); } else { throw e } } finally { // "touch" every property so they are all tracked as // dependencies for deep watching if (this.deep) { traverse(value); } popTarget(); this.cleanupDeps(); } return value }; /** * Add a dependency to this directive. */ Watcher.prototype.addDep = function addDep (dep) { var id = dep.id; if (!this.newDepIds.has(id)) { this.newDepIds.add(id); this.newDeps.push(dep); if (!this.depIds.has(id)) { dep.addSub(this); } } }; /** * Clean up for dependency collection. */ Watcher.prototype.cleanupDeps = function cleanupDeps () { var i = this.deps.length; while (i--) { var dep = this.deps[i]; if (!this.newDepIds.has(dep.id)) { dep.removeSub(this); } } var tmp = this.depIds; this.depIds = this.newDepIds; this.newDepIds = tmp; this.newDepIds.clear(); tmp = this.deps; this.deps = this.newDeps; this.newDeps = tmp; this.newDeps.length = 0; }; /** * Subscriber interface. * Will be called when a dependency changes. */ Watcher.prototype.update = function update () { /* istanbul ignore else */ if (this.lazy) { this.dirty = true; } else if (this.sync) { this.run(); } else { queueWatcher(this); } }; /** * Scheduler job interface. * Will be called by the scheduler. */ Watcher.prototype.run = function run () { if (this.active) { var value = this.get(); if ( value !== this.value || // Deep watchers and watchers on Object/Arrays should fire even // when the value is the same, because the value may // have mutated. isObject(value) || this.deep ) { // set new value var oldValue = this.value; this.value = value; if (this.user) { try { this.cb.call(this.vm, value, oldValue); } catch (e) { handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\"")); } } else { this.cb.call(this.vm, value, oldValue); } } } }; /** * Evaluate the value of the watcher. * This only gets called for lazy watchers. */ Watcher.prototype.evaluate = function evaluate () { this.value = this.get(); this.dirty = false; }; /** * Depend on all deps collected by this watcher. */ Watcher.prototype.depend = function depend () { var i = this.deps.length; while (i--) { this.deps[i].depend(); } }; /** * Remove self from all dependencies' subscriber list. */ Watcher.prototype.teardown = function teardown () { if (this.active) { // remove self from vm's watcher list // this is a somewhat expensive operation so we skip it // if the vm is being destroyed. if (!this.vm._isBeingDestroyed) { remove(this.vm._watchers, this); } var i = this.deps.length; while (i--) { this.deps[i].removeSub(this); } this.active = false; } }; /* */ var sharedPropertyDefinition = { enumerable: true, configurable: true, get: noop, set: noop }; function proxy (target, sourceKey, key) { sharedPropertyDefinition.get = function proxyGetter () { return this[sourceKey][key] }; sharedPropertyDefinition.set = function proxySetter (val) { this[sourceKey][key] = val; }; Object.defineProperty(target, key, sharedPropertyDefinition); } function initState (vm) { vm._watchers = []; var opts = vm.$options; if (opts.props) { initProps(vm, opts.props); } if (opts.methods) { initMethods(vm, opts.methods); } if (opts.data) { initData(vm); } else { observe(vm._data = {}, true /* asRootData */); } if (opts.computed) { initComputed(vm, opts.computed); } if (opts.watch && opts.watch !== nativeWatch) { initWatch(vm, opts.watch); } } function initProps (vm, propsOptions) { var propsData = vm.$options.propsData || {}; var props = vm._props = {}; // cache prop keys so that future props updates can iterate using Array // instead of dynamic object key enumeration. var keys = vm.$options._propKeys = []; var isRoot = !vm.$parent; // root instance props should be converted if (!isRoot) { toggleObserving(false); } var loop = function ( key ) { keys.push(key); var value = validateProp(key, propsOptions, propsData, vm); /* istanbul ignore else */ { var hyphenatedKey = hyphenate(key); if (isReservedAttribute(hyphenatedKey) || config.isReservedAttr(hyphenatedKey)) { warn( ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."), vm ); } defineReactive$$1(props, key, value, function () { if (!isRoot && !isUpdatingChildComponent) { warn( "Avoid mutating a prop directly since the value will be " + "overwritten whenever the parent component re-renders. " + "Instead, use a data or computed property based on the prop's " + "value. Prop being mutated: \"" + key + "\"", vm ); } }); } // static props are already proxied on the component's prototype // during Vue.extend(). We only need to proxy props defined at // instantiation here. if (!(key in vm)) { proxy(vm, "_props", key); } }; for (var key in propsOptions) loop( key ); toggleObserving(true); } function initData (vm) { var data = vm.$options.data; data = vm._data = typeof data === 'function' ? getData(data, vm) : data || {}; if (!isPlainObject(data)) { data = {}; warn( 'data functions should return an object:\n' + 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function', vm ); } // proxy data on instance var keys = Object.keys(data); var props = vm.$options.props; var methods = vm.$options.methods; var i = keys.length; while (i--) { var key = keys[i]; { if (methods && hasOwn(methods, key)) { warn( ("Method \"" + key + "\" has already been defined as a data property."), vm ); } } if (props && hasOwn(props, key)) { warn( "The data property \"" + key + "\" is already declared as a prop. " + "Use prop default value instead.", vm ); } else if (!isReserved(key)) { proxy(vm, "_data", key); } } // observe data observe(data, true /* asRootData */); } function getData (data, vm) { // #7573 disable dep collection when invoking data getters pushTarget(); try { return data.call(vm, vm) } catch (e) { handleError(e, vm, "data()"); return {} } finally { popTarget(); } } var computedWatcherOptions = { lazy: true }; function initComputed (vm, computed) { // $flow-disable-line var watchers = vm._computedWatchers = Object.create(null); // computed properties are just getters during SSR var isSSR = isServerRendering(); for (var key in computed) { var userDef = computed[key]; var getter = typeof userDef === 'function' ? userDef : userDef.get; if (getter == null) { warn( ("Getter is missing for computed property \"" + key + "\"."), vm ); } if (!isSSR) { // create internal watcher for the computed property. watchers[key] = new Watcher( vm, getter || noop, noop, computedWatcherOptions ); } // component-defined computed properties are already defined on the // component prototype. We only need to define computed properties defined // at instantiation here. if (!(key in vm)) { defineComputed(vm, key, userDef); } else { if (key in vm.$data) { warn(("The computed property \"" + key + "\" is already defined in data."), vm); } else if (vm.$options.props && key in vm.$options.props) { warn(("The computed property \"" + key + "\" is already defined as a prop."), vm); } } } } function defineComputed ( target, key, userDef ) { var shouldCache = !isServerRendering(); if (typeof userDef === 'function') { sharedPropertyDefinition.get = shouldCache ? createComputedGetter(key) : createGetterInvoker(userDef); sharedPropertyDefinition.set = noop; } else { sharedPropertyDefinition.get = userDef.get ? shouldCache && userDef.cache !== false ? createComputedGetter(key) : createGetterInvoker(userDef.get) : noop; sharedPropertyDefinition.set = userDef.set || noop; } if (sharedPropertyDefinition.set === noop) { sharedPropertyDefinition.set = function () { warn( ("Computed property \"" + key + "\" was assigned to but it has no setter."), this ); }; } Object.defineProperty(target, key, sharedPropertyDefinition); } function createComputedGetter (key) { return function computedGetter () { var watcher = this._computedWatchers && this._computedWatchers[key]; if (watcher) { if (watcher.dirty) { watcher.evaluate(); } if (Dep.target) { watcher.depend(); } return watcher.value } } } function createGetterInvoker(fn) { return function computedGetter () { return fn.call(this, this) } } function initMethods (vm, methods) { var props = vm.$options.props; for (var key in methods) { { if (typeof methods[key] !== 'function') { warn( "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " + "Did you reference the function correctly?", vm ); } if (props && hasOwn(props, key)) { warn( ("Method \"" + key + "\" has already been defined as a prop."), vm ); } if ((key in vm) && isReserved(key)) { warn( "Method \"" + key + "\" conflicts with an existing Vue instance method. " + "Avoid defining component methods that start with _ or $." ); } } vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm); } } function initWatch (vm, watch) { for (var key in watch) { var handler = watch[key]; if (Array.isArray(handler)) { for (var i = 0; i < handler.length; i++) { createWatcher(vm, key, handler[i]); } } else { createWatcher(vm, key, handler); } } } function createWatcher ( vm, expOrFn, handler, options ) { if (isPlainObject(handler)) { options = handler; handler = handler.handler; } if (typeof handler === 'string') { handler = vm[handler]; } return vm.$watch(expOrFn, handler, options) } function stateMixin (Vue) { // flow somehow has problems with directly declared definition object // when using Object.defineProperty, so we have to procedurally build up // the object here. var dataDef = {}; dataDef.get = function () { return this._data }; var propsDef = {}; propsDef.get = function () { return this._props }; { dataDef.set = function () { warn( 'Avoid replacing instance root $data. ' + 'Use nested data properties instead.', this ); }; propsDef.set = function () { warn("$props is readonly.", this); }; } Object.defineProperty(Vue.prototype, '$data', dataDef); Object.defineProperty(Vue.prototype, '$props', propsDef); Vue.prototype.$set = set; Vue.prototype.$delete = del; Vue.prototype.$watch = function ( expOrFn, cb, options ) { var vm = this; if (isPlainObject(cb)) { return createWatcher(vm, expOrFn, cb, options) } options = options || {}; options.user = true; var watcher = new Watcher(vm, expOrFn, cb, options); if (options.immediate) { try { cb.call(vm, watcher.value); } catch (error) { handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\"")); } } return function unwatchFn () { watcher.teardown(); } }; } /* */ var uid$3 = 0; function initMixin (Vue) { Vue.prototype._init = function (options) { var vm = this; // a uid vm._uid = uid$3++; var startTag, endTag; /* istanbul ignore if */ if (config.performance && mark) { startTag = "vue-perf-start:" + (vm._uid); endTag = "vue-perf-end:" + (vm._uid); mark(startTag); } // a flag to avoid this being observed vm._isVue = true; // merge options if (options && options._isComponent) { // optimize internal component instantiation // since dynamic options merging is pretty slow, and none of the // internal component options needs special treatment. initInternalComponent(vm, options); } else { vm.$options = mergeOptions( resolveConstructorOptions(vm.constructor), options || {}, vm ); } /* istanbul ignore else */ { initProxy(vm); } // expose real self vm._self = vm; initLifecycle(vm); initEvents(vm); initRender(vm); callHook(vm, 'beforeCreate'); initInjections(vm); // resolve injections before data/props initState(vm); initProvide(vm); // resolve provide after data/props callHook(vm, 'created'); /* istanbul ignore if */ if (config.performance && mark) { vm._name = formatComponentName(vm, false); mark(endTag); measure(("vue " + (vm._name) + " init"), startTag, endTag); } if (vm.$options.el) { vm.$mount(vm.$options.el); } }; } function initInternalComponent (vm, options) { var opts = vm.$options = Object.create(vm.constructor.options); // doing this because it's faster than dynamic enumeration. var parentVnode = options._parentVnode; opts.parent = options.parent; opts._parentVnode = parentVnode; var vnodeComponentOptions = parentVnode.componentOptions; opts.propsData = vnodeComponentOptions.propsData; opts._parentListeners = vnodeComponentOptions.listeners; opts._renderChildren = vnodeComponentOptions.children; opts._componentTag = vnodeComponentOptions.tag; if (options.render) { opts.render = options.render; opts.staticRenderFns = options.staticRenderFns; } } function resolveConstructorOptions (Ctor) { var options = Ctor.options; if (Ctor.super) { var superOptions = resolveConstructorOptions(Ctor.super); var cachedSuperOptions = Ctor.superOptions; if (superOptions !== cachedSuperOptions) { // super option changed, // need to resolve new options. Ctor.superOptions = superOptions; // check if there are any late-modified/attached options (#4976) var modifiedOptions = resolveModifiedOptions(Ctor); // update base extend options if (modifiedOptions) { extend(Ctor.extendOptions, modifiedOptions); } options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions); if (options.name) { options.components[options.name] = Ctor; } } } return options } function resolveModifiedOptions (Ctor) { var modified; var latest = Ctor.options; var sealed = Ctor.sealedOptions; for (var key in latest) { if (latest[key] !== sealed[key]) { if (!modified) { modified = {}; } modified[key] = latest[key]; } } return modified } function Vue (options) { if (!(this instanceof Vue) ) { warn('Vue is a constructor and should be called with the `new` keyword'); } this._init(options); } initMixin(Vue); stateMixin(Vue); eventsMixin(Vue); lifecycleMixin(Vue); renderMixin(Vue); /* */ function initUse (Vue) { Vue.use = function (plugin) { var installedPlugins = (this._installedPlugins || (this._installedPlugins = [])); if (installedPlugins.indexOf(plugin) > -1) { return this } // additional parameters var args = toArray(arguments, 1); args.unshift(this); if (typeof plugin.install === 'function') { plugin.install.apply(plugin, args); } else if (typeof plugin === 'function') { plugin.apply(null, args); } installedPlugins.push(plugin); return this }; } /* */ function initMixin$1 (Vue) { Vue.mixin = function (mixin) { this.options = mergeOptions(this.options, mixin); return this }; } /* */ function initExtend (Vue) { /** * Each instance constructor, including Vue, has a unique * cid. This enables us to create wrapped "child * constructors" for prototypal inheritance and cache them. */ Vue.cid = 0; var cid = 1; /** * Class inheritance */ Vue.extend = function (extendOptions) { extendOptions = extendOptions || {}; var Super = this; var SuperId = Super.cid; var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {}); if (cachedCtors[SuperId]) { return cachedCtors[SuperId] } var name = extendOptions.name || Super.options.name; if (name) { validateComponentName(name); } var Sub = function VueComponent (options) { this._init(options); }; Sub.prototype = Object.create(Super.prototype); Sub.prototype.constructor = Sub; Sub.cid = cid++; Sub.options = mergeOptions( Super.options, extendOptions ); Sub['super'] = Super; // For props and computed properties, we define the proxy getters on // the Vue instances at extension time, on the extended prototype. This // avoids Object.defineProperty calls for each instance created. if (Sub.options.props) { initProps$1(Sub); } if (Sub.options.computed) { initComputed$1(Sub); } // allow further extension/mixin/plugin usage Sub.extend = Super.extend; Sub.mixin = Super.mixin; Sub.use = Super.use; // create asset registers, so extended classes // can have their private assets too. ASSET_TYPES.forEach(function (type) { Sub[type] = Super[type]; }); // enable recursive self-lookup if (name) { Sub.options.components[name] = Sub; } // keep a reference to the super options at extension time. // later at instantiation we can check if Super's options have // been updated. Sub.superOptions = Super.options; Sub.extendOptions = extendOptions; Sub.sealedOptions = extend({}, Sub.options); // cache constructor cachedCtors[SuperId] = Sub; return Sub }; } function initProps$1 (Comp) { var props = Comp.options.props; for (var key in props) { proxy(Comp.prototype, "_props", key); } } function initComputed$1 (Comp) { var computed = Comp.options.computed; for (var key in computed) { defineComputed(Comp.prototype, key, computed[key]); } } /* */ function initAssetRegisters (Vue) { /** * Create asset registration methods. */ ASSET_TYPES.forEach(function (type) { Vue[type] = function ( id, definition ) { if (!definition) { return this.options[type + 's'][id] } else { /* istanbul ignore if */ if (type === 'component') { validateComponentName(id); } if (type === 'component' && isPlainObject(definition)) { definition.name = definition.name || id; definition = this.options._base.extend(definition); } if (type === 'directive' && typeof definition === 'function') { definition = { bind: definition, update: definition }; } this.options[type + 's'][id] = definition; return definition } }; }); } /* */ function getComponentName (opts) { return opts && (opts.Ctor.options.name || opts.tag) } function matches (pattern, name) { if (Array.isArray(pattern)) { return pattern.indexOf(name) > -1 } else if (typeof pattern === 'string') { return pattern.split(',').indexOf(name) > -1 } else if (isRegExp(pattern)) { return pattern.test(name) } /* istanbul ignore next */ return false } function pruneCache (keepAliveInstance, filter) { var cache = keepAliveInstance.cache; var keys = keepAliveInstance.keys; var _vnode = keepAliveInstance._vnode; for (var key in cache) { var cachedNode = cache[key]; if (cachedNode) { var name = getComponentName(cachedNode.componentOptions); if (name && !filter(name)) { pruneCacheEntry(cache, key, keys, _vnode); } } } } function pruneCacheEntry ( cache, key, keys, current ) { var cached$$1 = cache[key]; if (cached$$1 && (!current || cached$$1.tag !== current.tag)) { cached$$1.componentInstance.$destroy(); } cache[key] = null; remove(keys, key); } var patternTypes = [String, RegExp, Array]; var KeepAlive = { name: 'keep-alive', abstract: true, props: { include: patternTypes, exclude: patternTypes, max: [String, Number] }, created: function created () { this.cache = Object.create(null); this.keys = []; }, destroyed: function destroyed () { for (var key in this.cache) { pruneCacheEntry(this.cache, key, this.keys); } }, mounted: function mounted () { var this$1 = this; this.$watch('include', function (val) { pruneCache(this$1, function (name) { return matches(val, name); }); }); this.$watch('exclude', function (val) { pruneCache(this$1, function (name) { return !matches(val, name); }); }); }, render: function render () { var slot = this.$slots.default; var vnode = getFirstComponentChild(slot); var componentOptions = vnode && vnode.componentOptions; if (componentOptions) { // check pattern var name = getComponentName(componentOptions); var ref = this; var include = ref.include; var exclude = ref.exclude; if ( // not included (include && (!name || !matches(include, name))) || // excluded (exclude && name && matches(exclude, name)) ) { return vnode } var ref$1 = this; var cache = ref$1.cache; var keys = ref$1.keys; var key = vnode.key == null // same constructor may get registered as different local components // so cid alone is not enough (#3269) ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '') : vnode.key; if (cache[key]) { vnode.componentInstance = cache[key].componentInstance; // make current key freshest remove(keys, key); keys.push(key); } else { cache[key] = vnode; keys.push(key); // prune oldest entry if (this.max && keys.length > parseInt(this.max)) { pruneCacheEntry(cache, keys[0], keys, this._vnode); } } vnode.data.keepAlive = true; } return vnode || (slot && slot[0]) } }; var builtInComponents = { KeepAlive: KeepAlive }; /* */ function initGlobalAPI (Vue) { // config var configDef = {}; configDef.get = function () { return config; }; { configDef.set = function () { warn( 'Do not replace the Vue.config object, set individual fields instead.' ); }; } Object.defineProperty(Vue, 'config', configDef); // exposed util methods. // NOTE: these are not considered part of the public API - avoid relying on // them unless you are aware of the risk. Vue.util = { warn: warn, extend: extend, mergeOptions: mergeOptions, defineReactive: defineReactive$$1 }; Vue.set = set; Vue.delete = del; Vue.nextTick = nextTick; // 2.6 explicit observable API Vue.observable = function (obj) { observe(obj); return obj }; Vue.options = Object.create(null); ASSET_TYPES.forEach(function (type) { Vue.options[type + 's'] = Object.create(null); }); // this is used to identify the "base" constructor to extend all plain-object // components with in Weex's multi-instance scenarios. Vue.options._base = Vue; extend(Vue.options.components, builtInComponents); initUse(Vue); initMixin$1(Vue); initExtend(Vue); initAssetRegisters(Vue); } initGlobalAPI(Vue); Object.defineProperty(Vue.prototype, '$isServer', { get: isServerRendering }); Object.defineProperty(Vue.prototype, '$ssrContext', { get: function get () { /* istanbul ignore next */ return this.$vnode && this.$vnode.ssrContext } }); // expose FunctionalRenderContext for ssr runtime helper installation Object.defineProperty(Vue, 'FunctionalRenderContext', { value: FunctionalRenderContext }); Vue.version = '2.6.6'; /* */ // these are reserved for web because they are directly compiled away // during template compilation var isReservedAttr = makeMap('style,class'); // attributes that should be using props for binding var acceptValue = makeMap('input,textarea,option,select,progress'); var mustUseProp = function (tag, type, attr) { return ( (attr === 'value' && acceptValue(tag)) && type !== 'button' || (attr === 'selected' && tag === 'option') || (attr === 'checked' && tag === 'input') || (attr === 'muted' && tag === 'video') ) }; var isEnumeratedAttr = makeMap('contenteditable,draggable,spellcheck'); var isValidContentEditableValue = makeMap('events,caret,typing,plaintext-only'); var convertEnumeratedValue = function (key, value) { return isFalsyAttrValue(value) || value === 'false' ? 'false' // allow arbitrary string value for contenteditable : key === 'contenteditable' && isValidContentEditableValue(value) ? value : 'true' }; var isBooleanAttr = makeMap( 'allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,' + 'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,' + 'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,' + 'muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,' + 'required,reversed,scoped,seamless,selected,sortable,translate,' + 'truespeed,typemustmatch,visible' ); var xlinkNS = 'http://www.w3.org/1999/xlink'; var isXlink = function (name) { return name.charAt(5) === ':' && name.slice(0, 5) === 'xlink' }; var getXlinkProp = function (name) { return isXlink(name) ? name.slice(6, name.length) : '' }; var isFalsyAttrValue = function (val) { return val == null || val === false }; /* */ function genClassForVnode (vnode) { var data = vnode.data; var parentNode = vnode; var childNode = vnode; while (isDef(childNode.componentInstance)) { childNode = childNode.componentInstance._vnode; if (childNode && childNode.data) { data = mergeClassData(childNode.data, data); } } while (isDef(parentNode = parentNode.parent)) { if (parentNode && parentNode.data) { data = mergeClassData(data, parentNode.data); } } return renderClass(data.staticClass, data.class) } function mergeClassData (child, parent) { return { staticClass: concat(child.staticClass, parent.staticClass), class: isDef(child.class) ? [child.class, parent.class] : parent.class } } function renderClass ( staticClass, dynamicClass ) { if (isDef(staticClass) || isDef(dynamicClass)) { return concat(staticClass, stringifyClass(dynamicClass)) } /* istanbul ignore next */ return '' } function concat (a, b) { return a ? b ? (a + ' ' + b) : a : (b || '') } function stringifyClass (value) { if (Array.isArray(value)) { return stringifyArray(value) } if (isObject(value)) { return stringifyObject(value) } if (typeof value === 'string') { return value } /* istanbul ignore next */ return '' } function stringifyArray (value) { var res = ''; var stringified; for (var i = 0, l = value.length; i < l; i++) { if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') { if (res) { res += ' '; } res += stringified; } } return res } function stringifyObject (value) { var res = ''; for (var key in value) { if (value[key]) { if (res) { res += ' '; } res += key; } } return res } /* */ var namespaceMap = { svg: 'http://www.w3.org/2000/svg', math: 'http://www.w3.org/1998/Math/MathML' }; var isHTMLTag = makeMap( 'html,body,base,head,link,meta,style,title,' + 'address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,' + 'div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,' + 'a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,' + 's,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,' + 'embed,object,param,source,canvas,script,noscript,del,ins,' + 'caption,col,colgroup,table,thead,tbody,td,th,tr,' + 'button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,' + 'output,progress,select,textarea,' + 'details,dialog,menu,menuitem,summary,' + 'content,element,shadow,template,blockquote,iframe,tfoot' ); // this map is intentionally selective, only covering SVG elements that may // contain child elements. var isSVG = makeMap( 'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,' + 'foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' + 'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view', true ); var isPreTag = function (tag) { return tag === 'pre'; }; var isReservedTag = function (tag) { return isHTMLTag(tag) || isSVG(tag) }; function getTagNamespace (tag) { if (isSVG(tag)) { return 'svg' } // basic support for MathML // note it doesn't support other MathML elements being component roots if (tag === 'math') { return 'math' } } var unknownElementCache = Object.create(null); function isUnknownElement (tag) { /* istanbul ignore if */ if (!inBrowser) { return true } if (isReservedTag(tag)) { return false } tag = tag.toLowerCase(); /* istanbul ignore if */ if (unknownElementCache[tag] != null) { return unknownElementCache[tag] } var el = document.createElement(tag); if (tag.indexOf('-') > -1) { // http://stackoverflow.com/a/28210364/1070244 return (unknownElementCache[tag] = ( el.constructor === window.HTMLUnknownElement || el.constructor === window.HTMLElement )) } else { return (unknownElementCache[tag] = /HTMLUnknownElement/.test(el.toString())) } } var isTextInputType = makeMap('text,number,password,search,email,tel,url'); /* */ /** * Query an element selector if it's not an element already. */ function query (el) { if (typeof el === 'string') { var selected = document.querySelector(el); if (!selected) { warn( 'Cannot find element: ' + el ); return document.createElement('div') } return selected } else { return el } } /* */ function createElement$1 (tagName, vnode) { var elm = document.createElement(tagName); if (tagName !== 'select') { return elm } // false or null will remove the attribute but undefined will not if (vnode.data && vnode.data.attrs && vnode.data.attrs.multiple !== undefined) { elm.setAttribute('multiple', 'multiple'); } return elm } function createElementNS (namespace, tagName) { return document.createElementNS(namespaceMap[namespace], tagName) } function createTextNode (text) { return document.createTextNode(text) } function createComment (text) { return document.createComment(text) } function insertBefore (parentNode, newNode, referenceNode) { parentNode.insertBefore(newNode, referenceNode); } function removeChild (node, child) { node.removeChild(child); } function appendChild (node, child) { node.appendChild(child); } function parentNode (node) { return node.parentNode } function nextSibling (node) { return node.nextSibling } function tagName (node) { return node.tagName } function setTextContent (node, text) { node.textContent = text; } function setStyleScope (node, scopeId) { node.setAttribute(scopeId, ''); } var nodeOps = /*#__PURE__*/Object.freeze({ createElement: createElement$1, createElementNS: createElementNS, createTextNode: createTextNode, createComment: createComment, insertBefore: insertBefore, removeChild: removeChild, appendChild: appendChild, parentNode: parentNode, nextSibling: nextSibling, tagName: tagName, setTextContent: setTextContent, setStyleScope: setStyleScope }); /* */ var ref = { create: function create (_, vnode) { registerRef(vnode); }, update: function update (oldVnode, vnode) { if (oldVnode.data.ref !== vnode.data.ref) { registerRef(oldVnode, true); registerRef(vnode); } }, destroy: function destroy (vnode) { registerRef(vnode, true); } }; function registerRef (vnode, isRemoval) { var key = vnode.data.ref; if (!isDef(key)) { return } var vm = vnode.context; var ref = vnode.componentInstance || vnode.elm; var refs = vm.$refs; if (isRemoval) { if (Array.isArray(refs[key])) { remove(refs[key], ref); } else if (refs[key] === ref) { refs[key] = undefined; } } else { if (vnode.data.refInFor) { if (!Array.isArray(refs[key])) { refs[key] = [ref]; } else if (refs[key].indexOf(ref) < 0) { // $flow-disable-line refs[key].push(ref); } } else { refs[key] = ref; } } } /** * Virtual DOM patching algorithm based on Snabbdom by * Simon Friis Vindum (@paldepind) * Licensed under the MIT License * https://github.com/paldepind/snabbdom/blob/master/LICENSE * * modified by Evan You (@yyx990803) * * Not type-checking this because this file is perf-critical and the cost * of making flow understand it is not worth it. */ var emptyNode = new VNode('', {}, []); var hooks = ['create', 'activate', 'update', 'remove', 'destroy']; function sameVnode (a, b) { return ( a.key === b.key && ( ( a.tag === b.tag && a.isComment === b.isComment && isDef(a.data) === isDef(b.data) && sameInputType(a, b) ) || ( isTrue(a.isAsyncPlaceholder) && a.asyncFactory === b.asyncFactory && isUndef(b.asyncFactory.error) ) ) ) } function sameInputType (a, b) { if (a.tag !== 'input') { return true } var i; var typeA = isDef(i = a.data) && isDef(i = i.attrs) && i.type; var typeB = isDef(i = b.data) && isDef(i = i.attrs) && i.type; return typeA === typeB || isTextInputType(typeA) && isTextInputType(typeB) } function createKeyToOldIdx (children, beginIdx, endIdx) { var i, key; var map = {}; for (i = beginIdx; i <= endIdx; ++i) { key = children[i].key; if (isDef(key)) { map[key] = i; } } return map } function createPatchFunction (backend) { var i, j; var cbs = {}; var modules = backend.modules; var nodeOps = backend.nodeOps; for (i = 0; i < hooks.length; ++i) { cbs[hooks[i]] = []; for (j = 0; j < modules.length; ++j) { if (isDef(modules[j][hooks[i]])) { cbs[hooks[i]].push(modules[j][hooks[i]]); } } } function emptyNodeAt (elm) { return new VNode(nodeOps.tagName(elm).toLowerCase(), {}, [], undefined, elm) } function createRmCb (childElm, listeners) { function remove$$1 () { if (--remove$$1.listeners === 0) { removeNode(childElm); } } remove$$1.listeners = listeners; return remove$$1 } function removeNode (el) { var parent = nodeOps.parentNode(el); // element may have already been removed due to v-html / v-text if (isDef(parent)) { nodeOps.removeChild(parent, el); } } function isUnknownElement$$1 (vnode, inVPre) { return ( !inVPre && !vnode.ns && !( config.ignoredElements.length && config.ignoredElements.some(function (ignore) { return isRegExp(ignore) ? ignore.test(vnode.tag) : ignore === vnode.tag }) ) && config.isUnknownElement(vnode.tag) ) } var creatingElmInVPre = 0; function createElm ( vnode, insertedVnodeQueue, parentElm, refElm, nested, ownerArray, index ) { if (isDef(vnode.elm) && isDef(ownerArray)) { // This vnode was used in a previous render! // now it's used as a new node, overwriting its elm would cause // potential patch errors down the road when it's used as an insertion // reference node. Instead, we clone the node on-demand before creating // associated DOM element for it. vnode = ownerArray[index] = cloneVNode(vnode); } vnode.isRootInsert = !nested; // for transition enter check if (createComponent(vnode, insertedVnodeQueue, parentElm, refElm)) { return } var data = vnode.data; var children = vnode.children; var tag = vnode.tag; if (isDef(tag)) { { if (data && data.pre) { creatingElmInVPre++; } if (isUnknownElement$$1(vnode, creatingElmInVPre)) { warn( 'Unknown custom element: <' + tag + '> - did you ' + 'register the component correctly? For recursive components, ' + 'make sure to provide the "name" option.', vnode.context ); } } vnode.elm = vnode.ns ? nodeOps.createElementNS(vnode.ns, tag) : nodeOps.createElement(tag, vnode); setScope(vnode); /* istanbul ignore if */ { createChildren(vnode, children, insertedVnodeQueue); if (isDef(data)) { invokeCreateHooks(vnode, insertedVnodeQueue); } insert(parentElm, vnode.elm, refElm); } if (data && data.pre) { creatingElmInVPre--; } } else if (isTrue(vnode.isComment)) { vnode.elm = nodeOps.createComment(vnode.text); insert(parentElm, vnode.elm, refElm); } else { vnode.elm = nodeOps.createTextNode(vnode.text); insert(parentElm, vnode.elm, refElm); } } function createComponent (vnode, insertedVnodeQueue, parentElm, refElm) { var i = vnode.data; if (isDef(i)) { var isReactivated = isDef(vnode.componentInstance) && i.keepAlive; if (isDef(i = i.hook) && isDef(i = i.init)) { i(vnode, false /* hydrating */); } // after calling the init hook, if the vnode is a child component // it should've created a child instance and mounted it. the child // component also has set the placeholder vnode's elm. // in that case we can just return the element and be done. if (isDef(vnode.componentInstance)) { initComponent(vnode, insertedVnodeQueue); insert(parentElm, vnode.elm, refElm); if (isTrue(isReactivated)) { reactivateComponent(vnode, insertedVnodeQueue, parentElm, refElm); } return true } } } function initComponent (vnode, insertedVnodeQueue) { if (isDef(vnode.data.pendingInsert)) { insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInsert); vnode.data.pendingInsert = null; } vnode.elm = vnode.componentInstance.$el; if (isPatchable(vnode)) { invokeCreateHooks(vnode, insertedVnodeQueue); setScope(vnode); } else { // empty component root. // skip all element-related modules except for ref (#3455) registerRef(vnode); // make sure to invoke the insert hook insertedVnodeQueue.push(vnode); } } function reactivateComponent (vnode, insertedVnodeQueue, parentElm, refElm) { var i; // hack for #4339: a reactivated component with inner transition // does not trigger because the inner node's created hooks are not called // again. It's not ideal to involve module-specific logic in here but // there doesn't seem to be a better way to do it. var innerNode = vnode; while (innerNode.componentInstance) { innerNode = innerNode.componentInstance._vnode; if (isDef(i = innerNode.data) && isDef(i = i.transition)) { for (i = 0; i < cbs.activate.length; ++i) { cbs.activate[i](emptyNode, innerNode); } insertedVnodeQueue.push(innerNode); break } } // unlike a newly created component, // a reactivated keep-alive component doesn't insert itself insert(parentElm, vnode.elm, refElm); } function insert (parent, elm, ref$$1) { if (isDef(parent)) { if (isDef(ref$$1)) { if (nodeOps.parentNode(ref$$1) === parent) { nodeOps.insertBefore(parent, elm, ref$$1); } } else { nodeOps.appendChild(parent, elm); } } } function createChildren (vnode, children, insertedVnodeQueue) { if (Array.isArray(children)) { { checkDuplicateKeys(children); } for (var i = 0; i < children.length; ++i) { createElm(children[i], insertedVnodeQueue, vnode.elm, null, true, children, i); } } else if (isPrimitive(vnode.text)) { nodeOps.appendChild(vnode.elm, nodeOps.createTextNode(String(vnode.text))); } } function isPatchable (vnode) { while (vnode.componentInstance) { vnode = vnode.componentInstance._vnode; } return isDef(vnode.tag) } function invokeCreateHooks (vnode, insertedVnodeQueue) { for (var i$1 = 0; i$1 < cbs.create.length; ++i$1) { cbs.create[i$1](emptyNode, vnode); } i = vnode.data.hook; // Reuse variable if (isDef(i)) { if (isDef(i.create)) { i.create(emptyNode, vnode); } if (isDef(i.insert)) { insertedVnodeQueue.push(vnode); } } } // set scope id attribute for scoped CSS. // this is implemented as a special case to avoid the overhead // of going through the normal attribute patching process. function setScope (vnode) { var i; if (isDef(i = vnode.fnScopeId)) { nodeOps.setStyleScope(vnode.elm, i); } else { var ancestor = vnode; while (ancestor) { if (isDef(i = ancestor.context) && isDef(i = i.$options._scopeId)) { nodeOps.setStyleScope(vnode.elm, i); } ancestor = ancestor.parent; } } // for slot content they should also get the scopeId from the host instance. if (isDef(i = activeInstance) && i !== vnode.context && i !== vnode.fnContext && isDef(i = i.$options._scopeId) ) { nodeOps.setStyleScope(vnode.elm, i); } } function addVnodes (parentElm, refElm, vnodes, startIdx, endIdx, insertedVnodeQueue) { for (; startIdx <= endIdx; ++startIdx) { createElm(vnodes[startIdx], insertedVnodeQueue, parentElm, refElm, false, vnodes, startIdx); } } function invokeDestroyHook (vnode) { var i, j; var data = vnode.data; if (isDef(data)) { if (isDef(i = data.hook) && isDef(i = i.destroy)) { i(vnode); } for (i = 0; i < cbs.destroy.length; ++i) { cbs.destroy[i](vnode); } } if (isDef(i = vnode.children)) { for (j = 0; j < vnode.children.length; ++j) { invokeDestroyHook(vnode.children[j]); } } } function removeVnodes (parentElm, vnodes, startIdx, endIdx) { for (; startIdx <= endIdx; ++startIdx) { var ch = vnodes[startIdx]; if (isDef(ch)) { if (isDef(ch.tag)) { removeAndInvokeRemoveHook(ch); invokeDestroyHook(ch); } else { // Text node removeNode(ch.elm); } } } } function removeAndInvokeRemoveHook (vnode, rm) { if (isDef(rm) || isDef(vnode.data)) { var i; var listeners = cbs.remove.length + 1; if (isDef(rm)) { // we have a recursively passed down rm callback // increase the listeners count rm.listeners += listeners; } else { // directly removing rm = createRmCb(vnode.elm, listeners); } // recursively invoke hooks on child component root node if (isDef(i = vnode.componentInstance) && isDef(i = i._vnode) && isDef(i.data)) { removeAndInvokeRemoveHook(i, rm); } for (i = 0; i < cbs.remove.length; ++i) { cbs.remove[i](vnode, rm); } if (isDef(i = vnode.data.hook) && isDef(i = i.remove)) { i(vnode, rm); } else { rm(); } } else { removeNode(vnode.elm); } } function updateChildren (parentElm, oldCh, newCh, insertedVnodeQueue, removeOnly) { var oldStartIdx = 0; var newStartIdx = 0; var oldEndIdx = oldCh.length - 1; var oldStartVnode = oldCh[0]; var oldEndVnode = oldCh[oldEndIdx]; var newEndIdx = newCh.length - 1; var newStartVnode = newCh[0]; var newEndVnode = newCh[newEndIdx]; var oldKeyToIdx, idxInOld, vnodeToMove, refElm; // removeOnly is a special flag used only by <transition-group> // to ensure removed elements stay in correct relative positions // during leaving transitions var canMove = !removeOnly; { checkDuplicateKeys(newCh); } while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) { if (isUndef(oldStartVnode)) { oldStartVnode = oldCh[++oldStartIdx]; // Vnode has been moved left } else if (isUndef(oldEndVnode)) { oldEndVnode = oldCh[--oldEndIdx]; } else if (sameVnode(oldStartVnode, newStartVnode)) { patchVnode(oldStartVnode, newStartVnode, insertedVnodeQueue, newCh, newStartIdx); oldStartVnode = oldCh[++oldStartIdx]; newStartVnode = newCh[++newStartIdx]; } else if (sameVnode(oldEndVnode, newEndVnode)) { patchVnode(oldEndVnode, newEndVnode, insertedVnodeQueue, newCh, newEndIdx); oldEndVnode = oldCh[--oldEndIdx]; newEndVnode = newCh[--newEndIdx]; } else if (sameVnode(oldStartVnode, newEndVnode)) { // Vnode moved right patchVnode(oldStartVnode, newEndVnode, insertedVnodeQueue, newCh, newEndIdx); canMove && nodeOps.insertBefore(parentElm, oldStartVnode.elm, nodeOps.nextSibling(oldEndVnode.elm)); oldStartVnode = oldCh[++oldStartIdx]; newEndVnode = newCh[--newEndIdx]; } else if (sameVnode(oldEndVnode, newStartVnode)) { // Vnode moved left patchVnode(oldEndVnode, newStartVnode, insertedVnodeQueue, newCh, newStartIdx); canMove && nodeOps.insertBefore(parentElm, oldEndVnode.elm, oldStartVnode.elm); oldEndVnode = oldCh[--oldEndIdx]; newStartVnode = newCh[++newStartIdx]; } else { if (isUndef(oldKeyToIdx)) { oldKeyToIdx = createKeyToOldIdx(oldCh, oldStartIdx, oldEndIdx); } idxInOld = isDef(newStartVnode.key) ? oldKeyToIdx[newStartVnode.key] : findIdxInOld(newStartVnode, oldCh, oldStartIdx, oldEndIdx); if (isUndef(idxInOld)) { // New element createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm, false, newCh, newStartIdx); } else { vnodeToMove = oldCh[idxInOld]; if (sameVnode(vnodeToMove, newStartVnode)) { patchVnode(vnodeToMove, newStartVnode, insertedVnodeQueue, newCh, newStartIdx); oldCh[idxInOld] = undefined; canMove && nodeOps.insertBefore(parentElm, vnodeToMove.elm, oldStartVnode.elm); } else { // same key but different element. treat as new element createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm, false, newCh, newStartIdx); } } newStartVnode = newCh[++newStartIdx]; } } if (oldStartIdx > oldEndIdx) { refElm = isUndef(newCh[newEndIdx + 1]) ? null : newCh[newEndIdx + 1].elm; addVnodes(parentElm, refElm, newCh, newStartIdx, newEndIdx, insertedVnodeQueue); } else if (newStartIdx > newEndIdx) { removeVnodes(parentElm, oldCh, oldStartIdx, oldEndIdx); } } function checkDuplicateKeys (children) { var seenKeys = {}; for (var i = 0; i < children.length; i++) { var vnode = children[i]; var key = vnode.key; if (isDef(key)) { if (seenKeys[key]) { warn( ("Duplicate keys detected: '" + key + "'. This may cause an update error."), vnode.context ); } else { seenKeys[key] = true; } } } } function findIdxInOld (node, oldCh, start, end) { for (var i = start; i < end; i++) { var c = oldCh[i]; if (isDef(c) && sameVnode(node, c)) { return i } } } function patchVnode ( oldVnode, vnode, insertedVnodeQueue, ownerArray, index, removeOnly ) { if (oldVnode === vnode) { return } if (isDef(vnode.elm) && isDef(ownerArray)) { // clone reused vnode vnode = ownerArray[index] = cloneVNode(vnode); } var elm = vnode.elm = oldVnode.elm; if (isTrue(oldVnode.isAsyncPlaceholder)) { if (isDef(vnode.asyncFactory.resolved)) { hydrate(oldVnode.elm, vnode, insertedVnodeQueue); } else { vnode.isAsyncPlaceholder = true; } return } // reuse element for static trees. // note we only do this if the vnode is cloned - // if the new node is not cloned it means the render functions have been // reset by the hot-reload-api and we need to do a proper re-render. if (isTrue(vnode.isStatic) && isTrue(oldVnode.isStatic) && vnode.key === oldVnode.key && (isTrue(vnode.isCloned) || isTrue(vnode.isOnce)) ) { vnode.componentInstance = oldVnode.componentInstance; return } var i; var data = vnode.data; if (isDef(data) && isDef(i = data.hook) && isDef(i = i.prepatch)) { i(oldVnode, vnode); } var oldCh = oldVnode.children; var ch = vnode.children; if (isDef(data) && isPatchable(vnode)) { for (i = 0; i < cbs.update.length; ++i) { cbs.update[i](oldVnode, vnode); } if (isDef(i = data.hook) && isDef(i = i.update)) { i(oldVnode, vnode); } } if (isUndef(vnode.text)) { if (isDef(oldCh) && isDef(ch)) { if (oldCh !== ch) { updateChildren(elm, oldCh, ch, insertedVnodeQueue, removeOnly); } } else if (isDef(ch)) { { checkDuplicateKeys(ch); } if (isDef(oldVnode.text)) { nodeOps.setTextContent(elm, ''); } addVnodes(elm, null, ch, 0, ch.length - 1, insertedVnodeQueue); } else if (isDef(oldCh)) { removeVnodes(elm, oldCh, 0, oldCh.length - 1); } else if (isDef(oldVnode.text)) { nodeOps.setTextContent(elm, ''); } } else if (oldVnode.text !== vnode.text) { nodeOps.setTextContent(elm, vnode.text); } if (isDef(data)) { if (isDef(i = data.hook) && isDef(i = i.postpatch)) { i(oldVnode, vnode); } } } function invokeInsertHook (vnode, queue, initial) { // delay insert hooks for component root nodes, invoke them after the // element is really inserted if (isTrue(initial) && isDef(vnode.parent)) { vnode.parent.data.pendingInsert = queue; } else { for (var i = 0; i < queue.length; ++i) { queue[i].data.hook.insert(queue[i]); } } } var hydrationBailed = false; // list of modules that can skip create hook during hydration because they // are already rendered on the client or has no need for initialization // Note: style is excluded because it relies on initial clone for future // deep updates (#7063). var isRenderedModule = makeMap('attrs,class,staticClass,staticStyle,key'); // Note: this is a browser-only function so we can assume elms are DOM nodes. function hydrate (elm, vnode, insertedVnodeQueue, inVPre) { var i; var tag = vnode.tag; var data = vnode.data; var children = vnode.children; inVPre = inVPre || (data && data.pre); vnode.elm = elm; if (isTrue(vnode.isComment) && isDef(vnode.asyncFactory)) { vnode.isAsyncPlaceholder = true; return true } // assert node match { if (!assertNodeMatch(elm, vnode, inVPre)) { return false } } if (isDef(data)) { if (isDef(i = data.hook) && isDef(i = i.init)) { i(vnode, true /* hydrating */); } if (isDef(i = vnode.componentInstance)) { // child component. it should have hydrated its own tree. initComponent(vnode, insertedVnodeQueue); return true } } if (isDef(tag)) { if (isDef(children)) { // empty element, allow client to pick up and populate children if (!elm.hasChildNodes()) { createChildren(vnode, children, insertedVnodeQueue); } else { // v-html and domProps: innerHTML if (isDef(i = data) && isDef(i = i.domProps) && isDef(i = i.innerHTML)) { if (i !== elm.innerHTML) { /* istanbul ignore if */ if (typeof console !== 'undefined' && !hydrationBailed ) { hydrationBailed = true; console.warn('Parent: ', elm); console.warn('server innerHTML: ', i); console.warn('client innerHTML: ', elm.innerHTML); } return false } } else { // iterate and compare children lists var childrenMatch = true; var childNode = elm.firstChild; for (var i$1 = 0; i$1 < children.length; i$1++) { if (!childNode || !hydrate(childNode, children[i$1], insertedVnodeQueue, inVPre)) { childrenMatch = false; break } childNode = childNode.nextSibling; } // if childNode is not null, it means the actual childNodes list is // longer than the virtual children list. if (!childrenMatch || childNode) { /* istanbul ignore if */ if (typeof console !== 'undefined' && !hydrationBailed ) { hydrationBailed = true; console.warn('Parent: ', elm); console.warn('Mismatching childNodes vs. VNodes: ', elm.childNodes, children); } return false } } } } if (isDef(data)) { var fullInvoke = false; for (var key in data) { if (!isRenderedModule(key)) { fullInvoke = true; invokeCreateHooks(vnode, insertedVnodeQueue); break } } if (!fullInvoke && data['class']) { // ensure collecting deps for deep class bindings for future updates traverse(data['class']); } } } else if (elm.data !== vnode.text) { elm.data = vnode.text; } return true } function assertNodeMatch (node, vnode, inVPre) { if (isDef(vnode.tag)) { return vnode.tag.indexOf('vue-component') === 0 || ( !isUnknownElement$$1(vnode, inVPre) && vnode.tag.toLowerCase() === (node.tagName && node.tagName.toLowerCase()) ) } else { return node.nodeType === (vnode.isComment ? 8 : 3) } } return function patch (oldVnode, vnode, hydrating, removeOnly) { if (isUndef(vnode)) { if (isDef(oldVnode)) { invokeDestroyHook(oldVnode); } return } var isInitialPatch = false; var insertedVnodeQueue = []; if (isUndef(oldVnode)) { // empty mount (likely as component), create new root element isInitialPatch = true; createElm(vnode, insertedVnodeQueue); } else { var isRealElement = isDef(oldVnode.nodeType); if (!isRealElement && sameVnode(oldVnode, vnode)) { // patch existing root node patchVnode(oldVnode, vnode, insertedVnodeQueue, null, null, removeOnly); } else { if (isRealElement) { // mounting to a real element // check if this is server-rendered content and if we can perform // a successful hydration. if (oldVnode.nodeType === 1 && oldVnode.hasAttribute(SSR_ATTR)) { oldVnode.removeAttribute(SSR_ATTR); hydrating = true; } if (isTrue(hydrating)) { if (hydrate(oldVnode, vnode, insertedVnodeQueue)) { invokeInsertHook(vnode, insertedVnodeQueue, true); return oldVnode } else { warn( 'The client-side rendered virtual DOM tree is not matching ' + 'server-rendered content. This is likely caused by incorrect ' + 'HTML markup, for example nesting block-level elements inside ' + '<p>, or missing <tbody>. Bailing hydration and performing ' + 'full client-side render.' ); } } // either not server-rendered, or hydration failed. // create an empty node and replace it oldVnode = emptyNodeAt(oldVnode); } // replacing existing element var oldElm = oldVnode.elm; var parentElm = nodeOps.parentNode(oldElm); // create new node createElm( vnode, insertedVnodeQueue, // extremely rare edge case: do not insert if old element is in a // leaving transition. Only happens when combining transition + // keep-alive + HOCs. (#4590) oldElm._leaveCb ? null : parentElm, nodeOps.nextSibling(oldElm) ); // update parent placeholder node element, recursively if (isDef(vnode.parent)) { var ancestor = vnode.parent; var patchable = isPatchable(vnode); while (ancestor) { for (var i = 0; i < cbs.destroy.length; ++i) { cbs.destroy[i](ancestor); } ancestor.elm = vnode.elm; if (patchable) { for (var i$1 = 0; i$1 < cbs.create.length; ++i$1) { cbs.create[i$1](emptyNode, ancestor); } // #6513 // invoke insert hooks that may have been merged by create hooks. // e.g. for directives that uses the "inserted" hook. var insert = ancestor.data.hook.insert; if (insert.merged) { // start at index 1 to avoid re-invoking component mounted hook for (var i$2 = 1; i$2 < insert.fns.length; i$2++) { insert.fns[i$2](); } } } else { registerRef(ancestor); } ancestor = ancestor.parent; } } // destroy old node if (isDef(parentElm)) { removeVnodes(parentElm, [oldVnode], 0, 0); } else if (isDef(oldVnode.tag)) { invokeDestroyHook(oldVnode); } } } invokeInsertHook(vnode, insertedVnodeQueue, isInitialPatch); return vnode.elm } } /* */ var directives = { create: updateDirectives, update: updateDirectives, destroy: function unbindDirectives (vnode) { updateDirectives(vnode, emptyNode); } }; function updateDirectives (oldVnode, vnode) { if (oldVnode.data.directives || vnode.data.directives) { _update(oldVnode, vnode); } } function _update (oldVnode, vnode) { var isCreate = oldVnode === emptyNode; var isDestroy = vnode === emptyNode; var oldDirs = normalizeDirectives$1(oldVnode.data.directives, oldVnode.context); var newDirs = normalizeDirectives$1(vnode.data.directives, vnode.context); var dirsWithInsert = []; var dirsWithPostpatch = []; var key, oldDir, dir; for (key in newDirs) { oldDir = oldDirs[key]; dir = newDirs[key]; if (!oldDir) { // new directive, bind callHook$1(dir, 'bind', vnode, oldVnode); if (dir.def && dir.def.inserted) { dirsWithInsert.push(dir); } } else { // existing directive, update dir.oldValue = oldDir.value; dir.oldArg = oldDir.arg; callHook$1(dir, 'update', vnode, oldVnode); if (dir.def && dir.def.componentUpdated) { dirsWithPostpatch.push(dir); } } } if (dirsWithInsert.length) { var callInsert = function () { for (var i = 0; i < dirsWithInsert.length; i++) { callHook$1(dirsWithInsert[i], 'inserted', vnode, oldVnode); } }; if (isCreate) { mergeVNodeHook(vnode, 'insert', callInsert); } else { callInsert(); } } if (dirsWithPostpatch.length) { mergeVNodeHook(vnode, 'postpatch', function () { for (var i = 0; i < dirsWithPostpatch.length; i++) { callHook$1(dirsWithPostpatch[i], 'componentUpdated', vnode, oldVnode); } }); } if (!isCreate) { for (key in oldDirs) { if (!newDirs[key]) { // no longer present, unbind callHook$1(oldDirs[key], 'unbind', oldVnode, oldVnode, isDestroy); } } } } var emptyModifiers = Object.create(null); function normalizeDirectives$1 ( dirs, vm ) { var res = Object.create(null); if (!dirs) { // $flow-disable-line return res } var i, dir; for (i = 0; i < dirs.length; i++) { dir = dirs[i]; if (!dir.modifiers) { // $flow-disable-line dir.modifiers = emptyModifiers; } res[getRawDirName(dir)] = dir; dir.def = resolveAsset(vm.$options, 'directives', dir.name, true); } // $flow-disable-line return res } function getRawDirName (dir) { return dir.rawName || ((dir.name) + "." + (Object.keys(dir.modifiers || {}).join('.'))) } function callHook$1 (dir, hook, vnode, oldVnode, isDestroy) { var fn = dir.def && dir.def[hook]; if (fn) { try { fn(vnode.elm, dir, vnode, oldVnode, isDestroy); } catch (e) { handleError(e, vnode.context, ("directive " + (dir.name) + " " + hook + " hook")); } } } var baseModules = [ ref, directives ]; /* */ function updateAttrs (oldVnode, vnode) { var opts = vnode.componentOptions; if (isDef(opts) && opts.Ctor.options.inheritAttrs === false) { return } if (isUndef(oldVnode.data.attrs) && isUndef(vnode.data.attrs)) { return } var key, cur, old; var elm = vnode.elm; var oldAttrs = oldVnode.data.attrs || {}; var attrs = vnode.data.attrs || {}; // clone observed objects, as the user probably wants to mutate it if (isDef(attrs.__ob__)) { attrs = vnode.data.attrs = extend({}, attrs); } for (key in attrs) { cur = attrs[key]; old = oldAttrs[key]; if (old !== cur) { setAttr(elm, key, cur); } } // #4391: in IE9, setting type can reset value for input[type=radio] // #6666: IE/Edge forces progress value down to 1 before setting a max /* istanbul ignore if */ if ((isIE || isEdge) && attrs.value !== oldAttrs.value) { setAttr(elm, 'value', attrs.value); } for (key in oldAttrs) { if (isUndef(attrs[key])) { if (isXlink(key)) { elm.removeAttributeNS(xlinkNS, getXlinkProp(key)); } else if (!isEnumeratedAttr(key)) { elm.removeAttribute(key); } } } } function setAttr (el, key, value) { if (el.tagName.indexOf('-') > -1) { baseSetAttr(el, key, value); } else if (isBooleanAttr(key)) { // set attribute for blank value // e.g. <option disabled>Select one</option> if (isFalsyAttrValue(value)) { el.removeAttribute(key); } else { // technically allowfullscreen is a boolean attribute for <iframe>, // but Flash expects a value of "true" when used on <embed> tag value = key === 'allowfullscreen' && el.tagName === 'EMBED' ? 'true' : key; el.setAttribute(key, value); } } else if (isEnumeratedAttr(key)) { el.setAttribute(key, convertEnumeratedValue(key, value)); } else if (isXlink(key)) { if (isFalsyAttrValue(value)) { el.removeAttributeNS(xlinkNS, getXlinkProp(key)); } else { el.setAttributeNS(xlinkNS, key, value); } } else { baseSetAttr(el, key, value); } } function baseSetAttr (el, key, value) { if (isFalsyAttrValue(value)) { el.removeAttribute(key); } else { // #7138: IE10 & 11 fires input event when setting placeholder on // <textarea>... block the first input event and remove the blocker // immediately. /* istanbul ignore if */ if ( isIE && !isIE9 && el.tagName === 'TEXTAREA' && key === 'placeholder' && value !== '' && !el.__ieph ) { var blocker = function (e) { e.stopImmediatePropagation(); el.removeEventListener('input', blocker); }; el.addEventListener('input', blocker); // $flow-disable-line el.__ieph = true; /* IE placeholder patched */ } el.setAttribute(key, value); } } var attrs = { create: updateAttrs, update: updateAttrs }; /* */ function updateClass (oldVnode, vnode) { var el = vnode.elm; var data = vnode.data; var oldData = oldVnode.data; if ( isUndef(data.staticClass) && isUndef(data.class) && ( isUndef(oldData) || ( isUndef(oldData.staticClass) && isUndef(oldData.class) ) ) ) { return } var cls = genClassForVnode(vnode); // handle transition classes var transitionClass = el._transitionClasses; if (isDef(transitionClass)) { cls = concat(cls, stringifyClass(transitionClass)); } // set the class if (cls !== el._prevClass) { el.setAttribute('class', cls); el._prevClass = cls; } } var klass = { create: updateClass, update: updateClass }; /* */ var validDivisionCharRE = /[\w).+\-_$\]]/; function parseFilters (exp) { var inSingle = false; var inDouble = false; var inTemplateString = false; var inRegex = false; var curly = 0; var square = 0; var paren = 0; var lastFilterIndex = 0; var c, prev, i, expression, filters; for (i = 0; i < exp.length; i++) { prev = c; c = exp.charCodeAt(i); if (inSingle) { if (c === 0x27 && prev !== 0x5C) { inSingle = false; } } else if (inDouble) { if (c === 0x22 && prev !== 0x5C) { inDouble = false; } } else if (inTemplateString) { if (c === 0x60 && prev !== 0x5C) { inTemplateString = false; } } else if (inRegex) { if (c === 0x2f && prev !== 0x5C) { inRegex = false; } } else if ( c === 0x7C && // pipe exp.charCodeAt(i + 1) !== 0x7C && exp.charCodeAt(i - 1) !== 0x7C && !curly && !square && !paren ) { if (expression === undefined) { // first filter, end of expression lastFilterIndex = i + 1; expression = exp.slice(0, i).trim(); } else { pushFilter(); } } else { switch (c) { case 0x22: inDouble = true; break // " case 0x27: inSingle = true; break // ' case 0x60: inTemplateString = true; break // ` case 0x28: paren++; break // ( case 0x29: paren--; break // ) case 0x5B: square++; break // [ case 0x5D: square--; break // ] case 0x7B: curly++; break // { case 0x7D: curly--; break // } } if (c === 0x2f) { // / var j = i - 1; var p = (void 0); // find first non-whitespace prev char for (; j >= 0; j--) { p = exp.charAt(j); if (p !== ' ') { break } } if (!p || !validDivisionCharRE.test(p)) { inRegex = true; } } } } if (expression === undefined) { expression = exp.slice(0, i).trim(); } else if (lastFilterIndex !== 0) { pushFilter(); } function pushFilter () { (filters || (filters = [])).push(exp.slice(lastFilterIndex, i).trim()); lastFilterIndex = i + 1; } if (filters) { for (i = 0; i < filters.length; i++) { expression = wrapFilter(expression, filters[i]); } } return expression } function wrapFilter (exp, filter) { var i = filter.indexOf('('); if (i < 0) { // _f: resolveFilter return ("_f(\"" + filter + "\")(" + exp + ")") } else { var name = filter.slice(0, i); var args = filter.slice(i + 1); return ("_f(\"" + name + "\")(" + exp + (args !== ')' ? ',' + args : args)) } } /* */ /* eslint-disable no-unused-vars */ function baseWarn (msg, range) { console.error(("[Vue compiler]: " + msg)); } /* eslint-enable no-unused-vars */ function pluckModuleFunction ( modules, key ) { return modules ? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; }) : [] } function addProp (el, name, value, range, dynamic) { (el.props || (el.props = [])).push(rangeSetItem({ name: name, value: value, dynamic: dynamic }, range)); el.plain = false; } function addAttr (el, name, value, range, dynamic) { var attrs = dynamic ? (el.dynamicAttrs || (el.dynamicAttrs = [])) : (el.attrs || (el.attrs = [])); attrs.push(rangeSetItem({ name: name, value: value, dynamic: dynamic }, range)); el.plain = false; } // add a raw attr (use this in preTransforms) function addRawAttr (el, name, value, range) { el.attrsMap[name] = value; el.attrsList.push(rangeSetItem({ name: name, value: value }, range)); } function addDirective ( el, name, rawName, value, arg, isDynamicArg, modifiers, range ) { (el.directives || (el.directives = [])).push(rangeSetItem({ name: name, rawName: rawName, value: value, arg: arg, isDynamicArg: isDynamicArg, modifiers: modifiers }, range)); el.plain = false; } function prependModifierMarker (symbol, name, dynamic) { return dynamic ? ("_p(" + name + ",\"" + symbol + "\")") : symbol + name // mark the event as captured } function addHandler ( el, name, value, modifiers, important, warn, range, dynamic ) { modifiers = modifiers || emptyObject; // warn prevent and passive modifier /* istanbul ignore if */ if ( warn && modifiers.prevent && modifiers.passive ) { warn( 'passive and prevent can\'t be used together. ' + 'Passive handler can\'t prevent default event.', range ); } // normalize click.right and click.middle since they don't actually fire // this is technically browser-specific, but at least for now browsers are // the only target envs that have right/middle clicks. if (modifiers.right) { if (dynamic) { name = "(" + name + ")==='click'?'contextmenu':(" + name + ")"; } else if (name === 'click') { name = 'contextmenu'; delete modifiers.right; } } else if (modifiers.middle) { if (dynamic) { name = "(" + name + ")==='click'?'mouseup':(" + name + ")"; } else if (name === 'click') { name = 'mouseup'; } } // check capture modifier if (modifiers.capture) { delete modifiers.capture; name = prependModifierMarker('!', name, dynamic); } if (modifiers.once) { delete modifiers.once; name = prependModifierMarker('~', name, dynamic); } /* istanbul ignore if */ if (modifiers.passive) { delete modifiers.passive; name = prependModifierMarker('&', name, dynamic); } var events; if (modifiers.native) { delete modifiers.native; events = el.nativeEvents || (el.nativeEvents = {}); } else { events = el.events || (el.events = {}); } var newHandler = rangeSetItem({ value: value.trim(), dynamic: dynamic }, range); if (modifiers !== emptyObject) { newHandler.modifiers = modifiers; } var handlers = events[name]; /* istanbul ignore if */ if (Array.isArray(handlers)) { important ? handlers.unshift(newHandler) : handlers.push(newHandler); } else if (handlers) { events[name] = important ? [newHandler, handlers] : [handlers, newHandler]; } else { events[name] = newHandler; } el.plain = false; } function getRawBindingAttr ( el, name ) { return el.rawAttrsMap[':' + name] || el.rawAttrsMap['v-bind:' + name] || el.rawAttrsMap[name] } function getBindingAttr ( el, name, getStatic ) { var dynamicValue = getAndRemoveAttr(el, ':' + name) || getAndRemoveAttr(el, 'v-bind:' + name); if (dynamicValue != null) { return parseFilters(dynamicValue) } else if (getStatic !== false) { var staticValue = getAndRemoveAttr(el, name); if (staticValue != null) { return JSON.stringify(staticValue) } } } // note: this only removes the attr from the Array (attrsList) so that it // doesn't get processed by processAttrs. // By default it does NOT remove it from the map (attrsMap) because the map is // needed during codegen. function getAndRemoveAttr ( el, name, removeFromMap ) { var val; if ((val = el.attrsMap[name]) != null) { var list = el.attrsList; for (var i = 0, l = list.length; i < l; i++) { if (list[i].name === name) { list.splice(i, 1); break } } } if (removeFromMap) { delete el.attrsMap[name]; } return val } function getAndRemoveAttrByRegex ( el, name ) { var list = el.attrsList; for (var i = 0, l = list.length; i < l; i++) { var attr = list[i]; if (name.test(attr.name)) { list.splice(i, 1); return attr } } } function rangeSetItem ( item, range ) { if (range) { if (range.start != null) { item.start = range.start; } if (range.end != null) { item.end = range.end; } } return item } /* */ /** * Cross-platform code generation for component v-model */ function genComponentModel ( el, value, modifiers ) { var ref = modifiers || {}; var number = ref.number; var trim = ref.trim; var baseValueExpression = '$$v'; var valueExpression = baseValueExpression; if (trim) { valueExpression = "(typeof " + baseValueExpression + " === 'string'" + "? " + baseValueExpression + ".trim()" + ": " + baseValueExpression + ")"; } if (number) { valueExpression = "_n(" + valueExpression + ")"; } var assignment = genAssignmentCode(value, valueExpression); el.model = { value: ("(" + value + ")"), expression: JSON.stringify(value), callback: ("function (" + baseValueExpression + ") {" + assignment + "}") }; } /** * Cross-platform codegen helper for generating v-model value assignment code. */ function genAssignmentCode ( value, assignment ) { var res = parseModel(value); if (res.key === null) { return (value + "=" + assignment) } else { return ("$set(" + (res.exp) + ", " + (res.key) + ", " + assignment + ")") } } /** * Parse a v-model expression into a base path and a final key segment. * Handles both dot-path and possible square brackets. * * Possible cases: * * - test * - test[key] * - test[test1[key]] * - test["a"][key] * - xxx.test[a[a].test1[key]] * - test.xxx.a["asa"][test1[key]] * */ var len, str, chr, index$1, expressionPos, expressionEndPos; function parseModel (val) { // Fix https://github.com/vuejs/vue/pull/7730 // allow v-model="obj.val " (trailing whitespace) val = val.trim(); len = val.length; if (val.indexOf('[') < 0 || val.lastIndexOf(']') < len - 1) { index$1 = val.lastIndexOf('.'); if (index$1 > -1) { return { exp: val.slice(0, index$1), key: '"' + val.slice(index$1 + 1) + '"' } } else { return { exp: val, key: null } } } str = val; index$1 = expressionPos = expressionEndPos = 0; while (!eof()) { chr = next(); /* istanbul ignore if */ if (isStringStart(chr)) { parseString(chr); } else if (chr === 0x5B) { parseBracket(chr); } } return { exp: val.slice(0, expressionPos), key: val.slice(expressionPos + 1, expressionEndPos) } } function next () { return str.charCodeAt(++index$1) } function eof () { return index$1 >= len } function isStringStart (chr) { return chr === 0x22 || chr === 0x27 } function parseBracket (chr) { var inBracket = 1; expressionPos = index$1; while (!eof()) { chr = next(); if (isStringStart(chr)) { parseString(chr); continue } if (chr === 0x5B) { inBracket++; } if (chr === 0x5D) { inBracket--; } if (inBracket === 0) { expressionEndPos = index$1; break } } } function parseString (chr) { var stringQuote = chr; while (!eof()) { chr = next(); if (chr === stringQuote) { break } } } /* */ var warn$1; // in some cases, the event used has to be determined at runtime // so we used some reserved tokens during compile. var RANGE_TOKEN = '__r'; var CHECKBOX_RADIO_TOKEN = '__c'; function model ( el, dir, _warn ) { warn$1 = _warn; var value = dir.value; var modifiers = dir.modifiers; var tag = el.tag; var type = el.attrsMap.type; { // inputs with type="file" are read only and setting the input's // value will throw an error. if (tag === 'input' && type === 'file') { warn$1( "<" + (el.tag) + " v-model=\"" + value + "\" type=\"file\">:\n" + "File inputs are read only. Use a v-on:change listener instead.", el.rawAttrsMap['v-model'] ); } } if (el.component) { genComponentModel(el, value, modifiers); // component v-model doesn't need extra runtime return false } else if (tag === 'select') { genSelect(el, value, modifiers); } else if (tag === 'input' && type === 'checkbox') { genCheckboxModel(el, value, modifiers); } else if (tag === 'input' && type === 'radio') { genRadioModel(el, value, modifiers); } else if (tag === 'input' || tag === 'textarea') { genDefaultModel(el, value, modifiers); } else if (!config.isReservedTag(tag)) { genComponentModel(el, value, modifiers); // component v-model doesn't need extra runtime return false } else { warn$1( "<" + (el.tag) + " v-model=\"" + value + "\">: " + "v-model is not supported on this element type. " + 'If you are working with contenteditable, it\'s recommended to ' + 'wrap a library dedicated for that purpose inside a custom component.', el.rawAttrsMap['v-model'] ); } // ensure runtime directive metadata return true } function genCheckboxModel ( el, value, modifiers ) { var number = modifiers && modifiers.number; var valueBinding = getBindingAttr(el, 'value') || 'null'; var trueValueBinding = getBindingAttr(el, 'true-value') || 'true'; var falseValueBinding = getBindingAttr(el, 'false-value') || 'false'; addProp(el, 'checked', "Array.isArray(" + value + ")" + "?_i(" + value + "," + valueBinding + ")>-1" + ( trueValueBinding === 'true' ? (":(" + value + ")") : (":_q(" + value + "," + trueValueBinding + ")") ) ); addHandler(el, 'change', "var $$a=" + value + "," + '$$el=$event.target,' + "$$c=$$el.checked?(" + trueValueBinding + "):(" + falseValueBinding + ");" + 'if(Array.isArray($$a)){' + "var $$v=" + (number ? '_n(' + valueBinding + ')' : valueBinding) + "," + '$$i=_i($$a,$$v);' + "if($$el.checked){$$i<0&&(" + (genAssignmentCode(value, '$$a.concat([$$v])')) + ")}" + "else{$$i>-1&&(" + (genAssignmentCode(value, '$$a.slice(0,$$i).concat($$a.slice($$i+1))')) + ")}" + "}else{" + (genAssignmentCode(value, '$$c')) + "}", null, true ); } function genRadioModel ( el, value, modifiers ) { var number = modifiers && modifiers.number; var valueBinding = getBindingAttr(el, 'value') || 'null'; valueBinding = number ? ("_n(" + valueBinding + ")") : valueBinding; addProp(el, 'checked', ("_q(" + value + "," + valueBinding + ")")); addHandler(el, 'change', genAssignmentCode(value, valueBinding), null, true); } function genSelect ( el, value, modifiers ) { var number = modifiers && modifiers.number; var selectedVal = "Array.prototype.filter" + ".call($event.target.options,function(o){return o.selected})" + ".map(function(o){var val = \"_value\" in o ? o._value : o.value;" + "return " + (number ? '_n(val)' : 'val') + "})"; var assignment = '$event.target.multiple ? $$selectedVal : $$selectedVal[0]'; var code = "var $$selectedVal = " + selectedVal + ";"; code = code + " " + (genAssignmentCode(value, assignment)); addHandler(el, 'change', code, null, true); } function genDefaultModel ( el, value, modifiers ) { var type = el.attrsMap.type; // warn if v-bind:value conflicts with v-model // except for inputs with v-bind:type { var value$1 = el.attrsMap['v-bind:value'] || el.attrsMap[':value']; var typeBinding = el.attrsMap['v-bind:type'] || el.attrsMap[':type']; if (value$1 && !typeBinding) { var binding = el.attrsMap['v-bind:value'] ? 'v-bind:value' : ':value'; warn$1( binding + "=\"" + value$1 + "\" conflicts with v-model on the same element " + 'because the latter already expands to a value binding internally', el.rawAttrsMap[binding] ); } } var ref = modifiers || {}; var lazy = ref.lazy; var number = ref.number; var trim = ref.trim; var needCompositionGuard = !lazy && type !== 'range'; var event = lazy ? 'change' : type === 'range' ? RANGE_TOKEN : 'input'; var valueExpression = '$event.target.value'; if (trim) { valueExpression = "$event.target.value.trim()"; } if (number) { valueExpression = "_n(" + valueExpression + ")"; } var code = genAssignmentCode(value, valueExpression); if (needCompositionGuard) { code = "if($event.target.composing)return;" + code; } addProp(el, 'value', ("(" + value + ")")); addHandler(el, event, code, null, true); if (trim || number) { addHandler(el, 'blur', '$forceUpdate()'); } } /* */ // normalize v-model event tokens that can only be determined at runtime. // it's important to place the event as the first in the array because // the whole point is ensuring the v-model callback gets called before // user-attached handlers. function normalizeEvents (on) { /* istanbul ignore if */ if (isDef(on[RANGE_TOKEN])) { // IE input[type=range] only supports `change` event var event = isIE ? 'change' : 'input'; on[event] = [].concat(on[RANGE_TOKEN], on[event] || []); delete on[RANGE_TOKEN]; } // This was originally intended to fix #4521 but no longer necessary // after 2.5. Keeping it for backwards compat with generated code from < 2.4 /* istanbul ignore if */ if (isDef(on[CHECKBOX_RADIO_TOKEN])) { on.change = [].concat(on[CHECKBOX_RADIO_TOKEN], on.change || []); delete on[CHECKBOX_RADIO_TOKEN]; } } var target$1; function createOnceHandler$1 (event, handler, capture) { var _target = target$1; // save current target element in closure return function onceHandler () { var res = handler.apply(null, arguments); if (res !== null) { remove$2(event, onceHandler, capture, _target); } } } // #9446: Firefox <= 53 (in particular, ESR 52) has incorrect Event.timeStamp // implementation and does not fire microtasks in between event propagation, so // safe to exclude. var useMicrotaskFix = isUsingMicroTask && !(isFF && Number(isFF[1]) <= 53); function add$1 ( name, handler, capture, passive ) { // async edge case #6566: inner click event triggers patch, event handler // attached to outer element during patch, and triggered again. This // happens because browsers fire microtask ticks between event propagation. // the solution is simple: we save the timestamp when a handler is attached, // and the handler would only fire if the event passed to it was fired // AFTER it was attached. if (useMicrotaskFix) { var attachedTimestamp = currentFlushTimestamp; var original = handler; handler = original._wrapper = function (e) { if ( // no bubbling, should always fire. // this is just a safety net in case event.timeStamp is unreliable in // certain weird environments... e.target === e.currentTarget || // event is fired after handler attachment e.timeStamp >= attachedTimestamp || // #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState e.timeStamp === 0 || // #9448 bail if event is fired in another document in a multi-page // electron/nw.js app, since event.timeStamp will be using a different // starting reference e.target.ownerDocument !== document ) { return original.apply(this, arguments) } }; } target$1.addEventListener( name, handler, supportsPassive ? { capture: capture, passive: passive } : capture ); } function remove$2 ( name, handler, capture, _target ) { (_target || target$1).removeEventListener( name, handler._wrapper || handler, capture ); } function updateDOMListeners (oldVnode, vnode) { if (isUndef(oldVnode.data.on) && isUndef(vnode.data.on)) { return } var on = vnode.data.on || {}; var oldOn = oldVnode.data.on || {}; target$1 = vnode.elm; normalizeEvents(on); updateListeners(on, oldOn, add$1, remove$2, createOnceHandler$1, vnode.context); target$1 = undefined; } var events = { create: updateDOMListeners, update: updateDOMListeners }; /* */ var svgContainer; function updateDOMProps (oldVnode, vnode) { if (isUndef(oldVnode.data.domProps) && isUndef(vnode.data.domProps)) { return } var key, cur; var elm = vnode.elm; var oldProps = oldVnode.data.domProps || {}; var props = vnode.data.domProps || {}; // clone observed objects, as the user probably wants to mutate it if (isDef(props.__ob__)) { props = vnode.data.domProps = extend({}, props); } for (key in oldProps) { if (isUndef(props[key])) { elm[key] = ''; } } for (key in props) { cur = props[key]; // ignore children if the node has textContent or innerHTML, // as these will throw away existing DOM nodes and cause removal errors // on subsequent patches (#3360) if (key === 'textContent' || key === 'innerHTML') { if (vnode.children) { vnode.children.length = 0; } if (cur === oldProps[key]) { continue } // #6601 work around Chrome version <= 55 bug where single textNode // replaced by innerHTML/textContent retains its parentNode property if (elm.childNodes.length === 1) { elm.removeChild(elm.childNodes[0]); } } // skip the update if old and new VDOM state is the same. // the only exception is `value` where the DOM value may be temporarily // out of sync with VDOM state due to focus, composition and modifiers. // This also covers #4521 by skipping the unnecesarry `checked` update. if (key !== 'value' && cur === oldProps[key]) { continue } if (key === 'value') { // store value as _value as well since // non-string values will be stringified elm._value = cur; // avoid resetting cursor position when value is the same var strCur = isUndef(cur) ? '' : String(cur); if (shouldUpdateValue(elm, strCur)) { elm.value = strCur; } } else if (key === 'innerHTML' && isSVG(elm.tagName) && isUndef(elm.innerHTML)) { // IE doesn't support innerHTML for SVG elements svgContainer = svgContainer || document.createElement('div'); svgContainer.innerHTML = "<svg>" + cur + "</svg>"; var svg = svgContainer.firstChild; while (elm.firstChild) { elm.removeChild(elm.firstChild); } while (svg.firstChild) { elm.appendChild(svg.firstChild); } } else { elm[key] = cur; } } } // check platforms/web/util/attrs.js acceptValue function shouldUpdateValue (elm, checkVal) { return (!elm.composing && ( elm.tagName === 'OPTION' || isNotInFocusAndDirty(elm, checkVal) || isDirtyWithModifiers(elm, checkVal) )) } function isNotInFocusAndDirty (elm, checkVal) { // return true when textbox (.number and .trim) loses focus and its value is // not equal to the updated value var notInFocus = true; // #6157 // work around IE bug when accessing document.activeElement in an iframe try { notInFocus = document.activeElement !== elm; } catch (e) {} return notInFocus && elm.value !== checkVal } function isDirtyWithModifiers (elm, newVal) { var value = elm.value; var modifiers = elm._vModifiers; // injected by v-model runtime if (isDef(modifiers)) { if (modifiers.number) { return toNumber(value) !== toNumber(newVal) } if (modifiers.trim) { return value.trim() !== newVal.trim() } } return value !== newVal } var domProps = { create: updateDOMProps, update: updateDOMProps }; /* */ var parseStyleText = cached(function (cssText) { var res = {}; var listDelimiter = /;(?![^(]*\))/g; var propertyDelimiter = /:(.+)/; cssText.split(listDelimiter).forEach(function (item) { if (item) { var tmp = item.split(propertyDelimiter); tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim()); } }); return res }); // merge static and dynamic style data on the same vnode function normalizeStyleData (data) { var style = normalizeStyleBinding(data.style); // static style is pre-processed into an object during compilation // and is always a fresh object, so it's safe to merge into it return data.staticStyle ? extend(data.staticStyle, style) : style } // normalize possible array / string values into Object function normalizeStyleBinding (bindingStyle) { if (Array.isArray(bindingStyle)) { return toObject(bindingStyle) } if (typeof bindingStyle === 'string') { return parseStyleText(bindingStyle) } return bindingStyle } /** * parent component style should be after child's * so that parent component's style could override it */ function getStyle (vnode, checkChild) { var res = {}; var styleData; if (checkChild) { var childNode = vnode; while (childNode.componentInstance) { childNode = childNode.componentInstance._vnode; if ( childNode && childNode.data && (styleData = normalizeStyleData(childNode.data)) ) { extend(res, styleData); } } } if ((styleData = normalizeStyleData(vnode.data))) { extend(res, styleData); } var parentNode = vnode; while ((parentNode = parentNode.parent)) { if (parentNode.data && (styleData = normalizeStyleData(parentNode.data))) { extend(res, styleData); } } return res } /* */ var cssVarRE = /^--/; var importantRE = /\s*!important$/; var setProp = function (el, name, val) { /* istanbul ignore if */ if (cssVarRE.test(name)) { el.style.setProperty(name, val); } else if (importantRE.test(val)) { el.style.setProperty(hyphenate(name), val.replace(importantRE, ''), 'important'); } else { var normalizedName = normalize(name); if (Array.isArray(val)) { // Support values array created by autoprefixer, e.g. // {display: ["-webkit-box", "-ms-flexbox", "flex"]} // Set them one by one, and the browser will only set those it can recognize for (var i = 0, len = val.length; i < len; i++) { el.style[normalizedName] = val[i]; } } else { el.style[normalizedName] = val; } } }; var vendorNames = ['Webkit', 'Moz', 'ms']; var emptyStyle; var normalize = cached(function (prop) { emptyStyle = emptyStyle || document.createElement('div').style; prop = camelize(prop); if (prop !== 'filter' && (prop in emptyStyle)) { return prop } var capName = prop.charAt(0).toUpperCase() + prop.slice(1); for (var i = 0; i < vendorNames.length; i++) { var name = vendorNames[i] + capName; if (name in emptyStyle) { return name } } }); function updateStyle (oldVnode, vnode) { var data = vnode.data; var oldData = oldVnode.data; if (isUndef(data.staticStyle) && isUndef(data.style) && isUndef(oldData.staticStyle) && isUndef(oldData.style) ) { return } var cur, name; var el = vnode.elm; var oldStaticStyle = oldData.staticStyle; var oldStyleBinding = oldData.normalizedStyle || oldData.style || {}; // if static style exists, stylebinding already merged into it when doing normalizeStyleData var oldStyle = oldStaticStyle || oldStyleBinding; var style = normalizeStyleBinding(vnode.data.style) || {}; // store normalized style under a different key for next diff // make sure to clone it if it's reactive, since the user likely wants // to mutate it. vnode.data.normalizedStyle = isDef(style.__ob__) ? extend({}, style) : style; var newStyle = getStyle(vnode, true); for (name in oldStyle) { if (isUndef(newStyle[name])) { setProp(el, name, ''); } } for (name in newStyle) { cur = newStyle[name]; if (cur !== oldStyle[name]) { // ie9 setting to null has no effect, must use empty string setProp(el, name, cur == null ? '' : cur); } } } var style = { create: updateStyle, update: updateStyle }; /* */ var whitespaceRE = /\s+/; /** * Add class with compatibility for SVG since classList is not supported on * SVG elements in IE */ function addClass (el, cls) { /* istanbul ignore if */ if (!cls || !(cls = cls.trim())) { return } /* istanbul ignore else */ if (el.classList) { if (cls.indexOf(' ') > -1) { cls.split(whitespaceRE).forEach(function (c) { return el.classList.add(c); }); } else { el.classList.add(cls); } } else { var cur = " " + (el.getAttribute('class') || '') + " "; if (cur.indexOf(' ' + cls + ' ') < 0) { el.setAttribute('class', (cur + cls).trim()); } } } /** * Remove class with compatibility for SVG since classList is not supported on * SVG elements in IE */ function removeClass (el, cls) { /* istanbul ignore if */ if (!cls || !(cls = cls.trim())) { return } /* istanbul ignore else */ if (el.classList) { if (cls.indexOf(' ') > -1) { cls.split(whitespaceRE).forEach(function (c) { return el.classList.remove(c); }); } else { el.classList.remove(cls); } if (!el.classList.length) { el.removeAttribute('class'); } } else { var cur = " " + (el.getAttribute('class') || '') + " "; var tar = ' ' + cls + ' '; while (cur.indexOf(tar) >= 0) { cur = cur.replace(tar, ' '); } cur = cur.trim(); if (cur) { el.setAttribute('class', cur); } else { el.removeAttribute('class'); } } } /* */ function resolveTransition (def$$1) { if (!def$$1) { return } /* istanbul ignore else */ if (typeof def$$1 === 'object') { var res = {}; if (def$$1.css !== false) { extend(res, autoCssTransition(def$$1.name || 'v')); } extend(res, def$$1); return res } else if (typeof def$$1 === 'string') { return autoCssTransition(def$$1) } } var autoCssTransition = cached(function (name) { return { enterClass: (name + "-enter"), enterToClass: (name + "-enter-to"), enterActiveClass: (name + "-enter-active"), leaveClass: (name + "-leave"), leaveToClass: (name + "-leave-to"), leaveActiveClass: (name + "-leave-active") } }); var hasTransition = inBrowser && !isIE9; var TRANSITION = 'transition'; var ANIMATION = 'animation'; // Transition property/event sniffing var transitionProp = 'transition'; var transitionEndEvent = 'transitionend'; var animationProp = 'animation'; var animationEndEvent = 'animationend'; if (hasTransition) { /* istanbul ignore if */ if (window.ontransitionend === undefined && window.onwebkittransitionend !== undefined ) { transitionProp = 'WebkitTransition'; transitionEndEvent = 'webkitTransitionEnd'; } if (window.onanimationend === undefined && window.onwebkitanimationend !== undefined ) { animationProp = 'WebkitAnimation'; animationEndEvent = 'webkitAnimationEnd'; } } // binding to window is necessary to make hot reload work in IE in strict mode var raf = inBrowser ? window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : setTimeout : /* istanbul ignore next */ function (fn) { return fn(); }; function nextFrame (fn) { raf(function () { raf(fn); }); } function addTransitionClass (el, cls) { var transitionClasses = el._transitionClasses || (el._transitionClasses = []); if (transitionClasses.indexOf(cls) < 0) { transitionClasses.push(cls); addClass(el, cls); } } function removeTransitionClass (el, cls) { if (el._transitionClasses) { remove(el._transitionClasses, cls); } removeClass(el, cls); } function whenTransitionEnds ( el, expectedType, cb ) { var ref = getTransitionInfo(el, expectedType); var type = ref.type; var timeout = ref.timeout; var propCount = ref.propCount; if (!type) { return cb() } var event = type === TRANSITION ? transitionEndEvent : animationEndEvent; var ended = 0; var end = function () { el.removeEventListener(event, onEnd); cb(); }; var onEnd = function (e) { if (e.target === el) { if (++ended >= propCount) { end(); } } }; setTimeout(function () { if (ended < propCount) { end(); } }, timeout + 1); el.addEventListener(event, onEnd); } var transformRE = /\b(transform|all)(,|$)/; function getTransitionInfo (el, expectedType) { var styles = window.getComputedStyle(el); // JSDOM may return undefined for transition properties var transitionDelays = (styles[transitionProp + 'Delay'] || '').split(', '); var transitionDurations = (styles[transitionProp + 'Duration'] || '').split(', '); var transitionTimeout = getTimeout(transitionDelays, transitionDurations); var animationDelays = (styles[animationProp + 'Delay'] || '').split(', '); var animationDurations = (styles[animationProp + 'Duration'] || '').split(', '); var animationTimeout = getTimeout(animationDelays, animationDurations); var type; var timeout = 0; var propCount = 0; /* istanbul ignore if */ if (expectedType === TRANSITION) { if (transitionTimeout > 0) { type = TRANSITION; timeout = transitionTimeout; propCount = transitionDurations.length; } } else if (expectedType === ANIMATION) { if (animationTimeout > 0) { type = ANIMATION; timeout = animationTimeout; propCount = animationDurations.length; } } else { timeout = Math.max(transitionTimeout, animationTimeout); type = timeout > 0 ? transitionTimeout > animationTimeout ? TRANSITION : ANIMATION : null; propCount = type ? type === TRANSITION ? transitionDurations.length : animationDurations.length : 0; } var hasTransform = type === TRANSITION && transformRE.test(styles[transitionProp + 'Property']); return { type: type, timeout: timeout, propCount: propCount, hasTransform: hasTransform } } function getTimeout (delays, durations) { /* istanbul ignore next */ while (delays.length < durations.length) { delays = delays.concat(delays); } return Math.max.apply(null, durations.map(function (d, i) { return toMs(d) + toMs(delays[i]) })) } // Old versions of Chromium (below 61.0.3163.100) formats floating pointer numbers // in a locale-dependent way, using a comma instead of a dot. // If comma is not replaced with a dot, the input will be rounded down (i.e. acting // as a floor function) causing unexpected behaviors function toMs (s) { return Number(s.slice(0, -1).replace(',', '.')) * 1000 } /* */ function enter (vnode, toggleDisplay) { var el = vnode.elm; // call leave callback now if (isDef(el._leaveCb)) { el._leaveCb.cancelled = true; el._leaveCb(); } var data = resolveTransition(vnode.data.transition); if (isUndef(data)) { return } /* istanbul ignore if */ if (isDef(el._enterCb) || el.nodeType !== 1) { return } var css = data.css; var type = data.type; var enterClass = data.enterClass; var enterToClass = data.enterToClass; var enterActiveClass = data.enterActiveClass; var appearClass = data.appearClass; var appearToClass = data.appearToClass; var appearActiveClass = data.appearActiveClass; var beforeEnter = data.beforeEnter; var enter = data.enter; var afterEnter = data.afterEnter; var enterCancelled = data.enterCancelled; var beforeAppear = data.beforeAppear; var appear = data.appear; var afterAppear = data.afterAppear; var appearCancelled = data.appearCancelled; var duration = data.duration; // activeInstance will always be the <transition> component managing this // transition. One edge case to check is when the <transition> is placed // as the root node of a child component. In that case we need to check // <transition>'s parent for appear check. var context = activeInstance; var transitionNode = activeInstance.$vnode; while (transitionNode && transitionNode.parent) { transitionNode = transitionNode.parent; context = transitionNode.context; } var isAppear = !context._isMounted || !vnode.isRootInsert; if (isAppear && !appear && appear !== '') { return } var startClass = isAppear && appearClass ? appearClass : enterClass; var activeClass = isAppear && appearActiveClass ? appearActiveClass : enterActiveClass; var toClass = isAppear && appearToClass ? appearToClass : enterToClass; var beforeEnterHook = isAppear ? (beforeAppear || beforeEnter) : beforeEnter; var enterHook = isAppear ? (typeof appear === 'function' ? appear : enter) : enter; var afterEnterHook = isAppear ? (afterAppear || afterEnter) : afterEnter; var enterCancelledHook = isAppear ? (appearCancelled || enterCancelled) : enterCancelled; var explicitEnterDuration = toNumber( isObject(duration) ? duration.enter : duration ); if (explicitEnterDuration != null) { checkDuration(explicitEnterDuration, 'enter', vnode); } var expectsCSS = css !== false && !isIE9; var userWantsControl = getHookArgumentsLength(enterHook); var cb = el._enterCb = once(function () { if (expectsCSS) { removeTransitionClass(el, toClass); removeTransitionClass(el, activeClass); } if (cb.cancelled) { if (expectsCSS) { removeTransitionClass(el, startClass); } enterCancelledHook && enterCancelledHook(el); } else { afterEnterHook && afterEnterHook(el); } el._enterCb = null; }); if (!vnode.data.show) { // remove pending leave element on enter by injecting an insert hook mergeVNodeHook(vnode, 'insert', function () { var parent = el.parentNode; var pendingNode = parent && parent._pending && parent._pending[vnode.key]; if (pendingNode && pendingNode.tag === vnode.tag && pendingNode.elm._leaveCb ) { pendingNode.elm._leaveCb(); } enterHook && enterHook(el, cb); }); } // start enter transition beforeEnterHook && beforeEnterHook(el); if (expectsCSS) { addTransitionClass(el, startClass); addTransitionClass(el, activeClass); nextFrame(function () { removeTransitionClass(el, startClass); if (!cb.cancelled) { addTransitionClass(el, toClass); if (!userWantsControl) { if (isValidDuration(explicitEnterDuration)) { setTimeout(cb, explicitEnterDuration); } else { whenTransitionEnds(el, type, cb); } } } }); } if (vnode.data.show) { toggleDisplay && toggleDisplay(); enterHook && enterHook(el, cb); } if (!expectsCSS && !userWantsControl) { cb(); } } function leave (vnode, rm) { var el = vnode.elm; // call enter callback now if (isDef(el._enterCb)) { el._enterCb.cancelled = true; el._enterCb(); } var data = resolveTransition(vnode.data.transition); if (isUndef(data) || el.nodeType !== 1) { return rm() } /* istanbul ignore if */ if (isDef(el._leaveCb)) { return } var css = data.css; var type = data.type; var leaveClass = data.leaveClass; var leaveToClass = data.leaveToClass; var leaveActiveClass = data.leaveActiveClass; var beforeLeave = data.beforeLeave; var leave = data.leave; var afterLeave = data.afterLeave; var leaveCancelled = data.leaveCancelled; var delayLeave = data.delayLeave; var duration = data.duration; var expectsCSS = css !== false && !isIE9; var userWantsControl = getHookArgumentsLength(leave); var explicitLeaveDuration = toNumber( isObject(duration) ? duration.leave : duration ); if (isDef(explicitLeaveDuration)) { checkDuration(explicitLeaveDuration, 'leave', vnode); } var cb = el._leaveCb = once(function () { if (el.parentNode && el.parentNode._pending) { el.parentNode._pending[vnode.key] = null; } if (expectsCSS) { removeTransitionClass(el, leaveToClass); removeTransitionClass(el, leaveActiveClass); } if (cb.cancelled) { if (expectsCSS) { removeTransitionClass(el, leaveClass); } leaveCancelled && leaveCancelled(el); } else { rm(); afterLeave && afterLeave(el); } el._leaveCb = null; }); if (delayLeave) { delayLeave(performLeave); } else { performLeave(); } function performLeave () { // the delayed leave may have already been cancelled if (cb.cancelled) { return } // record leaving element if (!vnode.data.show && el.parentNode) { (el.parentNode._pending || (el.parentNode._pending = {}))[(vnode.key)] = vnode; } beforeLeave && beforeLeave(el); if (expectsCSS) { addTransitionClass(el, leaveClass); addTransitionClass(el, leaveActiveClass); nextFrame(function () { removeTransitionClass(el, leaveClass); if (!cb.cancelled) { addTransitionClass(el, leaveToClass); if (!userWantsControl) { if (isValidDuration(explicitLeaveDuration)) { setTimeout(cb, explicitLeaveDuration); } else { whenTransitionEnds(el, type, cb); } } } }); } leave && leave(el, cb); if (!expectsCSS && !userWantsControl) { cb(); } } } // only used in dev mode function checkDuration (val, name, vnode) { if (typeof val !== 'number') { warn( "<transition> explicit " + name + " duration is not a valid number - " + "got " + (JSON.stringify(val)) + ".", vnode.context ); } else if (isNaN(val)) { warn( "<transition> explicit " + name + " duration is NaN - " + 'the duration expression might be incorrect.', vnode.context ); } } function isValidDuration (val) { return typeof val === 'number' && !isNaN(val) } /** * Normalize a transition hook's argument length. The hook may be: * - a merged hook (invoker) with the original in .fns * - a wrapped component method (check ._length) * - a plain function (.length) */ function getHookArgumentsLength (fn) { if (isUndef(fn)) { return false } var invokerFns = fn.fns; if (isDef(invokerFns)) { // invoker return getHookArgumentsLength( Array.isArray(invokerFns) ? invokerFns[0] : invokerFns ) } else { return (fn._length || fn.length) > 1 } } function _enter (_, vnode) { if (vnode.data.show !== true) { enter(vnode); } } var transition = inBrowser ? { create: _enter, activate: _enter, remove: function remove$$1 (vnode, rm) { /* istanbul ignore else */ if (vnode.data.show !== true) { leave(vnode, rm); } else { rm(); } } } : {}; var platformModules = [ attrs, klass, events, domProps, style, transition ]; /* */ // the directive module should be applied last, after all // built-in modules have been applied. var modules = platformModules.concat(baseModules); var patch = createPatchFunction({ nodeOps: nodeOps, modules: modules }); /** * Not type checking this file because flow doesn't like attaching * properties to Elements. */ /* istanbul ignore if */ if (isIE9) { // http://www.matts411.com/post/internet-explorer-9-oninput/ document.addEventListener('selectionchange', function () { var el = document.activeElement; if (el && el.vmodel) { trigger(el, 'input'); } }); } var directive = { inserted: function inserted (el, binding, vnode, oldVnode) { if (vnode.tag === 'select') { // #6903 if (oldVnode.elm && !oldVnode.elm._vOptions) { mergeVNodeHook(vnode, 'postpatch', function () { directive.componentUpdated(el, binding, vnode); }); } else { setSelected(el, binding, vnode.context); } el._vOptions = [].map.call(el.options, getValue); } else if (vnode.tag === 'textarea' || isTextInputType(el.type)) { el._vModifiers = binding.modifiers; if (!binding.modifiers.lazy) { el.addEventListener('compositionstart', onCompositionStart); el.addEventListener('compositionend', onCompositionEnd); // Safari < 10.2 & UIWebView doesn't fire compositionend when // switching focus before confirming composition choice // this also fixes the issue where some browsers e.g. iOS Chrome // fires "change" instead of "input" on autocomplete. el.addEventListener('change', onCompositionEnd); /* istanbul ignore if */ if (isIE9) { el.vmodel = true; } } } }, componentUpdated: function componentUpdated (el, binding, vnode) { if (vnode.tag === 'select') { setSelected(el, binding, vnode.context); // in case the options rendered by v-for have changed, // it's possible that the value is out-of-sync with the rendered options. // detect such cases and filter out values that no longer has a matching // option in the DOM. var prevOptions = el._vOptions; var curOptions = el._vOptions = [].map.call(el.options, getValue); if (curOptions.some(function (o, i) { return !looseEqual(o, prevOptions[i]); })) { // trigger change event if // no matching option found for at least one value var needReset = el.multiple ? binding.value.some(function (v) { return hasNoMatchingOption(v, curOptions); }) : binding.value !== binding.oldValue && hasNoMatchingOption(binding.value, curOptions); if (needReset) { trigger(el, 'change'); } } } } }; function setSelected (el, binding, vm) { actuallySetSelected(el, binding, vm); /* istanbul ignore if */ if (isIE || isEdge) { setTimeout(function () { actuallySetSelected(el, binding, vm); }, 0); } } function actuallySetSelected (el, binding, vm) { var value = binding.value; var isMultiple = el.multiple; if (isMultiple && !Array.isArray(value)) { warn( "<select multiple v-model=\"" + (binding.expression) + "\"> " + "expects an Array value for its binding, but got " + (Object.prototype.toString.call(value).slice(8, -1)), vm ); return } var selected, option; for (var i = 0, l = el.options.length; i < l; i++) { option = el.options[i]; if (isMultiple) { selected = looseIndexOf(value, getValue(option)) > -1; if (option.selected !== selected) { option.selected = selected; } } else { if (looseEqual(getValue(option), value)) { if (el.selectedIndex !== i) { el.selectedIndex = i; } return } } } if (!isMultiple) { el.selectedIndex = -1; } } function hasNoMatchingOption (value, options) { return options.every(function (o) { return !looseEqual(o, value); }) } function getValue (option) { return '_value' in option ? option._value : option.value } function onCompositionStart (e) { e.target.composing = true; } function onCompositionEnd (e) { // prevent triggering an input event for no reason if (!e.target.composing) { return } e.target.composing = false; trigger(e.target, 'input'); } function trigger (el, type) { var e = document.createEvent('HTMLEvents'); e.initEvent(type, true, true); el.dispatchEvent(e); } /* */ // recursively search for possible transition defined inside the component root function locateNode (vnode) { return vnode.componentInstance && (!vnode.data || !vnode.data.transition) ? locateNode(vnode.componentInstance._vnode) : vnode } var show = { bind: function bind (el, ref, vnode) { var value = ref.value; vnode = locateNode(vnode); var transition$$1 = vnode.data && vnode.data.transition; var originalDisplay = el.__vOriginalDisplay = el.style.display === 'none' ? '' : el.style.display; if (value && transition$$1) { vnode.data.show = true; enter(vnode, function () { el.style.display = originalDisplay; }); } else { el.style.display = value ? originalDisplay : 'none'; } }, update: function update (el, ref, vnode) { var value = ref.value; var oldValue = ref.oldValue; /* istanbul ignore if */ if (!value === !oldValue) { return } vnode = locateNode(vnode); var transition$$1 = vnode.data && vnode.data.transition; if (transition$$1) { vnode.data.show = true; if (value) { enter(vnode, function () { el.style.display = el.__vOriginalDisplay; }); } else { leave(vnode, function () { el.style.display = 'none'; }); } } else { el.style.display = value ? el.__vOriginalDisplay : 'none'; } }, unbind: function unbind ( el, binding, vnode, oldVnode, isDestroy ) { if (!isDestroy) { el.style.display = el.__vOriginalDisplay; } } }; var platformDirectives = { model: directive, show: show }; /* */ var transitionProps = { name: String, appear: Boolean, css: Boolean, mode: String, type: String, enterClass: String, leaveClass: String, enterToClass: String, leaveToClass: String, enterActiveClass: String, leaveActiveClass: String, appearClass: String, appearActiveClass: String, appearToClass: String, duration: [Number, String, Object] }; // in case the child is also an abstract component, e.g. <keep-alive> // we want to recursively retrieve the real component to be rendered function getRealChild (vnode) { var compOptions = vnode && vnode.componentOptions; if (compOptions && compOptions.Ctor.options.abstract) { return getRealChild(getFirstComponentChild(compOptions.children)) } else { return vnode } } function extractTransitionData (comp) { var data = {}; var options = comp.$options; // props for (var key in options.propsData) { data[key] = comp[key]; } // events. // extract listeners and pass them directly to the transition methods var listeners = options._parentListeners; for (var key$1 in listeners) { data[camelize(key$1)] = listeners[key$1]; } return data } function placeholder (h, rawChild) { if (/\d-keep-alive$/.test(rawChild.tag)) { return h('keep-alive', { props: rawChild.componentOptions.propsData }) } } function hasParentTransition (vnode) { while ((vnode = vnode.parent)) { if (vnode.data.transition) { return true } } } function isSameChild (child, oldChild) { return oldChild.key === child.key && oldChild.tag === child.tag } var isNotTextNode = function (c) { return c.tag || isAsyncPlaceholder(c); }; var isVShowDirective = function (d) { return d.name === 'show'; }; var Transition = { name: 'transition', props: transitionProps, abstract: true, render: function render (h) { var this$1 = this; var children = this.$slots.default; if (!children) { return } // filter out text nodes (possible whitespaces) children = children.filter(isNotTextNode); /* istanbul ignore if */ if (!children.length) { return } // warn multiple elements if (children.length > 1) { warn( '<transition> can only be used on a single element. Use ' + '<transition-group> for lists.', this.$parent ); } var mode = this.mode; // warn invalid mode if (mode && mode !== 'in-out' && mode !== 'out-in' ) { warn( 'invalid <transition> mode: ' + mode, this.$parent ); } var rawChild = children[0]; // if this is a component root node and the component's // parent container node also has transition, skip. if (hasParentTransition(this.$vnode)) { return rawChild } // apply transition data to child // use getRealChild() to ignore abstract components e.g. keep-alive var child = getRealChild(rawChild); /* istanbul ignore if */ if (!child) { return rawChild } if (this._leaving) { return placeholder(h, rawChild) } // ensure a key that is unique to the vnode type and to this transition // component instance. This key will be used to remove pending leaving nodes // during entering. var id = "__transition-" + (this._uid) + "-"; child.key = child.key == null ? child.isComment ? id + 'comment' : id + child.tag : isPrimitive(child.key) ? (String(child.key).indexOf(id) === 0 ? child.key : id + child.key) : child.key; var data = (child.data || (child.data = {})).transition = extractTransitionData(this); var oldRawChild = this._vnode; var oldChild = getRealChild(oldRawChild); // mark v-show // so that the transition module can hand over the control to the directive if (child.data.directives && child.data.directives.some(isVShowDirective)) { child.data.show = true; } if ( oldChild && oldChild.data && !isSameChild(child, oldChild) && !isAsyncPlaceholder(oldChild) && // #6687 component root is a comment node !(oldChild.componentInstance && oldChild.componentInstance._vnode.isComment) ) { // replace old child transition data with fresh one // important for dynamic transitions! var oldData = oldChild.data.transition = extend({}, data); // handle transition mode if (mode === 'out-in') { // return placeholder node and queue update when leave finishes this._leaving = true; mergeVNodeHook(oldData, 'afterLeave', function () { this$1._leaving = false; this$1.$forceUpdate(); }); return placeholder(h, rawChild) } else if (mode === 'in-out') { if (isAsyncPlaceholder(child)) { return oldRawChild } var delayedLeave; var performLeave = function () { delayedLeave(); }; mergeVNodeHook(data, 'afterEnter', performLeave); mergeVNodeHook(data, 'enterCancelled', performLeave); mergeVNodeHook(oldData, 'delayLeave', function (leave) { delayedLeave = leave; }); } } return rawChild } }; /* */ var props = extend({ tag: String, moveClass: String }, transitionProps); delete props.mode; var TransitionGroup = { props: props, beforeMount: function beforeMount () { var this$1 = this; var update = this._update; this._update = function (vnode, hydrating) { var restoreActiveInstance = setActiveInstance(this$1); // force removing pass this$1.__patch__( this$1._vnode, this$1.kept, false, // hydrating true // removeOnly (!important, avoids unnecessary moves) ); this$1._vnode = this$1.kept; restoreActiveInstance(); update.call(this$1, vnode, hydrating); }; }, render: function render (h) { var tag = this.tag || this.$vnode.data.tag || 'span'; var map = Object.create(null); var prevChildren = this.prevChildren = this.children; var rawChildren = this.$slots.default || []; var children = this.children = []; var transitionData = extractTransitionData(this); for (var i = 0; i < rawChildren.length; i++) { var c = rawChildren[i]; if (c.tag) { if (c.key != null && String(c.key).indexOf('__vlist') !== 0) { children.push(c); map[c.key] = c ;(c.data || (c.data = {})).transition = transitionData; } else { var opts = c.componentOptions; var name = opts ? (opts.Ctor.options.name || opts.tag || '') : c.tag; warn(("<transition-group> children must be keyed: <" + name + ">")); } } } if (prevChildren) { var kept = []; var removed = []; for (var i$1 = 0; i$1 < prevChildren.length; i$1++) { var c$1 = prevChildren[i$1]; c$1.data.transition = transitionData; c$1.data.pos = c$1.elm.getBoundingClientRect(); if (map[c$1.key]) { kept.push(c$1); } else { removed.push(c$1); } } this.kept = h(tag, null, kept); this.removed = removed; } return h(tag, null, children) }, updated: function updated () { var children = this.prevChildren; var moveClass = this.moveClass || ((this.name || 'v') + '-move'); if (!children.length || !this.hasMove(children[0].elm, moveClass)) { return } // we divide the work into three loops to avoid mixing DOM reads and writes // in each iteration - which helps prevent layout thrashing. children.forEach(callPendingCbs); children.forEach(recordPosition); children.forEach(applyTranslation); // force reflow to put everything in position // assign to this to avoid being removed in tree-shaking // $flow-disable-line this._reflow = document.body.offsetHeight; children.forEach(function (c) { if (c.data.moved) { var el = c.elm; var s = el.style; addTransitionClass(el, moveClass); s.transform = s.WebkitTransform = s.transitionDuration = ''; el.addEventListener(transitionEndEvent, el._moveCb = function cb (e) { if (e && e.target !== el) { return } if (!e || /transform$/.test(e.propertyName)) { el.removeEventListener(transitionEndEvent, cb); el._moveCb = null; removeTransitionClass(el, moveClass); } }); } }); }, methods: { hasMove: function hasMove (el, moveClass) { /* istanbul ignore if */ if (!hasTransition) { return false } /* istanbul ignore if */ if (this._hasMove) { return this._hasMove } // Detect whether an element with the move class applied has // CSS transitions. Since the element may be inside an entering // transition at this very moment, we make a clone of it and remove // all other transition classes applied to ensure only the move class // is applied. var clone = el.cloneNode(); if (el._transitionClasses) { el._transitionClasses.forEach(function (cls) { removeClass(clone, cls); }); } addClass(clone, moveClass); clone.style.display = 'none'; this.$el.appendChild(clone); var info = getTransitionInfo(clone); this.$el.removeChild(clone); return (this._hasMove = info.hasTransform) } } }; function callPendingCbs (c) { /* istanbul ignore if */ if (c.elm._moveCb) { c.elm._moveCb(); } /* istanbul ignore if */ if (c.elm._enterCb) { c.elm._enterCb(); } } function recordPosition (c) { c.data.newPos = c.elm.getBoundingClientRect(); } function applyTranslation (c) { var oldPos = c.data.pos; var newPos = c.data.newPos; var dx = oldPos.left - newPos.left; var dy = oldPos.top - newPos.top; if (dx || dy) { c.data.moved = true; var s = c.elm.style; s.transform = s.WebkitTransform = "translate(" + dx + "px," + dy + "px)"; s.transitionDuration = '0s'; } } var platformComponents = { Transition: Transition, TransitionGroup: TransitionGroup }; /* */ // install platform specific utils Vue.config.mustUseProp = mustUseProp; Vue.config.isReservedTag = isReservedTag; Vue.config.isReservedAttr = isReservedAttr; Vue.config.getTagNamespace = getTagNamespace; Vue.config.isUnknownElement = isUnknownElement; // install platform runtime directives & components extend(Vue.options.directives, platformDirectives); extend(Vue.options.components, platformComponents); // install platform patch function Vue.prototype.__patch__ = inBrowser ? patch : noop; // public mount method Vue.prototype.$mount = function ( el, hydrating ) { el = el && inBrowser ? query(el) : undefined; return mountComponent(this, el, hydrating) }; // devtools global hook /* istanbul ignore next */ if (inBrowser) { setTimeout(function () { if (config.devtools) { if (devtools) { devtools.emit('init', Vue); } else { console[console.info ? 'info' : 'log']( 'Download the Vue Devtools extension for a better development experience:\n' + 'https://github.com/vuejs/vue-devtools' ); } } if (config.productionTip !== false && typeof console !== 'undefined' ) { console[console.info ? 'info' : 'log']( "You are running Vue in development mode.\n" + "Make sure to turn on production mode when deploying for production.\n" + "See more tips at https://vuejs.org/guide/deployment.html" ); } }, 0); } /* */ var defaultTagRE = /\{\{((?:.|\r?\n)+?)\}\}/g; var regexEscapeRE = /[-.*+?^${}()|[\]\/\\]/g; var buildRegex = cached(function (delimiters) { var open = delimiters[0].replace(regexEscapeRE, '\\$&'); var close = delimiters[1].replace(regexEscapeRE, '\\$&'); return new RegExp(open + '((?:.|\\n)+?)' + close, 'g') }); function parseText ( text, delimiters ) { var tagRE = delimiters ? buildRegex(delimiters) : defaultTagRE; if (!tagRE.test(text)) { return } var tokens = []; var rawTokens = []; var lastIndex = tagRE.lastIndex = 0; var match, index, tokenValue; while ((match = tagRE.exec(text))) { index = match.index; // push text token if (index > lastIndex) { rawTokens.push(tokenValue = text.slice(lastIndex, index)); tokens.push(JSON.stringify(tokenValue)); } // tag token var exp = parseFilters(match[1].trim()); tokens.push(("_s(" + exp + ")")); rawTokens.push({ '@binding': exp }); lastIndex = index + match[0].length; } if (lastIndex < text.length) { rawTokens.push(tokenValue = text.slice(lastIndex)); tokens.push(JSON.stringify(tokenValue)); } return { expression: tokens.join('+'), tokens: rawTokens } } /* */ function transformNode (el, options) { var warn = options.warn || baseWarn; var staticClass = getAndRemoveAttr(el, 'class'); if (staticClass) { var res = parseText(staticClass, options.delimiters); if (res) { warn( "class=\"" + staticClass + "\": " + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div class="{{ val }}">, use <div :class="val">.', el.rawAttrsMap['class'] ); } } if (staticClass) { el.staticClass = JSON.stringify(staticClass); } var classBinding = getBindingAttr(el, 'class', false /* getStatic */); if (classBinding) { el.classBinding = classBinding; } } function genData (el) { var data = ''; if (el.staticClass) { data += "staticClass:" + (el.staticClass) + ","; } if (el.classBinding) { data += "class:" + (el.classBinding) + ","; } return data } var klass$1 = { staticKeys: ['staticClass'], transformNode: transformNode, genData: genData }; /* */ function transformNode$1 (el, options) { var warn = options.warn || baseWarn; var staticStyle = getAndRemoveAttr(el, 'style'); if (staticStyle) { /* istanbul ignore if */ { var res = parseText(staticStyle, options.delimiters); if (res) { warn( "style=\"" + staticStyle + "\": " + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div style="{{ val }}">, use <div :style="val">.', el.rawAttrsMap['style'] ); } } el.staticStyle = JSON.stringify(parseStyleText(staticStyle)); } var styleBinding = getBindingAttr(el, 'style', false /* getStatic */); if (styleBinding) { el.styleBinding = styleBinding; } } function genData$1 (el) { var data = ''; if (el.staticStyle) { data += "staticStyle:" + (el.staticStyle) + ","; } if (el.styleBinding) { data += "style:(" + (el.styleBinding) + "),"; } return data } var style$1 = { staticKeys: ['staticStyle'], transformNode: transformNode$1, genData: genData$1 }; /* */ var decoder; var he = { decode: function decode (html) { decoder = decoder || document.createElement('div'); decoder.innerHTML = html; return decoder.textContent } }; /* */ var isUnaryTag = makeMap( 'area,base,br,col,embed,frame,hr,img,input,isindex,keygen,' + 'link,meta,param,source,track,wbr' ); // Elements that you can, intentionally, leave open // (and which close themselves) var canBeLeftOpenTag = makeMap( 'colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source' ); // HTML5 tags https://html.spec.whatwg.org/multipage/indices.html#elements-3 // Phrasing Content https://html.spec.whatwg.org/multipage/dom.html#phrasing-content var isNonPhrasingTag = makeMap( 'address,article,aside,base,blockquote,body,caption,col,colgroup,dd,' + 'details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,' + 'h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,' + 'optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,' + 'title,tr,track' ); /** * Not type-checking this file because it's mostly vendor code. */ // Regular Expressions for parsing tags and attributes var attribute = /^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/; var dynamicArgAttribute = /^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/; var ncname = "[a-zA-Z_][\\-\\.0-9_a-zA-Z" + unicodeLetters + "]*"; var qnameCapture = "((?:" + ncname + "\\:)?" + ncname + ")"; var startTagOpen = new RegExp(("^<" + qnameCapture)); var startTagClose = /^\s*(\/?)>/; var endTag = new RegExp(("^<\\/" + qnameCapture + "[^>]*>")); var doctype = /^<!DOCTYPE [^>]+>/i; // #7298: escape - to avoid being pased as HTML comment when inlined in page var comment = /^<!\--/; var conditionalComment = /^<!\[/; // Special Elements (can contain anything) var isPlainTextElement = makeMap('script,style,textarea', true); var reCache = {}; var decodingMap = { '<': '<', '>': '>', '"': '"', '&': '&', ' ': '\n', '	': '\t', ''': "'" }; var encodedAttr = /&(?:lt|gt|quot|amp|#39);/g; var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#39|#10|#9);/g; // #5992 var isIgnoreNewlineTag = makeMap('pre,textarea', true); var shouldIgnoreFirstNewline = function (tag, html) { return tag && isIgnoreNewlineTag(tag) && html[0] === '\n'; }; function decodeAttr (value, shouldDecodeNewlines) { var re = shouldDecodeNewlines ? encodedAttrWithNewLines : encodedAttr; return value.replace(re, function (match) { return decodingMap[match]; }) } function parseHTML (html, options) { var stack = []; var expectHTML = options.expectHTML; var isUnaryTag$$1 = options.isUnaryTag || no; var canBeLeftOpenTag$$1 = options.canBeLeftOpenTag || no; var index = 0; var last, lastTag; while (html) { last = html; // Make sure we're not in a plaintext content element like script/style if (!lastTag || !isPlainTextElement(lastTag)) { var textEnd = html.indexOf('<'); if (textEnd === 0) { // Comment: if (comment.test(html)) { var commentEnd = html.indexOf('-->'); if (commentEnd >= 0) { if (options.shouldKeepComment) { options.comment(html.substring(4, commentEnd), index, index + commentEnd + 3); } advance(commentEnd + 3); continue } } // http://en.wikipedia.org/wiki/Conditional_comment#Downlevel-revealed_conditional_comment if (conditionalComment.test(html)) { var conditionalEnd = html.indexOf(']>'); if (conditionalEnd >= 0) { advance(conditionalEnd + 2); continue } } // Doctype: var doctypeMatch = html.match(doctype); if (doctypeMatch) { advance(doctypeMatch[0].length); continue } // End tag: var endTagMatch = html.match(endTag); if (endTagMatch) { var curIndex = index; advance(endTagMatch[0].length); parseEndTag(endTagMatch[1], curIndex, index); continue } // Start tag: var startTagMatch = parseStartTag(); if (startTagMatch) { handleStartTag(startTagMatch); if (shouldIgnoreFirstNewline(startTagMatch.tagName, html)) { advance(1); } continue } } var text = (void 0), rest = (void 0), next = (void 0); if (textEnd >= 0) { rest = html.slice(textEnd); while ( !endTag.test(rest) && !startTagOpen.test(rest) && !comment.test(rest) && !conditionalComment.test(rest) ) { // < in plain text, be forgiving and treat it as text next = rest.indexOf('<', 1); if (next < 0) { break } textEnd += next; rest = html.slice(textEnd); } text = html.substring(0, textEnd); } if (textEnd < 0) { text = html; } if (text) { advance(text.length); } if (options.chars && text) { options.chars(text, index - text.length, index); } } else { var endTagLength = 0; var stackedTag = lastTag.toLowerCase(); var reStackedTag = reCache[stackedTag] || (reCache[stackedTag] = new RegExp('([\\s\\S]*?)(</' + stackedTag + '[^>]*>)', 'i')); var rest$1 = html.replace(reStackedTag, function (all, text, endTag) { endTagLength = endTag.length; if (!isPlainTextElement(stackedTag) && stackedTag !== 'noscript') { text = text .replace(/<!\--([\s\S]*?)-->/g, '$1') // #7298 .replace(/<!\[CDATA\[([\s\S]*?)]]>/g, '$1'); } if (shouldIgnoreFirstNewline(stackedTag, text)) { text = text.slice(1); } if (options.chars) { options.chars(text); } return '' }); index += html.length - rest$1.length; html = rest$1; parseEndTag(stackedTag, index - endTagLength, index); } if (html === last) { options.chars && options.chars(html); if (!stack.length && options.warn) { options.warn(("Mal-formatted tag at end of template: \"" + html + "\""), { start: index + html.length }); } break } } // Clean up any remaining tags parseEndTag(); function advance (n) { index += n; html = html.substring(n); } function parseStartTag () { var start = html.match(startTagOpen); if (start) { var match = { tagName: start[1], attrs: [], start: index }; advance(start[0].length); var end, attr; while (!(end = html.match(startTagClose)) && (attr = html.match(dynamicArgAttribute) || html.match(attribute))) { attr.start = index; advance(attr[0].length); attr.end = index; match.attrs.push(attr); } if (end) { match.unarySlash = end[1]; advance(end[0].length); match.end = index; return match } } } function handleStartTag (match) { var tagName = match.tagName; var unarySlash = match.unarySlash; if (expectHTML) { if (lastTag === 'p' && isNonPhrasingTag(tagName)) { parseEndTag(lastTag); } if (canBeLeftOpenTag$$1(tagName) && lastTag === tagName) { parseEndTag(tagName); } } var unary = isUnaryTag$$1(tagName) || !!unarySlash; var l = match.attrs.length; var attrs = new Array(l); for (var i = 0; i < l; i++) { var args = match.attrs[i]; var value = args[3] || args[4] || args[5] || ''; var shouldDecodeNewlines = tagName === 'a' && args[1] === 'href' ? options.shouldDecodeNewlinesForHref : options.shouldDecodeNewlines; attrs[i] = { name: args[1], value: decodeAttr(value, shouldDecodeNewlines) }; if (options.outputSourceRange) { attrs[i].start = args.start + args[0].match(/^\s*/).length; attrs[i].end = args.end; } } if (!unary) { stack.push({ tag: tagName, lowerCasedTag: tagName.toLowerCase(), attrs: attrs, start: match.start, end: match.end }); lastTag = tagName; } if (options.start) { options.start(tagName, attrs, unary, match.start, match.end); } } function parseEndTag (tagName, start, end) { var pos, lowerCasedTagName; if (start == null) { start = index; } if (end == null) { end = index; } // Find the closest opened tag of the same type if (tagName) { lowerCasedTagName = tagName.toLowerCase(); for (pos = stack.length - 1; pos >= 0; pos--) { if (stack[pos].lowerCasedTag === lowerCasedTagName) { break } } } else { // If no tag name is provided, clean shop pos = 0; } if (pos >= 0) { // Close all the open elements, up the stack for (var i = stack.length - 1; i >= pos; i--) { if (i > pos || !tagName && options.warn ) { options.warn( ("tag <" + (stack[i].tag) + "> has no matching end tag."), { start: stack[i].start } ); } if (options.end) { options.end(stack[i].tag, start, end); } } // Remove the open elements from the stack stack.length = pos; lastTag = pos && stack[pos - 1].tag; } else if (lowerCasedTagName === 'br') { if (options.start) { options.start(tagName, [], true, start, end); } } else if (lowerCasedTagName === 'p') { if (options.start) { options.start(tagName, [], false, start, end); } if (options.end) { options.end(tagName, start, end); } } } } /* */ var onRE = /^@|^v-on:/; var dirRE = /^v-|^@|^:/; var forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/; var forIteratorRE = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/; var stripParensRE = /^\(|\)$/g; var dynamicArgRE = /^\[.*\]$/; var argRE = /:(.*)$/; var bindRE = /^:|^\.|^v-bind:/; var modifierRE = /\.[^.]+/g; var slotRE = /^v-slot(:|$)|^#/; var lineBreakRE = /[\r\n]/; var whitespaceRE$1 = /\s+/g; var invalidAttributeRE = /[\s"'<>\/=]/; var decodeHTMLCached = cached(he.decode); var emptySlotScopeToken = "_empty_"; // configurable state var warn$2; var delimiters; var transforms; var preTransforms; var postTransforms; var platformIsPreTag; var platformMustUseProp; var platformGetTagNamespace; var maybeComponent; function createASTElement ( tag, attrs, parent ) { return { type: 1, tag: tag, attrsList: attrs, attrsMap: makeAttrsMap(attrs), rawAttrsMap: {}, parent: parent, children: [] } } /** * Convert HTML string to AST. */ function parse ( template, options ) { warn$2 = options.warn || baseWarn; platformIsPreTag = options.isPreTag || no; platformMustUseProp = options.mustUseProp || no; platformGetTagNamespace = options.getTagNamespace || no; var isReservedTag = options.isReservedTag || no; maybeComponent = function (el) { return !!el.component || !isReservedTag(el.tag); }; transforms = pluckModuleFunction(options.modules, 'transformNode'); preTransforms = pluckModuleFunction(options.modules, 'preTransformNode'); postTransforms = pluckModuleFunction(options.modules, 'postTransformNode'); delimiters = options.delimiters; var stack = []; var preserveWhitespace = options.preserveWhitespace !== false; var whitespaceOption = options.whitespace; var root; var currentParent; var inVPre = false; var inPre = false; var warned = false; function warnOnce (msg, range) { if (!warned) { warned = true; warn$2(msg, range); } } function closeElement (element) { trimEndingWhitespace(element); if (!inVPre && !element.processed) { element = processElement(element, options); } // tree management if (!stack.length && element !== root) { // allow root elements with v-if, v-else-if and v-else if (root.if && (element.elseif || element.else)) { { checkRootConstraints(element); } addIfCondition(root, { exp: element.elseif, block: element }); } else { warnOnce( "Component template should contain exactly one root element. " + "If you are using v-if on multiple elements, " + "use v-else-if to chain them instead.", { start: element.start } ); } } if (currentParent && !element.forbidden) { if (element.elseif || element.else) { processIfConditions(element, currentParent); } else { if (element.slotScope) { // scoped slot // keep it in the children list so that v-else(-if) conditions can // find it as the prev node. var name = element.slotTarget || '"default"' ;(currentParent.scopedSlots || (currentParent.scopedSlots = {}))[name] = element; } currentParent.children.push(element); element.parent = currentParent; } } // final children cleanup // filter out scoped slots element.children = element.children.filter(function (c) { return !(c).slotScope; }); // remove trailing whitespace node again trimEndingWhitespace(element); // check pre state if (element.pre) { inVPre = false; } if (platformIsPreTag(element.tag)) { inPre = false; } // apply post-transforms for (var i = 0; i < postTransforms.length; i++) { postTransforms[i](element, options); } } function trimEndingWhitespace (el) { // remove trailing whitespace node if (!inPre) { var lastNode; while ( (lastNode = el.children[el.children.length - 1]) && lastNode.type === 3 && lastNode.text === ' ' ) { el.children.pop(); } } } function checkRootConstraints (el) { if (el.tag === 'slot' || el.tag === 'template') { warnOnce( "Cannot use <" + (el.tag) + "> as component root element because it may " + 'contain multiple nodes.', { start: el.start } ); } if (el.attrsMap.hasOwnProperty('v-for')) { warnOnce( 'Cannot use v-for on stateful component root element because ' + 'it renders multiple elements.', el.rawAttrsMap['v-for'] ); } } parseHTML(template, { warn: warn$2, expectHTML: options.expectHTML, isUnaryTag: options.isUnaryTag, canBeLeftOpenTag: options.canBeLeftOpenTag, shouldDecodeNewlines: options.shouldDecodeNewlines, shouldDecodeNewlinesForHref: options.shouldDecodeNewlinesForHref, shouldKeepComment: options.comments, outputSourceRange: options.outputSourceRange, start: function start (tag, attrs, unary, start$1) { // check namespace. // inherit parent ns if there is one var ns = (currentParent && currentParent.ns) || platformGetTagNamespace(tag); // handle IE svg bug /* istanbul ignore if */ if (isIE && ns === 'svg') { attrs = guardIESVGBug(attrs); } var element = createASTElement(tag, attrs, currentParent); if (ns) { element.ns = ns; } { if (options.outputSourceRange) { element.start = start$1; element.rawAttrsMap = element.attrsList.reduce(function (cumulated, attr) { cumulated[attr.name] = attr; return cumulated }, {}); } attrs.forEach(function (attr) { if (invalidAttributeRE.test(attr.name)) { warn$2( "Invalid dynamic argument expression: attribute names cannot contain " + "spaces, quotes, <, >, / or =.", { start: attr.start + attr.name.indexOf("["), end: attr.start + attr.name.length } ); } }); } if (isForbiddenTag(element) && !isServerRendering()) { element.forbidden = true; warn$2( 'Templates should only be responsible for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + "<" + tag + ">" + ', as they will not be parsed.', { start: element.start } ); } // apply pre-transforms for (var i = 0; i < preTransforms.length; i++) { element = preTransforms[i](element, options) || element; } if (!inVPre) { processPre(element); if (element.pre) { inVPre = true; } } if (platformIsPreTag(element.tag)) { inPre = true; } if (inVPre) { processRawAttrs(element); } else if (!element.processed) { // structural directives processFor(element); processIf(element); processOnce(element); } if (!root) { root = element; { checkRootConstraints(root); } } if (!unary) { currentParent = element; stack.push(element); } else { closeElement(element); } }, end: function end (tag, start, end$1) { var element = stack[stack.length - 1]; // pop stack stack.length -= 1; currentParent = stack[stack.length - 1]; if (options.outputSourceRange) { element.end = end$1; } closeElement(element); }, chars: function chars (text, start, end) { if (!currentParent) { { if (text === template) { warnOnce( 'Component template requires a root element, rather than just text.', { start: start } ); } else if ((text = text.trim())) { warnOnce( ("text \"" + text + "\" outside root element will be ignored."), { start: start } ); } } return } // IE textarea placeholder bug /* istanbul ignore if */ if (isIE && currentParent.tag === 'textarea' && currentParent.attrsMap.placeholder === text ) { return } var children = currentParent.children; if (inPre || text.trim()) { text = isTextTag(currentParent) ? text : decodeHTMLCached(text); } else if (!children.length) { // remove the whitespace-only node right after an opening tag text = ''; } else if (whitespaceOption) { if (whitespaceOption === 'condense') { // in condense mode, remove the whitespace node if it contains // line break, otherwise condense to a single space text = lineBreakRE.test(text) ? '' : ' '; } else { text = ' '; } } else { text = preserveWhitespace ? ' ' : ''; } if (text) { if (whitespaceOption === 'condense') { // condense consecutive whitespaces into single space text = text.replace(whitespaceRE$1, ' '); } var res; var child; if (!inVPre && text !== ' ' && (res = parseText(text, delimiters))) { child = { type: 2, expression: res.expression, tokens: res.tokens, text: text }; } else if (text !== ' ' || !children.length || children[children.length - 1].text !== ' ') { child = { type: 3, text: text }; } if (child) { if (options.outputSourceRange) { child.start = start; child.end = end; } children.push(child); } } }, comment: function comment (text, start, end) { // adding anyting as a sibling to the root node is forbidden // comments should still be allowed, but ignored if (currentParent) { var child = { type: 3, text: text, isComment: true }; if (options.outputSourceRange) { child.start = start; child.end = end; } currentParent.children.push(child); } } }); return root } function processPre (el) { if (getAndRemoveAttr(el, 'v-pre') != null) { el.pre = true; } } function processRawAttrs (el) { var list = el.attrsList; var len = list.length; if (len) { var attrs = el.attrs = new Array(len); for (var i = 0; i < len; i++) { attrs[i] = { name: list[i].name, value: JSON.stringify(list[i].value) }; if (list[i].start != null) { attrs[i].start = list[i].start; attrs[i].end = list[i].end; } } } else if (!el.pre) { // non root node in pre blocks with no attributes el.plain = true; } } function processElement ( element, options ) { processKey(element); // determine whether this is a plain element after // removing structural attributes element.plain = ( !element.key && !element.scopedSlots && !element.attrsList.length ); processRef(element); processSlotContent(element); processSlotOutlet(element); processComponent(element); for (var i = 0; i < transforms.length; i++) { element = transforms[i](element, options) || element; } processAttrs(element); return element } function processKey (el) { var exp = getBindingAttr(el, 'key'); if (exp) { { if (el.tag === 'template') { warn$2( "<template> cannot be keyed. Place the key on real elements instead.", getRawBindingAttr(el, 'key') ); } if (el.for) { var iterator = el.iterator2 || el.iterator1; var parent = el.parent; if (iterator && iterator === exp && parent && parent.tag === 'transition-group') { warn$2( "Do not use v-for index as key on <transition-group> children, " + "this is the same as not using keys.", getRawBindingAttr(el, 'key'), true /* tip */ ); } } } el.key = exp; } } function processRef (el) { var ref = getBindingAttr(el, 'ref'); if (ref) { el.ref = ref; el.refInFor = checkInFor(el); } } function processFor (el) { var exp; if ((exp = getAndRemoveAttr(el, 'v-for'))) { var res = parseFor(exp); if (res) { extend(el, res); } else { warn$2( ("Invalid v-for expression: " + exp), el.rawAttrsMap['v-for'] ); } } } function parseFor (exp) { var inMatch = exp.match(forAliasRE); if (!inMatch) { return } var res = {}; res.for = inMatch[2].trim(); var alias = inMatch[1].trim().replace(stripParensRE, ''); var iteratorMatch = alias.match(forIteratorRE); if (iteratorMatch) { res.alias = alias.replace(forIteratorRE, '').trim(); res.iterator1 = iteratorMatch[1].trim(); if (iteratorMatch[2]) { res.iterator2 = iteratorMatch[2].trim(); } } else { res.alias = alias; } return res } function processIf (el) { var exp = getAndRemoveAttr(el, 'v-if'); if (exp) { el.if = exp; addIfCondition(el, { exp: exp, block: el }); } else { if (getAndRemoveAttr(el, 'v-else') != null) { el.else = true; } var elseif = getAndRemoveAttr(el, 'v-else-if'); if (elseif) { el.elseif = elseif; } } } function processIfConditions (el, parent) { var prev = findPrevElement(parent.children); if (prev && prev.if) { addIfCondition(prev, { exp: el.elseif, block: el }); } else { warn$2( "v-" + (el.elseif ? ('else-if="' + el.elseif + '"') : 'else') + " " + "used on element <" + (el.tag) + "> without corresponding v-if.", el.rawAttrsMap[el.elseif ? 'v-else-if' : 'v-else'] ); } } function findPrevElement (children) { var i = children.length; while (i--) { if (children[i].type === 1) { return children[i] } else { if (children[i].text !== ' ') { warn$2( "text \"" + (children[i].text.trim()) + "\" between v-if and v-else(-if) " + "will be ignored.", children[i] ); } children.pop(); } } } function addIfCondition (el, condition) { if (!el.ifConditions) { el.ifConditions = []; } el.ifConditions.push(condition); } function processOnce (el) { var once$$1 = getAndRemoveAttr(el, 'v-once'); if (once$$1 != null) { el.once = true; } } // handle content being passed to a component as slot, // e.g. <template slot="xxx">, <div slot-scope="xxx"> function processSlotContent (el) { var slotScope; if (el.tag === 'template') { slotScope = getAndRemoveAttr(el, 'scope'); /* istanbul ignore if */ if (slotScope) { warn$2( "the \"scope\" attribute for scoped slots have been deprecated and " + "replaced by \"slot-scope\" since 2.5. The new \"slot-scope\" attribute " + "can also be used on plain elements in addition to <template> to " + "denote scoped slots.", el.rawAttrsMap['scope'], true ); } el.slotScope = slotScope || getAndRemoveAttr(el, 'slot-scope'); } else if ((slotScope = getAndRemoveAttr(el, 'slot-scope'))) { /* istanbul ignore if */ if (el.attrsMap['v-for']) { warn$2( "Ambiguous combined usage of slot-scope and v-for on <" + (el.tag) + "> " + "(v-for takes higher priority). Use a wrapper <template> for the " + "scoped slot to make it clearer.", el.rawAttrsMap['slot-scope'], true ); } el.slotScope = slotScope; } // slot="xxx" var slotTarget = getBindingAttr(el, 'slot'); if (slotTarget) { el.slotTarget = slotTarget === '""' ? '"default"' : slotTarget; el.slotTargetDynamic = !!(el.attrsMap[':slot'] || el.attrsMap['v-bind:slot']); // preserve slot as an attribute for native shadow DOM compat // only for non-scoped slots. if (el.tag !== 'template' && !el.slotScope) { addAttr(el, 'slot', slotTarget, getRawBindingAttr(el, 'slot')); } } // 2.6 v-slot syntax { if (el.tag === 'template') { // v-slot on <template> var slotBinding = getAndRemoveAttrByRegex(el, slotRE); if (slotBinding) { { if (el.slotTarget || el.slotScope) { warn$2( "Unexpected mixed usage of different slot syntaxes.", el ); } if (el.parent && !maybeComponent(el.parent)) { warn$2( "<template v-slot> can only appear at the root level inside " + "the receiving the component", el ); } } var ref = getSlotName(slotBinding); var name = ref.name; var dynamic = ref.dynamic; el.slotTarget = name; el.slotTargetDynamic = dynamic; el.slotScope = slotBinding.value || emptySlotScopeToken; // force it into a scoped slot for perf } } else { // v-slot on component, denotes default slot var slotBinding$1 = getAndRemoveAttrByRegex(el, slotRE); if (slotBinding$1) { { if (!maybeComponent(el)) { warn$2( "v-slot can only be used on components or <template>.", slotBinding$1 ); } if (el.slotScope || el.slotTarget) { warn$2( "Unexpected mixed usage of different slot syntaxes.", el ); } if (el.scopedSlots) { warn$2( "To avoid scope ambiguity, the default slot should also use " + "<template> syntax when there are other named slots.", slotBinding$1 ); } } // add the component's children to its default slot var slots = el.scopedSlots || (el.scopedSlots = {}); var ref$1 = getSlotName(slotBinding$1); var name$1 = ref$1.name; var dynamic$1 = ref$1.dynamic; var slotContainer = slots[name$1] = createASTElement('template', [], el); slotContainer.slotTarget = name$1; slotContainer.slotTargetDynamic = dynamic$1; slotContainer.children = el.children.filter(function (c) { if (!c.slotScope) { c.parent = slotContainer; return true } }); slotContainer.slotScope = slotBinding$1.value || emptySlotScopeToken; // remove children as they are returned from scopedSlots now el.children = []; // mark el non-plain so data gets generated el.plain = false; } } } } function getSlotName (binding) { var name = binding.name.replace(slotRE, ''); if (!name) { if (binding.name[0] !== '#') { name = 'default'; } else { warn$2( "v-slot shorthand syntax requires a slot name.", binding ); } } return dynamicArgRE.test(name) // dynamic [name] ? { name: name.slice(1, -1), dynamic: true } // static name : { name: ("\"" + name + "\""), dynamic: false } } // handle <slot/> outlets function processSlotOutlet (el) { if (el.tag === 'slot') { el.slotName = getBindingAttr(el, 'name'); if (el.key) { warn$2( "`key` does not work on <slot> because slots are abstract outlets " + "and can possibly expand into multiple elements. " + "Use the key on a wrapping element instead.", getRawBindingAttr(el, 'key') ); } } } function processComponent (el) { var binding; if ((binding = getBindingAttr(el, 'is'))) { el.component = binding; } if (getAndRemoveAttr(el, 'inline-template') != null) { el.inlineTemplate = true; } } function processAttrs (el) { var list = el.attrsList; var i, l, name, rawName, value, modifiers, syncGen, isDynamic; for (i = 0, l = list.length; i < l; i++) { name = rawName = list[i].name; value = list[i].value; if (dirRE.test(name)) { // mark element as dynamic el.hasBindings = true; // modifiers modifiers = parseModifiers(name.replace(dirRE, '')); // support .foo shorthand syntax for the .prop modifier if (modifiers) { name = name.replace(modifierRE, ''); } if (bindRE.test(name)) { // v-bind name = name.replace(bindRE, ''); value = parseFilters(value); isDynamic = dynamicArgRE.test(name); if (isDynamic) { name = name.slice(1, -1); } if ( value.trim().length === 0 ) { warn$2( ("The value for a v-bind expression cannot be empty. Found in \"v-bind:" + name + "\"") ); } if (modifiers) { if (modifiers.prop && !isDynamic) { name = camelize(name); if (name === 'innerHtml') { name = 'innerHTML'; } } if (modifiers.camel && !isDynamic) { name = camelize(name); } if (modifiers.sync) { syncGen = genAssignmentCode(value, "$event"); if (!isDynamic) { addHandler( el, ("update:" + (camelize(name))), syncGen, null, false, warn$2, list[i] ); if (hyphenate(name) !== camelize(name)) { addHandler( el, ("update:" + (hyphenate(name))), syncGen, null, false, warn$2, list[i] ); } } else { // handler w/ dynamic event name addHandler( el, ("\"update:\"+(" + name + ")"), syncGen, null, false, warn$2, list[i], true // dynamic ); } } } if ((modifiers && modifiers.prop) || ( !el.component && platformMustUseProp(el.tag, el.attrsMap.type, name) )) { addProp(el, name, value, list[i], isDynamic); } else { addAttr(el, name, value, list[i], isDynamic); } } else if (onRE.test(name)) { // v-on name = name.replace(onRE, ''); isDynamic = dynamicArgRE.test(name); if (isDynamic) { name = name.slice(1, -1); } addHandler(el, name, value, modifiers, false, warn$2, list[i], isDynamic); } else { // normal directives name = name.replace(dirRE, ''); // parse arg var argMatch = name.match(argRE); var arg = argMatch && argMatch[1]; isDynamic = false; if (arg) { name = name.slice(0, -(arg.length + 1)); if (dynamicArgRE.test(arg)) { arg = arg.slice(1, -1); isDynamic = true; } } addDirective(el, name, rawName, value, arg, isDynamic, modifiers, list[i]); if (name === 'model') { checkForAliasModel(el, value); } } } else { // literal attribute { var res = parseText(value, delimiters); if (res) { warn$2( name + "=\"" + value + "\": " + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div id="{{ val }}">, use <div :id="val">.', list[i] ); } } addAttr(el, name, JSON.stringify(value), list[i]); // #6887 firefox doesn't update muted state if set via attribute // even immediately after element creation if (!el.component && name === 'muted' && platformMustUseProp(el.tag, el.attrsMap.type, name)) { addProp(el, name, 'true', list[i]); } } } } function checkInFor (el) { var parent = el; while (parent) { if (parent.for !== undefined) { return true } parent = parent.parent; } return false } function parseModifiers (name) { var match = name.match(modifierRE); if (match) { var ret = {}; match.forEach(function (m) { ret[m.slice(1)] = true; }); return ret } } function makeAttrsMap (attrs) { var map = {}; for (var i = 0, l = attrs.length; i < l; i++) { if ( map[attrs[i].name] && !isIE && !isEdge ) { warn$2('duplicate attribute: ' + attrs[i].name, attrs[i]); } map[attrs[i].name] = attrs[i].value; } return map } // for script (e.g. type="x/template") or style, do not decode content function isTextTag (el) { return el.tag === 'script' || el.tag === 'style' } function isForbiddenTag (el) { return ( el.tag === 'style' || (el.tag === 'script' && ( !el.attrsMap.type || el.attrsMap.type === 'text/javascript' )) ) } var ieNSBug = /^xmlns:NS\d+/; var ieNSPrefix = /^NS\d+:/; /* istanbul ignore next */ function guardIESVGBug (attrs) { var res = []; for (var i = 0; i < attrs.length; i++) { var attr = attrs[i]; if (!ieNSBug.test(attr.name)) { attr.name = attr.name.replace(ieNSPrefix, ''); res.push(attr); } } return res } function checkForAliasModel (el, value) { var _el = el; while (_el) { if (_el.for && _el.alias === value) { warn$2( "<" + (el.tag) + " v-model=\"" + value + "\">: " + "You are binding v-model directly to a v-for iteration alias. " + "This will not be able to modify the v-for source array because " + "writing to the alias is like modifying a function local variable. " + "Consider using an array of objects and use v-model on an object property instead.", el.rawAttrsMap['v-model'] ); } _el = _el.parent; } } /* */ function preTransformNode (el, options) { if (el.tag === 'input') { var map = el.attrsMap; if (!map['v-model']) { return } var typeBinding; if (map[':type'] || map['v-bind:type']) { typeBinding = getBindingAttr(el, 'type'); } if (!map.type && !typeBinding && map['v-bind']) { typeBinding = "(" + (map['v-bind']) + ").type"; } if (typeBinding) { var ifCondition = getAndRemoveAttr(el, 'v-if', true); var ifConditionExtra = ifCondition ? ("&&(" + ifCondition + ")") : ""; var hasElse = getAndRemoveAttr(el, 'v-else', true) != null; var elseIfCondition = getAndRemoveAttr(el, 'v-else-if', true); // 1. checkbox var branch0 = cloneASTElement(el); // process for on the main node processFor(branch0); addRawAttr(branch0, 'type', 'checkbox'); processElement(branch0, options); branch0.processed = true; // prevent it from double-processed branch0.if = "(" + typeBinding + ")==='checkbox'" + ifConditionExtra; addIfCondition(branch0, { exp: branch0.if, block: branch0 }); // 2. add radio else-if condition var branch1 = cloneASTElement(el); getAndRemoveAttr(branch1, 'v-for', true); addRawAttr(branch1, 'type', 'radio'); processElement(branch1, options); addIfCondition(branch0, { exp: "(" + typeBinding + ")==='radio'" + ifConditionExtra, block: branch1 }); // 3. other var branch2 = cloneASTElement(el); getAndRemoveAttr(branch2, 'v-for', true); addRawAttr(branch2, ':type', typeBinding); processElement(branch2, options); addIfCondition(branch0, { exp: ifCondition, block: branch2 }); if (hasElse) { branch0.else = true; } else if (elseIfCondition) { branch0.elseif = elseIfCondition; } return branch0 } } } function cloneASTElement (el) { return createASTElement(el.tag, el.attrsList.slice(), el.parent) } var model$1 = { preTransformNode: preTransformNode }; var modules$1 = [ klass$1, style$1, model$1 ]; /* */ function text (el, dir) { if (dir.value) { addProp(el, 'textContent', ("_s(" + (dir.value) + ")"), dir); } } /* */ function html (el, dir) { if (dir.value) { addProp(el, 'innerHTML', ("_s(" + (dir.value) + ")"), dir); } } var directives$1 = { model: model, text: text, html: html }; /* */ var baseOptions = { expectHTML: true, modules: modules$1, directives: directives$1, isPreTag: isPreTag, isUnaryTag: isUnaryTag, mustUseProp: mustUseProp, canBeLeftOpenTag: canBeLeftOpenTag, isReservedTag: isReservedTag, getTagNamespace: getTagNamespace, staticKeys: genStaticKeys(modules$1) }; /* */ var isStaticKey; var isPlatformReservedTag; var genStaticKeysCached = cached(genStaticKeys$1); /** * Goal of the optimizer: walk the generated template AST tree * and detect sub-trees that are purely static, i.e. parts of * the DOM that never needs to change. * * Once we detect these sub-trees, we can: * * 1. Hoist them into constants, so that we no longer need to * create fresh nodes for them on each re-render; * 2. Completely skip them in the patching process. */ function optimize (root, options) { if (!root) { return } isStaticKey = genStaticKeysCached(options.staticKeys || ''); isPlatformReservedTag = options.isReservedTag || no; // first pass: mark all non-static nodes. markStatic$1(root); // second pass: mark static roots. markStaticRoots(root, false); } function genStaticKeys$1 (keys) { return makeMap( 'type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap' + (keys ? ',' + keys : '') ) } function markStatic$1 (node) { node.static = isStatic(node); if (node.type === 1) { // do not make component slot content static. this avoids // 1. components not able to mutate slot nodes // 2. static slot content fails for hot-reloading if ( !isPlatformReservedTag(node.tag) && node.tag !== 'slot' && node.attrsMap['inline-template'] == null ) { return } for (var i = 0, l = node.children.length; i < l; i++) { var child = node.children[i]; markStatic$1(child); if (!child.static) { node.static = false; } } if (node.ifConditions) { for (var i$1 = 1, l$1 = node.ifConditions.length; i$1 < l$1; i$1++) { var block = node.ifConditions[i$1].block; markStatic$1(block); if (!block.static) { node.static = false; } } } } } function markStaticRoots (node, isInFor) { if (node.type === 1) { if (node.static || node.once) { node.staticInFor = isInFor; } // For a node to qualify as a static root, it should have children that // are not just static text. Otherwise the cost of hoisting out will // outweigh the benefits and it's better off to just always render it fresh. if (node.static && node.children.length && !( node.children.length === 1 && node.children[0].type === 3 )) { node.staticRoot = true; return } else { node.staticRoot = false; } if (node.children) { for (var i = 0, l = node.children.length; i < l; i++) { markStaticRoots(node.children[i], isInFor || !!node.for); } } if (node.ifConditions) { for (var i$1 = 1, l$1 = node.ifConditions.length; i$1 < l$1; i$1++) { markStaticRoots(node.ifConditions[i$1].block, isInFor); } } } } function isStatic (node) { if (node.type === 2) { // expression return false } if (node.type === 3) { // text return true } return !!(node.pre || ( !node.hasBindings && // no dynamic bindings !node.if && !node.for && // not v-if or v-for or v-else !isBuiltInTag(node.tag) && // not a built-in isPlatformReservedTag(node.tag) && // not a component !isDirectChildOfTemplateFor(node) && Object.keys(node).every(isStaticKey) )) } function isDirectChildOfTemplateFor (node) { while (node.parent) { node = node.parent; if (node.tag !== 'template') { return false } if (node.for) { return true } } return false } /* */ var fnExpRE = /^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/; var fnInvokeRE = /\([^)]*?\);*$/; var simplePathRE = /^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/; // KeyboardEvent.keyCode aliases var keyCodes = { esc: 27, tab: 9, enter: 13, space: 32, up: 38, left: 37, right: 39, down: 40, 'delete': [8, 46] }; // KeyboardEvent.key aliases var keyNames = { // #7880: IE11 and Edge use `Esc` for Escape key name. esc: ['Esc', 'Escape'], tab: 'Tab', enter: 'Enter', // #9112: IE11 uses `Spacebar` for Space key name. space: [' ', 'Spacebar'], // #7806: IE11 uses key names without `Arrow` prefix for arrow keys. up: ['Up', 'ArrowUp'], left: ['Left', 'ArrowLeft'], right: ['Right', 'ArrowRight'], down: ['Down', 'ArrowDown'], // #9112: IE11 uses `Del` for Delete key name. 'delete': ['Backspace', 'Delete', 'Del'] }; // #4868: modifiers that prevent the execution of the listener // need to explicitly return null so that we can determine whether to remove // the listener for .once var genGuard = function (condition) { return ("if(" + condition + ")return null;"); }; var modifierCode = { stop: '$event.stopPropagation();', prevent: '$event.preventDefault();', self: genGuard("$event.target !== $event.currentTarget"), ctrl: genGuard("!$event.ctrlKey"), shift: genGuard("!$event.shiftKey"), alt: genGuard("!$event.altKey"), meta: genGuard("!$event.metaKey"), left: genGuard("'button' in $event && $event.button !== 0"), middle: genGuard("'button' in $event && $event.button !== 1"), right: genGuard("'button' in $event && $event.button !== 2") }; function genHandlers ( events, isNative ) { var prefix = isNative ? 'nativeOn:' : 'on:'; var staticHandlers = ""; var dynamicHandlers = ""; for (var name in events) { var handlerCode = genHandler(events[name]); if (events[name] && events[name].dynamic) { dynamicHandlers += name + "," + handlerCode + ","; } else { staticHandlers += "\"" + name + "\":" + handlerCode + ","; } } staticHandlers = "{" + (staticHandlers.slice(0, -1)) + "}"; if (dynamicHandlers) { return prefix + "_d(" + staticHandlers + ",[" + (dynamicHandlers.slice(0, -1)) + "])" } else { return prefix + staticHandlers } } function genHandler (handler) { if (!handler) { return 'function(){}' } if (Array.isArray(handler)) { return ("[" + (handler.map(function (handler) { return genHandler(handler); }).join(',')) + "]") } var isMethodPath = simplePathRE.test(handler.value); var isFunctionExpression = fnExpRE.test(handler.value); var isFunctionInvocation = simplePathRE.test(handler.value.replace(fnInvokeRE, '')); if (!handler.modifiers) { if (isMethodPath || isFunctionExpression) { return handler.value } return ("function($event){" + (isFunctionInvocation ? ("return " + (handler.value)) : handler.value) + "}") // inline statement } else { var code = ''; var genModifierCode = ''; var keys = []; for (var key in handler.modifiers) { if (modifierCode[key]) { genModifierCode += modifierCode[key]; // left/right if (keyCodes[key]) { keys.push(key); } } else if (key === 'exact') { var modifiers = (handler.modifiers); genModifierCode += genGuard( ['ctrl', 'shift', 'alt', 'meta'] .filter(function (keyModifier) { return !modifiers[keyModifier]; }) .map(function (keyModifier) { return ("$event." + keyModifier + "Key"); }) .join('||') ); } else { keys.push(key); } } if (keys.length) { code += genKeyFilter(keys); } // Make sure modifiers like prevent and stop get executed after key filtering if (genModifierCode) { code += genModifierCode; } var handlerCode = isMethodPath ? ("return " + (handler.value) + "($event)") : isFunctionExpression ? ("return (" + (handler.value) + ")($event)") : isFunctionInvocation ? ("return " + (handler.value)) : handler.value; return ("function($event){" + code + handlerCode + "}") } } function genKeyFilter (keys) { return ( // make sure the key filters only apply to KeyboardEvents // #9441: can't use 'keyCode' in $event because Chrome autofill fires fake // key events that do not have keyCode property... "if(!$event.type.indexOf('key')&&" + (keys.map(genFilterCode).join('&&')) + ")return null;" ) } function genFilterCode (key) { var keyVal = parseInt(key, 10); if (keyVal) { return ("$event.keyCode!==" + keyVal) } var keyCode = keyCodes[key]; var keyName = keyNames[key]; return ( "_k($event.keyCode," + (JSON.stringify(key)) + "," + (JSON.stringify(keyCode)) + "," + "$event.key," + "" + (JSON.stringify(keyName)) + ")" ) } /* */ function on (el, dir) { if (dir.modifiers) { warn("v-on without argument does not support modifiers."); } el.wrapListeners = function (code) { return ("_g(" + code + "," + (dir.value) + ")"); }; } /* */ function bind$1 (el, dir) { el.wrapData = function (code) { return ("_b(" + code + ",'" + (el.tag) + "'," + (dir.value) + "," + (dir.modifiers && dir.modifiers.prop ? 'true' : 'false') + (dir.modifiers && dir.modifiers.sync ? ',true' : '') + ")") }; } /* */ var baseDirectives = { on: on, bind: bind$1, cloak: noop }; /* */ var CodegenState = function CodegenState (options) { this.options = options; this.warn = options.warn || baseWarn; this.transforms = pluckModuleFunction(options.modules, 'transformCode'); this.dataGenFns = pluckModuleFunction(options.modules, 'genData'); this.directives = extend(extend({}, baseDirectives), options.directives); var isReservedTag = options.isReservedTag || no; this.maybeComponent = function (el) { return !!el.component || !isReservedTag(el.tag); }; this.onceId = 0; this.staticRenderFns = []; this.pre = false; }; function generate ( ast, options ) { var state = new CodegenState(options); var code = ast ? genElement(ast, state) : '_c("div")'; return { render: ("with(this){return " + code + "}"), staticRenderFns: state.staticRenderFns } } function genElement (el, state) { if (el.parent) { el.pre = el.pre || el.parent.pre; } if (el.staticRoot && !el.staticProcessed) { return genStatic(el, state) } else if (el.once && !el.onceProcessed) { return genOnce(el, state) } else if (el.for && !el.forProcessed) { return genFor(el, state) } else if (el.if && !el.ifProcessed) { return genIf(el, state) } else if (el.tag === 'template' && !el.slotTarget && !state.pre) { return genChildren(el, state) || 'void 0' } else if (el.tag === 'slot') { return genSlot(el, state) } else { // component or element var code; if (el.component) { code = genComponent(el.component, el, state); } else { var data; if (!el.plain || (el.pre && state.maybeComponent(el))) { data = genData$2(el, state); } var children = el.inlineTemplate ? null : genChildren(el, state, true); code = "_c('" + (el.tag) + "'" + (data ? ("," + data) : '') + (children ? ("," + children) : '') + ")"; } // module transforms for (var i = 0; i < state.transforms.length; i++) { code = state.transforms[i](el, code); } return code } } // hoist static sub-trees out function genStatic (el, state) { el.staticProcessed = true; // Some elements (templates) need to behave differently inside of a v-pre // node. All pre nodes are static roots, so we can use this as a location to // wrap a state change and reset it upon exiting the pre node. var originalPreState = state.pre; if (el.pre) { state.pre = el.pre; } state.staticRenderFns.push(("with(this){return " + (genElement(el, state)) + "}")); state.pre = originalPreState; return ("_m(" + (state.staticRenderFns.length - 1) + (el.staticInFor ? ',true' : '') + ")") } // v-once function genOnce (el, state) { el.onceProcessed = true; if (el.if && !el.ifProcessed) { return genIf(el, state) } else if (el.staticInFor) { var key = ''; var parent = el.parent; while (parent) { if (parent.for) { key = parent.key; break } parent = parent.parent; } if (!key) { state.warn( "v-once can only be used inside v-for that is keyed. ", el.rawAttrsMap['v-once'] ); return genElement(el, state) } return ("_o(" + (genElement(el, state)) + "," + (state.onceId++) + "," + key + ")") } else { return genStatic(el, state) } } function genIf ( el, state, altGen, altEmpty ) { el.ifProcessed = true; // avoid recursion return genIfConditions(el.ifConditions.slice(), state, altGen, altEmpty) } function genIfConditions ( conditions, state, altGen, altEmpty ) { if (!conditions.length) { return altEmpty || '_e()' } var condition = conditions.shift(); if (condition.exp) { return ("(" + (condition.exp) + ")?" + (genTernaryExp(condition.block)) + ":" + (genIfConditions(conditions, state, altGen, altEmpty))) } else { return ("" + (genTernaryExp(condition.block))) } // v-if with v-once should generate code like (a)?_m(0):_m(1) function genTernaryExp (el) { return altGen ? altGen(el, state) : el.once ? genOnce(el, state) : genElement(el, state) } } function genFor ( el, state, altGen, altHelper ) { var exp = el.for; var alias = el.alias; var iterator1 = el.iterator1 ? ("," + (el.iterator1)) : ''; var iterator2 = el.iterator2 ? ("," + (el.iterator2)) : ''; if (state.maybeComponent(el) && el.tag !== 'slot' && el.tag !== 'template' && !el.key ) { state.warn( "<" + (el.tag) + " v-for=\"" + alias + " in " + exp + "\">: component lists rendered with " + "v-for should have explicit keys. " + "See https://vuejs.org/guide/list.html#key for more info.", el.rawAttrsMap['v-for'], true /* tip */ ); } el.forProcessed = true; // avoid recursion return (altHelper || '_l') + "((" + exp + ")," + "function(" + alias + iterator1 + iterator2 + "){" + "return " + ((altGen || genElement)(el, state)) + '})' } function genData$2 (el, state) { var data = '{'; // directives first. // directives may mutate the el's other properties before they are generated. var dirs = genDirectives(el, state); if (dirs) { data += dirs + ','; } // key if (el.key) { data += "key:" + (el.key) + ","; } // ref if (el.ref) { data += "ref:" + (el.ref) + ","; } if (el.refInFor) { data += "refInFor:true,"; } // pre if (el.pre) { data += "pre:true,"; } // record original tag name for components using "is" attribute if (el.component) { data += "tag:\"" + (el.tag) + "\","; } // module data generation functions for (var i = 0; i < state.dataGenFns.length; i++) { data += state.dataGenFns[i](el); } // attributes if (el.attrs) { data += "attrs:" + (genProps(el.attrs)) + ","; } // DOM props if (el.props) { data += "domProps:" + (genProps(el.props)) + ","; } // event handlers if (el.events) { data += (genHandlers(el.events, false)) + ","; } if (el.nativeEvents) { data += (genHandlers(el.nativeEvents, true)) + ","; } // slot target // only for non-scoped slots if (el.slotTarget && !el.slotScope) { data += "slot:" + (el.slotTarget) + ","; } // scoped slots if (el.scopedSlots) { data += (genScopedSlots(el, el.scopedSlots, state)) + ","; } // component v-model if (el.model) { data += "model:{value:" + (el.model.value) + ",callback:" + (el.model.callback) + ",expression:" + (el.model.expression) + "},"; } // inline-template if (el.inlineTemplate) { var inlineTemplate = genInlineTemplate(el, state); if (inlineTemplate) { data += inlineTemplate + ","; } } data = data.replace(/,$/, '') + '}'; // v-bind dynamic argument wrap // v-bind with dynamic arguments must be applied using the same v-bind object // merge helper so that class/style/mustUseProp attrs are handled correctly. if (el.dynamicAttrs) { data = "_b(" + data + ",\"" + (el.tag) + "\"," + (genProps(el.dynamicAttrs)) + ")"; } // v-bind data wrap if (el.wrapData) { data = el.wrapData(data); } // v-on data wrap if (el.wrapListeners) { data = el.wrapListeners(data); } return data } function genDirectives (el, state) { var dirs = el.directives; if (!dirs) { return } var res = 'directives:['; var hasRuntime = false; var i, l, dir, needRuntime; for (i = 0, l = dirs.length; i < l; i++) { dir = dirs[i]; needRuntime = true; var gen = state.directives[dir.name]; if (gen) { // compile-time directive that manipulates AST. // returns true if it also needs a runtime counterpart. needRuntime = !!gen(el, dir, state.warn); } if (needRuntime) { hasRuntime = true; res += "{name:\"" + (dir.name) + "\",rawName:\"" + (dir.rawName) + "\"" + (dir.value ? (",value:(" + (dir.value) + "),expression:" + (JSON.stringify(dir.value))) : '') + (dir.arg ? (",arg:" + (dir.isDynamicArg ? dir.arg : ("\"" + (dir.arg) + "\""))) : '') + (dir.modifiers ? (",modifiers:" + (JSON.stringify(dir.modifiers))) : '') + "},"; } } if (hasRuntime) { return res.slice(0, -1) + ']' } } function genInlineTemplate (el, state) { var ast = el.children[0]; if (el.children.length !== 1 || ast.type !== 1) { state.warn( 'Inline-template components must have exactly one child element.', { start: el.start } ); } if (ast && ast.type === 1) { var inlineRenderFns = generate(ast, state.options); return ("inlineTemplate:{render:function(){" + (inlineRenderFns.render) + "},staticRenderFns:[" + (inlineRenderFns.staticRenderFns.map(function (code) { return ("function(){" + code + "}"); }).join(',')) + "]}") } } function genScopedSlots ( el, slots, state ) { // by default scoped slots are considered "stable", this allows child // components with only scoped slots to skip forced updates from parent. // but in some cases we have to bail-out of this optimization // for example if the slot contains dynamic names, has v-if or v-for on them... var needsForceUpdate = Object.keys(slots).some(function (key) { var slot = slots[key]; return ( slot.slotTargetDynamic || slot.if || slot.for || containsSlotChild(slot) // is passing down slot from parent which may be dynamic ) }); // OR when it is inside another scoped slot (the reactivity is disconnected) // #9438 if (!needsForceUpdate) { var parent = el.parent; while (parent) { if (parent.slotScope && parent.slotScope !== emptySlotScopeToken) { needsForceUpdate = true; break } parent = parent.parent; } } return ("scopedSlots:_u([" + (Object.keys(slots).map(function (key) { return genScopedSlot(slots[key], state) }).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")") } function containsSlotChild (el) { if (el.type === 1) { if (el.tag === 'slot') { return true } return el.children.some(containsSlotChild) } return false } function genScopedSlot ( el, state ) { var isLegacySyntax = el.attrsMap['slot-scope']; if (el.if && !el.ifProcessed && !isLegacySyntax) { return genIf(el, state, genScopedSlot, "null") } if (el.for && !el.forProcessed) { return genFor(el, state, genScopedSlot) } var slotScope = el.slotScope === emptySlotScopeToken ? "" : String(el.slotScope); var fn = "function(" + slotScope + "){" + "return " + (el.tag === 'template' ? el.if && isLegacySyntax ? ("(" + (el.if) + ")?" + (genChildren(el, state) || 'undefined') + ":undefined") : genChildren(el, state) || 'undefined' : genElement(el, state)) + "}"; // reverse proxy v-slot without scope on this.$slots var reverseProxy = slotScope ? "" : ",proxy:true"; return ("{key:" + (el.slotTarget || "\"default\"") + ",fn:" + fn + reverseProxy + "}") } function genChildren ( el, state, checkSkip, altGenElement, altGenNode ) { var children = el.children; if (children.length) { var el$1 = children[0]; // optimize single v-for if (children.length === 1 && el$1.for && el$1.tag !== 'template' && el$1.tag !== 'slot' ) { var normalizationType = checkSkip ? state.maybeComponent(el$1) ? ",1" : ",0" : ""; return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType) } var normalizationType$1 = checkSkip ? getNormalizationType(children, state.maybeComponent) : 0; var gen = altGenNode || genNode; return ("[" + (children.map(function (c) { return gen(c, state); }).join(',')) + "]" + (normalizationType$1 ? ("," + normalizationType$1) : '')) } } // determine the normalization needed for the children array. // 0: no normalization needed // 1: simple normalization needed (possible 1-level deep nested array) // 2: full normalization needed function getNormalizationType ( children, maybeComponent ) { var res = 0; for (var i = 0; i < children.length; i++) { var el = children[i]; if (el.type !== 1) { continue } if (needsNormalization(el) || (el.ifConditions && el.ifConditions.some(function (c) { return needsNormalization(c.block); }))) { res = 2; break } if (maybeComponent(el) || (el.ifConditions && el.ifConditions.some(function (c) { return maybeComponent(c.block); }))) { res = 1; } } return res } function needsNormalization (el) { return el.for !== undefined || el.tag === 'template' || el.tag === 'slot' } function genNode (node, state) { if (node.type === 1) { return genElement(node, state) } else if (node.type === 3 && node.isComment) { return genComment(node) } else { return genText(node) } } function genText (text) { return ("_v(" + (text.type === 2 ? text.expression // no need for () because already wrapped in _s() : transformSpecialNewlines(JSON.stringify(text.text))) + ")") } function genComment (comment) { return ("_e(" + (JSON.stringify(comment.text)) + ")") } function genSlot (el, state) { var slotName = el.slotName || '"default"'; var children = genChildren(el, state); var res = "_t(" + slotName + (children ? ("," + children) : ''); var attrs = el.attrs || el.dynamicAttrs ? genProps((el.attrs || []).concat(el.dynamicAttrs || []).map(function (attr) { return ({ // slot props are camelized name: camelize(attr.name), value: attr.value, dynamic: attr.dynamic }); })) : null; var bind$$1 = el.attrsMap['v-bind']; if ((attrs || bind$$1) && !children) { res += ",null"; } if (attrs) { res += "," + attrs; } if (bind$$1) { res += (attrs ? '' : ',null') + "," + bind$$1; } return res + ')' } // componentName is el.component, take it as argument to shun flow's pessimistic refinement function genComponent ( componentName, el, state ) { var children = el.inlineTemplate ? null : genChildren(el, state, true); return ("_c(" + componentName + "," + (genData$2(el, state)) + (children ? ("," + children) : '') + ")") } function genProps (props) { var staticProps = ""; var dynamicProps = ""; for (var i = 0; i < props.length; i++) { var prop = props[i]; var value = transformSpecialNewlines(prop.value); if (prop.dynamic) { dynamicProps += (prop.name) + "," + value + ","; } else { staticProps += "\"" + (prop.name) + "\":" + value + ","; } } staticProps = "{" + (staticProps.slice(0, -1)) + "}"; if (dynamicProps) { return ("_d(" + staticProps + ",[" + (dynamicProps.slice(0, -1)) + "])") } else { return staticProps } } // #3895, #4268 function transformSpecialNewlines (text) { return text .replace(/\u2028/g, '\\u2028') .replace(/\u2029/g, '\\u2029') } /* */ // these keywords should not appear inside expressions, but operators like // typeof, instanceof and in are allowed var prohibitedKeywordRE = new RegExp('\\b' + ( 'do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,' + 'super,throw,while,yield,delete,export,import,return,switch,default,' + 'extends,finally,continue,debugger,function,arguments' ).split(',').join('\\b|\\b') + '\\b'); // these unary operators should not be used as property/method names var unaryOperatorsRE = new RegExp('\\b' + ( 'delete,typeof,void' ).split(',').join('\\s*\\([^\\)]*\\)|\\b') + '\\s*\\([^\\)]*\\)'); // strip strings in expressions var stripStringRE = /'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g; // detect problematic expressions in a template function detectErrors (ast, warn) { if (ast) { checkNode(ast, warn); } } function checkNode (node, warn) { if (node.type === 1) { for (var name in node.attrsMap) { if (dirRE.test(name)) { var value = node.attrsMap[name]; if (value) { var range = node.rawAttrsMap[name]; if (name === 'v-for') { checkFor(node, ("v-for=\"" + value + "\""), warn, range); } else if (onRE.test(name)) { checkEvent(value, (name + "=\"" + value + "\""), warn, range); } else { checkExpression(value, (name + "=\"" + value + "\""), warn, range); } } } } if (node.children) { for (var i = 0; i < node.children.length; i++) { checkNode(node.children[i], warn); } } } else if (node.type === 2) { checkExpression(node.expression, node.text, warn, node); } } function checkEvent (exp, text, warn, range) { var stipped = exp.replace(stripStringRE, ''); var keywordMatch = stipped.match(unaryOperatorsRE); if (keywordMatch && stipped.charAt(keywordMatch.index - 1) !== '$') { warn( "avoid using JavaScript unary operator as property name: " + "\"" + (keywordMatch[0]) + "\" in expression " + (text.trim()), range ); } checkExpression(exp, text, warn, range); } function checkFor (node, text, warn, range) { checkExpression(node.for || '', text, warn, range); checkIdentifier(node.alias, 'v-for alias', text, warn, range); checkIdentifier(node.iterator1, 'v-for iterator', text, warn, range); checkIdentifier(node.iterator2, 'v-for iterator', text, warn, range); } function checkIdentifier ( ident, type, text, warn, range ) { if (typeof ident === 'string') { try { new Function(("var " + ident + "=_")); } catch (e) { warn(("invalid " + type + " \"" + ident + "\" in expression: " + (text.trim())), range); } } } function checkExpression (exp, text, warn, range) { try { new Function(("return " + exp)); } catch (e) { var keywordMatch = exp.replace(stripStringRE, '').match(prohibitedKeywordRE); if (keywordMatch) { warn( "avoid using JavaScript keyword as property name: " + "\"" + (keywordMatch[0]) + "\"\n Raw expression: " + (text.trim()), range ); } else { warn( "invalid expression: " + (e.message) + " in\n\n" + " " + exp + "\n\n" + " Raw expression: " + (text.trim()) + "\n", range ); } } } /* */ var range = 2; function generateCodeFrame ( source, start, end ) { if ( start === void 0 ) start = 0; if ( end === void 0 ) end = source.length; var lines = source.split(/\r?\n/); var count = 0; var res = []; for (var i = 0; i < lines.length; i++) { count += lines[i].length + 1; if (count >= start) { for (var j = i - range; j <= i + range || end > count; j++) { if (j < 0 || j >= lines.length) { continue } res.push(("" + (j + 1) + (repeat$1(" ", 3 - String(j + 1).length)) + "| " + (lines[j]))); var lineLength = lines[j].length; if (j === i) { // push underline var pad = start - (count - lineLength) + 1; var length = end > count ? lineLength - pad : end - start; res.push(" | " + repeat$1(" ", pad) + repeat$1("^", length)); } else if (j > i) { if (end > count) { var length$1 = Math.min(end - count, lineLength); res.push(" | " + repeat$1("^", length$1)); } count += lineLength + 1; } } break } } return res.join('\n') } function repeat$1 (str, n) { var result = ''; while (true) { // eslint-disable-line if (n & 1) { result += str; } n >>>= 1; if (n <= 0) { break } str += str; } return result } /* */ function createFunction (code, errors) { try { return new Function(code) } catch (err) { errors.push({ err: err, code: code }); return noop } } function createCompileToFunctionFn (compile) { var cache = Object.create(null); return function compileToFunctions ( template, options, vm ) { options = extend({}, options); var warn$$1 = options.warn || warn; delete options.warn; /* istanbul ignore if */ { // detect possible CSP restriction try { new Function('return 1'); } catch (e) { if (e.toString().match(/unsafe-eval|CSP/)) { warn$$1( 'It seems you are using the standalone build of Vue.js in an ' + 'environment with Content Security Policy that prohibits unsafe-eval. ' + 'The template compiler cannot work in this environment. Consider ' + 'relaxing the policy to allow unsafe-eval or pre-compiling your ' + 'templates into render functions.' ); } } } // check cache var key = options.delimiters ? String(options.delimiters) + template : template; if (cache[key]) { return cache[key] } // compile var compiled = compile(template, options); // check compilation errors/tips { if (compiled.errors && compiled.errors.length) { if (options.outputSourceRange) { compiled.errors.forEach(function (e) { warn$$1( "Error compiling template:\n\n" + (e.msg) + "\n\n" + generateCodeFrame(template, e.start, e.end), vm ); }); } else { warn$$1( "Error compiling template:\n\n" + template + "\n\n" + compiled.errors.map(function (e) { return ("- " + e); }).join('\n') + '\n', vm ); } } if (compiled.tips && compiled.tips.length) { if (options.outputSourceRange) { compiled.tips.forEach(function (e) { return tip(e.msg, vm); }); } else { compiled.tips.forEach(function (msg) { return tip(msg, vm); }); } } } // turn code into functions var res = {}; var fnGenErrors = []; res.render = createFunction(compiled.render, fnGenErrors); res.staticRenderFns = compiled.staticRenderFns.map(function (code) { return createFunction(code, fnGenErrors) }); // check function generation errors. // this should only happen if there is a bug in the compiler itself. // mostly for codegen development use /* istanbul ignore if */ { if ((!compiled.errors || !compiled.errors.length) && fnGenErrors.length) { warn$$1( "Failed to generate render function:\n\n" + fnGenErrors.map(function (ref) { var err = ref.err; var code = ref.code; return ((err.toString()) + " in\n\n" + code + "\n"); }).join('\n'), vm ); } } return (cache[key] = res) } } /* */ function createCompilerCreator (baseCompile) { return function createCompiler (baseOptions) { function compile ( template, options ) { var finalOptions = Object.create(baseOptions); var errors = []; var tips = []; var warn = function (msg, range, tip) { (tip ? tips : errors).push(msg); }; if (options) { if (options.outputSourceRange) { // $flow-disable-line var leadingSpaceLength = template.match(/^\s*/)[0].length; warn = function (msg, range, tip) { var data = { msg: msg }; if (range) { if (range.start != null) { data.start = range.start + leadingSpaceLength; } if (range.end != null) { data.end = range.end + leadingSpaceLength; } } (tip ? tips : errors).push(data); }; } // merge custom modules if (options.modules) { finalOptions.modules = (baseOptions.modules || []).concat(options.modules); } // merge custom directives if (options.directives) { finalOptions.directives = extend( Object.create(baseOptions.directives || null), options.directives ); } // copy other options for (var key in options) { if (key !== 'modules' && key !== 'directives') { finalOptions[key] = options[key]; } } } finalOptions.warn = warn; var compiled = baseCompile(template.trim(), finalOptions); { detectErrors(compiled.ast, warn); } compiled.errors = errors; compiled.tips = tips; return compiled } return { compile: compile, compileToFunctions: createCompileToFunctionFn(compile) } } } /* */ // `createCompilerCreator` allows creating compilers that use alternative // parser/optimizer/codegen, e.g the SSR optimizing compiler. // Here we just export a default compiler using the default parts. var createCompiler = createCompilerCreator(function baseCompile ( template, options ) { var ast = parse(template.trim(), options); if (options.optimize !== false) { optimize(ast, options); } var code = generate(ast, options); return { ast: ast, render: code.render, staticRenderFns: code.staticRenderFns } }); /* */ var ref$1 = createCompiler(baseOptions); var compile = ref$1.compile; var compileToFunctions = ref$1.compileToFunctions; /* */ // check whether current browser encodes a char inside attribute values var div; function getShouldDecode (href) { div = div || document.createElement('div'); div.innerHTML = href ? "<a href=\"\n\"/>" : "<div a=\"\n\"/>"; return div.innerHTML.indexOf(' ') > 0 } // #3663: IE encodes newlines inside attribute values while other browsers don't var shouldDecodeNewlines = inBrowser ? getShouldDecode(false) : false; // #6828: chrome encodes content in a[href] var shouldDecodeNewlinesForHref = inBrowser ? getShouldDecode(true) : false; /* */ var idToTemplate = cached(function (id) { var el = query(id); return el && el.innerHTML }); var mount = Vue.prototype.$mount; Vue.prototype.$mount = function ( el, hydrating ) { el = el && query(el); /* istanbul ignore if */ if (el === document.body || el === document.documentElement) { warn( "Do not mount Vue to <html> or <body> - mount to normal elements instead." ); return this } var options = this.$options; // resolve template/el and convert to render function if (!options.render) { var template = options.template; if (template) { if (typeof template === 'string') { if (template.charAt(0) === '#') { template = idToTemplate(template); /* istanbul ignore if */ if (!template) { warn( ("Template element not found or is empty: " + (options.template)), this ); } } } else if (template.nodeType) { template = template.innerHTML; } else { { warn('invalid template option:' + template, this); } return this } } else if (el) { template = getOuterHTML(el); } if (template) { /* istanbul ignore if */ if (config.performance && mark) { mark('compile'); } var ref = compileToFunctions(template, { outputSourceRange: "development" !== 'production', shouldDecodeNewlines: shouldDecodeNewlines, shouldDecodeNewlinesForHref: shouldDecodeNewlinesForHref, delimiters: options.delimiters, comments: options.comments }, this); var render = ref.render; var staticRenderFns = ref.staticRenderFns; options.render = render; options.staticRenderFns = staticRenderFns; /* istanbul ignore if */ if (config.performance && mark) { mark('compile end'); measure(("vue " + (this._name) + " compile"), 'compile', 'compile end'); } } } return mount.call(this, el, hydrating) }; /** * Get outerHTML of elements, taking care * of SVG elements in IE as well. */ function getOuterHTML (el) { if (el.outerHTML) { return el.outerHTML } else { var container = document.createElement('div'); container.appendChild(el.cloneNode(true)); return container.innerHTML } } Vue.compile = compileToFunctions; module.exports = Vue; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27), __webpack_require__(174).setImmediate)) /***/ }), /* 174 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(global) {var scope = (typeof global !== "undefined" && global) || (typeof self !== "undefined" && self) || window; var apply = Function.prototype.apply; // DOM APIs, for completeness exports.setTimeout = function() { return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout); }; exports.setInterval = function() { return new Timeout(apply.call(setInterval, scope, arguments), clearInterval); }; exports.clearTimeout = exports.clearInterval = function(timeout) { if (timeout) { timeout.close(); } }; function Timeout(id, clearFn) { this._id = id; this._clearFn = clearFn; } Timeout.prototype.unref = Timeout.prototype.ref = function() {}; Timeout.prototype.close = function() { this._clearFn.call(scope, this._id); }; // Does not start the time, just sets up the members needed. exports.enroll = function(item, msecs) { clearTimeout(item._idleTimeoutId); item._idleTimeout = msecs; }; exports.unenroll = function(item) { clearTimeout(item._idleTimeoutId); item._idleTimeout = -1; }; exports._unrefActive = exports.active = function(item) { clearTimeout(item._idleTimeoutId); var msecs = item._idleTimeout; if (msecs >= 0) { item._idleTimeoutId = setTimeout(function onTimeout() { if (item._onTimeout) item._onTimeout(); }, msecs); } }; // setimmediate attaches itself to the global object __webpack_require__(175); // On some exotic environments, it's not clear which object `setimmediate` was // able to install onto. Search each possibility in the same order as the // `setimmediate` library. exports.setImmediate = (typeof self !== "undefined" && self.setImmediate) || (typeof global !== "undefined" && global.setImmediate) || (this && this.setImmediate); exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) || (typeof global !== "undefined" && global.clearImmediate) || (this && this.clearImmediate); /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) /***/ }), /* 175 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) { "use strict"; if (global.setImmediate) { return; } var nextHandle = 1; // Spec says greater than zero var tasksByHandle = {}; var currentlyRunningATask = false; var doc = global.document; var registerImmediate; function setImmediate(callback) { // Callback can either be a function or a string if (typeof callback !== "function") { callback = new Function("" + callback); } // Copy function arguments var args = new Array(arguments.length - 1); for (var i = 0; i < args.length; i++) { args[i] = arguments[i + 1]; } // Store and register the task var task = { callback: callback, args: args }; tasksByHandle[nextHandle] = task; registerImmediate(nextHandle); return nextHandle++; } function clearImmediate(handle) { delete tasksByHandle[handle]; } function run(task) { var callback = task.callback; var args = task.args; switch (args.length) { case 0: callback(); break; case 1: callback(args[0]); break; case 2: callback(args[0], args[1]); break; case 3: callback(args[0], args[1], args[2]); break; default: callback.apply(undefined, args); break; } } function runIfPresent(handle) { // From the spec: "Wait until any invocations of this algorithm started before this one have completed." // So if we're currently running a task, we'll need to delay this invocation. if (currentlyRunningATask) { // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a // "too much recursion" error. setTimeout(runIfPresent, 0, handle); } else { var task = tasksByHandle[handle]; if (task) { currentlyRunningATask = true; try { run(task); } finally { clearImmediate(handle); currentlyRunningATask = false; } } } } function installNextTickImplementation() { registerImmediate = function(handle) { process.nextTick(function () { runIfPresent(handle); }); }; } function canUsePostMessage() { // The test against `importScripts` prevents this implementation from being installed inside a web worker, // where `global.postMessage` means something completely different and can't be used for this purpose. if (global.postMessage && !global.importScripts) { var postMessageIsAsynchronous = true; var oldOnMessage = global.onmessage; global.onmessage = function() { postMessageIsAsynchronous = false; }; global.postMessage("", "*"); global.onmessage = oldOnMessage; return postMessageIsAsynchronous; } } function installPostMessageImplementation() { // Installs an event handler on `global` for the `message` event: see // * https://developer.mozilla.org/en/DOM/window.postMessage // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages var messagePrefix = "setImmediate$" + Math.random() + "$"; var onGlobalMessage = function(event) { if (event.source === global && typeof event.data === "string" && event.data.indexOf(messagePrefix) === 0) { runIfPresent(+event.data.slice(messagePrefix.length)); } }; if (global.addEventListener) { global.addEventListener("message", onGlobalMessage, false); } else { global.attachEvent("onmessage", onGlobalMessage); } registerImmediate = function(handle) { global.postMessage(messagePrefix + handle, "*"); }; } function installMessageChannelImplementation() { var channel = new MessageChannel(); channel.port1.onmessage = function(event) { var handle = event.data; runIfPresent(handle); }; registerImmediate = function(handle) { channel.port2.postMessage(handle); }; } function installReadyStateChangeImplementation() { var html = doc.documentElement; registerImmediate = function(handle) { // Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called. var script = doc.createElement("script"); script.onreadystatechange = function () { runIfPresent(handle); script.onreadystatechange = null; html.removeChild(script); script = null; }; html.appendChild(script); }; } function installSetTimeoutImplementation() { registerImmediate = function(handle) { setTimeout(runIfPresent, 0, handle); }; } // If supported, we should attach to the prototype of global, since that is where setTimeout et al. live. var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global); attachTo = attachTo && attachTo.setTimeout ? attachTo : global; // Don't get fooled by e.g. browserify environments. if ({}.toString.call(global.process) === "[object process]") { // For Node.js before 0.9 installNextTickImplementation(); } else if (canUsePostMessage()) { // For non-IE10 modern browsers installPostMessageImplementation(); } else if (global.MessageChannel) { // For web workers, where supported installMessageChannelImplementation(); } else if (doc && "onreadystatechange" in doc.createElement("script")) { // For IE 6–8 installReadyStateChangeImplementation(); } else { // For older browsers installSetTimeoutImplementation(); } attachTo.setImmediate = setImmediate; attachTo.clearImmediate = clearImmediate; }(typeof self === "undefined" ? typeof global === "undefined" ? this : global : self)); /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27), __webpack_require__(176))) /***/ }), /* 176 */ /***/ (function(module, exports) { // shim for using process in browser var process = module.exports = {}; // cached from whatever global is present so that test runners that stub it // don't break things. But we need to wrap it in a try catch in case it is // wrapped in strict mode code which doesn't define any globals. It's inside a // function because try/catches deoptimize in certain engines. var cachedSetTimeout; var cachedClearTimeout; function defaultSetTimout() { throw new Error('setTimeout has not been defined'); } function defaultClearTimeout () { throw new Error('clearTimeout has not been defined'); } (function () { try { if (typeof setTimeout === 'function') { cachedSetTimeout = setTimeout; } else { cachedSetTimeout = defaultSetTimout; } } catch (e) { cachedSetTimeout = defaultSetTimout; } try { if (typeof clearTimeout === 'function') { cachedClearTimeout = clearTimeout; } else { cachedClearTimeout = defaultClearTimeout; } } catch (e) { cachedClearTimeout = defaultClearTimeout; } } ()) function runTimeout(fun) { if (cachedSetTimeout === setTimeout) { //normal enviroments in sane situations return setTimeout(fun, 0); } // if setTimeout wasn't available but was latter defined if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { cachedSetTimeout = setTimeout; return setTimeout(fun, 0); } try { // when when somebody has screwed with setTimeout but no I.E. maddness return cachedSetTimeout(fun, 0); } catch(e){ try { // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally return cachedSetTimeout.call(null, fun, 0); } catch(e){ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error return cachedSetTimeout.call(this, fun, 0); } } } function runClearTimeout(marker) { if (cachedClearTimeout === clearTimeout) { //normal enviroments in sane situations return clearTimeout(marker); } // if clearTimeout wasn't available but was latter defined if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { cachedClearTimeout = clearTimeout; return clearTimeout(marker); } try { // when when somebody has screwed with setTimeout but no I.E. maddness return cachedClearTimeout(marker); } catch (e){ try { // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally return cachedClearTimeout.call(null, marker); } catch (e){ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. // Some versions of I.E. have different rules for clearTimeout vs setTimeout return cachedClearTimeout.call(this, marker); } } } var queue = []; var draining = false; var currentQueue; var queueIndex = -1; function cleanUpNextTick() { if (!draining || !currentQueue) { return; } draining = false; if (currentQueue.length) { queue = currentQueue.concat(queue); } else { queueIndex = -1; } if (queue.length) { drainQueue(); } } function drainQueue() { if (draining) { return; } var timeout = runTimeout(cleanUpNextTick); draining = true; var len = queue.length; while(len) { currentQueue = queue; queue = []; while (++queueIndex < len) { if (currentQueue) { currentQueue[queueIndex].run(); } } queueIndex = -1; len = queue.length; } currentQueue = null; draining = false; runClearTimeout(timeout); } process.nextTick = function (fun) { var args = new Array(arguments.length - 1); if (arguments.length > 1) { for (var i = 1; i < arguments.length; i++) { args[i - 1] = arguments[i]; } } queue.push(new Item(fun, args)); if (queue.length === 1 && !draining) { runTimeout(drainQueue); } }; // v8 likes predictible objects function Item(fun, array) { this.fun = fun; this.array = array; } Item.prototype.run = function () { this.fun.apply(null, this.array); }; process.title = 'browser'; process.browser = true; process.env = {}; process.argv = []; process.version = ''; // empty string to avoid regexp issues process.versions = {}; function noop() {} process.on = noop; process.addListener = noop; process.once = noop; process.off = noop; process.removeListener = noop; process.removeAllListeners = noop; process.emit = noop; process.prependListener = noop; process.prependOnceListener = noop; process.listeners = function (name) { return [] } process.binding = function (name) { throw new Error('process.binding is not supported'); }; process.cwd = function () { return '/' }; process.chdir = function (dir) { throw new Error('process.chdir is not supported'); }; process.umask = function() { return 0; }; /***/ }), /* 177 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _translate = __webpack_require__(55); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var api = wp.customize, $ = window.jQuery; function fixCropKeyPressBug() { setTimeout(function () { $(top.document).unbind($.imgAreaSelect.keyPress); }, 100); } var WPService = function () { function WPService() { _classCallCheck(this, WPService); } _createClass(WPService, [{ key: 'install', value: function install(Vue, options) { var service = this; Object.defineProperty(Vue, '$wpService', { get: function get() { return service; } }); Object.defineProperty(Vue.prototype, '$wpService', { get: function get() { return service; } }); } }, { key: 'openCropableImageManager', value: function openCropableImageManager(options) { var control = new api.CroppedImageControl('custom_image_cropper[' + Date.now() + ']', { params: {} }); control.params = { button_labels: { frame_title: (0, _translate.t)('colibri.mediapicker.selectimage') }, height: options.height, width: options.width }; var flexible = _.isUndefined(options.flexible) ? true : options.flexible; if (flexible) { control.params = _.extend(control.params, { flex_width: options.width, flex_height: options.height }); } control.initFrame(); control.frame.setState('library').open(); control.frame.content.mode('browse'); control.frame.on('close', fixCropKeyPressBug); control.setImageFromAttachment = function (attachment) { options.callback([attachment]); fixCropKeyPressBug(); }; var frameView = $(control.frame.views.selector); frameView.parent().css({ 'z-index': '16000000' }); frameView.find('.instructions').remove(); control.frame.on('content:create:crop', function () { var state = control.frame.state(); var __createCropToolbar = state.createCropToolbar; state.createCropToolbar = function () { state.set('canSkipCrop', true); __createCropToolbar.apply(state, arguments); }; }); } }, { key: 'openVideoPicker', value: function openVideoPicker(options) {} }, { key: 'openMediaBrowser', value: function openMediaBrowser(options) { switch (options.type) { case 'video': this.openVideoPicker(options); break; case 'image': this.openCropableImageManager({ width: options.width || 1920, height: options.height || 1080, flexible: _.isUndefined(options.flexible) ? true : options.flexible, callback: function callback(medias) { options.callback(medias[0]); } }); break; } } }]); return WPService; }(); exports.default = WPService; /***/ }), /* 178 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony default export */ __webpack_exports__["default"] = ({ el: { colorpicker: { confirm: 'OK', clear: 'Clear' }, datepicker: { now: 'Now', today: 'Today', cancel: 'Cancel', clear: 'Clear', confirm: 'OK', selectDate: 'Select date', selectTime: 'Select time', startDate: 'Start Date', startTime: 'Start Time', endDate: 'End Date', endTime: 'End Time', prevYear: 'Previous Year', nextYear: 'Next Year', prevMonth: 'Previous Month', nextMonth: 'Next Month', year: '', month1: 'January', month2: 'February', month3: 'March', month4: 'April', month5: 'May', month6: 'June', month7: 'July', month8: 'August', month9: 'September', month10: 'October', month11: 'November', month12: 'December', week: 'week', weeks: { sun: 'Sun', mon: 'Mon', tue: 'Tue', wed: 'Wed', thu: 'Thu', fri: 'Fri', sat: 'Sat' }, months: { jan: 'Jan', feb: 'Feb', mar: 'Mar', apr: 'Apr', may: 'May', jun: 'Jun', jul: 'Jul', aug: 'Aug', sep: 'Sep', oct: 'Oct', nov: 'Nov', dec: 'Dec' } }, select: { loading: 'Loading', noMatch: 'No matching data', noData: 'No data', placeholder: 'Select' }, cascader: { noMatch: 'No matching data', loading: 'Loading', placeholder: 'Select' }, pagination: { goto: 'Go to', pagesize: '/page', total: 'Total {total}', pageClassifier: '' }, messagebox: { title: 'Message', confirm: 'OK', cancel: 'Cancel', error: 'Illegal input' }, upload: { deleteTip: 'press delete to remove', delete: 'Delete', preview: 'Preview', continue: 'Continue' }, table: { emptyText: 'No Data', confirmFilter: 'Confirm', resetFilter: 'Reset', clearFilter: 'All', sumText: 'Sum' }, tree: { emptyText: 'No Data' }, transfer: { noMatch: 'No matching data', noData: 'No data', titles: ['List 1', 'List 2'], // to be translated filterPlaceholder: 'Enter keyword', // to be translated noCheckedFormat: '{total} items', // to be translated hasCheckedFormat: '{checked}/{total} checked' // to be translated } } }); /***/ }), /* 179 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony default export */ __webpack_exports__["a"] = ({ el: { colorpicker: { confirm: '确定', clear: '清空' }, datepicker: { now: '此刻', today: '今天', cancel: '取消', clear: '清空', confirm: '确定', selectDate: '选择日期', selectTime: '选择时间', startDate: '开始日期', startTime: '开始时间', endDate: '结束日期', endTime: '结束时间', prevYear: '前一年', nextYear: '后一年', prevMonth: '上个月', nextMonth: '下个月', year: '年', month1: '1 月', month2: '2 月', month3: '3 月', month4: '4 月', month5: '5 月', month6: '6 月', month7: '7 月', month8: '8 月', month9: '9 月', month10: '10 月', month11: '11 月', month12: '12 月', // week: '周次', weeks: { sun: '日', mon: '一', tue: '二', wed: '三', thu: '四', fri: '五', sat: '六' }, months: { jan: '一月', feb: '二月', mar: '三月', apr: '四月', may: '五月', jun: '六月', jul: '七月', aug: '八月', sep: '九月', oct: '十月', nov: '十一月', dec: '十二月' } }, select: { loading: '加载中', noMatch: '无匹配数据', noData: '无数据', placeholder: '请选择' }, cascader: { noMatch: '无匹配数据', loading: '加载中', placeholder: '请选择' }, pagination: { goto: '前往', pagesize: '条/页', total: '共 {total} 条', pageClassifier: '页' }, messagebox: { title: '提示', confirm: '确定', cancel: '取消', error: '输入的数据不合法!' }, upload: { deleteTip: '按 delete 键可删除', delete: '删除', preview: '查看图片', continue: '继续上传' }, table: { emptyText: '暂无数据', confirmFilter: '筛选', resetFilter: '重置', clearFilter: '全部', sumText: '合计' }, tree: { emptyText: '暂无数据' }, transfer: { noMatch: '无匹配数据', noData: '无数据', titles: ['列表 1', '列表 2'], filterPlaceholder: '请输入搜索内容', noCheckedFormat: '共 {total} 项', hasCheckedFormat: '已选 {checked}/{total} 项' } } }); /***/ }), /* 180 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_element_ui_src_utils_util__ = __webpack_require__(181); const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g; /** * String format template * - Inspired: * https://github.com/Matt-Esch/string-template/index.js */ /* harmony default export */ __webpack_exports__["a"] = (function(Vue) { /** * template * * @param {String} string * @param {Array} ...args * @return {String} */ function template(string, ...args) { if (args.length === 1 && typeof args[0] === 'object') { args = args[0]; } if (!args || !args.hasOwnProperty) { args = {}; } return string.replace(RE_NARGS, (match, prefix, i, index) => { let result; if (string[index - 1] === '{' && string[index + match.length] === '}') { return i; } else { result = Object(__WEBPACK_IMPORTED_MODULE_0_element_ui_src_utils_util__["a" /* hasOwn */])(args, i) ? args[i] : null; if (result === null || result === undefined) { return ''; } return result; } }); } return template; }); /***/ }), /* 181 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* unused harmony export noop */ /* harmony export (immutable) */ __webpack_exports__["a"] = hasOwn; /* unused harmony export toObject */ /* unused harmony export getPropByPath */ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_vue__); const hasOwnProperty = Object.prototype.hasOwnProperty; function noop() {}; function hasOwn(obj, key) { return hasOwnProperty.call(obj, key); }; function extend(to, _from) { for (let key in _from) { to[key] = _from[key]; } return to; }; function toObject(arr) { var res = {}; for (let i = 0; i < arr.length; i++) { if (arr[i]) { extend(res, arr[i]); } } return res; }; const getValueByPath = function(object, prop) { prop = prop || ''; const paths = prop.split('.'); let current = object; let result = null; for (let i = 0, j = paths.length; i < j; i++) { const path = paths[i]; if (!current) break; if (i === j - 1) { result = current[path]; break; } current = current[path]; } return result; }; /* unused harmony export getValueByPath */ function getPropByPath(obj, path, strict) { let tempObj = obj; path = path.replace(/\[(\w+)\]/g, '.$1'); path = path.replace(/^\./, ''); let keyArr = path.split('.'); let i = 0; for (let len = keyArr.length; i < len - 1; ++i) { if (!tempObj && !strict) break; let key = keyArr[i]; if (key in tempObj) { tempObj = tempObj[key]; } else { if (strict) { throw new Error('please transfer a valid prop path to form item!'); } break; } } return { o: tempObj, k: keyArr[i], v: tempObj ? tempObj[keyArr[i]] : null }; }; const generateId = function() { return Math.floor(Math.random() * 10000); }; /* unused harmony export generateId */ const valueEquals = (a, b) => { // see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript if (a === b) return true; if (!(a instanceof Array)) return false; if (!(b instanceof Array)) return false; if (a.length !== b.length) return false; for (let i = 0; i !== a.length; ++i) { if (a[i] !== b[i]) return false; } return true; }; /* unused harmony export valueEquals */ const escapeRegexpString = (value = '') => String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&'); /* unused harmony export escapeRegexpString */ // TODO: use native Array.find, Array.findIndex when IE support is dropped const arrayFindIndex = function(arr, pred) { for (let i = 0; i !== arr.length; ++i) { if (pred(arr[i])) { return i; } } return -1; }; /* unused harmony export arrayFindIndex */ const arrayFind = function(arr, pred) { const idx = arrayFindIndex(arr, pred); return idx !== -1 ? arr[idx] : undefined; }; /* unused harmony export arrayFind */ // coerce truthy value to array const coerceTruthyValueToArray = function(val) { if (Array.isArray(val)) { return val; } else if (val) { return [val]; } else { return []; } }; /* unused harmony export coerceTruthyValueToArray */ const isIE = function() { return !__WEBPACK_IMPORTED_MODULE_0_vue___default.a.prototype.$isServer && !isNaN(Number(document.documentMode)); }; /* unused harmony export isIE */ const isEdge = function() { return !__WEBPACK_IMPORTED_MODULE_0_vue___default.a.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1; }; /* unused harmony export isEdge */ /***/ }), /* 182 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.default = { el: { colorpicker: { confirm: '确定', clear: '清空' }, datepicker: { now: '此刻', today: '今天', cancel: '取消', clear: '清空', confirm: '确定', selectDate: '选择日期', selectTime: '选择时间', startDate: '开始日期', startTime: '开始时间', endDate: '结束日期', endTime: '结束时间', prevYear: '前一年', nextYear: '后一年', prevMonth: '上个月', nextMonth: '下个月', year: '年', month1: '1 月', month2: '2 月', month3: '3 月', month4: '4 月', month5: '5 月', month6: '6 月', month7: '7 月', month8: '8 月', month9: '9 月', month10: '10 月', month11: '11 月', month12: '12 月', // week: '周次', weeks: { sun: '日', mon: '一', tue: '二', wed: '三', thu: '四', fri: '五', sat: '六' }, months: { jan: '一月', feb: '二月', mar: '三月', apr: '四月', may: '五月', jun: '六月', jul: '七月', aug: '八月', sep: '九月', oct: '十月', nov: '十一月', dec: '十二月' } }, select: { loading: '加载中', noMatch: '无匹配数据', noData: '无数据', placeholder: '请选择' }, cascader: { noMatch: '无匹配数据', loading: '加载中', placeholder: '请选择' }, pagination: { goto: '前往', pagesize: '条/页', total: '共 {total} 条', pageClassifier: '页' }, messagebox: { title: '提示', confirm: '确定', cancel: '取消', error: '输入的数据不合法!' }, upload: { deleteTip: '按 delete 键可删除', delete: '删除', preview: '查看图片', continue: '继续上传' }, table: { emptyText: '暂无数据', confirmFilter: '筛选', resetFilter: '重置', clearFilter: '全部', sumText: '合计' }, tree: { emptyText: '暂无数据' }, transfer: { noMatch: '无匹配数据', noData: '无数据', titles: ['列表 1', '列表 2'], filterPlaceholder: '请输入搜索内容', noCheckedFormat: '共 {total} 项', hasCheckedFormat: '已选 {checked}/{total} 项' } } }; /***/ }), /* 183 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; exports.default = function (Vue) { /** * template * * @param {String} string * @param {Array} ...args * @return {String} */ function template(string) { for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } if (args.length === 1 && _typeof(args[0]) === 'object') { args = args[0]; } if (!args || !args.hasOwnProperty) { args = {}; } return string.replace(RE_NARGS, function (match, prefix, i, index) { var result = void 0; if (string[index - 1] === '{' && string[index + match.length] === '}') { return i; } else { result = (0, _util.hasOwn)(args, i) ? args[i] : null; if (result === null || result === undefined) { return ''; } return result; } }); } return template; }; var _util = __webpack_require__(39); var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g; /** * String format template * - Inspired: * https://github.com/Matt-Esch/string-template/index.js */ /***/ }), /* 184 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var api = wp.customize, panelConstructor = api.panelConstructor; panelConstructor['colibri_panel'] = api.Panel.extend({ getContent: function getContent() { var $container = this.container.find('.control-panel-content').first(); this.maybeAddPanelFooter(); return $container; }, maybeAddPanelFooter: function maybeAddPanelFooter() { var _this = this; this.colibriReflowFooterButtons(true); if (!this.reflow_binded) { this.reflow_binded = true; api.bind('pane-contents-reflowed', function () { _this.colibriReflowFooterButtons(); }); } }, colibriReflowFooterButtons: function colibriReflowFooterButtons() { var _this2 = this; var create = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var $wrapper = this.container.find('.control-panel-content').first().parent(); var $footer = $wrapper.children('.panel-footer'); var buttons = this.params.footer_buttons; if (create) { if ($footer.length !== 0) { $footer.remove(); } $wrapper.append('<div class="panel-footer"></div>'); $footer = $wrapper.children('.panel-footer'); $footer.on('click', 'button', function (event) { event.preventDefault(); event.stopPropagation(); var name = jQuery(event.currentTarget).attr('data-name'); api.trigger('colibri_panel_button_clicked', name, event); }); for (var key in buttons) { if (buttons.hasOwnProperty(key)) { var button = buttons[key]; var classes = (button.classes || ['button-primary']).join(' '); var icon = button.icon || ""; if (icon) { icon = '<span class="dashicons ' + icon + '"></span>'; } var buttonHtml = '<button data-name="' + button.name + '" class="button ' + classes + ' hidden ">' + icon + '<span>' + button.label + '</span></button>'; var $button = jQuery(buttonHtml); $footer.append($button); } } api.bind('colibri_preview_ready', function () { _this2.colibriReflowFooterButtons(); }); } for (var _key in buttons) { if (buttons.hasOwnProperty(_key)) { var _button = buttons[_key]; var _$button = $footer.find('[data-name="' + _button.name + '"]'); if (!_button.activate_when) { _$button.removeClass('hidden'); } else { if (this.checkButtonActiveWhen(_button.activate_when)) { _$button.removeClass('hidden'); } else { _$button.addClass('hidden'); } } } } }, checkButtonActiveWhen: function checkButtonActiveWhen(activate_when) { if (activate_when.selector) { var previewDocument = api.previewer.preview ? api.previewer.preview.iframe[0].contentDocument : false; if (!previewDocument) { return false; } if (jQuery(previewDocument).find(activate_when.selector).length) { return true; } return false; } }, attachEvents: function attachEvents() {} }); /***/ }), /* 185 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var api = wp.customize, sectionConstructor = api.sectionConstructor, containerParent = 'colibri-main-section-content', containerPaneParent = 'colibri-main-section-pane-parent', $ = jQuery; $('form#customize-controls').append('\n<div id="colibri-customizer-main-section-content" >\n <div id="' + containerParent + '" class="wp-full-overlay-header"></div>\n</div>\n'); sectionConstructor['colibri_section'] = api.Section.extend({ initialize: function initialize() { var _this = this; this.containerParent = '#' + containerParent; this.containerPaneParent = '.' + containerPaneParent; this.$containerParent = $(this.containerParent); api.Section.prototype.initialize.apply(this, arguments); api.bind('colibri_sections_collapse', function () { _this._toggleExpanded(false, {}); }); if (this.params.hidden) { this.container.filter('li').addClass('colibri-section-hidden'); } }, active: function active() { api.Section.prototype.active.apply(this, arguments); var tab = this.currentTab || colibriCustomizer.settings.section_default_tab; setTimeout(function () { this.activateTabControls(tab); }, 50); }, colibri_openSectionCallback: function colibri_openSectionCallback(args) { var _this2 = this; var content = this.contentContainer, sectionTitle = this.headContainer.find('.accordion-section-title').first(), backBtn = content.find('.customize-section-back'); return $.proxy(function () { _this2._animateChangeExpanded(function () { sectionTitle.attr('tabindex', '-1'); backBtn.attr('tabindex', '0'); backBtn.focus(); content.css('top', ''); container.scrollTop(0); if (args.completeCallback) { args.completeCallback(); } }); content.addClass('open'); _this2.$containerParent.addClass('open'); }, this); }, colibri_animateChangeExpanded: function colibri_animateChangeExpanded(args) { var _this3 = this; var content = this.contentContainer, sectionTitle = this.headContainer.find('.accordion-section-title').first(), backBtn = content.find('.customize-section-back'); this._animateChangeExpanded(function () { backBtn.attr('tabindex', '-1'); sectionTitle.attr('tabindex', '0'); sectionTitle.focus(); if (args.completeCallback) { args.completeCallback(); } }, this); this.$containerParent.removeClass('open'); setTimeout(function () { _this3.container.removeClass('open'); }, 200); }, onChangeExpanded: function onChangeExpanded(expanded, args) { var _this4 = this; var content = this.contentContainer, expand = void 0, panel = void 0, $root = jQuery('.wp-full-overlay'); if (expanded) { $root.addClass('section-open'); jQuery('ul.customize-pane-parent').addClass('busy'); jQuery('#customize-info').addClass('busy'); this.$containerParent.addClass('open'); this.container.addClass('open'); var currentTab = colibriCustomizer.settings.section_default_tab; var currentTabHasControls = false; //check if default tab has controls, if not select the style tab this.controls().forEach(function (control) { //ignore plugin message control if (control.params.colibri_tab === currentTab && control.params.type !== 'colibri-plugin-message') { currentTabHasControls = true; } }); if (!currentTabHasControls) currentTab = colibriCustomizer.settings.style_tab; this.activateTabControls(currentTab); } else { $root.removeClass('section-open'); this.$containerParent.removeClass('open'); setTimeout(function () { _this4.container.removeClass('open'); }, 200); } this.container.removeClass('busy'); api.section.each(function (section) { if (section.params.type === 'colibri_section' && section.id !== _this4.id) { section.container.removeClass('open'); } }); if (expanded && !content.hasClass('open')) { if (args.unchanged) { expand = args.completeCallback; } else { expand = this.colibri_openSectionCallback(args); } if (this.panel()) { api.panel(this.panel()).expand({ duration: args.duration, completeCallback: expand }); } else { expand(); } } else { if (!expanded && content.hasClass('open')) { if (this.panel()) { panel = api.panel(this.panel()); if (panel.contentContainer.hasClass('skip-transition')) { this._toggleExpanded(false); } } this.colibri_animateChangeExpanded(args); } else { if (!args.allowMultiple) { api.section.each(function (otherSection) { if (otherSection !== _this4) { otherSection.collapse({ duration: args.duration }); } }); } if (args.completeCallback) { args.completeCallback(); } } } }, ready: function ready() { var _this5 = this; var $tabs = this.container.find('.tabs-nav .tab-item'); $tabs.on('click', function (event) { _this5.activateTabControls(jQuery(event.currentTarget).attr('data-tab-name')); }); }, attachEvents: function attachEvents() { var meta, content, section = this; if (section.container.hasClass('cannot-expand')) { return; } // Expand/Collapse accordion sections on click. section.container.find('.accordion-section-title, .customize-section-back').on('click keydown', function (event) { if (api.utils.isKeydownButNotEnterEvent(event)) { return; } event.preventDefault(); // Keep this AFTER the key filter above if (section.expanded()) { section._toggleExpanded(false); } else { section.expand(); } }); // This is very similar to what is found for api.Panel.attachEvents(). section.container.find('.customize-section-title .customize-help-toggle').on('click', function () { meta = section.container.find('.section-meta'); if (meta.hasClass('cannot-expand')) { return; } content = meta.find('.customize-section-description:first'); content.toggleClass('open'); content.slideToggle(section.defaultExpandedArguments.duration, function () { content.trigger('toggled'); }); $(this).attr('aria-expanded', function (i, attr) { return 'true' === attr ? 'false' : 'true'; }); }); }, activateTabControls: function activateTabControls(tab, callback) { var $tab = this.container.find('.tabs-nav .tab-item[data-tab-name="' + tab + '"]'); $tab.siblings().removeClass('active'); $tab.addClass('active'); this.currentTab = tab; this.controls().forEach(function (control) { var controlInOtherTab = control.params.colibri_tab !== tab; control.container.toggleClass('control-in-other-tab', controlInOtherTab); if (control.params.type === 'colibri-plugin-message') { control.container.attr('style', ''); return; } if (!controlInOtherTab) { if (control.active()) { if (control.container.css('display') === 'none') { control.container.css('display', 'list-item'); control.onChangeActive(true, { unchanged: false }); } } else { if (control.container.css('display') !== 'none') { control.container.css('display', 'none'); control.onChangeActive(false, { unchanged: false }); } } } }); if (_.isFunction(callback)) { callback.call(this); } }, collapse: function collapse(params) { // return this._toggleExpanded( false, params ); } }); /***/ }), /* 186 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var api = wp.customize, sectionConstructor = api.sectionConstructor, outerSection = sectionConstructor.outer; $ = jQuery; sectionConstructor['colibri_floating_section'] = outerSection.extend({ initialize: function initialize(id, options) { options = options || {}; this.onReadyCallback = options.ready; outerSection.prototype.initialize.apply(this, [id, options]); }, ready: function ready() { this.container.children('.section-meta').addClass('hidden'); if (_.isFunction(this.onReadyCallback)) { this.onReadyCallback.call(this); } }, toggle: function toggle() { this.expanded(!this.expanded()); }, show: function show() { this.expanded(true); }, hide: function hide() { this.expanded(false); } }); /***/ }), /* 187 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _translate = __webpack_require__(55); var _translate2 = _interopRequireDefault(_translate); var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); var _colibriEditorComponents = __webpack_require__(188); var _switchControl = __webpack_require__(344); var _switchControl2 = _interopRequireDefault(_switchControl); var _selectControl = __webpack_require__(345); var _selectControl2 = _interopRequireDefault(_selectControl); var _pluginMessageControl = __webpack_require__(346); var _pluginMessageControl2 = _interopRequireDefault(_pluginMessageControl); var _separatorControl = __webpack_require__(347); var _separatorControl2 = _interopRequireDefault(_separatorControl); var _linkedSelectControl = __webpack_require__(348); var _linkedSelectControl2 = _interopRequireDefault(_linkedSelectControl); var _selectIconControl = __webpack_require__(349); var _selectIconControl2 = _interopRequireDefault(_selectIconControl); var _buttonGroupControl = __webpack_require__(124); var _buttonGroupControl2 = _interopRequireDefault(_buttonGroupControl); var _alignButtonGroupControl = __webpack_require__(350); var _alignButtonGroupControl2 = _interopRequireDefault(_alignButtonGroupControl); var _buttonControl = __webpack_require__(351); var _buttonControl2 = _interopRequireDefault(_buttonControl); var _colorControl = __webpack_require__(352); var _colorControl2 = _interopRequireDefault(_colorControl); var _gradientControl = __webpack_require__(353); var _gradientControl2 = _interopRequireDefault(_gradientControl); var _repeaterControl = __webpack_require__(354); var _repeaterControl2 = _interopRequireDefault(_repeaterControl); var _composedControl = __webpack_require__(355); var _composedControl2 = _interopRequireDefault(_composedControl); var _sliderControl = __webpack_require__(356); var _sliderControl2 = _interopRequireDefault(_sliderControl); var _inputControl = __webpack_require__(357); var _inputControl2 = _interopRequireDefault(_inputControl); var _controlsGroupControl = __webpack_require__(358); var _controlsGroupControl2 = _interopRequireDefault(_controlsGroupControl); var _spacingControl = __webpack_require__(359); var _spacingControl2 = _interopRequireDefault(_spacingControl); var _iconControl = __webpack_require__(360); var _iconControl2 = _interopRequireDefault(_iconControl); var _elementUi = __webpack_require__(92); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } _vue2.default.component('select-with-icon', _colibriEditorComponents.SelectWithIcon); _vue2.default.component(_elementUi.Tooltip.name, _elementUi.Tooltip); _vue2.default.component(_elementUi.Popover.name, _elementUi.Popover); _vue2.default.component(_elementUi.Input.name, _elementUi.Input); _vue2.default.component(_elementUi.Collapse.name, _elementUi.Collapse); _vue2.default.component(_elementUi.CollapseItem.name, _elementUi.CollapseItem); _vue2.default.component(_elementUi.Button.name, _elementUi.Button); _vue2.default.component(_elementUi.Select.name, _elementUi.Select); _vue2.default.component(_elementUi.Option.name, _elementUi.Option); _vue2.default.component(_elementUi.Slider.name, _elementUi.Slider); _vue2.default.component(_elementUi.InputNumber.name, _elementUi.InputNumber); _vue2.default.component(_elementUi.RadioButton.name, _elementUi.RadioButton); _vue2.default.component(_elementUi.RadioGroup.name, _elementUi.RadioGroup); _vue2.default.component(_elementUi.Switch.name, _elementUi.Switch); _vue2.default.component(_elementUi.ColorPicker.name, _elementUi.ColorPicker); _vue2.default.component('colibri-group-control', _colibriEditorComponents.ColibriButtonGroup); _vue2.default.component('icon-picker', _colibriEditorComponents.IconPicker); // repeat controls _vue2.default.component('colibri-repeater-image', _colibriEditorComponents.MediaPicker); _vue2.default.component('colibri-repeater-icon', _colibriEditorComponents.IconPicker); _vue2.default.component('colibri-repeater-input', _elementUi.Input); _vue2.default.component('colibri-repeater-select', _colibriEditorComponents.ColibriSelect); _vue2.default.component('colibri-repeater-text', _colibriEditorComponents.ColibriText); // composed controls _vue2.default.component('colibri-composed-select', _colibriEditorComponents.ColibriSelect); _vue2.default.component('colibri-composed-text', _colibriEditorComponents.ColibriText); _vue2.default.component('colibri-composed-slider', _colibriEditorComponents.ColibriSlider); _vue2.default.component('colibri-composed-switch', _colibriEditorComponents.ColibriSwitch); _vue2.default.component('colibri-composed-color-picker', _colibriEditorComponents.ColibriColorPicker); _translate2.default.use(window.colibri_Customizer_Data.translations); var controlFocus = wp.customize.Control.prototype.focus; var colibriControlFocus = function colibriControlFocus(control, params, autofocus) { var focusContainer = void 0; var construct = control; var focusElement = void 0; var api = wp.customize; var completeCallback = void 0; params = params || {}; if ((construct.extended(api.Panel) || construct.extended(api.Section)) && construct.expanded && construct.expanded()) { focusContainer = construct.contentContainer; } else { focusContainer = construct.container; } focusElement = focusContainer.find('.control-focus:first'); if (0 === focusElement.length) { // Note that we can't use :focusable due to a jQuery UI issue. See: https://github.com/jquery/jquery-ui/pull/1583 focusElement = focusContainer.find('input, select, textarea, button, object, a[href], [tabindex]').filter(':visible').first(); } focusElement.focus(); // animate it a bit if (autofocus) { setTimeout(function () { focusContainer.addClass('colibri-control-focus'); setTimeout(function () { focusContainer.removeClass('colibri-control-focus'); }, 2050); }, 500); } if (params.completeCallback) { completeCallback = params.completeCallback; params.completeCallback = function () { focus(); completeCallback(); }; } else { params.completeCallback = function () {}; } api.state('paneVisible').set(true); params.completeCallback(); }; wp.customize.Control.prototype.focus = function (params, autofocus) { if (this.params.colibri_tab) { var tab = this.params.colibri_tab; var section = this.section(); var self = this; wp.customize.section(section).focus({ completeCallback: function completeCallback() { wp.customize.section(section).activateTabControls(tab, function () { colibriControlFocus(self, params, autofocus); }); } }); } else { controlFocus.call(this, params, autofocus); } }; // initialize vue controls; new _switchControl2.default(); new _selectControl2.default(); new _pluginMessageControl2.default(); new _separatorControl2.default(); new _linkedSelectControl2.default(); new _selectIconControl2.default(); new _buttonGroupControl2.default(); new _alignButtonGroupControl2.default(); new _colorControl2.default(); new _gradientControl2.default(); new _repeaterControl2.default(); new _composedControl2.default(); new _sliderControl2.default(); new _inputControl2.default(); new _controlsGroupControl2.default(); new _spacingControl2.default(); new _iconControl2.default(); new _buttonControl2.default(); /***/ }), /* 188 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SelectWithIcon = exports.Tooltip = exports.ColibriSwitch = exports.ColibriSlider = exports.ColibriText = exports.ColibriSelect = exports.IconPicker = exports.Slider = exports.MediaPicker = exports.ImagePicker = exports.ColibriColorPicker = exports.ColibriButtonGroup = undefined; var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); var _ColibriButtonGroup = __webpack_require__(189); var _ColibriButtonGroup2 = _interopRequireDefault(_ColibriButtonGroup); var _tooltip = __webpack_require__(248); var _tooltip2 = _interopRequireDefault(_tooltip); var _ImagePicker = __webpack_require__(251); var _ImagePicker2 = _interopRequireDefault(_ImagePicker); var _SelectWithIcon = __webpack_require__(261); var _SelectWithIcon2 = _interopRequireDefault(_SelectWithIcon); var _mediaPicker = __webpack_require__(266); var _mediaPicker2 = _interopRequireDefault(_mediaPicker); var _ColibriIcon = __webpack_require__(272); var _ColibriIcon2 = _interopRequireDefault(_ColibriIcon); var _Select = __webpack_require__(324); var _Select2 = _interopRequireDefault(_Select); var _ColibriText = __webpack_require__(329); var _ColibriText2 = _interopRequireDefault(_ColibriText); var _ColibriSlider = __webpack_require__(334); var _ColibriSlider2 = _interopRequireDefault(_ColibriSlider); var _ColibriSwitch = __webpack_require__(339); var _ColibriSwitch2 = _interopRequireDefault(_ColibriSwitch); var _elementUi = __webpack_require__(92); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } _vue2.default.component(_elementUi.Button.name, _elementUi.Button); _vue2.default.component(_elementUi.ButtonGroup.name, _elementUi.ButtonGroup); exports.ColibriButtonGroup = _ColibriButtonGroup2.default; exports.ColibriColorPicker = _elementUi.ColorPicker; exports.ImagePicker = _ImagePicker2.default; exports.MediaPicker = _mediaPicker2.default; exports.Slider = _elementUi.Slider; exports.IconPicker = _ColibriIcon2.default; exports.ColibriSelect = _Select2.default; exports.ColibriText = _ColibriText2.default; exports.ColibriSlider = _ColibriSlider2.default; exports.ColibriSwitch = _ColibriSwitch2.default; exports.Tooltip = _tooltip2.default; exports.SelectWithIcon = _SelectWithIcon2.default; /***/ }), /* 189 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false function injectStyle (ssrContext) { if (disposed) return __webpack_require__(190) } var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(193) /* template */ var __vue_template__ = __webpack_require__(247) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = null /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "assets/src/customizer/js/vue-components/ColibriButtonGroup.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-2a301a00", Component.options) } else { hotAPI.reload("data-v-2a301a00", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 190 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(191); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__(23)("58e1dd6c", content, false, {}); // Hot Module Replacement if(false) { // When the styles change, update the <style> tags if(!content.locals) { module.hot.accept("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-2a301a00\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../../node_modules/sass-loader/lib/loader.js!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ColibriButtonGroup.vue", function() { var newContent = require("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-2a301a00\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../../node_modules/sass-loader/lib/loader.js!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ColibriButtonGroup.vue"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent); }); } // When the module is disposed, remove the <style> tags module.hot.dispose(function() { update(); }); } /***/ }), /* 191 */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // imports // module exports.push([module.i, "\n.colibri-select-buttons-container {\n width: 100%;\n}\n", ""]); // exports /***/ }), /* 192 */ /***/ (function(module, exports) { /** * Translates the list format produced by css-loader into something * easier to manipulate. */ module.exports = function listToStyles (parentId, list) { var styles = [] var newStyles = {} for (var i = 0; i < list.length; i++) { var item = list[i] var id = item[0] var css = item[1] var media = item[2] var sourceMap = item[3] var part = { id: parentId + ':' + i, css: css, media: media, sourceMap: sourceMap } if (!newStyles[id]) { styles.push(newStyles[id] = { id: id, parts: [part] }) } else { newStyles[id].parts.push(part) } } return styles } /***/ }), /* 193 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); __webpack_require__(194); var _SidebarSelectButton = __webpack_require__(244); var _SidebarSelectButton2 = _interopRequireDefault(_SidebarSelectButton); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } // // // // // // // // // // // // // // // // // // // // // // // // exports.default = { name: 'SelectControl', components: { SidebarSelectButton: _SidebarSelectButton2.default }, mixins: [], model: { event: 'change' }, props: { items: { type: Array, default: function _default() { return []; } }, value: { type: [String, Number], default: '' }, size: { type: String, default: '' }, disabled: { type: Boolean, default: false }, optionsType: { type: String, default: 'string' }, iconSize: { type: [String, Number], default: '14' } }, computed: { hasDefaultSlot: function hasDefaultSlot() { return !!this.$slots.default; } }, methods: { itemIsDisabled: function itemIsDisabled(item) { return this.disabled; }, buttonIsSelected: function buttonIsSelected(buttonValue) { return this.value === buttonValue; }, getButtonClasses: function getButtonClasses(buttonValue) { var classes = ['h-col', 'sidebar-select-button']; return classes; }, handleButtonClicked: function handleButtonClicked(item) { var newValue = item.value; if (this.disabled || newValue === this.value) { return; } this.$emit('change', newValue); } } }; /***/ }), /* 194 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ __webpack_require__(195); __webpack_require__(196); __webpack_require__(197); __webpack_require__(198); __webpack_require__(199); __webpack_require__(200); __webpack_require__(201); __webpack_require__(202); __webpack_require__(203); __webpack_require__(204); __webpack_require__(205); __webpack_require__(206); __webpack_require__(207); __webpack_require__(208); __webpack_require__(209); __webpack_require__(210); __webpack_require__(211); __webpack_require__(212); __webpack_require__(213); __webpack_require__(214); __webpack_require__(215); __webpack_require__(216); __webpack_require__(217); __webpack_require__(218); __webpack_require__(219); __webpack_require__(220); __webpack_require__(221); __webpack_require__(222); __webpack_require__(223); __webpack_require__(224); __webpack_require__(225); __webpack_require__(226); __webpack_require__(227); __webpack_require__(228); __webpack_require__(229); __webpack_require__(230); __webpack_require__(231); __webpack_require__(232); __webpack_require__(233); __webpack_require__(234); __webpack_require__(235); __webpack_require__(236); __webpack_require__(237); __webpack_require__(238); __webpack_require__(239); __webpack_require__(240); __webpack_require__(241); __webpack_require__(242); __webpack_require__(243); /***/ }), /* 195 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/align-center': { width: 16, height: 16, viewBox: '0 0 448 512', data: '<path pid="0" d="M352 44v40c0 8.837-7.163 16-16 16H112c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h224c8.837 0 16 7.163 16 16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm320-200H112c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"/>' } }); /***/ }), /* 196 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/align-justify': { width: 16, height: 16, viewBox: '0 0 448 512', data: '<path pid="0" d="M0 84V44c0-8.837 7.163-16 16-16h416c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16zm16 144h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0-128h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"/>' } }); /***/ }), /* 197 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/align-left': { width: 16, height: 16, viewBox: '0 0 448 512', data: '<path pid="0" d="M288 44v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16zM0 172v40c0 8.837 7.163 16 16 16h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16zm16 312h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm256-200H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"/>' } }); /***/ }), /* 198 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/align-right': { width: 16, height: 16, viewBox: '0 0 448 512', data: '<path pid="0" d="M160 84V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H176c-8.837 0-16-7.163-16-16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm160-128h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H176c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"/>' } }); /***/ }), /* 199 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/angle-left': { width: 16, height: 16, viewBox: '0 0 256 512', data: '<path pid="0" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"/>' } }); /***/ }), /* 200 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/arrow-left': { width: 16, height: 16, viewBox: '0 0 448 512', data: '<path pid="0" d="M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"/>' } }); /***/ }), /* 201 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/arrows-alt': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"/>' } }); /***/ }), /* 202 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/barcode-solid': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" _fill="currentColor" d="M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"/>' } }); /***/ }), /* 203 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/bars': { width: 16, height: 16, viewBox: '0 0 448 512', data: '<path pid="0" d="M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"/>' } }); /***/ }), /* 204 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/calendar': { width: 16, height: 16, viewBox: '0 0 1672.2646 1896.0833', data: '<path pid="0" d="M128 1664h288v-288H128v288zm352 0h320v-288H480v288zm-352-352h288V992H128v320zm352 0h320V992H480v320zM128 928h288V640H128v288zm736 736h320v-288H864v288zM480 928h320V640H480v288zm768 736h288v-288h-288v288zm-384-352h320V992H864v320zM512 448V160q0-13-9.5-22.5T480 128h-64q-13 0-22.5 9.5T384 160v288q0 13 9.5 22.5T416 480h64q13 0 22.5-9.5T512 448zm736 864h288V992h-288v320zM864 928h320V640H864v288zm384 0h288V640h-288v288zm32-480V160q0-13-9.5-22.5T1248 128h-64q-13 0-22.5 9.5T1152 160v288q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5-9.5t9.5-22.5zm384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90z"/>' } }); /***/ }), /* 205 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/caret-down-solid': { width: 16, height: 16, viewBox: '0 0 320 512', data: '<path pid="0" _fill="currentColor" d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"/>' } }); /***/ }), /* 206 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/caret-right-solid': { width: 16, height: 16, viewBox: '0 0 192 512', data: '<path pid="0" _fill="currentColor" d="M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"/>' } }); /***/ }), /* 207 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/circle': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"/>' } }); /***/ }), /* 208 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/clock-o': { width: 16, height: 16, viewBox: '0 0 1536 1896.0833', data: '<path pid="0" d="M896 544v448q0 14-9 23t-23 9H544q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h224V544q0-14 9-23t23-9h64q14 0 23 9t9 23zm416 352q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5T1153.5 1561 768 1664t-385.5-103T103 1281.5 0 896t103-385.5T382.5 231 768 128t385.5 103T1433 510.5 1536 896z"/>' } }); /***/ }), /* 209 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/clone': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z"/>' } }); /***/ }), /* 210 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/cog': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M444.788 291.1l42.616 24.599c4.867 2.809 7.126 8.618 5.459 13.985-11.07 35.642-29.97 67.842-54.689 94.586a12.016 12.016 0 0 1-14.832 2.254l-42.584-24.595a191.577 191.577 0 0 1-60.759 35.13v49.182a12.01 12.01 0 0 1-9.377 11.718c-34.956 7.85-72.499 8.256-109.219.007-5.49-1.233-9.403-6.096-9.403-11.723v-49.184a191.555 191.555 0 0 1-60.759-35.13l-42.584 24.595a12.016 12.016 0 0 1-14.832-2.254c-24.718-26.744-43.619-58.944-54.689-94.586-1.667-5.366.592-11.175 5.459-13.985L67.212 291.1a193.48 193.48 0 0 1 0-70.199l-42.616-24.599c-4.867-2.809-7.126-8.618-5.459-13.985 11.07-35.642 29.97-67.842 54.689-94.586a12.016 12.016 0 0 1 14.832-2.254l42.584 24.595a191.577 191.577 0 0 1 60.759-35.13V25.759a12.01 12.01 0 0 1 9.377-11.718c34.956-7.85 72.499-8.256 109.219-.007 5.49 1.233 9.403 6.096 9.403 11.723v49.184a191.555 191.555 0 0 1 60.759 35.13l42.584-24.595a12.016 12.016 0 0 1 14.832 2.254c24.718 26.744 43.619 58.944 54.689 94.586 1.667 5.366-.592 11.175-5.459 13.985L444.788 220.9a193.485 193.485 0 0 1 0 70.2zM336 256c0-44.112-35.888-80-80-80s-80 35.888-80 80 35.888 80 80 80 80-35.888 80-80z"/>' } }); /***/ }), /* 211 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/cogs': { width: 16, height: 16, viewBox: '0 0 640 512', data: '<path pid="0" d="M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z"/>' } }); /***/ }), /* 212 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/columns': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64V160h160v256zm224 0H288V160h160v256z"/>' } }); /***/ }), /* 213 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/comment': { width: 16, height: 16, viewBox: '0 0 1792 1896.0833', data: '<path pid="0" d="M1792 896q0 174-120 321.5t-326 233-450 85.5q-70 0-145-8-198 175-460 242-49 14-114 22-17 2-30.5-9t-17.5-29v-1q-3-4-.5-12t2-10 4.5-9.5l6-9 7-8.5 8-9q7-8 31-34.5t34.5-38 31-39.5 32.5-51 27-59 26-76q-157-89-247.5-220T0 896q0-130 71-248.5T262 443t286-136.5T896 256q244 0 450 85.5t326 233T1792 896z"/>' } }); /***/ }), /* 214 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/ellipsis-h-solid': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" _fill="currentColor" d="M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"/>' } }); /***/ }), /* 215 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/ellipsis-v-solid': { width: 16, height: 16, viewBox: '0 0 192 512', data: '<path pid="0" _fill="currentColor" d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"/>' } }); /***/ }), /* 216 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/exchange-alt': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M0 168v-16c0-13.255 10.745-24 24-24h360V80c0-21.367 25.899-32.042 40.971-16.971l80 80c9.372 9.373 9.372 24.569 0 33.941l-80 80C409.956 271.982 384 261.456 384 240v-48H24c-13.255 0-24-10.745-24-24zm488 152H128v-48c0-21.314-25.862-32.08-40.971-16.971l-80 80c-9.372 9.373-9.372 24.569 0 33.941l80 80C102.057 463.997 128 453.437 128 432v-48h360c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24z"/>' } }); /***/ }), /* 217 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/exclamation-circle-solid': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" _fill="currentColor" d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"/>' } }); /***/ }), /* 218 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/file-regular': { width: 16, height: 16, viewBox: '0 0 384 512', data: '<path pid="0" _fill="currentColor" d="M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"/>' } }); /***/ }), /* 219 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/file-solid': { width: 16, height: 16, viewBox: '0 0 384 512', data: '<path pid="0" _fill="currentColor" d="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm160-14.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"/>' } }); /***/ }), /* 220 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/font': { width: 16, height: 16, viewBox: '0 0 448 512', data: '<path pid="0" d="M152 416h-24.013l26.586-80.782H292.8L319.386 416H296c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h136c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16h-26.739L275.495 42.746A16 16 0 0 0 260.382 32h-72.766a16 16 0 0 0-15.113 10.746L42.739 416H16c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h136c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm64.353-271.778c4.348-15.216 6.61-28.156 7.586-34.644.839 6.521 2.939 19.476 7.727 34.706l41.335 124.006h-98.619l41.971-124.068z"/>' } }); /***/ }), /* 221 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/gears': { width: 16, height: 16, viewBox: '0 0 1920 1896.0833', data: '<path pid="0" d="M896 896q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm768 512q0-52-38-90t-90-38-90 38-38 90q0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm0-1024q0-52-38-90t-90-38-90 38-38 90q0 53 37.5 90.5T1536 512t90.5-37.5T1664 384zm-384 421v185q0 10-7 19.5t-16 10.5l-155 24q-11 35-32 76 34 48 90 115 7 11 7 20 0 12-7 19-23 30-82.5 89.5T999 1423q-11 0-21-7l-115-90q-37 19-77 31-11 108-23 155-7 24-30 24H547q-11 0-20-7.5t-10-17.5l-23-153q-34-10-75-31l-118 89q-7 7-20 7-11 0-21-8-144-133-144-160 0-9 7-19 10-14 41-53t47-61q-23-44-35-82l-152-24q-10-1-17-9.5T0 987V802q0-10 7-19.5T23 772l155-24q11-35 32-76-34-48-90-115-7-11-7-20 0-12 7-20 22-30 82-89t79-59q11 0 21 7l115 90q34-18 77-32 11-108 23-154 7-24 30-24h186q11 0 20 7.5t10 17.5l23 153q34 10 75 31l118-89q8-7 20-7 11 0 21 8 144 133 144 160 0 8-7 19-12 16-42 54t-45 60q23 48 34 82l152 23q10 2 17 10.5t7 19.5zm640 533v140q0 16-149 31-12 27-30 52 51 113 51 138 0 4-4 7-122 71-124 71-8 0-46-47t-52-68q-20 2-30 2t-30-2q-14 21-52 68t-46 47q-2 0-124-71-4-3-4-7 0-25 51-138-18-25-30-52-149-15-149-31v-140q0-16 149-31 13-29 30-52-51-113-51-138 0-4 4-7 4-2 35-20t59-34 30-16q8 0 46 46.5t52 67.5q20-2 30-2t30 2q51-71 92-112l6-2q4 0 124 70 4 3 4 7 0 25-51 138 17 23 30 52 149 15 149 31zm0-1024v140q0 16-149 31-12 27-30 52 51 113 51 138 0 4-4 7-122 71-124 71-8 0-46-47t-52-68q-20 2-30 2t-30-2q-14 21-52 68t-46 47q-2 0-124-71-4-3-4-7 0-25 51-138-18-25-30-52-149-15-149-31V314q0-16 149-31 13-29 30-52-51-113-51-138 0-4 4-7 4-2 35-20t59-34 30-16q8 0 46 46.5t52 67.5q20-2 30-2t30 2q51-71 92-112l6-2q4 0 124 70 4 3 4 7 0 25-51 138 17 23 30 52 149 15 149 31z"/>' } }); /***/ }), /* 222 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/grip-vertical': { width: 16, height: 16, viewBox: '0 0 320 512', data: '<path pid="0" _fill="currentColor" d="M96 32H32C14.33 32 0 46.33 0 64v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zM288 32h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z"/>' } }); /***/ }), /* 223 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/hand-pointer': { width: 16, height: 16, viewBox: '0 0 448 512', data: '<path pid="0" d="M448 240v96c0 3.084-.356 6.159-1.063 9.162l-32 136C410.686 499.23 394.562 512 376 512H168a40.004 40.004 0 0 1-32.35-16.473l-127.997-176c-12.993-17.866-9.043-42.883 8.822-55.876 17.867-12.994 42.884-9.043 55.877 8.823L104 315.992V40c0-22.091 17.908-40 40-40s40 17.909 40 40v200h8v-40c0-22.091 17.908-40 40-40s40 17.909 40 40v40h8v-24c0-22.091 17.908-40 40-40s40 17.909 40 40v24h8c0-22.091 17.908-40 40-40s40 17.909 40 40zm-256 80h-8v96h8v-96zm88 0h-8v96h8v-96zm88 0h-8v96h8v-96z"/>' } }); /***/ }), /* 224 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/heading': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M496 80V48c0-8.837-7.163-16-16-16H320c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h37.621v128H154.379V96H192c8.837 0 16-7.163 16-16V48c0-8.837-7.163-16-16-16H32c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h37.275v320H32c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h160c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16h-37.621V288H357.62v128H320c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h160c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16h-37.275V96H480c8.837 0 16-7.163 16-16z"/>' } }); /***/ }), /* 225 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/image': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"/>' } }); /***/ }), /* 226 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/images': { width: 16, height: 16, viewBox: '0 0 576 512', data: '<path pid="0" d="M480 416v16c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v208c0 44.112 35.888 80 80 80h336zm96-80V80c0-26.51-21.49-48-48-48H144c-26.51 0-48 21.49-48 48v256c0 26.51 21.49 48 48 48h384c26.51 0 48-21.49 48-48zM256 128c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-96 144l55.515-55.515c4.686-4.686 12.284-4.686 16.971 0L272 256l135.515-135.515c4.686-4.686 12.284-4.686 16.971 0L512 208v112H160v-48z"/>' } }); /***/ }), /* 227 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/link-symbol': { width: 457.03, height: 457.03, viewBox: '0 0 457.03 457.03', data: '<path pid="0" d="M421.512 207.074l-85.795 85.767c-47.352 47.38-124.169 47.38-171.529 0-7.46-7.439-13.296-15.821-18.421-24.465l39.864-39.861c1.895-1.911 4.235-3.006 6.471-4.296 2.756 9.416 7.567 18.33 14.972 25.736 23.648 23.667 62.128 23.634 85.762 0l85.768-85.765c23.666-23.664 23.666-62.135 0-85.781-23.635-23.646-62.105-23.646-85.768 0l-30.499 30.532c-24.75-9.637-51.415-12.228-77.373-8.424l64.991-64.989c47.38-47.371 124.177-47.371 171.557 0 47.357 47.369 47.357 124.178 0 171.546zm-226.804 141.03l-30.521 30.532c-23.646 23.634-62.128 23.634-85.778 0-23.648-23.667-23.648-62.138 0-85.795l85.778-85.767c23.665-23.662 62.121-23.662 85.767 0 7.388 7.39 12.204 16.302 14.986 25.706 2.249-1.307 4.56-2.369 6.454-4.266l39.861-39.845c-5.092-8.678-10.958-17.03-18.421-24.477-47.348-47.371-124.172-47.371-171.543 0L35.526 249.96c-47.366 47.385-47.366 124.172 0 171.553 47.371 47.356 124.177 47.356 171.547 0l65.008-65.003c-25.972 3.826-52.644 1.213-77.373-8.406z"/>' } }); /***/ }), /* 228 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/magic': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M101.1 505L7 410.9c-9.4-9.4-9.4-24.6 0-33.9L377 7c9.4-9.4 24.6-9.4 33.9 0l94.1 94.1c9.4 9.4 9.4 24.6 0 33.9L135 505c-9.3 9.3-24.5 9.3-33.9 0zM304 159.2l48.8 48.8 89.9-89.9-48.8-48.8-89.9 89.9zM138.9 39.3l-11.7 23.8-26.2 3.8c-4.7.7-6.6 6.5-3.2 9.8l19 18.5-4.5 26.1c-.8 4.7 4.1 8.3 8.3 6.1L144 115l23.4 12.3c4.2 2.2 9.1-1.4 8.3-6.1l-4.5-26.1 19-18.5c3.4-3.3 1.5-9.1-3.2-9.8L160.8 63l-11.7-23.8c-2-4.1-8.1-4.1-10.2.1zm97.7-20.7l-7.8 15.8-17.5 2.6c-3.1.5-4.4 4.3-2.1 6.5l12.6 12.3-3 17.4c-.5 3.1 2.8 5.5 5.6 4L240 69l15.6 8.2c2.8 1.5 6.1-.9 5.6-4l-3-17.4 12.6-12.3c2.3-2.2 1-6.1-2.1-6.5l-17.5-2.5-7.8-15.8c-1.4-3-5.4-3-6.8-.1zm-192 0l-7.8 15.8L19.3 37c-3.1.5-4.4 4.3-2.1 6.5l12.6 12.3-3 17.4c-.5 3.1 2.8 5.5 5.6 4L48 69l15.6 8.2c2.8 1.5 6.1-.9 5.6-4l-3-17.4 12.6-12.3c2.3-2.2 1-6.1-2.1-6.5l-17.5-2.5-7.8-15.8c-1.4-3-5.4-3-6.8-.1zm416 223.5l-7.8 15.8-17.5 2.5c-3.1.5-4.4 4.3-2.1 6.5l12.6 12.3-3 17.4c-.5 3.1 2.8 5.5 5.6 4l15.6-8.2 15.6 8.2c2.8 1.5 6.1-.9 5.6-4l-3-17.4 12.6-12.3c2.3-2.2 1-6.1-2.1-6.5l-17.5-2.5-7.8-15.8c-1.4-2.8-5.4-2.8-6.8 0z"/>' } }); /***/ }), /* 229 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/map': { width: 16, height: 16, viewBox: '0 0 576 512', data: '<path pid="0" d="M576 56.015v335.97a23.998 23.998 0 0 1-13.267 21.466l-128 64C418.948 485.344 400 473.992 400 455.985v-335.97a23.998 23.998 0 0 1 13.267-21.466l128-64C557.052 26.656 576 38.008 576 56.015zm-206.253 42.07l-144-64c-15.751-7-33.747 4.461-33.747 21.932v335.967a24 24 0 0 0 14.253 21.931l144 64c15.751 7 33.747-4.461 33.747-21.931V120.017a24 24 0 0 0-14.253-21.932zm-228.48-63.536l-128 63.985A23.998 23.998 0 0 0 0 120v335.985c0 18.007 18.948 29.359 34.733 21.466l128-63.985A23.998 23.998 0 0 0 176 392V56.015c0-18.007-18.948-29.359-34.733-21.466z"/>' } }); /***/ }), /* 230 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/minus': { width: 16, height: 16, viewBox: '0 0 448 512', data: '<path pid="0" d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"/>' } }); /***/ }), /* 231 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/paint-brush': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M269.9 364.6c1.4 6.4 2.1 13 2.1 19.7 0 81.2-54.2 127.7-134.8 127.7C41.5 512 0 435.1 0 347.6c10.4 7.1 46.9 36.5 58.7 36.5 7 0 13-4 15.5-10.6 23.6-62.2 66.5-76.5 112.9-77.4 15.6 33.8 46.1 59.6 82.8 68.5zM460.6 0c-14.4 0-27.9 6.4-38.2 15.7C228.2 190 208 194.1 208 245.4c0 48.8 40.5 90.6 90.2 90.6 59 0 93.2-43.4 200.6-244.8 7-13.7 13.2-28.5 13.2-43.9C512 19.7 487.3 0 460.6 0z"/>' } }); /***/ }), /* 232 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/pencil-alt': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"/>' } }); /***/ }), /* 233 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/pencil': { width: 16, height: 16, viewBox: '0 0 1536 1896.0833', data: '<path pid="0" d="M363 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832H0v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/>' } }); /***/ }), /* 234 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/plus-circle': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"/>' } }); /***/ }), /* 235 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/plus': { width: 16, height: 16, viewBox: '0 0 448 512', data: '<path pid="0" d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"/>' } }); /***/ }), /* 236 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/question-circle-solid': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" _fill="currentColor" d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"/>' } }); /***/ }), /* 237 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/redo-alt-solid': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" _fill="currentColor" d="M256.455 8c66.269.119 126.437 26.233 170.859 68.685l35.715-35.715C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.75c-30.864-28.899-70.801-44.907-113.23-45.273-92.398-.798-170.283 73.977-169.484 169.442C88.764 348.009 162.184 424 256 424c41.127 0 79.997-14.678 110.629-41.556 4.743-4.161 11.906-3.908 16.368.553l39.662 39.662c4.872 4.872 4.631 12.815-.482 17.433C378.202 479.813 319.926 504 256 504 119.034 504 8.001 392.967 8 256.002 7.999 119.193 119.646 7.755 256.455 8z"/>' } }); /***/ }), /* 238 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/spinner-solid': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" _fill="currentColor" d="M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"/>' } }); /***/ }), /* 239 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/th-large': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M296 32h192c13.255 0 24 10.745 24 24v160c0 13.255-10.745 24-24 24H296c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24zm-80 0H24C10.745 32 0 42.745 0 56v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zM0 296v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm296 184h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H296c-13.255 0-24 10.745-24 24v160c0 13.255 10.745 24 24 24z"/>' } }); /***/ }), /* 240 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/times-circle': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"/>' } }); /***/ }), /* 241 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/undo-alt-solid': { width: 16, height: 16, viewBox: '0 0 512 512', data: '<path pid="0" _fill="currentColor" d="M255.545 8c-66.269.119-126.438 26.233-170.86 68.685L48.971 40.971C33.851 25.851 8 36.559 8 57.941V192c0 13.255 10.745 24 24 24h134.059c21.382 0 32.09-25.851 16.971-40.971l-41.75-41.75c30.864-28.899 70.801-44.907 113.23-45.273 92.398-.798 170.283 73.977 169.484 169.442C423.236 348.009 349.816 424 256 424c-41.127 0-79.997-14.678-110.63-41.556-4.743-4.161-11.906-3.908-16.368.553L89.34 422.659c-4.872 4.872-4.631 12.815.482 17.433C133.798 479.813 192.074 504 256 504c136.966 0 247.999-111.033 248-247.998C504.001 119.193 392.354 7.755 255.545 8z"/>' } }); /***/ }), /* 242 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/user': { width: 16, height: 16, viewBox: '0 0 1354.8114 1896.0833', data: '<path pid="0" d="M1280 1399q0 109-62.5 187t-150.5 78H213q-88 0-150.5-78T0 1399q0-85 8.5-160.5t31.5-152 58.5-131 94-89T327 832q131 128 313 128t313-128q76 0 134.5 34.5t94 89 58.5 131 31.5 152 8.5 160.5zm-256-887q0 159-112.5 271.5T640 896 368.5 783.5 256 512t112.5-271.5T640 128t271.5 112.5T1024 512z"/>' } }); /***/ }), /* 243 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable */ var icon = __webpack_require__(0); icon.register({ 'font-awesome/video': { width: 16, height: 16, viewBox: '0 0 576 512', data: '<path pid="0" d="M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z"/>' } }); /***/ }), /* 244 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(245) /* template */ var __vue_template__ = __webpack_require__(246) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = null /* scopeId */ var __vue_scopeId__ = null /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "colibri-editor/src/components/controls/SidebarSelectButton.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-594f4270", Component.options) } else { hotAPI.reload("data-v-594f4270", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 245 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // // // // // // // // exports.default = { name: 'SidebarSelectButton', props: { disabled: { type: Boolean, default: false }, isSelected: { type: Boolean, default: false }, grayDisable: { type: Boolean, default: false } }, computed: { classes: function classes() { var classes = ['sidebar-select-button']; if (this.isSelected) { classes.push('is-selected'); } if (this.grayDisable) { classes.push('use-gray-disable'); } else { classes.push('use-opacity-disable'); } return classes; } } }; /***/ }), /* 246 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "el-button", { class: _vm.classes, attrs: { disabled: _vm.disabled }, on: { click: function($event) { return _vm.$emit("click", $event) } } }, [_vm._t("default")], 2 ) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-594f4270", module.exports) } } /***/ }), /* 247 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "el-button-group", { staticClass: "colibri-select-buttons-container" }, [ _c( "div", { staticClass: "h-row no-gutters" }, _vm._l(_vm.items, function(item) { return _c( "sidebar-select-button", { key: item.value, ref: item.value, refInFor: true, staticClass: "h-col", attrs: { "is-selected": _vm.buttonIsSelected(item.value), title: item.label }, on: { click: function($event) { return _vm.handleButtonClicked(item) } } }, [ _vm.optionsType === "string" ? _c("span", [ _vm._v("\n " + _vm._s(item.label) + "\n ") ]) : _vm._e(), _vm._v(" "), _vm.optionsType === "svg" ? _c("svgicon", { attrs: { height: _vm.iconSize, name: item.iconPath, width: _vm.iconSize } }) : _vm._e() ], 1 ) }), 1 ) ] ) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-2a301a00", module.exports) } } /***/ }), /* 248 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _jquery = __webpack_require__(110); var _jquery2 = _interopRequireDefault(_jquery); var _popper = __webpack_require__(249); var _popper2 = _interopRequireDefault(_popper); var _util = __webpack_require__(250); var _util2 = _interopRequireDefault(_util); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /** * -------------------------------------------------------------------------- * Bootstrap (v4.0.0): tooltip.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ var Tooltip = function ($) { /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ */ var NAME = 'tooltip'; var VERSION = '4.0.0'; var DATA_KEY = 'bs.tooltip'; var EVENT_KEY = '.' + DATA_KEY; var JQUERY_NO_CONFLICT = $.fn[NAME]; var TRANSITION_DURATION = 150; var CLASS_PREFIX = 'bs-tooltip'; var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g'); var DefaultType = { animation: 'boolean', template: 'string', title: '(string|element|function)', trigger: 'string', delay: '(number|object)', html: 'boolean', selector: '(string|boolean)', placement: '(string|function)', offset: '(number|string)', container: '(string|element|boolean)', fallbackPlacement: '(string|array)', boundary: '(string|element)' }; var AttachmentMap = { AUTO: 'auto', TOP: 'top', RIGHT: 'right', BOTTOM: 'bottom', LEFT: 'left' }; var Default = { animation: true, template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>', trigger: 'hover focus', title: '', delay: 0, html: false, selector: false, placement: 'top', offset: 0, container: false, fallbackPlacement: 'flip', boundary: 'scrollParent' }; var HoverState = { SHOW: 'show', OUT: 'out' }; var Event = { HIDE: 'hide' + EVENT_KEY, HIDDEN: 'hidden' + EVENT_KEY, SHOW: 'show' + EVENT_KEY, SHOWN: 'shown' + EVENT_KEY, INSERTED: 'inserted' + EVENT_KEY, CLICK: 'click' + EVENT_KEY, FOCUSIN: 'focusin' + EVENT_KEY, FOCUSOUT: 'focusout' + EVENT_KEY, MOUSEENTER: 'mouseenter' + EVENT_KEY, MOUSELEAVE: 'mouseleave' + EVENT_KEY }; var ClassName = { FADE: 'fade', SHOW: 'show' }; var Selector = { TOOLTIP: '.tooltip', TOOLTIP_INNER: '.tooltip-inner', ARROW: '.arrow' }; var Trigger = { HOVER: 'hover', FOCUS: 'focus', CLICK: 'click', MANUAL: 'manual' }; /** * ------------------------------------------------------------------------ * Class Definition * ------------------------------------------------------------------------ */ var Tooltip = function () { function Tooltip(element, config) { _classCallCheck(this, Tooltip); /** * Check for Popper dependency * Popper - https://popper.js.org */ if (typeof _popper2.default === 'undefined') { throw new TypeError('Bootstrap tooltips require Popper.js (https://popper.js.org)'); } // private this._isEnabled = true; this._timeout = 0; this._hoverState = ''; this._activeTrigger = {}; this._popper = null; // Protected this.element = element; this.config = this._getConfig(config); this.tip = null; this._setListeners(); } // Getters _createClass(Tooltip, [{ key: 'enable', value: function enable() { this._isEnabled = true; } }, { key: 'disable', value: function disable() { this._isEnabled = false; } }, { key: 'toggleEnabled', value: function toggleEnabled() { this._isEnabled = !this._isEnabled; } }, { key: 'toggle', value: function toggle(event) { if (!this._isEnabled) { return; } if (event) { var dataKey = this.constructor.DATA_KEY; var context = $(event.currentTarget).data(dataKey); if (!context) { context = new this.constructor(event.currentTarget, this._getDelegateConfig()); $(event.currentTarget).data(dataKey, context); } context._activeTrigger.click = !context._activeTrigger.click; if (context._isWithActiveTrigger()) { context._enter(null, context); } else { context._leave(null, context); } } else { if ($(this.getTipElement()).hasClass(ClassName.SHOW)) { this._leave(null, this); return; } this._enter(null, this); } } }, { key: 'dispose', value: function dispose() { clearTimeout(this._timeout); $.removeData(this.element, this.constructor.DATA_KEY); $(this.element).off(this.constructor.EVENT_KEY); $(this.element).closest('.modal').off('hide.bs.modal'); if (this.tip) { $(this.tip).remove(); } this._isEnabled = null; this._timeout = null; this._hoverState = null; this._activeTrigger = null; if (this._popper !== null) { this._popper.destroy(); } this._popper = null; this.element = null; this.config = null; this.tip = null; } }, { key: 'show', value: function show() { var _this = this; if ($(this.element).css('display') === 'none') { throw new Error('Please use show on visible elements'); } var showEvent = $.Event(this.constructor.Event.SHOW); if (this.isWithContent() && this._isEnabled) { $(this.element).trigger(showEvent); var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element); if (showEvent.isDefaultPrevented() || !isInTheDom) { return; } var tip = this.getTipElement(); var tipId = _util2.default.getUID(this.constructor.NAME); tip.setAttribute('id', tipId); this.element.setAttribute('aria-describedby', tipId); this.setContent(); if (this.config.animation) { $(tip).addClass(ClassName.FADE); } var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement; var attachment = this._getAttachment(placement); this.addAttachmentClass(attachment); var container = this.config.container === false ? document.body : $(this.config.container); $(tip).data(this.constructor.DATA_KEY, this); if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) { $(tip).appendTo(container); } $(this.element).trigger(this.constructor.Event.INSERTED); this._popper = new _popper2.default(this.element, tip, { placement: attachment, modifiers: { offset: { offset: this.config.offset }, flip: { behavior: this.config.fallbackPlacement }, arrow: { element: Selector.ARROW }, preventOverflow: { boundariesElement: this.config.boundary } }, onCreate: function onCreate(data) { if (data.originalPlacement !== data.placement) { _this._handlePopperPlacementChange(data); } }, onUpdate: function onUpdate(data) { _this._handlePopperPlacementChange(data); } }); $(tip).addClass(ClassName.SHOW); // If this is a touch-enabled device we add extra // empty mouseover listeners to the body's immediate children; // only needed because of broken event delegation on iOS // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html if ('ontouchstart' in document.documentElement) { $('body').children().on('mouseover', null, $.noop); } var complete = function complete() { if (_this.config.animation) { _this._fixTransition(); } var prevHoverState = _this._hoverState; _this._hoverState = null; $(_this.element).trigger(_this.constructor.Event.SHOWN); if (prevHoverState === HoverState.OUT) { _this._leave(null, _this); } }; if (_util2.default.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) { $(this.tip).one(_util2.default.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION); } else { complete(); } } } }, { key: 'hide', value: function hide(callback) { var _this2 = this; var tip = this.getTipElement(); var hideEvent = $.Event(this.constructor.Event.HIDE); var complete = function complete() { if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) { tip.parentNode.removeChild(tip); } _this2._cleanTipClass(); _this2.element.removeAttribute('aria-describedby'); $(_this2.element).trigger(_this2.constructor.Event.HIDDEN); if (_this2._popper !== null) { _this2._popper.destroy(); } if (callback) { callback(); } }; $(this.element).trigger(hideEvent); if (hideEvent.isDefaultPrevented()) { return; } $(tip).removeClass(ClassName.SHOW); // If this is a touch-enabled device we remove the extra // empty mouseover listeners we added for iOS support if ('ontouchstart' in document.documentElement) { $('body').children().off('mouseover', null, $.noop); } this._activeTrigger[Trigger.CLICK] = false; this._activeTrigger[Trigger.FOCUS] = false; this._activeTrigger[Trigger.HOVER] = false; if (_util2.default.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) { $(tip).one(_util2.default.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); } else { complete(); } this._hoverState = ''; } // Protected }, { key: 'update', value: function update() { if (this._popper !== null) { this._popper.scheduleUpdate(); } } }, { key: 'isWithContent', value: function isWithContent() { return Boolean(this.getTitle()); } }, { key: 'addAttachmentClass', value: function addAttachmentClass(attachment) { $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment); } }, { key: 'getTipElement', value: function getTipElement() { this.tip = this.tip || $(this.config.template)[0]; return this.tip; } }, { key: 'setContent', value: function setContent() { var $tip = $(this.getTipElement()); this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle()); $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW); } }, { key: 'setElementContent', value: function setElementContent($element, content) { var html = this.config.html; if ((typeof content === 'undefined' ? 'undefined' : _typeof(content)) === 'object' && (content.nodeType || content.jquery)) { // Content is a DOM node or a jQuery if (html) { if (!$(content).parent().is($element)) { $element.empty().append(content); } } else { $element.text($(content).text()); } } else { $element[html ? 'html' : 'text'](content); } } // Private }, { key: 'getTitle', value: function getTitle() { var title = this.element.getAttribute('data-original-title'); if (!title) { title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title; } return title; } }, { key: '_getAttachment', value: function _getAttachment(placement) { return AttachmentMap[placement.toUpperCase()]; } }, { key: '_setListeners', value: function _setListeners() { var _this3 = this; var triggers = this.config.trigger.split(' '); triggers.forEach(function (trigger) { if (trigger === 'click') { $(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) { return _this3.toggle(event); }); } else if (trigger !== Trigger.MANUAL) { var eventIn = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSEENTER : _this3.constructor.Event.FOCUSIN; var eventOut = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSELEAVE : _this3.constructor.Event.FOCUSOUT; $(_this3.element).on(eventIn, _this3.config.selector, function (event) { return _this3._enter(event); }).on(eventOut, _this3.config.selector, function (event) { return _this3._leave(event); }); } $(_this3.element).closest('.modal').on('hide.bs.modal', function () { return _this3.hide(); }); }); if (this.config.selector) { this.config = _extends({}, this.config, { trigger: 'manual', selector: '' }); } else { this._fixTitle(); } } }, { key: '_fixTitle', value: function _fixTitle() { if (!this.element) return; var titleType = _typeof(this.element.getAttribute('data-original-title')); if (this.element.getAttribute('title') || titleType !== 'string') { this.element.setAttribute('data-original-title', this.element.getAttribute('title') || ''); this.element.setAttribute('title', ''); } } }, { key: '_enter', value: function _enter(event, context) { var dataKey = this.constructor.DATA_KEY; context = context || $(event.currentTarget).data(dataKey); if (!context) { context = new this.constructor(event.currentTarget, this._getDelegateConfig()); $(event.currentTarget).data(dataKey, context); } if (event) { context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true; } if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) { context._hoverState = HoverState.SHOW; return; } clearTimeout(context._timeout); context._hoverState = HoverState.SHOW; if (!context.config.delay || !context.config.delay.show) { context.show(); return; } context._timeout = setTimeout(function () { if (context._hoverState === HoverState.SHOW) { context.show(); } }, context.config.delay.show); } }, { key: '_leave', value: function _leave(event, context) { var dataKey = this.constructor.DATA_KEY; context = context || $(event.currentTarget).data(dataKey); if (!context) { context = new this.constructor(event.currentTarget, this._getDelegateConfig()); $(event.currentTarget).data(dataKey, context); } if (event) { context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false; } if (context._isWithActiveTrigger()) { return; } clearTimeout(context._timeout); context._hoverState = HoverState.OUT; if (!context.config.delay || !context.config.delay.hide) { context.hide(); return; } context._timeout = setTimeout(function () { if (context._hoverState === HoverState.OUT) { context.hide(); } }, context.config.delay.hide); } }, { key: '_isWithActiveTrigger', value: function _isWithActiveTrigger() { for (var trigger in this._activeTrigger) { if (this._activeTrigger[trigger]) { return true; } } return false; } }, { key: '_getConfig', value: function _getConfig(config) { config = _extends({}, this.constructor.Default, $(this.element).data(), config); if (typeof config.delay === 'number') { config.delay = { show: config.delay, hide: config.delay }; } if (typeof config.title === 'number') { config.title = config.title.toString(); } if (typeof config.content === 'number') { config.content = config.content.toString(); } _util2.default.typeCheckConfig(NAME, config, this.constructor.DefaultType); return config; } }, { key: '_getDelegateConfig', value: function _getDelegateConfig() { var config = {}; if (this.config) { for (var key in this.config) { if (this.constructor.Default[key] !== this.config[key]) { config[key] = this.config[key]; } } } return config; } }, { key: '_cleanTipClass', value: function _cleanTipClass() { var $tip = $(this.getTipElement()); var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX); if (tabClass !== null && tabClass.length > 0) { $tip.removeClass(tabClass.join('')); } } }, { key: '_handlePopperPlacementChange', value: function _handlePopperPlacementChange(data) { this._cleanTipClass(); this.addAttachmentClass(this._getAttachment(data.placement)); } // Static }, { key: '_fixTransition', value: function _fixTransition() { var tip = this.getTipElement(); var initConfigAnimation = this.config.animation; if (tip.getAttribute('x-placement') !== null) { return; } $(tip).removeClass(ClassName.FADE); this.config.animation = false; this.hide(); this.show(); this.config.animation = initConfigAnimation; } }], [{ key: '_jQueryInterface', // Public value: function _jQueryInterface(config) { return this.each(function () { var data = $(this).data(DATA_KEY); var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config; if (!data && /dispose|hide/.test(config)) { return; } if (!data) { data = new Tooltip(this, _config); $(this).data(DATA_KEY, data); } if (typeof config === 'string') { if (typeof data[config] === 'undefined') { throw new TypeError('No method named "' + config + '"'); } data[config](); } }); } }, { key: 'VERSION', get: function get() { return VERSION; } }, { key: 'Default', get: function get() { return Default; } }, { key: 'NAME', get: function get() { return NAME; } }, { key: 'DATA_KEY', get: function get() { return DATA_KEY; } }, { key: 'Event', get: function get() { return Event; } }, { key: 'EVENT_KEY', get: function get() { return EVENT_KEY; } }, { key: 'DefaultType', get: function get() { return DefaultType; } }]); return Tooltip; }(); /** * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ */ $.fn[NAME] = Tooltip._jQueryInterface; $.fn[NAME].Constructor = Tooltip; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; return Tooltip._jQueryInterface; }; return Tooltip; }(_jquery2.default, _popper2.default); exports.default = Tooltip; /***/ }), /* 249 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* WEBPACK VAR INJECTION */(function(global) {/**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.14.7 * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined'; var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; var timeoutDuration = 0; for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) { timeoutDuration = 1; break; } } function microtaskDebounce(fn) { var called = false; return function () { if (called) { return; } called = true; window.Promise.resolve().then(function () { called = false; fn(); }); }; } function taskDebounce(fn) { var scheduled = false; return function () { if (!scheduled) { scheduled = true; setTimeout(function () { scheduled = false; fn(); }, timeoutDuration); } }; } var supportsMicroTasks = isBrowser && window.Promise; /** * Create a debounced version of a method, that's asynchronously deferred * but called in the minimum time possible. * * @method * @memberof Popper.Utils * @argument {Function} fn * @returns {Function} */ var debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce; /** * Check if the given variable is a function * @method * @memberof Popper.Utils * @argument {Any} functionToCheck - variable to check * @returns {Boolean} answer to: is a function? */ function isFunction(functionToCheck) { var getType = {}; return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]'; } /** * Get CSS computed property of the given element * @method * @memberof Popper.Utils * @argument {Eement} element * @argument {String} property */ function getStyleComputedProperty(element, property) { if (element.nodeType !== 1) { return []; } // NOTE: 1 DOM access here var window = element.ownerDocument.defaultView; var css = window.getComputedStyle(element, null); return property ? css[property] : css; } /** * Returns the parentNode or the host of the element * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} parent */ function getParentNode(element) { if (element.nodeName === 'HTML') { return element; } return element.parentNode || element.host; } /** * Returns the scrolling parent of the given element * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} scroll parent */ function getScrollParent(element) { // Return body, `getScroll` will take care to get the correct `scrollTop` from it if (!element) { return document.body; } switch (element.nodeName) { case 'HTML': case 'BODY': return element.ownerDocument.body; case '#document': return element.body; } // Firefox want us to check `-x` and `-y` variations as well var _getStyleComputedProp = getStyleComputedProperty(element), overflow = _getStyleComputedProp.overflow, overflowX = _getStyleComputedProp.overflowX, overflowY = _getStyleComputedProp.overflowY; if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) { return element; } return getScrollParent(getParentNode(element)); } var isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode); var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent); /** * Determines if the browser is Internet Explorer * @method * @memberof Popper.Utils * @param {Number} version to check * @returns {Boolean} isIE */ function isIE(version) { if (version === 11) { return isIE11; } if (version === 10) { return isIE10; } return isIE11 || isIE10; } /** * Returns the offset parent of the given element * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} offset parent */ function getOffsetParent(element) { if (!element) { return document.documentElement; } var noOffsetParent = isIE(10) ? document.body : null; // NOTE: 1 DOM access here var offsetParent = element.offsetParent || null; // Skip hidden elements which don't have an offsetParent while (offsetParent === noOffsetParent && element.nextElementSibling) { offsetParent = (element = element.nextElementSibling).offsetParent; } var nodeName = offsetParent && offsetParent.nodeName; if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') { return element ? element.ownerDocument.documentElement : document.documentElement; } // .offsetParent will return the closest TH, TD or TABLE in case // no offsetParent is present, I hate this job... if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { return getOffsetParent(offsetParent); } return offsetParent; } function isOffsetContainer(element) { var nodeName = element.nodeName; if (nodeName === 'BODY') { return false; } return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element; } /** * Finds the root node (document, shadowDOM root) of the given element * @method * @memberof Popper.Utils * @argument {Element} node * @returns {Element} root node */ function getRoot(node) { if (node.parentNode !== null) { return getRoot(node.parentNode); } return node; } /** * Finds the offset parent common to the two provided nodes * @method * @memberof Popper.Utils * @argument {Element} element1 * @argument {Element} element2 * @returns {Element} common offset parent */ function findCommonOffsetParent(element1, element2) { // This check is needed to avoid errors in case one of the elements isn't defined for any reason if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) { return document.documentElement; } // Here we make sure to give as "start" the element that comes first in the DOM var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING; var start = order ? element1 : element2; var end = order ? element2 : element1; // Get common ancestor container var range = document.createRange(); range.setStart(start, 0); range.setEnd(end, 0); var commonAncestorContainer = range.commonAncestorContainer; // Both nodes are inside #document if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) { if (isOffsetContainer(commonAncestorContainer)) { return commonAncestorContainer; } return getOffsetParent(commonAncestorContainer); } // one of the nodes is inside shadowDOM, find which one var element1root = getRoot(element1); if (element1root.host) { return findCommonOffsetParent(element1root.host, element2); } else { return findCommonOffsetParent(element1, getRoot(element2).host); } } /** * Gets the scroll value of the given element in the given side (top and left) * @method * @memberof Popper.Utils * @argument {Element} element * @argument {String} side `top` or `left` * @returns {number} amount of scrolled pixels */ function getScroll(element) { var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top'; var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft'; var nodeName = element.nodeName; if (nodeName === 'BODY' || nodeName === 'HTML') { var html = element.ownerDocument.documentElement; var scrollingElement = element.ownerDocument.scrollingElement || html; return scrollingElement[upperSide]; } return element[upperSide]; } /* * Sum or subtract the element scroll values (left and top) from a given rect object * @method * @memberof Popper.Utils * @param {Object} rect - Rect object you want to change * @param {HTMLElement} element - The element from the function reads the scroll values * @param {Boolean} subtract - set to true if you want to subtract the scroll values * @return {Object} rect - The modifier rect object */ function includeScroll(rect, element) { var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var scrollTop = getScroll(element, 'top'); var scrollLeft = getScroll(element, 'left'); var modifier = subtract ? -1 : 1; rect.top += scrollTop * modifier; rect.bottom += scrollTop * modifier; rect.left += scrollLeft * modifier; rect.right += scrollLeft * modifier; return rect; } /* * Helper to detect borders of a given element * @method * @memberof Popper.Utils * @param {CSSStyleDeclaration} styles * Result of `getStyleComputedProperty` on the given element * @param {String} axis - `x` or `y` * @return {number} borders - The borders size of the given axis */ function getBordersSize(styles, axis) { var sideA = axis === 'x' ? 'Left' : 'Top'; var sideB = sideA === 'Left' ? 'Right' : 'Bottom'; return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10); } function getSize(axis, body, html, computedStyle) { return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0); } function getWindowSizes(document) { var body = document.body; var html = document.documentElement; var computedStyle = isIE(10) && getComputedStyle(html); return { height: getSize('Height', body, html, computedStyle), width: getSize('Width', body, html, computedStyle) }; } var classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; var createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var defineProperty = function (obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; /** * Given element offsets, generate an output similar to getBoundingClientRect * @method * @memberof Popper.Utils * @argument {Object} offsets * @returns {Object} ClientRect like output */ function getClientRect(offsets) { return _extends({}, offsets, { right: offsets.left + offsets.width, bottom: offsets.top + offsets.height }); } /** * Get bounding client rect of given element * @method * @memberof Popper.Utils * @param {HTMLElement} element * @return {Object} client rect */ function getBoundingClientRect(element) { var rect = {}; // IE10 10 FIX: Please, don't ask, the element isn't // considered in DOM in some circumstances... // This isn't reproducible in IE10 compatibility mode of IE11 try { if (isIE(10)) { rect = element.getBoundingClientRect(); var scrollTop = getScroll(element, 'top'); var scrollLeft = getScroll(element, 'left'); rect.top += scrollTop; rect.left += scrollLeft; rect.bottom += scrollTop; rect.right += scrollLeft; } else { rect = element.getBoundingClientRect(); } } catch (e) {} var result = { left: rect.left, top: rect.top, width: rect.right - rect.left, height: rect.bottom - rect.top }; // subtract scrollbar size from sizes var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {}; var width = sizes.width || element.clientWidth || result.right - result.left; var height = sizes.height || element.clientHeight || result.bottom - result.top; var horizScrollbar = element.offsetWidth - width; var vertScrollbar = element.offsetHeight - height; // if an hypothetical scrollbar is detected, we must be sure it's not a `border` // we make this check conditional for performance reasons if (horizScrollbar || vertScrollbar) { var styles = getStyleComputedProperty(element); horizScrollbar -= getBordersSize(styles, 'x'); vertScrollbar -= getBordersSize(styles, 'y'); result.width -= horizScrollbar; result.height -= vertScrollbar; } return getClientRect(result); } function getOffsetRectRelativeToArbitraryNode(children, parent) { var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var isIE10 = isIE(10); var isHTML = parent.nodeName === 'HTML'; var childrenRect = getBoundingClientRect(children); var parentRect = getBoundingClientRect(parent); var scrollParent = getScrollParent(children); var styles = getStyleComputedProperty(parent); var borderTopWidth = parseFloat(styles.borderTopWidth, 10); var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10); // In cases where the parent is fixed, we must ignore negative scroll in offset calc if (fixedPosition && isHTML) { parentRect.top = Math.max(parentRect.top, 0); parentRect.left = Math.max(parentRect.left, 0); } var offsets = getClientRect({ top: childrenRect.top - parentRect.top - borderTopWidth, left: childrenRect.left - parentRect.left - borderLeftWidth, width: childrenRect.width, height: childrenRect.height }); offsets.marginTop = 0; offsets.marginLeft = 0; // Subtract margins of documentElement in case it's being used as parent // we do this only on HTML because it's the only element that behaves // differently when margins are applied to it. The margins are included in // the box of the documentElement, in the other cases not. if (!isIE10 && isHTML) { var marginTop = parseFloat(styles.marginTop, 10); var marginLeft = parseFloat(styles.marginLeft, 10); offsets.top -= borderTopWidth - marginTop; offsets.bottom -= borderTopWidth - marginTop; offsets.left -= borderLeftWidth - marginLeft; offsets.right -= borderLeftWidth - marginLeft; // Attach marginTop and marginLeft because in some circumstances we may need them offsets.marginTop = marginTop; offsets.marginLeft = marginLeft; } if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') { offsets = includeScroll(offsets, parent); } return offsets; } function getViewportOffsetRectRelativeToArtbitraryNode(element) { var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var html = element.ownerDocument.documentElement; var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html); var width = Math.max(html.clientWidth, window.innerWidth || 0); var height = Math.max(html.clientHeight, window.innerHeight || 0); var scrollTop = !excludeScroll ? getScroll(html) : 0; var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0; var offset = { top: scrollTop - relativeOffset.top + relativeOffset.marginTop, left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft, width: width, height: height }; return getClientRect(offset); } /** * Check if the given element is fixed or is inside a fixed parent * @method * @memberof Popper.Utils * @argument {Element} element * @argument {Element} customContainer * @returns {Boolean} answer to "isFixed?" */ function isFixed(element) { var nodeName = element.nodeName; if (nodeName === 'BODY' || nodeName === 'HTML') { return false; } if (getStyleComputedProperty(element, 'position') === 'fixed') { return true; } var parentNode = getParentNode(element); if (!parentNode) { return false; } return isFixed(parentNode); } /** * Finds the first parent of an element that has a transformed property defined * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} first transformed parent or documentElement */ function getFixedPositionOffsetParent(element) { // This check is needed to avoid errors in case one of the elements isn't defined for any reason if (!element || !element.parentElement || isIE()) { return document.documentElement; } var el = element.parentElement; while (el && getStyleComputedProperty(el, 'transform') === 'none') { el = el.parentElement; } return el || document.documentElement; } /** * Computed the boundaries limits and return them * @method * @memberof Popper.Utils * @param {HTMLElement} popper * @param {HTMLElement} reference * @param {number} padding * @param {HTMLElement} boundariesElement - Element used to define the boundaries * @param {Boolean} fixedPosition - Is in fixed position mode * @returns {Object} Coordinates of the boundaries */ function getBoundaries(popper, reference, padding, boundariesElement) { var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; // NOTE: 1 DOM access here var boundaries = { top: 0, left: 0 }; var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference); // Handle viewport case if (boundariesElement === 'viewport') { boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition); } else { // Handle other cases based on DOM element used as boundaries var boundariesNode = void 0; if (boundariesElement === 'scrollParent') { boundariesNode = getScrollParent(getParentNode(reference)); if (boundariesNode.nodeName === 'BODY') { boundariesNode = popper.ownerDocument.documentElement; } } else if (boundariesElement === 'window') { boundariesNode = popper.ownerDocument.documentElement; } else { boundariesNode = boundariesElement; } var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition); // In case of HTML, we need a different computation if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) { var _getWindowSizes = getWindowSizes(popper.ownerDocument), height = _getWindowSizes.height, width = _getWindowSizes.width; boundaries.top += offsets.top - offsets.marginTop; boundaries.bottom = height + offsets.top; boundaries.left += offsets.left - offsets.marginLeft; boundaries.right = width + offsets.left; } else { // for all the other DOM elements, this one is good boundaries = offsets; } } // Add paddings padding = padding || 0; var isPaddingNumber = typeof padding === 'number'; boundaries.left += isPaddingNumber ? padding : padding.left || 0; boundaries.top += isPaddingNumber ? padding : padding.top || 0; boundaries.right -= isPaddingNumber ? padding : padding.right || 0; boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0; return boundaries; } function getArea(_ref) { var width = _ref.width, height = _ref.height; return width * height; } /** * Utility used to transform the `auto` placement to the placement with more * available space. * @method * @memberof Popper.Utils * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) { var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0; if (placement.indexOf('auto') === -1) { return placement; } var boundaries = getBoundaries(popper, reference, padding, boundariesElement); var rects = { top: { width: boundaries.width, height: refRect.top - boundaries.top }, right: { width: boundaries.right - refRect.right, height: boundaries.height }, bottom: { width: boundaries.width, height: boundaries.bottom - refRect.bottom }, left: { width: refRect.left - boundaries.left, height: boundaries.height } }; var sortedAreas = Object.keys(rects).map(function (key) { return _extends({ key: key }, rects[key], { area: getArea(rects[key]) }); }).sort(function (a, b) { return b.area - a.area; }); var filteredAreas = sortedAreas.filter(function (_ref2) { var width = _ref2.width, height = _ref2.height; return width >= popper.clientWidth && height >= popper.clientHeight; }); var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key; var variation = placement.split('-')[1]; return computedPlacement + (variation ? '-' + variation : ''); } /** * Get offsets to the reference element * @method * @memberof Popper.Utils * @param {Object} state * @param {Element} popper - the popper element * @param {Element} reference - the reference element (the popper will be relative to this) * @param {Element} fixedPosition - is in fixed position mode * @returns {Object} An object containing the offsets which will be applied to the popper */ function getReferenceOffsets(state, popper, reference) { var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference); return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition); } /** * Get the outer sizes of the given element (offset size + margins) * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Object} object containing width and height properties */ function getOuterSizes(element) { var window = element.ownerDocument.defaultView; var styles = window.getComputedStyle(element); var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0); var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0); var result = { width: element.offsetWidth + y, height: element.offsetHeight + x }; return result; } /** * Get the opposite placement of the given one * @method * @memberof Popper.Utils * @argument {String} placement * @returns {String} flipped placement */ function getOppositePlacement(placement) { var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; return placement.replace(/left|right|bottom|top/g, function (matched) { return hash[matched]; }); } /** * Get offsets to the popper * @method * @memberof Popper.Utils * @param {Object} position - CSS position the Popper will get applied * @param {HTMLElement} popper - the popper element * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this) * @param {String} placement - one of the valid placement options * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper */ function getPopperOffsets(popper, referenceOffsets, placement) { placement = placement.split('-')[0]; // Get popper node sizes var popperRect = getOuterSizes(popper); // Add position, width and height to our offsets object var popperOffsets = { width: popperRect.width, height: popperRect.height }; // depending by the popper placement we have to compute its offsets slightly differently var isHoriz = ['right', 'left'].indexOf(placement) !== -1; var mainSide = isHoriz ? 'top' : 'left'; var secondarySide = isHoriz ? 'left' : 'top'; var measurement = isHoriz ? 'height' : 'width'; var secondaryMeasurement = !isHoriz ? 'height' : 'width'; popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2; if (placement === secondarySide) { popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement]; } else { popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)]; } return popperOffsets; } /** * Mimics the `find` method of Array * @method * @memberof Popper.Utils * @argument {Array} arr * @argument prop * @argument value * @returns index or -1 */ function find(arr, check) { // use native find if supported if (Array.prototype.find) { return arr.find(check); } // use `filter` to obtain the same behavior of `find` return arr.filter(check)[0]; } /** * Return the index of the matching object * @method * @memberof Popper.Utils * @argument {Array} arr * @argument prop * @argument value * @returns index or -1 */ function findIndex(arr, prop, value) { // use native findIndex if supported if (Array.prototype.findIndex) { return arr.findIndex(function (cur) { return cur[prop] === value; }); } // use `find` + `indexOf` if `findIndex` isn't supported var match = find(arr, function (obj) { return obj[prop] === value; }); return arr.indexOf(match); } /** * Loop trough the list of modifiers and run them in order, * each of them will then edit the data object. * @method * @memberof Popper.Utils * @param {dataObject} data * @param {Array} modifiers * @param {String} ends - Optional modifier name used as stopper * @returns {dataObject} */ function runModifiers(modifiers, data, ends) { var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends)); modifiersToRun.forEach(function (modifier) { if (modifier['function']) { // eslint-disable-line dot-notation console.warn('`modifier.function` is deprecated, use `modifier.fn`!'); } var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation if (modifier.enabled && isFunction(fn)) { // Add properties to offsets to make them a complete clientRect object // we do this before each modifier to make sure the previous one doesn't // mess with these values data.offsets.popper = getClientRect(data.offsets.popper); data.offsets.reference = getClientRect(data.offsets.reference); data = fn(data, modifier); } }); return data; } /** * Updates the position of the popper, computing the new offsets and applying * the new style.<br /> * Prefer `scheduleUpdate` over `update` because of performance reasons. * @method * @memberof Popper */ function update() { // if popper is destroyed, don't perform any further update if (this.state.isDestroyed) { return; } var data = { instance: this, styles: {}, arrowStyles: {}, attributes: {}, flipped: false, offsets: {} }; // compute reference element offsets data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed); // compute auto placement, store placement inside the data object, // modifiers will be able to edit `placement` if needed // and refer to originalPlacement to know the original value data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding); // store the computed placement inside `originalPlacement` data.originalPlacement = data.placement; data.positionFixed = this.options.positionFixed; // compute the popper offsets data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement); data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute'; // run the modifiers data = runModifiers(this.modifiers, data); // the first `update` will call `onCreate` callback // the other ones will call `onUpdate` callback if (!this.state.isCreated) { this.state.isCreated = true; this.options.onCreate(data); } else { this.options.onUpdate(data); } } /** * Helper used to know if the given modifier is enabled. * @method * @memberof Popper.Utils * @returns {Boolean} */ function isModifierEnabled(modifiers, modifierName) { return modifiers.some(function (_ref) { var name = _ref.name, enabled = _ref.enabled; return enabled && name === modifierName; }); } /** * Get the prefixed supported property name * @method * @memberof Popper.Utils * @argument {String} property (camelCase) * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix) */ function getSupportedPropertyName(property) { var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O']; var upperProp = property.charAt(0).toUpperCase() + property.slice(1); for (var i = 0; i < prefixes.length; i++) { var prefix = prefixes[i]; var toCheck = prefix ? '' + prefix + upperProp : property; if (typeof document.body.style[toCheck] !== 'undefined') { return toCheck; } } return null; } /** * Destroys the popper. * @method * @memberof Popper */ function destroy() { this.state.isDestroyed = true; // touch DOM only if `applyStyle` modifier is enabled if (isModifierEnabled(this.modifiers, 'applyStyle')) { this.popper.removeAttribute('x-placement'); this.popper.style.position = ''; this.popper.style.top = ''; this.popper.style.left = ''; this.popper.style.right = ''; this.popper.style.bottom = ''; this.popper.style.willChange = ''; this.popper.style[getSupportedPropertyName('transform')] = ''; } this.disableEventListeners(); // remove the popper if user explicity asked for the deletion on destroy // do not use `remove` because IE11 doesn't support it if (this.options.removeOnDestroy) { this.popper.parentNode.removeChild(this.popper); } return this; } /** * Get the window associated with the element * @argument {Element} element * @returns {Window} */ function getWindow(element) { var ownerDocument = element.ownerDocument; return ownerDocument ? ownerDocument.defaultView : window; } function attachToScrollParents(scrollParent, event, callback, scrollParents) { var isBody = scrollParent.nodeName === 'BODY'; var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent; target.addEventListener(event, callback, { passive: true }); if (!isBody) { attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents); } scrollParents.push(target); } /** * Setup needed event listeners used to update the popper position * @method * @memberof Popper.Utils * @private */ function setupEventListeners(reference, options, state, updateBound) { // Resize event listener on window state.updateBound = updateBound; getWindow(reference).addEventListener('resize', state.updateBound, { passive: true }); // Scroll event listener on scroll parents var scrollElement = getScrollParent(reference); attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents); state.scrollElement = scrollElement; state.eventsEnabled = true; return state; } /** * It will add resize/scroll events and start recalculating * position of the popper element when they are triggered. * @method * @memberof Popper */ function enableEventListeners() { if (!this.state.eventsEnabled) { this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate); } } /** * Remove event listeners used to update the popper position * @method * @memberof Popper.Utils * @private */ function removeEventListeners(reference, state) { // Remove resize event listener on window getWindow(reference).removeEventListener('resize', state.updateBound); // Remove scroll event listener on scroll parents state.scrollParents.forEach(function (target) { target.removeEventListener('scroll', state.updateBound); }); // Reset state state.updateBound = null; state.scrollParents = []; state.scrollElement = null; state.eventsEnabled = false; return state; } /** * It will remove resize/scroll events and won't recalculate popper position * when they are triggered. It also won't trigger `onUpdate` callback anymore, * unless you call `update` method manually. * @method * @memberof Popper */ function disableEventListeners() { if (this.state.eventsEnabled) { cancelAnimationFrame(this.scheduleUpdate); this.state = removeEventListeners(this.reference, this.state); } } /** * Tells if a given input is a number * @method * @memberof Popper.Utils * @param {*} input to check * @return {Boolean} */ function isNumeric(n) { return n !== '' && !isNaN(parseFloat(n)) && isFinite(n); } /** * Set the style to the given popper * @method * @memberof Popper.Utils * @argument {Element} element - Element to apply the style to * @argument {Object} styles * Object with a list of properties and values which will be applied to the element */ function setStyles(element, styles) { Object.keys(styles).forEach(function (prop) { var unit = ''; // add unit if the value is numeric and is one of the following if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) { unit = 'px'; } element.style[prop] = styles[prop] + unit; }); } /** * Set the attributes to the given popper * @method * @memberof Popper.Utils * @argument {Element} element - Element to apply the attributes to * @argument {Object} styles * Object with a list of properties and values which will be applied to the element */ function setAttributes(element, attributes) { Object.keys(attributes).forEach(function (prop) { var value = attributes[prop]; if (value !== false) { element.setAttribute(prop, attributes[prop]); } else { element.removeAttribute(prop); } }); } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by `update` method * @argument {Object} data.styles - List of style properties - values to apply to popper element * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element * @argument {Object} options - Modifiers configuration and options * @returns {Object} The same data object */ function applyStyle(data) { // any property present in `data.styles` will be applied to the popper, // in this way we can make the 3rd party modifiers add custom styles to it // Be aware, modifiers could override the properties defined in the previous // lines of this modifier! setStyles(data.instance.popper, data.styles); // any property present in `data.attributes` will be applied to the popper, // they will be set as HTML attributes of the element setAttributes(data.instance.popper, data.attributes); // if arrowElement is defined and arrowStyles has some properties if (data.arrowElement && Object.keys(data.arrowStyles).length) { setStyles(data.arrowElement, data.arrowStyles); } return data; } /** * Set the x-placement attribute before everything else because it could be used * to add margins to the popper margins needs to be calculated to get the * correct popper offsets. * @method * @memberof Popper.modifiers * @param {HTMLElement} reference - The reference element used to position the popper * @param {HTMLElement} popper - The HTML element used as popper * @param {Object} options - Popper.js options */ function applyStyleOnLoad(reference, popper, options, modifierOptions, state) { // compute reference element offsets var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed); // compute auto placement, store placement inside the data object, // modifiers will be able to edit `placement` if needed // and refer to originalPlacement to know the original value var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding); popper.setAttribute('x-placement', placement); // Apply `position` to popper before anything else because // without the position applied we can't guarantee correct computations setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' }); return options; } /** * @function * @memberof Popper.Utils * @argument {Object} data - The data object generated by `update` method * @argument {Boolean} shouldRound - If the offsets should be rounded at all * @returns {Object} The popper's position offsets rounded * * The tale of pixel-perfect positioning. It's still not 100% perfect, but as * good as it can be within reason. * Discussion here: https://github.com/FezVrasta/popper.js/pull/715 * * Low DPI screens cause a popper to be blurry if not using full pixels (Safari * as well on High DPI screens). * * Firefox prefers no rounding for positioning and does not have blurriness on * high DPI screens. * * Only horizontal placement and left/right values need to be considered. */ function getRoundedOffsets(data, shouldRound) { var _data$offsets = data.offsets, popper = _data$offsets.popper, reference = _data$offsets.reference; var round = Math.round, floor = Math.floor; var noRound = function noRound(v) { return v; }; var referenceWidth = round(reference.width); var popperWidth = round(popper.width); var isVertical = ['left', 'right'].indexOf(data.placement) !== -1; var isVariation = data.placement.indexOf('-') !== -1; var sameWidthParity = referenceWidth % 2 === popperWidth % 2; var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1; var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor; var verticalToInteger = !shouldRound ? noRound : round; return { left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left), top: verticalToInteger(popper.top), bottom: verticalToInteger(popper.bottom), right: horizontalToInteger(popper.right) }; } var isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent); /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by `update` method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function computeStyle(data, options) { var x = options.x, y = options.y; var popper = data.offsets.popper; // Remove this legacy support in Popper.js v2 var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) { return modifier.name === 'applyStyle'; }).gpuAcceleration; if (legacyGpuAccelerationOption !== undefined) { console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'); } var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration; var offsetParent = getOffsetParent(data.instance.popper); var offsetParentRect = getBoundingClientRect(offsetParent); // Styles var styles = { position: popper.position }; var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox); var sideA = x === 'bottom' ? 'top' : 'bottom'; var sideB = y === 'right' ? 'left' : 'right'; // if gpuAcceleration is set to `true` and transform is supported, // we use `translate3d` to apply the position to the popper we // automatically use the supported prefixed version if needed var prefixedProperty = getSupportedPropertyName('transform'); // now, let's make a step back and look at this code closely (wtf?) // If the content of the popper grows once it's been positioned, it // may happen that the popper gets misplaced because of the new content // overflowing its reference element // To avoid this problem, we provide two options (x and y), which allow // the consumer to define the offset origin. // If we position a popper on top of a reference element, we can set // `x` to `top` to make the popper grow towards its top instead of // its bottom. var left = void 0, top = void 0; if (sideA === 'bottom') { // when offsetParent is <html> the positioning is relative to the bottom of the screen (excluding the scrollbar) // and not the bottom of the html element if (offsetParent.nodeName === 'HTML') { top = -offsetParent.clientHeight + offsets.bottom; } else { top = -offsetParentRect.height + offsets.bottom; } } else { top = offsets.top; } if (sideB === 'right') { if (offsetParent.nodeName === 'HTML') { left = -offsetParent.clientWidth + offsets.right; } else { left = -offsetParentRect.width + offsets.right; } } else { left = offsets.left; } if (gpuAcceleration && prefixedProperty) { styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)'; styles[sideA] = 0; styles[sideB] = 0; styles.willChange = 'transform'; } else { // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties var invertTop = sideA === 'bottom' ? -1 : 1; var invertLeft = sideB === 'right' ? -1 : 1; styles[sideA] = top * invertTop; styles[sideB] = left * invertLeft; styles.willChange = sideA + ', ' + sideB; } // Attributes var attributes = { 'x-placement': data.placement }; // Update `data` attributes, styles and arrowStyles data.attributes = _extends({}, attributes, data.attributes); data.styles = _extends({}, styles, data.styles); data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles); return data; } /** * Helper used to know if the given modifier depends from another one.<br /> * It checks if the needed modifier is listed and enabled. * @method * @memberof Popper.Utils * @param {Array} modifiers - list of modifiers * @param {String} requestingName - name of requesting modifier * @param {String} requestedName - name of requested modifier * @returns {Boolean} */ function isModifierRequired(modifiers, requestingName, requestedName) { var requesting = find(modifiers, function (_ref) { var name = _ref.name; return name === requestingName; }); var isRequired = !!requesting && modifiers.some(function (modifier) { return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order; }); if (!isRequired) { var _requesting = '`' + requestingName + '`'; var requested = '`' + requestedName + '`'; console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!'); } return isRequired; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function arrow(data, options) { var _data$offsets$arrow; // arrow depends on keepTogether in order to work if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) { return data; } var arrowElement = options.element; // if arrowElement is a string, suppose it's a CSS selector if (typeof arrowElement === 'string') { arrowElement = data.instance.popper.querySelector(arrowElement); // if arrowElement is not found, don't run the modifier if (!arrowElement) { return data; } } else { // if the arrowElement isn't a query selector we must check that the // provided DOM node is child of its popper node if (!data.instance.popper.contains(arrowElement)) { console.warn('WARNING: `arrow.element` must be child of its popper element!'); return data; } } var placement = data.placement.split('-')[0]; var _data$offsets = data.offsets, popper = _data$offsets.popper, reference = _data$offsets.reference; var isVertical = ['left', 'right'].indexOf(placement) !== -1; var len = isVertical ? 'height' : 'width'; var sideCapitalized = isVertical ? 'Top' : 'Left'; var side = sideCapitalized.toLowerCase(); var altSide = isVertical ? 'left' : 'top'; var opSide = isVertical ? 'bottom' : 'right'; var arrowElementSize = getOuterSizes(arrowElement)[len]; // // extends keepTogether behavior making sure the popper and its // reference have enough pixels in conjunction // // top/left side if (reference[opSide] - arrowElementSize < popper[side]) { data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize); } // bottom/right side if (reference[side] + arrowElementSize > popper[opSide]) { data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide]; } data.offsets.popper = getClientRect(data.offsets.popper); // compute center of the popper var center = reference[side] + reference[len] / 2 - arrowElementSize / 2; // Compute the sideValue using the updated popper offsets // take popper margin in account because we don't have this info available var css = getStyleComputedProperty(data.instance.popper); var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10); var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10); var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide; // prevent arrowElement from being placed not contiguously to its popper sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0); data.arrowElement = arrowElement; data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow); return data; } /** * Get the opposite placement variation of the given one * @method * @memberof Popper.Utils * @argument {String} placement variation * @returns {String} flipped placement variation */ function getOppositeVariation(variation) { if (variation === 'end') { return 'start'; } else if (variation === 'start') { return 'end'; } return variation; } /** * List of accepted placements to use as values of the `placement` option.<br /> * Valid placements are: * - `auto` * - `top` * - `right` * - `bottom` * - `left` * * Each placement can have a variation from this list: * - `-start` * - `-end` * * Variations are interpreted easily if you think of them as the left to right * written languages. Horizontally (`top` and `bottom`), `start` is left and `end` * is right.<br /> * Vertically (`left` and `right`), `start` is top and `end` is bottom. * * Some valid examples are: * - `top-end` (on top of reference, right aligned) * - `right-start` (on right of reference, top aligned) * - `bottom` (on bottom, centered) * - `auto-end` (on the side with more space available, alignment depends by placement) * * @static * @type {Array} * @enum {String} * @readonly * @method placements * @memberof Popper */ var placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start']; // Get rid of `auto` `auto-start` and `auto-end` var validPlacements = placements.slice(3); /** * Given an initial placement, returns all the subsequent placements * clockwise (or counter-clockwise). * * @method * @memberof Popper.Utils * @argument {String} placement - A valid placement (it accepts variations) * @argument {Boolean} counter - Set to true to walk the placements counterclockwise * @returns {Array} placements including their variations */ function clockwise(placement) { var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var index = validPlacements.indexOf(placement); var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index)); return counter ? arr.reverse() : arr; } var BEHAVIORS = { FLIP: 'flip', CLOCKWISE: 'clockwise', COUNTERCLOCKWISE: 'counterclockwise' }; /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function flip(data, options) { // if `inner` modifier is enabled, we can't use the `flip` modifier if (isModifierEnabled(data.instance.modifiers, 'inner')) { return data; } if (data.flipped && data.placement === data.originalPlacement) { // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides return data; } var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed); var placement = data.placement.split('-')[0]; var placementOpposite = getOppositePlacement(placement); var variation = data.placement.split('-')[1] || ''; var flipOrder = []; switch (options.behavior) { case BEHAVIORS.FLIP: flipOrder = [placement, placementOpposite]; break; case BEHAVIORS.CLOCKWISE: flipOrder = clockwise(placement); break; case BEHAVIORS.COUNTERCLOCKWISE: flipOrder = clockwise(placement, true); break; default: flipOrder = options.behavior; } flipOrder.forEach(function (step, index) { if (placement !== step || flipOrder.length === index + 1) { return data; } placement = data.placement.split('-')[0]; placementOpposite = getOppositePlacement(placement); var popperOffsets = data.offsets.popper; var refOffsets = data.offsets.reference; // using floor because the reference offsets may contain decimals we are not going to consider here var floor = Math.floor; var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom); var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left); var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right); var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top); var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom); var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom; // flip the variation if required var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; var flippedVariation = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom); if (overlapsRef || overflowsBoundaries || flippedVariation) { // this boolean to detect any flip loop data.flipped = true; if (overlapsRef || overflowsBoundaries) { placement = flipOrder[index + 1]; } if (flippedVariation) { variation = getOppositeVariation(variation); } data.placement = placement + (variation ? '-' + variation : ''); // this object contains `position`, we want to preserve it along with // any additional property we may add in the future data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement)); data = runModifiers(data.instance.modifiers, data, 'flip'); } }); return data; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function keepTogether(data) { var _data$offsets = data.offsets, popper = _data$offsets.popper, reference = _data$offsets.reference; var placement = data.placement.split('-')[0]; var floor = Math.floor; var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; var side = isVertical ? 'right' : 'bottom'; var opSide = isVertical ? 'left' : 'top'; var measurement = isVertical ? 'width' : 'height'; if (popper[side] < floor(reference[opSide])) { data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement]; } if (popper[opSide] > floor(reference[side])) { data.offsets.popper[opSide] = floor(reference[side]); } return data; } /** * Converts a string containing value + unit into a px value number * @function * @memberof {modifiers~offset} * @private * @argument {String} str - Value + unit string * @argument {String} measurement - `height` or `width` * @argument {Object} popperOffsets * @argument {Object} referenceOffsets * @returns {Number|String} * Value in pixels, or original string if no values were extracted */ function toValue(str, measurement, popperOffsets, referenceOffsets) { // separate value from unit var split = str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/); var value = +split[1]; var unit = split[2]; // If it's not a number it's an operator, I guess if (!value) { return str; } if (unit.indexOf('%') === 0) { var element = void 0; switch (unit) { case '%p': element = popperOffsets; break; case '%': case '%r': default: element = referenceOffsets; } var rect = getClientRect(element); return rect[measurement] / 100 * value; } else if (unit === 'vh' || unit === 'vw') { // if is a vh or vw, we calculate the size based on the viewport var size = void 0; if (unit === 'vh') { size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); } else { size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); } return size / 100 * value; } else { // if is an explicit pixel unit, we get rid of the unit and keep the value // if is an implicit unit, it's px, and we return just the value return value; } } /** * Parse an `offset` string to extrapolate `x` and `y` numeric offsets. * @function * @memberof {modifiers~offset} * @private * @argument {String} offset * @argument {Object} popperOffsets * @argument {Object} referenceOffsets * @argument {String} basePlacement * @returns {Array} a two cells array with x and y offsets in numbers */ function parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) { var offsets = [0, 0]; // Use height if placement is left or right and index is 0 otherwise use width // in this way the first offset will use an axis and the second one // will use the other one var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1; // Split the offset string to obtain a list of values and operands // The regex addresses values with the plus or minus sign in front (+10, -20, etc) var fragments = offset.split(/(\+|\-)/).map(function (frag) { return frag.trim(); }); // Detect if the offset string contains a pair of values or a single one // they could be separated by comma or space var divider = fragments.indexOf(find(fragments, function (frag) { return frag.search(/,|\s/) !== -1; })); if (fragments[divider] && fragments[divider].indexOf(',') === -1) { console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.'); } // If divider is found, we divide the list of values and operands to divide // them by ofset X and Y. var splitRegex = /\s*,\s*|\s+/; var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments]; // Convert the values with units to absolute pixels to allow our computations ops = ops.map(function (op, index) { // Most of the units rely on the orientation of the popper var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width'; var mergeWithPrevious = false; return op // This aggregates any `+` or `-` sign that aren't considered operators // e.g.: 10 + +5 => [10, +, +5] .reduce(function (a, b) { if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) { a[a.length - 1] = b; mergeWithPrevious = true; return a; } else if (mergeWithPrevious) { a[a.length - 1] += b; mergeWithPrevious = false; return a; } else { return a.concat(b); } }, []) // Here we convert the string values into number values (in px) .map(function (str) { return toValue(str, measurement, popperOffsets, referenceOffsets); }); }); // Loop trough the offsets arrays and execute the operations ops.forEach(function (op, index) { op.forEach(function (frag, index2) { if (isNumeric(frag)) { offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1); } }); }); return offsets; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @argument {Number|String} options.offset=0 * The offset value as described in the modifier description * @returns {Object} The data object, properly modified */ function offset(data, _ref) { var offset = _ref.offset; var placement = data.placement, _data$offsets = data.offsets, popper = _data$offsets.popper, reference = _data$offsets.reference; var basePlacement = placement.split('-')[0]; var offsets = void 0; if (isNumeric(+offset)) { offsets = [+offset, 0]; } else { offsets = parseOffset(offset, popper, reference, basePlacement); } if (basePlacement === 'left') { popper.top += offsets[0]; popper.left -= offsets[1]; } else if (basePlacement === 'right') { popper.top += offsets[0]; popper.left += offsets[1]; } else if (basePlacement === 'top') { popper.left += offsets[0]; popper.top -= offsets[1]; } else if (basePlacement === 'bottom') { popper.left += offsets[0]; popper.top += offsets[1]; } data.popper = popper; return data; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by `update` method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function preventOverflow(data, options) { var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper); // If offsetParent is the reference element, we really want to // go one step up and use the next offsetParent as reference to // avoid to make this modifier completely useless and look like broken if (data.instance.reference === boundariesElement) { boundariesElement = getOffsetParent(boundariesElement); } // NOTE: DOM access here // resets the popper's position so that the document size can be calculated excluding // the size of the popper element itself var transformProp = getSupportedPropertyName('transform'); var popperStyles = data.instance.popper.style; // assignment to help minification var top = popperStyles.top, left = popperStyles.left, transform = popperStyles[transformProp]; popperStyles.top = ''; popperStyles.left = ''; popperStyles[transformProp] = ''; var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed); // NOTE: DOM access here // restores the original style properties after the offsets have been computed popperStyles.top = top; popperStyles.left = left; popperStyles[transformProp] = transform; options.boundaries = boundaries; var order = options.priority; var popper = data.offsets.popper; var check = { primary: function primary(placement) { var value = popper[placement]; if (popper[placement] < boundaries[placement] && !options.escapeWithReference) { value = Math.max(popper[placement], boundaries[placement]); } return defineProperty({}, placement, value); }, secondary: function secondary(placement) { var mainSide = placement === 'right' ? 'left' : 'top'; var value = popper[mainSide]; if (popper[placement] > boundaries[placement] && !options.escapeWithReference) { value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height)); } return defineProperty({}, mainSide, value); } }; order.forEach(function (placement) { var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary'; popper = _extends({}, popper, check[side](placement)); }); data.offsets.popper = popper; return data; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by `update` method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function shift(data) { var placement = data.placement; var basePlacement = placement.split('-')[0]; var shiftvariation = placement.split('-')[1]; // if shift shiftvariation is specified, run the modifier if (shiftvariation) { var _data$offsets = data.offsets, reference = _data$offsets.reference, popper = _data$offsets.popper; var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1; var side = isVertical ? 'left' : 'top'; var measurement = isVertical ? 'width' : 'height'; var shiftOffsets = { start: defineProperty({}, side, reference[side]), end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement]) }; data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]); } return data; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function hide(data) { if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) { return data; } var refRect = data.offsets.reference; var bound = find(data.instance.modifiers, function (modifier) { return modifier.name === 'preventOverflow'; }).boundaries; if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) { // Avoid unnecessary DOM access if visibility hasn't changed if (data.hide === true) { return data; } data.hide = true; data.attributes['x-out-of-boundaries'] = ''; } else { // Avoid unnecessary DOM access if visibility hasn't changed if (data.hide === false) { return data; } data.hide = false; data.attributes['x-out-of-boundaries'] = false; } return data; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by `update` method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function inner(data) { var placement = data.placement; var basePlacement = placement.split('-')[0]; var _data$offsets = data.offsets, popper = _data$offsets.popper, reference = _data$offsets.reference; var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1; var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1; popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0); data.placement = getOppositePlacement(placement); data.offsets.popper = getClientRect(popper); return data; } /** * Modifier function, each modifier can have a function of this type assigned * to its `fn` property.<br /> * These functions will be called on each update, this means that you must * make sure they are performant enough to avoid performance bottlenecks. * * @function ModifierFn * @argument {dataObject} data - The data object generated by `update` method * @argument {Object} options - Modifiers configuration and options * @returns {dataObject} The data object, properly modified */ /** * Modifiers are plugins used to alter the behavior of your poppers.<br /> * Popper.js uses a set of 9 modifiers to provide all the basic functionalities * needed by the library. * * Usually you don't want to override the `order`, `fn` and `onLoad` props. * All the other properties are configurations that could be tweaked. * @namespace modifiers */ var modifiers = { /** * Modifier used to shift the popper on the start or end of its reference * element.<br /> * It will read the variation of the `placement` property.<br /> * It can be one either `-end` or `-start`. * @memberof modifiers * @inner */ shift: { /** @prop {number} order=100 - Index used to define the order of execution */ order: 100, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: shift }, /** * The `offset` modifier can shift your popper on both its axis. * * It accepts the following units: * - `px` or unit-less, interpreted as pixels * - `%` or `%r`, percentage relative to the length of the reference element * - `%p`, percentage relative to the length of the popper element * - `vw`, CSS viewport width unit * - `vh`, CSS viewport height unit * * For length is intended the main axis relative to the placement of the popper.<br /> * This means that if the placement is `top` or `bottom`, the length will be the * `width`. In case of `left` or `right`, it will be the `height`. * * You can provide a single value (as `Number` or `String`), or a pair of values * as `String` divided by a comma or one (or more) white spaces.<br /> * The latter is a deprecated method because it leads to confusion and will be * removed in v2.<br /> * Additionally, it accepts additions and subtractions between different units. * Note that multiplications and divisions aren't supported. * * Valid examples are: * ``` * 10 * '10%' * '10, 10' * '10%, 10' * '10 + 10%' * '10 - 5vh + 3%' * '-10px + 5vh, 5px - 6%' * ``` * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap * > with their reference element, unfortunately, you will have to disable the `flip` modifier. * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373). * * @memberof modifiers * @inner */ offset: { /** @prop {number} order=200 - Index used to define the order of execution */ order: 200, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: offset, /** @prop {Number|String} offset=0 * The offset value as described in the modifier description */ offset: 0 }, /** * Modifier used to prevent the popper from being positioned outside the boundary. * * A scenario exists where the reference itself is not within the boundaries.<br /> * We can say it has "escaped the boundaries" — or just "escaped".<br /> * In this case we need to decide whether the popper should either: * * - detach from the reference and remain "trapped" in the boundaries, or * - if it should ignore the boundary and "escape with its reference" * * When `escapeWithReference` is set to`true` and reference is completely * outside its boundaries, the popper will overflow (or completely leave) * the boundaries in order to remain attached to the edge of the reference. * * @memberof modifiers * @inner */ preventOverflow: { /** @prop {number} order=300 - Index used to define the order of execution */ order: 300, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: preventOverflow, /** * @prop {Array} [priority=['left','right','top','bottom']] * Popper will try to prevent overflow following these priorities by default, * then, it could overflow on the left and on top of the `boundariesElement` */ priority: ['left', 'right', 'top', 'bottom'], /** * @prop {number} padding=5 * Amount of pixel used to define a minimum distance between the boundaries * and the popper. This makes sure the popper always has a little padding * between the edges of its container */ padding: 5, /** * @prop {String|HTMLElement} boundariesElement='scrollParent' * Boundaries used by the modifier. Can be `scrollParent`, `window`, * `viewport` or any DOM element. */ boundariesElement: 'scrollParent' }, /** * Modifier used to make sure the reference and its popper stay near each other * without leaving any gap between the two. Especially useful when the arrow is * enabled and you want to ensure that it points to its reference element. * It cares only about the first axis. You can still have poppers with margin * between the popper and its reference element. * @memberof modifiers * @inner */ keepTogether: { /** @prop {number} order=400 - Index used to define the order of execution */ order: 400, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: keepTogether }, /** * This modifier is used to move the `arrowElement` of the popper to make * sure it is positioned between the reference element and its popper element. * It will read the outer size of the `arrowElement` node to detect how many * pixels of conjunction are needed. * * It has no effect if no `arrowElement` is provided. * @memberof modifiers * @inner */ arrow: { /** @prop {number} order=500 - Index used to define the order of execution */ order: 500, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: arrow, /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */ element: '[x-arrow]' }, /** * Modifier used to flip the popper's placement when it starts to overlap its * reference element. * * Requires the `preventOverflow` modifier before it in order to work. * * **NOTE:** this modifier will interrupt the current update cycle and will * restart it if it detects the need to flip the placement. * @memberof modifiers * @inner */ flip: { /** @prop {number} order=600 - Index used to define the order of execution */ order: 600, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: flip, /** * @prop {String|Array} behavior='flip' * The behavior used to change the popper's placement. It can be one of * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid * placements (with optional variations) */ behavior: 'flip', /** * @prop {number} padding=5 * The popper will flip if it hits the edges of the `boundariesElement` */ padding: 5, /** * @prop {String|HTMLElement} boundariesElement='viewport' * The element which will define the boundaries of the popper position. * The popper will never be placed outside of the defined boundaries * (except if `keepTogether` is enabled) */ boundariesElement: 'viewport' }, /** * Modifier used to make the popper flow toward the inner of the reference element. * By default, when this modifier is disabled, the popper will be placed outside * the reference element. * @memberof modifiers * @inner */ inner: { /** @prop {number} order=700 - Index used to define the order of execution */ order: 700, /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */ enabled: false, /** @prop {ModifierFn} */ fn: inner }, /** * Modifier used to hide the popper when its reference element is outside of the * popper boundaries. It will set a `x-out-of-boundaries` attribute which can * be used to hide with a CSS selector the popper when its reference is * out of boundaries. * * Requires the `preventOverflow` modifier before it in order to work. * @memberof modifiers * @inner */ hide: { /** @prop {number} order=800 - Index used to define the order of execution */ order: 800, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: hide }, /** * Computes the style that will be applied to the popper element to gets * properly positioned. * * Note that this modifier will not touch the DOM, it just prepares the styles * so that `applyStyle` modifier can apply it. This separation is useful * in case you need to replace `applyStyle` with a custom implementation. * * This modifier has `850` as `order` value to maintain backward compatibility * with previous versions of Popper.js. Expect the modifiers ordering method * to change in future major versions of the library. * * @memberof modifiers * @inner */ computeStyle: { /** @prop {number} order=850 - Index used to define the order of execution */ order: 850, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: computeStyle, /** * @prop {Boolean} gpuAcceleration=true * If true, it uses the CSS 3D transformation to position the popper. * Otherwise, it will use the `top` and `left` properties */ gpuAcceleration: true, /** * @prop {string} [x='bottom'] * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin. * Change this if your popper should grow in a direction different from `bottom` */ x: 'bottom', /** * @prop {string} [x='left'] * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin. * Change this if your popper should grow in a direction different from `right` */ y: 'right' }, /** * Applies the computed styles to the popper element. * * All the DOM manipulations are limited to this modifier. This is useful in case * you want to integrate Popper.js inside a framework or view library and you * want to delegate all the DOM manipulations to it. * * Note that if you disable this modifier, you must make sure the popper element * has its position set to `absolute` before Popper.js can do its work! * * Just disable this modifier and define your own to achieve the desired effect. * * @memberof modifiers * @inner */ applyStyle: { /** @prop {number} order=900 - Index used to define the order of execution */ order: 900, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: applyStyle, /** @prop {Function} */ onLoad: applyStyleOnLoad, /** * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier * @prop {Boolean} gpuAcceleration=true * If true, it uses the CSS 3D transformation to position the popper. * Otherwise, it will use the `top` and `left` properties */ gpuAcceleration: undefined } }; /** * The `dataObject` is an object containing all the information used by Popper.js. * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks. * @name dataObject * @property {Object} data.instance The Popper.js instance * @property {String} data.placement Placement applied to popper * @property {String} data.originalPlacement Placement originally defined on init * @property {Boolean} data.flipped True if popper has been flipped by flip modifier * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`) * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`) * @property {Object} data.boundaries Offsets of the popper boundaries * @property {Object} data.offsets The measurements of popper, reference and arrow elements * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0 */ /** * Default options provided to Popper.js constructor.<br /> * These can be overridden using the `options` argument of Popper.js.<br /> * To override an option, simply pass an object with the same * structure of the `options` object, as the 3rd argument. For example: * ``` * new Popper(ref, pop, { * modifiers: { * preventOverflow: { enabled: false } * } * }) * ``` * @type {Object} * @static * @memberof Popper */ var Defaults = { /** * Popper's placement. * @prop {Popper.placements} placement='bottom' */ placement: 'bottom', /** * Set this to true if you want popper to position it self in 'fixed' mode * @prop {Boolean} positionFixed=false */ positionFixed: false, /** * Whether events (resize, scroll) are initially enabled. * @prop {Boolean} eventsEnabled=true */ eventsEnabled: true, /** * Set to true if you want to automatically remove the popper when * you call the `destroy` method. * @prop {Boolean} removeOnDestroy=false */ removeOnDestroy: false, /** * Callback called when the popper is created.<br /> * By default, it is set to no-op.<br /> * Access Popper.js instance with `data.instance`. * @prop {onCreate} */ onCreate: function onCreate() {}, /** * Callback called when the popper is updated. This callback is not called * on the initialization/creation of the popper, but only on subsequent * updates.<br /> * By default, it is set to no-op.<br /> * Access Popper.js instance with `data.instance`. * @prop {onUpdate} */ onUpdate: function onUpdate() {}, /** * List of modifiers used to modify the offsets before they are applied to the popper. * They provide most of the functionalities of Popper.js. * @prop {modifiers} */ modifiers: modifiers }; /** * @callback onCreate * @param {dataObject} data */ /** * @callback onUpdate * @param {dataObject} data */ // Utils // Methods var Popper = function () { /** * Creates a new Popper.js instance. * @class Popper * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper * @param {HTMLElement} popper - The HTML element used as the popper * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults) * @return {Object} instance - The generated Popper.js instance */ function Popper(reference, popper) { var _this = this; var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; classCallCheck(this, Popper); this.scheduleUpdate = function () { return requestAnimationFrame(_this.update); }; // make update() debounced, so that it only runs at most once-per-tick this.update = debounce(this.update.bind(this)); // with {} we create a new object with the options inside it this.options = _extends({}, Popper.Defaults, options); // init state this.state = { isDestroyed: false, isCreated: false, scrollParents: [] }; // get reference and popper elements (allow jQuery wrappers) this.reference = reference && reference.jquery ? reference[0] : reference; this.popper = popper && popper.jquery ? popper[0] : popper; // Deep merge modifiers options this.options.modifiers = {}; Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) { _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {}); }); // Refactoring modifiers' list (Object => Array) this.modifiers = Object.keys(this.options.modifiers).map(function (name) { return _extends({ name: name }, _this.options.modifiers[name]); }) // sort the modifiers by order .sort(function (a, b) { return a.order - b.order; }); // modifiers have the ability to execute arbitrary code when Popper.js get inited // such code is executed in the same order of its modifier // they could add new properties to their options configuration // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`! this.modifiers.forEach(function (modifierOptions) { if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) { modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state); } }); // fire the first update to position the popper in the right place this.update(); var eventsEnabled = this.options.eventsEnabled; if (eventsEnabled) { // setup event listeners, they will take care of update the position in specific situations this.enableEventListeners(); } this.state.eventsEnabled = eventsEnabled; } // We can't use class properties because they don't get listed in the // class prototype and break stuff like Sinon stubs createClass(Popper, [{ key: 'update', value: function update$$1() { return update.call(this); } }, { key: 'destroy', value: function destroy$$1() { return destroy.call(this); } }, { key: 'enableEventListeners', value: function enableEventListeners$$1() { return enableEventListeners.call(this); } }, { key: 'disableEventListeners', value: function disableEventListeners$$1() { return disableEventListeners.call(this); } /** * Schedules an update. It will run on the next UI update available. * @method scheduleUpdate * @memberof Popper */ /** * Collection of utilities useful when writing custom modifiers. * Starting from version 1.7, this method is available only if you * include `popper-utils.js` before `popper.js`. * * **DEPRECATION**: This way to access PopperUtils is deprecated * and will be removed in v2! Use the PopperUtils module directly instead. * Due to the high instability of the methods contained in Utils, we can't * guarantee them to follow semver. Use them at your own risk! * @static * @private * @type {Object} * @deprecated since version 1.8 * @member Utils * @memberof Popper */ }]); return Popper; }(); /** * The `referenceObject` is an object that provides an interface compatible with Popper.js * and lets you use it as replacement of a real DOM node.<br /> * You can use this method to position a popper relatively to a set of coordinates * in case you don't have a DOM node to use as reference. * * ``` * new Popper(referenceObject, popperNode); * ``` * * NB: This feature isn't supported in Internet Explorer 10. * @name referenceObject * @property {Function} data.getBoundingClientRect * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method. * @property {number} data.clientWidth * An ES6 getter that will return the width of the virtual reference element. * @property {number} data.clientHeight * An ES6 getter that will return the height of the virtual reference element. */ Popper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils; Popper.placements = placements; Popper.Defaults = Defaults; /* harmony default export */ __webpack_exports__["default"] = (Popper); //# sourceMappingURL=popper.js.map /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(27))) /***/ }), /* 250 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _jquery = __webpack_require__(110); var _jquery2 = _interopRequireDefault(_jquery); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * -------------------------------------------------------------------------- * Bootstrap (v4.0.0): util.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ var Util = function ($) { /** * ------------------------------------------------------------------------ * Private TransitionEnd Helpers * ------------------------------------------------------------------------ */ var transition = false; var MAX_UID = 1000000; // Shoutout AngusCroll (https://goo.gl/pxwQGp) function toType(obj) { return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase(); } function getSpecialTransitionEndEvent() { return { bindType: transition.end, delegateType: transition.end, handle: function handle(event) { if ($(event.target).is(this)) { return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params } return undefined; // eslint-disable-line no-undefined } }; } function transitionEndTest() { if (typeof window !== 'undefined' && window.QUnit) { return false; } return { end: 'transitionend' }; } function transitionEndEmulator(duration) { var _this = this; var called = false; $(this).one(Util.TRANSITION_END, function () { called = true; }); setTimeout(function () { if (!called) { Util.triggerTransitionEnd(_this); } }, duration); return this; } function setTransitionEndSupport() { transition = transitionEndTest(); $.fn.emulateTransitionEnd = transitionEndEmulator; if (Util.supportsTransitionEnd()) { $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent(); } } function escapeId(selector) { // We escape IDs in case of special selectors (selector = '#myId:something') // $.escapeSelector does not exist in jQuery < 3 selector = typeof $.escapeSelector === 'function' ? $.escapeSelector(selector).substr(1) : selector.replace(/(:|\.|\[|\]|,|=|@)/g, '\\$1'); return selector; } /** * -------------------------------------------------------------------------- * Public Util Api * -------------------------------------------------------------------------- */ var Util = { TRANSITION_END: 'bsTransitionEnd', getUID: function getUID(prefix) { do { // eslint-disable-next-line no-bitwise prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here } while (document.getElementById(prefix)); return prefix; }, getSelectorFromElement: function getSelectorFromElement(element) { var selector = element.getAttribute('data-target'); if (!selector || selector === '#') { selector = element.getAttribute('href') || ''; } // If it's an ID if (selector.charAt(0) === '#') { selector = escapeId(selector); } try { var $selector = $(document).find(selector); return $selector.length > 0 ? selector : null; } catch (err) { return null; } }, reflow: function reflow(element) { return element.offsetHeight; }, triggerTransitionEnd: function triggerTransitionEnd(element) { $(element).trigger(transition.end); }, supportsTransitionEnd: function supportsTransitionEnd() { return Boolean(transition); }, isElement: function isElement(obj) { return (obj[0] || obj).nodeType; }, typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) { for (var property in configTypes) { if (Object.prototype.hasOwnProperty.call(configTypes, property)) { var expectedTypes = configTypes[property]; var value = config[property]; var valueType = value && Util.isElement(value) ? 'element' : toType(value); if (!new RegExp(expectedTypes).test(valueType)) { throw new Error(componentName.toUpperCase() + ': ' + ('Option "' + property + '" provided type "' + valueType + '" ') + ('but expected type "' + expectedTypes + '".')); } } } } }; setTransitionEndSupport(); return Util; }(_jquery2.default); exports.default = Util; /***/ }), /* 251 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false function injectStyle (ssrContext) { if (disposed) return __webpack_require__(252) } var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(254) /* template */ var __vue_template__ = __webpack_require__(260) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = "data-v-262cab72" /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "colibri-editor/src/components/controls/ImagePicker.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-262cab72", Component.options) } else { hotAPI.reload("data-v-262cab72", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 252 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(253); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__(23)("3ae3aeec", content, false, {}); // Hot Module Replacement if(false) { // When the styles change, update the <style> tags if(!content.locals) { module.hot.accept("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-262cab72\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ImagePicker.vue", function() { var newContent = require("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-262cab72\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ImagePicker.vue"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent); }); } // When the module is disposed, remove the <style> tags module.hot.dispose(function() { update(); }); } /***/ }), /* 253 */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // imports // module exports.push([module.i, "\n.image-picker-container[data-v-262cab72] {\n height: 200px;\n /*padding: 7px;*/\n /*border: 1px solid #d5dadf;*/\n background-color: white;\n min-width: 220px;\n}\n.image-picker-inner[data-v-262cab72] {\n height: 100%;\n width: 100%;\n /*background-color: #d5dadf;*/\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n position: relative;\n background-repeat: no-repeat;\n background-size: cover;\n background-position: center;\n}\n.image-picker-container[data-v-262cab72]:hover {\n border-color: #a4afb7;\n}\n.image-picker-container:hover .image-picker-inner[data-v-262cab72] {\n background-color: #a4afb7;\n}\n.image-picker-container.has-image:hover .image-picker-inner[data-v-262cab72] {\n opacity: 0.5;\n}\n.image-picker-delete[data-v-262cab72] {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n text-align: center;\n padding: 5px;\n font-size: 11px;\n color: #fff;\n background-color: #a4afb7;\n text-transform: uppercase;\n margin: 8px;\n}\n", ""]); // exports /***/ }), /* 254 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _VideoBackground = __webpack_require__(255); var _VideoBackground2 = _interopRequireDefault(_VideoBackground); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = { name: 'ImagePicker', components: { VideoBackground: _VideoBackground2.default }, props: { value: { type: String, required: true, default: '' }, title: { type: String, default: 'Image picker title' }, type: { type: String, default: 'image' } }, data: function data() { return { showPicker: false }; }, computed: { imageExist: function imageExist() { if (this.value) { return true; } return false; }, imagePickerDefaultClass: function imagePickerDefaultClass() { return 'image-picker-container'; }, backgroundImage: function backgroundImage() { return { backgroundImage: 'url(' + this.value + ')' }; } }, methods: { onInputChange: function onInputChange(event) { this.$emit('change', event); }, removeImage: function removeImage() { this.$emit('change', ''); }, chooseImage: function chooseImage() { var self = this; this.$service.openMediaBrowser({ callback: function callback(src) { var sources = [].concat(src); if (sources.length) { //console.error('sources', sources); self.$emit('change', sources[0].url); } }, type: this.type }); } } }; // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //TODO @adi : rename component and finish video /***/ }), /* 255 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false function injectStyle (ssrContext) { if (disposed) return __webpack_require__(256) } var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(258) /* template */ var __vue_template__ = __webpack_require__(259) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = null /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "colibri-editor/src/assets/libraries/vue-videobg-custom/VideoBackground.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-0424e582", Component.options) } else { hotAPI.reload("data-v-0424e582", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 256 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(257); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__(23)("050aea3d", content, false, {}); // Hot Module Replacement if(false) { // When the styles change, update the <style> tags if(!content.locals) { module.hot.accept("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-0424e582\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./VideoBackground.vue", function() { var newContent = require("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-0424e582\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./VideoBackground.vue"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent); }); } // When the module is disposed, remove the <style> tags module.hot.dispose(function() { update(); }); } /***/ }), /* 257 */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // imports // module exports.push([module.i, "\n.VideoBg {\n position: relative;\n background-size: cover;\n background-position: center;\n overflow: hidden;\n}\n.VideoBg video {\n position: absolute;\n top: 50%;\n left: 50%;\n visibility: hidden;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n.VideoBg__content {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n /* height: 100%; */\n}\n", ""]); // exports /***/ }), /* 258 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // // // // // // // // // // // // // // // // // // // // exports.default = { props: { sources: { type: Array, required: true }, img: { type: String }, attributes: { type: Array, default: function _default() { return []; } } }, data: function data() { return { videoRatio: null }; }, computed: { videoSources: function videoSources() { return this.sources; }, imageStyle: function imageStyle() { return { backgroundImage: 'url(' + this.img + ')', height: '100%' }; }, videoAttributes: function videoAttributes() { var attributes = {}; this.attributes.forEach(function (attribute) { attributes[attribute] = true; }); return attributes; } }, mounted: function mounted() { var _this = this; this.setImageUrl(); this.setContainerHeight(); if (this.videoCanPlay()) { this.$refs.video.oncanplay = function () { if (!_this.$refs.video) return; _this.videoRatio = _this.$refs.video.videoWidth / _this.$refs.video.videoHeight; _this.setVideoSize(); _this.$refs.video.style.visibility = 'visible'; }; } window.addEventListener('resize', this.resize); }, beforeDestroy: function beforeDestroy() { window.removeEventListener('resize', this.resize); }, methods: { resize: function resize() { this.setContainerHeight(); if (this.videoCanPlay()) { this.setVideoSize(); } }, videoCanPlay: function videoCanPlay() { return !!this.$refs.video.canPlayType; }, setImageUrl: function setImageUrl() {}, setContainerHeight: function setContainerHeight() {}, setVideoSize: function setVideoSize() { var width, height, containerRatio = this.$el.offsetWidth / this.$el.offsetHeight; if (containerRatio > this.videoRatio) { width = this.$el.offsetWidth; } else { height = this.$el.offsetHeight; } this.$refs.video.style.width = width ? width + 'px' : 'auto'; this.$refs.video.style.height = height ? height + 'px' : 'auto'; }, getMediaType: function getMediaType(src) { return 'video/' + src.split('.').pop(); } } }; /***/ }), /* 259 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("section", { staticClass: "VideoBg", style: _vm.imageStyle }, [ _c( "video", _vm._b( { ref: "video", attrs: { muted: "" }, domProps: { muted: true } }, "video", _vm.videoAttributes, false ), _vm._l(_vm.videoSources, function(source) { return _c("source", { key: source, attrs: { src: source, type: _vm.getMediaType(source) } }) }), 0 ), _vm._v(" "), _c( "div", { staticClass: "VideoBg__content" }, [_vm._t("default"), _vm._v("background-layer\n ")], 2 ) ]) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-0424e582", module.exports) } } /***/ }), /* 260 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { class: [_vm.imagePickerDefaultClass, { "has-image": _vm.imageExist }] }, [ _c( "el-popover", { ref: "image-picker", attrs: { title: _vm.title, placement: "right-start", width: "200" }, model: { value: _vm.showPicker, callback: function($$v) { _vm.showPicker = $$v }, expression: "showPicker" } }, [ _c("el-input", { attrs: { value: _vm.value }, on: { change: function($event) { return _vm.onInputChange($event) } } }) ], 1 ), _vm._v(" "), _vm.type == "image" ? _c( "div", { staticClass: "image-picker-inner", style: _vm.backgroundImage, on: { click: _vm.chooseImage } }, [ !_vm.imageExist ? _c("i", { staticClass: "el-icon-circle-plus-outline" }) : _vm._e() ] ) : _vm._e(), _vm._v(" "), _vm.type == "video" ? _c("video-background", { attrs: { sources: [_vm.value] } }) : _vm._e(), _vm._v(" "), _vm.imageExist ? _c( "div", { staticClass: "image-picker-delete", on: { click: _vm.removeImage } }, [_vm._v("Delete\n ")] ) : _vm._e() ], 1 ) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-262cab72", module.exports) } } /***/ }), /* 261 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false function injectStyle (ssrContext) { if (disposed) return __webpack_require__(262) } var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(264) /* template */ var __vue_template__ = __webpack_require__(265) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = null /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "assets/src/customizer/js/vue-components/SelectWithIcon.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-8d1f7b84", Component.options) } else { hotAPI.reload("data-v-8d1f7b84", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 262 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(263); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__(23)("29584e14", content, false, {}); // Hot Module Replacement if(false) { // When the styles change, update the <style> tags if(!content.locals) { module.hot.accept("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-8d1f7b84\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../../node_modules/sass-loader/lib/loader.js!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./SelectWithIcon.vue", function() { var newContent = require("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-8d1f7b84\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../../node_modules/sass-loader/lib/loader.js!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./SelectWithIcon.vue"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent); }); } // When the module is disposed, remove the <style> tags module.hot.dispose(function() { update(); }); } /***/ }), /* 263 */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // imports // module exports.push([module.i, "\n.select-with-icon-row .select-with-icon-grid-item {\n background-color: white;\n border: 1px solid #dcdfe6;\n position: relative;\n width: 100%;\n fill: #606266;\n margin-left: -1px;\n}\n.select-with-icon-row .select-with-icon-grid-item:nth-child(n + 4) {\n margin-top: -1px;\n}\n.select-with-icon-row .select-with-icon-grid-item:nth-child(3n + 1) {\n margin-left: 0;\n}\n.select-with-icon-row .select-with-icon-grid-item:first-child {\n border-top-left-radius: 4px;\n}\n.select-with-icon-row .select-with-icon-grid-item:nth-child(3) {\n border-top-right-radius: 4px;\n}\n.select-with-icon-row .select-with-icon-grid-item:last-child {\n border-bottom-right-radius: 4px;\n}\n.select-with-icon-row .select-with-icon-grid-item:nth-last-child(3) {\n border-bottom-left-radius: 4px;\n}\n.select-with-icon-row .select-with-icon-grid-item .sel-with-ic-icon-container {\n width: 100%;\n padding: 10px;\n}\n.select-with-icon-row .select-with-icon-grid-item:not(.select-with-icon-dummy):not(.select-with-icon-grid-item--disabled) {\n cursor: pointer;\n}\n.select-with-icon-row .select-with-icon-grid-item:not(.select-with-icon-dummy):not(.select-with-icon-grid-item--disabled).select-with-icon-is-selected {\n background-color: #D4E7FC;\n border-color: #008ec2;\n color: #008ec2;\n fill: #008ec2;\n z-index: 999;\n}\n.select-with-icon-row .select-with-icon-grid-item:not(.select-with-icon-dummy):not(.select-with-icon-grid-item--disabled):hover {\n background-color: #008ec2;\n fill: white;\n border-color: #008ec2;\n z-index: 999;\n}\n.select-with-icon-row .select-with-icon-grid-item--disabled {\n cursor: not-allowed;\n opacity: 0.6;\n}\n.select-with-icon-row .select-with-icon-grid-item .select-with-icon-label {\n margin-top: 16px;\n}\n.select-with-icon-row .select-with-icon-grid-item .select-with-icon-inner {\n height: auto;\n min-height: 88px;\n}\n", ""]); // exports /***/ }), /* 264 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var dummyItem = { dummy: true, value: 'dummy' }; exports.default = { name: 'SelectWithIcon', components: {}, props: { value: { type: String, default: null }, items: { type: Array, default: function _default() { return []; } } }, data: function data() { return { itemsPerRow: 3, svgSize: { width: '102', height: '42' } }; }, computed: { rowClasses: function rowClasses() { var classes = ['select-with-icon-row', 'h-row', 'no-gutters']; return classes; }, //the matrix layout should always be visible even if there is only one element per row. itemsWithDummies: function itemsWithDummies() { var items = this.items; var itemsOnLastRow = items.length % this.itemsPerRow; var missingItems = 0; if (itemsOnLastRow) { missingItems = this.itemsPerRow - itemsOnLastRow; } if (missingItems) { items = items.concat(this.getDummyItems(missingItems)); } return items; } }, methods: { innerClasses: function innerClasses(item) { var classes = ['select-with-icon-inner', 'd-flex', 'align-items-center', 'justify-content-center', 'flex-column']; return classes; }, getDummyItems: function getDummyItems() { var numberOfItems = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; var dummyItems = []; for (var i = 0; i < numberOfItems; i++) { dummyItems.push(dummyItem); } return dummyItems; }, itemIsDisabled: function itemIsDisabled(item) { return false; }, onClick: function onClick(item) { if (this.itemIsDisabled(item)) { return; } var newValue = item.value; if (newValue !== this.value) { this.$emit('change', newValue); } }, getOuterClasses: function getOuterClasses(item) { var classes = ['select-with-icon-grid-item', 'h-col-4']; if (item.value === this.value) { classes.push('select-with-icon-is-selected'); } if (item.dummy) { classes.push('select-with-icon-dummy'); } if (this.itemIsDisabled(item)) { classes.push('select-with-icon-grid-item--disabled'); } return classes; } } }; /***/ }), /* 265 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { class: _vm.rowClasses }, _vm._l(_vm.itemsWithDummies, function(item, index) { return _c( "div", { key: item.value, ref: item.value, refInFor: true, class: _vm.getOuterClasses(item) }, [ _c( "el-tooltip", { attrs: { content: item.label, enterable: false, "hide-after": 1000, effect: "dark", placement: "top" } }, [ !item.dummy ? _c( "div", { class: _vm.innerClasses(item), on: { click: function($event) { return _vm.onClick(item) } } }, [ item.icon ? _c("div", { staticClass: "sel-with-ic-icon-container d-flex justify-content-center", domProps: { innerHTML: _vm._s(item.icon) } }) : _vm._e() ] ) : _vm._e() ] ) ], 1 ) }), 0 ) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-8d1f7b84", module.exports) } } /***/ }), /* 266 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false function injectStyle (ssrContext) { if (disposed) return __webpack_require__(267) } var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(269) /* template */ var __vue_template__ = __webpack_require__(271) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = "data-v-e9a9a40c" /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "assets/src/customizer/js/vue-components/media-picker.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-e9a9a40c", Component.options) } else { hotAPI.reload("data-v-e9a9a40c", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 267 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(268); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__(23)("344112db", content, false, {}); // Hot Module Replacement if(false) { // When the styles change, update the <style> tags if(!content.locals) { module.hot.accept("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-e9a9a40c\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../../node_modules/sass-loader/lib/loader.js!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./media-picker.vue", function() { var newContent = require("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-e9a9a40c\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../../node_modules/sass-loader/lib/loader.js!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./media-picker.vue"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent); }); } // When the module is disposed, remove the <style> tags module.hot.dispose(function() { update(); }); } /***/ }), /* 268 */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // imports // module exports.push([module.i, "", ""]); // exports /***/ }), /* 269 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _translate = __webpack_require__(55); var _locale = __webpack_require__(270); var _locale2 = _interopRequireDefault(_locale); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } // // // // // // // // // // // // // // // // // // exports.default = { name: "MediaPicker", mixins: [_locale2.default], data: function data() { return { selectedValue: "" }; }, props: { value: { type: String, default: '' }, title: { type: String, default: (0, _translate.t)('colibri.mediapicker.selectitem') }, type: { type: String, default: 'image' }, disabled: { type: Boolean, default: false } }, computed: { currentValue: function currentValue() { return this.selectedValue || this.value; }, mediaExist: function mediaExist() { return !!this.value; }, backgroundImage: function backgroundImage() { var style = {}; if (this.type === 'image') { style = { backgroundImage: "url(" + this.value + ")" }; } return style; } }, methods: { chooseMedia: function chooseMedia() { var _this = this; this.$wpService.openMediaBrowser({ type: this.type, callback: function callback(media) { var sources = [].concat(media); if (sources.length) { _this.selectedValue = sources[0].url; _this.$emit('change', sources[0].url); } } }); } } }; /***/ }), /* 270 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_element_ui_src_locale__ = __webpack_require__(108); /* harmony default export */ __webpack_exports__["default"] = ({ methods: { t(...args) { return __WEBPACK_IMPORTED_MODULE_0_element_ui_src_locale__["t"].apply(this, args); } } }); /***/ }), /* 271 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "colibri-component media-picker", class: _vm.type, on: { click: _vm.chooseMedia } }, [ _vm.mediaExist && _vm.type === "image" ? _c("img", { attrs: { src: _vm.currentValue } }) : _vm._e(), _vm._v(" "), _vm.mediaExist && _vm.type === "video" ? _c( "video", { key: _vm.value, staticClass: "video-preview", attrs: { muted: "muted" }, domProps: { muted: true } }, [ _c("source", { attrs: { src: _vm.currentValue, type: "video/mp4" }, on: { click: _vm.chooseMedia } }) ] ) : _vm._e(), _vm._v(" "), !_vm.mediaExist ? _c("p", [_vm._v(_vm._s(_vm.t("colibri.mediapicker.selectitem")))]) : _vm._e() ] ) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-e9a9a40c", module.exports) } } /***/ }), /* 272 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(273) /* template */ var __vue_template__ = __webpack_require__(323) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = null /* scopeId */ var __vue_scopeId__ = null /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "assets/src/customizer/js/vue-components/ColibriIcon.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-7b40d776", Component.options) } else { hotAPI.reload("data-v-7b40d776", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 273 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _elementUi = __webpack_require__(92); var _fontAwesome = __webpack_require__(123); var _fontAwesome2 = _interopRequireDefault(_fontAwesome); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var escapeRegexpString = function escapeRegexpString() { var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&'); }; exports.default = { name: "ColibriIcon", components: { ElPopover: _elementUi.Popover, ElButton: _elementUi.Button, ElInput: _elementUi.Input }, data: function data() { return { search: '', options: [], internalValue: null }; }, watch: { search: function search(value, oldValue) { if (value !== oldValue) { this.debouncedQuery(value); } }, internalValue: function internalValue() { this.$emit('input', this.internalValue); this.$emit('change', this.internalValue); } }, props: { title: { type: String, default: "" }, selectIcon: { type: String, default: "Select Icon" }, value: { type: Object, default: function _default() { return { name: "", content: "" }; } }, icons: { type: Array, default: function _default() { return _fontAwesome2.default; } }, defaultMatches: { type: Array, default: function _default() { return []; } } }, computed: { currentValue: function currentValue() { return this.internalValue || this.value; } }, created: function created() { this.debouncedQuery = _.debounce(this.queryIcons, 200); }, methods: { iconStyle: function iconStyle(svg) { var encoded = window.btoa(svg); return { backgroundImage: "url(data:image/svg+xml;base64," + encoded + ")" }; }, toLabel: function toLabel(name) { return (name || "").split('/').pop().replace(/-/img, ' '); }, queryIcons: function queryIcons(query) { var _this = this; query = query || ''; if (typeof query === "string") { query = [query]; } query = query.map(function (item) { return escapeRegexpString(item); }).join('|'); if (!query) { this.options = this.icons; } else { this.options = this.icons.filter(function (icon) { return new RegExp(query, 'i').test(_this.toLabel(icon.name)); }).slice(0, 29); } }, initOptions: function initOptions() { this.search = ''; this.queryIcons(); }, setValue: function setValue(value) { this.internalValue = value; this.$refs.popover.doClose(); } } }; /***/ }), /* 274 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _vue = __webpack_require__(4); var _vue2 = _interopRequireDefault(_vue); var _dom = __webpack_require__(26); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var hasModal = false; var hasInitZIndex = false; var zIndex = 2000; var getModal = function getModal() { if (_vue2.default.prototype.$isServer) return; var modalDom = PopupManager.modalDom; if (modalDom) { hasModal = true; } else { hasModal = false; modalDom = document.createElement('div'); PopupManager.modalDom = modalDom; modalDom.addEventListener('touchmove', function (event) { event.preventDefault(); event.stopPropagation(); }); modalDom.addEventListener('click', function () { PopupManager.doOnModalClick && PopupManager.doOnModalClick(); }); } return modalDom; }; var instances = {}; var PopupManager = { modalFade: true, getInstance: function getInstance(id) { return instances[id]; }, register: function register(id, instance) { if (id && instance) { instances[id] = instance; } }, deregister: function deregister(id) { if (id) { instances[id] = null; delete instances[id]; } }, nextZIndex: function nextZIndex() { return PopupManager.zIndex++; }, modalStack: [], doOnModalClick: function doOnModalClick() { var topItem = PopupManager.modalStack[PopupManager.modalStack.length - 1]; if (!topItem) return; var instance = PopupManager.getInstance(topItem.id); if (instance && instance.closeOnClickModal) { instance.close(); } }, openModal: function openModal(id, zIndex, dom, modalClass, modalFade) { if (_vue2.default.prototype.$isServer) return; if (!id || zIndex === undefined) return; this.modalFade = modalFade; var modalStack = this.modalStack; for (var i = 0, j = modalStack.length; i < j; i++) { var item = modalStack[i]; if (item.id === id) { return; } } var modalDom = getModal(); (0, _dom.addClass)(modalDom, 'v-modal'); if (this.modalFade && !hasModal) { (0, _dom.addClass)(modalDom, 'v-modal-enter'); } if (modalClass) { var classArr = modalClass.trim().split(/\s+/); classArr.forEach(function (item) { return (0, _dom.addClass)(modalDom, item); }); } setTimeout(function () { (0, _dom.removeClass)(modalDom, 'v-modal-enter'); }, 200); if (dom && dom.parentNode && dom.parentNode.nodeType !== 11) { dom.parentNode.appendChild(modalDom); } else { document.body.appendChild(modalDom); } if (zIndex) { modalDom.style.zIndex = zIndex; } modalDom.tabIndex = 0; modalDom.style.display = ''; this.modalStack.push({ id: id, zIndex: zIndex, modalClass: modalClass }); }, closeModal: function closeModal(id) { var modalStack = this.modalStack; var modalDom = getModal(); if (modalStack.length > 0) { var topItem = modalStack[modalStack.length - 1]; if (topItem.id === id) { if (topItem.modalClass) { var classArr = topItem.modalClass.trim().split(/\s+/); classArr.forEach(function (item) { return (0, _dom.removeClass)(modalDom, item); }); } modalStack.pop(); if (modalStack.length > 0) { modalDom.style.zIndex = modalStack[modalStack.length - 1].zIndex; } } else { for (var i = modalStack.length - 1; i >= 0; i--) { if (modalStack[i].id === id) { modalStack.splice(i, 1); break; } } } } if (modalStack.length === 0) { if (this.modalFade) { (0, _dom.addClass)(modalDom, 'v-modal-leave'); } setTimeout(function () { if (modalStack.length === 0) { if (modalDom.parentNode) modalDom.parentNode.removeChild(modalDom); modalDom.style.display = 'none'; PopupManager.modalDom = undefined; } (0, _dom.removeClass)(modalDom, 'v-modal-leave'); }, 200); } } }; Object.defineProperty(PopupManager, 'zIndex', { configurable: true, get: function get() { if (!hasInitZIndex) { zIndex = (_vue2.default.prototype.$ELEMENT || {}).zIndex || zIndex; hasInitZIndex = true; } return zIndex; }, set: function set(value) { zIndex = value; } }); var getTopPopup = function getTopPopup() { if (_vue2.default.prototype.$isServer) return; if (PopupManager.modalStack.length > 0) { var topPopup = PopupManager.modalStack[PopupManager.modalStack.length - 1]; if (!topPopup) return; var instance = PopupManager.getInstance(topPopup.id); return instance; } }; if (!_vue2.default.prototype.$isServer) { // handle `esc` key when the popup is shown window.addEventListener('keydown', function (event) { if (event.keyCode === 27) { var topPopup = getTopPopup(); if (topPopup && topPopup.closeOnPressEscape) { topPopup.handleClose ? topPopup.handleClose() : topPopup.handleAction ? topPopup.handleAction('cancel') : topPopup.close(); } } }); } exports.default = PopupManager; /***/ }), /* 275 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /** * @fileOverview Kickass library to create and place poppers near their reference elements. * @version {{version}} * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ // // Cross module loader // Supported: Node, AMD, Browser globals // ;(function (root, factory) { if (true) { // AMD. Register as an anonymous module. !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else if ((typeof module === 'undefined' ? 'undefined' : _typeof(module)) === 'object' && module.exports) { // Node. Does not work with strict CommonJS, but // only CommonJS-like environments that support module.exports, // like Node. module.exports = factory(); } else { // Browser globals (root is window) root.Popper = factory(); } })(undefined, function () { 'use strict'; var root = window; // default options var DEFAULTS = { // placement of the popper placement: 'bottom', gpuAcceleration: true, // shift popper from its origin by the given amount of pixels (can be negative) offset: 0, // the element which will act as boundary of the popper boundariesElement: 'viewport', // amount of pixel used to define a minimum distance between the boundaries and the popper boundariesPadding: 5, // popper will try to prevent overflow following this order, // by default, then, it could overflow on the left and on top of the boundariesElement preventOverflowOrder: ['left', 'right', 'top', 'bottom'], // the behavior used by flip to change the placement of the popper flipBehavior: 'flip', arrowElement: '[x-arrow]', arrowOffset: 0, // list of functions used to modify the offsets before they are applied to the popper modifiers: ['shift', 'offset', 'preventOverflow', 'keepTogether', 'arrow', 'flip', 'applyStyle'], modifiersIgnored: [], forceAbsolute: false }; /** * Create a new Popper.js instance * @constructor Popper * @param {HTMLElement} reference - The reference element used to position the popper * @param {HTMLElement|Object} popper * The HTML element used as popper, or a configuration used to generate the popper. * @param {String} [popper.tagName='div'] The tag name of the generated popper. * @param {Array} [popper.classNames=['popper']] Array of classes to apply to the generated popper. * @param {Array} [popper.attributes] Array of attributes to apply, specify `attr:value` to assign a value to it. * @param {HTMLElement|String} [popper.parent=window.document.body] The parent element, given as HTMLElement or as query string. * @param {String} [popper.content=''] The content of the popper, it can be text, html, or node; if it is not text, set `contentType` to `html` or `node`. * @param {String} [popper.contentType='text'] If `html`, the `content` will be parsed as HTML. If `node`, it will be appended as-is. * @param {String} [popper.arrowTagName='div'] Same as `popper.tagName` but for the arrow element. * @param {Array} [popper.arrowClassNames='popper__arrow'] Same as `popper.classNames` but for the arrow element. * @param {String} [popper.arrowAttributes=['x-arrow']] Same as `popper.attributes` but for the arrow element. * @param {Object} options * @param {String} [options.placement=bottom] * Placement of the popper accepted values: `top(-start, -end), right(-start, -end), bottom(-start, -right), * left(-start, -end)` * * @param {HTMLElement|String} [options.arrowElement='[x-arrow]'] * The DOM Node used as arrow for the popper, or a CSS selector used to get the DOM node. It must be child of * its parent Popper. Popper.js will apply to the given element the style required to align the arrow with its * reference element. * By default, it will look for a child node of the popper with the `x-arrow` attribute. * * @param {Boolean} [options.gpuAcceleration=true] * When this property is set to true, the popper position will be applied using CSS3 translate3d, allowing the * browser to use the GPU to accelerate the rendering. * If set to false, the popper will be placed using `top` and `left` properties, not using the GPU. * * @param {Number} [options.offset=0] * Amount of pixels the popper will be shifted (can be negative). * * @param {String|Element} [options.boundariesElement='viewport'] * The element which will define the boundaries of the popper position, the popper will never be placed outside * of the defined boundaries (except if `keepTogether` is enabled) * * @param {Number} [options.boundariesPadding=5] * Additional padding for the boundaries * * @param {Array} [options.preventOverflowOrder=['left', 'right', 'top', 'bottom']] * Order used when Popper.js tries to avoid overflows from the boundaries, they will be checked in order, * this means that the last ones will never overflow * * @param {String|Array} [options.flipBehavior='flip'] * The behavior used by the `flip` modifier to change the placement of the popper when the latter is trying to * overlap its reference element. Defining `flip` as value, the placement will be flipped on * its axis (`right - left`, `top - bottom`). * You can even pass an array of placements (eg: `['right', 'left', 'top']` ) to manually specify * how alter the placement when a flip is needed. (eg. in the above example, it would first flip from right to left, * then, if even in its new placement, the popper is overlapping its reference element, it will be moved to top) * * @param {Array} [options.modifiers=[ 'shift', 'offset', 'preventOverflow', 'keepTogether', 'arrow', 'flip', 'applyStyle']] * List of functions used to modify the data before they are applied to the popper, add your custom functions * to this array to edit the offsets and placement. * The function should reflect the @params and @returns of preventOverflow * * @param {Array} [options.modifiersIgnored=[]] * Put here any built-in modifier name you want to exclude from the modifiers list * The function should reflect the @params and @returns of preventOverflow * * @param {Boolean} [options.removeOnDestroy=false] * Set to true if you want to automatically remove the popper when you call the `destroy` method. */ function Popper(reference, popper, options) { this._reference = reference.jquery ? reference[0] : reference; this.state = {}; // if the popper variable is a configuration object, parse it to generate an HTMLElement // generate a default popper if is not defined var isNotDefined = typeof popper === 'undefined' || popper === null; var isConfig = popper && Object.prototype.toString.call(popper) === '[object Object]'; if (isNotDefined || isConfig) { this._popper = this.parse(isConfig ? popper : {}); } // otherwise, use the given HTMLElement as popper else { this._popper = popper.jquery ? popper[0] : popper; } // with {} we create a new object with the options inside it this._options = Object.assign({}, DEFAULTS, options); // refactoring modifiers' list this._options.modifiers = this._options.modifiers.map(function (modifier) { // remove ignored modifiers if (this._options.modifiersIgnored.indexOf(modifier) !== -1) return; // set the x-placement attribute before everything else because it could be used to add margins to the popper // margins needs to be calculated to get the correct popper offsets if (modifier === 'applyStyle') { this._popper.setAttribute('x-placement', this._options.placement); } // return predefined modifier identified by string or keep the custom one return this.modifiers[modifier] || modifier; }.bind(this)); // make sure to apply the popper position before any computation this.state.position = this._getPosition(this._popper, this._reference); setStyle(this._popper, { position: this.state.position, top: 0 }); // fire the first update to position the popper in the right place this.update(); // setup event listeners, they will take care of update the position in specific situations this._setupEventListeners(); return this; } // // Methods // /** * Destroy the popper * @method * @memberof Popper */ Popper.prototype.destroy = function () { this._popper.removeAttribute('x-placement'); this._popper.style.left = ''; this._popper.style.position = ''; this._popper.style.top = ''; this._popper.style[getSupportedPropertyName('transform')] = ''; this._removeEventListeners(); // remove the popper if user explicity asked for the deletion on destroy if (this._options.removeOnDestroy) { this._popper.remove(); } return this; }; /** * Updates the position of the popper, computing the new offsets and applying the new style * @method * @memberof Popper */ Popper.prototype.update = function () { var data = { instance: this, styles: {} }; // store placement inside the data object, modifiers will be able to edit `placement` if needed // and refer to _originalPlacement to know the original value data.placement = this._options.placement; data._originalPlacement = this._options.placement; // compute the popper and reference offsets and put them inside data.offsets data.offsets = this._getOffsets(this._popper, this._reference, data.placement); // get boundaries data.boundaries = this._getBoundaries(data, this._options.boundariesPadding, this._options.boundariesElement); data = this.runModifiers(data, this._options.modifiers); if (typeof this.state.updateCallback === 'function') { this.state.updateCallback(data); } }; /** * If a function is passed, it will be executed after the initialization of popper with as first argument the Popper instance. * @method * @memberof Popper * @param {Function} callback */ Popper.prototype.onCreate = function (callback) { // the createCallbacks return as first argument the popper instance callback(this); return this; }; /** * If a function is passed, it will be executed after each update of popper with as first argument the set of coordinates and informations * used to style popper and its arrow. * NOTE: it doesn't get fired on the first call of the `Popper.update()` method inside the `Popper` constructor! * @method * @memberof Popper * @param {Function} callback */ Popper.prototype.onUpdate = function (callback) { this.state.updateCallback = callback; return this; }; /** * Helper used to generate poppers from a configuration file * @method * @memberof Popper * @param config {Object} configuration * @returns {HTMLElement} popper */ Popper.prototype.parse = function (config) { var defaultConfig = { tagName: 'div', classNames: ['popper'], attributes: [], parent: root.document.body, content: '', contentType: 'text', arrowTagName: 'div', arrowClassNames: ['popper__arrow'], arrowAttributes: ['x-arrow'] }; config = Object.assign({}, defaultConfig, config); var d = root.document; var popper = d.createElement(config.tagName); addClassNames(popper, config.classNames); addAttributes(popper, config.attributes); if (config.contentType === 'node') { popper.appendChild(config.content.jquery ? config.content[0] : config.content); } else if (config.contentType === 'html') { popper.innerHTML = config.content; } else { popper.textContent = config.content; } if (config.arrowTagName) { var arrow = d.createElement(config.arrowTagName); addClassNames(arrow, config.arrowClassNames); addAttributes(arrow, config.arrowAttributes); popper.appendChild(arrow); } var parent = config.parent.jquery ? config.parent[0] : config.parent; // if the given parent is a string, use it to match an element // if more than one element is matched, the first one will be used as parent // if no elements are matched, the script will throw an error if (typeof parent === 'string') { parent = d.querySelectorAll(config.parent); if (parent.length > 1) { console.warn('WARNING: the given `parent` query(' + config.parent + ') matched more than one element, the first one will be used'); } if (parent.length === 0) { throw 'ERROR: the given `parent` doesn\'t exists!'; } parent = parent[0]; } // if the given parent is a DOM nodes list or an array of nodes with more than one element, // the first one will be used as parent if (parent.length > 1 && parent instanceof Element === false) { console.warn('WARNING: you have passed as parent a list of elements, the first one will be used'); parent = parent[0]; } // append the generated popper to its parent parent.appendChild(popper); return popper; /** * Adds class names to the given element * @function * @ignore * @param {HTMLElement} target * @param {Array} classes */ function addClassNames(element, classNames) { classNames.forEach(function (className) { element.classList.add(className); }); } /** * Adds attributes to the given element * @function * @ignore * @param {HTMLElement} target * @param {Array} attributes * @example * addAttributes(element, [ 'data-info:foobar' ]); */ function addAttributes(element, attributes) { attributes.forEach(function (attribute) { element.setAttribute(attribute.split(':')[0], attribute.split(':')[1] || ''); }); } }; /** * Helper used to get the position which will be applied to the popper * @method * @memberof Popper * @param config {HTMLElement} popper element * @param reference {HTMLElement} reference element * @returns {String} position */ Popper.prototype._getPosition = function (popper, reference) { var container = getOffsetParent(reference); if (this._options.forceAbsolute) { return 'absolute'; } // Decide if the popper will be fixed // If the reference element is inside a fixed context, the popper will be fixed as well to allow them to scroll together var isParentFixed = isFixed(reference, container); return isParentFixed ? 'fixed' : 'absolute'; }; /** * Get offsets to the popper * @method * @memberof Popper * @access private * @param {Element} popper - the popper element * @param {Element} reference - the reference element (the popper will be relative to this) * @returns {Object} An object containing the offsets which will be applied to the popper */ Popper.prototype._getOffsets = function (popper, reference, placement) { placement = placement.split('-')[0]; var popperOffsets = {}; popperOffsets.position = this.state.position; var isParentFixed = popperOffsets.position === 'fixed'; // // Get reference element position // var referenceOffsets = getOffsetRectRelativeToCustomParent(reference, getOffsetParent(popper), isParentFixed); // // Get popper sizes // var popperRect = getOuterSizes(popper); // // Compute offsets of popper // // depending by the popper placement we have to compute its offsets slightly differently if (['right', 'left'].indexOf(placement) !== -1) { popperOffsets.top = referenceOffsets.top + referenceOffsets.height / 2 - popperRect.height / 2; if (placement === 'left') { popperOffsets.left = referenceOffsets.left - popperRect.width; } else { popperOffsets.left = referenceOffsets.right; } } else { popperOffsets.left = referenceOffsets.left + referenceOffsets.width / 2 - popperRect.width / 2; if (placement === 'top') { popperOffsets.top = referenceOffsets.top - popperRect.height; } else { popperOffsets.top = referenceOffsets.bottom; } } // Add width and height to our offsets object popperOffsets.width = popperRect.width; popperOffsets.height = popperRect.height; return { popper: popperOffsets, reference: referenceOffsets }; }; /** * Setup needed event listeners used to update the popper position * @method * @memberof Popper * @access private */ Popper.prototype._setupEventListeners = function () { // NOTE: 1 DOM access here this.state.updateBound = this.update.bind(this); root.addEventListener('resize', this.state.updateBound); // if the boundariesElement is window we don't need to listen for the scroll event if (this._options.boundariesElement !== 'window') { var target = getScrollParent(this._reference); // here it could be both `body` or `documentElement` thanks to Firefox, we then check both if (target === root.document.body || target === root.document.documentElement) { target = root; } target.addEventListener('scroll', this.state.updateBound); this.state.scrollTarget = target; } }; /** * Remove event listeners used to update the popper position * @method * @memberof Popper * @access private */ Popper.prototype._removeEventListeners = function () { // NOTE: 1 DOM access here root.removeEventListener('resize', this.state.updateBound); if (this._options.boundariesElement !== 'window' && this.state.scrollTarget) { this.state.scrollTarget.removeEventListener('scroll', this.state.updateBound); this.state.scrollTarget = null; } this.state.updateBound = null; }; /** * Computed the boundaries limits and return them * @method * @memberof Popper * @access private * @param {Object} data - Object containing the property "offsets" generated by `_getOffsets` * @param {Number} padding - Boundaries padding * @param {Element} boundariesElement - Element used to define the boundaries * @returns {Object} Coordinates of the boundaries */ Popper.prototype._getBoundaries = function (data, padding, boundariesElement) { // NOTE: 1 DOM access here var boundaries = {}; var width, height; if (boundariesElement === 'window') { var body = root.document.body, html = root.document.documentElement; height = Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight); width = Math.max(body.scrollWidth, body.offsetWidth, html.clientWidth, html.scrollWidth, html.offsetWidth); boundaries = { top: 0, right: width, bottom: height, left: 0 }; } else if (boundariesElement === 'viewport') { var offsetParent = getOffsetParent(this._popper); var scrollParent = getScrollParent(this._popper); var offsetParentRect = getOffsetRect(offsetParent); // Thanks the fucking native API, `document.body.scrollTop` & `document.documentElement.scrollTop` var getScrollTopValue = function getScrollTopValue(element) { return element == document.body ? Math.max(document.documentElement.scrollTop, document.body.scrollTop) : element.scrollTop; }; var getScrollLeftValue = function getScrollLeftValue(element) { return element == document.body ? Math.max(document.documentElement.scrollLeft, document.body.scrollLeft) : element.scrollLeft; }; // if the popper is fixed we don't have to substract scrolling from the boundaries var scrollTop = data.offsets.popper.position === 'fixed' ? 0 : getScrollTopValue(scrollParent); var scrollLeft = data.offsets.popper.position === 'fixed' ? 0 : getScrollLeftValue(scrollParent); boundaries = { top: 0 - (offsetParentRect.top - scrollTop), right: root.document.documentElement.clientWidth - (offsetParentRect.left - scrollLeft), bottom: root.document.documentElement.clientHeight - (offsetParentRect.top - scrollTop), left: 0 - (offsetParentRect.left - scrollLeft) }; } else { if (getOffsetParent(this._popper) === boundariesElement) { boundaries = { top: 0, left: 0, right: boundariesElement.clientWidth, bottom: boundariesElement.clientHeight }; } else { boundaries = getOffsetRect(boundariesElement); } } boundaries.left += padding; boundaries.right -= padding; boundaries.top = boundaries.top + padding; boundaries.bottom = boundaries.bottom - padding; return boundaries; }; /** * Loop trough the list of modifiers and run them in order, each of them will then edit the data object * @method * @memberof Popper * @access public * @param {Object} data * @param {Array} modifiers * @param {Function} ends */ Popper.prototype.runModifiers = function (data, modifiers, ends) { var modifiersToRun = modifiers.slice(); if (ends !== undefined) { modifiersToRun = this._options.modifiers.slice(0, getArrayKeyIndex(this._options.modifiers, ends)); } modifiersToRun.forEach(function (modifier) { if (isFunction(modifier)) { data = modifier.call(this, data); } }.bind(this)); return data; }; /** * Helper used to know if the given modifier depends from another one. * @method * @memberof Popper * @param {String} requesting - name of requesting modifier * @param {String} requested - name of requested modifier * @returns {Boolean} */ Popper.prototype.isModifierRequired = function (requesting, requested) { var index = getArrayKeyIndex(this._options.modifiers, requesting); return !!this._options.modifiers.slice(0, index).filter(function (modifier) { return modifier === requested; }).length; }; // // Modifiers // /** * Modifiers list * @namespace Popper.modifiers * @memberof Popper * @type {Object} */ Popper.prototype.modifiers = {}; /** * Apply the computed styles to the popper element * @method * @memberof Popper.modifiers * @argument {Object} data - The data object generated by `update` method * @returns {Object} The same data object */ Popper.prototype.modifiers.applyStyle = function (data) { // apply the final offsets to the popper // NOTE: 1 DOM access here var styles = { position: data.offsets.popper.position }; // round top and left to avoid blurry text var left = Math.round(data.offsets.popper.left); var top = Math.round(data.offsets.popper.top); // if gpuAcceleration is set to true and transform is supported, we use `translate3d` to apply the position to the popper // we automatically use the supported prefixed version if needed var prefixedProperty; if (this._options.gpuAcceleration && (prefixedProperty = getSupportedPropertyName('transform'))) { styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)'; styles.top = 0; styles.left = 0; } // othwerise, we use the standard `left` and `top` properties else { styles.left = left; styles.top = top; } // any property present in `data.styles` will be applied to the popper, // in this way we can make the 3rd party modifiers add custom styles to it // Be aware, modifiers could override the properties defined in the previous // lines of this modifier! Object.assign(styles, data.styles); setStyle(this._popper, styles); // set an attribute which will be useful to style the tooltip (use it to properly position its arrow) // NOTE: 1 DOM access here this._popper.setAttribute('x-placement', data.placement); // if the arrow modifier is required and the arrow style has been computed, apply the arrow style if (this.isModifierRequired(this.modifiers.applyStyle, this.modifiers.arrow) && data.offsets.arrow) { setStyle(data.arrowElement, data.offsets.arrow); } return data; }; /** * Modifier used to shift the popper on the start or end of its reference element side * @method * @memberof Popper.modifiers * @argument {Object} data - The data object generated by `update` method * @returns {Object} The data object, properly modified */ Popper.prototype.modifiers.shift = function (data) { var placement = data.placement; var basePlacement = placement.split('-')[0]; var shiftVariation = placement.split('-')[1]; // if shift shiftVariation is specified, run the modifier if (shiftVariation) { var reference = data.offsets.reference; var popper = getPopperClientRect(data.offsets.popper); var shiftOffsets = { y: { start: { top: reference.top }, end: { top: reference.top + reference.height - popper.height } }, x: { start: { left: reference.left }, end: { left: reference.left + reference.width - popper.width } } }; var axis = ['bottom', 'top'].indexOf(basePlacement) !== -1 ? 'x' : 'y'; data.offsets.popper = Object.assign(popper, shiftOffsets[axis][shiftVariation]); } return data; }; /** * Modifier used to make sure the popper does not overflows from it's boundaries * @method * @memberof Popper.modifiers * @argument {Object} data - The data object generated by `update` method * @returns {Object} The data object, properly modified */ Popper.prototype.modifiers.preventOverflow = function (data) { var order = this._options.preventOverflowOrder; var popper = getPopperClientRect(data.offsets.popper); var check = { left: function left() { var left = popper.left; if (popper.left < data.boundaries.left) { left = Math.max(popper.left, data.boundaries.left); } return { left: left }; }, right: function right() { var left = popper.left; if (popper.right > data.boundaries.right) { left = Math.min(popper.left, data.boundaries.right - popper.width); } return { left: left }; }, top: function top() { var top = popper.top; if (popper.top < data.boundaries.top) { top = Math.max(popper.top, data.boundaries.top); } return { top: top }; }, bottom: function bottom() { var top = popper.top; if (popper.bottom > data.boundaries.bottom) { top = Math.min(popper.top, data.boundaries.bottom - popper.height); } return { top: top }; } }; order.forEach(function (direction) { data.offsets.popper = Object.assign(popper, check[direction]()); }); return data; }; /** * Modifier used to make sure the popper is always near its reference * @method * @memberof Popper.modifiers * @argument {Object} data - The data object generated by _update method * @returns {Object} The data object, properly modified */ Popper.prototype.modifiers.keepTogether = function (data) { var popper = getPopperClientRect(data.offsets.popper); var reference = data.offsets.reference; var f = Math.floor; if (popper.right < f(reference.left)) { data.offsets.popper.left = f(reference.left) - popper.width; } if (popper.left > f(reference.right)) { data.offsets.popper.left = f(reference.right); } if (popper.bottom < f(reference.top)) { data.offsets.popper.top = f(reference.top) - popper.height; } if (popper.top > f(reference.bottom)) { data.offsets.popper.top = f(reference.bottom); } return data; }; /** * Modifier used to flip the placement of the popper when the latter is starting overlapping its reference element. * Requires the `preventOverflow` modifier before it in order to work. * **NOTE:** This modifier will run all its previous modifiers everytime it tries to flip the popper! * @method * @memberof Popper.modifiers * @argument {Object} data - The data object generated by _update method * @returns {Object} The data object, properly modified */ Popper.prototype.modifiers.flip = function (data) { // check if preventOverflow is in the list of modifiers before the flip modifier. // otherwise flip would not work as expected. if (!this.isModifierRequired(this.modifiers.flip, this.modifiers.preventOverflow)) { console.warn('WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!'); return data; } if (data.flipped && data.placement === data._originalPlacement) { // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides return data; } var placement = data.placement.split('-')[0]; var placementOpposite = getOppositePlacement(placement); var variation = data.placement.split('-')[1] || ''; var flipOrder = []; if (this._options.flipBehavior === 'flip') { flipOrder = [placement, placementOpposite]; } else { flipOrder = this._options.flipBehavior; } flipOrder.forEach(function (step, index) { if (placement !== step || flipOrder.length === index + 1) { return; } placement = data.placement.split('-')[0]; placementOpposite = getOppositePlacement(placement); var popperOffsets = getPopperClientRect(data.offsets.popper); // this boolean is used to distinguish right and bottom from top and left // they need different computations to get flipped var a = ['right', 'bottom'].indexOf(placement) !== -1; // using Math.floor because the reference offsets may contain decimals we are not going to consider here if (a && Math.floor(data.offsets.reference[placement]) > Math.floor(popperOffsets[placementOpposite]) || !a && Math.floor(data.offsets.reference[placement]) < Math.floor(popperOffsets[placementOpposite])) { // we'll use this boolean to detect any flip loop data.flipped = true; data.placement = flipOrder[index + 1]; if (variation) { data.placement += '-' + variation; } data.offsets.popper = this._getOffsets(this._popper, this._reference, data.placement).popper; data = this.runModifiers(data, this._options.modifiers, this._flip); } }.bind(this)); return data; }; /** * Modifier used to add an offset to the popper, useful if you more granularity positioning your popper. * The offsets will shift the popper on the side of its reference element. * @method * @memberof Popper.modifiers * @argument {Object} data - The data object generated by _update method * @returns {Object} The data object, properly modified */ Popper.prototype.modifiers.offset = function (data) { var offset = this._options.offset; var popper = data.offsets.popper; if (data.placement.indexOf('left') !== -1) { popper.top -= offset; } else if (data.placement.indexOf('right') !== -1) { popper.top += offset; } else if (data.placement.indexOf('top') !== -1) { popper.left -= offset; } else if (data.placement.indexOf('bottom') !== -1) { popper.left += offset; } return data; }; /** * Modifier used to move the arrows on the edge of the popper to make sure them are always between the popper and the reference element * It will use the CSS outer size of the arrow element to know how many pixels of conjuction are needed * @method * @memberof Popper.modifiers * @argument {Object} data - The data object generated by _update method * @returns {Object} The data object, properly modified */ Popper.prototype.modifiers.arrow = function (data) { var arrow = this._options.arrowElement; var arrowOffset = this._options.arrowOffset; // if the arrowElement is a string, suppose it's a CSS selector if (typeof arrow === 'string') { arrow = this._popper.querySelector(arrow); } // if arrow element is not found, don't run the modifier if (!arrow) { return data; } // the arrow element must be child of its popper if (!this._popper.contains(arrow)) { console.warn('WARNING: `arrowElement` must be child of its popper element!'); return data; } // arrow depends on keepTogether in order to work if (!this.isModifierRequired(this.modifiers.arrow, this.modifiers.keepTogether)) { console.warn('WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!'); return data; } var arrowStyle = {}; var placement = data.placement.split('-')[0]; var popper = getPopperClientRect(data.offsets.popper); var reference = data.offsets.reference; var isVertical = ['left', 'right'].indexOf(placement) !== -1; var len = isVertical ? 'height' : 'width'; var side = isVertical ? 'top' : 'left'; var translate = isVertical ? 'translateY' : 'translateX'; var altSide = isVertical ? 'left' : 'top'; var opSide = isVertical ? 'bottom' : 'right'; var arrowSize = getOuterSizes(arrow)[len]; // // extends keepTogether behavior making sure the popper and its reference have enough pixels in conjuction // // top/left side if (reference[opSide] - arrowSize < popper[side]) { data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowSize); } // bottom/right side if (reference[side] + arrowSize > popper[opSide]) { data.offsets.popper[side] += reference[side] + arrowSize - popper[opSide]; } // compute center of the popper var center = reference[side] + (arrowOffset || reference[len] / 2 - arrowSize / 2); var sideValue = center - popper[side]; // prevent arrow from being placed not contiguously to its popper sideValue = Math.max(Math.min(popper[len] - arrowSize - 8, sideValue), 8); arrowStyle[side] = sideValue; arrowStyle[altSide] = ''; // make sure to remove any old style from the arrow data.offsets.arrow = arrowStyle; data.arrowElement = arrow; return data; }; // // Helpers // /** * Get the outer sizes of the given element (offset size + margins) * @function * @ignore * @argument {Element} element * @returns {Object} object containing width and height properties */ function getOuterSizes(element) { // NOTE: 1 DOM access here var _display = element.style.display, _visibility = element.style.visibility; element.style.display = 'block';element.style.visibility = 'hidden'; var calcWidthToForceRepaint = element.offsetWidth; // original method var styles = root.getComputedStyle(element); var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom); var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight); var result = { width: element.offsetWidth + y, height: element.offsetHeight + x }; // reset element styles element.style.display = _display;element.style.visibility = _visibility; return result; } /** * Get the opposite placement of the given one/ * @function * @ignore * @argument {String} placement * @returns {String} flipped placement */ function getOppositePlacement(placement) { var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; return placement.replace(/left|right|bottom|top/g, function (matched) { return hash[matched]; }); } /** * Given the popper offsets, generate an output similar to getBoundingClientRect * @function * @ignore * @argument {Object} popperOffsets * @returns {Object} ClientRect like output */ function getPopperClientRect(popperOffsets) { var offsets = Object.assign({}, popperOffsets); offsets.right = offsets.left + offsets.width; offsets.bottom = offsets.top + offsets.height; return offsets; } /** * Given an array and the key to find, returns its index * @function * @ignore * @argument {Array} arr * @argument keyToFind * @returns index or null */ function getArrayKeyIndex(arr, keyToFind) { var i = 0, key; for (key in arr) { if (arr[key] === keyToFind) { return i; } i++; } return null; } /** * Get CSS computed property of the given element * @function * @ignore * @argument {Eement} element * @argument {String} property */ function getStyleComputedProperty(element, property) { // NOTE: 1 DOM access here var css = root.getComputedStyle(element, null); return css[property]; } /** * Returns the offset parent of the given element * @function * @ignore * @argument {Element} element * @returns {Element} offset parent */ function getOffsetParent(element) { // NOTE: 1 DOM access here var offsetParent = element.offsetParent; return offsetParent === root.document.body || !offsetParent ? root.document.documentElement : offsetParent; } /** * Returns the scrolling parent of the given element * @function * @ignore * @argument {Element} element * @returns {Element} offset parent */ function getScrollParent(element) { var parent = element.parentNode; if (!parent) { return element; } if (parent === root.document) { // Firefox puts the scrollTOp value on `documentElement` instead of `body`, we then check which of them is // greater than 0 and return the proper element if (root.document.body.scrollTop || root.document.body.scrollLeft) { return root.document.body; } else { return root.document.documentElement; } } // Firefox want us to check `-x` and `-y` variations as well if (['scroll', 'auto'].indexOf(getStyleComputedProperty(parent, 'overflow')) !== -1 || ['scroll', 'auto'].indexOf(getStyleComputedProperty(parent, 'overflow-x')) !== -1 || ['scroll', 'auto'].indexOf(getStyleComputedProperty(parent, 'overflow-y')) !== -1) { // If the detected scrollParent is body, we perform an additional check on its parentNode // in this way we'll get body if the browser is Chrome-ish, or documentElement otherwise // fixes issue #65 return parent; } return getScrollParent(element.parentNode); } /** * Check if the given element is fixed or is inside a fixed parent * @function * @ignore * @argument {Element} element * @argument {Element} customContainer * @returns {Boolean} answer to "isFixed?" */ function isFixed(element) { if (element === root.document.body) { return false; } if (getStyleComputedProperty(element, 'position') === 'fixed') { return true; } return element.parentNode ? isFixed(element.parentNode) : element; } /** * Set the style to the given popper * @function * @ignore * @argument {Element} element - Element to apply the style to * @argument {Object} styles - Object with a list of properties and values which will be applied to the element */ function setStyle(element, styles) { function is_numeric(n) { return n !== '' && !isNaN(parseFloat(n)) && isFinite(n); } Object.keys(styles).forEach(function (prop) { var unit = ''; // add unit if the value is numeric and is one of the following if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && is_numeric(styles[prop])) { unit = 'px'; } element.style[prop] = styles[prop] + unit; }); } /** * Check if the given variable is a function * @function * @ignore * @argument {*} functionToCheck - variable to check * @returns {Boolean} answer to: is a function? */ function isFunction(functionToCheck) { var getType = {}; return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]'; } /** * Get the position of the given element, relative to its offset parent * @function * @ignore * @param {Element} element * @return {Object} position - Coordinates of the element and its `scrollTop` */ function getOffsetRect(element) { var elementRect = { width: element.offsetWidth, height: element.offsetHeight, left: element.offsetLeft, top: element.offsetTop }; elementRect.right = elementRect.left + elementRect.width; elementRect.bottom = elementRect.top + elementRect.height; // position return elementRect; } /** * Get bounding client rect of given element * @function * @ignore * @param {HTMLElement} element * @return {Object} client rect */ function getBoundingClientRect(element) { var rect = element.getBoundingClientRect(); // whether the IE version is lower than 11 var isIE = navigator.userAgent.indexOf("MSIE") != -1; // fix ie document bounding top always 0 bug var rectTop = isIE && element.tagName === 'HTML' ? -element.scrollTop : rect.top; return { left: rect.left, top: rectTop, right: rect.right, bottom: rect.bottom, width: rect.right - rect.left, height: rect.bottom - rectTop }; } /** * Given an element and one of its parents, return the offset * @function * @ignore * @param {HTMLElement} element * @param {HTMLElement} parent * @return {Object} rect */ function getOffsetRectRelativeToCustomParent(element, parent, fixed) { var elementRect = getBoundingClientRect(element); var parentRect = getBoundingClientRect(parent); if (fixed) { var scrollParent = getScrollParent(parent); parentRect.top += scrollParent.scrollTop; parentRect.bottom += scrollParent.scrollTop; parentRect.left += scrollParent.scrollLeft; parentRect.right += scrollParent.scrollLeft; } var rect = { top: elementRect.top - parentRect.top, left: elementRect.left - parentRect.left, bottom: elementRect.top - parentRect.top + elementRect.height, right: elementRect.left - parentRect.left + elementRect.width, width: elementRect.width, height: elementRect.height }; return rect; } /** * Get the prefixed supported property name * @function * @ignore * @argument {String} property (camelCase) * @returns {String} prefixed property (camelCase) */ function getSupportedPropertyName(property) { var prefixes = ['', 'ms', 'webkit', 'moz', 'o']; for (var i = 0; i < prefixes.length; i++) { var toCheck = prefixes[i] ? prefixes[i] + property.charAt(0).toUpperCase() + property.slice(1) : property; if (typeof root.document.body.style[toCheck] !== 'undefined') { return toCheck; } } return null; } /** * The Object.assign() method is used to copy the values of all enumerable own properties from one or more source * objects to a target object. It will return the target object. * This polyfill doesn't support symbol properties, since ES5 doesn't have symbols anyway * Source: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign * @function * @ignore */ if (!Object.assign) { Object.defineProperty(Object, 'assign', { enumerable: false, configurable: true, writable: true, value: function value(target) { if (target === undefined || target === null) { throw new TypeError('Cannot convert first argument to object'); } var to = Object(target); for (var i = 1; i < arguments.length; i++) { var nextSource = arguments[i]; if (nextSource === undefined || nextSource === null) { continue; } nextSource = Object(nextSource); var keysArray = Object.keys(nextSource); for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex++) { var nextKey = keysArray[nextIndex]; var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey); if (desc !== undefined && desc.enumerable) { to[nextKey] = nextSource[nextKey]; } } } return to; } }); } return Popper; }); /***/ }), /* 276 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* WEBPACK VAR INJECTION */(function(global) {/** * A collection of shims that provide minimal functionality of the ES6 collections. * * These implementations are not meant to be used outside of the ResizeObserver * modules as they cover only a limited range of use cases. */ /* eslint-disable require-jsdoc, valid-jsdoc */ var MapShim = (function () { if (typeof Map !== 'undefined') { return Map; } /** * Returns index in provided array that matches the specified key. * * @param {Array<Array>} arr * @param {*} key * @returns {number} */ function getIndex(arr, key) { var result = -1; arr.some(function (entry, index) { if (entry[0] === key) { result = index; return true; } return false; }); return result; } return /** @class */ (function () { function class_1() { this.__entries__ = []; } Object.defineProperty(class_1.prototype, "size", { /** * @returns {boolean} */ get: function () { return this.__entries__.length; }, enumerable: true, configurable: true }); /** * @param {*} key * @returns {*} */ class_1.prototype.get = function (key) { var index = getIndex(this.__entries__, key); var entry = this.__entries__[index]; return entry && entry[1]; }; /** * @param {*} key * @param {*} value * @returns {void} */ class_1.prototype.set = function (key, value) { var index = getIndex(this.__entries__, key); if (~index) { this.__entries__[index][1] = value; } else { this.__entries__.push([key, value]); } }; /** * @param {*} key * @returns {void} */ class_1.prototype.delete = function (key) { var entries = this.__entries__; var index = getIndex(entries, key); if (~index) { entries.splice(index, 1); } }; /** * @param {*} key * @returns {void} */ class_1.prototype.has = function (key) { return !!~getIndex(this.__entries__, key); }; /** * @returns {void} */ class_1.prototype.clear = function () { this.__entries__.splice(0); }; /** * @param {Function} callback * @param {*} [ctx=null] * @returns {void} */ class_1.prototype.forEach = function (callback, ctx) { if (ctx === void 0) { ctx = null; } for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) { var entry = _a[_i]; callback.call(ctx, entry[1], entry[0]); } }; return class_1; }()); })(); /** * Detects whether window and document objects are available in current environment. */ var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document; // Returns global object of a current environment. var global$1 = (function () { if (typeof global !== 'undefined' && global.Math === Math) { return global; } if (typeof self !== 'undefined' && self.Math === Math) { return self; } if (typeof window !== 'undefined' && window.Math === Math) { return window; } // eslint-disable-next-line no-new-func return Function('return this')(); })(); /** * A shim for the requestAnimationFrame which falls back to the setTimeout if * first one is not supported. * * @returns {number} Requests' identifier. */ var requestAnimationFrame$1 = (function () { if (typeof requestAnimationFrame === 'function') { // It's required to use a bounded function because IE sometimes throws // an "Invalid calling object" error if rAF is invoked without the global // object on the left hand side. return requestAnimationFrame.bind(global$1); } return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); }; })(); // Defines minimum timeout before adding a trailing call. var trailingTimeout = 2; /** * Creates a wrapper function which ensures that provided callback will be * invoked only once during the specified delay period. * * @param {Function} callback - Function to be invoked after the delay period. * @param {number} delay - Delay after which to invoke callback. * @returns {Function} */ function throttle (callback, delay) { var leadingCall = false, trailingCall = false, lastCallTime = 0; /** * Invokes the original callback function and schedules new invocation if * the "proxy" was called during current request. * * @returns {void} */ function resolvePending() { if (leadingCall) { leadingCall = false; callback(); } if (trailingCall) { proxy(); } } /** * Callback invoked after the specified delay. It will further postpone * invocation of the original function delegating it to the * requestAnimationFrame. * * @returns {void} */ function timeoutCallback() { requestAnimationFrame$1(resolvePending); } /** * Schedules invocation of the original function. * * @returns {void} */ function proxy() { var timeStamp = Date.now(); if (leadingCall) { // Reject immediately following calls. if (timeStamp - lastCallTime < trailingTimeout) { return; } // Schedule new call to be in invoked when the pending one is resolved. // This is important for "transitions" which never actually start // immediately so there is a chance that we might miss one if change // happens amids the pending invocation. trailingCall = true; } else { leadingCall = true; trailingCall = false; setTimeout(timeoutCallback, delay); } lastCallTime = timeStamp; } return proxy; } // Minimum delay before invoking the update of observers. var REFRESH_DELAY = 20; // A list of substrings of CSS properties used to find transition events that // might affect dimensions of observed elements. var transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight']; // Check if MutationObserver is available. var mutationObserverSupported = typeof MutationObserver !== 'undefined'; /** * Singleton controller class which handles updates of ResizeObserver instances. */ var ResizeObserverController = /** @class */ (function () { /** * Creates a new instance of ResizeObserverController. * * @private */ function ResizeObserverController() { /** * Indicates whether DOM listeners have been added. * * @private {boolean} */ this.connected_ = false; /** * Tells that controller has subscribed for Mutation Events. * * @private {boolean} */ this.mutationEventsAdded_ = false; /** * Keeps reference to the instance of MutationObserver. * * @private {MutationObserver} */ this.mutationsObserver_ = null; /** * A list of connected observers. * * @private {Array<ResizeObserverSPI>} */ this.observers_ = []; this.onTransitionEnd_ = this.onTransitionEnd_.bind(this); this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY); } /** * Adds observer to observers list. * * @param {ResizeObserverSPI} observer - Observer to be added. * @returns {void} */ ResizeObserverController.prototype.addObserver = function (observer) { if (!~this.observers_.indexOf(observer)) { this.observers_.push(observer); } // Add listeners if they haven't been added yet. if (!this.connected_) { this.connect_(); } }; /** * Removes observer from observers list. * * @param {ResizeObserverSPI} observer - Observer to be removed. * @returns {void} */ ResizeObserverController.prototype.removeObserver = function (observer) { var observers = this.observers_; var index = observers.indexOf(observer); // Remove observer if it's present in registry. if (~index) { observers.splice(index, 1); } // Remove listeners if controller has no connected observers. if (!observers.length && this.connected_) { this.disconnect_(); } }; /** * Invokes the update of observers. It will continue running updates insofar * it detects changes. * * @returns {void} */ ResizeObserverController.prototype.refresh = function () { var changesDetected = this.updateObservers_(); // Continue running updates if changes have been detected as there might // be future ones caused by CSS transitions. if (changesDetected) { this.refresh(); } }; /** * Updates every observer from observers list and notifies them of queued * entries. * * @private * @returns {boolean} Returns "true" if any observer has detected changes in * dimensions of it's elements. */ ResizeObserverController.prototype.updateObservers_ = function () { // Collect observers that have active observations. var activeObservers = this.observers_.filter(function (observer) { return observer.gatherActive(), observer.hasActive(); }); // Deliver notifications in a separate cycle in order to avoid any // collisions between observers, e.g. when multiple instances of // ResizeObserver are tracking the same element and the callback of one // of them changes content dimensions of the observed target. Sometimes // this may result in notifications being blocked for the rest of observers. activeObservers.forEach(function (observer) { return observer.broadcastActive(); }); return activeObservers.length > 0; }; /** * Initializes DOM listeners. * * @private * @returns {void} */ ResizeObserverController.prototype.connect_ = function () { // Do nothing if running in a non-browser environment or if listeners // have been already added. if (!isBrowser || this.connected_) { return; } // Subscription to the "Transitionend" event is used as a workaround for // delayed transitions. This way it's possible to capture at least the // final state of an element. document.addEventListener('transitionend', this.onTransitionEnd_); window.addEventListener('resize', this.refresh); if (mutationObserverSupported) { this.mutationsObserver_ = new MutationObserver(this.refresh); this.mutationsObserver_.observe(document, { attributes: true, childList: true, characterData: true, subtree: true }); } else { document.addEventListener('DOMSubtreeModified', this.refresh); this.mutationEventsAdded_ = true; } this.connected_ = true; }; /** * Removes DOM listeners. * * @private * @returns {void} */ ResizeObserverController.prototype.disconnect_ = function () { // Do nothing if running in a non-browser environment or if listeners // have been already removed. if (!isBrowser || !this.connected_) { return; } document.removeEventListener('transitionend', this.onTransitionEnd_); window.removeEventListener('resize', this.refresh); if (this.mutationsObserver_) { this.mutationsObserver_.disconnect(); } if (this.mutationEventsAdded_) { document.removeEventListener('DOMSubtreeModified', this.refresh); } this.mutationsObserver_ = null; this.mutationEventsAdded_ = false; this.connected_ = false; }; /** * "Transitionend" event handler. * * @private * @param {TransitionEvent} event * @returns {void} */ ResizeObserverController.prototype.onTransitionEnd_ = function (_a) { var _b = _a.propertyName, propertyName = _b === void 0 ? '' : _b; // Detect whether transition may affect dimensions of an element. var isReflowProperty = transitionKeys.some(function (key) { return !!~propertyName.indexOf(key); }); if (isReflowProperty) { this.refresh(); } }; /** * Returns instance of the ResizeObserverController. * * @returns {ResizeObserverController} */ ResizeObserverController.getInstance = function () { if (!this.instance_) { this.instance_ = new ResizeObserverController(); } return this.instance_; }; /** * Holds reference to the controller's instance. * * @private {ResizeObserverController} */ ResizeObserverController.instance_ = null; return ResizeObserverController; }()); /** * Defines non-writable/enumerable properties of the provided target object. * * @param {Object} target - Object for which to define properties. * @param {Object} props - Properties to be defined. * @returns {Object} Target object. */ var defineConfigurable = (function (target, props) { for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) { var key = _a[_i]; Object.defineProperty(target, key, { value: props[key], enumerable: false, writable: false, configurable: true }); } return target; }); /** * Returns the global object associated with provided element. * * @param {Object} target * @returns {Object} */ var getWindowOf = (function (target) { // Assume that the element is an instance of Node, which means that it // has the "ownerDocument" property from which we can retrieve a // corresponding global object. var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView; // Return the local global object if it's not possible extract one from // provided element. return ownerGlobal || global$1; }); // Placeholder of an empty content rectangle. var emptyRect = createRectInit(0, 0, 0, 0); /** * Converts provided string to a number. * * @param {number|string} value * @returns {number} */ function toFloat(value) { return parseFloat(value) || 0; } /** * Extracts borders size from provided styles. * * @param {CSSStyleDeclaration} styles * @param {...string} positions - Borders positions (top, right, ...) * @returns {number} */ function getBordersSize(styles) { var positions = []; for (var _i = 1; _i < arguments.length; _i++) { positions[_i - 1] = arguments[_i]; } return positions.reduce(function (size, position) { var value = styles['border-' + position + '-width']; return size + toFloat(value); }, 0); } /** * Extracts paddings sizes from provided styles. * * @param {CSSStyleDeclaration} styles * @returns {Object} Paddings box. */ function getPaddings(styles) { var positions = ['top', 'right', 'bottom', 'left']; var paddings = {}; for (var _i = 0, positions_1 = positions; _i < positions_1.length; _i++) { var position = positions_1[_i]; var value = styles['padding-' + position]; paddings[position] = toFloat(value); } return paddings; } /** * Calculates content rectangle of provided SVG element. * * @param {SVGGraphicsElement} target - Element content rectangle of which needs * to be calculated. * @returns {DOMRectInit} */ function getSVGContentRect(target) { var bbox = target.getBBox(); return createRectInit(0, 0, bbox.width, bbox.height); } /** * Calculates content rectangle of provided HTMLElement. * * @param {HTMLElement} target - Element for which to calculate the content rectangle. * @returns {DOMRectInit} */ function getHTMLElementContentRect(target) { // Client width & height properties can't be // used exclusively as they provide rounded values. var clientWidth = target.clientWidth, clientHeight = target.clientHeight; // By this condition we can catch all non-replaced inline, hidden and // detached elements. Though elements with width & height properties less // than 0.5 will be discarded as well. // // Without it we would need to implement separate methods for each of // those cases and it's not possible to perform a precise and performance // effective test for hidden elements. E.g. even jQuery's ':visible' filter // gives wrong results for elements with width & height less than 0.5. if (!clientWidth && !clientHeight) { return emptyRect; } var styles = getWindowOf(target).getComputedStyle(target); var paddings = getPaddings(styles); var horizPad = paddings.left + paddings.right; var vertPad = paddings.top + paddings.bottom; // Computed styles of width & height are being used because they are the // only dimensions available to JS that contain non-rounded values. It could // be possible to utilize the getBoundingClientRect if only it's data wasn't // affected by CSS transformations let alone paddings, borders and scroll bars. var width = toFloat(styles.width), height = toFloat(styles.height); // Width & height include paddings and borders when the 'border-box' box // model is applied (except for IE). if (styles.boxSizing === 'border-box') { // Following conditions are required to handle Internet Explorer which // doesn't include paddings and borders to computed CSS dimensions. // // We can say that if CSS dimensions + paddings are equal to the "client" // properties then it's either IE, and thus we don't need to subtract // anything, or an element merely doesn't have paddings/borders styles. if (Math.round(width + horizPad) !== clientWidth) { width -= getBordersSize(styles, 'left', 'right') + horizPad; } if (Math.round(height + vertPad) !== clientHeight) { height -= getBordersSize(styles, 'top', 'bottom') + vertPad; } } // Following steps can't be applied to the document's root element as its // client[Width/Height] properties represent viewport area of the window. // Besides, it's as well not necessary as the <html> itself neither has // rendered scroll bars nor it can be clipped. if (!isDocumentElement(target)) { // In some browsers (only in Firefox, actually) CSS width & height // include scroll bars size which can be removed at this step as scroll // bars are the only difference between rounded dimensions + paddings // and "client" properties, though that is not always true in Chrome. var vertScrollbar = Math.round(width + horizPad) - clientWidth; var horizScrollbar = Math.round(height + vertPad) - clientHeight; // Chrome has a rather weird rounding of "client" properties. // E.g. for an element with content width of 314.2px it sometimes gives // the client width of 315px and for the width of 314.7px it may give // 314px. And it doesn't happen all the time. So just ignore this delta // as a non-relevant. if (Math.abs(vertScrollbar) !== 1) { width -= vertScrollbar; } if (Math.abs(horizScrollbar) !== 1) { height -= horizScrollbar; } } return createRectInit(paddings.left, paddings.top, width, height); } /** * Checks whether provided element is an instance of the SVGGraphicsElement. * * @param {Element} target - Element to be checked. * @returns {boolean} */ var isSVGGraphicsElement = (function () { // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement // interface. if (typeof SVGGraphicsElement !== 'undefined') { return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; }; } // If it's so, then check that element is at least an instance of the // SVGElement and that it has the "getBBox" method. // eslint-disable-next-line no-extra-parens return function (target) { return (target instanceof getWindowOf(target).SVGElement && typeof target.getBBox === 'function'); }; })(); /** * Checks whether provided element is a document element (<html>). * * @param {Element} target - Element to be checked. * @returns {boolean} */ function isDocumentElement(target) { return target === getWindowOf(target).document.documentElement; } /** * Calculates an appropriate content rectangle for provided html or svg element. * * @param {Element} target - Element content rectangle of which needs to be calculated. * @returns {DOMRectInit} */ function getContentRect(target) { if (!isBrowser) { return emptyRect; } if (isSVGGraphicsElement(target)) { return getSVGContentRect(target); } return getHTMLElementContentRect(target); } /** * Creates rectangle with an interface of the DOMRectReadOnly. * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly * * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions. * @returns {DOMRectReadOnly} */ function createReadOnlyRect(_a) { var x = _a.x, y = _a.y, width = _a.width, height = _a.height; // If DOMRectReadOnly is available use it as a prototype for the rectangle. var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object; var rect = Object.create(Constr.prototype); // Rectangle's properties are not writable and non-enumerable. defineConfigurable(rect, { x: x, y: y, width: width, height: height, top: y, right: x + width, bottom: height + y, left: x }); return rect; } /** * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates. * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit * * @param {number} x - X coordinate. * @param {number} y - Y coordinate. * @param {number} width - Rectangle's width. * @param {number} height - Rectangle's height. * @returns {DOMRectInit} */ function createRectInit(x, y, width, height) { return { x: x, y: y, width: width, height: height }; } /** * Class that is responsible for computations of the content rectangle of * provided DOM element and for keeping track of it's changes. */ var ResizeObservation = /** @class */ (function () { /** * Creates an instance of ResizeObservation. * * @param {Element} target - Element to be observed. */ function ResizeObservation(target) { /** * Broadcasted width of content rectangle. * * @type {number} */ this.broadcastWidth = 0; /** * Broadcasted height of content rectangle. * * @type {number} */ this.broadcastHeight = 0; /** * Reference to the last observed content rectangle. * * @private {DOMRectInit} */ this.contentRect_ = createRectInit(0, 0, 0, 0); this.target = target; } /** * Updates content rectangle and tells whether it's width or height properties * have changed since the last broadcast. * * @returns {boolean} */ ResizeObservation.prototype.isActive = function () { var rect = getContentRect(this.target); this.contentRect_ = rect; return (rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight); }; /** * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data * from the corresponding properties of the last observed content rectangle. * * @returns {DOMRectInit} Last observed content rectangle. */ ResizeObservation.prototype.broadcastRect = function () { var rect = this.contentRect_; this.broadcastWidth = rect.width; this.broadcastHeight = rect.height; return rect; }; return ResizeObservation; }()); var ResizeObserverEntry = /** @class */ (function () { /** * Creates an instance of ResizeObserverEntry. * * @param {Element} target - Element that is being observed. * @param {DOMRectInit} rectInit - Data of the element's content rectangle. */ function ResizeObserverEntry(target, rectInit) { var contentRect = createReadOnlyRect(rectInit); // According to the specification following properties are not writable // and are also not enumerable in the native implementation. // // Property accessors are not being used as they'd require to define a // private WeakMap storage which may cause memory leaks in browsers that // don't support this type of collections. defineConfigurable(this, { target: target, contentRect: contentRect }); } return ResizeObserverEntry; }()); var ResizeObserverSPI = /** @class */ (function () { /** * Creates a new instance of ResizeObserver. * * @param {ResizeObserverCallback} callback - Callback function that is invoked * when one of the observed elements changes it's content dimensions. * @param {ResizeObserverController} controller - Controller instance which * is responsible for the updates of observer. * @param {ResizeObserver} callbackCtx - Reference to the public * ResizeObserver instance which will be passed to callback function. */ function ResizeObserverSPI(callback, controller, callbackCtx) { /** * Collection of resize observations that have detected changes in dimensions * of elements. * * @private {Array<ResizeObservation>} */ this.activeObservations_ = []; /** * Registry of the ResizeObservation instances. * * @private {Map<Element, ResizeObservation>} */ this.observations_ = new MapShim(); if (typeof callback !== 'function') { throw new TypeError('The callback provided as parameter 1 is not a function.'); } this.callback_ = callback; this.controller_ = controller; this.callbackCtx_ = callbackCtx; } /** * Starts observing provided element. * * @param {Element} target - Element to be observed. * @returns {void} */ ResizeObserverSPI.prototype.observe = function (target) { if (!arguments.length) { throw new TypeError('1 argument required, but only 0 present.'); } // Do nothing if current environment doesn't have the Element interface. if (typeof Element === 'undefined' || !(Element instanceof Object)) { return; } if (!(target instanceof getWindowOf(target).Element)) { throw new TypeError('parameter 1 is not of type "Element".'); } var observations = this.observations_; // Do nothing if element is already being observed. if (observations.has(target)) { return; } observations.set(target, new ResizeObservation(target)); this.controller_.addObserver(this); // Force the update of observations. this.controller_.refresh(); }; /** * Stops observing provided element. * * @param {Element} target - Element to stop observing. * @returns {void} */ ResizeObserverSPI.prototype.unobserve = function (target) { if (!arguments.length) { throw new TypeError('1 argument required, but only 0 present.'); } // Do nothing if current environment doesn't have the Element interface. if (typeof Element === 'undefined' || !(Element instanceof Object)) { return; } if (!(target instanceof getWindowOf(target).Element)) { throw new TypeError('parameter 1 is not of type "Element".'); } var observations = this.observations_; // Do nothing if element is not being observed. if (!observations.has(target)) { return; } observations.delete(target); if (!observations.size) { this.controller_.removeObserver(this); } }; /** * Stops observing all elements. * * @returns {void} */ ResizeObserverSPI.prototype.disconnect = function () { this.clearActive(); this.observations_.clear(); this.controller_.removeObserver(this); }; /** * Collects observation instances the associated element of which has changed * it's content rectangle. * * @returns {void} */ ResizeObserverSPI.prototype.gatherActive = function () { var _this = this; this.clearActive(); this.observations_.forEach(function (observation) { if (observation.isActive()) { _this.activeObservations_.push(observation); } }); }; /** * Invokes initial callback function with a list of ResizeObserverEntry * instances collected from active resize observations. * * @returns {void} */ ResizeObserverSPI.prototype.broadcastActive = function () { // Do nothing if observer doesn't have active observations. if (!this.hasActive()) { return; } var ctx = this.callbackCtx_; // Create ResizeObserverEntry instance for every active observation. var entries = this.activeObservations_.map(function (observation) { return new ResizeObserverEntry(observation.target, observation.broadcastRect()); }); this.callback_.call(ctx, entries, ctx); this.clearActive(); }; /** * Clears the collection of active observations. * * @returns {void} */ ResizeObserverSPI.prototype.clearActive = function () { this.activeObservations_.splice(0); }; /** * Tells whether observer has active observations. * * @returns {boolean} */ ResizeObserverSPI.prototype.hasActive = function () { return this.activeObservations_.length > 0; }; return ResizeObserverSPI; }()); // Registry of internal observers. If WeakMap is not available use current shim // for the Map collection as it has all required methods and because WeakMap // can't be fully polyfilled anyway. var observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim(); /** * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation * exposing only those methods and properties that are defined in the spec. */ var ResizeObserver = /** @class */ (function () { /** * Creates a new instance of ResizeObserver. * * @param {ResizeObserverCallback} callback - Callback that is invoked when * dimensions of the observed elements change. */ function ResizeObserver(callback) { if (!(this instanceof ResizeObserver)) { throw new TypeError('Cannot call a class as a function.'); } if (!arguments.length) { throw new TypeError('1 argument required, but only 0 present.'); } var controller = ResizeObserverController.getInstance(); var observer = new ResizeObserverSPI(callback, controller, this); observers.set(this, observer); } return ResizeObserver; }()); // Expose public methods of ResizeObserver. [ 'observe', 'unobserve', 'disconnect' ].forEach(function (method) { ResizeObserver.prototype[method] = function () { var _a; return (_a = observers.get(this))[method].apply(_a, arguments); }; }); var index = (function () { // Export existing implementation if available. if (typeof global$1.ResizeObserver !== 'undefined') { return global$1.ResizeObserver; } return ResizeObserver; })(); /* harmony default export */ __webpack_exports__["default"] = (index); /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(27))) /***/ }), /* 277 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 91); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 3: /***/ (function(module, exports) { module.exports = __webpack_require__(45); /***/ }), /***/ 91: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "label", { staticClass: "el-checkbox", class: [ _vm.border && _vm.checkboxSize ? "el-checkbox--" + _vm.checkboxSize : "", { "is-disabled": _vm.isDisabled }, { "is-bordered": _vm.border }, { "is-checked": _vm.isChecked } ], attrs: { role: "checkbox", "aria-checked": _vm.indeterminate ? "mixed" : _vm.isChecked, "aria-disabled": _vm.isDisabled, id: _vm.id } }, [ _c( "span", { staticClass: "el-checkbox__input", class: { "is-disabled": _vm.isDisabled, "is-checked": _vm.isChecked, "is-indeterminate": _vm.indeterminate, "is-focus": _vm.focus }, attrs: { "aria-checked": "mixed" } }, [ _c("span", { staticClass: "el-checkbox__inner" }), _vm.trueLabel || _vm.falseLabel ? _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.model, expression: "model" } ], staticClass: "el-checkbox__original", attrs: { type: "checkbox", "aria-hidden": "true", name: _vm.name, disabled: _vm.isDisabled, "true-value": _vm.trueLabel, "false-value": _vm.falseLabel }, domProps: { checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, null) > -1 : _vm._q(_vm.model, _vm.trueLabel) }, on: { change: [ function($event) { var $$a = _vm.model, $$el = $event.target, $$c = $$el.checked ? _vm.trueLabel : _vm.falseLabel if (Array.isArray($$a)) { var $$v = null, $$i = _vm._i($$a, $$v) if ($$el.checked) { $$i < 0 && (_vm.model = $$a.concat([$$v])) } else { $$i > -1 && (_vm.model = $$a .slice(0, $$i) .concat($$a.slice($$i + 1))) } } else { _vm.model = $$c } }, _vm.handleChange ], focus: function($event) { _vm.focus = true }, blur: function($event) { _vm.focus = false } } }) : _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.model, expression: "model" } ], staticClass: "el-checkbox__original", attrs: { type: "checkbox", "aria-hidden": "true", disabled: _vm.isDisabled, name: _vm.name }, domProps: { value: _vm.label, checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, _vm.label) > -1 : _vm.model }, on: { change: [ function($event) { var $$a = _vm.model, $$el = $event.target, $$c = $$el.checked ? true : false if (Array.isArray($$a)) { var $$v = _vm.label, $$i = _vm._i($$a, $$v) if ($$el.checked) { $$i < 0 && (_vm.model = $$a.concat([$$v])) } else { $$i > -1 && (_vm.model = $$a .slice(0, $$i) .concat($$a.slice($$i + 1))) } } else { _vm.model = $$c } }, _vm.handleChange ], focus: function($event) { _vm.focus = true }, blur: function($event) { _vm.focus = false } } }) ] ), _vm.$slots.default || _vm.label ? _c( "span", { staticClass: "el-checkbox__label" }, [ _vm._t("default"), !_vm.$slots.default ? [_vm._v(_vm._s(_vm.label))] : _vm._e() ], 2 ) : _vm._e() ] ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074& // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" var emitter_ = __webpack_require__(3); var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var checkboxvue_type_script_lang_js_ = ({ name: 'ElCheckbox', mixins: [emitter_default.a], inject: { elForm: { default: '' }, elFormItem: { default: '' } }, componentName: 'ElCheckbox', data: function data() { return { selfModel: false, focus: false, isLimitExceeded: false }; }, computed: { model: { get: function get() { return this.isGroup ? this.store : this.value !== undefined ? this.value : this.selfModel; }, set: function set(val) { if (this.isGroup) { this.isLimitExceeded = false; this._checkboxGroup.min !== undefined && val.length < this._checkboxGroup.min && (this.isLimitExceeded = true); this._checkboxGroup.max !== undefined && val.length > this._checkboxGroup.max && (this.isLimitExceeded = true); this.isLimitExceeded === false && this.dispatch('ElCheckboxGroup', 'input', [val]); } else { this.$emit('input', val); this.selfModel = val; } } }, isChecked: function isChecked() { if ({}.toString.call(this.model) === '[object Boolean]') { return this.model; } else if (Array.isArray(this.model)) { return this.model.indexOf(this.label) > -1; } else if (this.model !== null && this.model !== undefined) { return this.model === this.trueLabel; } }, isGroup: function isGroup() { var parent = this.$parent; while (parent) { if (parent.$options.componentName !== 'ElCheckboxGroup') { parent = parent.$parent; } else { this._checkboxGroup = parent; return true; } } return false; }, store: function store() { return this._checkboxGroup ? this._checkboxGroup.value : this.value; }, isDisabled: function isDisabled() { return this.isGroup ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled : this.disabled || (this.elForm || {}).disabled; }, _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, checkboxSize: function checkboxSize() { var temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; return this.isGroup ? this._checkboxGroup.checkboxGroupSize || temCheckboxSize : temCheckboxSize; } }, props: { value: {}, label: {}, indeterminate: Boolean, disabled: Boolean, checked: Boolean, name: String, trueLabel: [String, Number], falseLabel: [String, Number], id: String, /* 当indeterminate为真时,为controls提供相关连的checkbox的id,表明元素间的控制关系*/ controls: String, /* 当indeterminate为真时,为controls提供相关连的checkbox的id,表明元素间的控制关系*/ border: Boolean, size: String }, methods: { addToStore: function addToStore() { if (Array.isArray(this.model) && this.model.indexOf(this.label) === -1) { this.model.push(this.label); } else { this.model = this.trueLabel || true; } }, handleChange: function handleChange(ev) { var _this = this; if (this.isLimitExceeded) return; var value = void 0; if (ev.target.checked) { value = this.trueLabel === undefined ? true : this.trueLabel; } else { value = this.falseLabel === undefined ? false : this.falseLabel; } this.$emit('change', value, ev); this.$nextTick(function () { if (_this.isGroup) { _this.dispatch('ElCheckboxGroup', 'change', [_this._checkboxGroup.value]); } }); } }, created: function created() { this.checked && this.addToStore(); }, mounted: function mounted() { // 为indeterminate元素 添加aria-controls 属性 if (this.indeterminate) { this.$el.setAttribute('aria-controls', this.controls); } }, watch: { value: function value(_value) { this.dispatch('ElFormItem', 'el.form.change', _value); } } }); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js& /* harmony default export */ var src_checkboxvue_type_script_lang_js_ = (checkboxvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_checkboxvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/checkbox/src/checkbox.vue" /* harmony default export */ var src_checkbox = (component.exports); // CONCATENATED MODULE: ./packages/checkbox/index.js /* istanbul ignore next */ src_checkbox.install = function (Vue) { Vue.component(src_checkbox.name, src_checkbox); }; /* harmony default export */ var packages_checkbox = __webpack_exports__["default"] = (src_checkbox); /***/ }) /******/ }); /***/ }), /* 278 */ /***/ (function(module, exports) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 87); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 87: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=template&id=ca859fb4& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "button", { staticClass: "el-button", class: [ _vm.type ? "el-button--" + _vm.type : "", _vm.buttonSize ? "el-button--" + _vm.buttonSize : "", { "is-disabled": _vm.buttonDisabled, "is-loading": _vm.loading, "is-plain": _vm.plain, "is-round": _vm.round, "is-circle": _vm.circle } ], attrs: { disabled: _vm.buttonDisabled || _vm.loading, autofocus: _vm.autofocus, type: _vm.nativeType }, on: { click: _vm.handleClick } }, [ _vm.loading ? _c("i", { staticClass: "el-icon-loading" }) : _vm._e(), _vm.icon && !_vm.loading ? _c("i", { class: _vm.icon }) : _vm._e(), _vm.$slots.default ? _c("span", [_vm._t("default")], 2) : _vm._e() ] ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=template&id=ca859fb4& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var buttonvue_type_script_lang_js_ = ({ name: 'ElButton', inject: { elForm: { default: '' }, elFormItem: { default: '' } }, props: { type: { type: String, default: 'default' }, size: String, icon: { type: String, default: '' }, nativeType: { type: String, default: 'button' }, loading: Boolean, disabled: Boolean, plain: Boolean, autofocus: Boolean, round: Boolean, circle: Boolean }, computed: { _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, buttonSize: function buttonSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, buttonDisabled: function buttonDisabled() { return this.disabled || (this.elForm || {}).disabled; } }, methods: { handleClick: function handleClick(evt) { this.$emit('click', evt); } } }); // CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=script&lang=js& /* harmony default export */ var src_buttonvue_type_script_lang_js_ = (buttonvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/button/src/button.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_buttonvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/button/src/button.vue" /* harmony default export */ var src_button = (component.exports); // CONCATENATED MODULE: ./packages/button/index.js /* istanbul ignore next */ src_button.install = function (Vue) { Vue.component(src_button.name, src_button); }; /* harmony default export */ var packages_button = __webpack_exports__["default"] = (src_button); /***/ }) /******/ }); /***/ }), /* 279 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _dom = __webpack_require__(26); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var Transition = function () { function Transition() { _classCallCheck(this, Transition); } Transition.prototype.beforeEnter = function beforeEnter(el) { (0, _dom.addClass)(el, 'collapse-transition'); if (!el.dataset) el.dataset = {}; el.dataset.oldPaddingTop = el.style.paddingTop; el.dataset.oldPaddingBottom = el.style.paddingBottom; el.style.height = '0'; el.style.paddingTop = 0; el.style.paddingBottom = 0; }; Transition.prototype.enter = function enter(el) { el.dataset.oldOverflow = el.style.overflow; if (el.scrollHeight !== 0) { el.style.height = el.scrollHeight + 'px'; el.style.paddingTop = el.dataset.oldPaddingTop; el.style.paddingBottom = el.dataset.oldPaddingBottom; } else { el.style.height = ''; el.style.paddingTop = el.dataset.oldPaddingTop; el.style.paddingBottom = el.dataset.oldPaddingBottom; } el.style.overflow = 'hidden'; }; Transition.prototype.afterEnter = function afterEnter(el) { // for safari: remove class then reset height is necessary (0, _dom.removeClass)(el, 'collapse-transition'); el.style.height = ''; el.style.overflow = el.dataset.oldOverflow; }; Transition.prototype.beforeLeave = function beforeLeave(el) { if (!el.dataset) el.dataset = {}; el.dataset.oldPaddingTop = el.style.paddingTop; el.dataset.oldPaddingBottom = el.style.paddingBottom; el.dataset.oldOverflow = el.style.overflow; el.style.height = el.scrollHeight + 'px'; el.style.overflow = 'hidden'; }; Transition.prototype.leave = function leave(el) { if (el.scrollHeight !== 0) { // for safari: add class after set height, or it will jump to zero height suddenly, weired (0, _dom.addClass)(el, 'collapse-transition'); el.style.height = 0; el.style.paddingTop = 0; el.style.paddingBottom = 0; } }; Transition.prototype.afterLeave = function afterLeave(el) { (0, _dom.removeClass)(el, 'collapse-transition'); el.style.height = ''; el.style.overflow = el.dataset.oldOverflow; el.style.paddingTop = el.dataset.oldPaddingTop; el.style.paddingBottom = el.dataset.oldPaddingBottom; }; return Transition; }(); exports.default = { name: 'ElCollapseTransition', functional: true, render: function render(h, _ref) { var children = _ref.children; var data = { on: new Transition() }; return h('transition', data, children); } }; /***/ }), /* 280 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 112); /******/ }) /************************************************************************/ /******/ ({ /***/ 112: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: external "element-ui/lib/utils/vue-popper" var vue_popper_ = __webpack_require__(5); var vue_popper_default = /*#__PURE__*/__webpack_require__.n(vue_popper_); // EXTERNAL MODULE: external "throttle-debounce/debounce" var debounce_ = __webpack_require__(14); var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_); // EXTERNAL MODULE: external "element-ui/lib/utils/dom" var dom_ = __webpack_require__(2); // EXTERNAL MODULE: external "element-ui/lib/utils/vdom" var vdom_ = __webpack_require__(20); // EXTERNAL MODULE: external "element-ui/lib/utils/util" var util_ = __webpack_require__(4); // EXTERNAL MODULE: external "vue" var external_vue_ = __webpack_require__(6); var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_); // CONCATENATED MODULE: ./packages/tooltip/src/main.js /* harmony default export */ var main = ({ name: 'ElTooltip', mixins: [vue_popper_default.a], props: { openDelay: { type: Number, default: 0 }, disabled: Boolean, manual: Boolean, effect: { type: String, default: 'dark' }, arrowOffset: { type: Number, default: 0 }, popperClass: String, content: String, visibleArrow: { default: true }, transition: { type: String, default: 'el-fade-in-linear' }, popperOptions: { default: function _default() { return { boundariesPadding: 10, gpuAcceleration: false }; } }, enterable: { type: Boolean, default: true }, hideAfter: { type: Number, default: 0 } }, data: function data() { return { timeoutPending: null, focusing: false }; }, computed: { tooltipId: function tooltipId() { return 'el-tooltip-' + Object(util_["generateId"])(); } }, beforeCreate: function beforeCreate() { var _this = this; if (this.$isServer) return; this.popperVM = new external_vue_default.a({ data: { node: '' }, render: function render(h) { return this.node; } }).$mount(); this.debounceClose = debounce_default()(200, function () { return _this.handleClosePopper(); }); }, render: function render(h) { var _this2 = this; if (this.popperVM) { this.popperVM.node = h( 'transition', { attrs: { name: this.transition }, on: { 'afterLeave': this.doDestroy } }, [h( 'div', { on: { 'mouseleave': function mouseleave() { _this2.setExpectedState(false);_this2.debounceClose(); }, 'mouseenter': function mouseenter() { _this2.setExpectedState(true); } }, ref: 'popper', attrs: { role: 'tooltip', id: this.tooltipId, 'aria-hidden': this.disabled || !this.showPopper ? 'true' : 'false' }, directives: [{ name: 'show', value: !this.disabled && this.showPopper }], 'class': ['el-tooltip__popper', 'is-' + this.effect, this.popperClass] }, [this.$slots.content || this.content] )] ); } if (!this.$slots.default || !this.$slots.default.length) return this.$slots.default; var vnode = Object(vdom_["getFirstComponentChild"])(this.$slots.default); if (!vnode) return vnode; var data = vnode.data = vnode.data || {}; data.staticClass = this.concatClass(data.staticClass, 'el-tooltip'); return vnode; }, mounted: function mounted() { var _this3 = this; this.referenceElm = this.$el; if (this.$el.nodeType === 1) { this.$el.setAttribute('aria-describedby', this.tooltipId); this.$el.setAttribute('tabindex', 0); Object(dom_["on"])(this.referenceElm, 'mouseenter', this.show); Object(dom_["on"])(this.referenceElm, 'mouseleave', this.hide); Object(dom_["on"])(this.referenceElm, 'focus', function () { if (!_this3.$slots.default || !_this3.$slots.default.length) { _this3.handleFocus(); return; } var instance = _this3.$slots.default[0].componentInstance; if (instance && instance.focus) { instance.focus(); } else { _this3.handleFocus(); } }); Object(dom_["on"])(this.referenceElm, 'blur', this.handleBlur); Object(dom_["on"])(this.referenceElm, 'click', this.removeFocusing); } }, watch: { focusing: function focusing(val) { if (val) { Object(dom_["addClass"])(this.referenceElm, 'focusing'); } else { Object(dom_["removeClass"])(this.referenceElm, 'focusing'); } } }, methods: { show: function show() { this.setExpectedState(true); this.handleShowPopper(); }, hide: function hide() { this.setExpectedState(false); this.debounceClose(); }, handleFocus: function handleFocus() { this.focusing = true; this.show(); }, handleBlur: function handleBlur() { this.focusing = false; this.hide(); }, removeFocusing: function removeFocusing() { this.focusing = false; }, concatClass: function concatClass(a, b) { if (a && a.indexOf(b) > -1) return a; return a ? b ? a + ' ' + b : a : b || ''; }, handleShowPopper: function handleShowPopper() { var _this4 = this; if (!this.expectedState || this.manual) return; clearTimeout(this.timeout); this.timeout = setTimeout(function () { _this4.showPopper = true; }, this.openDelay); if (this.hideAfter > 0) { this.timeoutPending = setTimeout(function () { _this4.showPopper = false; }, this.hideAfter); } }, handleClosePopper: function handleClosePopper() { if (this.enterable && this.expectedState || this.manual) return; clearTimeout(this.timeout); if (this.timeoutPending) { clearTimeout(this.timeoutPending); } this.showPopper = false; if (this.disabled) { this.doDestroy(); } }, setExpectedState: function setExpectedState(expectedState) { if (expectedState === false) { clearTimeout(this.timeoutPending); } this.expectedState = expectedState; } }, beforeDestroy: function beforeDestroy() { this.popperVM && this.popperVM.$destroy(); }, destroyed: function destroyed() { var reference = this.referenceElm; Object(dom_["off"])(reference, 'mouseenter', this.show); Object(dom_["off"])(reference, 'mouseleave', this.hide); Object(dom_["off"])(reference, 'focus', this.handleFocus); Object(dom_["off"])(reference, 'blur', this.handleBlur); Object(dom_["off"])(reference, 'click', this.removeFocusing); } }); // CONCATENATED MODULE: ./packages/tooltip/index.js /* istanbul ignore next */ main.install = function (Vue) { Vue.component(main.name, main); }; /* harmony default export */ var tooltip = __webpack_exports__["default"] = (main); /***/ }), /***/ 14: /***/ (function(module, exports) { module.exports = __webpack_require__(97); /***/ }), /***/ 2: /***/ (function(module, exports) { module.exports = __webpack_require__(26); /***/ }), /***/ 20: /***/ (function(module, exports) { module.exports = __webpack_require__(116); /***/ }), /***/ 4: /***/ (function(module, exports) { module.exports = __webpack_require__(39); /***/ }), /***/ 5: /***/ (function(module, exports) { module.exports = __webpack_require__(93); /***/ }), /***/ 6: /***/ (function(module, exports) { module.exports = __webpack_require__(4); /***/ }) /******/ }); /***/ }), /* 281 */ /***/ (function(module, exports) { var nestRE = /^(attrs|props|on|nativeOn|class|style|hook)$/ module.exports = function mergeJSXProps (objs) { return objs.reduce(function (a, b) { var aa, bb, key, nestedKey, temp for (key in b) { aa = a[key] bb = b[key] if (aa && nestRE.test(key)) { // normalize class if (key === 'class') { if (typeof aa === 'string') { temp = aa a[key] = aa = {} aa[temp] = true } if (typeof bb === 'string') { temp = bb b[key] = bb = {} bb[temp] = true } } if (key === 'on' || key === 'nativeOn' || key === 'hook') { // merge functions for (nestedKey in bb) { aa[nestedKey] = mergeFn(aa[nestedKey], bb[nestedKey]) } } else if (Array.isArray(aa)) { a[key] = aa.concat(bb) } else if (Array.isArray(bb)) { a[key] = [aa].concat(bb) } else { for (nestedKey in bb) { aa[nestedKey] = bb[nestedKey] } } } else { a[key] = b[key] } } return a }, {}) } function mergeFn (a, b) { return function () { a && a.apply(this, arguments) b && b.apply(this, arguments) } } /***/ }), /* 282 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __WEBPACK_AMD_DEFINE_RESULT__; /* Modified from https://github.com/taylorhakes/fecha * * The MIT License (MIT) * * Copyright (c) 2015 Taylor Hakes * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ /*eslint-disable*/ // 把 YYYY-MM-DD 改成了 yyyy-MM-dd (function (main) { 'use strict'; /** * Parse or format dates * @class fecha */ var fecha = {}; var token = /d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g; var twoDigits = /\d\d?/; var threeDigits = /\d{3}/; var fourDigits = /\d{4}/; var word = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i; var noop = function noop() {}; function shorten(arr, sLen) { var newArr = []; for (var i = 0, len = arr.length; i < len; i++) { newArr.push(arr[i].substr(0, sLen)); } return newArr; } function monthUpdate(arrName) { return function (d, v, i18n) { var index = i18n[arrName].indexOf(v.charAt(0).toUpperCase() + v.substr(1).toLowerCase()); if (~index) { d.month = index; } }; } function pad(val, len) { val = String(val); len = len || 2; while (val.length < len) { val = '0' + val; } return val; } var dayNames = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']; var monthNames = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; var monthNamesShort = shorten(monthNames, 3); var dayNamesShort = shorten(dayNames, 3); fecha.i18n = { dayNamesShort: dayNamesShort, dayNames: dayNames, monthNamesShort: monthNamesShort, monthNames: monthNames, amPm: ['am', 'pm'], DoFn: function DoFn(D) { return D + ['th', 'st', 'nd', 'rd'][D % 10 > 3 ? 0 : (D - D % 10 !== 10) * D % 10]; } }; var formatFlags = { D: function D(dateObj) { return dateObj.getDay(); }, DD: function DD(dateObj) { return pad(dateObj.getDay()); }, Do: function Do(dateObj, i18n) { return i18n.DoFn(dateObj.getDate()); }, d: function d(dateObj) { return dateObj.getDate(); }, dd: function dd(dateObj) { return pad(dateObj.getDate()); }, ddd: function ddd(dateObj, i18n) { return i18n.dayNamesShort[dateObj.getDay()]; }, dddd: function dddd(dateObj, i18n) { return i18n.dayNames[dateObj.getDay()]; }, M: function M(dateObj) { return dateObj.getMonth() + 1; }, MM: function MM(dateObj) { return pad(dateObj.getMonth() + 1); }, MMM: function MMM(dateObj, i18n) { return i18n.monthNamesShort[dateObj.getMonth()]; }, MMMM: function MMMM(dateObj, i18n) { return i18n.monthNames[dateObj.getMonth()]; }, yy: function yy(dateObj) { return String(dateObj.getFullYear()).substr(2); }, yyyy: function yyyy(dateObj) { return dateObj.getFullYear(); }, h: function h(dateObj) { return dateObj.getHours() % 12 || 12; }, hh: function hh(dateObj) { return pad(dateObj.getHours() % 12 || 12); }, H: function H(dateObj) { return dateObj.getHours(); }, HH: function HH(dateObj) { return pad(dateObj.getHours()); }, m: function m(dateObj) { return dateObj.getMinutes(); }, mm: function mm(dateObj) { return pad(dateObj.getMinutes()); }, s: function s(dateObj) { return dateObj.getSeconds(); }, ss: function ss(dateObj) { return pad(dateObj.getSeconds()); }, S: function S(dateObj) { return Math.round(dateObj.getMilliseconds() / 100); }, SS: function SS(dateObj) { return pad(Math.round(dateObj.getMilliseconds() / 10), 2); }, SSS: function SSS(dateObj) { return pad(dateObj.getMilliseconds(), 3); }, a: function a(dateObj, i18n) { return dateObj.getHours() < 12 ? i18n.amPm[0] : i18n.amPm[1]; }, A: function A(dateObj, i18n) { return dateObj.getHours() < 12 ? i18n.amPm[0].toUpperCase() : i18n.amPm[1].toUpperCase(); }, ZZ: function ZZ(dateObj) { var o = dateObj.getTimezoneOffset(); return (o > 0 ? '-' : '+') + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4); } }; var parseFlags = { d: [twoDigits, function (d, v) { d.day = v; }], M: [twoDigits, function (d, v) { d.month = v - 1; }], yy: [twoDigits, function (d, v) { var da = new Date(), cent = +('' + da.getFullYear()).substr(0, 2); d.year = '' + (v > 68 ? cent - 1 : cent) + v; }], h: [twoDigits, function (d, v) { d.hour = v; }], m: [twoDigits, function (d, v) { d.minute = v; }], s: [twoDigits, function (d, v) { d.second = v; }], yyyy: [fourDigits, function (d, v) { d.year = v; }], S: [/\d/, function (d, v) { d.millisecond = v * 100; }], SS: [/\d{2}/, function (d, v) { d.millisecond = v * 10; }], SSS: [threeDigits, function (d, v) { d.millisecond = v; }], D: [twoDigits, noop], ddd: [word, noop], MMM: [word, monthUpdate('monthNamesShort')], MMMM: [word, monthUpdate('monthNames')], a: [word, function (d, v, i18n) { var val = v.toLowerCase(); if (val === i18n.amPm[0]) { d.isPm = false; } else if (val === i18n.amPm[1]) { d.isPm = true; } }], ZZ: [/[\+\-]\d\d:?\d\d/, function (d, v) { var parts = (v + '').match(/([\+\-]|\d\d)/gi), minutes; if (parts) { minutes = +(parts[1] * 60) + parseInt(parts[2], 10); d.timezoneOffset = parts[0] === '+' ? minutes : -minutes; } }] }; parseFlags.DD = parseFlags.D; parseFlags.dddd = parseFlags.ddd; parseFlags.Do = parseFlags.dd = parseFlags.d; parseFlags.mm = parseFlags.m; parseFlags.hh = parseFlags.H = parseFlags.HH = parseFlags.h; parseFlags.MM = parseFlags.M; parseFlags.ss = parseFlags.s; parseFlags.A = parseFlags.a; // Some common format strings fecha.masks = { 'default': 'ddd MMM dd yyyy HH:mm:ss', shortDate: 'M/D/yy', mediumDate: 'MMM d, yyyy', longDate: 'MMMM d, yyyy', fullDate: 'dddd, MMMM d, yyyy', shortTime: 'HH:mm', mediumTime: 'HH:mm:ss', longTime: 'HH:mm:ss.SSS' }; /*** * Format a date * @method format * @param {Date|number} dateObj * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate' */ fecha.format = function (dateObj, mask, i18nSettings) { var i18n = i18nSettings || fecha.i18n; if (typeof dateObj === 'number') { dateObj = new Date(dateObj); } if (Object.prototype.toString.call(dateObj) !== '[object Date]' || isNaN(dateObj.getTime())) { throw new Error('Invalid Date in fecha.format'); } mask = fecha.masks[mask] || mask || fecha.masks['default']; return mask.replace(token, function ($0) { return $0 in formatFlags ? formatFlags[$0](dateObj, i18n) : $0.slice(1, $0.length - 1); }); }; /** * Parse a date string into an object, changes - into / * @method parse * @param {string} dateStr Date string * @param {string} format Date parse format * @returns {Date|boolean} */ fecha.parse = function (dateStr, format, i18nSettings) { var i18n = i18nSettings || fecha.i18n; if (typeof format !== 'string') { throw new Error('Invalid format in fecha.parse'); } format = fecha.masks[format] || format; // Avoid regular expression denial of service, fail early for really long strings // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS if (dateStr.length > 1000) { return false; } var isValid = true; var dateInfo = {}; format.replace(token, function ($0) { if (parseFlags[$0]) { var info = parseFlags[$0]; var index = dateStr.search(info[0]); if (!~index) { isValid = false; } else { dateStr.replace(info[0], function (result) { info[1](dateInfo, result, i18n); dateStr = dateStr.substr(index + result.length); return result; }); } } return parseFlags[$0] ? '' : $0.slice(1, $0.length - 1); }); if (!isValid) { return false; } var today = new Date(); if (dateInfo.isPm === true && dateInfo.hour != null && +dateInfo.hour !== 12) { dateInfo.hour = +dateInfo.hour + 12; } else if (dateInfo.isPm === false && +dateInfo.hour === 12) { dateInfo.hour = 0; } var date; if (dateInfo.timezoneOffset != null) { dateInfo.minute = +(dateInfo.minute || 0) - +dateInfo.timezoneOffset; date = new Date(Date.UTC(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1, dateInfo.hour || 0, dateInfo.minute || 0, dateInfo.second || 0, dateInfo.millisecond || 0)); } else { date = new Date(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1, dateInfo.hour || 0, dateInfo.minute || 0, dateInfo.second || 0, dateInfo.millisecond || 0); } return date; }; /* istanbul ignore next */ if (typeof module !== 'undefined' && module.exports) { module.exports = fecha; } else if (true) { !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () { return fecha; }).call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else { main.fecha = fecha; } })(undefined); /***/ }), /* 283 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 97); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 3: /***/ (function(module, exports) { module.exports = __webpack_require__(45); /***/ }), /***/ 97: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-checkbox-group", attrs: { role: "group", "aria-label": "checkbox-group" } }, [_vm._t("default")], 2 ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290& // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" var emitter_ = __webpack_require__(3); var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js& /* harmony default export */ var checkbox_groupvue_type_script_lang_js_ = ({ name: 'ElCheckboxGroup', componentName: 'ElCheckboxGroup', mixins: [emitter_default.a], inject: { elFormItem: { default: '' } }, props: { value: {}, disabled: Boolean, min: Number, max: Number, size: String, fill: String, textColor: String }, computed: { _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, checkboxGroupSize: function checkboxGroupSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; } }, watch: { value: function value(_value) { this.dispatch('ElFormItem', 'el.form.change', [_value]); } } }); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js& /* harmony default export */ var src_checkbox_groupvue_type_script_lang_js_ = (checkbox_groupvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_checkbox_groupvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/checkbox/src/checkbox-group.vue" /* harmony default export */ var checkbox_group = (component.exports); // CONCATENATED MODULE: ./packages/checkbox-group/index.js /* istanbul ignore next */ checkbox_group.install = function (Vue) { Vue.component(checkbox_group.name, checkbox_group); }; /* harmony default export */ var packages_checkbox_group = __webpack_exports__["default"] = (checkbox_group); /***/ }) /******/ }); /***/ }), /* 284 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.default = function (instance, callback) { var speed = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300; var once = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; if (!instance || !callback) throw new Error('instance & callback is required'); var called = false; var afterLeaveCallback = function afterLeaveCallback() { if (called) return; called = true; if (callback) { callback.apply(null, arguments); } }; if (once) { instance.$once('after-leave', afterLeaveCallback); } else { instance.$on('after-leave', afterLeaveCallback); } setTimeout(function () { afterLeaveCallback(); }, speed + 100); }; ; /** * Bind after-leave event for vue instance. Make sure after-leave is called in any browsers. * * @param {Vue} instance Vue instance. * @param {Function} callback callback of after-leave event * @param {Number} speed the speed of transition, default value is 300ms * @param {Boolean} once weather bind after-leave once. default value is false. */ /***/ }), /* 285 */ /***/ (function(module, exports) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 72); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 72: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=template&id=229ee406& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-progress", class: [ "el-progress--" + _vm.type, _vm.status ? "is-" + _vm.status : "", { "el-progress--without-text": !_vm.showText, "el-progress--text-inside": _vm.textInside } ], attrs: { role: "progressbar", "aria-valuenow": _vm.percentage, "aria-valuemin": "0", "aria-valuemax": "100" } }, [ _vm.type === "line" ? _c("div", { staticClass: "el-progress-bar" }, [ _c( "div", { staticClass: "el-progress-bar__outer", style: { height: _vm.strokeWidth + "px" } }, [ _c( "div", { staticClass: "el-progress-bar__inner", style: _vm.barStyle }, [ _vm.showText && _vm.textInside ? _c( "div", { staticClass: "el-progress-bar__innerText" }, [_vm._v(_vm._s(_vm.percentage) + "%")] ) : _vm._e() ] ) ] ) ]) : _c( "div", { staticClass: "el-progress-circle", style: { height: _vm.width + "px", width: _vm.width + "px" } }, [ _c("svg", { attrs: { viewBox: "0 0 100 100" } }, [ _c("path", { staticClass: "el-progress-circle__track", attrs: { d: _vm.trackPath, stroke: "#e5e9f2", "stroke-width": _vm.relativeStrokeWidth, fill: "none" } }), _c("path", { staticClass: "el-progress-circle__path", style: _vm.circlePathStyle, attrs: { d: _vm.trackPath, "stroke-linecap": "round", stroke: _vm.stroke, "stroke-width": _vm.relativeStrokeWidth, fill: "none" } }) ]) ] ), _vm.showText && !_vm.textInside ? _c( "div", { staticClass: "el-progress__text", style: { fontSize: _vm.progressTextSize + "px" } }, [ !_vm.status ? [_vm._v(_vm._s(_vm.percentage) + "%")] : [ _vm.status === "text" ? _vm._t("default") : _c("i", { class: _vm.iconClass }) ] ], 2 ) : _vm._e() ] ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=template&id=229ee406& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var progressvue_type_script_lang_js_ = ({ name: 'ElProgress', props: { type: { type: String, default: 'line', validator: function validator(val) { return ['line', 'circle'].indexOf(val) > -1; } }, percentage: { type: Number, default: 0, required: true, validator: function validator(val) { return val >= 0 && val <= 100; } }, status: { type: String, validator: function validator(val) { return ['text', 'success', 'exception'].indexOf(val) > -1; } }, strokeWidth: { type: Number, default: 6 }, textInside: { type: Boolean, default: false }, width: { type: Number, default: 126 }, showText: { type: Boolean, default: true }, color: { type: String, default: '' } }, computed: { barStyle: function barStyle() { var style = {}; style.width = this.percentage + '%'; style.backgroundColor = this.color; return style; }, relativeStrokeWidth: function relativeStrokeWidth() { return (this.strokeWidth / this.width * 100).toFixed(1); }, trackPath: function trackPath() { var radius = parseInt(50 - parseFloat(this.relativeStrokeWidth) / 2, 10); return 'M 50 50 m 0 -' + radius + ' a ' + radius + ' ' + radius + ' 0 1 1 0 ' + radius * 2 + ' a ' + radius + ' ' + radius + ' 0 1 1 0 -' + radius * 2; }, perimeter: function perimeter() { var radius = 50 - parseFloat(this.relativeStrokeWidth) / 2; return 2 * Math.PI * radius; }, circlePathStyle: function circlePathStyle() { var perimeter = this.perimeter; return { strokeDasharray: perimeter + 'px,' + perimeter + 'px', strokeDashoffset: (1 - this.percentage / 100) * perimeter + 'px', transition: 'stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease' }; }, stroke: function stroke() { var ret = void 0; if (this.color) { ret = this.color; } else { switch (this.status) { case 'success': ret = '#13ce66'; break; case 'exception': ret = '#ff4949'; break; default: ret = '#20a0ff'; } } return ret; }, iconClass: function iconClass() { if (this.type === 'line') { return this.status === 'success' ? 'el-icon-circle-check' : 'el-icon-circle-close'; } else { return this.status === 'success' ? 'el-icon-check' : 'el-icon-close'; } }, progressTextSize: function progressTextSize() { return this.type === 'line' ? 12 + this.strokeWidth * 0.4 : this.width * 0.111111 + 2; } } }); // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=script&lang=js& /* harmony default export */ var src_progressvue_type_script_lang_js_ = (progressvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/progress/src/progress.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_progressvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/progress/src/progress.vue" /* harmony default export */ var progress = (component.exports); // CONCATENATED MODULE: ./packages/progress/index.js /* istanbul ignore next */ progress.install = function (Vue) { Vue.component(progress.name, progress); }; /* harmony default export */ var packages_progress = __webpack_exports__["default"] = (progress); /***/ }) /******/ }); /***/ }), /* 286 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 52); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /* 1 */, /* 2 */, /* 3 */ /***/ (function(module, exports) { module.exports = __webpack_require__(45); /***/ }), /* 4 */ /***/ (function(module, exports) { module.exports = __webpack_require__(39); /***/ }), /* 5 */ /***/ (function(module, exports) { module.exports = __webpack_require__(93); /***/ }), /* 6 */, /* 7 */ /***/ (function(module, exports) { module.exports = __webpack_require__(112); /***/ }), /* 8 */, /* 9 */ /***/ (function(module, exports) { module.exports = __webpack_require__(96); /***/ }), /* 10 */, /* 11 */ /***/ (function(module, exports) { module.exports = __webpack_require__(114); /***/ }), /* 12 */ /***/ (function(module, exports) { module.exports = __webpack_require__(61); /***/ }), /* 13 */, /* 14 */ /***/ (function(module, exports) { module.exports = __webpack_require__(97); /***/ }), /* 15 */ /***/ (function(module, exports) { module.exports = __webpack_require__(98); /***/ }), /* 16 */, /* 17 */, /* 18 */, /* 19 */ /***/ (function(module, exports) { module.exports = __webpack_require__(117); /***/ }), /* 20 */, /* 21 */ /***/ (function(module, exports) { module.exports = __webpack_require__(99); /***/ }), /* 22 */, /* 23 */, /* 24 */, /* 25 */, /* 26 */ /***/ (function(module, exports) { module.exports = __webpack_require__(118); /***/ }), /* 27 */ /***/ (function(module, exports) { module.exports = __webpack_require__(119); /***/ }), /* 28 */, /* 29 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=template&id=7a44c642& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "li", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-select-dropdown__item", class: { selected: _vm.itemSelected, "is-disabled": _vm.disabled || _vm.groupDisabled || _vm.limitReached, hover: _vm.hover }, on: { mouseenter: _vm.hoverItem, click: function($event) { $event.stopPropagation() return _vm.selectOptionClick($event) } } }, [_vm._t("default", [_c("span", [_vm._v(_vm._s(_vm.currentLabel))])])], 2 ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=template&id=7a44c642& // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" var emitter_ = __webpack_require__(3); var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); // EXTERNAL MODULE: external "element-ui/lib/utils/util" var util_ = __webpack_require__(4); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=script&lang=js& var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; // // // // // // // // // // // // // // // // // /* harmony default export */ var optionvue_type_script_lang_js_ = ({ mixins: [emitter_default.a], name: 'ElOption', componentName: 'ElOption', inject: ['select'], props: { value: { required: true }, label: [String, Number], created: Boolean, disabled: { type: Boolean, default: false } }, data: function data() { return { index: -1, groupDisabled: false, visible: true, hitState: false, hover: false }; }, computed: { isObject: function isObject() { return Object.prototype.toString.call(this.value).toLowerCase() === '[object object]'; }, currentLabel: function currentLabel() { return this.label || (this.isObject ? '' : this.value); }, currentValue: function currentValue() { return this.value || this.label || ''; }, itemSelected: function itemSelected() { if (!this.select.multiple) { return this.isEqual(this.value, this.select.value); } else { return this.contains(this.select.value, this.value); } }, limitReached: function limitReached() { if (this.select.multiple) { return !this.itemSelected && (this.select.value || []).length >= this.select.multipleLimit && this.select.multipleLimit > 0; } else { return false; } } }, watch: { currentLabel: function currentLabel() { if (!this.created && !this.select.remote) this.dispatch('ElSelect', 'setSelected'); }, value: function value(val, oldVal) { var _select = this.select, remote = _select.remote, valueKey = _select.valueKey; if (!this.created && !remote) { if (valueKey && (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object' && (typeof oldVal === 'undefined' ? 'undefined' : _typeof(oldVal)) === 'object' && val[valueKey] === oldVal[valueKey]) { return; } this.dispatch('ElSelect', 'setSelected'); } } }, methods: { isEqual: function isEqual(a, b) { if (!this.isObject) { return a === b; } else { var valueKey = this.select.valueKey; return Object(util_["getValueByPath"])(a, valueKey) === Object(util_["getValueByPath"])(b, valueKey); } }, contains: function contains() { var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var target = arguments[1]; if (!this.isObject) { return arr.indexOf(target) > -1; } else { var valueKey = this.select.valueKey; return arr.some(function (item) { return Object(util_["getValueByPath"])(item, valueKey) === Object(util_["getValueByPath"])(target, valueKey); }); } }, handleGroupDisabled: function handleGroupDisabled(val) { this.groupDisabled = val; }, hoverItem: function hoverItem() { if (!this.disabled && !this.groupDisabled) { this.select.hoverIndex = this.select.options.indexOf(this); } }, selectOptionClick: function selectOptionClick() { if (this.disabled !== true && this.groupDisabled !== true) { this.dispatch('ElSelect', 'handleOptionClick', [this, true]); } }, queryChange: function queryChange(query) { this.visible = new RegExp(Object(util_["escapeRegexpString"])(query), 'i').test(this.currentLabel) || this.created; if (!this.visible) { this.select.filteredOptionsCount--; } } }, created: function created() { this.select.options.push(this); this.select.cachedOptions.push(this); this.select.optionsCount++; this.select.filteredOptionsCount++; this.$on('queryChange', this.queryChange); this.$on('handleGroupDisabled', this.handleGroupDisabled); }, beforeDestroy: function beforeDestroy() { this.select.onOptionDestroy(this.select.options.indexOf(this)); } }); // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=script&lang=js& /* harmony default export */ var src_optionvue_type_script_lang_js_ = (optionvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/select/src/option.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_optionvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/select/src/option.vue" /* harmony default export */ var src_option = __webpack_exports__["a"] = (component.exports); /***/ }), /* 30 */, /* 31 */, /* 32 */, /* 33 */ /***/ (function(module, exports) { module.exports = __webpack_require__(120); /***/ }), /* 34 */, /* 35 */, /* 36 */, /* 37 */, /* 38 */, /* 39 */, /* 40 */, /* 41 */, /* 42 */, /* 43 */, /* 44 */, /* 45 */, /* 46 */, /* 47 */, /* 48 */, /* 49 */, /* 50 */, /* 51 */, /* 52 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select.vue?vue&type=template&id=0e4aade6& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { directives: [ { name: "clickoutside", rawName: "v-clickoutside", value: _vm.handleClose, expression: "handleClose" } ], staticClass: "el-select", class: [_vm.selectSize ? "el-select--" + _vm.selectSize : ""], on: { click: function($event) { $event.stopPropagation() return _vm.toggleMenu($event) } } }, [ _vm.multiple ? _c( "div", { ref: "tags", staticClass: "el-select__tags", style: { "max-width": _vm.inputWidth - 32 + "px", width: "100%" } }, [ _vm.collapseTags && _vm.selected.length ? _c( "span", [ _c( "el-tag", { attrs: { closable: !_vm.selectDisabled, size: _vm.collapseTagSize, hit: _vm.selected[0].hitState, type: "info", "disable-transitions": "" }, on: { close: function($event) { _vm.deleteTag($event, _vm.selected[0]) } } }, [ _c("span", { staticClass: "el-select__tags-text" }, [ _vm._v(_vm._s(_vm.selected[0].currentLabel)) ]) ] ), _vm.selected.length > 1 ? _c( "el-tag", { attrs: { closable: false, size: _vm.collapseTagSize, type: "info", "disable-transitions": "" } }, [ _c( "span", { staticClass: "el-select__tags-text" }, [_vm._v("+ " + _vm._s(_vm.selected.length - 1))] ) ] ) : _vm._e() ], 1 ) : _vm._e(), !_vm.collapseTags ? _c( "transition-group", { on: { "after-leave": _vm.resetInputHeight } }, _vm._l(_vm.selected, function(item) { return _c( "el-tag", { key: _vm.getValueKey(item), attrs: { closable: !_vm.selectDisabled, size: _vm.collapseTagSize, hit: item.hitState, type: "info", "disable-transitions": "" }, on: { close: function($event) { _vm.deleteTag($event, item) } } }, [ _c("span", { staticClass: "el-select__tags-text" }, [ _vm._v(_vm._s(item.currentLabel)) ]) ] ) }), 1 ) : _vm._e(), _vm.filterable ? _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.query, expression: "query" } ], ref: "input", staticClass: "el-select__input", class: [_vm.selectSize ? "is-" + _vm.selectSize : ""], style: { "flex-grow": "1", width: _vm.inputLength / (_vm.inputWidth - 32) + "%", "max-width": _vm.inputWidth - 42 + "px" }, attrs: { type: "text", disabled: _vm.selectDisabled, autocomplete: _vm.autoComplete || _vm.autocomplete }, domProps: { value: _vm.query }, on: { focus: _vm.handleFocus, blur: function($event) { _vm.softFocus = false }, click: function($event) { $event.stopPropagation() }, keyup: _vm.managePlaceholder, keydown: [ _vm.resetInputState, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "down", 40, $event.key, [ "Down", "ArrowDown" ]) ) { return null } $event.preventDefault() _vm.navigateOptions("next") }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "up", 38, $event.key, [ "Up", "ArrowUp" ]) ) { return null } $event.preventDefault() _vm.navigateOptions("prev") }, function($event) { if ( !("button" in $event) && _vm._k( $event.keyCode, "enter", 13, $event.key, "Enter" ) ) { return null } $event.preventDefault() return _vm.selectOption($event) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "esc", 27, $event.key, [ "Esc", "Escape" ]) ) { return null } $event.stopPropagation() $event.preventDefault() _vm.visible = false }, function($event) { if ( !("button" in $event) && _vm._k( $event.keyCode, "delete", [8, 46], $event.key, ["Backspace", "Delete", "Del"] ) ) { return null } return _vm.deletePrevTag($event) } ], compositionstart: _vm.handleComposition, compositionupdate: _vm.handleComposition, compositionend: _vm.handleComposition, input: [ function($event) { if ($event.target.composing) { return } _vm.query = $event.target.value }, _vm.debouncedQueryChange ] } }) : _vm._e() ], 1 ) : _vm._e(), _c( "el-input", { ref: "reference", class: { "is-focus": _vm.visible }, attrs: { type: "text", placeholder: _vm.currentPlaceholder, name: _vm.name, id: _vm.id, autocomplete: _vm.autoComplete || _vm.autocomplete, size: _vm.selectSize, disabled: _vm.selectDisabled, readonly: _vm.readonly, "validate-event": false }, on: { focus: _vm.handleFocus, blur: _vm.handleBlur }, nativeOn: { keyup: function($event) { return _vm.debouncedOnInputChange($event) }, keydown: [ function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "down", 40, $event.key, [ "Down", "ArrowDown" ]) ) { return null } $event.stopPropagation() $event.preventDefault() _vm.navigateOptions("next") }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "up", 38, $event.key, [ "Up", "ArrowUp" ]) ) { return null } $event.stopPropagation() $event.preventDefault() _vm.navigateOptions("prev") }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } $event.preventDefault() return _vm.selectOption($event) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "esc", 27, $event.key, [ "Esc", "Escape" ]) ) { return null } $event.stopPropagation() $event.preventDefault() _vm.visible = false }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab") ) { return null } _vm.visible = false } ], paste: function($event) { return _vm.debouncedOnInputChange($event) }, mouseenter: function($event) { _vm.inputHovering = true }, mouseleave: function($event) { _vm.inputHovering = false } }, model: { value: _vm.selectedLabel, callback: function($$v) { _vm.selectedLabel = $$v }, expression: "selectedLabel" } }, [ _vm.$slots.prefix ? _c("template", { slot: "prefix" }, [_vm._t("prefix")], 2) : _vm._e(), _c("template", { slot: "suffix" }, [ _c("i", { directives: [ { name: "show", rawName: "v-show", value: !_vm.showClose, expression: "!showClose" } ], class: [ "el-select__caret", "el-input__icon", "el-icon-" + _vm.iconClass ] }), _vm.showClose ? _c("i", { staticClass: "el-select__caret el-input__icon el-icon-circle-close", on: { click: _vm.handleClearClick } }) : _vm._e() ]) ], 2 ), _c( "transition", { attrs: { name: "el-zoom-in-top" }, on: { "before-enter": _vm.handleMenuEnter, "after-leave": _vm.doDestroy } }, [ _c( "el-select-menu", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible && _vm.emptyText !== false, expression: "visible && emptyText !== false" } ], ref: "popper", attrs: { "append-to-body": _vm.popperAppendToBody } }, [ _c( "el-scrollbar", { directives: [ { name: "show", rawName: "v-show", value: _vm.options.length > 0 && !_vm.loading, expression: "options.length > 0 && !loading" } ], ref: "scrollbar", class: { "is-empty": !_vm.allowCreate && _vm.query && _vm.filteredOptionsCount === 0 }, attrs: { tag: "ul", "wrap-class": "el-select-dropdown__wrap", "view-class": "el-select-dropdown__list" } }, [ _vm.showNewOption ? _c("el-option", { attrs: { value: _vm.query, created: "" } }) : _vm._e(), _vm._t("default") ], 2 ), _vm.emptyText && (!_vm.allowCreate || _vm.loading || (_vm.allowCreate && _vm.options.length === 0)) ? _c("p", { staticClass: "el-select-dropdown__empty" }, [ _vm._v("\n " + _vm._s(_vm.emptyText) + "\n ") ]) : _vm._e() ], 1 ) ], 1 ) ], 1 ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/select/src/select.vue?vue&type=template&id=0e4aade6& // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" var emitter_ = __webpack_require__(3); var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); // EXTERNAL MODULE: external "element-ui/lib/mixins/focus" var focus_ = __webpack_require__(21); var focus_default = /*#__PURE__*/__webpack_require__.n(focus_); // EXTERNAL MODULE: external "element-ui/lib/mixins/locale" var locale_ = __webpack_require__(7); var locale_default = /*#__PURE__*/__webpack_require__.n(locale_); // EXTERNAL MODULE: external "element-ui/lib/input" var input_ = __webpack_require__(9); var input_default = /*#__PURE__*/__webpack_require__.n(input_); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select-dropdown.vue?vue&type=template&id=06828748& var select_dropdownvue_type_template_id_06828748_render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "el-select-dropdown el-popper", class: [{ "is-multiple": _vm.$parent.multiple }, _vm.popperClass], style: { minWidth: _vm.minWidth } }, [_vm._t("default")], 2 ) } var select_dropdownvue_type_template_id_06828748_staticRenderFns = [] select_dropdownvue_type_template_id_06828748_render._withStripped = true // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue?vue&type=template&id=06828748& // EXTERNAL MODULE: external "element-ui/lib/utils/vue-popper" var vue_popper_ = __webpack_require__(5); var vue_popper_default = /*#__PURE__*/__webpack_require__.n(vue_popper_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select-dropdown.vue?vue&type=script&lang=js& // // // // // // // // // /* harmony default export */ var select_dropdownvue_type_script_lang_js_ = ({ name: 'ElSelectDropdown', componentName: 'ElSelectDropdown', mixins: [vue_popper_default.a], props: { placement: { default: 'bottom-start' }, boundariesPadding: { default: 0 }, popperOptions: { default: function _default() { return { gpuAcceleration: false }; } }, visibleArrow: { default: true }, appendToBody: { type: Boolean, default: true } }, data: function data() { return { minWidth: '' }; }, computed: { popperClass: function popperClass() { return this.$parent.popperClass; } }, watch: { '$parent.inputWidth': function $parentInputWidth() { this.minWidth = this.$parent.$el.getBoundingClientRect().width + 'px'; } }, mounted: function mounted() { var _this = this; this.referenceElm = this.$parent.$refs.reference.$el; this.$parent.popperElm = this.popperElm = this.$el; this.$on('updatePopper', function () { if (_this.$parent.visible) _this.updatePopper(); }); this.$on('destroyPopper', this.destroyPopper); } }); // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue?vue&type=script&lang=js& /* harmony default export */ var src_select_dropdownvue_type_script_lang_js_ = (select_dropdownvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_select_dropdownvue_type_script_lang_js_, select_dropdownvue_type_template_id_06828748_render, select_dropdownvue_type_template_id_06828748_staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/select/src/select-dropdown.vue" /* harmony default export */ var select_dropdown = (component.exports); // EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules var src_option = __webpack_require__(29); // EXTERNAL MODULE: external "element-ui/lib/tag" var tag_ = __webpack_require__(26); var tag_default = /*#__PURE__*/__webpack_require__.n(tag_); // EXTERNAL MODULE: external "element-ui/lib/scrollbar" var scrollbar_ = __webpack_require__(19); var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_); // EXTERNAL MODULE: external "throttle-debounce/debounce" var debounce_ = __webpack_require__(14); var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_); // EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside" var clickoutside_ = __webpack_require__(11); var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_); // EXTERNAL MODULE: external "element-ui/lib/utils/resize-event" var resize_event_ = __webpack_require__(15); // EXTERNAL MODULE: external "element-ui/lib/locale" var lib_locale_ = __webpack_require__(12); // EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view" var scroll_into_view_ = __webpack_require__(27); var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_); // EXTERNAL MODULE: external "element-ui/lib/utils/util" var util_ = __webpack_require__(4); // CONCATENATED MODULE: ./packages/select/src/navigation-mixin.js /* harmony default export */ var navigation_mixin = ({ data: function data() { return { hoverOption: -1 }; }, computed: { optionsAllDisabled: function optionsAllDisabled() { return this.options.filter(function (option) { return option.visible; }).every(function (option) { return option.disabled; }); } }, watch: { hoverIndex: function hoverIndex(val) { var _this = this; if (typeof val === 'number' && val > -1) { this.hoverOption = this.options[val] || {}; } this.options.forEach(function (option) { option.hover = _this.hoverOption === option; }); } }, methods: { navigateOptions: function navigateOptions(direction) { var _this2 = this; if (!this.visible) { this.visible = true; return; } if (this.options.length === 0 || this.filteredOptionsCount === 0) return; if (!this.optionsAllDisabled) { if (direction === 'next') { this.hoverIndex++; if (this.hoverIndex === this.options.length) { this.hoverIndex = 0; } } else if (direction === 'prev') { this.hoverIndex--; if (this.hoverIndex < 0) { this.hoverIndex = this.options.length - 1; } } var option = this.options[this.hoverIndex]; if (option.disabled === true || option.groupDisabled === true || !option.visible) { this.navigateOptions(direction); } this.$nextTick(function () { return _this2.scrollToOption(_this2.hoverOption); }); } } } }); // EXTERNAL MODULE: external "element-ui/lib/utils/shared" var shared_ = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var selectvue_type_script_lang_js_ = ({ mixins: [emitter_default.a, locale_default.a, focus_default()('reference'), navigation_mixin], name: 'ElSelect', componentName: 'ElSelect', inject: { elForm: { default: '' }, elFormItem: { default: '' } }, provide: function provide() { return { 'select': this }; }, computed: { _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, readonly: function readonly() { return !this.filterable || this.multiple || !Object(util_["isIE"])() && !Object(util_["isEdge"])() && !this.visible; }, showClose: function showClose() { var hasValue = this.multiple ? Array.isArray(this.value) && this.value.length > 0 : this.value !== undefined && this.value !== null && this.value !== ''; var criteria = this.clearable && !this.selectDisabled && this.inputHovering && hasValue; return criteria; }, iconClass: function iconClass() { return this.remote && this.filterable ? '' : this.visible ? 'arrow-up is-reverse' : 'arrow-up'; }, debounce: function debounce() { return this.remote ? 300 : 0; }, emptyText: function emptyText() { if (this.loading) { return this.loadingText || this.t('el.select.loading'); } else { if (this.remote && this.query === '' && this.options.length === 0) return false; if (this.filterable && this.query && this.options.length > 0 && this.filteredOptionsCount === 0) { return this.noMatchText || this.t('el.select.noMatch'); } if (this.options.length === 0) { return this.noDataText || this.t('el.select.noData'); } } return null; }, showNewOption: function showNewOption() { var _this = this; var hasExistingOption = this.options.filter(function (option) { return !option.created; }).some(function (option) { return option.currentLabel === _this.query; }); return this.filterable && this.allowCreate && this.query !== '' && !hasExistingOption; }, selectSize: function selectSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, selectDisabled: function selectDisabled() { return this.disabled || (this.elForm || {}).disabled; }, collapseTagSize: function collapseTagSize() { return ['small', 'mini'].indexOf(this.selectSize) > -1 ? 'mini' : 'small'; } }, components: { ElInput: input_default.a, ElSelectMenu: select_dropdown, ElOption: src_option["a" /* default */], ElTag: tag_default.a, ElScrollbar: scrollbar_default.a }, directives: { Clickoutside: clickoutside_default.a }, props: { name: String, id: String, value: { required: true }, autocomplete: { type: String, default: 'off' }, /** @Deprecated in next major version */ autoComplete: { type: String, validator: function validator(val) { false && false; return true; } }, automaticDropdown: Boolean, size: String, disabled: Boolean, clearable: Boolean, filterable: Boolean, allowCreate: Boolean, loading: Boolean, popperClass: String, remote: Boolean, loadingText: String, noMatchText: String, noDataText: String, remoteMethod: Function, filterMethod: Function, multiple: Boolean, multipleLimit: { type: Number, default: 0 }, placeholder: { type: String, default: function _default() { return Object(lib_locale_["t"])('el.select.placeholder'); } }, defaultFirstOption: Boolean, reserveKeyword: Boolean, valueKey: { type: String, default: 'value' }, collapseTags: Boolean, popperAppendToBody: { type: Boolean, default: true } }, data: function data() { return { options: [], cachedOptions: [], createdLabel: null, createdSelected: false, selected: this.multiple ? [] : {}, inputLength: 20, inputWidth: 0, initialInputHeight: 0, cachedPlaceHolder: '', optionsCount: 0, filteredOptionsCount: 0, visible: false, softFocus: false, selectedLabel: '', hoverIndex: -1, query: '', previousQuery: null, inputHovering: false, currentPlaceholder: '', menuVisibleOnFocus: false, isOnComposition: false, isSilentBlur: false }; }, watch: { selectDisabled: function selectDisabled() { var _this2 = this; this.$nextTick(function () { _this2.resetInputHeight(); }); }, placeholder: function placeholder(val) { this.cachedPlaceHolder = this.currentPlaceholder = val; }, value: function value(val, oldVal) { if (this.multiple) { this.resetInputHeight(); if (val.length > 0 || this.$refs.input && this.query !== '') { this.currentPlaceholder = ''; } else { this.currentPlaceholder = this.cachedPlaceHolder; } if (this.filterable && !this.reserveKeyword) { this.query = ''; this.handleQueryChange(this.query); } } this.setSelected(); if (this.filterable && !this.multiple) { this.inputLength = 20; } if (!Object(util_["valueEquals"])(val, oldVal)) { this.dispatch('ElFormItem', 'el.form.change', val); } }, visible: function visible(val) { var _this3 = this; if (!val) { this.broadcast('ElSelectDropdown', 'destroyPopper'); if (this.$refs.input) { this.$refs.input.blur(); } this.query = ''; this.previousQuery = null; this.selectedLabel = ''; this.inputLength = 20; this.menuVisibleOnFocus = false; this.resetHoverIndex(); this.$nextTick(function () { if (_this3.$refs.input && _this3.$refs.input.value === '' && _this3.selected.length === 0) { _this3.currentPlaceholder = _this3.cachedPlaceHolder; } }); if (!this.multiple) { if (this.selected) { if (this.filterable && this.allowCreate && this.createdSelected && this.createdLabel) { this.selectedLabel = this.createdLabel; } else { this.selectedLabel = this.selected.currentLabel; } if (this.filterable) this.query = this.selectedLabel; } } } else { this.broadcast('ElSelectDropdown', 'updatePopper'); if (this.filterable) { this.query = this.remote ? '' : this.selectedLabel; this.handleQueryChange(this.query); if (this.multiple) { this.$refs.input.focus(); } else { if (!this.remote) { this.broadcast('ElOption', 'queryChange', ''); this.broadcast('ElOptionGroup', 'queryChange'); } this.broadcast('ElInput', 'inputSelect'); } } } this.$emit('visible-change', val); }, options: function options() { var _this4 = this; if (this.$isServer) return; this.$nextTick(function () { _this4.broadcast('ElSelectDropdown', 'updatePopper'); }); if (this.multiple) { this.resetInputHeight(); } var inputs = this.$el.querySelectorAll('input'); if ([].indexOf.call(inputs, document.activeElement) === -1) { this.setSelected(); } if (this.defaultFirstOption && (this.filterable || this.remote) && this.filteredOptionsCount) { this.checkDefaultFirstOption(); } } }, methods: { handleComposition: function handleComposition(event) { var text = event.target.value; if (event.type === 'compositionend') { this.isOnComposition = false; this.handleQueryChange(text); } else { var lastCharacter = text[text.length - 1] || ''; this.isOnComposition = !Object(shared_["isKorean"])(lastCharacter); } }, handleQueryChange: function handleQueryChange(val) { var _this5 = this; if (this.previousQuery === val || this.isOnComposition) return; if (this.previousQuery === null && (typeof this.filterMethod === 'function' || typeof this.remoteMethod === 'function')) { this.previousQuery = val; return; } this.previousQuery = val; this.$nextTick(function () { if (_this5.visible) _this5.broadcast('ElSelectDropdown', 'updatePopper'); }); this.hoverIndex = -1; if (this.multiple && this.filterable) { var length = this.$refs.input.value.length * 15 + 20; this.inputLength = this.collapseTags ? Math.min(50, length) : length; this.managePlaceholder(); this.resetInputHeight(); } if (this.remote && typeof this.remoteMethod === 'function') { this.hoverIndex = -1; this.remoteMethod(val); } else if (typeof this.filterMethod === 'function') { this.filterMethod(val); this.broadcast('ElOptionGroup', 'queryChange'); } else { this.filteredOptionsCount = this.optionsCount; this.broadcast('ElOption', 'queryChange', val); this.broadcast('ElOptionGroup', 'queryChange'); } if (this.defaultFirstOption && (this.filterable || this.remote) && this.filteredOptionsCount) { this.checkDefaultFirstOption(); } }, scrollToOption: function scrollToOption(option) { var target = Array.isArray(option) && option[0] ? option[0].$el : option.$el; if (this.$refs.popper && target) { var menu = this.$refs.popper.$el.querySelector('.el-select-dropdown__wrap'); scroll_into_view_default()(menu, target); } this.$refs.scrollbar && this.$refs.scrollbar.handleScroll(); }, handleMenuEnter: function handleMenuEnter() { var _this6 = this; this.$nextTick(function () { return _this6.scrollToOption(_this6.selected); }); }, emitChange: function emitChange(val) { if (!Object(util_["valueEquals"])(this.value, val)) { this.$emit('change', val); } }, getOption: function getOption(value) { var option = void 0; var isObject = Object.prototype.toString.call(value).toLowerCase() === '[object object]'; var isNull = Object.prototype.toString.call(value).toLowerCase() === '[object null]'; for (var i = this.cachedOptions.length - 1; i >= 0; i--) { var cachedOption = this.cachedOptions[i]; var isEqual = isObject ? Object(util_["getValueByPath"])(cachedOption.value, this.valueKey) === Object(util_["getValueByPath"])(value, this.valueKey) : cachedOption.value === value; if (isEqual) { option = cachedOption; break; } } if (option) return option; var label = !isObject && !isNull ? value : ''; var newOption = { value: value, currentLabel: label }; if (this.multiple) { newOption.hitState = false; } return newOption; }, setSelected: function setSelected() { var _this7 = this; if (!this.multiple) { var option = this.getOption(this.value); if (option.created) { this.createdLabel = option.currentLabel; this.createdSelected = true; } else { this.createdSelected = false; } this.selectedLabel = option.currentLabel; this.selected = option; if (this.filterable) this.query = this.selectedLabel; return; } var result = []; if (Array.isArray(this.value)) { this.value.forEach(function (value) { result.push(_this7.getOption(value)); }); } this.selected = result; this.$nextTick(function () { _this7.resetInputHeight(); }); }, handleFocus: function handleFocus(event) { if (!this.softFocus) { if (this.automaticDropdown || this.filterable) { this.visible = true; this.menuVisibleOnFocus = true; } this.$emit('focus', event); } else { this.softFocus = false; } }, blur: function blur() { this.visible = false; this.$refs.reference.blur(); }, handleBlur: function handleBlur(event) { var _this8 = this; setTimeout(function () { if (_this8.isSilentBlur) { _this8.isSilentBlur = false; } else { _this8.$emit('blur', event); } }, 50); this.softFocus = false; }, handleClearClick: function handleClearClick(event) { this.deleteSelected(event); }, doDestroy: function doDestroy() { this.$refs.popper && this.$refs.popper.doDestroy(); }, handleClose: function handleClose() { this.visible = false; }, toggleLastOptionHitState: function toggleLastOptionHitState(hit) { if (!Array.isArray(this.selected)) return; var option = this.selected[this.selected.length - 1]; if (!option) return; if (hit === true || hit === false) { option.hitState = hit; return hit; } option.hitState = !option.hitState; return option.hitState; }, deletePrevTag: function deletePrevTag(e) { if (e.target.value.length <= 0 && !this.toggleLastOptionHitState()) { var value = this.value.slice(); value.pop(); this.$emit('input', value); this.emitChange(value); } }, managePlaceholder: function managePlaceholder() { if (this.currentPlaceholder !== '') { this.currentPlaceholder = this.$refs.input.value ? '' : this.cachedPlaceHolder; } }, resetInputState: function resetInputState(e) { if (e.keyCode !== 8) this.toggleLastOptionHitState(false); this.inputLength = this.$refs.input.value.length * 15 + 20; this.resetInputHeight(); }, resetInputHeight: function resetInputHeight() { var _this9 = this; if (this.collapseTags && !this.filterable) return; this.$nextTick(function () { if (!_this9.$refs.reference) return; var inputChildNodes = _this9.$refs.reference.$el.childNodes; var input = [].filter.call(inputChildNodes, function (item) { return item.tagName === 'INPUT'; })[0]; var tags = _this9.$refs.tags; var sizeInMap = _this9.initialInputHeight || 40; input.style.height = _this9.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tags.clientHeight + (tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px'; if (_this9.visible && _this9.emptyText !== false) { _this9.broadcast('ElSelectDropdown', 'updatePopper'); } }); }, resetHoverIndex: function resetHoverIndex() { var _this10 = this; setTimeout(function () { if (!_this10.multiple) { _this10.hoverIndex = _this10.options.indexOf(_this10.selected); } else { if (_this10.selected.length > 0) { _this10.hoverIndex = Math.min.apply(null, _this10.selected.map(function (item) { return _this10.options.indexOf(item); })); } else { _this10.hoverIndex = -1; } } }, 300); }, handleOptionSelect: function handleOptionSelect(option, byClick) { var _this11 = this; if (this.multiple) { var value = this.value.slice(); var optionIndex = this.getValueIndex(value, option.value); if (optionIndex > -1) { value.splice(optionIndex, 1); } else if (this.multipleLimit <= 0 || value.length < this.multipleLimit) { value.push(option.value); } this.$emit('input', value); this.emitChange(value); if (option.created) { this.query = ''; this.handleQueryChange(''); this.inputLength = 20; } if (this.filterable) this.$refs.input.focus(); } else { this.$emit('input', option.value); this.emitChange(option.value); this.visible = false; } this.isSilentBlur = byClick; this.setSoftFocus(); if (this.visible) return; this.$nextTick(function () { _this11.scrollToOption(option); }); }, setSoftFocus: function setSoftFocus() { this.softFocus = true; var input = this.$refs.input || this.$refs.reference; if (input) { input.focus(); } }, getValueIndex: function getValueIndex() { var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var value = arguments[1]; var isObject = Object.prototype.toString.call(value).toLowerCase() === '[object object]'; if (!isObject) { return arr.indexOf(value); } else { var valueKey = this.valueKey; var index = -1; arr.some(function (item, i) { if (Object(util_["getValueByPath"])(item, valueKey) === Object(util_["getValueByPath"])(value, valueKey)) { index = i; return true; } return false; }); return index; } }, toggleMenu: function toggleMenu() { if (!this.selectDisabled) { if (this.menuVisibleOnFocus) { this.menuVisibleOnFocus = false; } else { this.visible = !this.visible; } if (this.visible) { (this.$refs.input || this.$refs.reference).focus(); } } }, selectOption: function selectOption() { if (!this.visible) { this.toggleMenu(); } else { if (this.options[this.hoverIndex]) { this.handleOptionSelect(this.options[this.hoverIndex]); } } }, deleteSelected: function deleteSelected(event) { event.stopPropagation(); var value = this.multiple ? [] : ''; this.$emit('input', value); this.emitChange(value); this.visible = false; this.$emit('clear'); }, deleteTag: function deleteTag(event, tag) { var index = this.selected.indexOf(tag); if (index > -1 && !this.selectDisabled) { var value = this.value.slice(); value.splice(index, 1); this.$emit('input', value); this.emitChange(value); this.$emit('remove-tag', tag.value); } event.stopPropagation(); }, onInputChange: function onInputChange() { if (this.filterable && this.query !== this.selectedLabel) { this.query = this.selectedLabel; this.handleQueryChange(this.query); } }, onOptionDestroy: function onOptionDestroy(index) { if (index > -1) { this.optionsCount--; this.filteredOptionsCount--; this.options.splice(index, 1); } }, resetInputWidth: function resetInputWidth() { this.inputWidth = this.$refs.reference.$el.getBoundingClientRect().width; }, handleResize: function handleResize() { this.resetInputWidth(); if (this.multiple) this.resetInputHeight(); }, checkDefaultFirstOption: function checkDefaultFirstOption() { this.hoverIndex = -1; // highlight the created option var hasCreated = false; for (var i = this.options.length - 1; i >= 0; i--) { if (this.options[i].created) { hasCreated = true; this.hoverIndex = i; break; } } if (hasCreated) return; for (var _i = 0; _i !== this.options.length; ++_i) { var option = this.options[_i]; if (this.query) { // highlight first options that passes the filter if (!option.disabled && !option.groupDisabled && option.visible) { this.hoverIndex = _i; break; } } else { // highlight currently selected option if (option.itemSelected) { this.hoverIndex = _i; break; } } } }, getValueKey: function getValueKey(item) { if (Object.prototype.toString.call(item.value).toLowerCase() !== '[object object]') { return item.value; } else { return Object(util_["getValueByPath"])(item.value, this.valueKey); } } }, created: function created() { var _this12 = this; this.cachedPlaceHolder = this.currentPlaceholder = this.placeholder; if (this.multiple && !Array.isArray(this.value)) { this.$emit('input', []); } if (!this.multiple && Array.isArray(this.value)) { this.$emit('input', ''); } this.debouncedOnInputChange = debounce_default()(this.debounce, function () { _this12.onInputChange(); }); this.debouncedQueryChange = debounce_default()(this.debounce, function (e) { _this12.handleQueryChange(e.target.value); }); this.$on('handleOptionClick', this.handleOptionSelect); this.$on('setSelected', this.setSelected); }, mounted: function mounted() { var _this13 = this; if (this.multiple && Array.isArray(this.value) && this.value.length > 0) { this.currentPlaceholder = ''; } Object(resize_event_["addResizeListener"])(this.$el, this.handleResize); var reference = this.$refs.reference; if (reference && reference.$el) { var sizeMap = { medium: 36, small: 32, mini: 28 }; this.initialInputHeight = reference.$el.getBoundingClientRect().height || sizeMap[this.selectSize]; } if (this.remote && this.multiple) { this.resetInputHeight(); } this.$nextTick(function () { if (reference && reference.$el) { _this13.inputWidth = reference.$el.getBoundingClientRect().width; } }); this.setSelected(); }, beforeDestroy: function beforeDestroy() { if (this.$el && this.handleResize) Object(resize_event_["removeResizeListener"])(this.$el, this.handleResize); } }); // CONCATENATED MODULE: ./packages/select/src/select.vue?vue&type=script&lang=js& /* harmony default export */ var src_selectvue_type_script_lang_js_ = (selectvue_type_script_lang_js_); // CONCATENATED MODULE: ./packages/select/src/select.vue /* normalize component */ var select_component = Object(componentNormalizer["a" /* default */])( src_selectvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var select_api; } select_component.options.__file = "packages/select/src/select.vue" /* harmony default export */ var src_select = (select_component.exports); // CONCATENATED MODULE: ./packages/select/index.js /* istanbul ignore next */ src_select.install = function (Vue) { Vue.component(src_select.name, src_select); }; /* harmony default export */ var packages_select = __webpack_exports__["default"] = (src_select); /***/ }) /******/ ]); /***/ }), /* 287 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 46); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 29: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=template&id=7a44c642& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "li", { directives: [ { name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" } ], staticClass: "el-select-dropdown__item", class: { selected: _vm.itemSelected, "is-disabled": _vm.disabled || _vm.groupDisabled || _vm.limitReached, hover: _vm.hover }, on: { mouseenter: _vm.hoverItem, click: function($event) { $event.stopPropagation() return _vm.selectOptionClick($event) } } }, [_vm._t("default", [_c("span", [_vm._v(_vm._s(_vm.currentLabel))])])], 2 ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=template&id=7a44c642& // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" var emitter_ = __webpack_require__(3); var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); // EXTERNAL MODULE: external "element-ui/lib/utils/util" var util_ = __webpack_require__(4); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=script&lang=js& var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; // // // // // // // // // // // // // // // // // /* harmony default export */ var optionvue_type_script_lang_js_ = ({ mixins: [emitter_default.a], name: 'ElOption', componentName: 'ElOption', inject: ['select'], props: { value: { required: true }, label: [String, Number], created: Boolean, disabled: { type: Boolean, default: false } }, data: function data() { return { index: -1, groupDisabled: false, visible: true, hitState: false, hover: false }; }, computed: { isObject: function isObject() { return Object.prototype.toString.call(this.value).toLowerCase() === '[object object]'; }, currentLabel: function currentLabel() { return this.label || (this.isObject ? '' : this.value); }, currentValue: function currentValue() { return this.value || this.label || ''; }, itemSelected: function itemSelected() { if (!this.select.multiple) { return this.isEqual(this.value, this.select.value); } else { return this.contains(this.select.value, this.value); } }, limitReached: function limitReached() { if (this.select.multiple) { return !this.itemSelected && (this.select.value || []).length >= this.select.multipleLimit && this.select.multipleLimit > 0; } else { return false; } } }, watch: { currentLabel: function currentLabel() { if (!this.created && !this.select.remote) this.dispatch('ElSelect', 'setSelected'); }, value: function value(val, oldVal) { var _select = this.select, remote = _select.remote, valueKey = _select.valueKey; if (!this.created && !remote) { if (valueKey && (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object' && (typeof oldVal === 'undefined' ? 'undefined' : _typeof(oldVal)) === 'object' && val[valueKey] === oldVal[valueKey]) { return; } this.dispatch('ElSelect', 'setSelected'); } } }, methods: { isEqual: function isEqual(a, b) { if (!this.isObject) { return a === b; } else { var valueKey = this.select.valueKey; return Object(util_["getValueByPath"])(a, valueKey) === Object(util_["getValueByPath"])(b, valueKey); } }, contains: function contains() { var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var target = arguments[1]; if (!this.isObject) { return arr.indexOf(target) > -1; } else { var valueKey = this.select.valueKey; return arr.some(function (item) { return Object(util_["getValueByPath"])(item, valueKey) === Object(util_["getValueByPath"])(target, valueKey); }); } }, handleGroupDisabled: function handleGroupDisabled(val) { this.groupDisabled = val; }, hoverItem: function hoverItem() { if (!this.disabled && !this.groupDisabled) { this.select.hoverIndex = this.select.options.indexOf(this); } }, selectOptionClick: function selectOptionClick() { if (this.disabled !== true && this.groupDisabled !== true) { this.dispatch('ElSelect', 'handleOptionClick', [this, true]); } }, queryChange: function queryChange(query) { this.visible = new RegExp(Object(util_["escapeRegexpString"])(query), 'i').test(this.currentLabel) || this.created; if (!this.visible) { this.select.filteredOptionsCount--; } } }, created: function created() { this.select.options.push(this); this.select.cachedOptions.push(this); this.select.optionsCount++; this.select.filteredOptionsCount++; this.$on('queryChange', this.queryChange); this.$on('handleGroupDisabled', this.handleGroupDisabled); }, beforeDestroy: function beforeDestroy() { this.select.onOptionDestroy(this.select.options.indexOf(this)); } }); // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=script&lang=js& /* harmony default export */ var src_optionvue_type_script_lang_js_ = (optionvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/select/src/option.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_optionvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/select/src/option.vue" /* harmony default export */ var src_option = __webpack_exports__["a"] = (component.exports); /***/ }), /***/ 3: /***/ (function(module, exports) { module.exports = __webpack_require__(45); /***/ }), /***/ 4: /***/ (function(module, exports) { module.exports = __webpack_require__(39); /***/ }), /***/ 46: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29); /* istanbul ignore next */ _select_src_option__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].install = function (Vue) { Vue.component(_select_src_option__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].name, _select_src_option__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]); }; /* harmony default export */ __webpack_exports__["default"] = (_select_src_option__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]); /***/ }) /******/ }); /***/ }), /* 288 */ /***/ (function(module, exports) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 99); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 99: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button-group.vue?vue&type=template&id=3d8661d0& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "el-button-group" }, [_vm._t("default")], 2) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/button/src/button-group.vue?vue&type=template&id=3d8661d0& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button-group.vue?vue&type=script&lang=js& // // // // // /* harmony default export */ var button_groupvue_type_script_lang_js_ = ({ name: 'ElButtonGroup' }); // CONCATENATED MODULE: ./packages/button/src/button-group.vue?vue&type=script&lang=js& /* harmony default export */ var src_button_groupvue_type_script_lang_js_ = (button_groupvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/button/src/button-group.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_button_groupvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/button/src/button-group.vue" /* harmony default export */ var button_group = (component.exports); // CONCATENATED MODULE: ./packages/button-group/index.js /* istanbul ignore next */ button_group.install = function (Vue) { Vue.component(button_group.name, button_group); }; /* harmony default export */ var packages_button_group = __webpack_exports__["default"] = (button_group); /***/ }) /******/ }); /***/ }), /* 289 */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(290); /***/ }), /* 290 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule normalizeWheel * @typechecks */ var UserAgent_DEPRECATED = __webpack_require__(291); var isEventSupported = __webpack_require__(292); // Reasonable defaults var PIXEL_STEP = 10; var LINE_HEIGHT = 40; var PAGE_HEIGHT = 800; /** * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is * complicated, thus this doc is long and (hopefully) detailed enough to answer * your questions. * * If you need to react to the mouse wheel in a predictable way, this code is * like your bestest friend. * hugs * * * As of today, there are 4 DOM event types you can listen to: * * 'wheel' -- Chrome(31+), FF(17+), IE(9+) * 'mousewheel' -- Chrome, IE(6+), Opera, Safari * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother! * 'DOMMouseScroll' -- FF(0.9.7+) since 2003 * * So what to do? The is the best: * * normalizeWheel.getEventType(); * * In your event callback, use this code to get sane interpretation of the * deltas. This code will return an object with properties: * * spinX -- normalized spin speed (use for zoom) - x plane * spinY -- " - y plane * pixelX -- normalized distance (to pixels) - x plane * pixelY -- " - y plane * * Wheel values are provided by the browser assuming you are using the wheel to * scroll a web page by a number of lines or pixels (or pages). Values can vary * significantly on different platforms and browsers, forgetting that you can * scroll at different speeds. Some devices (like trackpads) emit more events * at smaller increments with fine granularity, and some emit massive jumps with * linear speed or acceleration. * * This code does its best to normalize the deltas for you: * * - spin is trying to normalize how far the wheel was spun (or trackpad * dragged). This is super useful for zoom support where you want to * throw away the chunky scroll steps on the PC and make those equal to * the slow and smooth tiny steps on the Mac. Key data: This code tries to * resolve a single slow step on a wheel to 1. * * - pixel is normalizing the desired scroll delta in pixel units. You'll * get the crazy differences between browsers, but at least it'll be in * pixels! * * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This * should translate to positive value zooming IN, negative zooming OUT. * This matches the newer 'wheel' event. * * Why are there spinX, spinY (or pixels)? * * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn * with a mouse. It results in side-scrolling in the browser by default. * * - spinY is what you expect -- it's the classic axis of a mouse wheel. * * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and * probably is by browsers in conjunction with fancy 3D controllers .. but * you know. * * Implementation info: * * Examples of 'wheel' event if you scroll slowly (down) by one step with an * average mouse: * * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120) * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12) * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A) * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120) * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120) * * On the trackpad: * * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6) * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A) * * On other/older browsers.. it's more complicated as there can be multiple and * also missing delta values. * * The 'wheel' event is more standard: * * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents * * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain * backward compatibility with older events. Those other values help us * better normalize spin speed. Example of what the browsers provide: * * | event.wheelDelta | event.detail * ------------------+------------------+-------------- * Safari v5/OS X | -120 | 0 * Safari v5/Win7 | -120 | 0 * Chrome v17/OS X | -120 | 0 * Chrome v17/Win7 | -120 | 0 * IE9/Win7 | -120 | undefined * Firefox v4/OS X | undefined | 1 * Firefox v4/Win7 | undefined | 3 * */ function normalizeWheel(/*object*/ event) /*object*/ { var sX = 0, sY = 0, // spinX, spinY pX = 0, pY = 0; // pixelX, pixelY // Legacy if ('detail' in event) { sY = event.detail; } if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; } if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; } if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; } // side scrolling on FF with DOMMouseScroll if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) { sX = sY; sY = 0; } pX = sX * PIXEL_STEP; pY = sY * PIXEL_STEP; if ('deltaY' in event) { pY = event.deltaY; } if ('deltaX' in event) { pX = event.deltaX; } if ((pX || pY) && event.deltaMode) { if (event.deltaMode == 1) { // delta in LINE units pX *= LINE_HEIGHT; pY *= LINE_HEIGHT; } else { // delta in PAGE units pX *= PAGE_HEIGHT; pY *= PAGE_HEIGHT; } } // Fall-back if spin cannot be determined if (pX && !sX) { sX = (pX < 1) ? -1 : 1; } if (pY && !sY) { sY = (pY < 1) ? -1 : 1; } return { spinX : sX, spinY : sY, pixelX : pX, pixelY : pY }; } /** * The best combination if you prefer spinX + spinY normalization. It favors * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with * 'wheel' event, making spin speed determination impossible. */ normalizeWheel.getEventType = function() /*string*/ { return (UserAgent_DEPRECATED.firefox()) ? 'DOMMouseScroll' : (isEventSupported('wheel')) ? 'wheel' : 'mousewheel'; }; module.exports = normalizeWheel; /***/ }), /* 291 */ /***/ (function(module, exports) { /** * Copyright 2004-present Facebook. All Rights Reserved. * * @providesModule UserAgent_DEPRECATED */ /** * Provides entirely client-side User Agent and OS detection. You should prefer * the non-deprecated UserAgent module when possible, which exposes our * authoritative server-side PHP-based detection to the client. * * Usage is straightforward: * * if (UserAgent_DEPRECATED.ie()) { * // IE * } * * You can also do version checks: * * if (UserAgent_DEPRECATED.ie() >= 7) { * // IE7 or better * } * * The browser functions will return NaN if the browser does not match, so * you can also do version compares the other way: * * if (UserAgent_DEPRECATED.ie() < 7) { * // IE6 or worse * } * * Note that the version is a float and may include a minor version number, * so you should always use range operators to perform comparisons, not * strict equality. * * **Note:** You should **strongly** prefer capability detection to browser * version detection where it's reasonable: * * http://www.quirksmode.org/js/support.html * * Further, we have a large number of mature wrapper functions and classes * which abstract away many browser irregularities. Check the documentation, * grep for things, or ask on javascript@lists.facebook.com before writing yet * another copy of "event || window.event". * */ var _populated = false; // Browsers var _ie, _firefox, _opera, _webkit, _chrome; // Actual IE browser for compatibility mode var _ie_real_version; // Platforms var _osx, _windows, _linux, _android; // Architectures var _win64; // Devices var _iphone, _ipad, _native; var _mobile; function _populate() { if (_populated) { return; } _populated = true; // To work around buggy JS libraries that can't handle multi-digit // version numbers, Opera 10's user agent string claims it's Opera // 9, then later includes a Version/X.Y field: // // Opera/9.80 (foo) Presto/2.2.15 Version/10.10 var uas = navigator.userAgent; var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas); var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas); _iphone = /\b(iPhone|iP[ao]d)/.exec(uas); _ipad = /\b(iP[ao]d)/.exec(uas); _android = /Android/i.exec(uas); _native = /FBAN\/\w+;/i.exec(uas); _mobile = /Mobile/i.exec(uas); // Note that the IE team blog would have you believe you should be checking // for 'Win64; x64'. But MSDN then reveals that you can actually be coming // from either x64 or ia64; so ultimately, you should just check for Win64 // as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit // Windows will send 'WOW64' instead. _win64 = !!(/Win64/.exec(uas)); if (agent) { _ie = agent[1] ? parseFloat(agent[1]) : ( agent[5] ? parseFloat(agent[5]) : NaN); // IE compatibility mode if (_ie && document && document.documentMode) { _ie = document.documentMode; } // grab the "true" ie version from the trident token if available var trident = /(?:Trident\/(\d+.\d+))/.exec(uas); _ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie; _firefox = agent[2] ? parseFloat(agent[2]) : NaN; _opera = agent[3] ? parseFloat(agent[3]) : NaN; _webkit = agent[4] ? parseFloat(agent[4]) : NaN; if (_webkit) { // We do not add the regexp to the above test, because it will always // match 'safari' only since 'AppleWebKit' appears before 'Chrome' in // the userAgent string. agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas); _chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN; } else { _chrome = NaN; } } else { _ie = _firefox = _opera = _chrome = _webkit = NaN; } if (os) { if (os[1]) { // Detect OS X version. If no version number matches, set _osx to true. // Version examples: 10, 10_6_1, 10.7 // Parses version number as a float, taking only first two sets of // digits. If only one set of digits is found, returns just the major // version number. var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas); _osx = ver ? parseFloat(ver[1].replace('_', '.')) : true; } else { _osx = false; } _windows = !!os[2]; _linux = !!os[3]; } else { _osx = _windows = _linux = false; } } var UserAgent_DEPRECATED = { /** * Check if the UA is Internet Explorer. * * * @return float|NaN Version number (if match) or NaN. */ ie: function() { return _populate() || _ie; }, /** * Check if we're in Internet Explorer compatibility mode. * * @return bool true if in compatibility mode, false if * not compatibility mode or not ie */ ieCompatibilityMode: function() { return _populate() || (_ie_real_version > _ie); }, /** * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we * only need this because Skype can't handle 64-bit IE yet. We need to remove * this when we don't need it -- tracked by #601957. */ ie64: function() { return UserAgent_DEPRECATED.ie() && _win64; }, /** * Check if the UA is Firefox. * * * @return float|NaN Version number (if match) or NaN. */ firefox: function() { return _populate() || _firefox; }, /** * Check if the UA is Opera. * * * @return float|NaN Version number (if match) or NaN. */ opera: function() { return _populate() || _opera; }, /** * Check if the UA is WebKit. * * * @return float|NaN Version number (if match) or NaN. */ webkit: function() { return _populate() || _webkit; }, /** * For Push * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit */ safari: function() { return UserAgent_DEPRECATED.webkit(); }, /** * Check if the UA is a Chrome browser. * * * @return float|NaN Version number (if match) or NaN. */ chrome : function() { return _populate() || _chrome; }, /** * Check if the user is running Windows. * * @return bool `true' if the user's OS is Windows. */ windows: function() { return _populate() || _windows; }, /** * Check if the user is running Mac OS X. * * @return float|bool Returns a float if a version number is detected, * otherwise true/false. */ osx: function() { return _populate() || _osx; }, /** * Check if the user is running Linux. * * @return bool `true' if the user's OS is some flavor of Linux. */ linux: function() { return _populate() || _linux; }, /** * Check if the user is running on an iPhone or iPod platform. * * @return bool `true' if the user is running some flavor of the * iPhone OS. */ iphone: function() { return _populate() || _iphone; }, mobile: function() { return _populate() || (_iphone || _ipad || _android || _mobile); }, nativeApp: function() { // webviews inside of the native apps return _populate() || _native; }, android: function() { return _populate() || _android; }, ipad: function() { return _populate() || _ipad; } }; module.exports = UserAgent_DEPRECATED; /***/ }), /* 292 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule isEventSupported */ var ExecutionEnvironment = __webpack_require__(293); var useHasFeature; if (ExecutionEnvironment.canUseDOM) { useHasFeature = document.implementation && document.implementation.hasFeature && // always returns true in newer browsers as per the standard. // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature document.implementation.hasFeature('', '') !== true; } /** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, * `reset`, `load`, `error`, and `select`. * * Borrows from Modernizr. * * @param {string} eventNameSuffix Event name, e.g. "click". * @param {?boolean} capture Check if the capture phase is supported. * @return {boolean} True if the event is supported. * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */ function isEventSupported(eventNameSuffix, capture) { if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) { return false; } var eventName = 'on' + eventNameSuffix; var isSupported = eventName in document; if (!isSupported) { var element = document.createElement('div'); element.setAttribute(eventName, 'return;'); isSupported = typeof element[eventName] === 'function'; } if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') { // This is the only way to test support for the `wheel` event in IE9+. isSupported = document.implementation.hasFeature('Events.wheel', '3.0'); } return isSupported; } module.exports = isEventSupported; /***/ }), /* 293 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ExecutionEnvironment */ /*jslint evil: true */ var canUseDOM = !!( typeof window !== 'undefined' && window.document && window.document.createElement ); /** * Simple, lightweight module assisting with the detection and context of * Worker. Helps avoid circular dependencies and allows code to reason about * whether or not they are in a Worker, even if they never include the main * `ReactWorker` dependency. */ var ExecutionEnvironment = { canUseDOM: canUseDOM, canUseWorkers: typeof Worker !== 'undefined', canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent), canUseViewport: canUseDOM && !!window.screen, isInWorker: !canUseDOM // For now, this is true - might change in the future. }; module.exports = ExecutionEnvironment; /***/ }), /* 294 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _ariaUtils = __webpack_require__(295); var _ariaUtils2 = _interopRequireDefault(_ariaUtils); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * @constructor * @desc Dialog object providing modal focus management. * * Assumptions: The element serving as the dialog container is present in the * DOM and hidden. The dialog container has role='dialog'. * * @param dialogId * The ID of the element serving as the dialog container. * @param focusAfterClosed * Either the DOM node or the ID of the DOM node to focus when the * dialog closes. * @param focusFirst * Optional parameter containing either the DOM node or the ID of the * DOM node to focus when the dialog opens. If not specified, the * first focusable element in the dialog will receive focus. */ var aria = aria || {}; var tabEvent; aria.Dialog = function (dialog, focusAfterClosed, focusFirst) { var _this = this; this.dialogNode = dialog; if (this.dialogNode === null || this.dialogNode.getAttribute('role') !== 'dialog') { throw new Error('Dialog() requires a DOM element with ARIA role of dialog.'); } if (typeof focusAfterClosed === 'string') { this.focusAfterClosed = document.getElementById(focusAfterClosed); } else if ((typeof focusAfterClosed === 'undefined' ? 'undefined' : _typeof(focusAfterClosed)) === 'object') { this.focusAfterClosed = focusAfterClosed; } else { this.focusAfterClosed = null; } if (typeof focusFirst === 'string') { this.focusFirst = document.getElementById(focusFirst); } else if ((typeof focusFirst === 'undefined' ? 'undefined' : _typeof(focusFirst)) === 'object') { this.focusFirst = focusFirst; } else { this.focusFirst = null; } if (this.focusFirst) { this.focusFirst.focus(); } else { _ariaUtils2.default.focusFirstDescendant(this.dialogNode); } this.lastFocus = document.activeElement; tabEvent = function tabEvent(e) { _this.trapFocus(e); }; this.addListeners(); }; aria.Dialog.prototype.addListeners = function () { document.addEventListener('focus', tabEvent, true); }; aria.Dialog.prototype.removeListeners = function () { document.removeEventListener('focus', tabEvent, true); }; aria.Dialog.prototype.closeDialog = function () { var _this2 = this; this.removeListeners(); if (this.focusAfterClosed) { setTimeout(function () { _this2.focusAfterClosed.focus(); }); } }; aria.Dialog.prototype.trapFocus = function (event) { if (_ariaUtils2.default.IgnoreUtilFocusChanges) { return; } if (this.dialogNode.contains(event.target)) { this.lastFocus = event.target; } else { _ariaUtils2.default.focusFirstDescendant(this.dialogNode); if (this.lastFocus === document.activeElement) { _ariaUtils2.default.focusLastDescendant(this.dialogNode); } this.lastFocus = document.activeElement; } }; exports.default = aria.Dialog; /***/ }), /* 295 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var aria = aria || {}; aria.Utils = aria.Utils || {}; /** * @desc Set focus on descendant nodes until the first focusable element is * found. * @param element * DOM node for which to find the first focusable descendant. * @returns * true if a focusable element is found and focus is set. */ aria.Utils.focusFirstDescendant = function (element) { for (var i = 0; i < element.childNodes.length; i++) { var child = element.childNodes[i]; if (aria.Utils.attemptFocus(child) || aria.Utils.focusFirstDescendant(child)) { return true; } } return false; }; /** * @desc Find the last descendant node that is focusable. * @param element * DOM node for which to find the last focusable descendant. * @returns * true if a focusable element is found and focus is set. */ aria.Utils.focusLastDescendant = function (element) { for (var i = element.childNodes.length - 1; i >= 0; i--) { var child = element.childNodes[i]; if (aria.Utils.attemptFocus(child) || aria.Utils.focusLastDescendant(child)) { return true; } } return false; }; /** * @desc Set Attempt to set focus on the current node. * @param element * The node to attempt to focus on. * @returns * true if element is focused. */ aria.Utils.attemptFocus = function (element) { if (!aria.Utils.isFocusable(element)) { return false; } aria.Utils.IgnoreUtilFocusChanges = true; try { element.focus(); } catch (e) {} aria.Utils.IgnoreUtilFocusChanges = false; return document.activeElement === element; }; aria.Utils.isFocusable = function (element) { if (element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null) { return true; } if (element.disabled) { return false; } switch (element.nodeName) { case 'A': return !!element.href && element.rel !== 'ignore'; case 'INPUT': return element.type !== 'hidden' && element.type !== 'file'; case 'BUTTON': case 'SELECT': case 'TEXTAREA': return true; default: return false; } }; /** * 触发一个事件 * mouseenter, mouseleave, mouseover, keyup, change, click 等 * @param {Element} elm * @param {String} name * @param {*} opts */ aria.Utils.triggerEvent = function (elm, name) { var eventName = void 0; if (/^mouse|click/.test(name)) { eventName = 'MouseEvents'; } else if (/^key/.test(name)) { eventName = 'KeyboardEvent'; } else { eventName = 'HTMLEvents'; } var evt = document.createEvent(eventName); for (var _len = arguments.length, opts = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { opts[_key - 2] = arguments[_key]; } evt.initEvent.apply(evt, [name].concat(opts)); elm.dispatchEvent ? elm.dispatchEvent(evt) : elm.fireEvent('on' + name, evt); return elm; }; aria.Utils.keys = { tab: 9, enter: 13, space: 32, left: 37, up: 38, right: 39, down: 40 }; exports.default = aria.Utils; /***/ }), /* 296 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(121); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof__ = __webpack_require__(24); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__validator___ = __webpack_require__(301); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__messages__ = __webpack_require__(321); /** * Encapsulates a validation schema. * * @param descriptor An object declaring validation rules * for this schema. */ function Schema(descriptor) { this.rules = null; this._messages = __WEBPACK_IMPORTED_MODULE_4__messages__["a" /* messages */]; this.define(descriptor); } Schema.prototype = { messages: function messages(_messages) { if (_messages) { this._messages = Object(__WEBPACK_IMPORTED_MODULE_2__util__["c" /* deepMerge */])(Object(__WEBPACK_IMPORTED_MODULE_4__messages__["b" /* newMessages */])(), _messages); } return this._messages; }, define: function define(rules) { if (!rules) { throw new Error('Cannot configure a schema with no rules'); } if ((typeof rules === 'undefined' ? 'undefined' : __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof___default()(rules)) !== 'object' || Array.isArray(rules)) { throw new Error('Rules must be an object'); } this.rules = {}; var z = void 0; var item = void 0; for (z in rules) { if (rules.hasOwnProperty(z)) { item = rules[z]; this.rules[z] = Array.isArray(item) ? item : [item]; } } }, validate: function validate(source_) { var _this = this; var o = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var oc = arguments[2]; var source = source_; var options = o; var callback = oc; if (typeof options === 'function') { callback = options; options = {}; } if (!this.rules || Object.keys(this.rules).length === 0) { if (callback) { callback(); } return; } function complete(results) { var i = void 0; var field = void 0; var errors = []; var fields = {}; function add(e) { if (Array.isArray(e)) { errors = errors.concat.apply(errors, e); } else { errors.push(e); } } for (i = 0; i < results.length; i++) { add(results[i]); } if (!errors.length) { errors = null; fields = null; } else { for (i = 0; i < errors.length; i++) { field = errors[i].field; fields[field] = fields[field] || []; fields[field].push(errors[i]); } } callback(errors, fields); } if (options.messages) { var messages = this.messages(); if (messages === __WEBPACK_IMPORTED_MODULE_4__messages__["a" /* messages */]) { messages = Object(__WEBPACK_IMPORTED_MODULE_4__messages__["b" /* newMessages */])(); } Object(__WEBPACK_IMPORTED_MODULE_2__util__["c" /* deepMerge */])(messages, options.messages); options.messages = messages; } else { options.messages = this.messages(); } var arr = void 0; var value = void 0; var series = {}; var keys = options.keys || Object.keys(this.rules); keys.forEach(function (z) { arr = _this.rules[z]; value = source[z]; arr.forEach(function (r) { var rule = r; if (typeof rule.transform === 'function') { if (source === source_) { source = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, source); } value = source[z] = rule.transform(value); } if (typeof rule === 'function') { rule = { validator: rule }; } else { rule = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, rule); } rule.validator = _this.getValidationMethod(rule); rule.field = z; rule.fullField = rule.fullField || z; rule.type = _this.getType(rule); if (!rule.validator) { return; } series[z] = series[z] || []; series[z].push({ rule: rule, value: value, source: source, field: z }); }); }); var errorFields = {}; Object(__WEBPACK_IMPORTED_MODULE_2__util__["a" /* asyncMap */])(series, options, function (data, doIt) { var rule = data.rule; var deep = (rule.type === 'object' || rule.type === 'array') && (__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof___default()(rule.fields) === 'object' || __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_typeof___default()(rule.defaultField) === 'object'); deep = deep && (rule.required || !rule.required && data.value); rule.field = data.field; function addFullfield(key, schema) { return __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, schema, { fullField: rule.fullField + '.' + key }); } function cb() { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var errors = e; if (!Array.isArray(errors)) { errors = [errors]; } if (errors.length) { Object(__WEBPACK_IMPORTED_MODULE_2__util__["f" /* warning */])('async-validator:', errors); } if (errors.length && rule.message) { errors = [].concat(rule.message); } errors = errors.map(Object(__WEBPACK_IMPORTED_MODULE_2__util__["b" /* complementError */])(rule)); if (options.first && errors.length) { errorFields[rule.field] = 1; return doIt(errors); } if (!deep) { doIt(errors); } else { // if rule is required but the target object // does not exist fail at the rule level and don't // go deeper if (rule.required && !data.value) { if (rule.message) { errors = [].concat(rule.message).map(Object(__WEBPACK_IMPORTED_MODULE_2__util__["b" /* complementError */])(rule)); } else if (options.error) { errors = [options.error(rule, Object(__WEBPACK_IMPORTED_MODULE_2__util__["d" /* format */])(options.messages.required, rule.field))]; } else { errors = []; } return doIt(errors); } var fieldsSchema = {}; if (rule.defaultField) { for (var k in data.value) { if (data.value.hasOwnProperty(k)) { fieldsSchema[k] = rule.defaultField; } } } fieldsSchema = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, fieldsSchema, data.rule.fields); for (var f in fieldsSchema) { if (fieldsSchema.hasOwnProperty(f)) { var fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]]; fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f)); } } var schema = new Schema(fieldsSchema); schema.messages(options.messages); if (data.rule.options) { data.rule.options.messages = options.messages; data.rule.options.error = options.error; } schema.validate(data.value, data.rule.options || options, function (errs) { doIt(errs && errs.length ? errors.concat(errs) : errs); }); } } var res = rule.validator(rule, data.value, cb, data.source, options); if (res && res.then) { res.then(function () { return cb(); }, function (e) { return cb(e); }); } }, function (results) { complete(results); }); }, getType: function getType(rule) { if (rule.type === undefined && rule.pattern instanceof RegExp) { rule.type = 'pattern'; } if (typeof rule.validator !== 'function' && rule.type && !__WEBPACK_IMPORTED_MODULE_3__validator___["a" /* default */].hasOwnProperty(rule.type)) { throw new Error(Object(__WEBPACK_IMPORTED_MODULE_2__util__["d" /* format */])('Unknown rule type %s', rule.type)); } return rule.type || 'string'; }, getValidationMethod: function getValidationMethod(rule) { if (typeof rule.validator === 'function') { return rule.validator; } var keys = Object.keys(rule); var messageIndex = keys.indexOf('message'); if (messageIndex !== -1) { keys.splice(messageIndex, 1); } if (keys.length === 1 && keys[0] === 'required') { return __WEBPACK_IMPORTED_MODULE_3__validator___["a" /* default */].required; } return __WEBPACK_IMPORTED_MODULE_3__validator___["a" /* default */][this.getType(rule)] || false; } }; Schema.register = function register(type, validator) { if (typeof validator !== 'function') { throw new Error('Cannot register a validator by type, validator is not a function'); } __WEBPACK_IMPORTED_MODULE_3__validator___["a" /* default */][type] = validator; }; Schema.messages = __WEBPACK_IMPORTED_MODULE_4__messages__["a" /* messages */]; /* harmony default export */ __webpack_exports__["default"] = (Schema); /***/ }), /* 297 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { "default": __webpack_require__(298), __esModule: true }; /***/ }), /* 298 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(299); module.exports = __webpack_require__(3).Object.assign; /***/ }), /* 299 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.3.1 Object.assign(target, source) var $export = __webpack_require__(16); $export($export.S + $export.F, 'Object', { assign: __webpack_require__(300) }); /***/ }), /* 300 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // 19.1.2.1 Object.assign(target, source, ...) var getKeys = __webpack_require__(20); var gOPS = __webpack_require__(42); var pIE = __webpack_require__(25); var toObject = __webpack_require__(41); var IObject = __webpack_require__(57); var $assign = Object.assign; // should work with symbols and should have deterministic property order (V8 bug) module.exports = !$assign || __webpack_require__(14)(function () { var A = {}; var B = {}; // eslint-disable-next-line no-undef var S = Symbol(); var K = 'abcdefghijklmnopqrst'; A[S] = 7; K.split('').forEach(function (k) { B[k] = k; }); return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; }) ? function assign(target, source) { // eslint-disable-line no-unused-vars var T = toObject(target); var aLen = arguments.length; var index = 1; var getSymbols = gOPS.f; var isEnum = pIE.f; while (aLen > index) { var S = IObject(arguments[index++]); var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); var length = keys.length; var j = 0; var key; while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; } return T; } : $assign; /***/ }), /* 301 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__string__ = __webpack_require__(302); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__method__ = __webpack_require__(308); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__number__ = __webpack_require__(309); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__boolean__ = __webpack_require__(310); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__regexp__ = __webpack_require__(311); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__integer__ = __webpack_require__(312); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__float__ = __webpack_require__(313); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__array__ = __webpack_require__(314); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__object__ = __webpack_require__(315); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__enum__ = __webpack_require__(316); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pattern__ = __webpack_require__(317); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__date__ = __webpack_require__(318); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__required__ = __webpack_require__(319); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__type__ = __webpack_require__(320); /* harmony default export */ __webpack_exports__["a"] = ({ string: __WEBPACK_IMPORTED_MODULE_0__string__["a" /* default */], method: __WEBPACK_IMPORTED_MODULE_1__method__["a" /* default */], number: __WEBPACK_IMPORTED_MODULE_2__number__["a" /* default */], boolean: __WEBPACK_IMPORTED_MODULE_3__boolean__["a" /* default */], regexp: __WEBPACK_IMPORTED_MODULE_4__regexp__["a" /* default */], integer: __WEBPACK_IMPORTED_MODULE_5__integer__["a" /* default */], float: __WEBPACK_IMPORTED_MODULE_6__float__["a" /* default */], array: __WEBPACK_IMPORTED_MODULE_7__array__["a" /* default */], object: __WEBPACK_IMPORTED_MODULE_8__object__["a" /* default */], 'enum': __WEBPACK_IMPORTED_MODULE_9__enum__["a" /* default */], pattern: __WEBPACK_IMPORTED_MODULE_10__pattern__["a" /* default */], date: __WEBPACK_IMPORTED_MODULE_11__date__["a" /* default */], url: __WEBPACK_IMPORTED_MODULE_13__type__["a" /* default */], hex: __WEBPACK_IMPORTED_MODULE_13__type__["a" /* default */], email: __WEBPACK_IMPORTED_MODULE_13__type__["a" /* default */], required: __WEBPACK_IMPORTED_MODULE_12__required__["a" /* default */] }); /***/ }), /* 302 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); /** * Performs validation for string types. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function string(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value, 'string') && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options, 'string'); if (!Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value, 'string')) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].type(rule, value, source, errors, options); __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].range(rule, value, source, errors, options); __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].pattern(rule, value, source, errors, options); if (rule.whitespace === true) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].whitespace(rule, value, source, errors, options); } } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (string); /***/ }), /* 303 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(1); /** * Rule for validating whitespace. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param source The source object being validated. * @param errors An array of errors that this rule may add * validation errors to. * @param options The validation options. * @param options.messages The validation messages. */ function whitespace(rule, value, source, errors, options) { if (/^\s+$/.test(value) || value === '') { errors.push(__WEBPACK_IMPORTED_MODULE_0__util__["d" /* format */](options.messages.whitespace, rule.fullField)); } } /* harmony default export */ __webpack_exports__["a"] = (whitespace); /***/ }), /* 304 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_typeof__ = __webpack_require__(24); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_typeof__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__required__ = __webpack_require__(122); /* eslint max-len:0 */ var pattern = { // http://emailregex.com/ email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, url: new RegExp('^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$', 'i'), hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i }; var types = { integer: function integer(value) { return types.number(value) && parseInt(value, 10) === value; }, float: function float(value) { return types.number(value) && !types.integer(value); }, array: function array(value) { return Array.isArray(value); }, regexp: function regexp(value) { if (value instanceof RegExp) { return true; } try { return !!new RegExp(value); } catch (e) { return false; } }, date: function date(value) { return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function'; }, number: function number(value) { if (isNaN(value)) { return false; } return typeof value === 'number'; }, object: function object(value) { return (typeof value === 'undefined' ? 'undefined' : __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_typeof___default()(value)) === 'object' && !types.array(value); }, method: function method(value) { return typeof value === 'function'; }, email: function email(value) { return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255; }, url: function url(value) { return typeof value === 'string' && !!value.match(pattern.url); }, hex: function hex(value) { return typeof value === 'string' && !!value.match(pattern.hex); } }; /** * Rule for validating the type of a value. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param source The source object being validated. * @param errors An array of errors that this rule may add * validation errors to. * @param options The validation options. * @param options.messages The validation messages. */ function type(rule, value, source, errors, options) { if (rule.required && value === undefined) { Object(__WEBPACK_IMPORTED_MODULE_2__required__["a" /* default */])(rule, value, source, errors, options); return; } var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex']; var ruleType = rule.type; if (custom.indexOf(ruleType) > -1) { if (!types[ruleType](value)) { errors.push(__WEBPACK_IMPORTED_MODULE_1__util__["d" /* format */](options.messages.types[ruleType], rule.fullField, rule.type)); } // straight typeof check } else if (ruleType && (typeof value === 'undefined' ? 'undefined' : __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_typeof___default()(value)) !== rule.type) { errors.push(__WEBPACK_IMPORTED_MODULE_1__util__["d" /* format */](options.messages.types[ruleType], rule.fullField, rule.type)); } } /* harmony default export */ __webpack_exports__["a"] = (type); /***/ }), /* 305 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(1); /** * Rule for validating minimum and maximum allowed values. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param source The source object being validated. * @param errors An array of errors that this rule may add * validation errors to. * @param options The validation options. * @param options.messages The validation messages. */ function range(rule, value, source, errors, options) { var len = typeof rule.len === 'number'; var min = typeof rule.min === 'number'; var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane) var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; var val = value; var key = null; var num = typeof value === 'number'; var str = typeof value === 'string'; var arr = Array.isArray(value); if (num) { key = 'number'; } else if (str) { key = 'string'; } else if (arr) { key = 'array'; } // if the value is not of a supported type for range validation // the validation rule rule should use the // type property to also test for a particular type if (!key) { return false; } if (arr) { val = value.length; } if (str) { // 处理码点大于U+010000的文字length属性不准确的bug,如"𠮷𠮷𠮷".lenght !== 3 val = value.replace(spRegexp, '_').length; } if (len) { if (val !== rule.len) { errors.push(__WEBPACK_IMPORTED_MODULE_0__util__["d" /* format */](options.messages[key].len, rule.fullField, rule.len)); } } else if (min && !max && val < rule.min) { errors.push(__WEBPACK_IMPORTED_MODULE_0__util__["d" /* format */](options.messages[key].min, rule.fullField, rule.min)); } else if (max && !min && val > rule.max) { errors.push(__WEBPACK_IMPORTED_MODULE_0__util__["d" /* format */](options.messages[key].max, rule.fullField, rule.max)); } else if (min && max && (val < rule.min || val > rule.max)) { errors.push(__WEBPACK_IMPORTED_MODULE_0__util__["d" /* format */](options.messages[key].range, rule.fullField, rule.min, rule.max)); } } /* harmony default export */ __webpack_exports__["a"] = (range); /***/ }), /* 306 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(1); var ENUM = 'enum'; /** * Rule for validating a value exists in an enumerable list. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param source The source object being validated. * @param errors An array of errors that this rule may add * validation errors to. * @param options The validation options. * @param options.messages The validation messages. */ function enumerable(rule, value, source, errors, options) { rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : []; if (rule[ENUM].indexOf(value) === -1) { errors.push(__WEBPACK_IMPORTED_MODULE_0__util__["d" /* format */](options.messages[ENUM], rule.fullField, rule[ENUM].join(', '))); } } /* harmony default export */ __webpack_exports__["a"] = (enumerable); /***/ }), /* 307 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(1); /** * Rule for validating a regular expression pattern. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param source The source object being validated. * @param errors An array of errors that this rule may add * validation errors to. * @param options The validation options. * @param options.messages The validation messages. */ function pattern(rule, value, source, errors, options) { if (rule.pattern) { if (rule.pattern instanceof RegExp) { // if a RegExp instance is passed, reset `lastIndex` in case its `global` // flag is accidentally set to `true`, which in a validation scenario // is not necessary and the result might be misleading rule.pattern.lastIndex = 0; if (!rule.pattern.test(value)) { errors.push(__WEBPACK_IMPORTED_MODULE_0__util__["d" /* format */](options.messages.pattern.mismatch, rule.fullField, value, rule.pattern)); } } else if (typeof rule.pattern === 'string') { var _pattern = new RegExp(rule.pattern); if (!_pattern.test(value)) { errors.push(__WEBPACK_IMPORTED_MODULE_0__util__["d" /* format */](options.messages.pattern.mismatch, rule.fullField, value, rule.pattern)); } } } } /* harmony default export */ __webpack_exports__["a"] = (pattern); /***/ }), /* 308 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); /** * Validates a function. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function method(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value) && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options); if (value !== undefined) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].type(rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (method); /***/ }), /* 309 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); /** * Validates a number. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function number(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value) && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options); if (value !== undefined) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].type(rule, value, source, errors, options); __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].range(rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (number); /***/ }), /* 310 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__rule___ = __webpack_require__(10); /** * Validates a boolean. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function boolean(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_0__util__["e" /* isEmptyValue */])(value) && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_1__rule___["a" /* default */].required(rule, value, source, errors, options); if (value !== undefined) { __WEBPACK_IMPORTED_MODULE_1__rule___["a" /* default */].type(rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (boolean); /***/ }), /* 311 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); /** * Validates the regular expression type. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function regexp(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value) && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options); if (!Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value)) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].type(rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (regexp); /***/ }), /* 312 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); /** * Validates a number is an integer. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function integer(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value) && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options); if (value !== undefined) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].type(rule, value, source, errors, options); __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].range(rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (integer); /***/ }), /* 313 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); /** * Validates a number is a floating point number. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function floatFn(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value) && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options); if (value !== undefined) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].type(rule, value, source, errors, options); __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].range(rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (floatFn); /***/ }), /* 314 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); /** * Validates an array. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function array(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value, 'array') && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options, 'array'); if (!Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value, 'array')) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].type(rule, value, source, errors, options); __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].range(rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (array); /***/ }), /* 315 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); /** * Validates an object. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function object(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value) && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options); if (value !== undefined) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].type(rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (object); /***/ }), /* 316 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); var ENUM = 'enum'; /** * Validates an enumerable list. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function enumerable(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value) && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options); if (value) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */][ENUM](rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (enumerable); /***/ }), /* 317 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); /** * Validates a regular expression pattern. * * Performs validation when a rule only contains * a pattern property but is not declared as a string type. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param callback The callback function. * @param source The source object being validated. * @param options The validation options. * @param options.messages The validation messages. */ function pattern(rule, value, callback, source, options) { var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value, 'string') && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options); if (!Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value, 'string')) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].pattern(rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (pattern); /***/ }), /* 318 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); function date(rule, value, callback, source, options) { // console.log('integer rule called %j', rule); var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); // console.log('validate on %s value', value); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value) && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options); if (!Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value)) { var dateObject = void 0; if (typeof value === 'number') { dateObject = new Date(value); } else { dateObject = value; } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].type(rule, dateObject, source, errors, options); if (dateObject) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].range(rule, dateObject.getTime(), source, errors, options); } } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (date); /***/ }), /* 319 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_typeof__ = __webpack_require__(24); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_typeof__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__rule___ = __webpack_require__(10); function required(rule, value, callback, source, options) { var errors = []; var type = Array.isArray(value) ? 'array' : typeof value === 'undefined' ? 'undefined' : __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_typeof___default()(value); __WEBPACK_IMPORTED_MODULE_1__rule___["a" /* default */].required(rule, value, source, errors, options, type); callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (required); /***/ }), /* 320 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__rule___ = __webpack_require__(10); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(1); function type(rule, value, callback, source, options) { var ruleType = rule.type; var errors = []; var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); if (validate) { if (Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value, ruleType) && !rule.required) { return callback(); } __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].required(rule, value, source, errors, options, ruleType); if (!Object(__WEBPACK_IMPORTED_MODULE_1__util__["e" /* isEmptyValue */])(value, ruleType)) { __WEBPACK_IMPORTED_MODULE_0__rule___["a" /* default */].type(rule, value, source, errors, options); } } callback(errors); } /* harmony default export */ __webpack_exports__["a"] = (type); /***/ }), /* 321 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (immutable) */ __webpack_exports__["b"] = newMessages; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return messages; }); function newMessages() { return { 'default': 'Validation error on field %s', required: '%s is required', 'enum': '%s must be one of %s', whitespace: '%s cannot be empty', date: { format: '%s date %s is invalid for format %s', parse: '%s date could not be parsed, %s is invalid ', invalid: '%s date %s is invalid' }, types: { string: '%s is not a %s', method: '%s is not a %s (function)', array: '%s is not an %s', object: '%s is not an %s', number: '%s is not a %s', date: '%s is not a %s', boolean: '%s is not a %s', integer: '%s is not an %s', float: '%s is not a %s', regexp: '%s is not a valid %s', email: '%s is not a valid %s', url: '%s is not a valid %s', hex: '%s is not a valid %s' }, string: { len: '%s must be exactly %s characters', min: '%s must be at least %s characters', max: '%s cannot be longer than %s characters', range: '%s must be between %s and %s characters' }, number: { len: '%s must equal %s', min: '%s cannot be less than %s', max: '%s cannot be greater than %s', range: '%s must be between %s and %s' }, array: { len: '%s must be exactly %s in length', min: '%s cannot be less than %s in length', max: '%s cannot be greater than %s in length', range: '%s must be between %s and %s in length' }, pattern: { mismatch: '%s value %s does not match pattern %s' }, clone: function clone() { var cloned = JSON.parse(JSON.stringify(this)); cloned.clone = this.clone; return cloned; } }; } var messages = newMessages(); /***/ }), /* 322 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (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 = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 69); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 2: /***/ (function(module, exports) { module.exports = __webpack_require__(26); /***/ }), /***/ 21: /***/ (function(module, exports) { module.exports = __webpack_require__(99); /***/ }), /***/ 25: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2); /* harmony import */ var element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__); /* harmony default export */ __webpack_exports__["a"] = ({ bind: function bind(el, binding, vnode) { var interval = null; var startTime = void 0; var handler = function handler() { return vnode.context[binding.expression].apply(); }; var clear = function clear() { if (new Date() - startTime < 100) { handler(); } clearInterval(interval); interval = null; }; Object(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__["on"])(el, 'mousedown', function (e) { if (e.button !== 0) return; startTime = new Date(); Object(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__["once"])(document, 'mouseup', clear); clearInterval(interval); interval = setInterval(handler, 100); }); } }); /***/ }), /***/ 69: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=template&id=42f8cf66& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { class: [ "el-input-number", _vm.inputNumberSize ? "el-input-number--" + _vm.inputNumberSize : "", { "is-disabled": _vm.inputNumberDisabled }, { "is-without-controls": !_vm.controls }, { "is-controls-right": _vm.controlsAtRight } ], on: { dragstart: function($event) { $event.preventDefault() } } }, [ _vm.controls ? _c( "span", { directives: [ { name: "repeat-click", rawName: "v-repeat-click", value: _vm.decrease, expression: "decrease" } ], staticClass: "el-input-number__decrease", class: { "is-disabled": _vm.minDisabled }, attrs: { role: "button" }, on: { keydown: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } return _vm.decrease($event) } } }, [ _c("i", { class: "el-icon-" + (_vm.controlsAtRight ? "arrow-down" : "minus") }) ] ) : _vm._e(), _vm.controls ? _c( "span", { directives: [ { name: "repeat-click", rawName: "v-repeat-click", value: _vm.increase, expression: "increase" } ], staticClass: "el-input-number__increase", class: { "is-disabled": _vm.maxDisabled }, attrs: { role: "button" }, on: { keydown: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } return _vm.increase($event) } } }, [ _c("i", { class: "el-icon-" + (_vm.controlsAtRight ? "arrow-up" : "plus") }) ] ) : _vm._e(), _c("el-input", { ref: "input", attrs: { value: _vm.displayValue, placeholder: _vm.placeholder, disabled: _vm.inputNumberDisabled, size: _vm.inputNumberSize, max: _vm.max, min: _vm.min, name: _vm.name, label: _vm.label }, on: { blur: _vm.handleBlur, focus: _vm.handleFocus, input: _vm.handleInput, change: _vm.handleInputChange }, nativeOn: { keydown: [ function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"]) ) { return null } $event.preventDefault() return _vm.increase($event) }, function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "down", 40, $event.key, [ "Down", "ArrowDown" ]) ) { return null } $event.preventDefault() return _vm.decrease($event) } ] } }) ], 1 ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=template&id=42f8cf66& // EXTERNAL MODULE: external "element-ui/lib/input" var input_ = __webpack_require__(9); var input_default = /*#__PURE__*/__webpack_require__.n(input_); // EXTERNAL MODULE: external "element-ui/lib/mixins/focus" var focus_ = __webpack_require__(21); var focus_default = /*#__PURE__*/__webpack_require__.n(focus_); // EXTERNAL MODULE: ./src/directives/repeat-click.js var repeat_click = __webpack_require__(25); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var input_numbervue_type_script_lang_js_ = ({ name: 'ElInputNumber', mixins: [focus_default()('input')], inject: { elForm: { default: '' }, elFormItem: { default: '' } }, directives: { repeatClick: repeat_click["a" /* default */] }, components: { ElInput: input_default.a }, props: { step: { type: Number, default: 1 }, max: { type: Number, default: Infinity }, min: { type: Number, default: -Infinity }, value: {}, disabled: Boolean, size: String, controls: { type: Boolean, default: true }, controlsPosition: { type: String, default: '' }, name: String, label: String, placeholder: String, precision: { type: Number, validator: function validator(val) { return val >= 0 && val === parseInt(val, 10); } } }, data: function data() { return { currentValue: 0, userInput: null }; }, watch: { value: { immediate: true, handler: function handler(value) { var newVal = value === undefined ? value : Number(value); if (newVal !== undefined) { if (isNaN(newVal)) { return; } if (this.precision !== undefined) { newVal = this.toPrecision(newVal, this.precision); } } if (newVal >= this.max) newVal = this.max; if (newVal <= this.min) newVal = this.min; this.currentValue = newVal; this.userInput = null; this.$emit('input', newVal); } } }, computed: { minDisabled: function minDisabled() { return this._decrease(this.value, this.step) < this.min; }, maxDisabled: function maxDisabled() { return this._increase(this.value, this.step) > this.max; }, numPrecision: function numPrecision() { var value = this.value, step = this.step, getPrecision = this.getPrecision, precision = this.precision; var stepPrecision = getPrecision(step); if (precision !== undefined) { if (stepPrecision > precision) { console.warn('[Element Warn][InputNumber]precision should not be less than the decimal places of step'); } return precision; } else { return Math.max(getPrecision(value), stepPrecision); } }, controlsAtRight: function controlsAtRight() { return this.controls && this.controlsPosition === 'right'; }, _elFormItemSize: function _elFormItemSize() { return (this.elFormItem || {}).elFormItemSize; }, inputNumberSize: function inputNumberSize() { return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; }, inputNumberDisabled: function inputNumberDisabled() { return this.disabled || (this.elForm || {}).disabled; }, displayValue: function displayValue() { if (this.userInput !== null) { return this.userInput; } var currentValue = this.currentValue; if (typeof currentValue === 'number' && this.precision !== undefined) { return currentValue.toFixed(this.precision); } else { return currentValue; } } }, methods: { toPrecision: function toPrecision(num, precision) { if (precision === undefined) precision = this.numPrecision; return parseFloat(parseFloat(Number(num).toFixed(precision))); }, getPrecision: function getPrecision(value) { if (value === undefined) return 0; var valueString = value.toString(); var dotPosition = valueString.indexOf('.'); var precision = 0; if (dotPosition !== -1) { precision = valueString.length - dotPosition - 1; } return precision; }, _increase: function _increase(val, step) { if (typeof val !== 'number' && val !== undefined) return this.currentValue; var precisionFactor = Math.pow(10, this.numPrecision); // Solve the accuracy problem of JS decimal calculation by converting the value to integer. return this.toPrecision((precisionFactor * val + precisionFactor * step) / precisionFactor); }, _decrease: function _decrease(val, step) { if (typeof val !== 'number' && val !== undefined) return this.currentValue; var precisionFactor = Math.pow(10, this.numPrecision); return this.toPrecision((precisionFactor * val - precisionFactor * step) / precisionFactor); }, increase: function increase() { if (this.inputNumberDisabled || this.maxDisabled) return; var value = this.value || 0; var newVal = this._increase(value, this.step); this.setCurrentValue(newVal); }, decrease: function decrease() { if (this.inputNumberDisabled || this.minDisabled) return; var value = this.value || 0; var newVal = this._decrease(value, this.step); this.setCurrentValue(newVal); }, handleBlur: function handleBlur(event) { this.$emit('blur', event); }, handleFocus: function handleFocus(event) { this.$emit('focus', event); }, setCurrentValue: function setCurrentValue(newVal) { var oldVal = this.currentValue; if (typeof newVal === 'number' && this.precision !== undefined) { newVal = this.toPrecision(newVal, this.precision); } if (newVal >= this.max) newVal = this.max; if (newVal <= this.min) newVal = this.min; if (oldVal === newVal) return; this.userInput = null; this.$emit('input', newVal); this.$emit('change', newVal, oldVal); this.currentValue = newVal; }, handleInput: function handleInput(value) { this.userInput = value; }, handleInputChange: function handleInputChange(value) { var newVal = value === '' ? undefined : Number(value); if (!isNaN(newVal) || value === '') { this.setCurrentValue(newVal); } this.userInput = null; }, select: function select() { this.$refs.input.select(); } }, mounted: function mounted() { var innerInput = this.$refs.input.$refs.input; innerInput.setAttribute('role', 'spinbutton'); innerInput.setAttribute('aria-valuemax', this.max); innerInput.setAttribute('aria-valuemin', this.min); innerInput.setAttribute('aria-valuenow', this.currentValue); innerInput.setAttribute('aria-disabled', this.inputNumberDisabled); }, updated: function updated() { if (!this.$refs || !this.$refs.input) return; var innerInput = this.$refs.input.$refs.input; innerInput.setAttribute('aria-valuenow', this.currentValue); } }); // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=script&lang=js& /* harmony default export */ var src_input_numbervue_type_script_lang_js_ = (input_numbervue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_input_numbervue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/input-number/src/input-number.vue" /* harmony default export */ var input_number = (component.exports); // CONCATENATED MODULE: ./packages/input-number/index.js /* istanbul ignore next */ input_number.install = function (Vue) { Vue.component(input_number.name, input_number); }; /* harmony default export */ var packages_input_number = __webpack_exports__["default"] = (input_number); /***/ }), /***/ 9: /***/ (function(module, exports) { module.exports = __webpack_require__(96); /***/ }) /******/ }); /***/ }), /* 323 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "colibri-icon-picker" }, [ _c( "el-popover", { ref: "popover", attrs: { placement: "right", title: "", trigger: "click", width: "420" }, on: { show: _vm.initOptions } }, [ _c("div", { staticClass: "colibri-icons-wrapper" }, [ _c("div", { staticClass: "inline-elements-container" }, [ _c("div", { staticClass: "inline-element fit" }, [ _c("span", [_vm._v(_vm._s(_vm.selectIcon))]) ]), _vm._v(" "), _c( "div", { staticClass: "inline-element" }, [ _c("el-input", { model: { value: _vm.search, callback: function($$v) { _vm.search = $$v }, expression: "search" } }) ], 1 ) ]), _vm._v(" "), _c("div", { staticClass: "colibri-icons-holder" }, [ _c( "ul", _vm._l(_vm.options, function(option) { return _c("li", { key: option.name }, [ _c("span", { staticClass: "icon-preview", style: _vm.iconStyle(option.content), on: { click: function($event) { return _vm.setValue(option) } } }) ]) }), 0 ) ]) ]), _vm._v(" "), _c( "el-button", { staticClass: "picker-button", attrs: { slot: "reference", type: "text" }, slot: "reference" }, [ _c("span", { staticClass: "icon-preview", style: _vm.iconStyle(_vm.currentValue.content) }), _vm._v(" "), _c("span", { staticClass: "icon-label" }, [ _vm._v(_vm._s(_vm.toLabel(_vm.currentValue.name))) ]) ] ) ], 1 ) ], 1 ) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-7b40d776", module.exports) } } /***/ }), /* 324 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false function injectStyle (ssrContext) { if (disposed) return __webpack_require__(325) } var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(327) /* template */ var __vue_template__ = __webpack_require__(328) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = "data-v-5c8f3e3f" /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "assets/src/customizer/js/vue-components/Select.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-5c8f3e3f", Component.options) } else { hotAPI.reload("data-v-5c8f3e3f", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 325 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(326); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__(23)("50633832", content, false, {}); // Hot Module Replacement if(false) { // When the styles change, update the <style> tags if(!content.locals) { module.hot.accept("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-5c8f3e3f\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./Select.vue", function() { var newContent = require("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-5c8f3e3f\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./Select.vue"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent); }); } // When the module is disposed, remove the <style> tags module.hot.dispose(function() { update(); }); } /***/ }), /* 326 */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // imports // module exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", ""]); // exports /***/ }), /* 327 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // // // // // // // // // // exports.default = { name: "Select", data: function data() { return { selectValue: '' }; }, props: { options: { type: Array, default: [] }, value: {} }, mounted: function mounted() { this.selectValue = this.value; }, computed: { elOptions: function elOptions() { return _.map(this.options, function (label, value) { value = value.toString(); label = label.toString(); return { value: value, label: label }; }); } }, methods: { setValue: function setValue(value) { this.selectValue = value; this.$emit('change', value); } } }; /***/ }), /* 328 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "el-select", { on: { change: _vm.setValue }, model: { value: _vm.selectValue, callback: function($$v) { _vm.selectValue = $$v }, expression: "selectValue" } }, _vm._l(_vm.elOptions, function(item) { return _c("el-option", { key: item.value, attrs: { disabled: item.disabled, label: item.label, value: item.value } }) }), 1 ) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-5c8f3e3f", module.exports) } } /***/ }), /* 329 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false function injectStyle (ssrContext) { if (disposed) return __webpack_require__(330) } var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(332) /* template */ var __vue_template__ = __webpack_require__(333) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = "data-v-6b6a662a" /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "assets/src/customizer/js/vue-components/ColibriText.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-6b6a662a", Component.options) } else { hotAPI.reload("data-v-6b6a662a", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 330 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(331); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__(23)("64d18089", content, false, {}); // Hot Module Replacement if(false) { // When the styles change, update the <style> tags if(!content.locals) { module.hot.accept("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-6b6a662a\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ColibriText.vue", function() { var newContent = require("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-6b6a662a\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ColibriText.vue"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent); }); } // When the module is disposed, remove the <style> tags module.hot.dispose(function() { update(); }); } /***/ }), /* 331 */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // imports // module exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", ""]); // exports /***/ }), /* 332 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // // // // exports.default = { name: "ColibriText", data: function data() { return { currentValue: '' }; }, props: { value: {} }, mounted: function mounted() { this.currentValue = this.value; }, methods: { setValue: function setValue(value) { this.currentValue = value; this.$emit('change', value); }, debouncedSetValue: _.debounce(function (value) { this.currentValue = value; this.$emit('change', value); }, 300) } }; /***/ }), /* 333 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("el-input", { attrs: { type: "text" }, on: { change: _vm.setValue, input: _vm.debouncedSetValue }, model: { value: _vm.currentValue, callback: function($$v) { _vm.currentValue = $$v }, expression: "currentValue" } }) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-6b6a662a", module.exports) } } /***/ }), /* 334 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false function injectStyle (ssrContext) { if (disposed) return __webpack_require__(335) } var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(337) /* template */ var __vue_template__ = __webpack_require__(338) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = "data-v-4cebfa9e" /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "assets/src/customizer/js/vue-components/ColibriSlider.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-4cebfa9e", Component.options) } else { hotAPI.reload("data-v-4cebfa9e", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 335 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(336); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__(23)("65e1b5f8", content, false, {}); // Hot Module Replacement if(false) { // When the styles change, update the <style> tags if(!content.locals) { module.hot.accept("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-4cebfa9e\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ColibriSlider.vue", function() { var newContent = require("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-4cebfa9e\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ColibriSlider.vue"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent); }); } // When the module is disposed, remove the <style> tags module.hot.dispose(function() { update(); }); } /***/ }), /* 336 */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // imports // module exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", ""]); // exports /***/ }), /* 337 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // // // // // // // // // // // // // // // // // // // // // // // // // // // // exports.default = { name: "ColibriSlider", props: { min: { type: Number, default: 0 }, max: { type: Number, default: 100 }, step: { type: Number, default: 1 }, value: { type: Number, default: 0 } }, data: function data() { return { internalValue: 0 }; }, mounted: function mounted() { this.internalValue = parseFloat(this.value); }, methods: { setValue: function setValue(value) { this.internalValue = parseFloat(value); this.$emit('change', this.internalValue); } } }; /***/ }), /* 338 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "inline-elements-container" }, [ _c( "div", { staticClass: "inline-element" }, [ _c("el-slider", { attrs: { max: _vm.max, min: _vm.min, step: _vm.step }, on: { change: _vm.setValue }, model: { value: _vm.internalValue, callback: function($$v) { _vm.internalValue = $$v }, expression: "internalValue" } }) ], 1 ), _vm._v(" "), _c( "div", { staticClass: "inline-element fit" }, [ _c("el-input-number", { attrs: { max: _vm.max, min: _vm.min, step: _vm.step, "controls-position": "right", size: "small" }, on: { change: _vm.setValue }, model: { value: _vm.internalValue, callback: function($$v) { _vm.internalValue = $$v }, expression: "internalValue" } }) ], 1 ) ]) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-4cebfa9e", module.exports) } } /***/ }), /* 339 */ /***/ (function(module, exports, __webpack_require__) { var disposed = false function injectStyle (ssrContext) { if (disposed) return __webpack_require__(340) } var normalizeComponent = __webpack_require__(15) /* script */ var __vue_script__ = __webpack_require__(342) /* template */ var __vue_template__ = __webpack_require__(343) /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = "data-v-136c511e" /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __vue_script__, __vue_template__, __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) Component.options.__file = "assets/src/customizer/js/vue-components/ColibriSwitch.vue" /* hot reload */ if (false) {(function () { var hotAPI = require("vue-hot-reload-api") hotAPI.install(require("vue"), false) if (!hotAPI.compatible) return module.hot.accept() if (!module.hot.data) { hotAPI.createRecord("data-v-136c511e", Component.options) } else { hotAPI.reload("data-v-136c511e", Component.options) } module.hot.dispose(function (data) { disposed = true }) })()} module.exports = Component.exports /***/ }), /* 340 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(341); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__(23)("6b501efe", content, false, {}); // Hot Module Replacement if(false) { // When the styles change, update the <style> tags if(!content.locals) { module.hot.accept("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-136c511e\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ColibriSwitch.vue", function() { var newContent = require("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-136c511e\",\"scoped\":true,\"hasInlineConfig\":true}!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./ColibriSwitch.vue"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent); }); } // When the module is disposed, remove the <style> tags module.hot.dispose(function() { update(); }); } /***/ }), /* 341 */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // imports // module exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", ""]); // exports /***/ }), /* 342 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // // // // // // // // // // // // // // // // exports.default = { name: "ColibriSwitch", props: { options: { value: '' } }, data: function data() { return { value: '' }; }, mounted: function mounted() {}, methods: { setValue: function setValue(value) { this.$emit('change', value); } } }; /***/ }), /* 343 */ /***/ (function(module, exports, __webpack_require__) { var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "inline-elements-container" }, [ _c( "div", { staticClass: "inline-element" }, [ _c("el-switch", { attrs: { "active-color": "#1989fa", "inactive-color": "#949596" }, on: { change: _vm.setValue }, model: { value: _vm.value, callback: function($$v) { _vm.value = $$v }, expression: "value" } }) ], 1 ) ]) } var staticRenderFns = [] render._withStripped = true module.exports = { render: render, staticRenderFns: staticRenderFns } if (false) { module.hot.accept() if (module.hot.data) { require("vue-hot-reload-api") .rerender("data-v-136c511e", module.exports) } } /***/ }), /* 344 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var SwitchControl = function (_ColibriVueControl) { _inherits(SwitchControl, _ColibriVueControl); function SwitchControl() { _classCallCheck(this, SwitchControl); return _possibleConstructorReturn(this, (SwitchControl.__proto__ || Object.getPrototypeOf(SwitchControl)).apply(this, arguments)); } _createClass(SwitchControl, [{ key: "name", value: function name() { return "colibri-switch"; } }, { key: "vueData", value: function vueData(wpControl) { var initialValue = this.getWpControlValue(wpControl); initialValue = jQuery.isNumeric(initialValue) ? !!parseInt(initialValue) : initialValue; initialValue = initialValue ? true : false; return { value: initialValue }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var _this2 = this; return { setValue: function setValue(value) { _this2.setWpControlValue(wpControl, value); } }; } }]); return SwitchControl; }(_colibriVueControl2.default); exports.default = SwitchControl; /***/ }), /* 345 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var $ = jQuery; var SelectControl = function (_ColibriVueControl) { _inherits(SelectControl, _ColibriVueControl); function SelectControl() { _classCallCheck(this, SelectControl); return _possibleConstructorReturn(this, (SelectControl.__proto__ || Object.getPrototypeOf(SelectControl)).apply(this, arguments)); } _createClass(SelectControl, [{ key: "name", value: function name() { return "colibri-select"; } }, { key: "vueData", value: function vueData(wpControl) { return { value: this.getWpControlValue(wpControl), size: wpControl.params.size || "", options: $.map(wpControl.params.choices, function (label, value) { return { label: label, value: value }; }) }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var _this2 = this; return { setValue: function setValue(value) { _this2.setWpControlValue(wpControl, value); } }; } }]); return SelectControl; }(_colibriVueControl2.default); exports.default = SelectControl; /***/ }), /* 346 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var $ = jQuery; function prepareCall(doneCallback) { if (!_.isEmpty(wp.customize.dirtyValues())) { var executeCallback = true; wp.customize.bind('save', function () { if (executeCallback) { $(window).off('beforeunload'); setTimeout(doneCallback, 2000); executeCallback = false; } }); wp.customize.previewer.save(); } else { $(window).off('beforeunload'); setTimeout(doneCallback, 500); } } function pluginNotice(message) { var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'info'; var $infoMessage = $('[data-colibri-plugin-action-message]'); $infoMessage.attr('class', 'notice notice-large notice-' + type); $infoMessage.html(message); $infoMessage.show(); colibriCustomizer.showOverlay(message); } function installBuilder() { pluginNotice(colibri_plugin_status.messages.installing); prepareCall(function () { $.get(colibri_plugin_status.install_url).always(function () { activateBuilder(); }); }); } function activateBuilder() { var slug = colibri_plugin_status.slug ? colibri_plugin_status.slug : 'colibri-page-builder'; pluginNotice(colibri_plugin_status.messages.activating); prepareCall(function () { wp.ajax.post('brite_activate_plugin', { slug: slug, source: 'customizer', _wpnonce: colibri_plugin_status.colibri_plugin_install_activate_nonce }).done(function () { window.location = colibri_plugin_status.admin_url; }); }); } var PluginMessageControl = function (_ColibriVueControl) { _inherits(PluginMessageControl, _ColibriVueControl); function PluginMessageControl() { _classCallCheck(this, PluginMessageControl); return _possibleConstructorReturn(this, (PluginMessageControl.__proto__ || Object.getPrototypeOf(PluginMessageControl)).apply(this, arguments)); } _createClass(PluginMessageControl, [{ key: 'ready', value: function ready(wpControl) { wpControl.container.on('click', '[data-colibri-plugin-action]', function (event) { var $el = $(event.currentTarget); var action = $el.data('colibri-plugin-action'); $el.fadeOut(); event.preventDefault(); event.stopPropagation(); if (action === 'install') { installBuilder(); } if (action === 'activate') { activateBuilder(); } }); } }, { key: 'name', value: function name() { return "colibri-plugin-message"; } }, { key: 'vueData', value: function vueData(wpControl) { return {}; } }, { key: 'vueWatch', value: function vueWatch(wpControl) { return {}; } }, { key: 'vueMethods', value: function vueMethods(wpControl) {} }]); return PluginMessageControl; }(_colibriVueControl2.default); exports.default = PluginMessageControl; /***/ }), /* 347 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var SeparatorControl = function (_ColibriVueControl) { _inherits(SeparatorControl, _ColibriVueControl); function SeparatorControl() { _classCallCheck(this, SeparatorControl); return _possibleConstructorReturn(this, (SeparatorControl.__proto__ || Object.getPrototypeOf(SeparatorControl)).apply(this, arguments)); } _createClass(SeparatorControl, [{ key: "name", value: function name() { return "colibri-separator"; } }, { key: "vueData", value: function vueData(wpControl) { return {}; } }, { key: "vueWatch", value: function vueWatch(wpControl) { return {}; } }, { key: "vueMethods", value: function vueMethods(wpControl) { return {}; } }]); return SeparatorControl; }(_colibriVueControl2.default); exports.default = SeparatorControl; /***/ }), /* 348 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var $ = jQuery; var LinkedSelectControl = function (_ColibriVueControl) { _inherits(LinkedSelectControl, _ColibriVueControl); function LinkedSelectControl() { _classCallCheck(this, LinkedSelectControl); return _possibleConstructorReturn(this, (LinkedSelectControl.__proto__ || Object.getPrototypeOf(LinkedSelectControl)).apply(this, arguments)); } _createClass(LinkedSelectControl, [{ key: "name", value: function name() { return "colibri-linked-select"; } }, { key: "vueData", value: function vueData(wpControl) { return { value: this.getWpControlValue(wpControl), size: wpControl.params.size || "", options: [] }; } }, { key: "updateVueControlData", value: function updateVueControlData(wpControl, linkedToValue) { var defaultValue = wpControl.vueControl.value; var hasDefaultValue = false; var choices = $.map(wpControl.params.choices[linkedToValue] || [], function (label, value) { if (value === defaultValue) { hasDefaultValue = true; } return { label: label, value: value }; }); wpControl.vueControl.updateData(choices); if (!hasDefaultValue && choices.length) { wpControl.vueControl.value = choices[0]['value']; wpControl.vueControl.setValue(choices[0]['value']); } if (linkedToValue === wpControl.params.hide_on || !wpControl.params.choices[linkedToValue] || !choices.length) { wpControl.deactivate(); } else { wpControl.activate(); } } }, { key: "ready", value: function ready(wpControl, control) { var _this2 = this; var linkedToSetting = window.wp.customize(wpControl.params.linked_to); linkedToSetting.bind(function (newValue) { _this2.updateVueControlData(wpControl, newValue); }); this.updateVueControlData(wpControl, linkedToSetting.get()); } }, { key: "vueMethods", value: function vueMethods(wpControl) { var _this3 = this; return { setValue: function setValue(value) { _this3.setWpControlValue(wpControl, value); }, updateData: function updateData(value) { this.$set(this, "options", value); } }; } }]); return LinkedSelectControl; }(_colibriVueControl2.default); exports.default = LinkedSelectControl; /***/ }), /* 349 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var $ = jQuery; var SelectIconControl = function (_ColibriVueControl) { _inherits(SelectIconControl, _ColibriVueControl); function SelectIconControl() { _classCallCheck(this, SelectIconControl); return _possibleConstructorReturn(this, (SelectIconControl.__proto__ || Object.getPrototypeOf(SelectIconControl)).apply(this, arguments)); } _createClass(SelectIconControl, [{ key: "name", value: function name() { return "colibri-select-icon"; } }, { key: "vueData", value: function vueData(wpControl) { var choices = _.toArray(wpControl.params.choices); return { value: this.getWpControlValue(wpControl), size: wpControl.params.size || "", options: choices }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var self = this; return { setValue: function setValue(value) { this.value = value; self.setWpControlValue(wpControl, value); } }; } }]); return SelectIconControl; }(_colibriVueControl2.default); exports.default = SelectIconControl; /***/ }), /* 350 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _buttonGroupControl = __webpack_require__(124); var _buttonGroupControl2 = _interopRequireDefault(_buttonGroupControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var api = wp.customize; var AlignButtonGroupControl = function (_ButtonGroupControl) { _inherits(AlignButtonGroupControl, _ButtonGroupControl); function AlignButtonGroupControl() { _classCallCheck(this, AlignButtonGroupControl); return _possibleConstructorReturn(this, (AlignButtonGroupControl.__proto__ || Object.getPrototypeOf(AlignButtonGroupControl)).apply(this, arguments)); } _createClass(AlignButtonGroupControl, [{ key: "name", value: function name() { return "colibri-align-button-group"; } }, { key: "vueData", value: function vueData(wpControl) { var _this2 = this; var values = {}; $.map(wpControl.params.choices, function (label, value) { values[label] = value; }); this.value = this.getWpControlValue(wpControl); return { rawHtml: '', value: this.getWpControlValue(wpControl), size: wpControl.params.button_size || 'small', values: values, classes: function classes(value) { var classes = ['h-col']; if (_this2.value === value) { classes.push('is-selected'); } if (_this2.grayDisable) { classes.push('use-gray-disable'); } else { classes.push('use-opacity-disable'); } return classes; } }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var self = this; return { handleButtonClicked: function handleButtonClicked(value) { this.value = value; self.value = value; self.setWpControlValue(wpControl, value); }, buttonIsSelected: function buttonIsSelected(buttonValue) { return this.value === buttonValue; }, noneClicked: function noneClicked(value) { this.value = wpControl.params.none_value; self.value = value; self.setWpControlValue(wpControl, wpControl.params.none_value); } }; } }]); return AlignButtonGroupControl; }(_buttonGroupControl2.default); exports.default = AlignButtonGroupControl; /***/ }), /* 351 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); var _jsHelpers = __webpack_require__(100); var _jsHelpers2 = _interopRequireDefault(_jsHelpers); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var $ = jQuery; var api = wp.customize; var ButtonControl = function (_ColibriVueControl) { _inherits(ButtonControl, _ColibriVueControl); function ButtonControl() { _classCallCheck(this, ButtonControl); return _possibleConstructorReturn(this, (ButtonControl.__proto__ || Object.getPrototypeOf(ButtonControl)).apply(this, arguments)); } _createClass(ButtonControl, [{ key: "name", value: function name() { return "colibri-button"; } }, { key: "vueData", value: function vueData(wpControl) { return { value: 0 }; } }, { key: "vueComputed", value: function vueComputed(wpControl) { return {}; } }, { key: "vueMethods", value: function vueMethods(wpControl) { return { onClick: function onClick(value) { (0, _jsHelpers2.default)(wpControl.params.js_output); // this.setWpControlValue(wpControl, Date.now()); } }; } }]); return ButtonControl; }(_colibriVueControl2.default); exports.default = ButtonControl; /***/ }), /* 352 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var ColorControl = function (_ColibriVueControl) { _inherits(ColorControl, _ColibriVueControl); function ColorControl() { _classCallCheck(this, ColorControl); return _possibleConstructorReturn(this, (ColorControl.__proto__ || Object.getPrototypeOf(ColorControl)).apply(this, arguments)); } _createClass(ColorControl, [{ key: "name", value: function name() { return "colibri-color"; } }, { key: "vueData", value: function vueData(wpControl) { return { value: this.getWpControlValue(wpControl), alpha: !!wpControl.params.alpha, canActiveChange: wpControl.params.active_change || true, size: wpControl.params.size || 'small' }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var _this2 = this; var control = this; return { setValue: function setValue(value) { _this2.value = value; _this2.setWpControlValue(wpControl, value); }, activeChange: function activeChange(value) { if (this.canActiveChange) { this.value = value; control.setWpControlValue(wpControl, value); } } }; } }]); return ColorControl; }(_colibriVueControl2.default); exports.default = ColorControl; /***/ }), /* 353 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var GradientControl = function (_ColibriVueControl) { _inherits(GradientControl, _ColibriVueControl); function GradientControl() { _classCallCheck(this, GradientControl); return _possibleConstructorReturn(this, (GradientControl.__proto__ || Object.getPrototypeOf(GradientControl)).apply(this, arguments)); } _createClass(GradientControl, [{ key: "name", value: function name() { return "colibri-gradient"; } }, { key: "vueRegisterComponents", value: function vueRegisterComponents(Vue) {} }, { key: "vueData", value: function vueData(wpControl) { return { value: this.getWpControlValue(wpControl), selected: this.getWpControlValue(wpControl).name, gradients: wpControl.params.choices }; } }, { key: "vueComputed", value: function vueComputed(wpControl) { return {}; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var control = this; return { setValue: function setValue(gradient) { this.value = gradient; // this.selected = gradient.name; control.setWpControlValue(wpControl, { steps: gradient.steps, name: gradient.name, angle: gradient.angle }); }, isSelected: function isSelected(name) { return this.selected === gradient.name; }, computeGradient: function computeGradient(gradient) { var colors = gradient.steps.map(function (color) { return color.color + " " + color.position + "%"; }).join(','); return "" + "background-image:" + ("linear-gradient(" + gradient.angle + "deg, " + colors + ");"); } }; } }]); return GradientControl; }(_colibriVueControl2.default); exports.default = GradientControl; /***/ }), /* 354 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); var _sprintfJs = __webpack_require__(101); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var RepeaterControl = function (_ColibriVueControl) { _inherits(RepeaterControl, _ColibriVueControl); function RepeaterControl() { _classCallCheck(this, RepeaterControl); return _possibleConstructorReturn(this, (RepeaterControl.__proto__ || Object.getPrototypeOf(RepeaterControl)).apply(this, arguments)); } _createClass(RepeaterControl, [{ key: "name", value: function name() { return "colibri-repeater"; } }, { key: "vueData", value: function vueData(wpControl) { var items = this.getWpControlValue(wpControl) ? this.getWpControlValue(wpControl) : []; return { items: items.map(function (item, index) { item.index = index; return item; }), fields: wpControl.params.fields, item_add_label: wpControl.params.item_add_label || "Add Item", max: wpControl.params.max || Infinity, min: wpControl.params.min || 0 }; } }, { key: "vueComputed", value: function vueComputed(wpControl) { return { itemsLabels: function itemsLabels() { return this.items.map(function (item, index) { var label = wpControl.params.item_label || "Item %s"; return (0, _sprintfJs.sprintf)(label, index + 1); }); }, canAdd: function canAdd() { return !!this.max && this.max > this.items.length; }, canRemoveItem: function canRemoveItem() { return this.min < this.items.length; } }; } }, { key: "vueWatch", value: function vueWatch(wpControl) {} }, { key: "vueMethods", value: function vueMethods(wpControl) { var control = this; return { getComponentType: function getComponentType(name) { return "colibri-repeater-" + name; }, setValue: function setValue(items) { var _this2 = this; if (!items) { items = this.getClonedItems(); items.forEach(function (item, index) { items.index = index; }); } this.$set(this, 'items', items); this.$nextTick(function () { control.setWpControlValue(wpControl, _this2.items); }); }, getClonedItems: function getClonedItems() { return this.items.map(function (a) { return Object.assign({}, a); }); }, onSortEnd: function onSortEnd(newIndex, oldIndex) { var _this3 = this; var target = this.items.splice(oldIndex, 1)[0]; var items = this.getClonedItems(); items.splice(newIndex, 0, target); this.$nextTick(function () { _this3.setValue(items); }); }, removeItem: function removeItem(index) { var items = this.getClonedItems(); items.splice(index, 1); this.setValue(items); }, propChanged: function propChanged(value, item, prop) { item[prop] = value; this.setValue(this.items); }, addItem: function addItem() { var newItem = {}; for (var name in this.fields) { if (this.fields.hasOwnProperty(name)) { newItem[name] = this.fields[name].default || ""; } } newItem.index = this.items.length; var items = this.getClonedItems(); items.push(newItem); this.setValue(items); } }; } }, { key: "vueMounted", value: function vueMounted(wpControl) {} }]); return RepeaterControl; }(_colibriVueControl2.default); exports.default = RepeaterControl; /***/ }), /* 355 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var ComposedControl = function (_ColibriVueControl) { _inherits(ComposedControl, _ColibriVueControl); function ComposedControl() { _classCallCheck(this, ComposedControl); return _possibleConstructorReturn(this, (ComposedControl.__proto__ || Object.getPrototypeOf(ComposedControl)).apply(this, arguments)); } _createClass(ComposedControl, [{ key: "name", value: function name() { return "colibri-composed"; } }, { key: "vueData", value: function vueData(wpControl) { var defaultValues = {}; _(wpControl.params.fields).forEach(function (field, key) { defaultValues[key] = parseFloat(field['default']) ? parseFloat(field['default']) : field['default']; }); return { value: this.getWpControlValue(wpControl) ? this.getWpControlValue(wpControl) : defaultValues, fields: wpControl.params.fields }; } }, { key: "vueComputed", value: function vueComputed(wpControl) { return { classControlType: function classControlType(field) { return 'customize-control-colibri-' + field.type; } }; } }, { key: "vueWatch", value: function vueWatch(wpControl) { return { fields: _.debounce(function (value, oldVal) { if (value !== oldVal) { this.setValue(); } }, 300) }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var control = this; return { getComponentType: function getComponentType(name) { return "colibri-composed-" + name; }, setValue: function setValue() { control.setWpControlValue(wpControl, this.value); }, propChanged: function propChanged(value, item, prop) { this.value[prop] = value; this.setValue(); } }; } }]); return ComposedControl; }(_colibriVueControl2.default); exports.default = ComposedControl; /***/ }), /* 356 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var SliderControl = function (_ColibriVueControl) { _inherits(SliderControl, _ColibriVueControl); function SliderControl() { _classCallCheck(this, SliderControl); return _possibleConstructorReturn(this, (SliderControl.__proto__ || Object.getPrototypeOf(SliderControl)).apply(this, arguments)); } _createClass(SliderControl, [{ key: "name", value: function name() { return "colibri-slider"; } }, { key: "vueWatch", value: function vueWatch(wpControl) {} }, { key: "vueCreated", value: function vueCreated(wpControl) { return function () { this.debouncedSetValue = _.debounce(this.setValue, 500); }; } }, { key: "vueData", value: function vueData(wpControl) { var value = parseFloat(this.getWpControlValue(wpControl)) || 0; return { value: parseFloat(this.getWpControlValue(wpControl)) || 0, min: parseFloat(wpControl.params.min) || 0, max: parseFloat(wpControl.params.max) || 100, step: parseFloat(wpControl.params.step) || 1 }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var self = this; return { setValue: function setValue(value) { value = parseFloat(value); this.value = value; self.setWpControlValue(wpControl, value); }, keyUp: function keyUp(event) { if (event.target.value) { this.debouncedSetValue(event.target.value); } } }; } }]); return SliderControl; }(_colibriVueControl2.default); exports.default = SliderControl; /***/ }), /* 357 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var InputControl = function (_ColibriVueControl) { _inherits(InputControl, _ColibriVueControl); function InputControl() { _classCallCheck(this, InputControl); return _possibleConstructorReturn(this, (InputControl.__proto__ || Object.getPrototypeOf(InputControl)).apply(this, arguments)); } _createClass(InputControl, [{ key: "name", value: function name() { return "colibri-input"; } }, { key: "vueData", value: function vueData(wpControl) { return { value: this.getWpControlValue(wpControl), input_type: wpControl.params.input_type || "text" }; } }, { key: "vueWatch", value: function vueWatch(wpControl) { var _this2 = this; return { value: _.debounce(function (value, oldVal) { if (value !== oldVal) { _this2.setWpControlValue(wpControl, value); } }, 300) }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var _this3 = this; return { setValue: function setValue(value) { _this3.setWpControlValue(wpControl, value); } }; } }]); return InputControl; }(_colibriVueControl2.default); exports.default = InputControl; /***/ }), /* 358 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var api = wp.customize; var ControlsGroupControl = function (_ColibriVueControl) { _inherits(ControlsGroupControl, _ColibriVueControl); function ControlsGroupControl() { var _ret; _classCallCheck(this, ControlsGroupControl); var _this = _possibleConstructorReturn(this, (ControlsGroupControl.__proto__ || Object.getPrototypeOf(ControlsGroupControl)).call(this)); _this.controlsHolder = {}; return _ret = _this, _possibleConstructorReturn(_this, _ret); } _createClass(ControlsGroupControl, [{ key: "name", value: function name() { return "colibri-controls-group"; } }, { key: "ready", value: function ready(wpControl) { var _this2 = this; api.bind('pane-contents-reflowed', function () { var holder = _this2.controlsHolder[wpControl.params.key]; if (!holder) { _this2.controlsHolder[wpControl.params.key] = $(" <ul data=\"controls-holder\"></ul>"); holder = _this2.controlsHolder[wpControl.params.key]; } _.each(wpControl.params.controls || [], function (setting_id) { var control = wp.customize(setting_id).findControls()[0]; if (control) { holder.append(control.container); } }); }); } }, { key: "vueData", value: function vueData(wpControl) { var value = this.getWpControlValue(wpControl) !== undefined ? !!this.getWpControlValue(wpControl) : true; return { value: value, show_toggle: wpControl.params.show_toggle || false, visible: false }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { var control = this; return { getComponentType: function getComponentType(name) { return "colibri-conditional-" + name; }, conditionChanged: function conditionChanged() { control.setWpControlValue(wpControl, this.value); }, onShow: function onShow() { var holder = jQuery("[data-holder-id=\"" + wpControl.params.key + "\"]"); if (control.controlsHolder[wpControl.params.key]) { control.controlsHolder[wpControl.params.key].appendTo(holder); } }, togglePopup: function togglePopup() { this.visible = !this.visible; } }; } }]); return ControlsGroupControl; }(_colibriVueControl2.default); exports.default = ControlsGroupControl; /***/ }), /* 359 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); var _translate = __webpack_require__(55); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var SpacingControl = function (_ColibriVueControl) { _inherits(SpacingControl, _ColibriVueControl); function SpacingControl() { _classCallCheck(this, SpacingControl); return _possibleConstructorReturn(this, (SpacingControl.__proto__ || Object.getPrototypeOf(SpacingControl)).apply(this, arguments)); } _createClass(SpacingControl, [{ key: "name", value: function name() { return "colibri-spacing"; } }, { key: "vueData", value: function vueData(wpControl) { return { value: _.extend({ unit: 'px' }, this.getWpControlValue(wpControl)), controls: false, spacing_units: (wpControl.params.units || ["px", "%"]).map(function (unit) { return { unit: unit, label: unit }; }) }; } }, { key: "vueWatch", value: function vueWatch(wpControl) { var _this2 = this; return { value: { handler: function handler(value, oldVal) { var old = _this2.getWpControlValue(wpControl); if (old.unit != value.unit) { for (var side in value.sides) { if (value.unit == '%') { value.sides[side] = value.sides[side] / 10; } else { value.sides[side] = value.sides[side] * 10; } } } _this2.setWpControlValue(wpControl, value); }, deep: true } }; } }, { key: "vueMethods", value: function vueMethods(wpControl) { return { label: function label(side) { return (0, _translate.t)("colibri." + side); } }; } }]); return SpacingControl; }(_colibriVueControl2.default); exports.default = SpacingControl; /***/ }), /* 360 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _colibriVueControl = __webpack_require__(5); var _colibriVueControl2 = _interopRequireDefault(_colibriVueControl); var _fontAwesome = __webpack_require__(123); var _fontAwesome2 = _interopRequireDefault(_fontAwesome); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _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; } function _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; } var $ = jQuery; var IconControl = function (_ColibriVueControl) { _inherits(IconControl, _ColibriVueControl); function IconControl() { _classCallCheck(this, IconControl); return _possibleConstructorReturn(this, (IconControl.__proto__ || Object.getPrototypeOf(IconControl)).apply(this, arguments)); } _createClass(IconControl, [{ key: "name", value: function name() { return "colibri-icon"; } }, { key: "vueData", value: function vueData(wpControl) { return { icons: _fontAwesome2.default, value: this.getWpControlValue(wpControl) }; } }, { key: "vueComputed", value: function vueComputed(wpControl) { return {}; } }, { key: "vueMethods", value: function vueMethods(wpControl) { return {}; } }]); return IconControl; }(_colibriVueControl2.default); exports.default = IconControl; /***/ }), /* 361 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _compare = __webpack_require__(102); var _compare2 = _interopRequireDefault(_compare); var _maybeDeserialize = __webpack_require__(62); var _maybeDeserialize2 = _interopRequireDefault(_maybeDeserialize); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /**@global jQuery , _ */ var api = wp.customize; var reflowed = true; var activeCallbacksBind = false; var deactivateControl = function deactivateControl(settingId) { var control = wp.customize(settingId).findControls()[0]; control.deactivate(); }; var activateControl = function activateControl(settingId) { var control = wp.customize(settingId).findControls()[0]; control.activate(); }; var onChange = function onChange(settingId, activeRules) { if (!reflowed) { return; } for (var i = 0; i < activeRules.length; i++) { var rule = activeRules[i]; var conditionMet = (0, _compare2.default)((0, _maybeDeserialize2.default)(api(rule.setting).get()), rule.value, rule.operator); // condition not met if (conditionMet === false) { deactivateControl(settingId); return; } else { // condition undetermined if (conditionMet === null) { return; } } } activateControl(settingId); }; api.bind('colibri-reflowed', function () { reflowed = true; if (!activeCallbacksBind) { jQuery.each(api.settings.controls, function (controlID, options) { if (options.active_rules) { (function () { var rules = options.active_rules; for (var i = 0; i < rules.length; i++) { var ac = rules[i]; if (_.isObject(ac)) { wp.customize(ac.setting).bind(function () { onChange(options.settings.default, rules); }); } } })(); } }); activeCallbacksBind = true; } }); api.bind('colibri-preview-start', function () { reflowed = false; }); /***/ }), /* 362 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var api = wp.customize, sectionConstructor = api.sectionConstructor, outerSection = sectionConstructor['colibri_floating_section'], headers = colibri_Customizer_Data.headers || {}, $ = jQuery; var refresh = _.debounce(function () { api.previewer.refresh(); }, 100); function setHeader(header) { var headerData = headers[header]['data']; for (var setting_id in headerData) { if (!headerData.hasOwnProperty(setting_id)) { continue; } var setting = wp.customize(setting_id); if (setting) { var initialTransport = setting.transport; setting.transport = 'postMessage'; setting.set(headerData[setting_id]); setting.transport = initialTransport; } } top.wp.customize.requestChangesetUpdate({}, { autosave: true }).done(refresh); } api.bind('ready', function () { var section = api.section.add(new outerSection('colibri_publish_settings', { ready: function ready() { var _this = this; var $ul = $('<ul class="colibri-presets-holder"></ul>'); $ul.on('click', '.colibri-preset', function (event) { event.preventDefault(); event.stopPropagation(); _this.setHeader($(event.target).attr('data-name')); }); this.container.append($ul); for (var key in headers) { if (!headers.hasOwnProperty(key)) { continue; } var img_url = headers[key].image; var li = "" + ('<li class="colibri-preset" data-name="' + key + '">') + (' <img src=\'' + img_url + '\'/>') + '</li>'; $ul.append(li); } this.setHeader = setHeader.bind(this); } })); api.bind('colibri_panel_button_clicked', function (name) { if (name === 'colibri_headers_panel') { section.toggle(); } else { section.hide(); } }); }); /***/ }), /* 363 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var api = wp.customize, pluginControlConstructor = api.controlConstructor["colibri-plugin-message"], pluginControl = null, popover = null; var updatePopoverPosition = function updatePopoverPosition() { var linkedTo = popover.data('linkedTo'); var rect = linkedTo.getBoundingClientRect(); var style = { top: rect.top + linkedTo.offsetHeight / 2 - popover.height() / 2 + "px", left: rect.left + linkedTo.offsetWidth + 10 + "px" }; popover.css(style); }; var showPopover = function showPopover(linkedTo) { if (!popover) { popover = jQuery("<div class='colibri-install-plugin-popover' ><ul></ul></div>"); jQuery('body').append(popover); } if (!pluginControl) { pluginControl = new pluginControlConstructor('colibri-install-plugin-popover-control', {}); pluginControl.renderContent(); pluginControl.activate(); pluginControl.ready(); popover.find('ul').append(pluginControl.container); } popover.data('linkedTo', linkedTo); updatePopoverPosition(); popover.fadeIn(100); $(window).on('resize.colibri-popover', updatePopoverPosition); $('body .wp-full-overlay-sidebar-content').on('scroll.colibri-popover', updatePopoverPosition); $(document).on('click', '*', function (event) { var target = event.currentTarget; if (!$.contains(popover[0], target)) { popover.fadeOut(); $(window).off('resize.colibri-popover'); $('body .wp-full-overlay-sidebar-content').off('scroll.colibri-popover'); } }); }; api.bind('colibri_panel_button_clicked', function (name, event) { if (name === "colibri_add_section" || name === "colibri_footers_panel") { showPopover(event.currentTarget); } }); /***/ }) /******/ ]);