diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ee08663 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{js,jsx,ts,tsx,vue}] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..d3c172f --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,21 @@ +module.exports = { + root: true, + env: { + node: true + }, + 'extends': [ + 'plugin:vue/essential', + '@vue/standard', + 'eslint:recommended', + 'plugin:vue/recommended', + 'plugin:vue/base', + 'plugin:vue/strongly-recommended' + ], + rules: { + 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' + }, + parserOptions: { + parser: 'babel-eslint' + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..59bbae0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +.DS_Store +node_modules +# dist + +# local env files +.env.local +.env.*.local +*.map +dist/demo.html +docs/.vuepress/dist/ + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* +package-lock.json +yarn.lock + +# Editor directories and files +.bitmap +.idea +.vscode +.vs +*.suo +*.ntvs* +*.njsproj +*.sln + +\.vs/ diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..81d6b49 --- /dev/null +++ b/.npmignore @@ -0,0 +1,21 @@ +.DS_Store +public/ +docs/ +src/ +scripts/ +node_modules/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* +*.map +dist/demo.html + +# Editor directories and files +.idea +.vscode +.bitmap +*.suo +*.ntvs* +*.njsproj +*.sln +.github/ diff --git a/BACKER.md b/BACKER.md new file mode 100644 index 0000000..a9b91c9 --- /dev/null +++ b/BACKER.md @@ -0,0 +1,26 @@ +# Backers + +You can join them in supporting vuttons.js by [Patreon](https://www.patreon.com/luisdanielroviracontreras) + +## $100+ + +

+ + Tipe + + + Bit + +

+ +## $50+ + + +## $10+ + +- [Yatima Kagurazaka](https://www.patreon.com/Yatima_K/creators) +- [Andre Labaki](https://www.patreon.com/user/creators?u=947278) + +## $2+ + +- [Olag](https://github.com/DarG002) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..d9535f5 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,46 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at xingmin.zhu@alipay.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] + +[homepage]: http://contributor-covenant.org +[version]: http://contributor-covenant.org/version/1/4/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..53e95ae --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,40 @@ +# vuttons Contributing Guide + +Hello! I am very excited that you are interested in contributing with vuttons. However, before submitting your contribution, be sure to take a moment and read the following guidelines. + +- [Code of Conduct](https://github.com/lusaxweb/vuttons/blob/master/CODE_OF_CONDUCT.md) +- [Extraction request guidelines](#pull-request-guidelines) +- [Development Setup](#development-setup) + +## Pull Request Guidelines + +- The masterrama is basically a snapshot of the latest stable version. All development must be done in dedicated branches. +- Work in the **src** folder and DO NOT register distlos commits. +- It is good to have multiple small commits while working on the PR. We'll let GitHub squash it automatically before the merge. +- If you add a new feature: +  - Add the test case that accompanies it. +  - Provide a compelling reason to add this feature. Ideally, I would first open a suggestion topic and green it before working on it. +   +- If you correct an error: +  - If you are solving a special problem, add (fix #xxxx [, # xxx]) (# xxxx is the problem identification) in your PR title for a better launch record, for example update entities encoding / decoding (fix # 3899). +  - Provide a detailed description of the error in the PR. Favorite live demo. +  - Add the appropriate test coverage, if applicable. +   +## Development Setup + +- You will need Node.js version 6+. +- You will need [Vuepress](https://vuepress.vuejs.org/) installed globally. + +After cloning the repository, execute: + +``` +npm install +``` + +### Commonly used NPM scripts + +```bash +# Start the test server and the documentation + +npm run dev +``` diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e0e4a32 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 ldrovira + +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..9dc8b68 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Vuttons + +Componentes de botones para vuejs diff --git a/dist/vuttons.common.js b/dist/vuttons.common.js new file mode 100644 index 0000000..a7f0565 --- /dev/null +++ b/dist/vuttons.common.js @@ -0,0 +1,3820 @@ +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 = "9bf4"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "048e": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("9a60"); +var core = __webpack_require__("e3a0"); +var hide = __webpack_require__("59ee"); +var redefine = __webpack_require__("baca"); +var ctx = __webpack_require__("2eb4"); +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 target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); + var key, own, out, exp; + if (IS_GLOBAL) source = name; + for (key in source) { + // contains in native + own = !IS_FORCED && target && target[key] !== undefined; + // export native or passed + out = (own ? target : source)[key]; + // bind timers to global for call from export context + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; + // extend global + if (target) redefine(target, key, out, type & $export.U); + // export + if (exports[key] != out) hide(exports, key, exp); + if (IS_PROTO && expProto[key] != out) expProto[key] = out; + } +}; +global.core = core; +// 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; + + +/***/ }), + +/***/ "0572": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("9342"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "0578": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("6008"); + +/***/ }), + +/***/ "0666": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("1d2f"); +// 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"); +}; + + +/***/ }), + +/***/ "07e4": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("baee"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; + + +/***/ }), + +/***/ "099f": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("50c4"); +module.exports = function (it) { + return Object(defined(it)); +}; + + +/***/ }), + +/***/ "0bb9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("9a60"); +var has = __webpack_require__("571a"); +var cof = __webpack_require__("ebbd"); +var inheritIfRequired = __webpack_require__("be76"); +var toPrimitive = __webpack_require__("0666"); +var fails = __webpack_require__("c213"); +var gOPN = __webpack_require__("3402").f; +var gOPD = __webpack_require__("0f2e").f; +var dP = __webpack_require__("d528").f; +var $trim = __webpack_require__("7bee").trim; +var NUMBER = 'Number'; +var $Number = global[NUMBER]; +var Base = $Number; +var proto = $Number.prototype; +// Opera ~12 has broken Object#toString +var BROKEN_COF = cof(__webpack_require__("aecc")(proto)) == NUMBER; +var TRIM = 'trim' in String.prototype; + +// 7.1.3 ToNumber(argument) +var toNumber = function (argument) { + var it = toPrimitive(argument, false); + if (typeof it == 'string' && it.length > 2) { + it = TRIM ? it.trim() : $trim(it, 3); + var first = it.charCodeAt(0); + var third, radix, maxCode; + if (first === 43 || first === 45) { + third = it.charCodeAt(2); + if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix + } else if (first === 48) { + switch (it.charCodeAt(1)) { + case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i + case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i + default: return +it; + } + for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) { + code = digits.charCodeAt(i); + // parseInt parses a string to a first unavailable symbol + // but ToNumber should return NaN if a string contains unavailable symbols + if (code < 48 || code > maxCode) return NaN; + } return parseInt(digits, radix); + } + } return +it; +}; + +if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { + $Number = function Number(value) { + var it = arguments.length < 1 ? 0 : value; + var that = this; + return that instanceof $Number + // check on 1..constructor(foo) case + && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER) + ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it); + }; + for (var keys = __webpack_require__("9baa") ? gOPN(Base) : ( + // ES3: + 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + + // ES6 (in case, if modules with ES6 Number statics required before): + 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' + ).split(','), j = 0, key; keys.length > j; j++) { + if (has(Base, key = keys[j]) && !has($Number, key)) { + dP($Number, key, gOPD(Base, key)); + } + } + $Number.prototype = proto; + proto.constructor = $Number; + __webpack_require__("baca")(global, NUMBER, $Number); +} + + +/***/ }), + +/***/ "0d98": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "0dd6": +/***/ (function(module, exports) { + +// document.currentScript polyfill by Adam Miller + +// MIT license + +(function(document){ + var currentScript = "currentScript", + scripts = document.getElementsByTagName('script'); // Live NodeList collection + + // If browser needs currentScript polyfill, add get currentScript() to the document object + if (!(currentScript in document)) { + Object.defineProperty(document, currentScript, { + get: function(){ + + // IE 6-10 supports script readyState + // IE 10+ support stack trace + try { throw new Error(); } + catch (err) { + + // Find the second match for the "at" string to get file src url from stack. + // Specifically works with the format of stack traces in IE. + var i, res = ((/.*at [^\(]*\((.*):.+:.+\)$/ig).exec(err.stack) || [false])[1]; + + // For all scripts on the page, if src matches or if ready state is interactive, return the script tag + for(i in scripts){ + if(scripts[i].src == res || scripts[i].readyState == "interactive"){ + return scripts[i]; + } + } + + // If no match, return null + return null; + } + } + }); + } +})(document); + + +/***/ }), + +/***/ "0e7a": +/***/ (function(module, exports, __webpack_require__) { + +var getKeys = __webpack_require__("98b7"); +var toIObject = __webpack_require__("96da"); +var isEnum = __webpack_require__("45aa").f; +module.exports = function (isEntries) { + return function (it) { + var O = toIObject(it); + var keys = getKeys(O); + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) if (isEnum.call(O, key = keys[i++])) { + result.push(isEntries ? [key, O[key]] : O[key]); + } return result; + }; +}; + + +/***/ }), + +/***/ "0f2e": +/***/ (function(module, exports, __webpack_require__) { + +var pIE = __webpack_require__("45aa"); +var createDesc = __webpack_require__("b7f6"); +var toIObject = __webpack_require__("96da"); +var toPrimitive = __webpack_require__("0666"); +var has = __webpack_require__("571a"); +var IE8_DOM_DEFINE = __webpack_require__("baa3"); +var gOPD = Object.getOwnPropertyDescriptor; + +exports.f = __webpack_require__("9baa") ? 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]); +}; + + +/***/ }), + +/***/ "111d": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "1797": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__("571a"); +var toObject = __webpack_require__("099f"); +var IE_PROTO = __webpack_require__("8629")('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; +}; + + +/***/ }), + +/***/ "1a24": +/***/ (function(module, exports, __webpack_require__) { + +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("c887")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "1ab8": +/***/ (function(module, exports, __webpack_require__) { + +var $iterators = __webpack_require__("db1a"); +var getKeys = __webpack_require__("98b7"); +var redefine = __webpack_require__("baca"); +var global = __webpack_require__("9a60"); +var hide = __webpack_require__("59ee"); +var Iterators = __webpack_require__("45bf"); +var wks = __webpack_require__("24aa"); +var ITERATOR = wks('iterator'); +var TO_STRING_TAG = wks('toStringTag'); +var ArrayValues = Iterators.Array; + +var DOMIterables = { + CSSRuleList: true, // TODO: Not spec compliant, should be false. + CSSStyleDeclaration: false, + CSSValueList: false, + ClientRectList: false, + DOMRectList: false, + DOMStringList: false, + DOMTokenList: true, + DataTransferItemList: false, + FileList: false, + HTMLAllCollection: false, + HTMLCollection: false, + HTMLFormElement: false, + HTMLSelectElement: false, + MediaList: true, // TODO: Not spec compliant, should be false. + MimeTypeArray: false, + NamedNodeMap: false, + NodeList: true, + PaintRequestList: false, + Plugin: false, + PluginArray: false, + SVGLengthList: false, + SVGNumberList: false, + SVGPathSegList: false, + SVGPointList: false, + SVGStringList: false, + SVGTransformList: false, + SourceBufferList: false, + StyleSheetList: true, // TODO: Not spec compliant, should be false. + TextTrackCueList: false, + TextTrackList: false, + TouchList: false +}; + +for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { + var NAME = collections[i]; + var explicit = DOMIterables[NAME]; + var Collection = global[NAME]; + var proto = Collection && Collection.prototype; + var key; + if (proto) { + if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); + if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); + Iterators[NAME] = ArrayValues; + if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); + } +} + + +/***/ }), + +/***/ "1cd9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $export = __webpack_require__("048e"); +var $forEach = __webpack_require__("7b53")(0); +var STRICT = __webpack_require__("ccdc")([].forEach, true); + +$export($export.P + $export.F * !STRICT, 'Array', { + // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) + forEach: function forEach(callbackfn /* , thisArg */) { + return $forEach(this, callbackfn, arguments[1]); + } +}); + + +/***/ }), + +/***/ "1d2f": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; + + +/***/ }), + +/***/ "1d88": +/***/ (function(module, exports) { + +exports.f = {}.propertyIsEnumerable; + + +/***/ }), + +/***/ "2004": +/***/ (function(module, exports) { + +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; + + +/***/ }), + +/***/ "2104": +/***/ (function(module, exports, __webpack_require__) { + +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("686a"); +var toLength = __webpack_require__("7bd1"); +var toAbsoluteIndex = __webpack_require__("4d43"); +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; + }; +}; + + +/***/ }), + +/***/ "218d": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("5cbf"); +var core = __webpack_require__("8588"); +var LIBRARY = __webpack_require__("5718"); +var wksExt = __webpack_require__("4a37"); +var defineProperty = __webpack_require__("691b").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) }); +}; + + +/***/ }), + +/***/ "2436": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d528"); +var anObject = __webpack_require__("3fa7"); +var getKeys = __webpack_require__("98b7"); + +module.exports = __webpack_require__("9baa") ? 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; +}; + + +/***/ }), + +/***/ "24aa": +/***/ (function(module, exports, __webpack_require__) { + +var store = __webpack_require__("6ae5")('wks'); +var uid = __webpack_require__("329e"); +var Symbol = __webpack_require__("9a60").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; + + +/***/ }), + +/***/ "2583": +/***/ (function(module, exports, __webpack_require__) { + +// 22.1.3.31 Array.prototype[@@unscopables] +var UNSCOPABLES = __webpack_require__("24aa")('unscopables'); +var ArrayProto = Array.prototype; +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("59ee")(ArrayProto, UNSCOPABLES, {}); +module.exports = function (key) { + ArrayProto[UNSCOPABLES][key] = true; +}; + + +/***/ }), + +/***/ "26f8": +/***/ (function(module, exports, __webpack_require__) { + +// getting tag from 19.1.3.6 Object.prototype.toString() +var cof = __webpack_require__("ebbd"); +var TAG = __webpack_require__("24aa")('toStringTag'); +// ES3 wrong here +var ARG = cof(function () { return arguments; }()) == 'Arguments'; + +// fallback for IE11 Script Access Denied error +var tryGet = function (it, key) { + try { + return it[key]; + } catch (e) { /* empty */ } +}; + +module.exports = function (it) { + var O, T, B; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T + // builtinTag case + : ARG ? cof(O) + // ES3 arguments fallback + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; +}; + + +/***/ }), + +/***/ "2779": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("691b"); +var createDesc = __webpack_require__("d457"); +module.exports = __webpack_require__("1a24") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "2882": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("65ba"); +var enumBugKeys = __webpack_require__("111d"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "2a3d": +/***/ (function(module, exports, __webpack_require__) { + +var pIE = __webpack_require__("1d88"); +var createDesc = __webpack_require__("d457"); +var toIObject = __webpack_require__("686a"); +var toPrimitive = __webpack_require__("78f3"); +var has = __webpack_require__("af0a"); +var IE8_DOM_DEFINE = __webpack_require__("5e52"); +var gOPD = Object.getOwnPropertyDescriptor; + +exports.f = __webpack_require__("1a24") ? 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]); +}; + + +/***/ }), + +/***/ "2eb4": +/***/ (function(module, exports, __webpack_require__) { + +// optional / simple context binding +var aFunction = __webpack_require__("2004"); +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); + }; +}; + + +/***/ }), + +/***/ "2f50": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var regexpExec = __webpack_require__("adaf"); +__webpack_require__("048e")({ + target: 'RegExp', + proto: true, + forced: regexpExec !== /./.exec +}, { + exec: regexpExec +}); + + +/***/ }), + +/***/ "329e": +/***/ (function(module, exports) { + +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +}; + + +/***/ }), + +/***/ "32bc": +/***/ (function(module, exports, __webpack_require__) { + +var META = __webpack_require__("6dbf")('meta'); +var isObject = __webpack_require__("9342"); +var has = __webpack_require__("af0a"); +var setDesc = __webpack_require__("691b").f; +var id = 0; +var isExtensible = Object.isExtensible || function () { + return true; +}; +var FREEZE = !__webpack_require__("c887")(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 +}; + + +/***/ }), + +/***/ "3402": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) +var $keys = __webpack_require__("dcf5"); +var hiddenKeys = __webpack_require__("0d98").concat('length', 'prototype'); + +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return $keys(O, hiddenKeys); +}; + + +/***/ }), + +/***/ "341c": +/***/ (function(module, exports, __webpack_require__) { + +// 7.2.8 IsRegExp(argument) +var isObject = __webpack_require__("1d2f"); +var cof = __webpack_require__("ebbd"); +var MATCH = __webpack_require__("24aa")('match'); +module.exports = function (it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); +}; + + +/***/ }), + +/***/ "356a": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d528").f; +var FProto = Function.prototype; +var nameRE = /^\s*function ([^ (]*)/; +var NAME = 'name'; + +// 19.2.4.2 name +NAME in FProto || __webpack_require__("9baa") && dP(FProto, NAME, { + configurable: true, + get: function () { + try { + return ('' + this).match(nameRE)[1]; + } catch (e) { + return ''; + } + } +}); + + +/***/ }), + +/***/ "38b8": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("9c87"); + +/***/ }), + +/***/ "38fd": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.15 ToLength +var toInteger = __webpack_require__("d35e"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "3db9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__("aecc"); +var descriptor = __webpack_require__("b7f6"); +var setToStringTag = __webpack_require__("a602"); +var IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__("59ee")(IteratorPrototype, __webpack_require__("24aa")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; + + +/***/ }), + +/***/ "3fa7": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("1d2f"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "41f3": +/***/ (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; +}; + + +/***/ }), + +/***/ "45aa": +/***/ (function(module, exports) { + +exports.f = {}.propertyIsEnumerable; + + +/***/ }), + +/***/ "45bf": +/***/ (function(module, exports) { + +module.exports = {}; + + +/***/ }), + +/***/ "45dc": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// 21.2.5.3 get RegExp.prototype.flags +var anObject = __webpack_require__("3fa7"); +module.exports = function () { + var that = anObject(this); + var result = ''; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.unicode) result += 'u'; + if (that.sticky) result += 'y'; + return result; +}; + + +/***/ }), + +/***/ "4a37": +/***/ (function(module, exports, __webpack_require__) { + +exports.f = __webpack_require__("67e8"); + + +/***/ }), + +/***/ "4d43": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("b6bb"); +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); +}; + + +/***/ }), + +/***/ "4eb1": +/***/ (function(module, exports, __webpack_require__) { + +// 7.3.20 SpeciesConstructor(O, defaultConstructor) +var anObject = __webpack_require__("3fa7"); +var aFunction = __webpack_require__("2004"); +var SPECIES = __webpack_require__("24aa")('species'); +module.exports = function (O, D) { + var C = anObject(O).constructor; + var S; + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); +}; + + +/***/ }), + +/***/ "50c4": +/***/ (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; +}; + + +/***/ }), + +/***/ "5102": +/***/ (function(module, exports, __webpack_require__) { + +// 7.2.2 IsArray(argument) +var cof = __webpack_require__("baee"); +module.exports = Array.isArray || function isArray(arg) { + return cof(arg) == 'Array'; +}; + + +/***/ }), + +/***/ "5718": +/***/ (function(module, exports) { + +module.exports = true; + + +/***/ }), + +/***/ "571a": +/***/ (function(module, exports) { + +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); +}; + + +/***/ }), + +/***/ "59ee": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d528"); +var createDesc = __webpack_require__("b7f6"); +module.exports = __webpack_require__("9baa") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "5cbf": +/***/ (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 + + +/***/ }), + +/***/ "5d32": +/***/ (function(module, exports, __webpack_require__) { + +// most Object methods by ES6 should accept primitives +var $export = __webpack_require__("a6b7"); +var core = __webpack_require__("8588"); +var fails = __webpack_require__("c887"); +module.exports = function (KEY, exec) { + var fn = (core.Object || {})[KEY] || Object[KEY]; + var exp = {}; + exp[KEY] = exec(fn); + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); +}; + + +/***/ }), + +/***/ "5e52": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = !__webpack_require__("1a24") && !__webpack_require__("c887")(function () { + return Object.defineProperty(__webpack_require__("b1ea")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "6008": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("616d"); +var $Object = __webpack_require__("8588").Object; +module.exports = function defineProperty(it, key, desc) { + return $Object.defineProperty(it, key, desc); +}; + + +/***/ }), + +/***/ "616d": +/***/ (function(module, exports, __webpack_require__) { + +var $export = __webpack_require__("a6b7"); +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) +$export($export.S + $export.F * !__webpack_require__("1a24"), 'Object', { defineProperty: __webpack_require__("691b").f }); + + +/***/ }), + +/***/ "642c": +/***/ (function(module, exports, __webpack_require__) { + +var def = __webpack_require__("691b").f; +var has = __webpack_require__("af0a"); +var TAG = __webpack_require__("67e8")('toStringTag'); + +module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); +}; + + +/***/ }), + +/***/ "65ba": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("af0a"); +var toIObject = __webpack_require__("686a"); +var arrayIndexOf = __webpack_require__("2104")(false); +var IE_PROTO = __webpack_require__("7c47")('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; +}; + + +/***/ }), + +/***/ "67e8": +/***/ (function(module, exports, __webpack_require__) { + +var store = __webpack_require__("fdfa")('wks'); +var uid = __webpack_require__("6dbf"); +var Symbol = __webpack_require__("5cbf").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; + + +/***/ }), + +/***/ "686a": +/***/ (function(module, exports, __webpack_require__) { + +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("07e4"); +var defined = __webpack_require__("41f3"); +module.exports = function (it) { + return IObject(defined(it)); +}; + + +/***/ }), + +/***/ "691b": +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__("0572"); +var IE8_DOM_DEFINE = __webpack_require__("5e52"); +var toPrimitive = __webpack_require__("78f3"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("1a24") ? 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; +}; + + +/***/ }), + +/***/ "6ae5": +/***/ (function(module, exports, __webpack_require__) { + +var core = __webpack_require__("e3a0"); +var global = __webpack_require__("9a60"); +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__("d3ae") ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' +}); + + +/***/ }), + +/***/ "6dbf": +/***/ (function(module, exports) { + +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +}; + + +/***/ }), + +/***/ "6e24": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("1d2f"); +var isArray = __webpack_require__("e2c8"); +var SPECIES = __webpack_require__("24aa")('species'); + +module.exports = function (original) { + var C; + if (isArray(original)) { + C = original.constructor; + // cross-realm fallback + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; + if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? Array : C; +}; + + +/***/ }), + +/***/ "730c": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("d35e"); +var defined = __webpack_require__("50c4"); +// 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; + }; +}; + + +/***/ }), + +/***/ "7527": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("d35e"); +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); +}; + + +/***/ }), + +/***/ "78c7": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var at = __webpack_require__("730c")(true); + + // `AdvanceStringIndex` abstract operation +// https://tc39.github.io/ecma262/#sec-advancestringindex +module.exports = function (S, index, unicode) { + return index + (unicode ? at(S, index).length : 1); +}; + + +/***/ }), + +/***/ "78f3": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("9342"); +// 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"); +}; + + +/***/ }), + +/***/ "7b53": +/***/ (function(module, exports, __webpack_require__) { + +// 0 -> Array#forEach +// 1 -> Array#map +// 2 -> Array#filter +// 3 -> Array#some +// 4 -> Array#every +// 5 -> Array#find +// 6 -> Array#findIndex +var ctx = __webpack_require__("2eb4"); +var IObject = __webpack_require__("b1b7"); +var toObject = __webpack_require__("099f"); +var toLength = __webpack_require__("38fd"); +var asc = __webpack_require__("dede"); +module.exports = function (TYPE, $create) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + var create = $create || asc; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IObject(O); + var f = ctx(callbackfn, that, 3); + var length = toLength(self.length); + var index = 0; + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; + var val, res; + for (;length > index; index++) if (NO_HOLES || index in self) { + val = self[index]; + res = f(val, index, O); + if (TYPE) { + if (IS_MAP) result[index] = res; // map + else if (res) switch (TYPE) { + case 3: return true; // some + case 5: return val; // find + case 6: return index; // findIndex + case 2: result.push(val); // filter + } else if (IS_EVERY) return false; // every + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; + }; +}; + + +/***/ }), + +/***/ "7bd1": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.15 ToLength +var toInteger = __webpack_require__("b6bb"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "7bee": +/***/ (function(module, exports, __webpack_require__) { + +var $export = __webpack_require__("048e"); +var defined = __webpack_require__("50c4"); +var fails = __webpack_require__("c213"); +var spaces = __webpack_require__("a0f5"); +var space = '[' + spaces + ']'; +var non = '\u200b\u0085'; +var ltrim = RegExp('^' + space + space + '*'); +var rtrim = RegExp(space + space + '*$'); + +var exporter = function (KEY, exec, ALIAS) { + var exp = {}; + var FORCE = fails(function () { + return !!spaces[KEY]() || non[KEY]() != non; + }); + var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; + if (ALIAS) exp[ALIAS] = fn; + $export($export.P + $export.F * FORCE, 'String', exp); +}; + +// 1 -> String#trimLeft +// 2 -> String#trimRight +// 3 -> String#trim +var trim = exporter.trim = function (string, TYPE) { + string = String(defined(string)); + if (TYPE & 1) string = string.replace(ltrim, ''); + if (TYPE & 2) string = string.replace(rtrim, ''); + return string; +}; + +module.exports = exporter; + + +/***/ }), + +/***/ "7c47": +/***/ (function(module, exports, __webpack_require__) { + +var shared = __webpack_require__("fdfa")('keys'); +var uid = __webpack_require__("6dbf"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); +}; + + +/***/ }), + +/***/ "801b": +/***/ (function(module, exports, __webpack_require__) { + +// all enumerable object keys, includes symbols +var getKeys = __webpack_require__("2882"); +var gOPS = __webpack_require__("b883"); +var pIE = __webpack_require__("1d88"); +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; +}; + + +/***/ }), + +/***/ "8588": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.6.5' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "8629": +/***/ (function(module, exports, __webpack_require__) { + +var shared = __webpack_require__("6ae5")('keys'); +var uid = __webpack_require__("329e"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); +}; + + +/***/ }), + +/***/ "8b23": +/***/ (function(module, exports, __webpack_require__) { + +// https://github.com/tc39/proposal-object-values-entries +var $export = __webpack_require__("048e"); +var $values = __webpack_require__("0e7a")(false); + +$export($export.S, 'Object', { + values: function values(it) { + return $values(it); + } +}); + + +/***/ }), + +/***/ "8c9d": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("1d2f"); +var document = __webpack_require__("9a60").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) : {}; +}; + + +/***/ }), + +/***/ "91dc": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("b992"); +module.exports = __webpack_require__("8588").Object.getOwnPropertySymbols; + + +/***/ }), + +/***/ "9342": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; + + +/***/ }), + +/***/ "96da": +/***/ (function(module, exports, __webpack_require__) { + +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("b1b7"); +var defined = __webpack_require__("50c4"); +module.exports = function (it) { + return IObject(defined(it)); +}; + + +/***/ }), + +/***/ "9884": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var LIBRARY = __webpack_require__("d3ae"); +var $export = __webpack_require__("048e"); +var redefine = __webpack_require__("baca"); +var hide = __webpack_require__("59ee"); +var Iterators = __webpack_require__("45bf"); +var $iterCreate = __webpack_require__("3db9"); +var setToStringTag = __webpack_require__("a602"); +var getPrototypeOf = __webpack_require__("1797"); +var ITERATOR = __webpack_require__("24aa")('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; +}; + + +/***/ }), + +/***/ "98b7": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("dcf5"); +var enumBugKeys = __webpack_require__("0d98"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "9a60": +/***/ (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 + + +/***/ }), + +/***/ "9baa": +/***/ (function(module, exports, __webpack_require__) { + +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("c213")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "9bc1": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("91dc"); + +/***/ }), + +/***/ "9bf4": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +var buttons_namespaceObject = {}; +__webpack_require__.r(buttons_namespaceObject); +__webpack_require__.d(buttons_namespaceObject, "Vutton", function() { return Vutton; }); + +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js +// This file is imported into lib/wc client bundles. + +if (typeof window !== 'undefined') { + if (true) { + __webpack_require__("0dd6") + } + + var setPublicPath_i + if ((setPublicPath_i = window.document.currentScript) && (setPublicPath_i = setPublicPath_i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) { + __webpack_require__.p = setPublicPath_i[1] // eslint-disable-line + } +} + +// Indicate to webpack that this file can be concatenated +/* harmony default export */ var setPublicPath = (null); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.array.iterator.js +var es6_array_iterator = __webpack_require__("db1a"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es7.object.values.js +var es7_object_values = __webpack_require__("8b23"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/web.dom.iterable.js +var web_dom_iterable = __webpack_require__("1ab8"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.array.for-each.js +var es6_array_for_each = __webpack_require__("1cd9"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.function.name.js +var es6_function_name = __webpack_require__("356a"); + +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"02909886-vue-loader-template"}!C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/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/buttons/Vutton/component.vue?vue&type=template&id=8e50676a& +var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g(_vm._b({ref:"button",staticClass:"vut vutton",class:_vm.Class},'button',_vm.$props,false),_vm.listeners),[_c('span',[_vm._t("default")],2),_c('loading'),_c('submit')],1)} +var staticRenderFns = [] + + +// CONCATENATED MODULE: ./src/buttons/Vutton/component.vue?vue&type=template&id=8e50676a& + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js +var get_own_property_descriptor = __webpack_require__("38b8"); +var get_own_property_descriptor_default = /*#__PURE__*/__webpack_require__.n(get_own_property_descriptor); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-symbols.js +var get_own_property_symbols = __webpack_require__("9bc1"); +var get_own_property_symbols_default = /*#__PURE__*/__webpack_require__.n(get_own_property_symbols); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/core-js/object/keys.js +var keys = __webpack_require__("a57b"); +var keys_default = /*#__PURE__*/__webpack_require__.n(keys); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/core-js/object/define-property.js +var define_property = __webpack_require__("0578"); +var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property); + +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js + +function _defineProperty(obj, key, value) { + if (key in obj) { + define_property_default()(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/helpers/esm/objectSpread.js + + + + +function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + var ownKeys = keys_default()(source); + + if (typeof get_own_property_symbols_default.a === 'function') { + ownKeys = ownKeys.concat(get_own_property_symbols_default()(source).filter(function (sym) { + return get_own_property_descriptor_default()(source, sym).enumerable; + })); + } + + ownKeys.forEach(function (key) { + _defineProperty(target, key, source[key]); + }); + } + + return target; +} +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.number.constructor.js +var es6_number_constructor = __webpack_require__("0bb9"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.regexp.split.js +var es6_regexp_split = __webpack_require__("ad0e"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.regexp.replace.js +var es6_regexp_replace = __webpack_require__("dad7"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es7.array.includes.js +var es7_array_includes = __webpack_require__("d3fe"); + +// CONCATENATED MODULE: ./src/util/functions.js + + + + +var setVar = function setVar(propertyName, value, el) { + if (!el) { + document.documentElement.style.setProperty("--vut-".concat(propertyName), value); + } else { + console.log("--vut-".concat(propertyName), value); + el.style.setProperty("--vut-".concat(propertyName), value); + } +}; + +var setColor = function setColor(colorName, color, el) { + function isColor(color) { + var vutColors = ['primary', 'secondary', 'success', 'danger', 'warning', 'dark', 'light']; + return vutColors.includes(color); + } + + function hexToRgb(hex) { + var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; + hex = hex.replace(shorthandRegex, function (m, r, g, b) { + return r + r + g + g + b + b; + }); + var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); + return result ? { + r: parseInt(result[1], 16), + g: parseInt(result[2], 16), + b: parseInt(result[3], 16) + } : null; + } + + var isRGB = /^(rgb|rgba)/.test(color); + var isHEX = /^(#)/.test(color); + var newColor; + + if (isRGB) { + var arrayColor = color.replace(/[rgba()]/g, '').split(','); + newColor = "".concat(arrayColor[0], ",").concat(arrayColor[1], ",").concat(arrayColor[2]); + setVar(colorName, newColor, el); + } else if (isHEX) { + var rgb = hexToRgb(color); + newColor = "".concat(rgb.r, ",").concat(rgb.g, ",").concat(rgb.b); + setVar(colorName, newColor, el); + } else if (isColor(color)) { + var style = getComputedStyle(el); + newColor = style.getPropertyValue('--vut-' + color); + setVar(colorName, newColor, el); + } +}; + + +// CONCATENATED MODULE: ./src/util/base.js + + + +/* harmony default export */ var base = ({ + inheritAttrs: false, + props: { + color: { + default: 'primary', + type: String + }, + type: { + default: 1, + type: Number | String + }, + size: { + type: String, + default: null + }, + loading: { + type: Boolean, + default: false + }, + disabled: { + type: Boolean, + default: false + }, + active: { + type: Boolean, + default: false + }, + submit: { + type: Boolean, + default: false + }, + to: { + default: false, + type: String | Object + }, + href: { + default: '', + type: String | Object + }, + blank: { + default: false, + type: Boolean + } + }, + computed: { + Class: function Class() { + return ["vutton--".concat(this.type), "vutton--".concat(this.size), { + 'vutton__active': this.active + }, { + 'vutton__loading': this.loading + }, { + 'vutton__submit': this.submit + }]; + }, + listeners: function listeners() { + var _this = this; + + return _objectSpread({}, this.$listeners, { + click: function click(event) { + return _this.clickx(event); + } + }); + } + }, + watch: { + color: function color() { + setColor('component', this.color, this.$refs.button); + } + }, + mounted: function mounted() { + setColor('component', this.color, this.$refs.button); + console.log(this.color); + }, + methods: { + clickx: function clickx() { + this.$emit('click', event); + + if (this.to) { + this.routerPush(); + } else if (this.href) { + this.open(); + } + }, + routerPush: function routerPush() { + this.$router.push(this.to); + }, + open: function open() { + this.blank ? window.open(this.href) : window.location.href = this.href; + } + } +}); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"02909886-vue-loader-template"}!C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/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/buttons/loading/loading.vue?vue&type=template&id=39bd9d04& +var loadingvue_type_template_id_39bd9d04_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)} +var loadingvue_type_template_id_39bd9d04_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"vut-loading"},[_c('div',{staticClass:"con-load"},[_c('div',{staticClass:"load"}),_c('div',{staticClass:"load2"})])])}] + + +// CONCATENATED MODULE: ./src/buttons/loading/loading.vue?vue&type=template&id=39bd9d04& + +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/buttons/loading/loading.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +/* harmony default export */ var loadingvue_type_script_lang_js_ = ({}); +// CONCATENATED MODULE: ./src/buttons/loading/loading.vue?vue&type=script&lang=js& + /* harmony default export */ var loading_loadingvue_type_script_lang_js_ = (loadingvue_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/buttons/loading/loading.vue + + + + + +/* normalize component */ + +var component = normalizeComponent( + loading_loadingvue_type_script_lang_js_, + loadingvue_type_template_id_39bd9d04_render, + loadingvue_type_template_id_39bd9d04_staticRenderFns, + false, + null, + null, + null + +) + +/* harmony default export */ var loading = (component.exports); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"02909886-vue-loader-template"}!C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/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/buttons/submit/submit.vue?vue&type=template&id=757a14be& +var submitvue_type_template_id_757a14be_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"vut-submit"},[_c('div',{staticClass:"con-submit"},[_c('div',{staticClass:"submit-icon"},[_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 26 26","xmlns:xlink":"http://www.w3.org/1999/xlink","enable-background":"new 0 0 26 26"}},[_c('g',[_c('path',{attrs:{"d":"m25,17h-2c-0.6,0-1,0.4-1,1v2.5c0,0.3-0.2,0.5-0.5,0.5h-17c-0.3,0-0.5-0.2-0.5-0.5v-2.5c0-0.6-0.4-1-1-1h-2c-0.6,0-1,0.4-1,1v6c0,0.6 0.4,1 1,1h24c0.6,0 1-0.4 1-1v-6c0-0.6-0.4-1-1-1z"}}),_c('path',{attrs:{"d":"M7.7,10.1c0.2,0.2,0.4,0.3,0.7,0.3c0.3,0,0.5-0.1,0.7-0.3l1-1C10.4,8.8,11,9,11,9.5v6.6c0,0.6,0.4,1,1,1h2c0.6,0,1-0.4,1-1 V9.5c0-0.4,0.5-0.7,0.9-0.4l1,1c0.2,0.2,0.4,0.3,0.7,0.3c0.3,0,0.5-0.1,0.7-0.3l1.4-1.4C19.9,8.5,20,8.3,20,8s-0.1-0.5-0.3-0.7 l-6-6C13.5,1.1,13.2,1,13,1s-0.5,0.1-0.7,0.3l-6,6C6.1,7.5,6,7.7,6,8s0.1,0.5,0.3,0.7L7.7,10.1z"}})])])])])])} +var submitvue_type_template_id_757a14be_staticRenderFns = [] + + +// CONCATENATED MODULE: ./src/buttons/submit/submit.vue?vue&type=template&id=757a14be& + +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/buttons/submit/submit.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +/* harmony default export */ var submitvue_type_script_lang_js_ = ({}); +// CONCATENATED MODULE: ./src/buttons/submit/submit.vue?vue&type=script&lang=js& + /* harmony default export */ var submit_submitvue_type_script_lang_js_ = (submitvue_type_script_lang_js_); +// CONCATENATED MODULE: ./src/buttons/submit/submit.vue + + + + + +/* normalize component */ + +var submit_component = normalizeComponent( + submit_submitvue_type_script_lang_js_, + submitvue_type_template_id_757a14be_render, + submitvue_type_template_id_757a14be_staticRenderFns, + false, + null, + null, + null + +) + +/* harmony default export */ var submit_submit = (submit_component.exports); +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/buttons/Vutton/component.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + + +/* harmony default export */ var componentvue_type_script_lang_js_ = ({ + name: 'Vutton', + components: { + loading: loading, + submit: submit_submit + }, + mixins: [base] +}); +// CONCATENATED MODULE: ./src/buttons/Vutton/component.vue?vue&type=script&lang=js& + /* harmony default export */ var Vutton_componentvue_type_script_lang_js_ = (componentvue_type_script_lang_js_); +// CONCATENATED MODULE: ./src/buttons/Vutton/component.vue + + + + + +/* normalize component */ + +var component_component = normalizeComponent( + Vutton_componentvue_type_script_lang_js_, + render, + staticRenderFns, + false, + null, + null, + null + +) + +/* harmony default export */ var Vutton_component = (component_component.exports); +// CONCATENATED MODULE: ./src/buttons/Vutton/index.js + + +/* harmony default export */ var Vutton = (function (Vue) { + Vue.component(Vutton_component.name, Vutton_component); +}); +// CONCATENATED MODULE: ./src/buttons/index.js + +// EXTERNAL MODULE: ./src/style/vuttons.styl +var vuttons = __webpack_require__("c082"); + +// CONCATENATED MODULE: ./src/index.js + + + + + + // import './fonts/font/flaticon.css' + +var src_install = function install(Vue, options) { + Object.values(buttons_namespaceObject).forEach(function (vsComponent) { + Vue.use(vsComponent); + }); +}; + +if (typeof window !== 'undefined' && window.Vue) { + src_install(window.Vue); +} + +/* harmony default export */ var src = (src_install); // export { default as Vutton } from './buttons/Vutton' +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js + + +/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src); + + + +/***/ }), + +/***/ "9c87": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("f7d0"); +var $Object = __webpack_require__("8588").Object; +module.exports = function getOwnPropertyDescriptor(it, key) { + return $Object.getOwnPropertyDescriptor(it, key); +}; + + +/***/ }), + +/***/ "9f46": +/***/ (function(module, exports, __webpack_require__) { + +var document = __webpack_require__("5cbf").document; +module.exports = document && document.documentElement; + + +/***/ }), + +/***/ "a0f5": +/***/ (function(module, exports) { + +module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; + + +/***/ }), + +/***/ "a57b": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("b0cb"); + +/***/ }), + +/***/ "a5d6": +/***/ (function(module, exports, __webpack_require__) { + +// optional / simple context binding +var aFunction = __webpack_require__("ea05"); +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); + }; +}; + + +/***/ }), + +/***/ "a602": +/***/ (function(module, exports, __webpack_require__) { + +var def = __webpack_require__("d528").f; +var has = __webpack_require__("571a"); +var TAG = __webpack_require__("24aa")('toStringTag'); + +module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); +}; + + +/***/ }), + +/***/ "a6b7": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("5cbf"); +var core = __webpack_require__("8588"); +var ctx = __webpack_require__("a5d6"); +var hide = __webpack_require__("2779"); +var has = __webpack_require__("af0a"); +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; + + +/***/ }), + +/***/ "ab0c": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window +var toIObject = __webpack_require__("686a"); +var gOPN = __webpack_require__("cd16").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)); +}; + + +/***/ }), + +/***/ "ad0e": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var isRegExp = __webpack_require__("341c"); +var anObject = __webpack_require__("3fa7"); +var speciesConstructor = __webpack_require__("4eb1"); +var advanceStringIndex = __webpack_require__("78c7"); +var toLength = __webpack_require__("38fd"); +var callRegExpExec = __webpack_require__("c829"); +var regexpExec = __webpack_require__("adaf"); +var fails = __webpack_require__("c213"); +var $min = Math.min; +var $push = [].push; +var $SPLIT = 'split'; +var LENGTH = 'length'; +var LAST_INDEX = 'lastIndex'; +var MAX_UINT32 = 0xffffffff; + +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); + +// @@split logic +__webpack_require__("b905")('split', 2, function (defined, SPLIT, $split, maybeCallNative) { + var internalSplit; + if ( + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || + '.'[$SPLIT](/()()/)[LENGTH] > 1 || + ''[$SPLIT](/.?/)[LENGTH] + ) { + // based on es5-shim implementation, need to rework it + internalSplit = function (separator, limit) { + var string = String(this); + if (separator === undefined && limit === 0) return []; + // If `separator` is not a regex, use native split + if (!isRegExp(separator)) return $split.call(string, separator, limit); + var output = []; + var flags = (separator.ignoreCase ? 'i' : '') + + (separator.multiline ? 'm' : '') + + (separator.unicode ? 'u' : '') + + (separator.sticky ? 'y' : ''); + var lastLastIndex = 0; + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; + // Make `global` and avoid `lastIndex` issues by working with a copy + var separatorCopy = new RegExp(separator.source, flags + 'g'); + var match, lastIndex, lastLength; + while (match = regexpExec.call(separatorCopy, string)) { + lastIndex = separatorCopy[LAST_INDEX]; + if (lastIndex > lastLastIndex) { + output.push(string.slice(lastLastIndex, match.index)); + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); + lastLength = match[0][LENGTH]; + lastLastIndex = lastIndex; + if (output[LENGTH] >= splitLimit) break; + } + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop + } + if (lastLastIndex === string[LENGTH]) { + if (lastLength || !separatorCopy.test('')) output.push(''); + } else output.push(string.slice(lastLastIndex)); + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; + }; + // Chakra, V8 + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { + internalSplit = function (separator, limit) { + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); + }; + } else { + internalSplit = $split; + } + + return [ + // `String.prototype.split` method + // https://tc39.github.io/ecma262/#sec-string.prototype.split + function split(separator, limit) { + var O = defined(this); + var splitter = separator == undefined ? undefined : separator[SPLIT]; + return splitter !== undefined + ? splitter.call(separator, O, limit) + : internalSplit.call(String(O), separator, limit); + }, + // `RegExp.prototype[@@split]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split + // + // NOTE: This cannot be properly polyfilled in engines that don't support + // the 'y' flag. + function (regexp, limit) { + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); + if (res.done) return res.value; + + var rx = anObject(regexp); + var S = String(this); + var C = speciesConstructor(rx, RegExp); + + var unicodeMatching = rx.unicode; + var flags = (rx.ignoreCase ? 'i' : '') + + (rx.multiline ? 'm' : '') + + (rx.unicode ? 'u' : '') + + (SUPPORTS_Y ? 'y' : 'g'); + + // ^(? + rx + ) is needed, in combination with some S slicing, to + // simulate the 'y' flag. + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; + var p = 0; + var q = 0; + var A = []; + while (q < S.length) { + splitter.lastIndex = SUPPORTS_Y ? q : 0; + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); + var e; + if ( + z === null || + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p + ) { + q = advanceStringIndex(S, q, unicodeMatching); + } else { + A.push(S.slice(p, q)); + if (A.length === lim) return A; + for (var i = 1; i <= z.length - 1; i++) { + A.push(z[i]); + if (A.length === lim) return A; + } + q = p = e; + } + } + A.push(S.slice(p)); + return A; + } + ]; +}); + + +/***/ }), + +/***/ "adaf": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var regexpFlags = __webpack_require__("45dc"); + +var nativeExec = RegExp.prototype.exec; +// This always refers to the native implementation, because the +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, +// which loads this file before patching the method. +var nativeReplace = String.prototype.replace; + +var patchedExec = nativeExec; + +var LAST_INDEX = 'lastIndex'; + +var UPDATES_LAST_INDEX_WRONG = (function () { + var re1 = /a/, + re2 = /b*/g; + nativeExec.call(re1, 'a'); + nativeExec.call(re2, 'a'); + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; +})(); + +// nonparticipating capturing group, copied from es5-shim's String#split patch. +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; + +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; + +if (PATCH) { + patchedExec = function exec(str) { + var re = this; + var lastIndex, reCopy, match, i; + + if (NPCG_INCLUDED) { + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); + } + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; + + match = nativeExec.call(re, str); + + if (UPDATES_LAST_INDEX_WRONG && match) { + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; + } + if (NPCG_INCLUDED && match && match.length > 1) { + // Fix browsers whose `exec` methods don't consistently return `undefined` + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ + // eslint-disable-next-line no-loop-func + nativeReplace.call(match[0], reCopy, function () { + for (i = 1; i < arguments.length - 2; i++) { + if (arguments[i] === undefined) match[i] = undefined; + } + }); + } + + return match; + }; +} + +module.exports = patchedExec; + + +/***/ }), + +/***/ "adbe": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +var anObject = __webpack_require__("0572"); +var dPs = __webpack_require__("ebdc"); +var enumBugKeys = __webpack_require__("111d"); +var IE_PROTO = __webpack_require__("7c47")('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__("b1ea")('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; + iframe.style.display = 'none'; + __webpack_require__("9f46").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); +}; + + +/***/ }), + +/***/ "adfd": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("2779"); + + +/***/ }), + +/***/ "aeae": +/***/ (function(module, exports, __webpack_require__) { + +// Works with __proto__ only. Old v8 can't work with null proto objects. +/* eslint-disable no-proto */ +var isObject = __webpack_require__("1d2f"); +var anObject = __webpack_require__("3fa7"); +var check = function (O, proto) { + anObject(O); + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); +}; +module.exports = { + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line + function (test, buggy, set) { + try { + set = __webpack_require__("2eb4")(Function.call, __webpack_require__("0f2e").f(Object.prototype, '__proto__').set, 2); + set(test, []); + buggy = !(test instanceof Array); + } catch (e) { buggy = true; } + return function setPrototypeOf(O, proto) { + check(O, proto); + if (buggy) O.__proto__ = proto; + else set(O, proto); + return O; + }; + }({}, false) : undefined), + check: check +}; + + +/***/ }), + +/***/ "aecc": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +var anObject = __webpack_require__("3fa7"); +var dPs = __webpack_require__("2436"); +var enumBugKeys = __webpack_require__("0d98"); +var IE_PROTO = __webpack_require__("8629")('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__("8c9d")('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; + iframe.style.display = 'none'; + __webpack_require__("c20c").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); +}; + + +/***/ }), + +/***/ "af0a": +/***/ (function(module, exports) { + +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); +}; + + +/***/ }), + +/***/ "b0cb": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("bdb9"); +module.exports = __webpack_require__("8588").Object.keys; + + +/***/ }), + +/***/ "b1b7": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("ebbd"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; + + +/***/ }), + +/***/ "b1ea": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("9342"); +var document = __webpack_require__("5cbf").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) : {}; +}; + + +/***/ }), + +/***/ "b6bb": +/***/ (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); +}; + + +/***/ }), + +/***/ "b7f6": +/***/ (function(module, exports) { + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "b883": +/***/ (function(module, exports) { + +exports.f = Object.getOwnPropertySymbols; + + +/***/ }), + +/***/ "b905": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +__webpack_require__("2f50"); +var redefine = __webpack_require__("baca"); +var hide = __webpack_require__("59ee"); +var fails = __webpack_require__("c213"); +var defined = __webpack_require__("50c4"); +var wks = __webpack_require__("24aa"); +var regexpExec = __webpack_require__("adaf"); + +var SPECIES = wks('species'); + +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + // #replace needs built-in support for named groups. + // #match works fine because it just return the exec results, even if it has + // a "grops" property. + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + return ''.replace(re, '$') !== '7'; +}); + +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec + var re = /(?:)/; + var originalExec = re.exec; + re.exec = function () { return originalExec.apply(this, arguments); }; + var result = 'ab'.split(re); + return result.length === 2 && result[0] === 'a' && result[1] === 'b'; +})(); + +module.exports = function (KEY, length, exec) { + var SYMBOL = wks(KEY); + + var DELEGATES_TO_SYMBOL = !fails(function () { + // String methods call symbol-named RegEp methods + var O = {}; + O[SYMBOL] = function () { return 7; }; + return ''[KEY](O) != 7; + }); + + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { + // Symbol-named RegExp methods call .exec + var execCalled = false; + var re = /a/; + re.exec = function () { execCalled = true; return null; }; + if (KEY === 'split') { + // RegExp[@@split] doesn't call the regex's exec method, but first creates + // a new one. We need to return the patched regex when creating the new one. + re.constructor = {}; + re.constructor[SPECIES] = function () { return re; }; + } + re[SYMBOL](''); + return !execCalled; + }) : undefined; + + if ( + !DELEGATES_TO_SYMBOL || + !DELEGATES_TO_EXEC || + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) + ) { + var nativeRegExpMethod = /./[SYMBOL]; + var fns = exec( + defined, + SYMBOL, + ''[KEY], + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { + if (regexp.exec === regexpExec) { + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { + // The native String method already delegates to @@method (this + // polyfilled function), leasing to infinite recursion. + // We avoid it by directly calling the native @@method method. + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; + } + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; + } + return { done: false }; + } + ); + var strfn = fns[0]; + var rxfn = fns[1]; + + redefine(String.prototype, KEY, strfn); + hide(RegExp.prototype, SYMBOL, length == 2 + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) + // 21.2.5.11 RegExp.prototype[@@split](string, limit) + ? function (string, arg) { return rxfn.call(string, this, arg); } + // 21.2.5.6 RegExp.prototype[@@match](string) + // 21.2.5.9 RegExp.prototype[@@search](string) + : function (string) { return rxfn.call(string, this); } + ); + } +}; + + +/***/ }), + +/***/ "b992": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// ECMAScript 6 symbols shim +var global = __webpack_require__("5cbf"); +var has = __webpack_require__("af0a"); +var DESCRIPTORS = __webpack_require__("1a24"); +var $export = __webpack_require__("a6b7"); +var redefine = __webpack_require__("adfd"); +var META = __webpack_require__("32bc").KEY; +var $fails = __webpack_require__("c887"); +var shared = __webpack_require__("fdfa"); +var setToStringTag = __webpack_require__("642c"); +var uid = __webpack_require__("6dbf"); +var wks = __webpack_require__("67e8"); +var wksExt = __webpack_require__("4a37"); +var wksDefine = __webpack_require__("218d"); +var enumKeys = __webpack_require__("801b"); +var isArray = __webpack_require__("5102"); +var anObject = __webpack_require__("0572"); +var isObject = __webpack_require__("9342"); +var toIObject = __webpack_require__("686a"); +var toPrimitive = __webpack_require__("78f3"); +var createDesc = __webpack_require__("d457"); +var _create = __webpack_require__("adbe"); +var gOPNExt = __webpack_require__("ab0c"); +var $GOPD = __webpack_require__("2a3d"); +var $DP = __webpack_require__("691b"); +var $keys = __webpack_require__("2882"); +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__("cd16").f = gOPNExt.f = $getOwnPropertyNames; + __webpack_require__("1d88").f = $propertyIsEnumerable; + __webpack_require__("b883").f = $getOwnPropertySymbols; + + if (DESCRIPTORS && !__webpack_require__("5718")) { + 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__("2779")($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); + + +/***/ }), + +/***/ "baa3": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = !__webpack_require__("9baa") && !__webpack_require__("c213")(function () { + return Object.defineProperty(__webpack_require__("8c9d")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "baca": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("9a60"); +var hide = __webpack_require__("59ee"); +var has = __webpack_require__("571a"); +var SRC = __webpack_require__("329e")('src'); +var $toString = __webpack_require__("ca25"); +var TO_STRING = 'toString'; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__("e3a0").inspectSource = function (it) { + return $toString.call(it); +}; + +(module.exports = function (O, key, val, safe) { + var isFunction = typeof val == 'function'; + if (isFunction) has(val, 'name') || hide(val, 'name', key); + if (O[key] === val) return; + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); + if (O === global) { + O[key] = val; + } else if (!safe) { + delete O[key]; + hide(O, key, val); + } else if (O[key]) { + O[key] = val; + } else { + hide(O, key, val); + } +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +})(Function.prototype, TO_STRING, function toString() { + return typeof this == 'function' && this[SRC] || $toString.call(this); +}); + + +/***/ }), + +/***/ "baee": +/***/ (function(module, exports) { + +var toString = {}.toString; + +module.exports = function (it) { + return toString.call(it).slice(8, -1); +}; + + +/***/ }), + +/***/ "bdb9": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 Object.keys(O) +var toObject = __webpack_require__("d6c4"); +var $keys = __webpack_require__("2882"); + +__webpack_require__("5d32")('keys', function () { + return function keys(it) { + return $keys(toObject(it)); + }; +}); + + +/***/ }), + +/***/ "be76": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("1d2f"); +var setPrototypeOf = __webpack_require__("aeae").set; +module.exports = function (that, target, C) { + var S = target.constructor; + var P; + if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { + setPrototypeOf(that, P); + } return that; +}; + + +/***/ }), + +/***/ "c082": +/***/ (function(module, exports, __webpack_require__) { + +// extracted by mini-css-extract-plugin + +/***/ }), + +/***/ "c20c": +/***/ (function(module, exports, __webpack_require__) { + +var document = __webpack_require__("9a60").document; +module.exports = document && document.documentElement; + + +/***/ }), + +/***/ "c213": +/***/ (function(module, exports) { + +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } +}; + + +/***/ }), + +/***/ "c829": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var classof = __webpack_require__("26f8"); +var builtinExec = RegExp.prototype.exec; + + // `RegExpExec` abstract operation +// https://tc39.github.io/ecma262/#sec-regexpexec +module.exports = function (R, S) { + var exec = R.exec; + if (typeof exec === 'function') { + var result = exec.call(R, S); + if (typeof result !== 'object') { + throw new TypeError('RegExp exec method returned something other than an Object or null'); + } + return result; + } + if (classof(R) !== 'RegExp') { + throw new TypeError('RegExp#exec called on incompatible receiver'); + } + return builtinExec.call(R, S); +}; + + +/***/ }), + +/***/ "c887": +/***/ (function(module, exports) { + +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } +}; + + +/***/ }), + +/***/ "ca25": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("6ae5")('native-function-to-string', Function.toString); + + +/***/ }), + +/***/ "ccdc": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("c213"); + +module.exports = function (method, arg) { + return !!method && fails(function () { + // eslint-disable-next-line no-useless-call + arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); + }); +}; + + +/***/ }), + +/***/ "cd16": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) +var $keys = __webpack_require__("65ba"); +var hiddenKeys = __webpack_require__("111d").concat('length', 'prototype'); + +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return $keys(O, hiddenKeys); +}; + + +/***/ }), + +/***/ "d35e": +/***/ (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); +}; + + +/***/ }), + +/***/ "d3ae": +/***/ (function(module, exports) { + +module.exports = false; + + +/***/ }), + +/***/ "d3fe": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// https://github.com/tc39/Array.prototype.includes +var $export = __webpack_require__("048e"); +var $includes = __webpack_require__("dd00")(true); + +$export($export.P, 'Array', { + includes: function includes(el /* , fromIndex = 0 */) { + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +__webpack_require__("2583")('includes'); + + +/***/ }), + +/***/ "d457": +/***/ (function(module, exports) { + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "d528": +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__("3fa7"); +var IE8_DOM_DEFINE = __webpack_require__("baa3"); +var toPrimitive = __webpack_require__("0666"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("9baa") ? 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; +}; + + +/***/ }), + +/***/ "d6c4": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("41f3"); +module.exports = function (it) { + return Object(defined(it)); +}; + + +/***/ }), + +/***/ "d758": +/***/ (function(module, exports) { + +module.exports = function (done, value) { + return { value: value, done: !!done }; +}; + + +/***/ }), + +/***/ "dad7": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var anObject = __webpack_require__("3fa7"); +var toObject = __webpack_require__("099f"); +var toLength = __webpack_require__("38fd"); +var toInteger = __webpack_require__("d35e"); +var advanceStringIndex = __webpack_require__("78c7"); +var regExpExec = __webpack_require__("c829"); +var max = Math.max; +var min = Math.min; +var floor = Math.floor; +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; + +var maybeToString = function (it) { + return it === undefined ? it : String(it); +}; + +// @@replace logic +__webpack_require__("b905")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { + return [ + // `String.prototype.replace` method + // https://tc39.github.io/ecma262/#sec-string.prototype.replace + function replace(searchValue, replaceValue) { + var O = defined(this); + var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; + return fn !== undefined + ? fn.call(searchValue, O, replaceValue) + : $replace.call(String(O), searchValue, replaceValue); + }, + // `RegExp.prototype[@@replace]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace + function (regexp, replaceValue) { + var res = maybeCallNative($replace, regexp, this, replaceValue); + if (res.done) return res.value; + + var rx = anObject(regexp); + var S = String(this); + var functionalReplace = typeof replaceValue === 'function'; + if (!functionalReplace) replaceValue = String(replaceValue); + var global = rx.global; + if (global) { + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + } + var results = []; + while (true) { + var result = regExpExec(rx, S); + if (result === null) break; + results.push(result); + if (!global) break; + var matchStr = String(result[0]); + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + } + var accumulatedResult = ''; + var nextSourcePosition = 0; + for (var i = 0; i < results.length; i++) { + result = results[i]; + var matched = String(result[0]); + var position = max(min(toInteger(result.index), S.length), 0); + var captures = []; + // NOTE: This is equivalent to + // captures = result.slice(1).map(maybeToString) + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); + var namedCaptures = result.groups; + if (functionalReplace) { + var replacerArgs = [matched].concat(captures, position, S); + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); + var replacement = String(replaceValue.apply(undefined, replacerArgs)); + } else { + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); + } + if (position >= nextSourcePosition) { + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; + nextSourcePosition = position + matched.length; + } + } + return accumulatedResult + S.slice(nextSourcePosition); + } + ]; + + // https://tc39.github.io/ecma262/#sec-getsubstitution + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return $replace.call(replacement, symbols, function (match, ch) { + var capture; + switch (ch.charAt(0)) { + case '$': return '$'; + case '&': return matched; + case '`': return str.slice(0, position); + case "'": return str.slice(tailPos); + case '<': + capture = namedCaptures[ch.slice(1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); + } +}); + + +/***/ }), + +/***/ "db1a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var addToUnscopables = __webpack_require__("2583"); +var step = __webpack_require__("d758"); +var Iterators = __webpack_require__("45bf"); +var toIObject = __webpack_require__("96da"); + +// 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__("9884")(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'); + + +/***/ }), + +/***/ "dcf5": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("571a"); +var toIObject = __webpack_require__("96da"); +var arrayIndexOf = __webpack_require__("dd00")(false); +var IE_PROTO = __webpack_require__("8629")('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; +}; + + +/***/ }), + +/***/ "dd00": +/***/ (function(module, exports, __webpack_require__) { + +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("96da"); +var toLength = __webpack_require__("38fd"); +var toAbsoluteIndex = __webpack_require__("7527"); +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; + }; +}; + + +/***/ }), + +/***/ "dede": +/***/ (function(module, exports, __webpack_require__) { + +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) +var speciesConstructor = __webpack_require__("6e24"); + +module.exports = function (original, length) { + return new (speciesConstructor(original))(length); +}; + + +/***/ }), + +/***/ "e2c8": +/***/ (function(module, exports, __webpack_require__) { + +// 7.2.2 IsArray(argument) +var cof = __webpack_require__("ebbd"); +module.exports = Array.isArray || function isArray(arg) { + return cof(arg) == 'Array'; +}; + + +/***/ }), + +/***/ "e3a0": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.6.5' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "ea05": +/***/ (function(module, exports) { + +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; + + +/***/ }), + +/***/ "ebbd": +/***/ (function(module, exports) { + +var toString = {}.toString; + +module.exports = function (it) { + return toString.call(it).slice(8, -1); +}; + + +/***/ }), + +/***/ "ebdc": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("691b"); +var anObject = __webpack_require__("0572"); +var getKeys = __webpack_require__("2882"); + +module.exports = __webpack_require__("1a24") ? 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; +}; + + +/***/ }), + +/***/ "f7d0": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) +var toIObject = __webpack_require__("686a"); +var $getOwnPropertyDescriptor = __webpack_require__("2a3d").f; + +__webpack_require__("5d32")('getOwnPropertyDescriptor', function () { + return function getOwnPropertyDescriptor(it, key) { + return $getOwnPropertyDescriptor(toIObject(it), key); + }; +}); + + +/***/ }), + +/***/ "fdfa": +/***/ (function(module, exports, __webpack_require__) { + +var core = __webpack_require__("8588"); +var global = __webpack_require__("5cbf"); +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__("5718") ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' +}); + + +/***/ }) + +/******/ }); +//# sourceMappingURL=vuttons.common.js.map \ No newline at end of file diff --git a/dist/vuttons.css b/dist/vuttons.css new file mode 100644 index 0000000..9ff4ed5 --- /dev/null +++ b/dist/vuttons.css @@ -0,0 +1 @@ +:root{--vut-primary:114,137,218;--vut-secondary:121,49,177;--vut-danger:255,71,87;--vut-success:70,201,58;--vut-warning:255,186,0;--vut-dark:30,30,30;--vut-light:245,245,245}.vut.vutton--1{--vut-component:var(--vut-primary);background:transparent;border:2px solid rgba(var(--vut-component),1);color:rgba(var(--vut-component),1)}.vut.vutton--1:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit){background:rgba(var(--vut-component),1);color:#fff}.vut.vutton--1:active{opacity:.8}.vut.vutton--1.vutton__active{color:#fff;background:rgba(var(--vut-component),1)}.vut.vutton--1.vutton__loading{pointer-events:none;user-select:none}.vut.vutton--1.vutton__loading .vut-loading{opacity:1;visibility:visible}.vut.vutton--1.vutton__submit{pointer-events:none;user-select:none}.vut.vutton--1.vutton__submit .vut-submit{opacity:1;visibility:visible}.vut.vutton--2{--vut-component:var(--vut-primary);background:transparent;color:rgba(var(--vut-component),1);overflow:hidden;border:0;padding:10px 12px}.vut.vutton--2:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit){background:rgba(var(--vut-component),1);color:#fff}.vut.vutton--2:active{opacity:.8}.vut.vutton--2.vutton__active{color:#fff;background:rgba(var(--vut-component),1)}.vut.vutton--2.vutton__loading{pointer-events:none;user-select:none}.vut.vutton--2.vutton__loading .vut-loading{opacity:1;visibility:visible}.vut.vutton--2.vutton__submit{pointer-events:none;user-select:none}.vut.vutton--2.vutton__submit .vut-submit{opacity:1;visibility:visible}.vut.vutton--2.vutton--extraLarge{padding:14px 17px}.vut.vutton--2.vutton--large{padding:11.6px 14px}.vut.vutton--2.vutton--small{padding:7.714285714285714px 9.142857142857142px}.vut.vutton--2.vutton--mini{padding:5.636363636363637px 6.545454545454545px}.vut.vutton--3{--vut-component:var(--vut-primary);background:rgba(var(--vut-component),1);color:#fff;overflow:hidden;border:0;padding:10px 12px}.vut.vutton--3:after{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.3);content:"";opacity:0;visibility:hidden;pointer-events:none;transition:all .25s ease}.vut.vutton--3 .vut-submit{background:rgba(0,0,0,.15)}.vut.vutton--3 .vut-submit:after{background:hsla(0,0%,100%,.2)}.vut.vutton--3 .vut-submit svg{opacity:0}.vut.vutton--3:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit){transform:translateY(-4px);box-shadow:0 4px 10px 0 rgba(var(--vut-component),.45)}.vut.vutton--3:active{opacity:.8}.vut.vutton--3.vutton__active{color:#fff;background:rgba(var(--vut-component),1)}.vut.vutton--3.vutton__active:after{opacity:1;visibility:visible}.vut.vutton--3.vutton__loading{pointer-events:none;user-select:none}.vut.vutton--3.vutton__loading .vut-loading{opacity:1;visibility:visible}.vut.vutton--3.vutton__submit{pointer-events:none;user-select:none}.vut.vutton--3.vutton__submit .vut-submit{opacity:1;visibility:visible}.vut.vutton--3.vutton--extraLarge{padding:14px 17px}.vut.vutton--3.vutton--large{padding:11.6px 14px}.vut.vutton--3.vutton--small{padding:7.714285714285714px 9.142857142857142px}.vut.vutton--3.vutton--mini{padding:5.636363636363637px 6.545454545454545px}.vut.vutton--4{--vut-component:var(--vut-primary);background:transparent;color:rgba(var(--vut-component),1);overflow:hidden;border:0;padding:10px 12px;background:rgba(var(--vut-component),.1)}.vut.vutton--4:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(var(--vut-component),1);transform:translateY(100%);transition:all .25s ease}.vut.vutton--4:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit){color:#fff}.vut.vutton--4:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit):after{transform:translate(0)}.vut.vutton--4:active{opacity:.8}.vut.vutton--4.vutton__active{color:#fff;background:rgba(var(--vut-component),1)}.vut.vutton--4.vutton__loading{pointer-events:none;user-select:none}.vut.vutton--4.vutton__loading .vut-loading{opacity:1;visibility:visible}.vut.vutton--4.vutton__submit{pointer-events:none;user-select:none}.vut.vutton--4.vutton__submit .vut-submit{opacity:1;visibility:visible}.vut.vutton--4.vutton--extraLarge{padding:14px 17px}.vut.vutton--4.vutton--large{padding:11.6px 14px}.vut.vutton--4.vutton--small{padding:7.714285714285714px 9.142857142857142px}.vut.vutton--4.vutton--mini{padding:5.636363636363637px 6.545454545454545px}.vut.vutton--5{--vut-component:var(--vut-primary);background:transparent;color:rgba(var(--vut-component),1);overflow:hidden;border:0;padding:9px 11px;border:1px dashed rgba(var(--vut-component),1)}.vut.vutton--5:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(var(--vut-component),1);transform:scale(.7);border-radius:3px;opacity:0;visibility:hidden;pointer-events:none;transition:all .25s ease}.vut.vutton--5:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit){background:rgba(var(--vut-component),1);color:#fff}.vut.vutton--5:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit):after{opacity:1;visibility:visible;transform:scale(1)}.vut.vutton--5:active{opacity:.8}.vut.vutton--5.vutton__active{background:rgba(var(--vut-component),.2);border:1px solid rgba(var(--vut-component),1)}.vut.vutton--5.vutton__loading{pointer-events:none;user-select:none}.vut.vutton--5.vutton__loading .vut-loading{opacity:1;visibility:visible;background:hsla(0,0%,100%,.8)}.vut.vutton--5.vutton__loading .vut-loading .load,.vut.vutton--5.vutton__loading .vut-loading .load2{border:2px solid rgba(var(--vut-component),1);border-left:2px solid transparent;border-top:2px solid transparent;border-right:2px solid transparent}.vut.vutton--5.vutton__submit{pointer-events:none;user-select:none}.vut.vutton--5.vutton__submit .vut-submit{opacity:1;visibility:visible}.vut.vutton--5.vutton--extraLarge{padding:13px 16px}.vut.vutton--5.vutton--large{padding:10.6px 13px}.vut.vutton--5.vutton--small{padding:6.714285714285714px 8.142857142857142px}.vut.vutton--5.vutton--mini{padding:4.636363636363637px 5.545454545454545px}.vut.vutton--6{--vut-component:var(--vut-primary);background:rgba(var(--vut-component),.8);color:#fff;overflow:hidden;border:0;padding:10px 12px!important;box-shadow:0 4px 0 0 rgba(var(--vut-component),1)}.vut.vutton--6:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit){opacity:.8}.vut.vutton--6:active,.vut.vutton--6:disabled{box-shadow:0 0 0 0 rgba(var(--vut-component),1)}.vut.vutton--6:active{transform:translateY(5px);opacity:.8}.vut.vutton--6.vutton__active{background:rgba(var(--vut-component),.2);box-shadow:0 0 0 0 rgba(var(--vut-component),1);color:rgba(var(--vut-component),1)}.vut.vutton--6.vutton__loading{pointer-events:none;user-select:none;box-shadow:0 0 0 0 rgba(var(--vut-component),1)}.vut.vutton--6.vutton__loading .vut-loading{opacity:1;visibility:visible;background:hsla(0,0%,100%,.8)}.vut.vutton--6.vutton__loading .vut-loading .load,.vut.vutton--6.vutton__loading .vut-loading .load2{border:2px solid rgba(var(--vut-component),1);border-left:2px solid transparent;border-top:2px solid transparent;border-right:2px solid transparent}.vut.vutton--6.vutton__submit{pointer-events:none;user-select:none;box-shadow:0 0 0 0 rgba(var(--vut-component),1)}.vut.vutton--6.vutton__submit .vut-submit{opacity:1;visibility:visible}.vut.vutton--6.vutton--extraLarge{padding:14px 17px}.vut.vutton--6.vutton--large{padding:11.6px 14px}.vut.vutton--6.vutton--small{padding:7.714285714285714px 9.142857142857142px}.vut.vutton--6.vutton--mini{padding:5.636363636363637px 6.545454545454545px}.vut.vutton--7{--vut-component:var(--vut-primary);background:transparent;color:rgba(var(--vut-component),1);overflow:hidden;border:0;padding:10px 12px!important;border-radius:0!important}.vut.vutton--7:after{content:"";position:absolute;bottom:0;left:50%;width:0;height:3px;background:rgba(var(--vut-component),1);transform:translate(-50%);transition:all .25s ease}.vut.vutton--7:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit):after{width:100%}.vut.vutton--7:disabled:after{width:0}.vut.vutton--7:active{opacity:.8}.vut.vutton--7:active:after{width:90%!important}.vut.vutton--7.vutton__active{background:rgba(var(--vut-component),.1);color:rgba(var(--vut-component),1)}.vut.vutton--7.vutton__active:after{width:100%}.vut.vutton--7.vutton__loading{pointer-events:none;user-select:none}.vut.vutton--7.vutton__loading:after{width:100%}.vut.vutton--7.vutton__loading .vut-loading{opacity:1;visibility:visible;background:hsla(0,0%,100%,.8)}.vut.vutton--7.vutton__loading .vut-loading .load,.vut.vutton--7.vutton__loading .vut-loading .load2{border:2px solid rgba(var(--vut-component),1);border-left:2px solid transparent;border-top:2px solid transparent;border-right:2px solid transparent}.vut.vutton--7.vutton__submit{pointer-events:none;user-select:none}.vut.vutton--7.vutton__submit:after{width:100%}.vut.vutton--7.vutton__submit .vut-submit{opacity:1;visibility:visible}.vut.vutton--7.vutton--extraLarge{padding:14px 17px}.vut.vutton--7.vutton--large{padding:11.6px 14px}.vut.vutton--7.vutton--small{padding:7.714285714285714px 9.142857142857142px}.vut.vutton--7.vutton--mini{padding:5.636363636363637px 6.545454545454545px}.vut-loading{top:0;left:0;width:100%;height:100%;position:absolute;background:transparent;pointer-events:none;z-index:300;opacity:0;visibility:hidden;display:block;background:rgba(var(--vut-component),.5)}.vut-loading .con-load{width:22px;height:22px;left:50%;top:50%;transform:translate(-50%,-50%);position:absolute}.vut-loading .load{animation:rotatex 1s linear infinite;opacity:.5}.vut-loading .load,.vut-loading .load2{width:22px;height:22px;position:absolute;border-radius:50%;border:2px solid #fff;border-left:2px solid transparent;border-top:2px solid transparent;border-right:2px solid transparent;box-sizing:border-box;display:block}.vut-loading .load2{animation:rotatex 1s ease-out infinite}@-moz-keyframes rotatex{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@-webkit-keyframes rotatex{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@-o-keyframes rotatex{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotatex{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.vut-submit{background:transparent;pointer-events:none;z-index:300;opacity:0;visibility:hidden;display:block;background:hsla(0,0%,100%,.8);overflow:hidden}.vut-submit,.vut-submit:after{top:0;left:0;width:100%;height:100%;position:absolute}.vut-submit:after{content:"";background:rgba(var(--vut-component),.3);animation:loadBlock 1s ease-out infinite}.vut-submit .con-submit{width:15px;height:15px;left:50%;top:50%;transform:translate(-50%,-50%);position:absolute}.vut-submit .submit-icon{width:15px;height:15px;position:absolute;box-sizing:border-box;display:block}.vut-submit .submit-icon svg{fill:rgba(var(--vut-component),1);stroke:rgba(var(--vut-component),1)}@-moz-keyframes loadBlock{0%{transform:translateY(100%)}to{transform:translateY(-100%)}}@-webkit-keyframes loadBlock{0%{transform:translateY(100%)}to{transform:translateY(-100%)}}@-o-keyframes loadBlock{0%{transform:translateY(100%)}to{transform:translateY(-100%)}}@keyframes loadBlock{0%{transform:translateY(100%)}to{transform:translateY(-100%)}}.vut{outline:none;list-style:none;text-decoration:none;padding:8px 10px;margin:0 3px;display:block;box-sizing:border-box;cursor:pointer;font-size:13px;position:relative;transition:all .25s ease;border-radius:3px}.vut.vutton--extraLarge{font-size:1.3rem;padding:12px 15px}.vut.vutton--large{font-size:1.1rem;padding:9.6px 12px}.vut.vutton--small{font-size:.7rem;padding:5.714285714285714px 7.142857142857143px}.vut.vutton--mini{font-size:.5rem;font-weight:700;padding:3.636363636363636px 4.545454545454545px}.vut span{position:relative;z-index:200;display:block}.vut:disabled{opacity:.4;pointer-events:none;user-select:none} \ No newline at end of file diff --git a/dist/vuttons.umd.js b/dist/vuttons.umd.js new file mode 100644 index 0000000..869522d --- /dev/null +++ b/dist/vuttons.umd.js @@ -0,0 +1,3830 @@ +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define([], factory); + else if(typeof exports === 'object') + exports["vuttons"] = factory(); + else + root["vuttons"] = factory(); +})((typeof self !== 'undefined' ? self : this), function() { +return /******/ (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 = "9bf4"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "048e": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("9a60"); +var core = __webpack_require__("e3a0"); +var hide = __webpack_require__("59ee"); +var redefine = __webpack_require__("baca"); +var ctx = __webpack_require__("2eb4"); +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 target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); + var key, own, out, exp; + if (IS_GLOBAL) source = name; + for (key in source) { + // contains in native + own = !IS_FORCED && target && target[key] !== undefined; + // export native or passed + out = (own ? target : source)[key]; + // bind timers to global for call from export context + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; + // extend global + if (target) redefine(target, key, out, type & $export.U); + // export + if (exports[key] != out) hide(exports, key, exp); + if (IS_PROTO && expProto[key] != out) expProto[key] = out; + } +}; +global.core = core; +// 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; + + +/***/ }), + +/***/ "0572": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("9342"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "0578": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("6008"); + +/***/ }), + +/***/ "0666": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("1d2f"); +// 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"); +}; + + +/***/ }), + +/***/ "07e4": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("baee"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; + + +/***/ }), + +/***/ "099f": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("50c4"); +module.exports = function (it) { + return Object(defined(it)); +}; + + +/***/ }), + +/***/ "0bb9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("9a60"); +var has = __webpack_require__("571a"); +var cof = __webpack_require__("ebbd"); +var inheritIfRequired = __webpack_require__("be76"); +var toPrimitive = __webpack_require__("0666"); +var fails = __webpack_require__("c213"); +var gOPN = __webpack_require__("3402").f; +var gOPD = __webpack_require__("0f2e").f; +var dP = __webpack_require__("d528").f; +var $trim = __webpack_require__("7bee").trim; +var NUMBER = 'Number'; +var $Number = global[NUMBER]; +var Base = $Number; +var proto = $Number.prototype; +// Opera ~12 has broken Object#toString +var BROKEN_COF = cof(__webpack_require__("aecc")(proto)) == NUMBER; +var TRIM = 'trim' in String.prototype; + +// 7.1.3 ToNumber(argument) +var toNumber = function (argument) { + var it = toPrimitive(argument, false); + if (typeof it == 'string' && it.length > 2) { + it = TRIM ? it.trim() : $trim(it, 3); + var first = it.charCodeAt(0); + var third, radix, maxCode; + if (first === 43 || first === 45) { + third = it.charCodeAt(2); + if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix + } else if (first === 48) { + switch (it.charCodeAt(1)) { + case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i + case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i + default: return +it; + } + for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) { + code = digits.charCodeAt(i); + // parseInt parses a string to a first unavailable symbol + // but ToNumber should return NaN if a string contains unavailable symbols + if (code < 48 || code > maxCode) return NaN; + } return parseInt(digits, radix); + } + } return +it; +}; + +if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { + $Number = function Number(value) { + var it = arguments.length < 1 ? 0 : value; + var that = this; + return that instanceof $Number + // check on 1..constructor(foo) case + && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER) + ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it); + }; + for (var keys = __webpack_require__("9baa") ? gOPN(Base) : ( + // ES3: + 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + + // ES6 (in case, if modules with ES6 Number statics required before): + 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' + ).split(','), j = 0, key; keys.length > j; j++) { + if (has(Base, key = keys[j]) && !has($Number, key)) { + dP($Number, key, gOPD(Base, key)); + } + } + $Number.prototype = proto; + proto.constructor = $Number; + __webpack_require__("baca")(global, NUMBER, $Number); +} + + +/***/ }), + +/***/ "0d98": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "0dd6": +/***/ (function(module, exports) { + +// document.currentScript polyfill by Adam Miller + +// MIT license + +(function(document){ + var currentScript = "currentScript", + scripts = document.getElementsByTagName('script'); // Live NodeList collection + + // If browser needs currentScript polyfill, add get currentScript() to the document object + if (!(currentScript in document)) { + Object.defineProperty(document, currentScript, { + get: function(){ + + // IE 6-10 supports script readyState + // IE 10+ support stack trace + try { throw new Error(); } + catch (err) { + + // Find the second match for the "at" string to get file src url from stack. + // Specifically works with the format of stack traces in IE. + var i, res = ((/.*at [^\(]*\((.*):.+:.+\)$/ig).exec(err.stack) || [false])[1]; + + // For all scripts on the page, if src matches or if ready state is interactive, return the script tag + for(i in scripts){ + if(scripts[i].src == res || scripts[i].readyState == "interactive"){ + return scripts[i]; + } + } + + // If no match, return null + return null; + } + } + }); + } +})(document); + + +/***/ }), + +/***/ "0e7a": +/***/ (function(module, exports, __webpack_require__) { + +var getKeys = __webpack_require__("98b7"); +var toIObject = __webpack_require__("96da"); +var isEnum = __webpack_require__("45aa").f; +module.exports = function (isEntries) { + return function (it) { + var O = toIObject(it); + var keys = getKeys(O); + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) if (isEnum.call(O, key = keys[i++])) { + result.push(isEntries ? [key, O[key]] : O[key]); + } return result; + }; +}; + + +/***/ }), + +/***/ "0f2e": +/***/ (function(module, exports, __webpack_require__) { + +var pIE = __webpack_require__("45aa"); +var createDesc = __webpack_require__("b7f6"); +var toIObject = __webpack_require__("96da"); +var toPrimitive = __webpack_require__("0666"); +var has = __webpack_require__("571a"); +var IE8_DOM_DEFINE = __webpack_require__("baa3"); +var gOPD = Object.getOwnPropertyDescriptor; + +exports.f = __webpack_require__("9baa") ? 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]); +}; + + +/***/ }), + +/***/ "111d": +/***/ (function(module, exports) { + +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); + + +/***/ }), + +/***/ "1797": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__("571a"); +var toObject = __webpack_require__("099f"); +var IE_PROTO = __webpack_require__("8629")('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; +}; + + +/***/ }), + +/***/ "1a24": +/***/ (function(module, exports, __webpack_require__) { + +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("c887")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "1ab8": +/***/ (function(module, exports, __webpack_require__) { + +var $iterators = __webpack_require__("db1a"); +var getKeys = __webpack_require__("98b7"); +var redefine = __webpack_require__("baca"); +var global = __webpack_require__("9a60"); +var hide = __webpack_require__("59ee"); +var Iterators = __webpack_require__("45bf"); +var wks = __webpack_require__("24aa"); +var ITERATOR = wks('iterator'); +var TO_STRING_TAG = wks('toStringTag'); +var ArrayValues = Iterators.Array; + +var DOMIterables = { + CSSRuleList: true, // TODO: Not spec compliant, should be false. + CSSStyleDeclaration: false, + CSSValueList: false, + ClientRectList: false, + DOMRectList: false, + DOMStringList: false, + DOMTokenList: true, + DataTransferItemList: false, + FileList: false, + HTMLAllCollection: false, + HTMLCollection: false, + HTMLFormElement: false, + HTMLSelectElement: false, + MediaList: true, // TODO: Not spec compliant, should be false. + MimeTypeArray: false, + NamedNodeMap: false, + NodeList: true, + PaintRequestList: false, + Plugin: false, + PluginArray: false, + SVGLengthList: false, + SVGNumberList: false, + SVGPathSegList: false, + SVGPointList: false, + SVGStringList: false, + SVGTransformList: false, + SourceBufferList: false, + StyleSheetList: true, // TODO: Not spec compliant, should be false. + TextTrackCueList: false, + TextTrackList: false, + TouchList: false +}; + +for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { + var NAME = collections[i]; + var explicit = DOMIterables[NAME]; + var Collection = global[NAME]; + var proto = Collection && Collection.prototype; + var key; + if (proto) { + if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); + if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); + Iterators[NAME] = ArrayValues; + if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); + } +} + + +/***/ }), + +/***/ "1cd9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $export = __webpack_require__("048e"); +var $forEach = __webpack_require__("7b53")(0); +var STRICT = __webpack_require__("ccdc")([].forEach, true); + +$export($export.P + $export.F * !STRICT, 'Array', { + // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) + forEach: function forEach(callbackfn /* , thisArg */) { + return $forEach(this, callbackfn, arguments[1]); + } +}); + + +/***/ }), + +/***/ "1d2f": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; + + +/***/ }), + +/***/ "1d88": +/***/ (function(module, exports) { + +exports.f = {}.propertyIsEnumerable; + + +/***/ }), + +/***/ "2004": +/***/ (function(module, exports) { + +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; + + +/***/ }), + +/***/ "2104": +/***/ (function(module, exports, __webpack_require__) { + +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("686a"); +var toLength = __webpack_require__("7bd1"); +var toAbsoluteIndex = __webpack_require__("4d43"); +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; + }; +}; + + +/***/ }), + +/***/ "218d": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("5cbf"); +var core = __webpack_require__("8588"); +var LIBRARY = __webpack_require__("5718"); +var wksExt = __webpack_require__("4a37"); +var defineProperty = __webpack_require__("691b").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) }); +}; + + +/***/ }), + +/***/ "2436": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d528"); +var anObject = __webpack_require__("3fa7"); +var getKeys = __webpack_require__("98b7"); + +module.exports = __webpack_require__("9baa") ? 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; +}; + + +/***/ }), + +/***/ "24aa": +/***/ (function(module, exports, __webpack_require__) { + +var store = __webpack_require__("6ae5")('wks'); +var uid = __webpack_require__("329e"); +var Symbol = __webpack_require__("9a60").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; + + +/***/ }), + +/***/ "2583": +/***/ (function(module, exports, __webpack_require__) { + +// 22.1.3.31 Array.prototype[@@unscopables] +var UNSCOPABLES = __webpack_require__("24aa")('unscopables'); +var ArrayProto = Array.prototype; +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("59ee")(ArrayProto, UNSCOPABLES, {}); +module.exports = function (key) { + ArrayProto[UNSCOPABLES][key] = true; +}; + + +/***/ }), + +/***/ "26f8": +/***/ (function(module, exports, __webpack_require__) { + +// getting tag from 19.1.3.6 Object.prototype.toString() +var cof = __webpack_require__("ebbd"); +var TAG = __webpack_require__("24aa")('toStringTag'); +// ES3 wrong here +var ARG = cof(function () { return arguments; }()) == 'Arguments'; + +// fallback for IE11 Script Access Denied error +var tryGet = function (it, key) { + try { + return it[key]; + } catch (e) { /* empty */ } +}; + +module.exports = function (it) { + var O, T, B; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T + // builtinTag case + : ARG ? cof(O) + // ES3 arguments fallback + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; +}; + + +/***/ }), + +/***/ "2779": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("691b"); +var createDesc = __webpack_require__("d457"); +module.exports = __webpack_require__("1a24") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "2882": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("65ba"); +var enumBugKeys = __webpack_require__("111d"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "2a3d": +/***/ (function(module, exports, __webpack_require__) { + +var pIE = __webpack_require__("1d88"); +var createDesc = __webpack_require__("d457"); +var toIObject = __webpack_require__("686a"); +var toPrimitive = __webpack_require__("78f3"); +var has = __webpack_require__("af0a"); +var IE8_DOM_DEFINE = __webpack_require__("5e52"); +var gOPD = Object.getOwnPropertyDescriptor; + +exports.f = __webpack_require__("1a24") ? 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]); +}; + + +/***/ }), + +/***/ "2eb4": +/***/ (function(module, exports, __webpack_require__) { + +// optional / simple context binding +var aFunction = __webpack_require__("2004"); +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); + }; +}; + + +/***/ }), + +/***/ "2f50": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var regexpExec = __webpack_require__("adaf"); +__webpack_require__("048e")({ + target: 'RegExp', + proto: true, + forced: regexpExec !== /./.exec +}, { + exec: regexpExec +}); + + +/***/ }), + +/***/ "329e": +/***/ (function(module, exports) { + +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +}; + + +/***/ }), + +/***/ "32bc": +/***/ (function(module, exports, __webpack_require__) { + +var META = __webpack_require__("6dbf")('meta'); +var isObject = __webpack_require__("9342"); +var has = __webpack_require__("af0a"); +var setDesc = __webpack_require__("691b").f; +var id = 0; +var isExtensible = Object.isExtensible || function () { + return true; +}; +var FREEZE = !__webpack_require__("c887")(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 +}; + + +/***/ }), + +/***/ "3402": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) +var $keys = __webpack_require__("dcf5"); +var hiddenKeys = __webpack_require__("0d98").concat('length', 'prototype'); + +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return $keys(O, hiddenKeys); +}; + + +/***/ }), + +/***/ "341c": +/***/ (function(module, exports, __webpack_require__) { + +// 7.2.8 IsRegExp(argument) +var isObject = __webpack_require__("1d2f"); +var cof = __webpack_require__("ebbd"); +var MATCH = __webpack_require__("24aa")('match'); +module.exports = function (it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); +}; + + +/***/ }), + +/***/ "356a": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d528").f; +var FProto = Function.prototype; +var nameRE = /^\s*function ([^ (]*)/; +var NAME = 'name'; + +// 19.2.4.2 name +NAME in FProto || __webpack_require__("9baa") && dP(FProto, NAME, { + configurable: true, + get: function () { + try { + return ('' + this).match(nameRE)[1]; + } catch (e) { + return ''; + } + } +}); + + +/***/ }), + +/***/ "38b8": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("9c87"); + +/***/ }), + +/***/ "38fd": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.15 ToLength +var toInteger = __webpack_require__("d35e"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "3db9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__("aecc"); +var descriptor = __webpack_require__("b7f6"); +var setToStringTag = __webpack_require__("a602"); +var IteratorPrototype = {}; + +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__("59ee")(IteratorPrototype, __webpack_require__("24aa")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; + + +/***/ }), + +/***/ "3fa7": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("1d2f"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + +/***/ }), + +/***/ "41f3": +/***/ (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; +}; + + +/***/ }), + +/***/ "45aa": +/***/ (function(module, exports) { + +exports.f = {}.propertyIsEnumerable; + + +/***/ }), + +/***/ "45bf": +/***/ (function(module, exports) { + +module.exports = {}; + + +/***/ }), + +/***/ "45dc": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// 21.2.5.3 get RegExp.prototype.flags +var anObject = __webpack_require__("3fa7"); +module.exports = function () { + var that = anObject(this); + var result = ''; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.unicode) result += 'u'; + if (that.sticky) result += 'y'; + return result; +}; + + +/***/ }), + +/***/ "4a37": +/***/ (function(module, exports, __webpack_require__) { + +exports.f = __webpack_require__("67e8"); + + +/***/ }), + +/***/ "4d43": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("b6bb"); +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); +}; + + +/***/ }), + +/***/ "4eb1": +/***/ (function(module, exports, __webpack_require__) { + +// 7.3.20 SpeciesConstructor(O, defaultConstructor) +var anObject = __webpack_require__("3fa7"); +var aFunction = __webpack_require__("2004"); +var SPECIES = __webpack_require__("24aa")('species'); +module.exports = function (O, D) { + var C = anObject(O).constructor; + var S; + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); +}; + + +/***/ }), + +/***/ "50c4": +/***/ (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; +}; + + +/***/ }), + +/***/ "5102": +/***/ (function(module, exports, __webpack_require__) { + +// 7.2.2 IsArray(argument) +var cof = __webpack_require__("baee"); +module.exports = Array.isArray || function isArray(arg) { + return cof(arg) == 'Array'; +}; + + +/***/ }), + +/***/ "5718": +/***/ (function(module, exports) { + +module.exports = true; + + +/***/ }), + +/***/ "571a": +/***/ (function(module, exports) { + +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); +}; + + +/***/ }), + +/***/ "59ee": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("d528"); +var createDesc = __webpack_require__("b7f6"); +module.exports = __webpack_require__("9baa") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "5cbf": +/***/ (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 + + +/***/ }), + +/***/ "5d32": +/***/ (function(module, exports, __webpack_require__) { + +// most Object methods by ES6 should accept primitives +var $export = __webpack_require__("a6b7"); +var core = __webpack_require__("8588"); +var fails = __webpack_require__("c887"); +module.exports = function (KEY, exec) { + var fn = (core.Object || {})[KEY] || Object[KEY]; + var exp = {}; + exp[KEY] = exec(fn); + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); +}; + + +/***/ }), + +/***/ "5e52": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = !__webpack_require__("1a24") && !__webpack_require__("c887")(function () { + return Object.defineProperty(__webpack_require__("b1ea")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "6008": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("616d"); +var $Object = __webpack_require__("8588").Object; +module.exports = function defineProperty(it, key, desc) { + return $Object.defineProperty(it, key, desc); +}; + + +/***/ }), + +/***/ "616d": +/***/ (function(module, exports, __webpack_require__) { + +var $export = __webpack_require__("a6b7"); +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) +$export($export.S + $export.F * !__webpack_require__("1a24"), 'Object', { defineProperty: __webpack_require__("691b").f }); + + +/***/ }), + +/***/ "642c": +/***/ (function(module, exports, __webpack_require__) { + +var def = __webpack_require__("691b").f; +var has = __webpack_require__("af0a"); +var TAG = __webpack_require__("67e8")('toStringTag'); + +module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); +}; + + +/***/ }), + +/***/ "65ba": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("af0a"); +var toIObject = __webpack_require__("686a"); +var arrayIndexOf = __webpack_require__("2104")(false); +var IE_PROTO = __webpack_require__("7c47")('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; +}; + + +/***/ }), + +/***/ "67e8": +/***/ (function(module, exports, __webpack_require__) { + +var store = __webpack_require__("fdfa")('wks'); +var uid = __webpack_require__("6dbf"); +var Symbol = __webpack_require__("5cbf").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; + + +/***/ }), + +/***/ "686a": +/***/ (function(module, exports, __webpack_require__) { + +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("07e4"); +var defined = __webpack_require__("41f3"); +module.exports = function (it) { + return IObject(defined(it)); +}; + + +/***/ }), + +/***/ "691b": +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__("0572"); +var IE8_DOM_DEFINE = __webpack_require__("5e52"); +var toPrimitive = __webpack_require__("78f3"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("1a24") ? 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; +}; + + +/***/ }), + +/***/ "6ae5": +/***/ (function(module, exports, __webpack_require__) { + +var core = __webpack_require__("e3a0"); +var global = __webpack_require__("9a60"); +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__("d3ae") ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' +}); + + +/***/ }), + +/***/ "6dbf": +/***/ (function(module, exports) { + +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +}; + + +/***/ }), + +/***/ "6e24": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("1d2f"); +var isArray = __webpack_require__("e2c8"); +var SPECIES = __webpack_require__("24aa")('species'); + +module.exports = function (original) { + var C; + if (isArray(original)) { + C = original.constructor; + // cross-realm fallback + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; + if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? Array : C; +}; + + +/***/ }), + +/***/ "730c": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("d35e"); +var defined = __webpack_require__("50c4"); +// 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; + }; +}; + + +/***/ }), + +/***/ "7527": +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__("d35e"); +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); +}; + + +/***/ }), + +/***/ "78c7": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var at = __webpack_require__("730c")(true); + + // `AdvanceStringIndex` abstract operation +// https://tc39.github.io/ecma262/#sec-advancestringindex +module.exports = function (S, index, unicode) { + return index + (unicode ? at(S, index).length : 1); +}; + + +/***/ }), + +/***/ "78f3": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__("9342"); +// 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"); +}; + + +/***/ }), + +/***/ "7b53": +/***/ (function(module, exports, __webpack_require__) { + +// 0 -> Array#forEach +// 1 -> Array#map +// 2 -> Array#filter +// 3 -> Array#some +// 4 -> Array#every +// 5 -> Array#find +// 6 -> Array#findIndex +var ctx = __webpack_require__("2eb4"); +var IObject = __webpack_require__("b1b7"); +var toObject = __webpack_require__("099f"); +var toLength = __webpack_require__("38fd"); +var asc = __webpack_require__("dede"); +module.exports = function (TYPE, $create) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + var create = $create || asc; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IObject(O); + var f = ctx(callbackfn, that, 3); + var length = toLength(self.length); + var index = 0; + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; + var val, res; + for (;length > index; index++) if (NO_HOLES || index in self) { + val = self[index]; + res = f(val, index, O); + if (TYPE) { + if (IS_MAP) result[index] = res; // map + else if (res) switch (TYPE) { + case 3: return true; // some + case 5: return val; // find + case 6: return index; // findIndex + case 2: result.push(val); // filter + } else if (IS_EVERY) return false; // every + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; + }; +}; + + +/***/ }), + +/***/ "7bd1": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.15 ToLength +var toInteger = __webpack_require__("b6bb"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "7bee": +/***/ (function(module, exports, __webpack_require__) { + +var $export = __webpack_require__("048e"); +var defined = __webpack_require__("50c4"); +var fails = __webpack_require__("c213"); +var spaces = __webpack_require__("a0f5"); +var space = '[' + spaces + ']'; +var non = '\u200b\u0085'; +var ltrim = RegExp('^' + space + space + '*'); +var rtrim = RegExp(space + space + '*$'); + +var exporter = function (KEY, exec, ALIAS) { + var exp = {}; + var FORCE = fails(function () { + return !!spaces[KEY]() || non[KEY]() != non; + }); + var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; + if (ALIAS) exp[ALIAS] = fn; + $export($export.P + $export.F * FORCE, 'String', exp); +}; + +// 1 -> String#trimLeft +// 2 -> String#trimRight +// 3 -> String#trim +var trim = exporter.trim = function (string, TYPE) { + string = String(defined(string)); + if (TYPE & 1) string = string.replace(ltrim, ''); + if (TYPE & 2) string = string.replace(rtrim, ''); + return string; +}; + +module.exports = exporter; + + +/***/ }), + +/***/ "7c47": +/***/ (function(module, exports, __webpack_require__) { + +var shared = __webpack_require__("fdfa")('keys'); +var uid = __webpack_require__("6dbf"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); +}; + + +/***/ }), + +/***/ "801b": +/***/ (function(module, exports, __webpack_require__) { + +// all enumerable object keys, includes symbols +var getKeys = __webpack_require__("2882"); +var gOPS = __webpack_require__("b883"); +var pIE = __webpack_require__("1d88"); +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; +}; + + +/***/ }), + +/***/ "8588": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.6.5' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "8629": +/***/ (function(module, exports, __webpack_require__) { + +var shared = __webpack_require__("6ae5")('keys'); +var uid = __webpack_require__("329e"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); +}; + + +/***/ }), + +/***/ "8b23": +/***/ (function(module, exports, __webpack_require__) { + +// https://github.com/tc39/proposal-object-values-entries +var $export = __webpack_require__("048e"); +var $values = __webpack_require__("0e7a")(false); + +$export($export.S, 'Object', { + values: function values(it) { + return $values(it); + } +}); + + +/***/ }), + +/***/ "8c9d": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("1d2f"); +var document = __webpack_require__("9a60").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) : {}; +}; + + +/***/ }), + +/***/ "91dc": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("b992"); +module.exports = __webpack_require__("8588").Object.getOwnPropertySymbols; + + +/***/ }), + +/***/ "9342": +/***/ (function(module, exports) { + +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; + + +/***/ }), + +/***/ "96da": +/***/ (function(module, exports, __webpack_require__) { + +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__("b1b7"); +var defined = __webpack_require__("50c4"); +module.exports = function (it) { + return IObject(defined(it)); +}; + + +/***/ }), + +/***/ "9884": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var LIBRARY = __webpack_require__("d3ae"); +var $export = __webpack_require__("048e"); +var redefine = __webpack_require__("baca"); +var hide = __webpack_require__("59ee"); +var Iterators = __webpack_require__("45bf"); +var $iterCreate = __webpack_require__("3db9"); +var setToStringTag = __webpack_require__("a602"); +var getPrototypeOf = __webpack_require__("1797"); +var ITERATOR = __webpack_require__("24aa")('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; +}; + + +/***/ }), + +/***/ "98b7": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__("dcf5"); +var enumBugKeys = __webpack_require__("0d98"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "9a60": +/***/ (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 + + +/***/ }), + +/***/ "9baa": +/***/ (function(module, exports, __webpack_require__) { + +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__("c213")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "9bc1": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("91dc"); + +/***/ }), + +/***/ "9bf4": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +var buttons_namespaceObject = {}; +__webpack_require__.r(buttons_namespaceObject); +__webpack_require__.d(buttons_namespaceObject, "Vutton", function() { return Vutton; }); + +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js +// This file is imported into lib/wc client bundles. + +if (typeof window !== 'undefined') { + if (true) { + __webpack_require__("0dd6") + } + + var setPublicPath_i + if ((setPublicPath_i = window.document.currentScript) && (setPublicPath_i = setPublicPath_i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) { + __webpack_require__.p = setPublicPath_i[1] // eslint-disable-line + } +} + +// Indicate to webpack that this file can be concatenated +/* harmony default export */ var setPublicPath = (null); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.array.iterator.js +var es6_array_iterator = __webpack_require__("db1a"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es7.object.values.js +var es7_object_values = __webpack_require__("8b23"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/web.dom.iterable.js +var web_dom_iterable = __webpack_require__("1ab8"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.array.for-each.js +var es6_array_for_each = __webpack_require__("1cd9"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.function.name.js +var es6_function_name = __webpack_require__("356a"); + +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"02909886-vue-loader-template"}!C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/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/buttons/Vutton/component.vue?vue&type=template&id=8e50676a& +var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g(_vm._b({ref:"button",staticClass:"vut vutton",class:_vm.Class},'button',_vm.$props,false),_vm.listeners),[_c('span',[_vm._t("default")],2),_c('loading'),_c('submit')],1)} +var staticRenderFns = [] + + +// CONCATENATED MODULE: ./src/buttons/Vutton/component.vue?vue&type=template&id=8e50676a& + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js +var get_own_property_descriptor = __webpack_require__("38b8"); +var get_own_property_descriptor_default = /*#__PURE__*/__webpack_require__.n(get_own_property_descriptor); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-symbols.js +var get_own_property_symbols = __webpack_require__("9bc1"); +var get_own_property_symbols_default = /*#__PURE__*/__webpack_require__.n(get_own_property_symbols); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/core-js/object/keys.js +var keys = __webpack_require__("a57b"); +var keys_default = /*#__PURE__*/__webpack_require__.n(keys); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/core-js/object/define-property.js +var define_property = __webpack_require__("0578"); +var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property); + +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js + +function _defineProperty(obj, key, value) { + if (key in obj) { + define_property_default()(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@babel/runtime-corejs2/helpers/esm/objectSpread.js + + + + +function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + var ownKeys = keys_default()(source); + + if (typeof get_own_property_symbols_default.a === 'function') { + ownKeys = ownKeys.concat(get_own_property_symbols_default()(source).filter(function (sym) { + return get_own_property_descriptor_default()(source, sym).enumerable; + })); + } + + ownKeys.forEach(function (key) { + _defineProperty(target, key, source[key]); + }); + } + + return target; +} +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.number.constructor.js +var es6_number_constructor = __webpack_require__("0bb9"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.regexp.split.js +var es6_regexp_split = __webpack_require__("ad0e"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.regexp.replace.js +var es6_regexp_replace = __webpack_require__("dad7"); + +// EXTERNAL MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es7.array.includes.js +var es7_array_includes = __webpack_require__("d3fe"); + +// CONCATENATED MODULE: ./src/util/functions.js + + + + +var setVar = function setVar(propertyName, value, el) { + if (!el) { + document.documentElement.style.setProperty("--vut-".concat(propertyName), value); + } else { + console.log("--vut-".concat(propertyName), value); + el.style.setProperty("--vut-".concat(propertyName), value); + } +}; + +var setColor = function setColor(colorName, color, el) { + function isColor(color) { + var vutColors = ['primary', 'secondary', 'success', 'danger', 'warning', 'dark', 'light']; + return vutColors.includes(color); + } + + function hexToRgb(hex) { + var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; + hex = hex.replace(shorthandRegex, function (m, r, g, b) { + return r + r + g + g + b + b; + }); + var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); + return result ? { + r: parseInt(result[1], 16), + g: parseInt(result[2], 16), + b: parseInt(result[3], 16) + } : null; + } + + var isRGB = /^(rgb|rgba)/.test(color); + var isHEX = /^(#)/.test(color); + var newColor; + + if (isRGB) { + var arrayColor = color.replace(/[rgba()]/g, '').split(','); + newColor = "".concat(arrayColor[0], ",").concat(arrayColor[1], ",").concat(arrayColor[2]); + setVar(colorName, newColor, el); + } else if (isHEX) { + var rgb = hexToRgb(color); + newColor = "".concat(rgb.r, ",").concat(rgb.g, ",").concat(rgb.b); + setVar(colorName, newColor, el); + } else if (isColor(color)) { + var style = getComputedStyle(el); + newColor = style.getPropertyValue('--vut-' + color); + setVar(colorName, newColor, el); + } +}; + + +// CONCATENATED MODULE: ./src/util/base.js + + + +/* harmony default export */ var base = ({ + inheritAttrs: false, + props: { + color: { + default: 'primary', + type: String + }, + type: { + default: 1, + type: Number | String + }, + size: { + type: String, + default: null + }, + loading: { + type: Boolean, + default: false + }, + disabled: { + type: Boolean, + default: false + }, + active: { + type: Boolean, + default: false + }, + submit: { + type: Boolean, + default: false + }, + to: { + default: false, + type: String | Object + }, + href: { + default: '', + type: String | Object + }, + blank: { + default: false, + type: Boolean + } + }, + computed: { + Class: function Class() { + return ["vutton--".concat(this.type), "vutton--".concat(this.size), { + 'vutton__active': this.active + }, { + 'vutton__loading': this.loading + }, { + 'vutton__submit': this.submit + }]; + }, + listeners: function listeners() { + var _this = this; + + return _objectSpread({}, this.$listeners, { + click: function click(event) { + return _this.clickx(event); + } + }); + } + }, + watch: { + color: function color() { + setColor('component', this.color, this.$refs.button); + } + }, + mounted: function mounted() { + setColor('component', this.color, this.$refs.button); + console.log(this.color); + }, + methods: { + clickx: function clickx() { + this.$emit('click', event); + + if (this.to) { + this.routerPush(); + } else if (this.href) { + this.open(); + } + }, + routerPush: function routerPush() { + this.$router.push(this.to); + }, + open: function open() { + this.blank ? window.open(this.href) : window.location.href = this.href; + } + } +}); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"02909886-vue-loader-template"}!C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/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/buttons/loading/loading.vue?vue&type=template&id=39bd9d04& +var loadingvue_type_template_id_39bd9d04_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)} +var loadingvue_type_template_id_39bd9d04_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"vut-loading"},[_c('div',{staticClass:"con-load"},[_c('div',{staticClass:"load"}),_c('div',{staticClass:"load2"})])])}] + + +// CONCATENATED MODULE: ./src/buttons/loading/loading.vue?vue&type=template&id=39bd9d04& + +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/buttons/loading/loading.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +/* harmony default export */ var loadingvue_type_script_lang_js_ = ({}); +// CONCATENATED MODULE: ./src/buttons/loading/loading.vue?vue&type=script&lang=js& + /* harmony default export */ var loading_loadingvue_type_script_lang_js_ = (loadingvue_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/buttons/loading/loading.vue + + + + + +/* normalize component */ + +var component = normalizeComponent( + loading_loadingvue_type_script_lang_js_, + loadingvue_type_template_id_39bd9d04_render, + loadingvue_type_template_id_39bd9d04_staticRenderFns, + false, + null, + null, + null + +) + +/* harmony default export */ var loading = (component.exports); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"02909886-vue-loader-template"}!C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/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/buttons/submit/submit.vue?vue&type=template&id=757a14be& +var submitvue_type_template_id_757a14be_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"vut-submit"},[_c('div',{staticClass:"con-submit"},[_c('div',{staticClass:"submit-icon"},[_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 26 26","xmlns:xlink":"http://www.w3.org/1999/xlink","enable-background":"new 0 0 26 26"}},[_c('g',[_c('path',{attrs:{"d":"m25,17h-2c-0.6,0-1,0.4-1,1v2.5c0,0.3-0.2,0.5-0.5,0.5h-17c-0.3,0-0.5-0.2-0.5-0.5v-2.5c0-0.6-0.4-1-1-1h-2c-0.6,0-1,0.4-1,1v6c0,0.6 0.4,1 1,1h24c0.6,0 1-0.4 1-1v-6c0-0.6-0.4-1-1-1z"}}),_c('path',{attrs:{"d":"M7.7,10.1c0.2,0.2,0.4,0.3,0.7,0.3c0.3,0,0.5-0.1,0.7-0.3l1-1C10.4,8.8,11,9,11,9.5v6.6c0,0.6,0.4,1,1,1h2c0.6,0,1-0.4,1-1 V9.5c0-0.4,0.5-0.7,0.9-0.4l1,1c0.2,0.2,0.4,0.3,0.7,0.3c0.3,0,0.5-0.1,0.7-0.3l1.4-1.4C19.9,8.5,20,8.3,20,8s-0.1-0.5-0.3-0.7 l-6-6C13.5,1.1,13.2,1,13,1s-0.5,0.1-0.7,0.3l-6,6C6.1,7.5,6,7.7,6,8s0.1,0.5,0.3,0.7L7.7,10.1z"}})])])])])])} +var submitvue_type_template_id_757a14be_staticRenderFns = [] + + +// CONCATENATED MODULE: ./src/buttons/submit/submit.vue?vue&type=template&id=757a14be& + +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/buttons/submit/submit.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +/* harmony default export */ var submitvue_type_script_lang_js_ = ({}); +// CONCATENATED MODULE: ./src/buttons/submit/submit.vue?vue&type=script&lang=js& + /* harmony default export */ var submit_submitvue_type_script_lang_js_ = (submitvue_type_script_lang_js_); +// CONCATENATED MODULE: ./src/buttons/submit/submit.vue + + + + + +/* normalize component */ + +var submit_component = normalizeComponent( + submit_submitvue_type_script_lang_js_, + submitvue_type_template_id_757a14be_render, + submitvue_type_template_id_757a14be_staticRenderFns, + false, + null, + null, + null + +) + +/* harmony default export */ var submit_submit = (submit_component.exports); +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/buttons/Vutton/component.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + + +/* harmony default export */ var componentvue_type_script_lang_js_ = ({ + name: 'Vutton', + components: { + loading: loading, + submit: submit_submit + }, + mixins: [base] +}); +// CONCATENATED MODULE: ./src/buttons/Vutton/component.vue?vue&type=script&lang=js& + /* harmony default export */ var Vutton_componentvue_type_script_lang_js_ = (componentvue_type_script_lang_js_); +// CONCATENATED MODULE: ./src/buttons/Vutton/component.vue + + + + + +/* normalize component */ + +var component_component = normalizeComponent( + Vutton_componentvue_type_script_lang_js_, + render, + staticRenderFns, + false, + null, + null, + null + +) + +/* harmony default export */ var Vutton_component = (component_component.exports); +// CONCATENATED MODULE: ./src/buttons/Vutton/index.js + + +/* harmony default export */ var Vutton = (function (Vue) { + Vue.component(Vutton_component.name, Vutton_component); +}); +// CONCATENATED MODULE: ./src/buttons/index.js + +// EXTERNAL MODULE: ./src/style/vuttons.styl +var vuttons = __webpack_require__("c082"); + +// CONCATENATED MODULE: ./src/index.js + + + + + + // import './fonts/font/flaticon.css' + +var src_install = function install(Vue, options) { + Object.values(buttons_namespaceObject).forEach(function (vsComponent) { + Vue.use(vsComponent); + }); +}; + +if (typeof window !== 'undefined' && window.Vue) { + src_install(window.Vue); +} + +/* harmony default export */ var src = (src_install); // export { default as Vutton } from './buttons/Vutton' +// CONCATENATED MODULE: C:/Users/DELL/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js + + +/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src); + + + +/***/ }), + +/***/ "9c87": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("f7d0"); +var $Object = __webpack_require__("8588").Object; +module.exports = function getOwnPropertyDescriptor(it, key) { + return $Object.getOwnPropertyDescriptor(it, key); +}; + + +/***/ }), + +/***/ "9f46": +/***/ (function(module, exports, __webpack_require__) { + +var document = __webpack_require__("5cbf").document; +module.exports = document && document.documentElement; + + +/***/ }), + +/***/ "a0f5": +/***/ (function(module, exports) { + +module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; + + +/***/ }), + +/***/ "a57b": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("b0cb"); + +/***/ }), + +/***/ "a5d6": +/***/ (function(module, exports, __webpack_require__) { + +// optional / simple context binding +var aFunction = __webpack_require__("ea05"); +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); + }; +}; + + +/***/ }), + +/***/ "a602": +/***/ (function(module, exports, __webpack_require__) { + +var def = __webpack_require__("d528").f; +var has = __webpack_require__("571a"); +var TAG = __webpack_require__("24aa")('toStringTag'); + +module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); +}; + + +/***/ }), + +/***/ "a6b7": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("5cbf"); +var core = __webpack_require__("8588"); +var ctx = __webpack_require__("a5d6"); +var hide = __webpack_require__("2779"); +var has = __webpack_require__("af0a"); +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; + + +/***/ }), + +/***/ "ab0c": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window +var toIObject = __webpack_require__("686a"); +var gOPN = __webpack_require__("cd16").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)); +}; + + +/***/ }), + +/***/ "ad0e": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var isRegExp = __webpack_require__("341c"); +var anObject = __webpack_require__("3fa7"); +var speciesConstructor = __webpack_require__("4eb1"); +var advanceStringIndex = __webpack_require__("78c7"); +var toLength = __webpack_require__("38fd"); +var callRegExpExec = __webpack_require__("c829"); +var regexpExec = __webpack_require__("adaf"); +var fails = __webpack_require__("c213"); +var $min = Math.min; +var $push = [].push; +var $SPLIT = 'split'; +var LENGTH = 'length'; +var LAST_INDEX = 'lastIndex'; +var MAX_UINT32 = 0xffffffff; + +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); + +// @@split logic +__webpack_require__("b905")('split', 2, function (defined, SPLIT, $split, maybeCallNative) { + var internalSplit; + if ( + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || + '.'[$SPLIT](/()()/)[LENGTH] > 1 || + ''[$SPLIT](/.?/)[LENGTH] + ) { + // based on es5-shim implementation, need to rework it + internalSplit = function (separator, limit) { + var string = String(this); + if (separator === undefined && limit === 0) return []; + // If `separator` is not a regex, use native split + if (!isRegExp(separator)) return $split.call(string, separator, limit); + var output = []; + var flags = (separator.ignoreCase ? 'i' : '') + + (separator.multiline ? 'm' : '') + + (separator.unicode ? 'u' : '') + + (separator.sticky ? 'y' : ''); + var lastLastIndex = 0; + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; + // Make `global` and avoid `lastIndex` issues by working with a copy + var separatorCopy = new RegExp(separator.source, flags + 'g'); + var match, lastIndex, lastLength; + while (match = regexpExec.call(separatorCopy, string)) { + lastIndex = separatorCopy[LAST_INDEX]; + if (lastIndex > lastLastIndex) { + output.push(string.slice(lastLastIndex, match.index)); + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); + lastLength = match[0][LENGTH]; + lastLastIndex = lastIndex; + if (output[LENGTH] >= splitLimit) break; + } + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop + } + if (lastLastIndex === string[LENGTH]) { + if (lastLength || !separatorCopy.test('')) output.push(''); + } else output.push(string.slice(lastLastIndex)); + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; + }; + // Chakra, V8 + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { + internalSplit = function (separator, limit) { + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); + }; + } else { + internalSplit = $split; + } + + return [ + // `String.prototype.split` method + // https://tc39.github.io/ecma262/#sec-string.prototype.split + function split(separator, limit) { + var O = defined(this); + var splitter = separator == undefined ? undefined : separator[SPLIT]; + return splitter !== undefined + ? splitter.call(separator, O, limit) + : internalSplit.call(String(O), separator, limit); + }, + // `RegExp.prototype[@@split]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split + // + // NOTE: This cannot be properly polyfilled in engines that don't support + // the 'y' flag. + function (regexp, limit) { + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); + if (res.done) return res.value; + + var rx = anObject(regexp); + var S = String(this); + var C = speciesConstructor(rx, RegExp); + + var unicodeMatching = rx.unicode; + var flags = (rx.ignoreCase ? 'i' : '') + + (rx.multiline ? 'm' : '') + + (rx.unicode ? 'u' : '') + + (SUPPORTS_Y ? 'y' : 'g'); + + // ^(? + rx + ) is needed, in combination with some S slicing, to + // simulate the 'y' flag. + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; + var p = 0; + var q = 0; + var A = []; + while (q < S.length) { + splitter.lastIndex = SUPPORTS_Y ? q : 0; + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); + var e; + if ( + z === null || + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p + ) { + q = advanceStringIndex(S, q, unicodeMatching); + } else { + A.push(S.slice(p, q)); + if (A.length === lim) return A; + for (var i = 1; i <= z.length - 1; i++) { + A.push(z[i]); + if (A.length === lim) return A; + } + q = p = e; + } + } + A.push(S.slice(p)); + return A; + } + ]; +}); + + +/***/ }), + +/***/ "adaf": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var regexpFlags = __webpack_require__("45dc"); + +var nativeExec = RegExp.prototype.exec; +// This always refers to the native implementation, because the +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, +// which loads this file before patching the method. +var nativeReplace = String.prototype.replace; + +var patchedExec = nativeExec; + +var LAST_INDEX = 'lastIndex'; + +var UPDATES_LAST_INDEX_WRONG = (function () { + var re1 = /a/, + re2 = /b*/g; + nativeExec.call(re1, 'a'); + nativeExec.call(re2, 'a'); + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; +})(); + +// nonparticipating capturing group, copied from es5-shim's String#split patch. +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; + +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; + +if (PATCH) { + patchedExec = function exec(str) { + var re = this; + var lastIndex, reCopy, match, i; + + if (NPCG_INCLUDED) { + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); + } + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; + + match = nativeExec.call(re, str); + + if (UPDATES_LAST_INDEX_WRONG && match) { + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; + } + if (NPCG_INCLUDED && match && match.length > 1) { + // Fix browsers whose `exec` methods don't consistently return `undefined` + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ + // eslint-disable-next-line no-loop-func + nativeReplace.call(match[0], reCopy, function () { + for (i = 1; i < arguments.length - 2; i++) { + if (arguments[i] === undefined) match[i] = undefined; + } + }); + } + + return match; + }; +} + +module.exports = patchedExec; + + +/***/ }), + +/***/ "adbe": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +var anObject = __webpack_require__("0572"); +var dPs = __webpack_require__("ebdc"); +var enumBugKeys = __webpack_require__("111d"); +var IE_PROTO = __webpack_require__("7c47")('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__("b1ea")('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; + iframe.style.display = 'none'; + __webpack_require__("9f46").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); +}; + + +/***/ }), + +/***/ "adfd": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("2779"); + + +/***/ }), + +/***/ "aeae": +/***/ (function(module, exports, __webpack_require__) { + +// Works with __proto__ only. Old v8 can't work with null proto objects. +/* eslint-disable no-proto */ +var isObject = __webpack_require__("1d2f"); +var anObject = __webpack_require__("3fa7"); +var check = function (O, proto) { + anObject(O); + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); +}; +module.exports = { + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line + function (test, buggy, set) { + try { + set = __webpack_require__("2eb4")(Function.call, __webpack_require__("0f2e").f(Object.prototype, '__proto__').set, 2); + set(test, []); + buggy = !(test instanceof Array); + } catch (e) { buggy = true; } + return function setPrototypeOf(O, proto) { + check(O, proto); + if (buggy) O.__proto__ = proto; + else set(O, proto); + return O; + }; + }({}, false) : undefined), + check: check +}; + + +/***/ }), + +/***/ "aecc": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +var anObject = __webpack_require__("3fa7"); +var dPs = __webpack_require__("2436"); +var enumBugKeys = __webpack_require__("0d98"); +var IE_PROTO = __webpack_require__("8629")('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__("8c9d")('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; + iframe.style.display = 'none'; + __webpack_require__("c20c").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); +}; + + +/***/ }), + +/***/ "af0a": +/***/ (function(module, exports) { + +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); +}; + + +/***/ }), + +/***/ "b0cb": +/***/ (function(module, exports, __webpack_require__) { + +__webpack_require__("bdb9"); +module.exports = __webpack_require__("8588").Object.keys; + + +/***/ }), + +/***/ "b1b7": +/***/ (function(module, exports, __webpack_require__) { + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__("ebbd"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; + + +/***/ }), + +/***/ "b1ea": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("9342"); +var document = __webpack_require__("5cbf").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) : {}; +}; + + +/***/ }), + +/***/ "b6bb": +/***/ (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); +}; + + +/***/ }), + +/***/ "b7f6": +/***/ (function(module, exports) { + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "b883": +/***/ (function(module, exports) { + +exports.f = Object.getOwnPropertySymbols; + + +/***/ }), + +/***/ "b905": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +__webpack_require__("2f50"); +var redefine = __webpack_require__("baca"); +var hide = __webpack_require__("59ee"); +var fails = __webpack_require__("c213"); +var defined = __webpack_require__("50c4"); +var wks = __webpack_require__("24aa"); +var regexpExec = __webpack_require__("adaf"); + +var SPECIES = wks('species'); + +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + // #replace needs built-in support for named groups. + // #match works fine because it just return the exec results, even if it has + // a "grops" property. + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + return ''.replace(re, '$') !== '7'; +}); + +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec + var re = /(?:)/; + var originalExec = re.exec; + re.exec = function () { return originalExec.apply(this, arguments); }; + var result = 'ab'.split(re); + return result.length === 2 && result[0] === 'a' && result[1] === 'b'; +})(); + +module.exports = function (KEY, length, exec) { + var SYMBOL = wks(KEY); + + var DELEGATES_TO_SYMBOL = !fails(function () { + // String methods call symbol-named RegEp methods + var O = {}; + O[SYMBOL] = function () { return 7; }; + return ''[KEY](O) != 7; + }); + + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { + // Symbol-named RegExp methods call .exec + var execCalled = false; + var re = /a/; + re.exec = function () { execCalled = true; return null; }; + if (KEY === 'split') { + // RegExp[@@split] doesn't call the regex's exec method, but first creates + // a new one. We need to return the patched regex when creating the new one. + re.constructor = {}; + re.constructor[SPECIES] = function () { return re; }; + } + re[SYMBOL](''); + return !execCalled; + }) : undefined; + + if ( + !DELEGATES_TO_SYMBOL || + !DELEGATES_TO_EXEC || + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) + ) { + var nativeRegExpMethod = /./[SYMBOL]; + var fns = exec( + defined, + SYMBOL, + ''[KEY], + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { + if (regexp.exec === regexpExec) { + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { + // The native String method already delegates to @@method (this + // polyfilled function), leasing to infinite recursion. + // We avoid it by directly calling the native @@method method. + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; + } + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; + } + return { done: false }; + } + ); + var strfn = fns[0]; + var rxfn = fns[1]; + + redefine(String.prototype, KEY, strfn); + hide(RegExp.prototype, SYMBOL, length == 2 + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) + // 21.2.5.11 RegExp.prototype[@@split](string, limit) + ? function (string, arg) { return rxfn.call(string, this, arg); } + // 21.2.5.6 RegExp.prototype[@@match](string) + // 21.2.5.9 RegExp.prototype[@@search](string) + : function (string) { return rxfn.call(string, this); } + ); + } +}; + + +/***/ }), + +/***/ "b992": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// ECMAScript 6 symbols shim +var global = __webpack_require__("5cbf"); +var has = __webpack_require__("af0a"); +var DESCRIPTORS = __webpack_require__("1a24"); +var $export = __webpack_require__("a6b7"); +var redefine = __webpack_require__("adfd"); +var META = __webpack_require__("32bc").KEY; +var $fails = __webpack_require__("c887"); +var shared = __webpack_require__("fdfa"); +var setToStringTag = __webpack_require__("642c"); +var uid = __webpack_require__("6dbf"); +var wks = __webpack_require__("67e8"); +var wksExt = __webpack_require__("4a37"); +var wksDefine = __webpack_require__("218d"); +var enumKeys = __webpack_require__("801b"); +var isArray = __webpack_require__("5102"); +var anObject = __webpack_require__("0572"); +var isObject = __webpack_require__("9342"); +var toIObject = __webpack_require__("686a"); +var toPrimitive = __webpack_require__("78f3"); +var createDesc = __webpack_require__("d457"); +var _create = __webpack_require__("adbe"); +var gOPNExt = __webpack_require__("ab0c"); +var $GOPD = __webpack_require__("2a3d"); +var $DP = __webpack_require__("691b"); +var $keys = __webpack_require__("2882"); +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__("cd16").f = gOPNExt.f = $getOwnPropertyNames; + __webpack_require__("1d88").f = $propertyIsEnumerable; + __webpack_require__("b883").f = $getOwnPropertySymbols; + + if (DESCRIPTORS && !__webpack_require__("5718")) { + 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__("2779")($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); + + +/***/ }), + +/***/ "baa3": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = !__webpack_require__("9baa") && !__webpack_require__("c213")(function () { + return Object.defineProperty(__webpack_require__("8c9d")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); + + +/***/ }), + +/***/ "baca": +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__("9a60"); +var hide = __webpack_require__("59ee"); +var has = __webpack_require__("571a"); +var SRC = __webpack_require__("329e")('src'); +var $toString = __webpack_require__("ca25"); +var TO_STRING = 'toString'; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__("e3a0").inspectSource = function (it) { + return $toString.call(it); +}; + +(module.exports = function (O, key, val, safe) { + var isFunction = typeof val == 'function'; + if (isFunction) has(val, 'name') || hide(val, 'name', key); + if (O[key] === val) return; + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); + if (O === global) { + O[key] = val; + } else if (!safe) { + delete O[key]; + hide(O, key, val); + } else if (O[key]) { + O[key] = val; + } else { + hide(O, key, val); + } +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +})(Function.prototype, TO_STRING, function toString() { + return typeof this == 'function' && this[SRC] || $toString.call(this); +}); + + +/***/ }), + +/***/ "baee": +/***/ (function(module, exports) { + +var toString = {}.toString; + +module.exports = function (it) { + return toString.call(it).slice(8, -1); +}; + + +/***/ }), + +/***/ "bdb9": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.14 Object.keys(O) +var toObject = __webpack_require__("d6c4"); +var $keys = __webpack_require__("2882"); + +__webpack_require__("5d32")('keys', function () { + return function keys(it) { + return $keys(toObject(it)); + }; +}); + + +/***/ }), + +/***/ "be76": +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__("1d2f"); +var setPrototypeOf = __webpack_require__("aeae").set; +module.exports = function (that, target, C) { + var S = target.constructor; + var P; + if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { + setPrototypeOf(that, P); + } return that; +}; + + +/***/ }), + +/***/ "c082": +/***/ (function(module, exports, __webpack_require__) { + +// extracted by mini-css-extract-plugin + +/***/ }), + +/***/ "c20c": +/***/ (function(module, exports, __webpack_require__) { + +var document = __webpack_require__("9a60").document; +module.exports = document && document.documentElement; + + +/***/ }), + +/***/ "c213": +/***/ (function(module, exports) { + +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } +}; + + +/***/ }), + +/***/ "c829": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var classof = __webpack_require__("26f8"); +var builtinExec = RegExp.prototype.exec; + + // `RegExpExec` abstract operation +// https://tc39.github.io/ecma262/#sec-regexpexec +module.exports = function (R, S) { + var exec = R.exec; + if (typeof exec === 'function') { + var result = exec.call(R, S); + if (typeof result !== 'object') { + throw new TypeError('RegExp exec method returned something other than an Object or null'); + } + return result; + } + if (classof(R) !== 'RegExp') { + throw new TypeError('RegExp#exec called on incompatible receiver'); + } + return builtinExec.call(R, S); +}; + + +/***/ }), + +/***/ "c887": +/***/ (function(module, exports) { + +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } +}; + + +/***/ }), + +/***/ "ca25": +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__("6ae5")('native-function-to-string', Function.toString); + + +/***/ }), + +/***/ "ccdc": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("c213"); + +module.exports = function (method, arg) { + return !!method && fails(function () { + // eslint-disable-next-line no-useless-call + arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); + }); +}; + + +/***/ }), + +/***/ "cd16": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) +var $keys = __webpack_require__("65ba"); +var hiddenKeys = __webpack_require__("111d").concat('length', 'prototype'); + +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return $keys(O, hiddenKeys); +}; + + +/***/ }), + +/***/ "d35e": +/***/ (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); +}; + + +/***/ }), + +/***/ "d3ae": +/***/ (function(module, exports) { + +module.exports = false; + + +/***/ }), + +/***/ "d3fe": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// https://github.com/tc39/Array.prototype.includes +var $export = __webpack_require__("048e"); +var $includes = __webpack_require__("dd00")(true); + +$export($export.P, 'Array', { + includes: function includes(el /* , fromIndex = 0 */) { + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +__webpack_require__("2583")('includes'); + + +/***/ }), + +/***/ "d457": +/***/ (function(module, exports) { + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "d528": +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__("3fa7"); +var IE8_DOM_DEFINE = __webpack_require__("baa3"); +var toPrimitive = __webpack_require__("0666"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__("9baa") ? 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; +}; + + +/***/ }), + +/***/ "d6c4": +/***/ (function(module, exports, __webpack_require__) { + +// 7.1.13 ToObject(argument) +var defined = __webpack_require__("41f3"); +module.exports = function (it) { + return Object(defined(it)); +}; + + +/***/ }), + +/***/ "d758": +/***/ (function(module, exports) { + +module.exports = function (done, value) { + return { value: value, done: !!done }; +}; + + +/***/ }), + +/***/ "dad7": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var anObject = __webpack_require__("3fa7"); +var toObject = __webpack_require__("099f"); +var toLength = __webpack_require__("38fd"); +var toInteger = __webpack_require__("d35e"); +var advanceStringIndex = __webpack_require__("78c7"); +var regExpExec = __webpack_require__("c829"); +var max = Math.max; +var min = Math.min; +var floor = Math.floor; +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; + +var maybeToString = function (it) { + return it === undefined ? it : String(it); +}; + +// @@replace logic +__webpack_require__("b905")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { + return [ + // `String.prototype.replace` method + // https://tc39.github.io/ecma262/#sec-string.prototype.replace + function replace(searchValue, replaceValue) { + var O = defined(this); + var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; + return fn !== undefined + ? fn.call(searchValue, O, replaceValue) + : $replace.call(String(O), searchValue, replaceValue); + }, + // `RegExp.prototype[@@replace]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace + function (regexp, replaceValue) { + var res = maybeCallNative($replace, regexp, this, replaceValue); + if (res.done) return res.value; + + var rx = anObject(regexp); + var S = String(this); + var functionalReplace = typeof replaceValue === 'function'; + if (!functionalReplace) replaceValue = String(replaceValue); + var global = rx.global; + if (global) { + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + } + var results = []; + while (true) { + var result = regExpExec(rx, S); + if (result === null) break; + results.push(result); + if (!global) break; + var matchStr = String(result[0]); + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + } + var accumulatedResult = ''; + var nextSourcePosition = 0; + for (var i = 0; i < results.length; i++) { + result = results[i]; + var matched = String(result[0]); + var position = max(min(toInteger(result.index), S.length), 0); + var captures = []; + // NOTE: This is equivalent to + // captures = result.slice(1).map(maybeToString) + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); + var namedCaptures = result.groups; + if (functionalReplace) { + var replacerArgs = [matched].concat(captures, position, S); + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); + var replacement = String(replaceValue.apply(undefined, replacerArgs)); + } else { + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); + } + if (position >= nextSourcePosition) { + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; + nextSourcePosition = position + matched.length; + } + } + return accumulatedResult + S.slice(nextSourcePosition); + } + ]; + + // https://tc39.github.io/ecma262/#sec-getsubstitution + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return $replace.call(replacement, symbols, function (match, ch) { + var capture; + switch (ch.charAt(0)) { + case '$': return '$'; + case '&': return matched; + case '`': return str.slice(0, position); + case "'": return str.slice(tailPos); + case '<': + capture = namedCaptures[ch.slice(1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); + } +}); + + +/***/ }), + +/***/ "db1a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var addToUnscopables = __webpack_require__("2583"); +var step = __webpack_require__("d758"); +var Iterators = __webpack_require__("45bf"); +var toIObject = __webpack_require__("96da"); + +// 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__("9884")(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'); + + +/***/ }), + +/***/ "dcf5": +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__("571a"); +var toIObject = __webpack_require__("96da"); +var arrayIndexOf = __webpack_require__("dd00")(false); +var IE_PROTO = __webpack_require__("8629")('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; +}; + + +/***/ }), + +/***/ "dd00": +/***/ (function(module, exports, __webpack_require__) { + +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__("96da"); +var toLength = __webpack_require__("38fd"); +var toAbsoluteIndex = __webpack_require__("7527"); +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; + }; +}; + + +/***/ }), + +/***/ "dede": +/***/ (function(module, exports, __webpack_require__) { + +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) +var speciesConstructor = __webpack_require__("6e24"); + +module.exports = function (original, length) { + return new (speciesConstructor(original))(length); +}; + + +/***/ }), + +/***/ "e2c8": +/***/ (function(module, exports, __webpack_require__) { + +// 7.2.2 IsArray(argument) +var cof = __webpack_require__("ebbd"); +module.exports = Array.isArray || function isArray(arg) { + return cof(arg) == 'Array'; +}; + + +/***/ }), + +/***/ "e3a0": +/***/ (function(module, exports) { + +var core = module.exports = { version: '2.6.5' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef + + +/***/ }), + +/***/ "ea05": +/***/ (function(module, exports) { + +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; + + +/***/ }), + +/***/ "ebbd": +/***/ (function(module, exports) { + +var toString = {}.toString; + +module.exports = function (it) { + return toString.call(it).slice(8, -1); +}; + + +/***/ }), + +/***/ "ebdc": +/***/ (function(module, exports, __webpack_require__) { + +var dP = __webpack_require__("691b"); +var anObject = __webpack_require__("0572"); +var getKeys = __webpack_require__("2882"); + +module.exports = __webpack_require__("1a24") ? 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; +}; + + +/***/ }), + +/***/ "f7d0": +/***/ (function(module, exports, __webpack_require__) { + +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) +var toIObject = __webpack_require__("686a"); +var $getOwnPropertyDescriptor = __webpack_require__("2a3d").f; + +__webpack_require__("5d32")('getOwnPropertyDescriptor', function () { + return function getOwnPropertyDescriptor(it, key) { + return $getOwnPropertyDescriptor(toIObject(it), key); + }; +}); + + +/***/ }), + +/***/ "fdfa": +/***/ (function(module, exports, __webpack_require__) { + +var core = __webpack_require__("8588"); +var global = __webpack_require__("5cbf"); +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__("5718") ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' +}); + + +/***/ }) + +/******/ }); +}); +//# sourceMappingURL=vuttons.umd.js.map \ No newline at end of file diff --git a/dist/vuttons.umd.min.js b/dist/vuttons.umd.min.js new file mode 100644 index 0000000..1fbd81a --- /dev/null +++ b/dist/vuttons.umd.min.js @@ -0,0 +1,2 @@ +(function(t,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define([],n):"object"===typeof exports?exports["vuttons"]=n():t["vuttons"]=n()})("undefined"!==typeof self?self:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s="9bf4")}({"048e":function(t,n,e){var r=e("9a60"),o=e("e3a0"),i=e("59ee"),c=e("baca"),u=e("2eb4"),a="prototype",f=function(t,n,e){var s,l,p,d,v=t&f.F,b=t&f.G,h=t&f.S,y=t&f.P,g=t&f.B,x=b?r:h?r[n]||(r[n]={}):(r[n]||{})[a],m=b?o:o[n]||(o[n]={}),w=m[a]||(m[a]={});for(s in b&&(e=n),e)l=!v&&x&&void 0!==x[s],p=(l?x:e)[s],d=g&&l?u(p,r):y&&"function"==typeof p?u(Function.call,p):p,x&&c(x,s,p,t&f.U),m[s]!=p&&i(m,s,d),y&&w[s]!=p&&(w[s]=p)};r.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},"0572":function(t,n,e){var r=e("9342");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"0578":function(t,n,e){t.exports=e("6008")},"0666":function(t,n,e){var r=e("1d2f");t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},"07e4":function(t,n,e){var r=e("baee");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"099f":function(t,n,e){var r=e("50c4");t.exports=function(t){return Object(r(t))}},"0bb9":function(t,n,e){"use strict";var r=e("9a60"),o=e("571a"),i=e("ebbd"),c=e("be76"),u=e("0666"),a=e("c213"),f=e("3402").f,s=e("0f2e").f,l=e("d528").f,p=e("7bee").trim,d="Number",v=r[d],b=v,h=v.prototype,y=i(e("aecc")(h))==d,g="trim"in String.prototype,x=function(t){var n=u(t,!1);if("string"==typeof n&&n.length>2){n=g?n.trim():p(n,3);var e,r,o,i=n.charCodeAt(0);if(43===i||45===i){if(e=n.charCodeAt(2),88===e||120===e)return NaN}else if(48===i){switch(n.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+n}for(var c,a=n.slice(2),f=0,s=a.length;fo)return NaN;return parseInt(a,r)}}return+n};if(!v(" 0o1")||!v("0b1")||v("+0x1")){v=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof v&&(y?a(function(){h.valueOf.call(e)}):i(e)!=d)?c(new b(x(n)),e,v):x(n)};for(var m,w=e("9baa")?f(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)o(b,m=w[S])&&!o(v,m)&&l(v,m,s(b,m));v.prototype=h,h.constructor=v,e("baca")(r,d,v)}},"0d98":function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"0dd6":function(t,n){(function(t){var n="currentScript",e=t.getElementsByTagName("script");n in t||Object.defineProperty(t,n,{get:function(){try{throw new Error}catch(r){var t,n=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in e)if(e[t].src==n||"interactive"==e[t].readyState)return e[t];return null}}})})(document)},"0e7a":function(t,n,e){var r=e("98b7"),o=e("96da"),i=e("45aa").f;t.exports=function(t){return function(n){var e,c=o(n),u=r(c),a=u.length,f=0,s=[];while(a>f)i.call(c,e=u[f++])&&s.push(t?[e,c[e]]:c[e]);return s}}},"0f2e":function(t,n,e){var r=e("45aa"),o=e("b7f6"),i=e("96da"),c=e("0666"),u=e("571a"),a=e("baa3"),f=Object.getOwnPropertyDescriptor;n.f=e("9baa")?f:function(t,n){if(t=i(t),n=c(n,!0),a)try{return f(t,n)}catch(e){}if(u(t,n))return o(!r.f.call(t,n),t[n])}},"111d":function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1797:function(t,n,e){var r=e("571a"),o=e("099f"),i=e("8629")("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},"1a24":function(t,n,e){t.exports=!e("c887")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"1ab8":function(t,n,e){for(var r=e("db1a"),o=e("98b7"),i=e("baca"),c=e("9a60"),u=e("59ee"),a=e("45bf"),f=e("24aa"),s=f("iterator"),l=f("toStringTag"),p=a.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=o(d),b=0;bs)if(u=a[s++],u!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}}},"218d":function(t,n,e){var r=e("5cbf"),o=e("8588"),i=e("5718"),c=e("4a37"),u=e("691b").f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||u(n,t,{value:c.f(t)})}},2436:function(t,n,e){var r=e("d528"),o=e("3fa7"),i=e("98b7");t.exports=e("9baa")?Object.defineProperties:function(t,n){o(t);var e,c=i(n),u=c.length,a=0;while(u>a)r.f(t,e=c[a++],n[e]);return t}},"24aa":function(t,n,e){var r=e("6ae5")("wks"),o=e("329e"),i=e("9a60").Symbol,c="function"==typeof i,u=t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))};u.store=r},2583:function(t,n,e){var r=e("24aa")("unscopables"),o=Array.prototype;void 0==o[r]&&e("59ee")(o,r,{}),t.exports=function(t){o[r][t]=!0}},"26f8":function(t,n,e){var r=e("ebbd"),o=e("24aa")("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,n){try{return t[n]}catch(e){}};t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},2779:function(t,n,e){var r=e("691b"),o=e("d457");t.exports=e("1a24")?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},2882:function(t,n,e){var r=e("65ba"),o=e("111d");t.exports=Object.keys||function(t){return r(t,o)}},"2a3d":function(t,n,e){var r=e("1d88"),o=e("d457"),i=e("686a"),c=e("78f3"),u=e("af0a"),a=e("5e52"),f=Object.getOwnPropertyDescriptor;n.f=e("1a24")?f:function(t,n){if(t=i(t),n=c(n,!0),a)try{return f(t,n)}catch(e){}if(u(t,n))return o(!r.f.call(t,n),t[n])}},"2eb4":function(t,n,e){var r=e("2004");t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},"2f50":function(t,n,e){"use strict";var r=e("adaf");e("048e")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},"329e":function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},"32bc":function(t,n,e){var r=e("6dbf")("meta"),o=e("9342"),i=e("af0a"),c=e("691b").f,u=0,a=Object.isExtensible||function(){return!0},f=!e("c887")(function(){return a(Object.preventExtensions({}))}),s=function(t){c(t,r,{value:{i:"O"+ ++u,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!a(t))return"F";if(!n)return"E";s(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!a(t))return!0;if(!n)return!1;s(t)}return t[r].w},d=function(t){return f&&v.NEED&&a(t)&&!i(t,r)&&s(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},3402:function(t,n,e){var r=e("dcf5"),o=e("0d98").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"341c":function(t,n,e){var r=e("1d2f"),o=e("ebbd"),i=e("24aa")("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},"356a":function(t,n,e){var r=e("d528").f,o=Function.prototype,i=/^\s*function ([^ (]*)/,c="name";c in o||e("9baa")&&r(o,c,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},"38b8":function(t,n,e){t.exports=e("9c87")},"38fd":function(t,n,e){var r=e("d35e"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"3db9":function(t,n,e){"use strict";var r=e("aecc"),o=e("b7f6"),i=e("a602"),c={};e("59ee")(c,e("24aa")("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},"3fa7":function(t,n,e){var r=e("1d2f");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"41f3":function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"45aa":function(t,n){n.f={}.propertyIsEnumerable},"45bf":function(t,n){t.exports={}},"45dc":function(t,n,e){"use strict";var r=e("3fa7");t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},"4a37":function(t,n,e){n.f=e("67e8")},"4d43":function(t,n,e){var r=e("b6bb"),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},"4eb1":function(t,n,e){var r=e("3fa7"),o=e("2004"),i=e("24aa")("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},"50c4":function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},5102:function(t,n,e){var r=e("baee");t.exports=Array.isArray||function(t){return"Array"==r(t)}},5718:function(t,n){t.exports=!0},"571a":function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},"59ee":function(t,n,e){var r=e("d528"),o=e("b7f6");t.exports=e("9baa")?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},"5cbf":function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},"5d32":function(t,n,e){var r=e("a6b7"),o=e("8588"),i=e("c887");t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],c={};c[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",c)}},"5e52":function(t,n,e){t.exports=!e("1a24")&&!e("c887")(function(){return 7!=Object.defineProperty(e("b1ea")("div"),"a",{get:function(){return 7}}).a})},6008:function(t,n,e){e("616d");var r=e("8588").Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},"616d":function(t,n,e){var r=e("a6b7");r(r.S+r.F*!e("1a24"),"Object",{defineProperty:e("691b").f})},"642c":function(t,n,e){var r=e("691b").f,o=e("af0a"),i=e("67e8")("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},"65ba":function(t,n,e){var r=e("af0a"),o=e("686a"),i=e("2104")(!1),c=e("7c47")("IE_PROTO");t.exports=function(t,n){var e,u=o(t),a=0,f=[];for(e in u)e!=c&&r(u,e)&&f.push(e);while(n.length>a)r(u,e=n[a++])&&(~i(f,e)||f.push(e));return f}},"67e8":function(t,n,e){var r=e("fdfa")("wks"),o=e("6dbf"),i=e("5cbf").Symbol,c="function"==typeof i,u=t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))};u.store=r},"686a":function(t,n,e){var r=e("07e4"),o=e("41f3");t.exports=function(t){return r(o(t))}},"691b":function(t,n,e){var r=e("0572"),o=e("5e52"),i=e("78f3"),c=Object.defineProperty;n.f=e("1a24")?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return c(t,n,e)}catch(u){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},"6ae5":function(t,n,e){var r=e("e3a0"),o=e("9a60"),i="__core-js_shared__",c=o[i]||(o[i]={});(t.exports=function(t,n){return c[t]||(c[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e("d3ae")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"6dbf":function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},"6e24":function(t,n,e){var r=e("1d2f"),o=e("e2c8"),i=e("24aa")("species");t.exports=function(t){var n;return o(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&(n=n[i],null===n&&(n=void 0))),void 0===n?Array:n}},"730c":function(t,n,e){var r=e("d35e"),o=e("50c4");t.exports=function(t){return function(n,e){var i,c,u=String(o(n)),a=r(e),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536)}}},7527:function(t,n,e){var r=e("d35e"),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},"78c7":function(t,n,e){"use strict";var r=e("730c")(!0);t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},"78f3":function(t,n,e){var r=e("9342");t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},"7b53":function(t,n,e){var r=e("2eb4"),o=e("b1b7"),i=e("099f"),c=e("38fd"),u=e("dede");t.exports=function(t,n){var e=1==t,a=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l,d=n||u;return function(n,u,v){for(var b,h,y=i(n),g=o(y),x=r(u,v,3),m=c(g.length),w=0,S=e?d(n,m):a?d(n,0):void 0;m>w;w++)if((p||w in g)&&(b=g[w],h=x(b,w,y),t))if(e)S[w]=h;else if(h)switch(t){case 3:return!0;case 5:return b;case 6:return w;case 2:S.push(b)}else if(s)return!1;return l?-1:f||s?s:S}}},"7bd1":function(t,n,e){var r=e("b6bb"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"7bee":function(t,n,e){var r=e("048e"),o=e("50c4"),i=e("c213"),c=e("a0f5"),u="["+c+"]",a="​…",f=RegExp("^"+u+u+"*"),s=RegExp(u+u+"*$"),l=function(t,n,e){var o={},u=i(function(){return!!c[t]()||a[t]()!=a}),f=o[t]=u?n(p):c[t];e&&(o[e]=f),r(r.P+r.F*u,"String",o)},p=l.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(f,"")),2&n&&(t=t.replace(s,"")),t};t.exports=l},"7c47":function(t,n,e){var r=e("fdfa")("keys"),o=e("6dbf");t.exports=function(t){return r[t]||(r[t]=o(t))}},"801b":function(t,n,e){var r=e("2882"),o=e("b883"),i=e("1d88");t.exports=function(t){var n=r(t),e=o.f;if(e){var c,u=e(t),a=i.f,f=0;while(u.length>f)a.call(t,c=u[f++])&&n.push(c)}return n}},8588:function(t,n){var e=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=e)},8629:function(t,n,e){var r=e("6ae5")("keys"),o=e("329e");t.exports=function(t){return r[t]||(r[t]=o(t))}},"8b23":function(t,n,e){var r=e("048e"),o=e("0e7a")(!1);r(r.S,"Object",{values:function(t){return o(t)}})},"8c9d":function(t,n,e){var r=e("1d2f"),o=e("9a60").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"91dc":function(t,n,e){e("b992"),t.exports=e("8588").Object.getOwnPropertySymbols},9342:function(t,n){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},"96da":function(t,n,e){var r=e("b1b7"),o=e("50c4");t.exports=function(t){return r(o(t))}},9884:function(t,n,e){"use strict";var r=e("d3ae"),o=e("048e"),i=e("baca"),c=e("59ee"),u=e("45bf"),a=e("3db9"),f=e("a602"),s=e("1797"),l=e("24aa")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",b="values",h=function(){return this};t.exports=function(t,n,e,y,g,x,m){a(e,n,y);var w,S,O,_=function(t){if(!p&&t in T)return T[t];switch(t){case v:return function(){return new e(this,t)};case b:return function(){return new e(this,t)}}return function(){return new e(this,t)}},E=n+" Iterator",j=g==b,P=!1,T=t.prototype,k=T[l]||T[d]||g&&T[g],C=k||_(g),I=g?j?_("entries"):C:void 0,M="Array"==n&&T.entries||k;if(M&&(O=s(M.call(new t)),O!==Object.prototype&&O.next&&(f(O,E,!0),r||"function"==typeof O[l]||c(O,l,h))),j&&k&&k.name!==b&&(P=!0,C=function(){return k.call(this)}),r&&!m||!p&&!P&&T[l]||c(T,l,C),u[n]=C,u[E]=h,g)if(w={values:j?C:_(b),keys:x?C:_(v),entries:I},m)for(S in w)S in T||i(T,S,w[S]);else o(o.P+o.F*(p||P),n,w);return w}},"98b7":function(t,n,e){var r=e("dcf5"),o=e("0d98");t.exports=Object.keys||function(t){return r(t,o)}},"9a60":function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},"9baa":function(t,n,e){t.exports=!e("c213")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9bc1":function(t,n,e){t.exports=e("91dc")},"9bf4":function(t,n,e){"use strict";e.r(n);var r,o={};(e.r(o),e.d(o,"Vutton",function(){return R}),"undefined"!==typeof window)&&(e("0dd6"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(e.p=r[1]));e("db1a"),e("8b23"),e("1ab8"),e("1cd9"),e("356a");var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("button",t._g(t._b({ref:"button",staticClass:"vut vutton",class:t.Class},"button",t.$props,!1),t.listeners),[e("span",[t._t("default")],2),e("loading"),e("submit")],1)},c=[],u=e("38b8"),a=e.n(u),f=e("9bc1"),s=e.n(f),l=e("a57b"),p=e.n(l),d=e("0578"),v=e.n(d);function b(t,n,e){return n in t?v()(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function h(t){for(var n=1;n1||""[d](/.?/)[v]?function(t,n){var o=String(this);if(void 0===t&&0===n)return[];if(!r(t))return e.call(o,t,n);var i,c,u,a=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,d=void 0===n?h:n>>>0,y=new RegExp(t.source,s+"g");while(i=f.call(y,o)){if(c=y[b],c>l&&(a.push(o.slice(l,i.index)),i[v]>1&&i.index=d))break;y[b]===i.index&&y[b]++}return l===o[v]?!u&&y.test("")||a.push(""):a.push(o.slice(l)),a[v]>d?a.slice(0,d):a}:"0"[d](void 0,0)[v]?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,r){var o=t(this),i=void 0==e?void 0:e[n];return void 0!==i?i.call(e,o,r):g.call(String(o),e,r)},function(t,n){var r=s(g,t,this,n,g!==e);if(r.done)return r.value;var f=o(t),p=String(this),d=i(f,RegExp),v=f.unicode,b=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(y?"y":"g"),x=new d(y?f:"^(?:"+f.source+")",b),m=void 0===n?h:n>>>0;if(0===m)return[];if(0===p.length)return null===a(x,p)?[p]:[];var w=0,S=0,O=[];while(S1&&i.call(c[0],e,function(){for(s=1;s";n.style.display="none",e("9f46").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+c+"document.F=Object"+o+"/script"+c),t.close(),f=t.F;while(r--)delete f[a][i[r]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(u[a]=r(t),e=new u,u[a]=null,e[c]=t):e=f(),void 0===n?e:o(e,n)}},adfd:function(t,n,e){t.exports=e("2779")},aeae:function(t,n,e){var r=e("1d2f"),o=e("3fa7"),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e("2eb4")(Function.call,e("0f2e").f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(o){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},aecc:function(t,n,e){var r=e("3fa7"),o=e("2436"),i=e("0d98"),c=e("8629")("IE_PROTO"),u=function(){},a="prototype",f=function(){var t,n=e("8c9d")("iframe"),r=i.length,o="<",c=">";n.style.display="none",e("c20c").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+c+"document.F=Object"+o+"/script"+c),t.close(),f=t.F;while(r--)delete f[a][i[r]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(u[a]=r(t),e=new u,u[a]=null,e[c]=t):e=f(),void 0===n?e:o(e,n)}},af0a:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},b0cb:function(t,n,e){e("bdb9"),t.exports=e("8588").Object.keys},b1b7:function(t,n,e){var r=e("ebbd");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},b1ea:function(t,n,e){var r=e("9342"),o=e("5cbf").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},b6bb:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},b7f6:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},b883:function(t,n){n.f=Object.getOwnPropertySymbols},b905:function(t,n,e){"use strict";e("2f50");var r=e("baca"),o=e("59ee"),i=e("c213"),c=e("50c4"),u=e("24aa"),a=e("adaf"),f=u("species"),s=!i(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2===e.length&&"a"===e[0]&&"b"===e[1]}();t.exports=function(t,n,e){var p=u(t),d=!i(function(){var n={};return n[p]=function(){return 7},7!=""[t](n)}),v=d?!i(function(){var n=!1,e=/a/;return e.exec=function(){return n=!0,null},"split"===t&&(e.constructor={},e.constructor[f]=function(){return e}),e[p](""),!n}):void 0;if(!d||!v||"replace"===t&&!s||"split"===t&&!l){var b=/./[p],h=e(c,p,""[t],function(t,n,e,r,o){return n.exec===a?d&&!o?{done:!0,value:b.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),y=h[0],g=h[1];r(String.prototype,t,y),o(RegExp.prototype,p,2==n?function(t,n){return g.call(t,this,n)}:function(t){return g.call(t,this)})}}},b992:function(t,n,e){"use strict";var r=e("5cbf"),o=e("af0a"),i=e("1a24"),c=e("a6b7"),u=e("adfd"),a=e("32bc").KEY,f=e("c887"),s=e("fdfa"),l=e("642c"),p=e("6dbf"),d=e("67e8"),v=e("4a37"),b=e("218d"),h=e("801b"),y=e("5102"),g=e("0572"),x=e("9342"),m=e("686a"),w=e("78f3"),S=e("d457"),O=e("adbe"),_=e("ab0c"),E=e("2a3d"),j=e("691b"),P=e("2882"),T=E.f,k=j.f,C=_.f,I=r.Symbol,M=r.JSON,A=M&&M.stringify,N="prototype",F=d("_hidden"),L=d("toPrimitive"),R={}.propertyIsEnumerable,$=s("symbol-registry"),V=s("symbols"),D=s("op-symbols"),G=Object[N],B="function"==typeof I,z=r.QObject,U=!z||!z[N]||!z[N].findChild,W=i&&f(function(){return 7!=O(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=T(G,n);r&&delete G[n],k(t,n,e),r&&t!==G&&k(G,n,r)}:k,H=function(t){var n=V[t]=O(I[N]);return n._k=t,n},J=B&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},X=function(t,n,e){return t===G&&X(D,n,e),g(t),n=w(n,!0),g(e),o(V,n)?(e.enumerable?(o(t,F)&&t[F][n]&&(t[F][n]=!1),e=O(e,{enumerable:S(0,!1)})):(o(t,F)||k(t,F,S(1,{})),t[F][n]=!0),W(t,n,e)):k(t,n,e)},Y=function(t,n){g(t);var e,r=h(n=m(n)),o=0,i=r.length;while(i>o)X(t,e=r[o++],n[e]);return t},K=function(t,n){return void 0===n?O(t):Y(O(t),n)},q=function(t){var n=R.call(this,t=w(t,!0));return!(this===G&&o(V,t)&&!o(D,t))&&(!(n||!o(this,t)||!o(V,t)||o(this,F)&&this[F][t])||n)},Q=function(t,n){if(t=m(t),n=w(n,!0),t!==G||!o(V,n)||o(D,n)){var e=T(t,n);return!e||!o(V,n)||o(t,F)&&t[F][n]||(e.enumerable=!0),e}},Z=function(t){var n,e=C(m(t)),r=[],i=0;while(e.length>i)o(V,n=e[i++])||n==F||n==a||r.push(n);return r},tt=function(t){var n,e=t===G,r=C(e?D:m(t)),i=[],c=0;while(r.length>c)!o(V,n=r[c++])||e&&!o(G,n)||i.push(V[n]);return i};B||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===G&&n.call(D,e),o(this,F)&&o(this[F],t)&&(this[F][t]=!1),W(this,t,S(1,e))};return i&&U&&W(G,t,{configurable:!0,set:n}),H(t)},u(I[N],"toString",function(){return this._k}),E.f=Q,j.f=X,e("cd16").f=_.f=Z,e("1d88").f=q,e("b883").f=tt,i&&!e("5718")&&u(G,"propertyIsEnumerable",q,!0),v.f=function(t){return H(d(t))}),c(c.G+c.W+c.F*!B,{Symbol:I});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)d(nt[et++]);for(var rt=P(d.store),ot=0;rt.length>ot;)b(rt[ot++]);c(c.S+c.F*!B,"Symbol",{for:function(t){return o($,t+="")?$[t]:$[t]=I(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var n in $)if($[n]===t)return n},useSetter:function(){U=!0},useSimple:function(){U=!1}}),c(c.S+c.F*!B,"Object",{create:K,defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),M&&c(c.S+c.F*(!B||f(function(){var t=I();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){var n,e,r=[t],o=1;while(arguments.length>o)r.push(arguments[o++]);if(e=n=r[1],(x(n)||void 0!==t)&&!J(t))return y(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!J(n))return n}),r[1]=n,A.apply(M,r)}}),I[N][L]||e("2779")(I[N],L,I[N].valueOf),l(I,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},baa3:function(t,n,e){t.exports=!e("9baa")&&!e("c213")(function(){return 7!=Object.defineProperty(e("8c9d")("div"),"a",{get:function(){return 7}}).a})},baca:function(t,n,e){var r=e("9a60"),o=e("59ee"),i=e("571a"),c=e("329e")("src"),u=e("ca25"),a="toString",f=(""+u).split(a);e("e3a0").inspectSource=function(t){return u.call(t)},(t.exports=function(t,n,e,u){var a="function"==typeof e;a&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(a&&(i(e,c)||o(e,c,t[n]?""+t[n]:f.join(String(n)))),t===r?t[n]=e:u?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,a,function(){return"function"==typeof this&&this[c]||u.call(this)})},baee:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},bdb9:function(t,n,e){var r=e("d6c4"),o=e("2882");e("5d32")("keys",function(){return function(t){return o(r(t))}})},be76:function(t,n,e){var r=e("1d2f"),o=e("aeae").set;t.exports=function(t,n,e){var i,c=n.constructor;return c!==e&&"function"==typeof c&&(i=c.prototype)!==e.prototype&&r(i)&&o&&o(t,i),t}},c082:function(t,n,e){},c20c:function(t,n,e){var r=e("9a60").document;t.exports=r&&r.documentElement},c213:function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},c829:function(t,n,e){"use strict";var r=e("26f8"),o=RegExp.prototype.exec;t.exports=function(t,n){var e=t.exec;if("function"===typeof e){var i=e.call(t,n);if("object"!==typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},c887:function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},ca25:function(t,n,e){t.exports=e("6ae5")("native-function-to-string",Function.toString)},ccdc:function(t,n,e){"use strict";var r=e("c213");t.exports=function(t,n){return!!t&&r(function(){n?t.call(null,function(){},1):t.call(null)})}},cd16:function(t,n,e){var r=e("65ba"),o=e("111d").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},d35e:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},d3ae:function(t,n){t.exports=!1},d3fe:function(t,n,e){"use strict";var r=e("048e"),o=e("dd00")(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),e("2583")("includes")},d457:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},d528:function(t,n,e){var r=e("3fa7"),o=e("baa3"),i=e("0666"),c=Object.defineProperty;n.f=e("9baa")?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return c(t,n,e)}catch(u){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},d6c4:function(t,n,e){var r=e("41f3");t.exports=function(t){return Object(r(t))}},d758:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},dad7:function(t,n,e){"use strict";var r=e("3fa7"),o=e("099f"),i=e("38fd"),c=e("d35e"),u=e("78c7"),a=e("c829"),f=Math.max,s=Math.min,l=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,v=function(t){return void 0===t?t:String(t)};e("b905")("replace",2,function(t,n,e,b){return[function(r,o){var i=t(this),c=void 0==r?void 0:r[n];return void 0!==c?c.call(r,i,o):e.call(String(i),r,o)},function(t,n){var o=b(e,t,this,n);if(o.done)return o.value;var l=r(t),p=String(this),d="function"===typeof n;d||(n=String(n));var y=l.global;if(y){var g=l.unicode;l.lastIndex=0}var x=[];while(1){var m=a(l,p);if(null===m)break;if(x.push(m),!y)break;var w=String(m[0]);""===w&&(l.lastIndex=u(p,i(l.lastIndex),g))}for(var S="",O=0,_=0;_=O&&(S+=p.slice(O,j)+I,O=j+E.length)}return S+p.slice(O)}];function h(t,n,r,i,c,u){var a=r+t.length,f=i.length,s=d;return void 0!==c&&(c=o(c),s=p),e.call(u,s,function(e,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(a);case"<":u=c[o.slice(1,-1)];break;default:var s=+o;if(0===s)return e;if(s>f){var p=l(s/10);return 0===p?e:p<=f?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):e}u=i[s-1]}return void 0===u?"":u})}})},db1a:function(t,n,e){"use strict";var r=e("2583"),o=e("d758"),i=e("45bf"),c=e("96da");t.exports=e("9884")(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},dcf5:function(t,n,e){var r=e("571a"),o=e("96da"),i=e("dd00")(!1),c=e("8629")("IE_PROTO");t.exports=function(t,n){var e,u=o(t),a=0,f=[];for(e in u)e!=c&&r(u,e)&&f.push(e);while(n.length>a)r(u,e=n[a++])&&(~i(f,e)||f.push(e));return f}},dd00:function(t,n,e){var r=e("96da"),o=e("38fd"),i=e("7527");t.exports=function(t){return function(n,e,c){var u,a=r(n),f=o(a.length),s=i(c,f);if(t&&e!=e){while(f>s)if(u=a[s++],u!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}}},dede:function(t,n,e){var r=e("6e24");t.exports=function(t,n){return new(r(t))(n)}},e2c8:function(t,n,e){var r=e("ebbd");t.exports=Array.isArray||function(t){return"Array"==r(t)}},e3a0:function(t,n){var e=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=e)},ea05:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},ebbd:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},ebdc:function(t,n,e){var r=e("691b"),o=e("0572"),i=e("2882");t.exports=e("1a24")?Object.defineProperties:function(t,n){o(t);var e,c=i(n),u=c.length,a=0;while(u>a)r.f(t,e=c[a++],n[e]);return t}},f7d0:function(t,n,e){var r=e("686a"),o=e("2a3d").f;e("5d32")("getOwnPropertyDescriptor",function(){return function(t,n){return o(r(t),n)}})},fdfa:function(t,n,e){var r=e("8588"),o=e("5cbf"),i="__core-js_shared__",c=o[i]||(o[i]={});(t.exports=function(t,n){return c[t]||(c[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e("5718")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}})}); +//# sourceMappingURL=vuttons.umd.min.js.map \ No newline at end of file diff --git a/docs/.vuepress/components/button-1.vue b/docs/.vuepress/components/button-1.vue new file mode 100644 index 0000000..6a50121 --- /dev/null +++ b/docs/.vuepress/components/button-1.vue @@ -0,0 +1,25 @@ + + + diff --git a/docs/.vuepress/components/button-2.vue b/docs/.vuepress/components/button-2.vue new file mode 100644 index 0000000..8cd2156 --- /dev/null +++ b/docs/.vuepress/components/button-2.vue @@ -0,0 +1,25 @@ + + + diff --git a/docs/.vuepress/components/button-3.vue b/docs/.vuepress/components/button-3.vue new file mode 100644 index 0000000..9b2ea5c --- /dev/null +++ b/docs/.vuepress/components/button-3.vue @@ -0,0 +1,25 @@ + + + diff --git a/docs/.vuepress/components/button-4.vue b/docs/.vuepress/components/button-4.vue new file mode 100644 index 0000000..92bc829 --- /dev/null +++ b/docs/.vuepress/components/button-4.vue @@ -0,0 +1,25 @@ + + + diff --git a/docs/.vuepress/components/button-5.vue b/docs/.vuepress/components/button-5.vue new file mode 100644 index 0000000..090e9fd --- /dev/null +++ b/docs/.vuepress/components/button-5.vue @@ -0,0 +1,25 @@ + + + diff --git a/docs/.vuepress/components/button-6.vue b/docs/.vuepress/components/button-6.vue new file mode 100644 index 0000000..61ca9b0 --- /dev/null +++ b/docs/.vuepress/components/button-6.vue @@ -0,0 +1,25 @@ + + + diff --git a/docs/.vuepress/components/button-7.vue b/docs/.vuepress/components/button-7.vue new file mode 100644 index 0000000..7e8bd2c --- /dev/null +++ b/docs/.vuepress/components/button-7.vue @@ -0,0 +1,25 @@ + + + diff --git a/docs/.vuepress/components/docs/active.vue b/docs/.vuepress/components/docs/active.vue new file mode 100644 index 0000000..6c523d6 --- /dev/null +++ b/docs/.vuepress/components/docs/active.vue @@ -0,0 +1,25 @@ + + + diff --git a/docs/.vuepress/components/docs/colors.vue b/docs/.vuepress/components/docs/colors.vue new file mode 100644 index 0000000..cca88b6 --- /dev/null +++ b/docs/.vuepress/components/docs/colors.vue @@ -0,0 +1,31 @@ + + + diff --git a/docs/.vuepress/components/docs/disabled.vue b/docs/.vuepress/components/docs/disabled.vue new file mode 100644 index 0000000..cec5d99 --- /dev/null +++ b/docs/.vuepress/components/docs/disabled.vue @@ -0,0 +1,31 @@ + + + diff --git a/docs/.vuepress/components/docs/href.vue b/docs/.vuepress/components/docs/href.vue new file mode 100644 index 0000000..4e1d73b --- /dev/null +++ b/docs/.vuepress/components/docs/href.vue @@ -0,0 +1,16 @@ + + + diff --git a/docs/.vuepress/components/docs/loading.vue b/docs/.vuepress/components/docs/loading.vue new file mode 100644 index 0000000..385cf11 --- /dev/null +++ b/docs/.vuepress/components/docs/loading.vue @@ -0,0 +1,31 @@ + + + diff --git a/docs/.vuepress/components/docs/size.vue b/docs/.vuepress/components/docs/size.vue new file mode 100644 index 0000000..35e2906 --- /dev/null +++ b/docs/.vuepress/components/docs/size.vue @@ -0,0 +1,25 @@ + + + diff --git a/docs/.vuepress/components/docs/submit.vue b/docs/.vuepress/components/docs/submit.vue new file mode 100644 index 0000000..b68c825 --- /dev/null +++ b/docs/.vuepress/components/docs/submit.vue @@ -0,0 +1,31 @@ + + + diff --git a/docs/.vuepress/components/docs/to.vue b/docs/.vuepress/components/docs/to.vue new file mode 100644 index 0000000..f261ed6 --- /dev/null +++ b/docs/.vuepress/components/docs/to.vue @@ -0,0 +1,16 @@ + + + diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js new file mode 100644 index 0000000..4fe380d --- /dev/null +++ b/docs/.vuepress/config.js @@ -0,0 +1,89 @@ +module.exports = { + base: '/vuttons/', + head: [ + ['link', { rel: 'icon', href: '/favicon-vuttons2.jpg' }] + ], + plugins: [ + ['container', { + type: 'tip', + defaultTitle: '', + }], + ['container', { + type: 'warning', + defaultTitle: '', + }], + ['container', { + type: 'danger', + defaultTitle: '', + }], + ], + themeConfig: { + serviceWorker: { + updatePopup: true // Boolean | Object, default to undefined. + // If set to true, the default text config will be: + // updatePopup: { + // message: "New content is available.", + // buttonText: "Refresh" + // } + }, + // Assumes GitHub. Can also be a full GitLab url. + repo: 'lusaxweb/vuttons', + // Customising the header label + // Defaults to "GitHub"/"GitLab"/"Bitbucket" depending on `themeConfig.repo` + repoLabel: 'Contribute!', + // Optional options for generating "Edit this page" link + // if your docs are in a different repo from your main project: + docsRepo: 'lusaxweb/vuttons', + // if your docs are not at the root of the repo: + docsDir: 'docs', + // if your docs are in a specific branch (defaults to 'master'): + docsBranch: 'master', + // defaults to true, set to false to disable + // editLinks: true, + // // custom text for edit link. Defaults to "Edit this page" + logo:'/vuttons-logo-vertical.png', + nav: [ + { text: 'Buttons', link: '/' }, + { text: 'Docs', link: '/docs/' }, + { + text: 'Learn More', + items: [ + // { text: 'API', link: '/api/' }, + { text: 'Blog', link: 'https://lusaxweb.github.io/vuesax-blog/articles' }, + { text: 'Tips', link: 'https://lusaxweb.github.io/vuesax-blog/tips' }, + ] + }, + { + text: 'Ecosystem', + items: [ + { + text: 'Social', + items: [ + { text: 'GitHub', link: 'https://github.com/lusaxweb/vuttons' }, + { text: 'Behance', link: 'https://www.behance.net/ManuelRovira' }, + { text: 'Dribbble', link: 'https://dribbble.com/ManuelRovira' }, + ] + }, + { + text: 'Help', + items: [ + { text: 'Issues', link: 'https://github.com/lusaxweb/vuttons/issues' }, + { text: 'Edit Page', link: 'https://github.com/lusaxweb/vuttons' }, + { text: 'Latest Releases', link: 'https://github.com/lusaxweb/vuttons/releases' }, + ] + }, + { + text: 'Contact', + items: [ + { text: 'Lusaxweb', link: 'http://www.lusaxweb.com.ve' }, + { text: 'Email', link: 'mailto:lusaxweb@gmail.com' }, + { text: 'Pull Request', link: 'https://github.com/lusaxweb/vuttons/pulls' }, + ] + } + ] + }, + + + ] + } +} diff --git a/docs/.vuepress/enhanceApp.js b/docs/.vuepress/enhanceApp.js new file mode 100644 index 0000000..d150ec5 --- /dev/null +++ b/docs/.vuepress/enhanceApp.js @@ -0,0 +1,13 @@ +import Vuttons from '../../src' +// import Vuttons from '../../dist/vuttons.common.js' +// import '../../dist/vuttons.css' +import './fonts/font/flaticon.css' +export default ({ + Vue, // the version of Vue being used in the VuePress app + options, // the options for the root Vue instance + router, // the router instance for the app + siteData +}) => { + // ...apply enhancements to the app + Vue.use(Vuttons) +} diff --git a/docs/.vuepress/fonts/backup.txt b/docs/.vuepress/fonts/backup.txt new file mode 100644 index 0000000..e3b87c9 --- /dev/null +++ b/docs/.vuepress/fonts/backup.txt @@ -0,0 +1 @@ +eyIxIjp7IklEIjoxLCJuYW1lIjoiTXkgaWNvbnMgY29sbGVjdGlvbiIsImJvb2ttYXJrX2lkIjoiODBkcDN5Y2ZmcTQwMDAwMCIsImNyZWF0ZWQiOm51bGwsInVwZGF0ZWQiOjE1NTczNDE0ODIsImFjdGl2ZSI6MSwic291cmNlIjoibG9jYWwiLCJvcmRlciI6MCwiY29sb3IiOiIwMDAwMDAiLCJzdGF0dXMiOjF9LCI4MGRwM3ljZmZxNDAwMDAwIjpbeyJpZCI6ODc0MDAsInRlYW0iOjAsIm5hbWUiOiJkcmliYmJsZS1sb2dvIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6Mn0seyJpZCI6MjUxODUsInRlYW0iOjAsIm5hbWUiOiJjb2RlIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6NH0seyJpZCI6MjUyMzEsInRlYW0iOjAsIm5hbWUiOiJnaXRodWItbG9nbyIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjN9LHsiaWQiOjg4MDAsInRlYW0iOjAsIm5hbWUiOiJ0d2l0dGVyLWxvZ28tc2lsaG91ZXR0ZSIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjV9LHsiaWQiOjExODc4MSwidGVhbSI6MCwibmFtZSI6InByb2ZpbGUiLCJjb2xvciI6IiMwMDAwMDAiLCJwcmVtaXVtIjowLCJzb3J0Ijo2fSx7ImlkIjo0NjMwNjUsInRlYW0iOjAsIm5hbWUiOiJjbG9zZSIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjd9LHsiaWQiOjYwNzMxLCJ0ZWFtIjowLCJuYW1lIjoiY2hlY2stc3ltYm9sIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6OH0seyJpZCI6MTIxNDQyOCwidGVhbSI6MCwibmFtZSI6ImRlbGV0ZSIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjl9LHsiaWQiOjM0MzY0LCJ0ZWFtIjowLCJuYW1lIjoiYmVoYW5jZS1sb2dvIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6MX0seyJpZCI6MjU2MzgsInRlYW0iOjAsIm5hbWUiOiJhcnJvdyIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjEwfSx7ImlkIjoyNTMyMiwidGVhbSI6MCwibmFtZSI6ImFycm93IiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6MTF9LHsiaWQiOjE1OTQ2OSwidGVhbSI6MCwibmFtZSI6Indhcm5pbmciLCJjb2xvciI6IiMwMDAwMDAiLCJwcmVtaXVtIjowLCJzb3J0IjoxNH0seyJpZCI6MjUyMjMsInRlYW0iOjAsIm5hbWUiOiJjaGV2cm9uIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6MTJ9LHsiaWQiOjI1NjIzLCJ0ZWFtIjowLCJuYW1lIjoiZG93biIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjEzfSx7ImlkIjoxMTY4MzYsInRlYW0iOjAsIm5hbWUiOiJtYWduaWZ5aW5nLWdsYXNzIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6MTV9LHsiaWQiOjEyNjQ3NywidGVhbSI6MCwibmFtZSI6InVwbG9hZCIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjE4fSx7ImlkIjo1OTIyMCwidGVhbSI6MCwibmFtZSI6Im1pbnVzLWxpbmUiLCJjb2xvciI6IiMwMDAwMDAiLCJwcmVtaXVtIjowLCJzb3J0IjoxNn0seyJpZCI6NzA0MjEsInRlYW0iOjAsIm5hbWUiOiJhZGQtc29uZyIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjE3fSx7ImlkIjoxMjY0ODgsInRlYW0iOjAsIm5hbWUiOiJkb3dubG9hZCIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjE5fSx7ImlkIjo2MTQ1NiwidGVhbSI6MCwibmFtZSI6ImVkaXQiLCJjb2xvciI6IiMwMDAwMDAiLCJwcmVtaXVtIjowLCJzb3J0IjoyMH1dfQ== \ No newline at end of file diff --git a/docs/.vuepress/fonts/font/Flaticon.eot b/docs/.vuepress/fonts/font/Flaticon.eot new file mode 100644 index 0000000..a00fe08 Binary files /dev/null and b/docs/.vuepress/fonts/font/Flaticon.eot differ diff --git a/docs/.vuepress/fonts/font/Flaticon.svg b/docs/.vuepress/fonts/font/Flaticon.svg new file mode 100644 index 0000000..9243523 --- /dev/null +++ b/docs/.vuepress/fonts/font/Flaticon.svg @@ -0,0 +1,146 @@ + + + + + +Created by FontForge 20170731 at Wed May 8 18:52:15 2019 + By root + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/.vuepress/fonts/font/Flaticon.ttf b/docs/.vuepress/fonts/font/Flaticon.ttf new file mode 100644 index 0000000..6ce8f0c Binary files /dev/null and b/docs/.vuepress/fonts/font/Flaticon.ttf differ diff --git a/docs/.vuepress/fonts/font/Flaticon.woff b/docs/.vuepress/fonts/font/Flaticon.woff new file mode 100644 index 0000000..ce08aca Binary files /dev/null and b/docs/.vuepress/fonts/font/Flaticon.woff differ diff --git a/docs/.vuepress/fonts/font/Flaticon.woff2 b/docs/.vuepress/fonts/font/Flaticon.woff2 new file mode 100644 index 0000000..a245122 Binary files /dev/null and b/docs/.vuepress/fonts/font/Flaticon.woff2 differ diff --git a/docs/.vuepress/fonts/font/_flaticon.scss b/docs/.vuepress/fonts/font/_flaticon.scss new file mode 100644 index 0000000..c73b537 --- /dev/null +++ b/docs/.vuepress/fonts/font/_flaticon.scss @@ -0,0 +1,80 @@ + /* + Flaticon icon font: Flaticon + Creation date: 08/05/2019 18:52 + */ + + @font-face { + font-family: "Flaticon"; + src: url("./Flaticon.eot"); + src: url("./Flaticon.eot?#iefix") format("embedded-opentype"), + url("./Flaticon.woff2") format("woff2"), + url("./Flaticon.woff") format("woff"), + url("./Flaticon.ttf") format("truetype"), + url("./Flaticon.svg#Flaticon") format("svg"); + font-weight: normal; + font-style: normal; +} + +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: "Flaticon"; + src: url("./Flaticon.svg#Flaticon") format("svg"); + } +} + + .fi:before{ + display: inline-block; + font-family: "Flaticon"; + font-style: normal; + font-weight: normal; + font-variant: normal; + line-height: 1; + text-decoration: inherit; + text-rendering: optimizeLegibility; + text-transform: none; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-smoothing: antialiased; + } + + .flaticon-behance-logo:before { content: "\f100"; } +.flaticon-dribbble-logo:before { content: "\f101"; } +.flaticon-github-logo:before { content: "\f102"; } +.flaticon-code:before { content: "\f103"; } +.flaticon-twitter-logo-silhouette:before { content: "\f104"; } +.flaticon-profile:before { content: "\f105"; } +.flaticon-close:before { content: "\f106"; } +.flaticon-check-symbol:before { content: "\f107"; } +.flaticon-delete:before { content: "\f108"; } +.flaticon-arrow:before { content: "\f109"; } +.flaticon-arrow-1:before { content: "\f10a"; } +.flaticon-chevron:before { content: "\f10b"; } +.flaticon-down:before { content: "\f10c"; } +.flaticon-warning:before { content: "\f10d"; } +.flaticon-magnifying-glass:before { content: "\f10e"; } +.flaticon-minus-line:before { content: "\f10f"; } +.flaticon-add-song:before { content: "\f110"; } +.flaticon-upload:before { content: "\f111"; } +.flaticon-download:before { content: "\f112"; } +.flaticon-edit:before { content: "\f113"; } + + $font-Flaticon-behance-logo: "\f100"; + $font-Flaticon-dribbble-logo: "\f101"; + $font-Flaticon-github-logo: "\f102"; + $font-Flaticon-code: "\f103"; + $font-Flaticon-twitter-logo-silhouette: "\f104"; + $font-Flaticon-profile: "\f105"; + $font-Flaticon-close: "\f106"; + $font-Flaticon-check-symbol: "\f107"; + $font-Flaticon-delete: "\f108"; + $font-Flaticon-arrow: "\f109"; + $font-Flaticon-arrow-1: "\f10a"; + $font-Flaticon-chevron: "\f10b"; + $font-Flaticon-down: "\f10c"; + $font-Flaticon-warning: "\f10d"; + $font-Flaticon-magnifying-glass: "\f10e"; + $font-Flaticon-minus-line: "\f10f"; + $font-Flaticon-add-song: "\f110"; + $font-Flaticon-upload: "\f111"; + $font-Flaticon-download: "\f112"; + $font-Flaticon-edit: "\f113"; \ No newline at end of file diff --git a/docs/.vuepress/fonts/font/flaticon.css b/docs/.vuepress/fonts/font/flaticon.css new file mode 100644 index 0000000..07153b6 --- /dev/null +++ b/docs/.vuepress/fonts/font/flaticon.css @@ -0,0 +1,52 @@ + /* + Flaticon icon font: Flaticon + Creation date: 08/05/2019 18:52 + */ + +@font-face { + font-family: "Flaticon"; + src: url("./Flaticon.eot"); + src: url("./Flaticon.eot?#iefix") format("embedded-opentype"), + url("./Flaticon.woff2") format("woff2"), + url("./Flaticon.woff") format("woff"), + url("./Flaticon.ttf") format("truetype"), + url("./Flaticon.svg#Flaticon") format("svg"); + font-weight: normal; + font-style: normal; +} + +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: "Flaticon"; + src: url("./Flaticon.svg#Flaticon") format("svg"); + } +} + +[class^="flaticon-"]:before, [class*=" flaticon-"]:before, +[class^="flaticon-"]:after, [class*=" flaticon-"]:after { + font-family: Flaticon; + font-size: 1rem; + font-style: normal; +/* margin-left: 20px; */ +} + +.flaticon-behance:before { content: "\f100"; } +.flaticon-dribbble:before { content: "\f101"; } +.flaticon-github:before { content: "\f102"; } +.flaticon-code:before { content: "\f103"; } +.flaticon-twitter:before { content: "\f104"; } +.flaticon-profile:before { content: "\f105"; } +.flaticon-close:before { content: "\f106"; } +.flaticon-check:before { content: "\f107"; } +.flaticon-delete:before { content: "\f108"; } +.flaticon-arrow:before { content: "\f109"; } +.flaticon-left:before { content: "\f10a"; } +.flaticon-up:before { content: "\f10b"; } +.flaticon-down:before { content: "\f10c"; } +.flaticon-warning:before { content: "\f10d"; } +.flaticon-search:before { content: "\f10e"; } +.flaticon-less:before { content: "\f10f"; } +.flaticon-add:before { content: "\f110"; } +.flaticon-upload:before { content: "\f111"; } +.flaticon-download:before { content: "\f112"; } +.flaticon-edit:before { content: "\f113"; } diff --git a/docs/.vuepress/fonts/font/flaticon.html b/docs/.vuepress/fonts/font/flaticon.html new file mode 100644 index 0000000..053baa2 --- /dev/null +++ b/docs/.vuepress/fonts/font/flaticon.html @@ -0,0 +1,555 @@ + + + + + + + + Flaticon WebFont + + + + + + + + +
+ + Font Demo +
+ + +
+ +

Instructions

+ + + +
+ + + + +
+ + +
+
.flaticon-behance-logo
+
Author: SimpleIcon
+
+ +
+
.flaticon-dribbble-logo
+
Author: Freepik
+
+ +
+
.flaticon-github-logo
+
Author: Dave Gandy
+
+ +
+
.flaticon-code
+
Author: Dave Gandy
+
+ +
+
.flaticon-twitter-logo-silhouette
+ +
+ +
+
.flaticon-profile
+
Author: Lucy G
+
+ +
+
.flaticon-close
+
Author: Cole Bemis
+
+ +
+
.flaticon-check-symbol
+
Author: Google
+
+ +
+
.flaticon-delete
+
Author: Kiranshastry
+
+ +
+
.flaticon-arrow
+
Author: Dave Gandy
+
+ +
+
.flaticon-arrow-1
+
Author: Dave Gandy
+
+ +
+
.flaticon-chevron
+
Author: Dave Gandy
+
+ +
+
.flaticon-down
+
Author: Dave Gandy
+
+ +
+
.flaticon-warning
+ +
+ +
+
.flaticon-magnifying-glass
+ +
+ +
+
.flaticon-minus-line
+
Author: Freepik
+
+ +
+
.flaticon-add-song
+ +
+ +
+
.flaticon-upload
+ +
+ +
+
.flaticon-download
+ +
+ +
+
.flaticon-edit
+
Author: Freepik
+
+ + +
+ + + +
+ +
License and attribution:
Font generated by flaticon.com.

Under CC: Freepik, Dave Gandy, Elegant Themes, Lucy G, Cole Bemis, Google, Kiranshastry, SimpleIcon, Gregor Cresnar, Vectors Market, Egor Rumyantsev

+
+
Copy the Attribution License:
+ + + +
+ +
+ +
Examples:
+ +
+

+ + <i class="flaticon-behance-logo"></i> +

+
+ +
+

+ + <i class="flaticon-dribbble-logo"></i> +

+
+ +
+

+ + <i class="flaticon-github-logo"></i> +

+
+ +
+

+ + <i class="flaticon-code"></i> +

+
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/.vuepress/fonts/license/license.pdf b/docs/.vuepress/fonts/license/license.pdf new file mode 100644 index 0000000..bdeedb7 Binary files /dev/null and b/docs/.vuepress/fonts/license/license.pdf differ diff --git a/docs/.vuepress/public/favicon-vuttons.jpg b/docs/.vuepress/public/favicon-vuttons.jpg new file mode 100644 index 0000000..accdff5 Binary files /dev/null and b/docs/.vuepress/public/favicon-vuttons.jpg differ diff --git a/docs/.vuepress/public/favicon-vuttons2.jpg b/docs/.vuepress/public/favicon-vuttons2.jpg new file mode 100644 index 0000000..9248414 Binary files /dev/null and b/docs/.vuepress/public/favicon-vuttons2.jpg differ diff --git a/docs/.vuepress/public/header-vuettons.jpg b/docs/.vuepress/public/header-vuettons.jpg new file mode 100644 index 0000000..d0c8d93 Binary files /dev/null and b/docs/.vuepress/public/header-vuettons.jpg differ diff --git a/docs/.vuepress/public/logo-vuttons.jpg b/docs/.vuepress/public/logo-vuttons.jpg new file mode 100644 index 0000000..e26f264 Binary files /dev/null and b/docs/.vuepress/public/logo-vuttons.jpg differ diff --git a/docs/.vuepress/public/tiro.jpg b/docs/.vuepress/public/tiro.jpg new file mode 100644 index 0000000..49847e6 Binary files /dev/null and b/docs/.vuepress/public/tiro.jpg differ diff --git a/docs/.vuepress/styles/palette.styl b/docs/.vuepress/styles/palette.styl new file mode 100644 index 0000000..aa15d70 --- /dev/null +++ b/docs/.vuepress/styles/palette.styl @@ -0,0 +1,6 @@ +$accentColor = #7289da +$textColor = #2c3e50 +$borderColor = #eaecef +$codeBgColor = #f5f7fb + +$sidebarWidth = 180px diff --git a/docs/.vuepress/theme/LICENSE b/docs/.vuepress/theme/LICENSE new file mode 100644 index 0000000..15f1f7e --- /dev/null +++ b/docs/.vuepress/theme/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018-present, Yuxi (Evan) You + +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. diff --git a/docs/.vuepress/theme/components/AlgoliaSearchBox.vue b/docs/.vuepress/theme/components/AlgoliaSearchBox.vue new file mode 100644 index 0000000..41b62af --- /dev/null +++ b/docs/.vuepress/theme/components/AlgoliaSearchBox.vue @@ -0,0 +1,155 @@ + + + + + diff --git a/docs/.vuepress/theme/components/Carbon.vue b/docs/.vuepress/theme/components/Carbon.vue new file mode 100644 index 0000000..f88339c --- /dev/null +++ b/docs/.vuepress/theme/components/Carbon.vue @@ -0,0 +1,167 @@ + + + + diff --git a/docs/.vuepress/theme/components/CarbonVuttons.vue b/docs/.vuepress/theme/components/CarbonVuttons.vue new file mode 100644 index 0000000..6beddf7 --- /dev/null +++ b/docs/.vuepress/theme/components/CarbonVuttons.vue @@ -0,0 +1,166 @@ + + + + diff --git a/docs/.vuepress/theme/components/DropdownLink.vue b/docs/.vuepress/theme/components/DropdownLink.vue new file mode 100644 index 0000000..2c6e44a --- /dev/null +++ b/docs/.vuepress/theme/components/DropdownLink.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/docs/.vuepress/theme/components/DropdownTransition.vue b/docs/.vuepress/theme/components/DropdownTransition.vue new file mode 100644 index 0000000..8c711a1 --- /dev/null +++ b/docs/.vuepress/theme/components/DropdownTransition.vue @@ -0,0 +1,33 @@ + + + + + diff --git a/docs/.vuepress/theme/components/Home.vue b/docs/.vuepress/theme/components/Home.vue new file mode 100644 index 0000000..5185950 --- /dev/null +++ b/docs/.vuepress/theme/components/Home.vue @@ -0,0 +1,162 @@ + + + + + diff --git a/docs/.vuepress/theme/components/NavLink.vue b/docs/.vuepress/theme/components/NavLink.vue new file mode 100644 index 0000000..ed40339 --- /dev/null +++ b/docs/.vuepress/theme/components/NavLink.vue @@ -0,0 +1,49 @@ + + + diff --git a/docs/.vuepress/theme/components/NavLinks.vue b/docs/.vuepress/theme/components/NavLinks.vue new file mode 100644 index 0000000..5efe435 --- /dev/null +++ b/docs/.vuepress/theme/components/NavLinks.vue @@ -0,0 +1,156 @@ + + + + + diff --git a/docs/.vuepress/theme/components/Navbar.vue b/docs/.vuepress/theme/components/Navbar.vue new file mode 100644 index 0000000..681522f --- /dev/null +++ b/docs/.vuepress/theme/components/Navbar.vue @@ -0,0 +1,130 @@ + + + + + diff --git a/docs/.vuepress/theme/components/Page.vue b/docs/.vuepress/theme/components/Page.vue new file mode 100644 index 0000000..0debadf --- /dev/null +++ b/docs/.vuepress/theme/components/Page.vue @@ -0,0 +1,299 @@ + + + + + diff --git a/docs/.vuepress/theme/components/Sidebar.vue b/docs/.vuepress/theme/components/Sidebar.vue new file mode 100644 index 0000000..b165f3e --- /dev/null +++ b/docs/.vuepress/theme/components/Sidebar.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/docs/.vuepress/theme/components/SidebarButton.vue b/docs/.vuepress/theme/components/SidebarButton.vue new file mode 100644 index 0000000..b8fb415 --- /dev/null +++ b/docs/.vuepress/theme/components/SidebarButton.vue @@ -0,0 +1,27 @@ + + + diff --git a/docs/.vuepress/theme/components/SidebarGroup.vue b/docs/.vuepress/theme/components/SidebarGroup.vue new file mode 100644 index 0000000..7fb405e --- /dev/null +++ b/docs/.vuepress/theme/components/SidebarGroup.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/docs/.vuepress/theme/components/SidebarLink.vue b/docs/.vuepress/theme/components/SidebarLink.vue new file mode 100644 index 0000000..16a27cd --- /dev/null +++ b/docs/.vuepress/theme/components/SidebarLink.vue @@ -0,0 +1,112 @@ + + + diff --git a/docs/.vuepress/theme/components/SidebarLinks.vue b/docs/.vuepress/theme/components/SidebarLinks.vue new file mode 100644 index 0000000..dfdb0be --- /dev/null +++ b/docs/.vuepress/theme/components/SidebarLinks.vue @@ -0,0 +1,86 @@ + + + diff --git a/docs/.vuepress/theme/components/logo-min.vue b/docs/.vuepress/theme/components/logo-min.vue new file mode 100644 index 0000000..c267e3b --- /dev/null +++ b/docs/.vuepress/theme/components/logo-min.vue @@ -0,0 +1,51 @@ + + + + diff --git a/docs/.vuepress/theme/components/logo.vue b/docs/.vuepress/theme/components/logo.vue new file mode 100644 index 0000000..7628e2c --- /dev/null +++ b/docs/.vuepress/theme/components/logo.vue @@ -0,0 +1,42 @@ + + + + diff --git a/docs/.vuepress/theme/global-components/Badge.vue b/docs/.vuepress/theme/global-components/Badge.vue new file mode 100644 index 0000000..0403cbd --- /dev/null +++ b/docs/.vuepress/theme/global-components/Badge.vue @@ -0,0 +1,44 @@ + + + diff --git a/docs/.vuepress/theme/global-components/card.vue b/docs/.vuepress/theme/global-components/card.vue new file mode 100644 index 0000000..7ac8209 --- /dev/null +++ b/docs/.vuepress/theme/global-components/card.vue @@ -0,0 +1,54 @@ + + + diff --git a/docs/.vuepress/theme/global-components/codex.vue b/docs/.vuepress/theme/global-components/codex.vue new file mode 100644 index 0000000..699d6ad --- /dev/null +++ b/docs/.vuepress/theme/global-components/codex.vue @@ -0,0 +1,128 @@ + + + diff --git a/docs/.vuepress/theme/index.js b/docs/.vuepress/theme/index.js new file mode 100644 index 0000000..0bf3d1e --- /dev/null +++ b/docs/.vuepress/theme/index.js @@ -0,0 +1,28 @@ +const path = require('path') + +// Theme API. +module.exports = (options, ctx) => ({ + alias () { + const { themeConfig, siteConfig } = ctx + // resolve algolia + const isAlgoliaSearch = ( + themeConfig.algolia + || Object.keys(siteConfig.locales && themeConfig.locales || {}) + .some(base => themeConfig.locales[base].algolia) + ) + return { + '@AlgoliaSearchBox': isAlgoliaSearch + ? path.resolve(__dirname, 'components/AlgoliaSearchBox.vue') + : path.resolve(__dirname, 'noopModule.js') + } + }, + + plugins: [ + '@vuepress/active-header-links', + '@vuepress/search', + '@vuepress/plugin-nprogress', + ['@vuepress/container', { type: 'tip' }], + ['@vuepress/container', { type: 'warning' }], + ['@vuepress/container', { type: 'danger' }] + ] +}) diff --git a/docs/.vuepress/theme/layouts/404.vue b/docs/.vuepress/theme/layouts/404.vue new file mode 100644 index 0000000..4eef36d --- /dev/null +++ b/docs/.vuepress/theme/layouts/404.vue @@ -0,0 +1,28 @@ + + + + + diff --git a/docs/.vuepress/theme/layouts/Layout.vue b/docs/.vuepress/theme/layouts/Layout.vue new file mode 100644 index 0000000..d1960a3 --- /dev/null +++ b/docs/.vuepress/theme/layouts/Layout.vue @@ -0,0 +1,150 @@ + + + + + + diff --git a/docs/.vuepress/theme/noopModule.js b/docs/.vuepress/theme/noopModule.js new file mode 100644 index 0000000..b1c6ea4 --- /dev/null +++ b/docs/.vuepress/theme/noopModule.js @@ -0,0 +1 @@ +export default {} diff --git a/docs/.vuepress/theme/styles/arrow.styl b/docs/.vuepress/theme/styles/arrow.styl new file mode 100644 index 0000000..20bffc0 --- /dev/null +++ b/docs/.vuepress/theme/styles/arrow.styl @@ -0,0 +1,22 @@ +@require './config' + +.arrow + display inline-block + width 0 + height 0 + &.up + border-left 4px solid transparent + border-right 4px solid transparent + border-bottom 6px solid $arrowBgColor + &.down + border-left 4px solid transparent + border-right 4px solid transparent + border-top 6px solid $arrowBgColor + &.right + border-top 4px solid transparent + border-bottom 4px solid transparent + border-left 6px solid $arrowBgColor + &.left + border-top 4px solid transparent + border-bottom 4px solid transparent + border-right 6px solid $arrowBgColor diff --git a/docs/.vuepress/theme/styles/code.styl b/docs/.vuepress/theme/styles/code.styl new file mode 100644 index 0000000..63dfaca --- /dev/null +++ b/docs/.vuepress/theme/styles/code.styl @@ -0,0 +1,136 @@ +.content + code + color $accentColor + padding 0.25rem 0.5rem + margin 0 + font-size 0.85em + // background-color rgba(27,31,35,0.05) + background-color alpha($accentColor,.1) + border-radius 3px + .token + &.deleted + color #EC5975 + &.inserted + color $accentColor + +.content + pre, pre[class*="language-"] + line-height 1.4 + padding 1.25rem 1.5rem + margin 0.85rem 0 + background-color $codeBgColor + border-radius 6px + overflow auto + code + color $accentColor + padding 0 + background-color transparent + border-radius 0 + +div[class*="language-"] + position relative + background-color alpha($accentColor,.1) + border-radius 6px + .highlight-lines + user-select none + padding-top 1.3rem + position absolute + top 0 + left 0 + width 100% + line-height 1.4 + .highlighted + background-color rgba(0, 0, 0, 66%) + pre, pre[class*="language-"] + background transparent + position relative + z-index 1 + &::before + position absolute + z-index 3 + top 0.8em + right 1em + font-size 0.75rem + color rgba(255, 255, 255, 0.4) + &:not(.line-numbers-mode) + .line-numbers-wrapper + display none + &.line-numbers-mode + .highlight-lines .highlighted + position relative + &:before + content ' ' + position absolute + z-index 3 + left 0 + top 0 + display block + width $lineNumbersWrapperWidth + height 100% + background-color rgba(0, 0, 0, 66%) + pre + padding-left $lineNumbersWrapperWidth + 1 rem + vertical-align middle + .line-numbers-wrapper + position absolute + top 0 + width $lineNumbersWrapperWidth + text-align center + color rgba(255, 255, 255, 0.3) + padding 1.25rem 0 + line-height 1.4 + br + user-select none + .line-number + position relative + z-index 4 + user-select none + font-size 0.85em + &::after + content '' + position absolute + z-index 2 + top 0 + left 0 + width $lineNumbersWrapperWidth + height 100% + border-radius 6px 0 0 6px + border-right 1px solid rgba(0, 0, 0, 66%) + background-color $codeBgColor + + +for lang in $codeLang + div{'[class~="language-' + lang + '"]'} + &:before + content ('' + lang) + +div[class~="language-javascript"] + &:before + content "js" + +div[class~="language-typescript"] + &:before + content "ts" + +div[class~="language-markup"] + &:before + content "html" + +div[class~="language-markdown"] + &:before + content "md" + +div[class~="language-json"]:before + content "json" + +div[class~="language-ruby"]:before + content "rb" + +div[class~="language-python"]:before + content "py" + +div[class~="language-bash"]:before + content "sh" + +div[class~="language-php"]:before + content "php" diff --git a/docs/.vuepress/theme/styles/custom-blocks.styl b/docs/.vuepress/theme/styles/custom-blocks.styl new file mode 100644 index 0000000..2d07835 --- /dev/null +++ b/docs/.vuepress/theme/styles/custom-blocks.styl @@ -0,0 +1,30 @@ +.custom-block + .custom-block-title + font-weight 600 + margin-bottom -0.4rem + &.tip, &.warning, &.danger + padding .1rem 1.5rem + border-left-width .5rem + border-left-style solid + margin 1rem 0 + &.tip + background-color #f3f5f7 + border-color #42b983 + &.warning + background-color rgba(255,229,100,.3) + border-color darken(#ffe564, 35%) + color darken(#ffe564, 70%) + .custom-block-title + color darken(#ffe564, 50%) + a + color $textColor + &.danger + background-color #ffe6e6 + border-color darken(red, 20%) + color darken(red, 70%) + .custom-block-title + color darken(red, 40%) + a + color $textColor + + diff --git a/docs/.vuepress/theme/styles/mobile.styl b/docs/.vuepress/theme/styles/mobile.styl new file mode 100644 index 0000000..b35e59c --- /dev/null +++ b/docs/.vuepress/theme/styles/mobile.styl @@ -0,0 +1,37 @@ +@require './config' + +$mobileSidebarWidth = $sidebarWidth * 0.82 + +// narrow desktop / iPad +@media (max-width: $MQNarrow) + .sidebar + font-size 15px + width $mobileSidebarWidth + .page + padding-left $mobileSidebarWidth + +// wide mobile +@media (max-width: $MQMobile) + .sidebar + top 0 + padding-top $navbarHeight + transform translateX(-100%) + transition transform .2s ease + .page + padding-left 0 + .theme-container + &.sidebar-open + .sidebar + transform translateX(0) + &.no-navbar + .sidebar + padding-top: 0 + +// narrow mobile +@media (max-width: $MQMobileNarrow) + h1 + font-size 1.9rem + .content + div[class*="language-"] + margin 0.85rem -1.5rem + border-radius 0 diff --git a/docs/.vuepress/theme/styles/theme.styl b/docs/.vuepress/theme/styles/theme.styl new file mode 100644 index 0000000..39f0d97 --- /dev/null +++ b/docs/.vuepress/theme/styles/theme.styl @@ -0,0 +1,263 @@ +@require './code' +@require './custom-blocks' +@require './arrow' +@require './wrapper' +@require './toc' + +html, body + padding 0 + margin 0 + background-color #fff + +body + font-family -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif + -webkit-font-smoothing antialiased + -moz-osx-font-smoothing grayscale + font-size 16px + color $textColor + +*::-webkit-scrollbar + width: 5px + height: 5px + display: block + +*::-webkit-scrollbar-thumb + background: #e4eaf5 + border-radius: 5px + +*::-webkit-scrollbar-thumb:hover + background: $accentColor + +.search-box + display: none !important + input + border 2px solid #fff + height auto !important + line-height: 0px + padding: 7px + width: 140px + background: transparent url(/vuttons/assets/img/search.83621669.svg) 0.6rem 0.5rem no-repeat + &:focus + background: #fff + +.demo + display flex + align-items center + justify-content center + padding 30px + flex-wrap: wrap + button + margin 10px + +.page + .text + ul + li + list-style: none + position relative + &::before + color: $accentColor + /* color of bullet or square */ + + content: "\2022" + /* Unicode of character to precede the list item */ + + font-size: 1.2em + /* em or %*/ + + // padding-right: .5rem + /* use em*/ + left -15px + top calc(50% - 15px) + + position: absolute + + + +.navbar + position fixed + z-index 2000 + top 0 + left 0 + right 0 + height $navbarHeight + // background-color #fff + background-color $accentColor + box-sizing border-box + // border-bottom 1px solid $borderColor + +.sidebar-mask + position fixed + z-index 9 + top 0 + left 0 + width 100vw + height 100vh + display none + +.sidebar + transform: translate(-100%) + font-size 16px + // background-color #fff + background: $accentColor + width $sidebarWidth + position fixed + z-index 10 + margin 0 + top $navbarHeight + left 0 + bottom 0 + box-sizing border-box + // border-right 1px solid $borderColor + color rgb(255,255,255) + +.docsx + padding-top: 100px + .page + padding-left $sidebarWidth + .headerx + display: none + .sidebar + transform: translate(0%) + position fixed + &:after + top: 0px + position absolute + content: '' + right: -25px + width: 25px + height: 25px + border-radius: 50% 0px + box-shadow: -4px -4px 0 0 $accentColor +.content:not(.custom) + @extend $wrapper + > *:first-child + margin-top $navbarHeight + a:hover + text-decoration underline + p.demo + padding 1rem 1.5rem + border 1px solid #ddd + border-radius 4px + img + max-width 100% + +.content.custom + padding 0 + margin 0 + img + max-width 100% + +a + font-weight 500 + color $accentColor + + text-decoration none + +p a code + font-weight 400 + color $accentColor + +kbd + background #eee + border solid 0.15rem #ddd + border-bottom solid 0.25rem #ddd + border-radius 0.15rem + padding 0 0.15em + +blockquote + font-size .9rem + color #999 + border-left .5rem solid #dfe2e5 + margin 0.5rem 0 + padding .25rem 0 .25rem 1rem + & > p + margin 0 + +ul, ol + padding-left 1.2em + +strong + font-weight 600 + +h1, h2, h3, h4, h5, h6 + font-weight 600 + // line-height 1.25 + .content:not(.custom) > & + margin-top (0.5rem - $navbarHeight) + padding-top ($navbarHeight + 1rem) + margin-bottom 0 + &:first-child + margin-top -1.5rem + margin-bottom 1rem + + p, + pre, + .custom-block + margin-top 2rem + &:hover .header-anchor + opacity: 1 + +h1 + font-size 2.2rem + +h2 + font-size 1.65rem + padding-bottom 1rem + border-bottom 1px solid $borderColor + +h3 + font-size 1.35rem + +a.header-anchor + font-size 0.85em + float left + margin-left -0.87em + padding-right 0.23em + margin-top 0.125em + opacity 0 + &:hover + text-decoration none + +code, kbd, .line-number + font-family source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace + +p, ul, ol + line-height 1.7 + +hr + border 0 + border-top 1px solid $borderColor + +table + border-collapse collapse + margin 1rem 0 + display: block + overflow-x: auto + +tr + border-top 1px solid #dfe2e5 + &:nth-child(2n) + background-color #f6f8fa + +th, td + border 1px solid #dfe2e5 + padding .6em 1em + +.theme-container + &.sidebar-open + .sidebar-mask + display: block + &.no-navbar + .content:not(.custom) > h1, h2, h3, h4, h5, h6 + margin-top 1.5rem + padding-top 0 + .sidebar + top 0 + + +@media (min-width: ($MQMobile + 1px)) + .theme-container.no-sidebar + .sidebar + display none + .page + padding-left 0 + +@require 'mobile.styl' diff --git a/docs/.vuepress/theme/styles/toc.styl b/docs/.vuepress/theme/styles/toc.styl new file mode 100644 index 0000000..d3e7106 --- /dev/null +++ b/docs/.vuepress/theme/styles/toc.styl @@ -0,0 +1,3 @@ +.table-of-contents + .badge + vertical-align middle diff --git a/docs/.vuepress/theme/styles/wrapper.styl b/docs/.vuepress/theme/styles/wrapper.styl new file mode 100644 index 0000000..a99262c --- /dev/null +++ b/docs/.vuepress/theme/styles/wrapper.styl @@ -0,0 +1,9 @@ +$wrapper + max-width $contentWidth + margin 0 auto + padding 2rem 2.5rem + @media (max-width: $MQNarrow) + padding 2rem + @media (max-width: $MQMobileNarrow) + padding 1.5rem + diff --git a/docs/.vuepress/theme/util/index.js b/docs/.vuepress/theme/util/index.js new file mode 100644 index 0000000..9913ff7 --- /dev/null +++ b/docs/.vuepress/theme/util/index.js @@ -0,0 +1,239 @@ +export const hashRE = /#.*$/ +export const extRE = /\.(md|html)$/ +export const endingSlashRE = /\/$/ +export const outboundRE = /^(https?:|mailto:|tel:)/ + +export function normalize (path) { + return decodeURI(path) + .replace(hashRE, '') + .replace(extRE, '') +} + +export function getHash (path) { + const match = path.match(hashRE) + if (match) { + return match[0] + } +} + +export function isExternal (path) { + return outboundRE.test(path) +} + +export function isMailto (path) { + return /^mailto:/.test(path) +} + +export function isTel (path) { + return /^tel:/.test(path) +} + +export function ensureExt (path) { + if (isExternal(path)) { + return path + } + const hashMatch = path.match(hashRE) + const hash = hashMatch ? hashMatch[0] : '' + const normalized = normalize(path) + + if (endingSlashRE.test(normalized)) { + return path + } + return normalized + '.html' + hash +} + +export function isActive (route, path) { + const routeHash = route.hash + const linkHash = getHash(path) + if (linkHash && routeHash !== linkHash) { + return false + } + const routePath = normalize(route.path) + const pagePath = normalize(path) + return routePath === pagePath +} + +export function resolvePage (pages, rawPath, base) { + if (base) { + rawPath = resolvePath(rawPath, base) + } + const path = normalize(rawPath) + for (let i = 0; i < pages.length; i++) { + if (normalize(pages[i].regularPath) === path) { + return Object.assign({}, pages[i], { + type: 'page', + path: ensureExt(pages[i].path) + }) + } + } + console.error(`[vuepress] No matching page found for sidebar item "${rawPath}"`) + return {} +} + +function resolvePath (relative, base, append) { + const firstChar = relative.charAt(0) + if (firstChar === '/') { + return relative + } + + if (firstChar === '?' || firstChar === '#') { + return base + relative + } + + const stack = base.split('/') + + // remove trailing segment if: + // - not appending + // - appending to trailing slash (last segment is empty) + if (!append || !stack[stack.length - 1]) { + stack.pop() + } + + // resolve relative path + const segments = relative.replace(/^\//, '').split('/') + for (let i = 0; i < segments.length; i++) { + const segment = segments[i] + if (segment === '..') { + stack.pop() + } else if (segment !== '.') { + stack.push(segment) + } + } + + // ensure leading slash + if (stack[0] !== '') { + stack.unshift('') + } + + return stack.join('/') +} + +/** + * @param { Page } page + * @param { string } regularPath + * @param { SiteData } site + * @param { string } localePath + * @returns { SidebarGroup } + */ +export function resolveSidebarItems (page, regularPath, site, localePath) { + const { pages, themeConfig } = site + + const localeConfig = localePath && themeConfig.locales + ? themeConfig.locales[localePath] || themeConfig + : themeConfig + + const pageSidebarConfig = page.frontmatter.sidebar || localeConfig.sidebar || themeConfig.sidebar + if (pageSidebarConfig === 'auto') { + return resolveHeaders(page) + } + + const sidebarConfig = localeConfig.sidebar || themeConfig.sidebar + if (!sidebarConfig) { + return [] + } else { + const { base, config } = resolveMatchingConfig(regularPath, sidebarConfig) + return config + ? config.map(item => resolveItem(item, pages, base)) + : [] + } +} + +/** + * @param { Page } page + * @returns { SidebarGroup } + */ +function resolveHeaders (page) { + const headers = groupHeaders(page.headers || []) + return [{ + type: 'group', + collapsable: false, + title: page.title, + path: null, + children: headers.map(h => ({ + type: 'auto', + title: h.title, + basePath: page.path, + path: page.path + '#' + h.slug, + children: h.children || [] + })) + }] +} + +export function groupHeaders (headers) { + // group h3s under h2 + headers = headers.map(h => Object.assign({}, h)) + let lastH2 + headers.forEach(h => { + if (h.level === 2) { + lastH2 = h + } else if (lastH2) { + (lastH2.children || (lastH2.children = [])).push(h) + } + }) + return headers.filter(h => h.level === 2) +} + +export function resolveNavLinkItem (linkItem) { + return Object.assign(linkItem, { + type: linkItem.items && linkItem.items.length ? 'links' : 'link' + }) +} + +/** + * @param { Route } route + * @param { Array | Array | [link: string]: SidebarConfig } config + * @returns { base: string, config: SidebarConfig } + */ +export function resolveMatchingConfig (regularPath, config) { + if (Array.isArray(config)) { + return { + base: '/', + config: config + } + } + for (const base in config) { + if (ensureEndingSlash(regularPath).indexOf(encodeURI(base)) === 0) { + return { + base, + config: config[base] + } + } + } + return {} +} + +function ensureEndingSlash (path) { + return /(\.html|\/)$/.test(path) + ? path + : path + '/' +} + +function resolveItem (item, pages, base, groupDepth = 1) { + if (typeof item === 'string') { + return resolvePage(pages, item, base) + } else if (Array.isArray(item)) { + return Object.assign(resolvePage(pages, item[0], base), { + title: item[1] + }) + } else { + if (groupDepth > 3) { + console.error( + '[vuepress] detected a too deep nested sidebar group.' + ) + } + const children = item.children || [] + if (children.length === 0 && item.path) { + return Object.assign(resolvePage(pages, item.path, base), { + title: item.title + }) + } + return { + type: 'group', + path: item.path, + title: item.title, + sidebarDepth: item.sidebarDepth, + children: children.map(child => resolveItem(child, pages, base, groupDepth + 1)), + collapsable: item.collapsable !== false + } + } +} diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..184c140 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,278 @@ +--- +sidebar: auto +--- + + + + ## Type 1 + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Type 2 + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Type 3 + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Type 4 + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Type 5 + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Type 6 + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Type 7 + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Vuttons Coming soon + + We want to create many types of buttons and features in the next updates, the idea is to have a lot of buttons and many possibilities to choose and edit for each project + + + diff --git a/docs/docs/README.md b/docs/docs/README.md new file mode 100644 index 0000000..d3aac56 --- /dev/null +++ b/docs/docs/README.md @@ -0,0 +1,352 @@ +--- +sidebar: auto +pageClass: docsx +docs: true +--- + +# Documentation + + + + ## Colors + + By default Vuttons has the colors (**primary**, **success**, **danger**, **warning**, **dark**) and can be used in any button in the color property, you can also put a custom color as value for example `#f0f` o `rgb(200,200,100)` + +:::warning + The colors allowed as a value are **RGB** y **HEX** +::: + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Active + + All the buttons can be in the active state, almost all the buttons have a different active style + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Disabled + + All buttons can be in the disabled state and with a low opacity style to inform the user + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Loading + + The buttons can be in a loading state adding the property, almost all the buttons have a different load. + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Submit + + You can have a submit status on the buttons with the `submit` property, almost all the buttons have a different submit. + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Href + + If you need the button to be like a link you can do it with the `href` property and its value is a url as you would with an element `` of **html** + +:::tip + By default it does not open a new weft, if you need that functionality for it we have the property `blank` that simulates the tag **html** `target="_blank"` +::: + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## To + + You have the possibility to use [vue-router](https://router.vuejs.org/) with vuttons by adding the `to` property and as a value the route as if it were a `this.$router.push(...)` + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ + + + ## Size + + You can change the size of the button with the `size` property, the allowed values ​​are: + + - extraLarge + - large + - default + - small + - mini + + :::tip + the buttons are aligned so they are all of the same height and so do not break the design line, if you want to change a button to a specific size you can do it using css with the class `.vut` + ::: + +
+ + + +
+ +
+ + ```html + + ``` + +
+ +
+ diff --git a/package.json b/package.json new file mode 100644 index 0000000..e1da60f --- /dev/null +++ b/package.json @@ -0,0 +1,56 @@ +{ + "name": "vuttons", + "version": "0.0.1", + "private": false, + "description": "Components buttons for Vue js", + "author": "ldrovira ", + "homepage": "https://lusaxweb.github.io/vuttons/", + "repository": "lusaxweb/vuttons", + "bugs": { + "url": "https://github.com/lusaxweb/vuttons/issues" + }, + "scripts": { + "build": "vue build --target lib --name vuttons src/index.js", + "publish": "npm publish", + "test": "echo \"Error: no test specified\" && exit 1", + "lint": "vue-cli-service lint", + "docs:build": "vuepress build docs", + "docs:dev": "vuepress dev docs", + "i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'", + "deploy": "sh scripts/deploy.sh" + }, + "main": "dist/vuttons.common.js", + "unpkg": "dist/vuttons.umd.min.js", + "jsdelivr": "dist/vuttons.umd.min.js", + "dependencies": { + "vuepress-plugin-container": "^2.0.1" + }, + "devDependencies": { + "@vue/cli-plugin-eslint": "^3.7.0", + "@vue/eslint-config-standard": "^4.0.0", + "babel-eslint": "^10.0.1", + "eslint": "^5.16.0", + "eslint-plugin-vue": "^5.0.0", + "stylus": "^0.54.5", + "stylus-loader": "^3.0.2", + "vuepress": "^1.0.0-alpha.48" + }, + "keywords": [ + "vuttons", + "button", + "buttons", + "vue", + "vuejs", + "vue-components", + "components", + "component", + "javascript", + "css", + "framework", + "ui", + "frontend", + "responsive", + "stylus" + ], + "license": "MIT" +} diff --git a/scripts/deploy.sh b/scripts/deploy.sh new file mode 100644 index 0000000..e15886c --- /dev/null +++ b/scripts/deploy.sh @@ -0,0 +1,31 @@ +#!/usr/bin/env sh + +# abort on errors +set -e + +git add . + +git commit -m "deploy" + +git push + +# build +npm run docs:build + +# navigate into the build output directory +cd docs/.vuepress/dist + +# if you are deploying to a custom domain +# echo 'www.example.com' > CNAME + +git init +git add -A +git commit -m 'deploy' + +# if you are deploying to https://.github.io +# git push -f git@github.com:/.github.io.git master + +# if you are deploying to https://.github.io/ +git push -f git@github.com:lusaxweb/vuttons.git master:gh-pages + +cd - diff --git a/src/buttons/Vutton/component.vue b/src/buttons/Vutton/component.vue new file mode 100644 index 0000000..b451a1b --- /dev/null +++ b/src/buttons/Vutton/component.vue @@ -0,0 +1,30 @@ + + diff --git a/src/buttons/Vutton/index.js b/src/buttons/Vutton/index.js new file mode 100644 index 0000000..1d4da6d --- /dev/null +++ b/src/buttons/Vutton/index.js @@ -0,0 +1,5 @@ +import component from './component' + +export default (Vue) => { + Vue.component(component.name, component) +} diff --git a/src/buttons/index.js b/src/buttons/index.js new file mode 100644 index 0000000..2fc2c41 --- /dev/null +++ b/src/buttons/index.js @@ -0,0 +1 @@ +export { default as Vutton } from './Vutton' diff --git a/src/buttons/loading/loading.vue b/src/buttons/loading/loading.vue new file mode 100644 index 0000000..6b27c64 --- /dev/null +++ b/src/buttons/loading/loading.vue @@ -0,0 +1,13 @@ + + diff --git a/src/buttons/submit/submit.vue b/src/buttons/submit/submit.vue new file mode 100644 index 0000000..233246d --- /dev/null +++ b/src/buttons/submit/submit.vue @@ -0,0 +1,20 @@ + + diff --git a/src/fonts/backup.txt b/src/fonts/backup.txt new file mode 100644 index 0000000..e3b87c9 --- /dev/null +++ b/src/fonts/backup.txt @@ -0,0 +1 @@ +eyIxIjp7IklEIjoxLCJuYW1lIjoiTXkgaWNvbnMgY29sbGVjdGlvbiIsImJvb2ttYXJrX2lkIjoiODBkcDN5Y2ZmcTQwMDAwMCIsImNyZWF0ZWQiOm51bGwsInVwZGF0ZWQiOjE1NTczNDE0ODIsImFjdGl2ZSI6MSwic291cmNlIjoibG9jYWwiLCJvcmRlciI6MCwiY29sb3IiOiIwMDAwMDAiLCJzdGF0dXMiOjF9LCI4MGRwM3ljZmZxNDAwMDAwIjpbeyJpZCI6ODc0MDAsInRlYW0iOjAsIm5hbWUiOiJkcmliYmJsZS1sb2dvIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6Mn0seyJpZCI6MjUxODUsInRlYW0iOjAsIm5hbWUiOiJjb2RlIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6NH0seyJpZCI6MjUyMzEsInRlYW0iOjAsIm5hbWUiOiJnaXRodWItbG9nbyIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjN9LHsiaWQiOjg4MDAsInRlYW0iOjAsIm5hbWUiOiJ0d2l0dGVyLWxvZ28tc2lsaG91ZXR0ZSIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjV9LHsiaWQiOjExODc4MSwidGVhbSI6MCwibmFtZSI6InByb2ZpbGUiLCJjb2xvciI6IiMwMDAwMDAiLCJwcmVtaXVtIjowLCJzb3J0Ijo2fSx7ImlkIjo0NjMwNjUsInRlYW0iOjAsIm5hbWUiOiJjbG9zZSIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjd9LHsiaWQiOjYwNzMxLCJ0ZWFtIjowLCJuYW1lIjoiY2hlY2stc3ltYm9sIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6OH0seyJpZCI6MTIxNDQyOCwidGVhbSI6MCwibmFtZSI6ImRlbGV0ZSIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjl9LHsiaWQiOjM0MzY0LCJ0ZWFtIjowLCJuYW1lIjoiYmVoYW5jZS1sb2dvIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6MX0seyJpZCI6MjU2MzgsInRlYW0iOjAsIm5hbWUiOiJhcnJvdyIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjEwfSx7ImlkIjoyNTMyMiwidGVhbSI6MCwibmFtZSI6ImFycm93IiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6MTF9LHsiaWQiOjE1OTQ2OSwidGVhbSI6MCwibmFtZSI6Indhcm5pbmciLCJjb2xvciI6IiMwMDAwMDAiLCJwcmVtaXVtIjowLCJzb3J0IjoxNH0seyJpZCI6MjUyMjMsInRlYW0iOjAsIm5hbWUiOiJjaGV2cm9uIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6MTJ9LHsiaWQiOjI1NjIzLCJ0ZWFtIjowLCJuYW1lIjoiZG93biIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjEzfSx7ImlkIjoxMTY4MzYsInRlYW0iOjAsIm5hbWUiOiJtYWduaWZ5aW5nLWdsYXNzIiwiY29sb3IiOiIjMDAwMDAwIiwicHJlbWl1bSI6MCwic29ydCI6MTV9LHsiaWQiOjEyNjQ3NywidGVhbSI6MCwibmFtZSI6InVwbG9hZCIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjE4fSx7ImlkIjo1OTIyMCwidGVhbSI6MCwibmFtZSI6Im1pbnVzLWxpbmUiLCJjb2xvciI6IiMwMDAwMDAiLCJwcmVtaXVtIjowLCJzb3J0IjoxNn0seyJpZCI6NzA0MjEsInRlYW0iOjAsIm5hbWUiOiJhZGQtc29uZyIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjE3fSx7ImlkIjoxMjY0ODgsInRlYW0iOjAsIm5hbWUiOiJkb3dubG9hZCIsImNvbG9yIjoiIzAwMDAwMCIsInByZW1pdW0iOjAsInNvcnQiOjE5fSx7ImlkIjo2MTQ1NiwidGVhbSI6MCwibmFtZSI6ImVkaXQiLCJjb2xvciI6IiMwMDAwMDAiLCJwcmVtaXVtIjowLCJzb3J0IjoyMH1dfQ== \ No newline at end of file diff --git a/src/fonts/font/Flaticon.eot b/src/fonts/font/Flaticon.eot new file mode 100644 index 0000000..a00fe08 Binary files /dev/null and b/src/fonts/font/Flaticon.eot differ diff --git a/src/fonts/font/Flaticon.svg b/src/fonts/font/Flaticon.svg new file mode 100644 index 0000000..9243523 --- /dev/null +++ b/src/fonts/font/Flaticon.svg @@ -0,0 +1,146 @@ + + + + + +Created by FontForge 20170731 at Wed May 8 18:52:15 2019 + By root + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/fonts/font/Flaticon.ttf b/src/fonts/font/Flaticon.ttf new file mode 100644 index 0000000..6ce8f0c Binary files /dev/null and b/src/fonts/font/Flaticon.ttf differ diff --git a/src/fonts/font/Flaticon.woff b/src/fonts/font/Flaticon.woff new file mode 100644 index 0000000..ce08aca Binary files /dev/null and b/src/fonts/font/Flaticon.woff differ diff --git a/src/fonts/font/Flaticon.woff2 b/src/fonts/font/Flaticon.woff2 new file mode 100644 index 0000000..a245122 Binary files /dev/null and b/src/fonts/font/Flaticon.woff2 differ diff --git a/src/fonts/font/_flaticon.scss b/src/fonts/font/_flaticon.scss new file mode 100644 index 0000000..c73b537 --- /dev/null +++ b/src/fonts/font/_flaticon.scss @@ -0,0 +1,80 @@ + /* + Flaticon icon font: Flaticon + Creation date: 08/05/2019 18:52 + */ + + @font-face { + font-family: "Flaticon"; + src: url("./Flaticon.eot"); + src: url("./Flaticon.eot?#iefix") format("embedded-opentype"), + url("./Flaticon.woff2") format("woff2"), + url("./Flaticon.woff") format("woff"), + url("./Flaticon.ttf") format("truetype"), + url("./Flaticon.svg#Flaticon") format("svg"); + font-weight: normal; + font-style: normal; +} + +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: "Flaticon"; + src: url("./Flaticon.svg#Flaticon") format("svg"); + } +} + + .fi:before{ + display: inline-block; + font-family: "Flaticon"; + font-style: normal; + font-weight: normal; + font-variant: normal; + line-height: 1; + text-decoration: inherit; + text-rendering: optimizeLegibility; + text-transform: none; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-smoothing: antialiased; + } + + .flaticon-behance-logo:before { content: "\f100"; } +.flaticon-dribbble-logo:before { content: "\f101"; } +.flaticon-github-logo:before { content: "\f102"; } +.flaticon-code:before { content: "\f103"; } +.flaticon-twitter-logo-silhouette:before { content: "\f104"; } +.flaticon-profile:before { content: "\f105"; } +.flaticon-close:before { content: "\f106"; } +.flaticon-check-symbol:before { content: "\f107"; } +.flaticon-delete:before { content: "\f108"; } +.flaticon-arrow:before { content: "\f109"; } +.flaticon-arrow-1:before { content: "\f10a"; } +.flaticon-chevron:before { content: "\f10b"; } +.flaticon-down:before { content: "\f10c"; } +.flaticon-warning:before { content: "\f10d"; } +.flaticon-magnifying-glass:before { content: "\f10e"; } +.flaticon-minus-line:before { content: "\f10f"; } +.flaticon-add-song:before { content: "\f110"; } +.flaticon-upload:before { content: "\f111"; } +.flaticon-download:before { content: "\f112"; } +.flaticon-edit:before { content: "\f113"; } + + $font-Flaticon-behance-logo: "\f100"; + $font-Flaticon-dribbble-logo: "\f101"; + $font-Flaticon-github-logo: "\f102"; + $font-Flaticon-code: "\f103"; + $font-Flaticon-twitter-logo-silhouette: "\f104"; + $font-Flaticon-profile: "\f105"; + $font-Flaticon-close: "\f106"; + $font-Flaticon-check-symbol: "\f107"; + $font-Flaticon-delete: "\f108"; + $font-Flaticon-arrow: "\f109"; + $font-Flaticon-arrow-1: "\f10a"; + $font-Flaticon-chevron: "\f10b"; + $font-Flaticon-down: "\f10c"; + $font-Flaticon-warning: "\f10d"; + $font-Flaticon-magnifying-glass: "\f10e"; + $font-Flaticon-minus-line: "\f10f"; + $font-Flaticon-add-song: "\f110"; + $font-Flaticon-upload: "\f111"; + $font-Flaticon-download: "\f112"; + $font-Flaticon-edit: "\f113"; \ No newline at end of file diff --git a/src/fonts/font/flaticon.css b/src/fonts/font/flaticon.css new file mode 100644 index 0000000..07153b6 --- /dev/null +++ b/src/fonts/font/flaticon.css @@ -0,0 +1,52 @@ + /* + Flaticon icon font: Flaticon + Creation date: 08/05/2019 18:52 + */ + +@font-face { + font-family: "Flaticon"; + src: url("./Flaticon.eot"); + src: url("./Flaticon.eot?#iefix") format("embedded-opentype"), + url("./Flaticon.woff2") format("woff2"), + url("./Flaticon.woff") format("woff"), + url("./Flaticon.ttf") format("truetype"), + url("./Flaticon.svg#Flaticon") format("svg"); + font-weight: normal; + font-style: normal; +} + +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: "Flaticon"; + src: url("./Flaticon.svg#Flaticon") format("svg"); + } +} + +[class^="flaticon-"]:before, [class*=" flaticon-"]:before, +[class^="flaticon-"]:after, [class*=" flaticon-"]:after { + font-family: Flaticon; + font-size: 1rem; + font-style: normal; +/* margin-left: 20px; */ +} + +.flaticon-behance:before { content: "\f100"; } +.flaticon-dribbble:before { content: "\f101"; } +.flaticon-github:before { content: "\f102"; } +.flaticon-code:before { content: "\f103"; } +.flaticon-twitter:before { content: "\f104"; } +.flaticon-profile:before { content: "\f105"; } +.flaticon-close:before { content: "\f106"; } +.flaticon-check:before { content: "\f107"; } +.flaticon-delete:before { content: "\f108"; } +.flaticon-arrow:before { content: "\f109"; } +.flaticon-left:before { content: "\f10a"; } +.flaticon-up:before { content: "\f10b"; } +.flaticon-down:before { content: "\f10c"; } +.flaticon-warning:before { content: "\f10d"; } +.flaticon-search:before { content: "\f10e"; } +.flaticon-less:before { content: "\f10f"; } +.flaticon-add:before { content: "\f110"; } +.flaticon-upload:before { content: "\f111"; } +.flaticon-download:before { content: "\f112"; } +.flaticon-edit:before { content: "\f113"; } diff --git a/src/fonts/font/flaticon.html b/src/fonts/font/flaticon.html new file mode 100644 index 0000000..053baa2 --- /dev/null +++ b/src/fonts/font/flaticon.html @@ -0,0 +1,555 @@ + + + + + + + + Flaticon WebFont + + + + + + + + +
+ + Font Demo +
+ + +
+ +

Instructions

+ +
    +
  • + 1Copy the "Fonts" files and CSS files to your website CSS folder. +
  • +
  • + 2Add the CSS link to your website source code on header. + + <head> +
    ... +
    <link rel="stylesheet" type="text/css" href="your_website_domain/css_root/flaticon.css"> +
    ... +
    </head> +
    +
  • + +
  • +

    + 3Use the icon class on "display: inline" elements: +
    + Use example: <i class="flaticon-airplane49"></i> or <span class="flaticon-airplane49"></span> +

  • +
+ +
+ + + + +
+ + +
+
.flaticon-behance-logo
+
Author: SimpleIcon
+
+ +
+
.flaticon-dribbble-logo
+
Author: Freepik
+
+ +
+
.flaticon-github-logo
+
Author: Dave Gandy
+
+ +
+
.flaticon-code
+
Author: Dave Gandy
+
+ +
+
.flaticon-twitter-logo-silhouette
+ +
+ +
+
.flaticon-profile
+
Author: Lucy G
+
+ +
+
.flaticon-close
+
Author: Cole Bemis
+
+ +
+
.flaticon-check-symbol
+
Author: Google
+
+ +
+
.flaticon-delete
+
Author: Kiranshastry
+
+ +
+
.flaticon-arrow
+
Author: Dave Gandy
+
+ +
+
.flaticon-arrow-1
+
Author: Dave Gandy
+
+ +
+
.flaticon-chevron
+
Author: Dave Gandy
+
+ +
+
.flaticon-down
+
Author: Dave Gandy
+
+ +
+
.flaticon-warning
+ +
+ +
+
.flaticon-magnifying-glass
+ +
+ +
+
.flaticon-minus-line
+
Author: Freepik
+
+ +
+
.flaticon-add-song
+ +
+ +
+
.flaticon-upload
+ +
+ +
+
.flaticon-download
+ +
+ +
+
.flaticon-edit
+
Author: Freepik
+
+ + +
+ + + +
+ +
License and attribution:
+
Copy the Attribution License:
+ + + +
+ +
+ +
Examples:
+ +
+

+ + <i class="flaticon-behance-logo"></i> +

+
+ +
+

+ + <i class="flaticon-dribbble-logo"></i> +

+
+ +
+

+ + <i class="flaticon-github-logo"></i> +

+
+ +
+

+ + <i class="flaticon-code"></i> +

+
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/src/fonts/license/license.pdf b/src/fonts/license/license.pdf new file mode 100644 index 0000000..bdeedb7 Binary files /dev/null and b/src/fonts/license/license.pdf differ diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..608a424 --- /dev/null +++ b/src/index.js @@ -0,0 +1,19 @@ +import * as vsComponents from './buttons' +import './style/vuttons.styl' +// import './fonts/font/flaticon.css' + +const install = (Vue, options) => { + + Object.values(vsComponents).forEach((vsComponent) => { + Vue.use(vsComponent) + }) + +} + +if (typeof window !== 'undefined' && window.Vue) { + install(window.Vue) +} + +export default install + +// export { default as Vutton } from './buttons/Vutton' diff --git a/src/style/buttons/type1.styl b/src/style/buttons/type1.styl new file mode 100644 index 0000000..428bfe3 --- /dev/null +++ b/src/style/buttons/type1.styl @@ -0,0 +1,28 @@ +.vut + &.vutton--1 + --vut-component: vut-var('primary') + background: transparent + border 2px solid vut-color('component') + color vut-color('component', 1) + &:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit) + background vut-color('component',1) + color $vut-text-color + &:active + opacity .8 + &.vutton__active + color $vut-text-color + background vut-color('component') + &.vutton__loading + pointer-events: none + user-select none + .vut-loading + opacity 1 + visibility: visible + &.vutton__submit + pointer-events: none + user-select none + .vut-submit + opacity 1 + visibility: visible + + diff --git a/src/style/buttons/type2.styl b/src/style/buttons/type2.styl new file mode 100644 index 0000000..0798c01 --- /dev/null +++ b/src/style/buttons/type2.styl @@ -0,0 +1,37 @@ +.vut + &.vutton--2 + --vut-component: vut-var('primary') + background: transparent + color vut-color('component', 1) + overflow hidden + border 0px + padding: $vut-padding-h + 2px $vut-padding-w + 2px + &:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit) + background vut-color('component',1) + color $vut-text-color + &:active + opacity .8 + &.vutton__active + color $vut-text-color + background vut-color('component') + &.vutton__loading + pointer-events: none + user-select none + .vut-loading + opacity 1 + visibility: visible + &.vutton__submit + pointer-events: none + user-select none + .vut-submit + opacity 1 + visibility: visible + + &.vutton--extraLarge + padding: ($vut-padding-h * 1.5 ) + 2px ( $vut-padding-w * 1.5 ) + 2px + &.vutton--large + padding: ($vut-padding-h * 1.2 ) + 2px ( $vut-padding-w * 1.2 ) + 2px + &.vutton--small + padding: ( $vut-padding-h / 1.4 ) + 2px ( $vut-padding-w / 1.4) + 2px + &.vutton--mini + padding: ($vut-padding-h / 2.2 ) + 2px ( $vut-padding-w / 2.2 ) + 2px diff --git a/src/style/buttons/type3.styl b/src/style/buttons/type3.styl new file mode 100644 index 0000000..af26d6b --- /dev/null +++ b/src/style/buttons/type3.styl @@ -0,0 +1,58 @@ +.vut + &.vutton--3 + --vut-component: vut-var('primary') + background: vut-color('component', 1) + color $vut-text-color + overflow hidden + border 0px + padding: $vut-padding-h + 2px $vut-padding-w + 2px + &:after + position absolute + top 0px + left 0px + width: 100% + height 100% + background: rgba(0,0,0,.3s) + content: '' + opacity 0 + visibility: hidden + pointer-events: none + transition $vut-transition + .vut-submit + background: rgba(0,0,0,.15) + &:after + background: rgba(255,255,255,.2) + svg + opacity 0 + &:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit) + transform: translate(0, -4px) + box-shadow: 0px 4px 10px 0px vut-color('component',.45) + &:active + opacity .8 + &.vutton__active + color $vut-text-color + background vut-color('component') + &:after + opacity 1 + visibility: visible + &.vutton__loading + pointer-events: none + user-select none + .vut-loading + opacity 1 + visibility: visible + &.vutton__submit + pointer-events: none + user-select none + .vut-submit + opacity 1 + visibility: visible + + &.vutton--extraLarge + padding: ($vut-padding-h * 1.5 ) + 2px ( $vut-padding-w * 1.5 ) + 2px + &.vutton--large + padding: ($vut-padding-h * 1.2 ) + 2px ( $vut-padding-w * 1.2 ) + 2px + &.vutton--small + padding: ( $vut-padding-h / 1.4 ) + 2px ( $vut-padding-w / 1.4) + 2px + &.vutton--mini + padding: ($vut-padding-h / 2.2 ) + 2px ( $vut-padding-w / 2.2 ) + 2px diff --git a/src/style/buttons/type4.styl b/src/style/buttons/type4.styl new file mode 100644 index 0000000..cbb86ae --- /dev/null +++ b/src/style/buttons/type4.styl @@ -0,0 +1,49 @@ +.vut + &.vutton--4 + --vut-component: vut-var('primary') + background: transparent + color vut-color('component', 1) + overflow hidden + border 0px + padding: $vut-padding-h + 2px $vut-padding-w + 2px + background: vut-color('component', .1) + &:after + content '' + position absolute + top 0px + left 0px + width: 100% + height 100% + background: vut-color('component', 1) + transform: translate(0,100%) + transition: $vut-transition + &:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit) + color $vut-text-color + &:after + transform: translate(0%) + &:active + opacity .8 + &.vutton__active + color $vut-text-color + background vut-color('component') + &.vutton__loading + pointer-events: none + user-select none + .vut-loading + opacity 1 + visibility: visible + &.vutton__submit + pointer-events: none + user-select none + .vut-submit + opacity 1 + visibility: visible + + &.vutton--extraLarge + padding: ($vut-padding-h * 1.5 ) + 2px ( $vut-padding-w * 1.5 ) + 2px + &.vutton--large + padding: ($vut-padding-h * 1.2 ) + 2px ( $vut-padding-w * 1.2 ) + 2px + &.vutton--small + padding: ( $vut-padding-h / 1.4 ) + 2px ( $vut-padding-w / 1.4) + 2px + &.vutton--mini + padding: ($vut-padding-h / 2.2 ) + 2px ( $vut-padding-w / 2.2 ) + 2px diff --git a/src/style/buttons/type5.styl b/src/style/buttons/type5.styl new file mode 100644 index 0000000..43ad6fd --- /dev/null +++ b/src/style/buttons/type5.styl @@ -0,0 +1,67 @@ +.vut + &.vutton--5 + --vut-component: vut-var('primary') + background: transparent + color vut-color('component', 1) + overflow hidden + border 0px + padding: $vut-padding-h + 1px $vut-padding-w + 1px + border: 1px dashed vut-color('component', 1) + &:after + content: '' + position absolute + top 0px + left 0px + width: 100% + height 100% + background: vut-color('component', 1) + transform: scale(.7) + border-radius: $vut-border-radius + opacity 0 + visibility hidden + pointer-events: none + transition: $vut-transition + &:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit) + background vut-color('component',1) + color $vut-text-color + &:after + opacity 1 + visibility: visible + transform: scale(1) + &:active + opacity .8 + &.vutton__active + background vut-color('component',.2) + border: 1px solid vut-color('component', 1) + &.vutton__loading + pointer-events: none + user-select none + .vut-loading + opacity 1 + visibility: visible + background: rgba(255,255,255,.8) + .load + border 2px solid vut-color('component', 1) + border-left 2px solid transparent + border-top 2px solid transparent + border-right 2px solid transparent + .load2 + border 2px solid vut-color('component', 1) + border-left 2px solid transparent + border-top 2px solid transparent + border-right 2px solid transparent + &.vutton__submit + pointer-events: none + user-select none + .vut-submit + opacity 1 + visibility: visible + + &.vutton--extraLarge + padding: ($vut-padding-h * 1.5 ) + 1px ( $vut-padding-w * 1.5 ) + 1px + &.vutton--large + padding: ($vut-padding-h * 1.2 ) + 1px ( $vut-padding-w * 1.2 ) + 1px + &.vutton--small + padding: ( $vut-padding-h / 1.4 ) + 1px ( $vut-padding-w / 1.4) + 1px + &.vutton--mini + padding: ($vut-padding-h / 2.2 ) + 1px ( $vut-padding-w / 2.2 ) + 1px diff --git a/src/style/buttons/type6.styl b/src/style/buttons/type6.styl new file mode 100644 index 0000000..c4c0561 --- /dev/null +++ b/src/style/buttons/type6.styl @@ -0,0 +1,55 @@ +.vut + &.vutton--6 + --vut-component: vut-var('primary') + background: vut-color('component', .8) + color $vut-text-color + overflow hidden + border 0px + padding: $vut-padding-h + 2px $vut-padding-w + 2px !important + box-shadow: 0px 4px 0px 0px vut-color('component', 1) + &:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit) + opacity .8 + &:disabled + box-shadow: 0px 0px 0px 0px vut-color('component', 1) + &:active + transform: translate(0,5px) + box-shadow: 0px 0px 0px 0px vut-color('component', 1) + opacity .8 + &.vutton__active + background vut-color('component',.2) + box-shadow: 0px 0px 0px 0px vut-color('component', 1) + color vut-color('component',1) + &.vutton__loading + pointer-events: none + user-select none + box-shadow: 0px 0px 0px 0px vut-color('component', 1) + .vut-loading + opacity 1 + visibility: visible + background: rgba(255,255,255,.8) + .load + border 2px solid vut-color('component', 1) + border-left 2px solid transparent + border-top 2px solid transparent + border-right 2px solid transparent + .load2 + border 2px solid vut-color('component', 1) + border-left 2px solid transparent + border-top 2px solid transparent + border-right 2px solid transparent + &.vutton__submit + pointer-events: none + user-select none + box-shadow: 0px 0px 0px 0px vut-color('component', 1) + .vut-submit + opacity 1 + visibility: visible + + &.vutton--extraLarge + padding: ($vut-padding-h * 1.5 ) + 2px ( $vut-padding-w * 1.5 ) + 2px + &.vutton--large + padding: ($vut-padding-h * 1.2 ) + 2px ( $vut-padding-w * 1.2 ) + 2px + &.vutton--small + padding: ( $vut-padding-h / 1.4 ) + 2px ( $vut-padding-w / 1.4) + 2px + &.vutton--mini + padding: ($vut-padding-h / 2.2 ) + 2px ( $vut-padding-w / 2.2 ) + 2px diff --git a/src/style/buttons/type7.styl b/src/style/buttons/type7.styl new file mode 100644 index 0000000..7250ec3 --- /dev/null +++ b/src/style/buttons/type7.styl @@ -0,0 +1,70 @@ + .vut + &.vutton--7 + --vut-component: vut-var('primary') + background: transparent + color vut-color('component', 1) + overflow hidden + border 0px + padding: $vut-padding-h + 2px $vut-padding-w + 2px !important + border-radius: 0px !important + &:after + content '' + position absolute + bottom 0px + left 50% + width: 0% + height 3px + background: vut-color('component', 1) + transform: translate(-50%) + transition $vut-transition + &:hover:not(.vutton__loading):not(.vutton__active):not(.vutton__submit) + &:after + width: 100% + &:disabled + &:after + width: 0px + &:active + opacity .8 + &:after + width: 90% !important + &.vutton__active + background vut-color('component',.1) + color vut-color('component',1) + &:after + width: 100% + &.vutton__loading + pointer-events: none + user-select none + &:after + width: 100% + .vut-loading + opacity 1 + visibility: visible + background: rgba(255,255,255,.8) + .load + border 2px solid vut-color('component', 1) + border-left 2px solid transparent + border-top 2px solid transparent + border-right 2px solid transparent + .load2 + border 2px solid vut-color('component', 1) + border-left 2px solid transparent + border-top 2px solid transparent + border-right 2px solid transparent + &.vutton__submit + pointer-events: none + user-select none + &:after + width: 100% + .vut-submit + opacity 1 + visibility: visible + + &.vutton--extraLarge + padding: ($vut-padding-h * 1.5 ) + 2px ( $vut-padding-w * 1.5 ) + 2px + &.vutton--large + padding: ($vut-padding-h * 1.2 ) + 2px ( $vut-padding-w * 1.2 ) + 2px + &.vutton--small + padding: ( $vut-padding-h / 1.4 ) + 2px ( $vut-padding-w / 1.4) + 2px + &.vutton--mini + padding: ($vut-padding-h / 2.2 ) + 2px ( $vut-padding-w / 2.2 ) + 2px diff --git a/src/style/colors.styl b/src/style/colors.styl new file mode 100644 index 0000000..527a7b7 --- /dev/null +++ b/src/style/colors.styl @@ -0,0 +1,17 @@ +/* +GLOBAL COLORS +*/ + +$vut-colors := ('primary' 'secondary' 'danger' 'success' 'warning' 'dark' 'light') + +:root { + --vut-primary: 114, 137, 218 + --vut-secondary : 121, 49, 177 + --vut-danger: 255, 71, 87 + --vut-success: 70, 201, 58 + --vut-warning: 255,186,0 + --vut-dark: 30, 30, 30 + --vut-light: 245, 245, 245 +} + + diff --git a/src/style/loading.styl b/src/style/loading.styl new file mode 100644 index 0000000..c03442c --- /dev/null +++ b/src/style/loading.styl @@ -0,0 +1,51 @@ +.vut-loading + top 0px + left 0px + width: 100% + height 100% + position absolute + background transparent + pointer-events none + z-index 300 + opacity 0 + visibility: hidden + display: block + background: vut-color('component',.5) + .con-load + width 22px + height 22px + left 50% + top 50% + transform translate(-50%, -50%) + position absolute + .load + width 22px + height 22px + position absolute + border-radius 50% + border 2px solid $vut-text-color + border-left 2px solid transparent + border-top 2px solid transparent + border-right 2px solid transparent + box-sizing border-box + animation rotatex 1s linear infinite + opacity .5 + display: block + .load2 + width 22px + height 22px + position absolute + border-radius 50% + border 2px solid $vut-text-color + border-left 2px solid transparent + border-top 2px solid transparent + border-right 2px solid transparent + box-sizing border-box + animation rotatex 1s ease-out infinite + display: block + +@keyframes rotatex + 0% + transform rotate(0deg) + 100% + transform rotate(360deg) diff --git a/src/style/mixins.styl b/src/style/mixins.styl new file mode 100644 index 0000000..e8e672a --- /dev/null +++ b/src/style/mixins.styl @@ -0,0 +1,7 @@ + +// get color var css +vut-color(colorx, alpha = 1) + unquote("rgba(var(--vut-"+colorx+"), "+alpha+")") + +vut-var(var) + unquote("var(--vut-"+var+")") diff --git a/src/style/readme.md b/src/style/readme.md new file mode 100644 index 0000000..e56a69e --- /dev/null +++ b/src/style/readme.md @@ -0,0 +1,36 @@ +# Guia de desarrollo + +## colors.styl + +### $vs-colors + +Nombres de los colores principales, se usa para iterar en algunos componentes y obtener todos los colores. + +### :root + +Variable de CSS , estas son las variables usadas en el marco. + +Si necesitasa cambiar el color primario de todo el marco puedes hacerlo aqui o por medio de js para un control en produccion. + +## mixins.styl + +### vs-color + +Esta funcion nos permite usar las variables css , para usarla el parametro (colorx) tiene que ser uno de los colores principales. + +### vs-var + +Se usa para obtener una variable de css. + +## vars.styl + +Contiene todas las variables del framework, se importan por separado cada variable de un componente en especifico. + +## components/[component.styl] + +son los estilos de cada componente por separado, incluyendo los sub componentes del mismo. + +## vuesax.styl + +Archivo que contiene todos los .styl del framework. + diff --git a/src/style/submit.styl b/src/style/submit.styl new file mode 100644 index 0000000..96cc400 --- /dev/null +++ b/src/style/submit.styl @@ -0,0 +1,45 @@ +.vut-submit + top 0px + left 0px + width: 100% + height 100% + position absolute + background transparent + pointer-events none + z-index 300 + opacity 0 + visibility: hidden + display: block + background: rgba(255,255,255,.8) + overflow hidden + &:after + content '' + position absolute + top 0px + left 0px + width: 100% + height 100% + background: vut-color('component',.3) + animation: loadBlock infinite ease-out 1s + .con-submit + width 15px + height 15px + left 50% + top 50% + transform translate(-50%, -50%) + position absolute + .submit-icon + width 15px + height 15px + position absolute + box-sizing border-box + display: block + svg + fill: vut-color('component',1) + stroke: vut-color('component',1) + +@keyframes loadBlock + 0% + transform: translate(0,100%) + 100% + transform: translate(0,-100%) diff --git a/src/style/vars.styl b/src/style/vars.styl new file mode 100644 index 0000000..6cafd71 --- /dev/null +++ b/src/style/vars.styl @@ -0,0 +1,12 @@ +/*----------------- + Global Vars +------------------*/ + +$vut-padding-w := 10px +$vut-padding-h := 8px +$vut-margin := 0px 3px +$vut-cursor := pointer +$vut-font-size := 13px +$vut-transition := all .25s ease +$vut-text-color := rgb(255,255,255) +$vut-border-radius := 3px diff --git a/src/style/vuttons.styl b/src/style/vuttons.styl new file mode 100644 index 0000000..8cb52ba --- /dev/null +++ b/src/style/vuttons.styl @@ -0,0 +1,49 @@ + +@import './colors' +@import './mixins' +@import './vars' +@import './buttons/**' +@import './loading' +@import './submit' + +.vut + outline: none + list-style: none + text-decoration: none + padding: $vut-padding-h $vut-padding-w + margin: $vut-margin + display: block + box-sizing: border-box + cursor: $vut-cursor + font-size: $vut-font-size + position relative + transition: $vut-transition + border-radius: $vut-border-radius + + /* + * Change Size button + */ + + &.vutton--extraLarge + font-size: 1.3rem + padding: $vut-padding-h * 1.5 $vut-padding-w * 1.5 + &.vutton--large + font-size: 1.1rem + padding: $vut-padding-h * 1.2 $vut-padding-w * 1.2 + &.vutton--small + font-size: .7rem + padding: ($vut-padding-h / 1.4) ($vut-padding-w / 1.4) + &.vutton--mini + font-size: .5rem + font-weight: bold + padding: ($vut-padding-h / 2.2) ($vut-padding-w / 2.2) + + span + position relative + z-index 200 + display: block + + &:disabled + opacity .4 + pointer-events: none + user-select none diff --git a/src/util/base.js b/src/util/base.js new file mode 100644 index 0000000..f3c3453 --- /dev/null +++ b/src/util/base.js @@ -0,0 +1,94 @@ +import { setColor } from './functions' +export default { + inheritAttrs: false, + props: { + color: { + default: 'primary', + type: String + }, + type:{ + default: 1, + type: Number | String + }, + size: { + type: String, + default: null + }, + loading: { + type: Boolean, + default: false + }, + disabled: { + type: Boolean, + default: false + }, + active: { + type: Boolean, + default: false + }, + submit: { + type: Boolean, + default: false + }, + to:{ + default:false, + type:String | Object + }, + href:{ + default:'', + type:String | Object + }, + blank:{ + default:false, + type:Boolean + } + }, + + computed: { + Class() { + return [ + `vutton--${this.type}`, + `vutton--${this.size}`, + { 'vutton__active' : this.active }, + { 'vutton__loading' : this.loading }, + { 'vutton__submit' : this.submit }, + ] + }, + listeners() { + return { + ...this.$listeners, + click: (event) => this.clickx(event), + } + } + }, + + watch:{ + color() { + setColor('component', this.color, this.$refs.button) + } + }, + + mounted () { + setColor('component', this.color, this.$refs.button) + console.log(this.color) + }, + + methods:{ + clickx() { + this.$emit('click', event) + + if(this.to) { + this.routerPush() + } else if (this.href) { + this.open() + } + }, + routerPush() { + this.$router.push(this.to) + }, + open() { + this.blank ? window.open(this.href) : window.location.href = this.href + } + } + +} diff --git a/src/util/functions.js b/src/util/functions.js new file mode 100644 index 0000000..76ad12a --- /dev/null +++ b/src/util/functions.js @@ -0,0 +1,53 @@ + +const setVar = (propertyName, value, el) => { + if (!el) { + document.documentElement.style.setProperty(`--vut-${propertyName}`, value) + } else { + console.log(`--vut-${propertyName}`, value) + el.style.setProperty(`--vut-${propertyName}`, value) + } +} + +const setColor = (colorName, color, el) => { + function isColor (color) { + let vutColors = ['primary', 'secondary', 'success', 'danger', 'warning', 'dark', 'light'] + return vutColors.includes(color) + } + + function hexToRgb (hex) { + var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i + hex = hex.replace(shorthandRegex, function (m, r, g, b) { + return r + r + g + g + b + b + }) + + var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex) + return result ? { + r: parseInt(result[1], 16), + g: parseInt(result[2], 16), + b: parseInt(result[3], 16) + } : null + } + + let isRGB = /^(rgb|rgba)/.test(color) + let isHEX = /^(#)/.test(color) + let newColor + + if (isRGB) { + let arrayColor = color.replace(/[rgba()]/g, '').split(',') + newColor = `${arrayColor[0]},${arrayColor[1]},${arrayColor[2]}` + setVar(colorName, newColor, el) + } else if (isHEX) { + let rgb = hexToRgb(color) + newColor = `${rgb.r},${rgb.g},${rgb.b}` + setVar(colorName, newColor, el) + } else if (isColor(color)) { + var style = getComputedStyle(el) + newColor = style.getPropertyValue('--vut-' + color) + setVar(colorName, newColor, el) + } +} + +export { + setVar, + setColor, +} diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 0000000..54b48b7 --- /dev/null +++ b/vue.config.js @@ -0,0 +1,3 @@ +module.exports = { + // outputDir: './node_modules/vuttons' // cambiar para build en produccion +}