From c4fb44c9e34a689179c8cc088ab46f4b14e9d3ea Mon Sep 17 00:00:00 2001 From: Alf Henderson Date: Sat, 18 Feb 2017 19:48:44 +0100 Subject: [PATCH] Added Bower support #9 and browser support for number.isInteger #8 --- bower.json | 21 +++++++++++++++++++++ build/vue-cookie.js | 2 +- package.json | 2 +- test/bundle.js | 4 ++-- 4 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 bower.json diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..0f578fa --- /dev/null +++ b/bower.json @@ -0,0 +1,21 @@ +{ + "name": "vue-cookie", + "description": "A Vue.js plugin for manipulating cookies", + "main": "src/vue-cookie.js", + "authors": [ + "Alf Henderson " + ], + "license": "MIT", + "keywords": [ + "VueJS", + "Cookie" + ], + "homepage": "https://github.com/alfhen/vue-cookie", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests" + ] +} diff --git a/build/vue-cookie.js b/build/vue-cookie.js index 6d2d705..277e9d8 100644 --- a/build/vue-cookie.js +++ b/build/vue-cookie.js @@ -1 +1 @@ -!function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,n,e){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=77)}([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)},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(31),o=e(16);t.exports=function(t){return r(o(t))}},function(t,n,e){t.exports=!e(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(5),o=e(14);t.exports=e(3)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(11),o=e(30),i=e(25),u=Object.defineProperty;n.f=e(3)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(c){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(23)("wks"),o=e(15),i=e(0).Symbol,u="function"==typeof i,c=t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))};c.store=r},function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(35),o=e(17);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(0),o=e(7),i=e(51),u=e(4),c="prototype",f=function(t,n,e){var s,a,l,p=t&f.F,v=t&f.G,y=t&f.S,h=t&f.P,d=t&f.B,b=t&f.W,g=v?o:o[n]||(o[n]={}),m=g[c],x=v?r:y?r[n]:(r[n]||{})[c];v&&(e=n);for(s in e)a=!p&&x&&void 0!==x[s],a&&s in g||(l=a?x[s]:e[s],g[s]=v&&"function"!=typeof x[s]?e[s]:d&&a?i(l,r):b&&x[s]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[c]=t[c],n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[s]=l,t&f.R&&m&&!m[s]&&u(m,s,l)))};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},function(t,n){n.f={}.propertyIsEnumerable},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports={}},function(t,n){t.exports=!0},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(5).f,o=e(1),i=e(6)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(23)("keys"),o=e(15);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(0),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(9);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")}},function(t,n,e){var r=e(0),o=e(7),i=e(19),u=e(27),c=e(5).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,e){n.f=e(6)},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(9),o=e(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){t.exports=!e(3)&&!e(8)(function(){return 7!=Object.defineProperty(e(29)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(28);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){"use strict";var r=e(19),o=e(12),i=e(36),u=e(4),c=e(1),f=e(18),s=e(56),a=e(21),l=e(64),p=e(6)("iterator"),v=!([].keys&&"next"in[].keys()),y="@@iterator",h="keys",d="values",b=function(){return this};t.exports=function(t,n,e,g,m,x,O){s(e,n,g);var w,S,_,j=function(t){if(!v&&t in M)return M[t];switch(t){case h:return function(){return new e(this,t)};case d:return function(){return new e(this,t)}}return function(){return new e(this,t)}},P=n+" Iterator",k=m==d,E=!1,M=t.prototype,F=M[p]||M[y]||m&&M[m],I=F||j(m),A=m?k?j("entries"):I:void 0,N="Array"==n?M.entries||F:F;if(N&&(_=l(N.call(new t)),_!==Object.prototype&&(a(_,P,!0),r||c(_,p)||u(_,p,b))),k&&F&&F.name!==d&&(E=!0,I=function(){return F.call(this)}),r&&!O||!v&&!E&&M[p]||u(M,p,I),f[n]=I,f[P]=b,m)if(w={values:k?I:j(d),keys:x?I:j(h),entries:A},O)for(S in w)S in M||i(M,S,w[S]);else o(o.P+o.F*(v||E),n,w);return w}},function(t,n,e){var r=e(11),o=e(61),i=e(17),u=e(22)("IE_PROTO"),c=function(){},f="prototype",s=function(){var t,n=e(29)("iframe"),r=i.length,o="<",u=">";for(n.style.display="none",e(53).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+u+"document.F=Object"+o+"/script"+u),t.close(),s=t.F;r--;)delete s[f][i[r]];return s()};t.exports=Object.create||function(t,n){var e;return null!==t?(c[f]=r(t),e=new c,c[f]=null,e[u]=t):e=s(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(35),o=e(17).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(1),o=e(2),i=e(50)(!1),u=e(22)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),f=0,s=[];for(e in c)e!=u&&r(c,e)&&s.push(e);for(;n.length>f;)r(c,e=n[f++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){t.exports=e(4)},function(t,n,e){var r=e(16);t.exports=function(t){return Object(r(t))}},function(t,n,e){t.exports={"default":e(44),__esModule:!0}},function(t,n,e){t.exports={"default":e(45),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}n.__esModule=!0;var o=e(43),i=r(o),u=e(42),c=r(u),f="function"==typeof c["default"]&&"symbol"==typeof i["default"]?function(t){return typeof t}:function(t){return t&&"function"==typeof c["default"]&&t.constructor===c["default"]&&t!==c["default"].prototype?"symbol":typeof t};n["default"]="function"==typeof c["default"]&&"symbol"===f(i["default"])?function(t){return"undefined"==typeof t?"undefined":f(t)}:function(t){return t&&"function"==typeof c["default"]&&t.constructor===c["default"]&&t!==c["default"].prototype?"symbol":"undefined"==typeof t?"undefined":f(t)}},function(t,n,e){var r,o;!function(i,u){r=u,o="function"==typeof r?r.call(n,e,n,t):r,!(void 0!==o&&(t.exports=o))}(this,function(){"use strict";function t(n,e,r){return void 0===e?t.get(n):void(null===e?t.remove(n):t.set(n,e,r))}function n(t){return t.replace(/[.*+?^$|[\](){}\\-]/g,"\\$&")}function e(t){var n="";for(var e in t)if(t.hasOwnProperty(e)){if("expires"===e){var o=t[e];"object"!=typeof o&&(o+="number"==typeof o?"D":"",o=r(o)),t[e]=o.toUTCString()}if("secure"===e){t[e]&&(n+=";"+e);continue}n+=";"+e+"="+t[e]}return t.hasOwnProperty("path")||(n+=";path=/"),n}function r(t){var n=new Date,e=t.charAt(t.length-1),r=parseInt(t,10);switch(e){case"Y":n.setFullYear(n.getFullYear()+r);break;case"M":n.setMonth(n.getMonth()+r);break;case"D":n.setDate(n.getDate()+r);break;case"h":n.setHours(n.getHours()+r);break;case"m":n.setMinutes(n.getMinutes()+r);break;case"s":n.setSeconds(n.getSeconds()+r);break;default:n=new Date(t)}return n}return t.enabled=function(){var n,e="__test_key";return document.cookie=e+"=1",n=!!document.cookie,n&&t.remove(e),n},t.get=function(t,e){if("string"!=typeof t||!t)return null;t="(?:^|; )"+n(t)+"(?:=([^;]*?))?(?:;|$)";var r=new RegExp(t),o=r.exec(document.cookie);return null!==o?e?o[1]:decodeURIComponent(o[1]):null},t.getRaw=function(n){return t.get(n,!0)},t.set=function(t,n,r,o){r!==!0&&(o=r,r=!1),o=e(o?o:{});var i=t+"="+(r?n:encodeURIComponent(n))+o;document.cookie=i},t.setRaw=function(n,e,r){t.set(n,e,!0,r)},t.remove=function(n){t.set(n,"a",{expires:new Date})},t})},function(t,n,e){t.exports={"default":e(46),__esModule:!0}},function(t,n,e){t.exports={"default":e(47),__esModule:!0}},function(t,n,e){e(69),t.exports=e(7).Number.isInteger},function(t,n,e){e(70),t.exports=e(7).Object.assign},function(t,n,e){e(73),e(71),e(74),e(75),t.exports=e(7).Symbol},function(t,n,e){e(72),e(76),t.exports=e(27).f("iterator")},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(2),o=e(67),i=e(66);t.exports=function(t){return function(n,e,u){var c,f=r(n),s=o(f.length),a=i(u,s);if(t&&e!=e){for(;s>a;)if(c=f[a++],c!=c)return!0}else for(;s>a;a++)if((t||a in f)&&f[a]===e)return t||a||0;return!t&&-1}}},function(t,n,e){var r=e(48);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)}}},function(t,n,e){var r=e(10),o=e(20),i=e(13);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),f=i.f,s=0;c.length>s;)f.call(t,u=c[s++])&&n.push(u);return n}},function(t,n,e){t.exports=e(0).document&&document.documentElement},function(t,n,e){var r=e(28);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(9),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,n,e){"use strict";var r=e(33),o=e(14),i=e(21),u={};e(4)(u,e(6)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(10),o=e(2);t.exports=function(t,n){for(var e,i=o(t),u=r(i),c=u.length,f=0;c>f;)if(i[e=u[f++]]===n)return e}},function(t,n,e){var r=e(15)("meta"),o=e(9),i=e(1),u=e(5).f,c=0,f=Object.isExtensible||function(){return!0},s=!e(8)(function(){return f(Object.preventExtensions({}))}),a=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!f(t))return"F";if(!n)return"E";a(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!f(t))return!0;if(!n)return!1;a(t)}return t[r].w},v=function(t){return s&&y.NEED&&f(t)&&!i(t,r)&&a(t),t},y=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:v}},function(t,n,e){"use strict";var r=e(10),o=e(20),i=e(13),u=e(37),c=e(31),f=Object.assign;t.exports=!f||e(8)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=f({},t)[e]||Object.keys(f({},n)).join("")!=r})?function(t,n){for(var e=u(t),f=arguments.length,s=1,a=o.f,l=i.f;f>s;)for(var p,v=c(arguments[s++]),y=a?r(v).concat(a(v)):r(v),h=y.length,d=0;h>d;)l.call(v,p=y[d++])&&(e[p]=v[p]);return e}:f},function(t,n,e){var r=e(5),o=e(11),i=e(10);t.exports=e(3)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,f=0;c>f;)r.f(t,e=u[f++],n[e]);return t}},function(t,n,e){var r=e(13),o=e(14),i=e(2),u=e(25),c=e(1),f=e(30),s=Object.getOwnPropertyDescriptor;n.f=e(3)?s:function(t,n){if(t=i(t),n=u(n,!0),f)try{return s(t,n)}catch(e){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(2),o=e(34).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(n){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?c(t):o(r(t))}},function(t,n,e){var r=e(1),o=e(37),i=e(22)("IE_PROTO"),u=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?u:null}},function(t,n,e){var r=e(24),o=e(16);t.exports=function(t){return function(n,e){var i,u,c=String(o(n)),f=r(e),s=c.length;return f<0||f>=s?t?"":void 0:(i=c.charCodeAt(f),i<55296||i>56319||f+1===s||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):i:t?c.slice(f,f+2):(i-55296<<10)+(u-56320)+65536)}}},function(t,n,e){var r=e(24),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(24),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){"use strict";var r=e(49),o=e(57),i=e(18),u=e(2);t.exports=e(32)(Array,"Array",function(t,n){this._t=u(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)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(12);r(r.S,"Number",{isInteger:e(55)})},function(t,n,e){var r=e(12);r(r.S+r.F,"Object",{assign:e(60)})},function(t,n){},function(t,n,e){"use strict";var r=e(65)(!0);e(32)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(0),o=e(1),i=e(3),u=e(12),c=e(36),f=e(59).KEY,s=e(8),a=e(23),l=e(21),p=e(15),v=e(6),y=e(27),h=e(26),d=e(58),b=e(52),g=e(54),m=e(11),x=e(2),O=e(25),w=e(14),S=e(33),_=e(63),j=e(62),P=e(5),k=e(10),E=j.f,M=P.f,F=_.f,I=r.Symbol,A=r.JSON,N=A&&A.stringify,T="prototype",D=v("_hidden"),C=v("toPrimitive"),R={}.propertyIsEnumerable,L=a("symbol-registry"),W=a("symbols"),Y=a("op-symbols"),J=Object[T],U="function"==typeof I,$=r.QObject,G=!$||!$[T]||!$[T].findChild,K=i&&s(function(){return 7!=S(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=E(J,n);r&&delete J[n],M(t,n,e),r&&t!==J&&M(J,n,r)}:M,z=function(t){var n=W[t]=S(I[T]);return n._k=t,n},B=U&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},H=function(t,n,e){return t===J&&H(Y,n,e),m(t),n=O(n,!0),m(e),o(W,n)?(e.enumerable?(o(t,D)&&t[D][n]&&(t[D][n]=!1),e=S(e,{enumerable:w(0,!1)})):(o(t,D)||M(t,D,w(1,{})),t[D][n]=!0),K(t,n,e)):M(t,n,e)},q=function(t,n){m(t);for(var e,r=b(n=x(n)),o=0,i=r.length;i>o;)H(t,e=r[o++],n[e]);return t},Q=function(t,n){return void 0===n?S(t):q(S(t),n)},V=function(t){var n=R.call(this,t=O(t,!0));return!(this===J&&o(W,t)&&!o(Y,t))&&(!(n||!o(this,t)||!o(W,t)||o(this,D)&&this[D][t])||n)},X=function(t,n){if(t=x(t),n=O(n,!0),t!==J||!o(W,n)||o(Y,n)){var e=E(t,n);return!e||!o(W,n)||o(t,D)&&t[D][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=F(x(t)),r=[],i=0;e.length>i;)o(W,n=e[i++])||n==D||n==f||r.push(n);return r},tt=function(t){for(var n,e=t===J,r=F(e?Y:x(t)),i=[],u=0;r.length>u;)!o(W,n=r[u++])||e&&!o(J,n)||i.push(W[n]);return i};U||(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===J&&n.call(Y,e),o(this,D)&&o(this[D],t)&&(this[D][t]=!1),K(this,t,w(1,e))};return i&&G&&K(J,t,{configurable:!0,set:n}),z(t)},c(I[T],"toString",function(){return this._k}),j.f=X,P.f=H,e(34).f=_.f=Z,e(13).f=V,e(20).f=tt,i&&!e(19)&&c(J,"propertyIsEnumerable",V,!0),y.f=function(t){return z(v(t))}),u(u.G+u.W+u.F*!U,{Symbol:I});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)v(nt[et++]);for(var nt=k(v.store),et=0;nt.length>et;)h(nt[et++]);u(u.S+u.F*!U,"Symbol",{"for":function(t){return o(L,t+="")?L[t]:L[t]=I(t)},keyFor:function(t){if(B(t))return d(L,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){G=!0},useSimple:function(){G=!1}}),u(u.S+u.F*!U,"Object",{create:Q,defineProperty:H,defineProperties:q,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),A&&u(u.S+u.F*(!U||s(function(){var t=I();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!B(t)){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return n=r[1],"function"==typeof n&&(e=n),!e&&g(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!B(n))return n}),r[1]=n,N.apply(A,r)}}}),I[T][C]||e(4)(I[T],C,I[T].valueOf),l(I,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(26)("asyncIterator")},function(t,n,e){e(26)("observable")},function(t,n,e){e(68);for(var r=e(0),o=e(4),i=e(18),u=e(6)("toStringTag"),c=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],f=0;f<5;f++){var s=c[f],a=r[s],l=a&&a.prototype;l&&!l[u]&&o(l,u,s),i[s]=i.Array}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o,i,u=e(40),c=r(u),f=e(39),s=r(f),a=e(38),l=r(a);!function(){var r=e(41),u={install:function(t){t.prototype.$cookie=this,t.cookie=this},set:function(t,n,e){var o=e;return(0,l["default"])(e)&&(o={expires:e}),r.set(t,n,o)},get:function(t){return r.get(t)},"delete":function(t,n){var e={expires:-1};void 0!==n&&(e=(0,s["default"])(n,e)),this.set(t,"",e)}};"object"==(0,c["default"])(n)?t.exports=u:(o=[],i=function(){return u}.apply(n,o),!(void 0!==i&&(t.exports=i)))}()}]); \ No newline at end of file +!function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,n,e){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=77)}([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)},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(31),o=e(16);t.exports=function(t){return r(o(t))}},function(t,n,e){t.exports=!e(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(5),o=e(14);t.exports=e(3)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(11),o=e(30),i=e(25),u=Object.defineProperty;n.f=e(3)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(c){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(23)("wks"),o=e(15),i=e(0).Symbol,u="function"==typeof i,c=t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))};c.store=r},function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(35),o=e(17);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(0),o=e(7),i=e(51),u=e(4),c="prototype",f=function(t,n,e){var s,a,l,p=t&f.F,v=t&f.G,y=t&f.S,h=t&f.P,d=t&f.B,b=t&f.W,g=v?o:o[n]||(o[n]={}),m=g[c],x=v?r:y?r[n]:(r[n]||{})[c];v&&(e=n);for(s in e)a=!p&&x&&void 0!==x[s],a&&s in g||(l=a?x[s]:e[s],g[s]=v&&"function"!=typeof x[s]?e[s]:d&&a?i(l,r):b&&x[s]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[c]=t[c],n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[s]=l,t&f.R&&m&&!m[s]&&u(m,s,l)))};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},function(t,n){n.f={}.propertyIsEnumerable},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports={}},function(t,n){t.exports=!0},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(5).f,o=e(1),i=e(6)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(23)("keys"),o=e(15);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(0),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(9);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")}},function(t,n,e){var r=e(0),o=e(7),i=e(19),u=e(27),c=e(5).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,e){n.f=e(6)},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(9),o=e(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){t.exports=!e(3)&&!e(8)(function(){return 7!=Object.defineProperty(e(29)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(28);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){"use strict";var r=e(19),o=e(12),i=e(36),u=e(4),c=e(1),f=e(18),s=e(56),a=e(21),l=e(64),p=e(6)("iterator"),v=!([].keys&&"next"in[].keys()),y="@@iterator",h="keys",d="values",b=function(){return this};t.exports=function(t,n,e,g,m,x,O){s(e,n,g);var w,S,_,j=function(t){if(!v&&t in M)return M[t];switch(t){case h:return function(){return new e(this,t)};case d:return function(){return new e(this,t)}}return function(){return new e(this,t)}},P=n+" Iterator",k=m==d,E=!1,M=t.prototype,F=M[p]||M[y]||m&&M[m],I=F||j(m),N=m?k?j("entries"):I:void 0,A="Array"==n?M.entries||F:F;if(A&&(_=l(A.call(new t)),_!==Object.prototype&&(a(_,P,!0),r||c(_,p)||u(_,p,b))),k&&F&&F.name!==d&&(E=!0,I=function(){return F.call(this)}),r&&!O||!v&&!E&&M[p]||u(M,p,I),f[n]=I,f[P]=b,m)if(w={values:k?I:j(d),keys:x?I:j(h),entries:N},O)for(S in w)S in M||i(M,S,w[S]);else o(o.P+o.F*(v||E),n,w);return w}},function(t,n,e){var r=e(11),o=e(61),i=e(17),u=e(22)("IE_PROTO"),c=function(){},f="prototype",s=function(){var t,n=e(29)("iframe"),r=i.length,o="<",u=">";for(n.style.display="none",e(53).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+u+"document.F=Object"+o+"/script"+u),t.close(),s=t.F;r--;)delete s[f][i[r]];return s()};t.exports=Object.create||function(t,n){var e;return null!==t?(c[f]=r(t),e=new c,c[f]=null,e[u]=t):e=s(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(35),o=e(17).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(1),o=e(2),i=e(50)(!1),u=e(22)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),f=0,s=[];for(e in c)e!=u&&r(c,e)&&s.push(e);for(;n.length>f;)r(c,e=n[f++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){t.exports=e(4)},function(t,n,e){var r=e(16);t.exports=function(t){return Object(r(t))}},function(t,n,e){t.exports={"default":e(44),__esModule:!0}},function(t,n,e){t.exports={"default":e(45),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}n.__esModule=!0;var o=e(43),i=r(o),u=e(42),c=r(u),f="function"==typeof c["default"]&&"symbol"==typeof i["default"]?function(t){return typeof t}:function(t){return t&&"function"==typeof c["default"]&&t.constructor===c["default"]&&t!==c["default"].prototype?"symbol":typeof t};n["default"]="function"==typeof c["default"]&&"symbol"===f(i["default"])?function(t){return"undefined"==typeof t?"undefined":f(t)}:function(t){return t&&"function"==typeof c["default"]&&t.constructor===c["default"]&&t!==c["default"].prototype?"symbol":"undefined"==typeof t?"undefined":f(t)}},function(t,n,e){var r,o;!function(i,u){r=u,o="function"==typeof r?r.call(n,e,n,t):r,!(void 0!==o&&(t.exports=o))}(this,function(){"use strict";function t(n,e,r){return void 0===e?t.get(n):void(null===e?t.remove(n):t.set(n,e,r))}function n(t){return t.replace(/[.*+?^$|[\](){}\\-]/g,"\\$&")}function e(t){var n="";for(var e in t)if(t.hasOwnProperty(e)){if("expires"===e){var o=t[e];"object"!=typeof o&&(o+="number"==typeof o?"D":"",o=r(o)),t[e]=o.toUTCString()}if("secure"===e){t[e]&&(n+=";"+e);continue}n+=";"+e+"="+t[e]}return t.hasOwnProperty("path")||(n+=";path=/"),n}function r(t){var n=new Date,e=t.charAt(t.length-1),r=parseInt(t,10);switch(e){case"Y":n.setFullYear(n.getFullYear()+r);break;case"M":n.setMonth(n.getMonth()+r);break;case"D":n.setDate(n.getDate()+r);break;case"h":n.setHours(n.getHours()+r);break;case"m":n.setMinutes(n.getMinutes()+r);break;case"s":n.setSeconds(n.getSeconds()+r);break;default:n=new Date(t)}return n}return t.enabled=function(){var n,e="__test_key";return document.cookie=e+"=1",n=!!document.cookie,n&&t.remove(e),n},t.get=function(t,e){if("string"!=typeof t||!t)return null;t="(?:^|; )"+n(t)+"(?:=([^;]*?))?(?:;|$)";var r=new RegExp(t),o=r.exec(document.cookie);return null!==o?e?o[1]:decodeURIComponent(o[1]):null},t.getRaw=function(n){return t.get(n,!0)},t.set=function(t,n,r,o){r!==!0&&(o=r,r=!1),o=e(o?o:{});var i=t+"="+(r?n:encodeURIComponent(n))+o;document.cookie=i},t.setRaw=function(n,e,r){t.set(n,e,!0,r)},t.remove=function(n){t.set(n,"a",{expires:new Date})},t})},function(t,n,e){t.exports={"default":e(46),__esModule:!0}},function(t,n,e){t.exports={"default":e(47),__esModule:!0}},function(t,n,e){e(69),t.exports=e(7).Number.isInteger},function(t,n,e){e(70),t.exports=e(7).Object.assign},function(t,n,e){e(73),e(71),e(74),e(75),t.exports=e(7).Symbol},function(t,n,e){e(72),e(76),t.exports=e(27).f("iterator")},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(2),o=e(67),i=e(66);t.exports=function(t){return function(n,e,u){var c,f=r(n),s=o(f.length),a=i(u,s);if(t&&e!=e){for(;s>a;)if(c=f[a++],c!=c)return!0}else for(;s>a;a++)if((t||a in f)&&f[a]===e)return t||a||0;return!t&&-1}}},function(t,n,e){var r=e(48);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)}}},function(t,n,e){var r=e(10),o=e(20),i=e(13);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),f=i.f,s=0;c.length>s;)f.call(t,u=c[s++])&&n.push(u);return n}},function(t,n,e){t.exports=e(0).document&&document.documentElement},function(t,n,e){var r=e(28);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(9),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,n,e){"use strict";var r=e(33),o=e(14),i=e(21),u={};e(4)(u,e(6)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(10),o=e(2);t.exports=function(t,n){for(var e,i=o(t),u=r(i),c=u.length,f=0;c>f;)if(i[e=u[f++]]===n)return e}},function(t,n,e){var r=e(15)("meta"),o=e(9),i=e(1),u=e(5).f,c=0,f=Object.isExtensible||function(){return!0},s=!e(8)(function(){return f(Object.preventExtensions({}))}),a=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!f(t))return"F";if(!n)return"E";a(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!f(t))return!0;if(!n)return!1;a(t)}return t[r].w},v=function(t){return s&&y.NEED&&f(t)&&!i(t,r)&&a(t),t},y=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:v}},function(t,n,e){"use strict";var r=e(10),o=e(20),i=e(13),u=e(37),c=e(31),f=Object.assign;t.exports=!f||e(8)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=f({},t)[e]||Object.keys(f({},n)).join("")!=r})?function(t,n){for(var e=u(t),f=arguments.length,s=1,a=o.f,l=i.f;f>s;)for(var p,v=c(arguments[s++]),y=a?r(v).concat(a(v)):r(v),h=y.length,d=0;h>d;)l.call(v,p=y[d++])&&(e[p]=v[p]);return e}:f},function(t,n,e){var r=e(5),o=e(11),i=e(10);t.exports=e(3)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,f=0;c>f;)r.f(t,e=u[f++],n[e]);return t}},function(t,n,e){var r=e(13),o=e(14),i=e(2),u=e(25),c=e(1),f=e(30),s=Object.getOwnPropertyDescriptor;n.f=e(3)?s:function(t,n){if(t=i(t),n=u(n,!0),f)try{return s(t,n)}catch(e){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(2),o=e(34).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(n){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?c(t):o(r(t))}},function(t,n,e){var r=e(1),o=e(37),i=e(22)("IE_PROTO"),u=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?u:null}},function(t,n,e){var r=e(24),o=e(16);t.exports=function(t){return function(n,e){var i,u,c=String(o(n)),f=r(e),s=c.length;return f<0||f>=s?t?"":void 0:(i=c.charCodeAt(f),i<55296||i>56319||f+1===s||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):i:t?c.slice(f,f+2):(i-55296<<10)+(u-56320)+65536)}}},function(t,n,e){var r=e(24),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(24),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){"use strict";var r=e(49),o=e(57),i=e(18),u=e(2);t.exports=e(32)(Array,"Array",function(t,n){this._t=u(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)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(12);r(r.S,"Number",{isInteger:e(55)})},function(t,n,e){var r=e(12);r(r.S+r.F,"Object",{assign:e(60)})},function(t,n){},function(t,n,e){"use strict";var r=e(65)(!0);e(32)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(0),o=e(1),i=e(3),u=e(12),c=e(36),f=e(59).KEY,s=e(8),a=e(23),l=e(21),p=e(15),v=e(6),y=e(27),h=e(26),d=e(58),b=e(52),g=e(54),m=e(11),x=e(2),O=e(25),w=e(14),S=e(33),_=e(63),j=e(62),P=e(5),k=e(10),E=j.f,M=P.f,F=_.f,I=r.Symbol,N=r.JSON,A=N&&N.stringify,T="prototype",D=v("_hidden"),C=v("toPrimitive"),R={}.propertyIsEnumerable,L=a("symbol-registry"),W=a("symbols"),Y=a("op-symbols"),J=Object[T],U="function"==typeof I,$=r.QObject,G=!$||!$[T]||!$[T].findChild,K=i&&s(function(){return 7!=S(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=E(J,n);r&&delete J[n],M(t,n,e),r&&t!==J&&M(J,n,r)}:M,z=function(t){var n=W[t]=S(I[T]);return n._k=t,n},B=U&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},H=function(t,n,e){return t===J&&H(Y,n,e),m(t),n=O(n,!0),m(e),o(W,n)?(e.enumerable?(o(t,D)&&t[D][n]&&(t[D][n]=!1),e=S(e,{enumerable:w(0,!1)})):(o(t,D)||M(t,D,w(1,{})),t[D][n]=!0),K(t,n,e)):M(t,n,e)},q=function(t,n){m(t);for(var e,r=b(n=x(n)),o=0,i=r.length;i>o;)H(t,e=r[o++],n[e]);return t},Q=function(t,n){return void 0===n?S(t):q(S(t),n)},V=function(t){var n=R.call(this,t=O(t,!0));return!(this===J&&o(W,t)&&!o(Y,t))&&(!(n||!o(this,t)||!o(W,t)||o(this,D)&&this[D][t])||n)},X=function(t,n){if(t=x(t),n=O(n,!0),t!==J||!o(W,n)||o(Y,n)){var e=E(t,n);return!e||!o(W,n)||o(t,D)&&t[D][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=F(x(t)),r=[],i=0;e.length>i;)o(W,n=e[i++])||n==D||n==f||r.push(n);return r},tt=function(t){for(var n,e=t===J,r=F(e?Y:x(t)),i=[],u=0;r.length>u;)!o(W,n=r[u++])||e&&!o(J,n)||i.push(W[n]);return i};U||(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===J&&n.call(Y,e),o(this,D)&&o(this[D],t)&&(this[D][t]=!1),K(this,t,w(1,e))};return i&&G&&K(J,t,{configurable:!0,set:n}),z(t)},c(I[T],"toString",function(){return this._k}),j.f=X,P.f=H,e(34).f=_.f=Z,e(13).f=V,e(20).f=tt,i&&!e(19)&&c(J,"propertyIsEnumerable",V,!0),y.f=function(t){return z(v(t))}),u(u.G+u.W+u.F*!U,{Symbol:I});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)v(nt[et++]);for(var nt=k(v.store),et=0;nt.length>et;)h(nt[et++]);u(u.S+u.F*!U,"Symbol",{"for":function(t){return o(L,t+="")?L[t]:L[t]=I(t)},keyFor:function(t){if(B(t))return d(L,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){G=!0},useSimple:function(){G=!1}}),u(u.S+u.F*!U,"Object",{create:Q,defineProperty:H,defineProperties:q,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),N&&u(u.S+u.F*(!U||s(function(){var t=I();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!B(t)){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return n=r[1],"function"==typeof n&&(e=n),!e&&g(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!B(n))return n}),r[1]=n,A.apply(N,r)}}}),I[T][C]||e(4)(I[T],C,I[T].valueOf),l(I,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(26)("asyncIterator")},function(t,n,e){e(26)("observable")},function(t,n,e){e(68);for(var r=e(0),o=e(4),i=e(18),u=e(6)("toStringTag"),c=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],f=0;f<5;f++){var s=c[f],a=r[s],l=a&&a.prototype;l&&!l[u]&&o(l,u,s),i[s]=i.Array}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o,i,u=e(40),c=r(u),f=e(39),s=r(f),a=e(38),l=r(a);!function(){Number.isInteger=l["default"]||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t};var r=e(41),u={install:function(t){t.prototype.$cookie=this,t.cookie=this},set:function(t,n,e){var o=e;return(0,l["default"])(e)&&(o={expires:e}),r.set(t,n,o)},get:function(t){return r.get(t)},"delete":function(t,n){var e={expires:-1};void 0!==n&&(e=(0,s["default"])(n,e)),this.set(t,"",e)}};"object"==(0,c["default"])(n)?t.exports=u:(o=[],i=function(){return u}.apply(n,o),!(void 0!==i&&(t.exports=i)))}()}]); \ No newline at end of file diff --git a/package.json b/package.json index 9780971..2e0636a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-cookie", - "version": "1.1.3", + "version": "1.1.4", "description": "A Vue.js plugin for manipulating cookies", "author": "Alf Henderson ", "private": false, diff --git a/test/bundle.js b/test/bundle.js index 3f24872..d030b77 100644 --- a/test/bundle.js +++ b/test/bundle.js @@ -305,7 +305,7 @@ eval("/* WEBPACK VAR INJECTION */(function(process) {/*!\n * Vue.js v2.0.5\n * ( /***/ function(module, exports, __webpack_require__) { "use strict"; -eval("var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\n\nvar _typeof2 = __webpack_require__(44);\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nvar _assign = __webpack_require__(41);\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _isInteger = __webpack_require__(40);\n\nvar _isInteger2 = _interopRequireDefault(_isInteger);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n(function () {\n\n var Cookie = __webpack_require__(79);\n\n var VueCookie = {\n\n install: function install(Vue) {\n Vue.prototype.$cookie = this;\n Vue.cookie = this;\n },\n set: function set(name, value, daysOrOptions) {\n var opts = daysOrOptions;\n if ((0, _isInteger2.default)(daysOrOptions)) {\n opts = { expires: daysOrOptions };\n }\n return Cookie.set(name, value, opts);\n },\n\n get: function get(name) {\n return Cookie.get(name);\n },\n\n delete: function _delete(name, options) {\n var opts = { expires: -1 };\n if (options !== undefined) {\n opts = (0, _assign2.default)(options, opts);\n }\n this.set(name, '', opts);\n }\n };\n\n if (( false ? 'undefined' : (0, _typeof3.default)(exports)) == \"object\") {\n module.exports = VueCookie;\n } else if (true) {\n !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n return VueCookie;\n }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n } else if (window.Vue) {\n window.VueCookie = VueCookie;\n Vue.use(VueCookie);\n }\n})();//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vc3JjL3Z1ZS1jb29raWUuanM/NzhlMSJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIHN0cmljdCc7XG5cbnZhciBfdHlwZW9mMiA9IHJlcXVpcmUoJ2JhYmVsLXJ1bnRpbWUvaGVscGVycy90eXBlb2YnKTtcblxudmFyIF90eXBlb2YzID0gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChfdHlwZW9mMik7XG5cbnZhciB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QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9"); +eval("var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';\n\nvar _typeof2 = __webpack_require__(44);\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nvar _assign = __webpack_require__(41);\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _isInteger = __webpack_require__(40);\n\nvar _isInteger2 = _interopRequireDefault(_isInteger);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n(function () {\n Number.isInteger = _isInteger2.default || function (value) {\n return typeof value === 'number' && isFinite(value) && Math.floor(value) === value;\n };\n var Cookie = __webpack_require__(79);\n\n var VueCookie = {\n\n install: function install(Vue) {\n Vue.prototype.$cookie = this;\n Vue.cookie = this;\n },\n set: function set(name, value, daysOrOptions) {\n var opts = daysOrOptions;\n if ((0, _isInteger2.default)(daysOrOptions)) {\n opts = { expires: daysOrOptions };\n }\n return Cookie.set(name, value, opts);\n },\n\n get: function get(name) {\n return Cookie.get(name);\n },\n\n delete: function _delete(name, options) {\n var opts = { expires: -1 };\n if (options !== undefined) {\n opts = (0, _assign2.default)(options, opts);\n }\n this.set(name, '', opts);\n }\n };\n\n if (( false ? 'undefined' : (0, _typeof3.default)(exports)) == \"object\") {\n module.exports = VueCookie;\n } else if (true) {\n !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n return VueCookie;\n }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n } else if (window.Vue) {\n window.VueCookie = VueCookie;\n Vue.use(VueCookie);\n }\n})();//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vc3JjL3Z1ZS1jb29raWUuanM/NzhlMSJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIHN0cmljdCc7XG5cbnZhciBfdHlwZW9mMiA9IHJlcXVpcmUoJ2JhYmVsLXJ1bnRpbWUvaGVscGVycy90eXBlb2YnKTtcblxudmFyIF90eXBlb2YzID0gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChfdHlwZW9mMik7XG5cbnZhciBfYXNzaWduID0gcmVxdWlyZSgnYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9hc3NpZ24nKTtcblxudmFyIF9hc3NpZ24yID0gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChfYXNzaWduKTtcblxudmFyIF9pc0ludGVnZXIgPSByZXF1aXJlKCdiYWJlbC1ydW50aW1lL2NvcmUtanMvbnVtYmVyL2lzLWludGVnZXInKTtcblxudmFyIF9pc0ludGVnZXIyID0gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChfaXNJbnRlZ2VyKTtcblxuZnVuY3Rpb24gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChvYmopIHsgcmV0dXJuIG9iaiAmJiBvYmouX19lc01vZHVsZSA/IG9iaiA6IHsgZGVmYXVsdDogb2JqIH07IH1cblxuKGZ1bmN0aW9uICgpIHtcbiAgICBOdW1iZXIuaXNJbnRlZ2VyID0gX2lzSW50ZWdlcjIuZGVmYXVsdCB8fCBmdW5jdGlvbiAodmFsdWUpIHtcbiAgICAgICAgcmV0dXJuIHR5cGVvZiB2YWx1ZSA9PT0gJ251bWJlcicgJiYgaXNGaW5pdGUodmFsdWUpICYmIE1hdGguZmxvb3IodmFsdWUpID09PSB2YWx1ZTtcbiAgICB9O1xuICAgIHZhciBDb29raWUgPSByZXF1aXJlKCd0aW55LWNvb2tpZScpO1xuXG4gICAgdmFyIFZ1ZUNvb2tpZSA9IHtcblxuICAgICAgICBpbnN0YWxsOiBmdW5jdGlvbiBpbnN0YWxsKFZ1ZSkge1xuICAgICAgICAgICAgVnVlLnByb3RvdHlwZS4kY29va2llID0gdGhpcztcbiAgICAgICAgICAgIFZ1ZS5jb29raWUgPSB0aGlzO1xuICAgICAgICB9LFxuICAgICAgICBzZXQ6IGZ1bmN0aW9uIHNldChuYW1lLCB2YWx1ZSwgZGF5c09yT3B0aW9ucykge1xuICAgICAgICAgICAgdmFyIG9wdHMgPSBkYXlzT3JPcHRpb25zO1xuICAgICAgICAgICAgaWYgKCgwLCBfaXNJbnRlZ2VyMi5kZWZhdWx0KShkYXlzT3JPcHRpb25zKSkge1xuICAgICAgICAgICAgICAgIG9wdHMgPSB7IGV4cGlyZXM6IGRheXNPck9wdGlvbnMgfTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiBDb29raWUuc2V0KG5hbWUsIHZhbHVlLCBvcHRzKTtcbiAgICAgICAgfSxcblxuICAgICAgICBnZXQ6IGZ1bmN0aW9uIGdldChuYW1lKSB7XG4gICAgICAgICAgICByZXR1cm4gQ29va2llLmdldChuYW1lKTtcbiAgICAgICAgfSxcblxuICAgICAgICBkZWxldGU6IGZ1bmN0aW9uIF9kZWxldGUobmFtZSwgb3B0aW9ucykge1xuICAgICAgICAgICAgdmFyIG9wdHMgPSB7IGV4cGlyZXM6IC0xIH07XG4gICAgICAgICAgICBpZiAob3B0aW9ucyA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BO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ=="); /***/ }, /* 40 */ @@ -545,7 +545,7 @@ eval("__webpack_require__(69);\nvar global = __webpack_require__(0)\n , /* 78 */ /***/ function(module, exports) { -eval("// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9+L3Byb2Nlc3MvYnJvd3Nlci5qcz84MmU0Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIHNoaW0gZm9yIHVzaW5nIHByb2Nlc3MgaW4gYnJvd3NlclxudmFyIHByb2Nlc3MgPSBtb2R1bGUuZXhwb3J0cyA9IHt9O1xuXG4vLyBjYWNoZWQgZnJvbSB3aGF0ZXZlciBnbG9iYWwgaXMgcHJlc2VudCBzbyB0aGF0IHRlc3QgcnVubmVycyB0aGF0IHN0dWIgaXRcbi8vIGRvbid0IGJyZWFrIHRoaW5ncy4gIEJ1dCB3ZSBuZWVkIHRvIHdyYXAgaXQgaW4gYSB0cnkgY2F0Y2ggaW4gY2FzZSBpdCBpc1xuLy8gd3JhcHBlZCBpbiBzdHJpY3QgbW9kZSBjb2RlIHdoaWNoIGRvZXNuJ3QgZGVmaW5lIGFueSBnbG9iYWxzLiAgSXQncyBpbnNpZGUgYVxuLy8gZnVuY3Rpb24gYmVjYXVzZSB0cnkvY2F0Y2hlcyBkZW9wdGltaXplIGluIGNlcnRhaW4gZW5naW5lcy5cblxudmFyIGNhY2hlZFNldFRpbWVvdXQ7XG52YXIgY2FjaGVkQ2xl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DQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0="); +eval("// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9+L25vZGUtbGlicy1icm93c2VyL34vcHJvY2Vzcy9icm93c2VyLmpzPzQ5NGMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gc2hpbSBmb3IgdXNpbmcgcHJvY2VzcyBpbiBicm93c2VyXG52YXIgcHJvY2VzcyA9IG1vZHVsZS5leHBvcnRzID0ge307XG5cbi8vIGNhY2hlZCBmcm9tIHdoYXRldmVyIGdsb2JhbCBpcyBwcmVzZW50IHNvI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