baseui/build/lib.js

13 lines
255 KiB
JavaScript
Raw Normal View History

2017-10-04 17:33:40 +02:00
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.baseUI=t():n.baseUI=t()}(this,function(){return function(n){function t(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var e={};return t.m=n,t.c=e,t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="build/",t(t.s=407)}([function(n,t,e){var r=e(2),o=e(23),i=e(12),a=e(13),s=e(19),c=function(n,t,e){var u,l,f,p,A=n&c.F,h=n&c.G,d=n&c.S,g=n&c.P,v=n&c.B,m=h?r:d?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),C=b.prototype||(b.prototype={});h&&(e=t);for(u in e)l=!A&&m&&void 0!==m[u],f=(l?m:e)[u],p=v&&l?s(f,r):g&&"function"==typeof f?s(Function.call,f):f,m&&a(m,u,f,n&c.U),b[u]!=f&&i(b,u,p),g&&C[u]!=f&&(C[u]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,n.exports=c},function(n,t,e){var r=e(4);n.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(n,t){var e=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(n,t){n.exports=function(n){try{return!!n()}catch(n){return!0}}},function(n,t){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,e){var r=e(53)("wks"),o=e(37),i=e(2).Symbol,a="function"==typeof i;(n.exports=function(n){return r[n]||(r[n]=a&&i[n]||(a?i:o)("Symbol."+n))}).store=r},function(n,t,e){n.exports=!e(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n,t,e){var r=e(1),o=e(96),i=e(24),a=Object.defineProperty;t.f=e(6)?Object.defineProperty:function(n,t,e){if(r(n),t=i(t,!0),r(e),o)try{return a(n,t,e)}catch(n){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(n[t]=e.value),n}},function(n,t,e){var r=e(26),o=Math.min;n.exports=function(n){return n>0?o(r(n),9007199254740991):0}},function(n,t,e){var r=e(25);n.exports=function(n){return Object(r(n))}},function(n,t){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t){var e={}.hasOwnProperty;n.exports=function(n,t){return e.call(n,t)}},function(n,t,e){var r=e(7),o=e(36);n.exports=e(6)?function(n,t,e){return r.f(n,t,o(1,e))}:function(n,t,e){return n[t]=e,n}},function(n,t,e){var r=e(2),o=e(12),i=e(11),a=e(37)("src"),s=Function.toString,c=(""+s).split("toString");e(23).inspectSource=function(n){return s.call(n)},(n.exports=function(n,t,e,s){var u="function"==typeof e;u&&(i(e,"name")||o(e,"name",t)),n[t]!==e&&(u&&(i(e,a)||o(e,a,n[t]?""+n[t]:c.join(String(t)))),n===r?n[t]=e:s?n[t]?n[t]=e:o(n,t,e):(delete n[t],o(n,t,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(n,t,e){var r=e(50),o=e(25);n.exports=function(n){return r(o(n))}},function(n,t,e){var r=e(0),o=e(3),i=e(25),a=/"/g,s=function(n,t,e,r){var o=String(i(n)),s="<"+t;return""!==e&&(s+=" "+e+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+o+"</"+t+">"};n.exports=function(n,t){var e={};e[n]=t(s),r(r.P+r.F*o(function(){var t=""[n]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",e)}},function(n,t,e){var r=e(51),o=e(36),i=e(14),a=e(24),s=e(11),c=e(96),u=Object.getOwnPropertyDescriptor;t.f=e(6)?u:function(n,t){if(n=i(n),t=a(t,!0),c)try{return u(n,t)}catch(n){}if(s(n,t))return o(!r.f.call(n,t),n[t])}},function(n,t,e){var r=e(11),o=e(9),i=e(70)("IE_PROTO"),a=Object.prototype;n.exports=Object.getPrototypeOf||function(n){return n=o(n),r(n,i)?n[i]:"function"==typeof n.constructor&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?a:null}},function(n,t,e){"use strict";function r(n){return"[object Array]"===B.call
* vuex v2.3.0
* (c) 2017 Evan You
* @license MIT
*/
var B=function(n){function t(){var n=this.$options;n.store?this.$store=n.store:n.parent&&n.parent.$store&&(this.$store=n.parent.$store)}if(Number(n.version.split(".")[0])>=2){var e=n.config._lifecycleHooks.indexOf("init")>-1;n.mixin(e?{init:t}:{beforeCreate:t})}else{var r=n.prototype._init;n.prototype._init=function(n){void 0===n&&(n={}),n.init=n.init?[t].concat(n.init):t,r.call(this,n)}}},w="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,_=function(n,t){this.runtime=t,this._children=Object.create(null),this._rawModule=n;var e=n.state;this.state=("function"==typeof e?e():e)||{}},k={namespaced:{}};k.namespaced.get=function(){return!!this._rawModule.namespaced},_.prototype.addChild=function(n,t){this._children[n]=t},_.prototype.removeChild=function(n){delete this._children[n]},_.prototype.getChild=function(n){return this._children[n]},_.prototype.update=function(n){this._rawModule.namespaced=n.namespaced,n.actions&&(this._rawModule.actions=n.actions),n.mutations&&(this._rawModule.mutations=n.mutations),n.getters&&(this._rawModule.getters=n.getters)},_.prototype.forEachChild=function(n){o(this._children,n)},_.prototype.forEachGetter=function(n){this._rawModule.getters&&o(this._rawModule.getters,n)},_.prototype.forEachAction=function(n){this._rawModule.actions&&o(this._rawModule.actions,n)},_.prototype.forEachMutation=function(n){this._rawModule.mutations&&o(this._rawModule.mutations,n)},Object.defineProperties(_.prototype,k);var S=function(n){var t=this;this.root=new _(n,!1),n.modules&&o(n.modules,function(n,e){t.register([e],n,!1)})};S.prototype.get=function(n){return n.reduce(function(n,t){return n.getChild(t)},this.root)},S.prototype.getNamespace=function(n){var t=this.root;return n.reduce(function(n,e){return t=t.getChild(e),n+(t.namespaced?e+"/":"")},"")},S.prototype.update=function(n){c(this.root,n)},S.prototype.register=function(n,t,e){var r=this;void 0===e&&(e=!0);var i=this.get(n.slice(0,-1)),a=new _(t,e);i.addChild(n[n.length-1],a),t.modules&&o(t.modules,function(t,o){r.register(n.concat(o),t,e)})},S.prototype.unregister=function(n){var t=this.get(n.slice(0,-1)),e=n[n.length-1];t.getChild(e).runtime&&t.removeChild(e)};var D,I=function(n){var t=this;void 0===n&&(n={}),s(D,"must call Vue.use(Vuex) before creating a store instance."),s("undefined"!=typeof Promise,"vuex requires a Promise polyfill in this browser.");var e=n.state;void 0===e&&(e={});var o=n.plugins;void 0===o&&(o=[]);var i=n.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new S(n),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new D;var a=this,c=this,u=c.dispatch,p=c.commit;this.dispatch=function(n,t){return u.call(a,n,t)},this.commit=function(n,t,e){return p.call(a,n,t,e)},this.strict=i,f(this,e,[],this._modules.root),l(this,e),o.concat(r).forEach(function(n){return n(t)})},O={state:{}};O.state.get=function(){return this._vm._data.$$state},O.state.set=function(n){s(!1,"Use store.replaceState() to explicit replace store state.")},I.prototype.commit=function(n,t,e){var r=this,o=b(n,t,e),i=o.type,a=o.payload,s=o.options,c={type:i,payload:a},u=this._mutations[i];if(!u)return void console.error("[vuex] unknown mutation type: "+i);this._withCommit(function(){u.forEach(function(n){n(a)})}),this._subscribers.forEach(function(n){return n(c,r.state)}),s&&s.silent&&console.warn("[vuex] mutation type: "+i+". Silent option has been removed. Use the filter functionality in the vue-devtools")},I.prototype.dispatch=function(n,t){var e=b(n,t),r=e.type,o=e.payload,i=this._actions[r];return i?i.length>1?Promise.all(i.map(function(n){return n(o)})):i[0](o):void console.error("[vuex] unknown action type: "+r)},I.prototype.subscribe=function(n){var t=this._subscribers;return t.indexOf(n)<0&&t.push(n),function(){var e=t.indexOf(n);e>-1&&t.splice(e,1)}},I.prototype.watch=function(n,t,e){var r=this;return s("function"==typeof n,"store.watch only accepts a function."),this._watcherVM.$watch(function(){re
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
n.exports=function(n){return null!=n&&(e(n)||r(n)||!!n._isBuffer)}},function(n,t,e){"use strict";function r(n){this.defaults=n,this.interceptors={request:new a,response:new a}}var o=e(94),i=e(18),a=e(356),s=e(357),c=e(359),u=e(360);r.prototype.request=function(n){"string"==typeof n&&(n=i.merge({url:arguments[0]},arguments[1])),n=i.merge(o,this.defaults,{method:"get"},n),n.method=n.method.toLowerCase(),n.baseURL&&!c(n.url)&&(n.url=u(n.baseURL,n.url));var t=[s,void 0],e=Promise.resolve(n);for(this.interceptors.request.forEach(function(n){t.unshift(n.fulfilled,n.rejected)}),this.interceptors.response.forEach(function(n){t.push(n.fulfilled,n.rejected)});t.length;)e=e.then(t.shift(),t.shift());return e},i.forEach(["delete","get","head","options"],function(n){r.prototype[n]=function(t,e){return this.request(i.merge(e||{},{method:n,url:t}))}}),i.forEach(["post","put","patch"],function(n){r.prototype[n]=function(t,e,r){return this.request(i.merge(r||{},{method:n,url:t,data:e}))}}),n.exports=r},function(n,t){function e(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(n){if(l===setTimeout)return setTimeout(n,0);if((l===e||!l)&&setTimeout)return l=setTimeout,setTimeout(n,0);try{return l(n,0)}catch(t){try{return l.call(null,n,0)}catch(t){return l.call(this,n,0)}}}function i(n){if(f===clearTimeout)return clearTimeout(n);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(n);try{return f(n)}catch(t){try{return f.call(null,n)}catch(t){return f.call(this,n)}}}function a(){d&&A&&(d=!1,A.length?h=A.concat(h):g=-1,h.length&&s())}function s(){if(!d){var n=o(a);d=!0;for(var t=h.length;t;){for(A=h,h=[];++g<t;)A&&A[g].run();g=-1,t=h.length}A=null,d=!1,i(n)}}function c(n,t){this.fun=n,this.array=t}function u(){}var l,f,p=n.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:e}catch(n){l=e}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(n){f=r}}();var A,h=[],d=!1,g=-1;p.nextTick=function(n){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];h.push(new c(n,t)),1!==h.length||d||o(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(n){return[]},p.binding=function(n){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(n){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(n,t,e){"use strict";var r=e(18);n.exports=function(n,t){r.forEach(n,function(e,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(n[t]=e,delete n[r])})}},function(n,t,e){"use strict";var r=e(131);n.exports=function(n,t,e){var o=e.config.validateStatus;e.status&&o&&!o(e.status)?t(r("Request failed with status code "+e.status,e.config,null,e.request,e)):n(e)}},function(n,t,e){"use strict";n.exports=function(n,t,e,r,o){return n.config=t,e&&(n.code=e),n.request=r,n.response=o,n}},function(n,t,e){"use strict";function r(n){return encodeURIComponent(n).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=e(18);n.exports=function(n,t,e){if(!t)return n;var i;if(e)i=e(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,function(n,t){null!==n&&void 0!==n&&(o.isArray(n)&&(t+="[]"),o.isArray(n)||(n=[n]),o.forEach(n,function(n){o.isDate(n)?n=n.toISOString():o.isObject(n)&&(n=JSON.stringify(n)),a.push(r(t)+"="+r(n))}))}),i=a.join("&")}return i&&(n+=(-1===n.indexOf("?")?"?":"&")+i),n}},function(n,t,e){"use strict";var r=e(18);n.exports=function(n){var t,e,o,i={};return n?(r.forEach(n.split("\n"),function(n){o=n.indexOf(":"),t=r.trim(n.substr(0,o)).toLowerCase(),e=r.trim(n.substr(o+1)),t&&(i[t]=i[t]?i[t]+", "+e:e)}),i):i}},function(n,t,e){"use strict";var r=e(18);n.exports=r.isSt
//# sourceMappingURL=lib.js.map