text: !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t||self).VueTypes={})}(this,function(t){function e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function n(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,u(t,e)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){return"[object Object]"===Object.prototype.toString.call(t)}function i(t){var e,n;return!1!==o(t)&&(void 0===(e=t.constructor)||!1!==o(n=e.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}var f={silent:!1},c=Object.defineProperty,a=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function s(t,e,n){void 0===e&&(e={}),void 0===n&&(n=!1);var r={_vueTypes_name:{value:t,writable:!0},def:{value:function(t){return void 0===t?("default"in this&&delete this.default,this):(this.default=a(t)?function(){return[].concat(t)}:i(t)?function(){return Object.assign({},t)}:t,this)}},isRequired:{get:function(){return this.required=!0,this}}};return n&&(r.validate={value:function(){}}),e.validator||(e.validator=function(){return!0}),Object.defineProperties(e,r)}var l=function(){return s("any",{},!0)},y=function(){return s("func",{type:Function},!0)},d=function(){return s("bool",{type:Boolean},!0)},p=function(){return s("string",{type:String},!0)},b=function(){return s("number",{type:Number},!0)},v=function(){return s("array",{type:Array},!0)},g=function(){return s("object",{type:Object},!0)},O=function(){return s("symbol")},h=function(){return s("integer",{type:Number})},j=function(t){return s("oneOf")},m=function(t){return s("custom")},T=function(t){return s("instanceOf",{type:t})},k=function(t){return s("oneOfType")},P=function(t){return s("arrayOf",{type:Array})},_=function(t){return s("objectOf",{type:Object})},x=function(t){return c(s("shape",{type:Object}),"loose",{get:function(){return this}})};function A(t,e,n,r,u){var o;void 0===r&&(r=!1),void 0===u&&(u=!1);var i=((o={})[r?"get":"value"]=function(){return s(e,Object.assign({},n),u).def(r?t.defaults[e]:void 0)},o);return c(t,e,i)}var w=function(){var t,e;return e=t=function(){function t(){}return t.extend=function(t){var e=this;if(a(t))return t.forEach(function(t){return e.extend(t)}),this;var n=t.validate,r=t.getter,u=void 0!==r&&r,o=t.type,f=void 0===o?null:o;return A(this,t.name,{type:i(f)&&f.type?null:f},u,!!n)},n(t,null,[{key:"any",get:function(){return l()}},{key:"func",get:function(){return y().def(this.defaults.func)}},{key:"bool",get:function(){return d().def(this.defaults.bool)}},{key:"string",get:function(){return p().def(this.defaults.string)}},{key:"number",get:function(){return b().def(this.defaults.number)}},{key:"array",get:function(){return v().def(this.defaults.array)}},{key:"object",get:function(){return g().def(this.defaults.object)}},{key:"symbol",get:function(){return O()}},{key:"integer",get:function(){return h().def(this.defaults.integer)}}]),t}(),t.defaults={},t.sensibleDefaults=void 0,t.config=f,t.oneOf=j,t.custom=m,t.instanceOf=T,t.oneOfType=k,t.arrayOf=P,t.objectOf=_,t.shape=x,t.utils={toType:s,validate:function(){return!![].slice.call(arguments)}},e}();function S(t){var e,u;return void 0===t&&(t={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),u=e=function(e){function u(){return e.apply(this,arguments)||this}return r(u,e),n(u,null,[{key:"sensibleDefaults",get:function(){return Object.assign({},this.defaults)},set:function(e){this.defaults=!1!==e?Object.assign({},!0!==e?e:t):{}}}]),u}(w),e.defaults=Object.assign({},t),u}var q=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e}(S());t.any=l,t.array=v,t.arrayOf=P,t.bool=d,t.config=f,t.createTypes=S,t.custom=m,t.default=q,t.fromType=function(t,e,n){void 0===n&&(n={});var r=s(t,Object.assign({},e,n),!!e.validable);return r.validator&&delete r.validator,r},t.func=y,t.instanceOf=T,t.integer=h,t.number=b,t.object=g,t.objectOf=_,t.oneOf=j,t.oneOfType=k,t.shape=x,t.string=p,t.symbol=O,t.toType=function(t,e){return s(t,e)},t.toValidableType=function(t,e){return s(t,e,!0)}});
  //# sourceMappingURL=shim.umd.js.map
  