!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("lodash"),require("dexie")):"function"==typeof define&&define.amd?define(["lodash","dexie"],n):"object"==typeof exports?exports.VueIdb=n(require("lodash"),require("dexie")):t.VueIdb=n(t.lodash,t.dexie)}(this,function(t,n){return function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},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=96)}([function(t,n,e){var r=e(2),i=e(22),o=e(12),u=e(13),c=e(19),a=function(t,n,e){var f,s,l,h,v=t&a.F,p=t&a.G,d=t&a.S,y=t&a.P,g=t&a.B,_=p?r:d?r[n]||(r[n]={}):(r[n]||{}).prototype,m=p?i:i[n]||(i[n]={}),S=m.prototype||(m.prototype={});p&&(e=n);for(f in e)s=!v&&_&&void 0!==_[f],l=(s?_:e)[f],h=g&&s?c(l,r):y&&"function"==typeof l?c(Function.call,l):l,_&&u(_,f,l,t&a.U),m[f]!=l&&o(m,f,h),y&&S[f]!=l&&(S[f]=l)};r.core=i,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},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){t.exports=function(t){try{return!!t()}catch(t){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(62)("wks"),i=e(41),o=e(2).Symbol,u="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=r},function(t,n,e){t.exports=!e(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(1),i=e(109),o=e(26),u=Object.defineProperty;n.f=e(6)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return u(t,n,e)}catch(t){}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(25),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){var r=e(23);t.exports=function(t){return Object(r(t))}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(7),i=e(37);t.exports=e(6)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(2),i=e(12),o=e(11),u=e(41)("src"),c=Function.toString,a=(""+c).split("toString");e(22).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,e,c){var f="function"==typeof e;f&&(o(e,"name")||i(e,"name",n)),t[n]!==e&&(f&&(o(e,u)||i(e,u,t[n]?""+t[n]:a.join(String(n)))),t===r?t[n]=e:c?t[n]?t[n]=e:i(t,n,e):(delete t[n],i(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(t,n,e){var r=e(0),i=e(3),o=e(23),u=/"/g,c=function(t,n,e,r){var i=String(o(t)),c="<"+n;return""!==e&&(c+=" "+e+'="'+String(r).replace(u,""")+'"'),c+">"+i+""};t.exports=function(t,n){var e={};e[t]=n(c),r(r.P+r.F*i(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",e)}},function(t,n,e){var r=e(48),i=e(23);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(49),i=e(37),o=e(15),u=e(26),c=e(11),a=e(109),f=Object.getOwnPropertyDescriptor;n.f=e(6)?f:function(t,n){if(t=o(t),n=u(n,!0),a)try{return f(t,n)}catch(t){}if(c(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(11),i=e(9),o=e(83)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(10);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,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){"use strict";var r=e(3);t.exports=function(t,n){return!!t&&r(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n,e){var r=e(19),i=e(48),o=e(9),u=e(8),c=e(68);t.exports=function(t,n){var e=1==t,a=2==t,f=3==t,s=4==t,l=6==t,h=5==t||l,v=n||c;return function(n,c,p){for(var d,y,g=o(n),_=i(g),m=r(c,p,3),S=u(_.length),b=0,E=e?v(n,S):a?v(n,0):void 0;S>b;b++)if((h||b in _)&&(d=_[b],y=m(d,b,g),t))if(e)E[b]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return b;case 2:E.push(d)}else if(s)return!1;return l?-1:f||s?s:E}}},function(t,n){var e=t.exports={version:"2.5.0"};"number"==typeof __e&&(__e=e)},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(0),i=e(22),o=e(3);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*o(function(){e(1)}),"Object",u)}},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(4);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(129),i=e(0),o=e(62)("metadata"),u=o.store||(o.store=new(e(132))),c=function(t,n,e){var i=u.get(t);if(!i){if(!e)return;u.set(t,i=new r)}var o=i.get(n);if(!o){if(!e)return;i.set(n,o=new r)}return o},a=function(t,n,e){var r=c(n,e,!1);return void 0!==r&&r.has(t)},f=function(t,n,e){var r=c(n,e,!1);return void 0===r?void 0:r.get(t)},s=function(t,n,e,r){c(e,r,!0).set(t,n)},l=function(t,n){var e=c(t,n,!1),r=[];return e&&e.forEach(function(t,n){r.push(n)}),r},h=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},v=function(t){i(i.S,"Reflect",t)};t.exports={store:u,map:c,has:a,get:f,set:s,keys:l,key:h,exp:v}},function(t,n,e){"use strict";if(e(6)){var r=e(34),i=e(2),o=e(3),u=e(0),c=e(64),a=e(89),f=e(19),s=e(32),l=e(37),h=e(12),v=e(38),p=e(25),d=e(8),y=e(127),g=e(40),_=e(26),m=e(11),S=e(47),b=e(4),E=e(9),w=e(75),x=e(35),O=e(17),P=e(36).f,T=e(91),A=e(41),I=e(5),M=e(21),L=e(50),F=e(63),j=e(92),N=e(43),D=e(57),k=e(39),C=e(67),R=e(101),B=e(7),U=e(16),G=B.f,V=U.f,W=i.RangeError,z=i.TypeError,Y=i.Uint8Array,K=Array.prototype,H=a.ArrayBuffer,q=a.DataView,J=M(0),X=M(2),$=M(3),Z=M(4),Q=M(5),tt=M(6),nt=L(!0),et=L(!1),rt=j.values,it=j.keys,ot=j.entries,ut=K.lastIndexOf,ct=K.reduce,at=K.reduceRight,ft=K.join,st=K.sort,lt=K.slice,ht=K.toString,vt=K.toLocaleString,pt=I("iterator"),dt=I("toStringTag"),yt=A("typed_constructor"),gt=A("def_constructor"),_t=c.CONSTR,mt=c.TYPED,St=c.VIEW,bt=M(1,function(t,n){return Pt(F(t,t[gt]),n)}),Et=o(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),wt=!!Y&&!!Y.prototype.set&&o(function(){new Y(1).set({})}),xt=function(t,n){var e=p(t);if(e<0||e%n)throw W("Wrong offset!");return e},Ot=function(t){if(b(t)&&mt in t)return t;throw z(t+" is not a typed array!")},Pt=function(t,n){if(!(b(t)&&yt in t))throw z("It is not a typed array constructor!");return new t(n)},Tt=function(t,n){return At(F(t,t[gt]),n)},At=function(t,n){for(var e=0,r=n.length,i=Pt(t,r);r>e;)i[e]=n[e++];return i},It=function(t,n,e){G(t,n,{get:function(){return this._d[e]}})},Mt=function(t){var n,e,r,i,o,u,c=E(t),a=arguments.length,s=a>1?arguments[1]:void 0,l=void 0!==s,h=T(c);if(void 0!=h&&!w(h)){for(u=h.call(c),r=[],n=0;!(o=u.next()).done;n++)r.push(o.value);c=r}for(l&&a>2&&(s=f(s,arguments[2],2)),n=0,e=d(c.length),i=Pt(this,e);e>n;n++)i[n]=l?s(c[n],n):c[n];return i},Lt=function(){for(var t=0,n=arguments.length,e=Pt(this,n);n>t;)e[t]=arguments[t++];return e},Ft=!!Y&&o(function(){vt.call(new Y(1))}),jt=function(){return vt.apply(Ft?lt.call(Ot(this)):Ot(this),arguments)},Nt={copyWithin:function(t,n){return R.call(Ot(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return C.apply(Ot(this),arguments)},filter:function(t){return Tt(this,X(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){J(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Ot(this),arguments)},lastIndexOf:function(t){return ut.apply(Ot(this),arguments)},map:function(t){return bt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ct.apply(Ot(this),arguments)},reduceRight:function(t){return at.apply(Ot(this),arguments)},reverse:function(){for(var t,n=this,e=Ot(n).length,r=Math.floor(e/2),i=0;i1?arguments[1]:void 0)},sort:function(t){return st.call(Ot(this),t)},subarray:function(t,n){var e=Ot(this),r=e.length,i=g(t,r);return new(F(e,e[gt]))(e.buffer,e.byteOffset+i*e.BYTES_PER_ELEMENT,d((void 0===n?r:g(n,r))-i))}},Dt=function(t,n){return Tt(this,lt.call(Ot(this),t,n))},kt=function(t){Ot(this);var n=xt(arguments[1],1),e=this.length,r=E(t),i=d(r.length),o=0;if(i+n>e)throw W("Wrong length!");for(;o255?255:255&r),i.v[v](e*n+i.o,r,Et)},I=function(t,n){G(t,n,{get:function(){return T(this,n)},set:function(t){return A(this,n,t)},enumerable:!0})};m?(p=e(function(t,e,r,i){s(t,p,f,"_d");var o,u,c,a,l=0,v=0;if(b(e)){if(!(e instanceof H||"ArrayBuffer"==(a=S(e))||"SharedArrayBuffer"==a))return mt in e?At(p,e):Mt.call(p,e);o=e,v=xt(r,n);var g=e.byteLength;if(void 0===i){if(g%n)throw W("Wrong length!");if((u=g-v)<0)throw W("Wrong length!")}else if((u=d(i)*n)+v>g)throw W("Wrong length!");c=u/n}else c=y(e),u=c*n,o=new H(u);for(h(t,"_d",{b:o,o:v,l:u,e:c,v:new q(o)});lm;m++)if((y=n?_(u(p=t[m])[0],p[1]):_(t[m]))===f||y===s)return y}else for(d=g.call(t);!(p=d.next()).done;)if((y=i(d,_,p.value,n))===f||y===s)return y};n.BREAK=f,n.RETURN=s},function(t,n){t.exports=!1},function(t,n,e){var r=e(1),i=e(117),o=e(71),u=e(83)("IE_PROTO"),c=function(){},a=function(){var t,n=e(70)("iframe"),r=o.length;for(n.style.display="none",e(73).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("