-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathPixelParallel.js
7 lines (7 loc) · 330 KB
/
PixelParallel.js
1
2
3
4
5
6
7
!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=21)}([function(e,t){e.exports=function(e,t,n,r){var i,o=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(i=e,o=e.default);var s="function"==typeof o?o.options:o;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var c=s.computed||(s.computed={});Object.keys(r).forEach(function(e){var t=r[e];c[e]=function(){return t}})}return{esModule:i,exports:o,options:s}}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var a=t[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=l[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(o(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(o(n.parts[i]));l[n.id]={id:n.id,refs:1,parts:a}}}}function i(){var e=document.createElement("style");return e.type="text/css",f.appendChild(e),e}function o(e){var t,n,r=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(r){if(h)return v;r.parentNode.removeChild(r)}if(g){var o=p++;r=d||(d=i()),t=a.bind(null,r,o,!1),n=a.bind(null,r,o,!0)}else r=i(),t=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function a(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function s(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u=n(70),l={},f=c&&(document.head||document.getElementsByTagName("head")[0]),d=null,p=0,h=!1,v=function(){},g="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n){h=n;var i=u(e,t);return r(i),function(t){for(var n=[],o=0;o<i.length;o++){var a=i[o],s=l[a.id];s.refs--,n.push(s)}t?(i=u(e,t),r(i)):i=[];for(var o=0;o<n.length;o++){var s=n[o];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete l[s.id]}}}};var m=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return e.replace("data:","").split(";base64")[0]}function o(e){return new Promise(function(t,n){var r=new window.FileReader;r.onload=function(){t(r.result)},r.onerror=function(){return n},r.readAsDataURL(e)})}function a(e){var t=this;return new Promise(function(n,r){if(e.clipboardData.items)Array.from(e.clipboardData.items).some(function(e){if("file"===e.kind&&("image/png"===e.type||"image/jpeg"===e.type)){var t=e.getAsFile(),r=e.type;return o(t).then(function(e){n({base64string:e,type:r})}),!0}});else var a=setInterval(function(){t.event.target.children.length>0&&(clearInterval(a),n({base64string:t.event.target.children[0].src,type:i(t.event.target.children[0].src)}),t.event.target.innerHTML="")},1)})}function s(e){return new Promise(function(t,n){e.target.files&&e.target.files[0]?o(e.target.files[0]).then(function(n){t({base64string:n,type:e.target.files[0].type})}):n()})}function c(e){return e&&"object"===(void 0===e?"undefined":l(e))&&!Array.isArray(e)}function u(e,t){if(c(e)&&c(t))for(var n in t)c(t[n])?(e[n]||Object.assign(e,r({},n,{})),u(e[n],t[n])):Object.assign(e,r({},n,t[n]));return e}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.a={getImageFromPasteEvent:a,getImageFromInputEvent:s,mergeDeep:u}},function(e,t,n){"use strict";function r(e,t){var n=!1,r={left:0,top:0},i={left:0,top:0},o={left:0,top:0},a=function e(r){n=!1,document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",s),"onDragEnd"in t&&t.onDragEnd(i,r)},s=function(a){if(n){if("onDragMove"in t)return void t.onDragMove(a);t.y&&(i.top=a.pageY-r.top+o.top,e.style.marginTop=i.top+"px"),t.x&&(i.left=a.pageX-r.left+o.left,e.style.marginLeft=i.left+"px")}},c=function(c){c.preventDefault(),n=!0,"onDragStart"in t&&t.onDragStart(c),t.y&&(r.top=c.pageY,i.top=parseInt(e.style.marginTop||0),o.top=i.top),t.x&&(r.left=c.pageX,i.left=parseInt(e.style.marginLeft||0),o.left=i.left),document.addEventListener("mouseup",a),document.addEventListener("mousemove",s)};e.addEventListener("mousedown",c)}t.a={inserted:function(e,t){r(e,t.value)}}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";(function(t){function n(){l=!0;for(var e,t,n=f.length;n;){for(t=f,f=[],e=-1;++e<n;)t[e]();n=f.length}l=!1}function r(e){1!==f.push(e)||l||i()}var i,o=t.MutationObserver||t.WebKitMutationObserver;if(o){var a=0,s=new o(n),c=t.document.createTextNode("");s.observe(c,{characterData:!0}),i=function(){c.data=a=++a%2}}else if(t.setImmediate||void 0===t.MessageChannel)i="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){n(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(n,0)};else{var u=new t.MessageChannel;u.port1.onmessage=n,i=function(){u.port2.postMessage(0)}}var l,f=[];e.exports=r}).call(t,n(5))},function(e,t,n){n(64);var r=n(0)(n(10),n(53),null,null);e.exports=r.exports},function(e,t,n){"use strict";(function(t){/*!
* Vue.js v2.3.3
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
function n(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function i(e){return!0===e}function o(e){return!1===e}function a(e){return"string"==typeof e||"number"==typeof e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Object]"===Ti.call(e)}function u(e){return"[object RegExp]"===Ti.call(e)}function l(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function d(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function p(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function h(e,t){return Di.call(e,t)}function v(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function g(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function m(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=0;n<e.length;n++)e[n]&&y(t,e[n]);return t}function A(){}function w(e,t){var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{return JSON.stringify(e)===JSON.stringify(t)}catch(n){return e===t}}function x(e,t){for(var n=0;n<e.length;n++)if(w(e[n],t))return n;return-1}function E(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function _(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function k(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function S(e){if(!Fi.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}function j(e,t,n){if(Wi.errorHandler)Wi.errorHandler.call(null,e,t,n);else{if(!Qi||"undefined"==typeof console)throw e;console.error(e)}}function R(e){return"function"==typeof e&&/native code/.test(e.toString())}function N(e){po.target&&ho.push(po.target),po.target=e}function I(){po.target=ho.pop()}function T(e,t){e.__proto__=t}function C(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];k(e,o,t[o])}}function D(e,t){if(s(e)){var n;return h(e,"__ob__")&&e.__ob__ instanceof bo?n=e.__ob__:yo.shouldConvert&&!so()&&(Array.isArray(e)||c(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new bo(e)),t&&n&&n.vmCount++,n}}function O(e,t,n,r){var i=new po,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var a=o&&o.get,s=o&&o.set,c=D(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return po.target&&(i.depend(),c&&c.dep.depend(),Array.isArray(t)&&G(t)),t},set:function(t){var r=a?a.call(e):n;t===r||t!==t&&r!==r||(s?s.call(e,t):n=t,c=D(t),i.notify())}})}}function U(e,t,n){if(Array.isArray(e)&&"number"==typeof t)return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(h(e,t))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(O(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function M(e,t){if(Array.isArray(e)&&"number"==typeof t)return void e.splice(t,1);var n=e.__ob__;e._isVue||n&&n.vmCount||h(e,t)&&(delete e[t],n&&n.dep.notify())}function G(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&G(t)}function L(e,t){if(!t)return e;for(var n,r,i,o=Object.keys(t),a=0;a<o.length;a++)n=o[a],r=e[n],i=t[n],h(e,n)?c(r)&&c(i)&&L(r,i):U(e,n,i);return e}function B(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function Z(e,t){var n=Object.create(e||null);return t?y(n,t):n}function z(e){var t=e.props;if(t){var n,r,i,o={};if(Array.isArray(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(i=Ui(r),o[i]={type:null});else if(c(t))for(var a in t)r=t[a],i=Ui(a),o[i]=c(r)?r:{type:r};e.props=o}}function P(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}function J(e,t,n){function r(r){var i=Ao[r]||wo;c[r]=i(e[r],t[r],n,r)}"function"==typeof t&&(t=t.options),z(t),P(t);var i=t.extends;if(i&&(e=J(e,i,n)),t.mixins)for(var o=0,a=t.mixins.length;o<a;o++)e=J(e,t.mixins[o],n);var s,c={};for(s in e)r(s);for(s in t)h(e,s)||r(s);return c}function W(e,t,n,r){if("string"==typeof n){var i=e[t];if(h(i,n))return i[n];var o=Ui(n);if(h(i,o))return i[o];var a=Mi(o);if(h(i,a))return i[a];return i[n]||i[o]||i[a]}}function q(e,t,n,r){var i=t[e],o=!h(n,e),a=n[e];if(V(Boolean,i.type)&&(o&&!h(i,"default")?a=!1:V(String,i.type)||""!==a&&a!==Li(e)||(a=!0)),void 0===a){a=F(r,i,e);var s=yo.shouldConvert;yo.shouldConvert=!0,D(a),yo.shouldConvert=s}return a}function F(e,t,n){if(h(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==Y(t.type)?r.call(e):r}}function Y(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function V(e,t){if(!Array.isArray(t))return Y(t)===Y(e);for(var n=0,r=t.length;n<r;n++)if(Y(t[n])===Y(e))return!0;return!1}function Q(e){return new xo(void 0,void 0,void 0,String(e))}function X(e){var t=new xo(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.isCloned=!0,t}function H(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=X(e[r]);return n}function K(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=0;r<n.length;r++)n[r].apply(null,e)}return t.fns=e,t}function $(e,t,r,i,o){var a,s,c,u;for(a in e)s=e[a],c=t[a],u=So(a),n(s)||(n(c)?(n(s.fns)&&(s=e[a]=K(s)),r(u.name,s,u.once,u.capture,u.passive)):s!==c&&(c.fns=s,e[a]=c));for(a in t)n(e[a])&&(u=So(a),i(u.name,t[a],u.capture))}function ee(e,t,o){function a(){o.apply(this,arguments),p(s.fns,a)}var s,c=e[t];n(c)?s=K([a]):r(c.fns)&&i(c.merged)?(s=c,s.fns.push(a)):s=K([c,a]),s.merged=!0,e[t]=s}function te(e,t,i){var o=t.options.props;if(!n(o)){var a={},s=e.attrs,c=e.props;if(r(s)||r(c))for(var u in o){var l=Li(u);ne(a,c,u,l,!0)||ne(a,s,u,l,!1)}return a}}function ne(e,t,n,i,o){if(r(t)){if(h(t,n))return e[n]=t[n],o||delete t[n],!0;if(h(t,i))return e[n]=t[i],o||delete t[i],!0}return!1}function re(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function ie(e){return a(e)?[Q(e)]:Array.isArray(e)?ae(e):void 0}function oe(e){return r(e)&&r(e.text)&&o(e.isComment)}function ae(e,t){var o,s,c,u=[];for(o=0;o<e.length;o++)s=e[o],n(s)||"boolean"==typeof s||(c=u[u.length-1],Array.isArray(s)?u.push.apply(u,ae(s,(t||"")+"_"+o)):a(s)?oe(c)?c.text+=String(s):""!==s&&u.push(Q(s)):oe(s)&&oe(c)?u[u.length-1]=Q(c.text+s.text):(i(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+o+"__"),u.push(s)));return u}function se(e,t){return s(e)?t.extend(e):e}function ce(e,t,o){if(i(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;if(i(e.loading)&&r(e.loadingComp))return e.loadingComp;if(!r(e.contexts)){var a=e.contexts=[o],c=!0,u=function(){for(var e=0,t=a.length;e<t;e++)a[e].$forceUpdate()},l=E(function(n){e.resolved=se(n,t),c||u()}),f=E(function(t){r(e.errorComp)&&(e.error=!0,u())}),d=e(l,f);return s(d)&&("function"==typeof d.then?n(e.resolved)&&d.then(l,f):r(d.component)&&"function"==typeof d.component.then&&(d.component.then(l,f),r(d.error)&&(e.errorComp=se(d.error,t)),r(d.loading)&&(e.loadingComp=se(d.loading,t),0===d.delay?e.loading=!0:setTimeout(function(){n(e.resolved)&&n(e.error)&&(e.loading=!0,u())},d.delay||200)),r(d.timeout)&&setTimeout(function(){n(e.resolved)&&f(null)},d.timeout))),c=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(o)}function ue(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&r(n.componentOptions))return n}}function le(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&pe(e,t)}function fe(e,t,n){n?_o.$once(e,t):_o.$on(e,t)}function de(e,t){_o.$off(e,t)}function pe(e,t,n){_o=e,$(t,n||{},fe,de,e)}function he(e,t){var n={};if(!e)return n;for(var r=[],i=0,o=e.length;i<o;i++){var a=e[i];if(a.context!==t&&a.functionalContext!==t||!a.data||null==a.data.slot)r.push(a);else{var s=a.data.slot,c=n[s]||(n[s]=[]);"template"===a.tag?c.push.apply(c,a.children):c.push(a)}}return r.every(ve)||(n.default=r),n}function ve(e){return e.isComment||" "===e.text}function ge(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?ge(e[n],t):t[e[n].key]=e[n].fn;return t}function me(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function ye(e,t,n){e.$el=t,e.$options.render||(e.$options.render=ko),Ee(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},e._watcher=new Uo(e,r,A),n=!1,null==e.$vnode&&(e._isMounted=!0,Ee(e,"mounted")),e}function be(e,t,n,r,i){var o=!!(i||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==qi);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i,t&&e.$options.props){yo.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],c=0;c<s.length;c++){var u=s[c];a[u]=q(u,e.$options.props,t,e)}yo.shouldConvert=!0,e.$options.propsData=t}if(n){var l=e.$options._parentListeners;e.$options._parentListeners=n,pe(e,n,l)}o&&(e.$slots=he(i,r.context),e.$forceUpdate())}function Ae(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function we(e,t){if(t){if(e._directInactive=!1,Ae(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)we(e.$children[n]);Ee(e,"activated")}}function xe(e,t){if(!(t&&(e._directInactive=!0,Ae(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)xe(e.$children[n]);Ee(e,"deactivated")}}function Ee(e,t){var n=e.$options[t];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(e)}catch(n){j(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function _e(){Do=Ro.length=No.length=0,Io={},To=Co=!1}function ke(){Co=!0;var e,t;for(Ro.sort(function(e,t){return e.id-t.id}),Do=0;Do<Ro.length;Do++)e=Ro[Do],t=e.id,Io[t]=null,e.run();var n=No.slice(),r=Ro.slice();_e(),Re(n),Se(r),co&&Wi.devtools&&co.emit("flush")}function Se(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&Ee(r,"updated")}}function je(e){e._inactive=!1,No.push(e)}function Re(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,we(e[t],!0)}function Ne(e){var t=e.id;if(null==Io[t]){if(Io[t]=!0,Co){for(var n=Ro.length-1;n>Do&&Ro[n].id>e.id;)n--;Ro.splice(n+1,0,e)}else Ro.push(e);To||(To=!0,lo(ke))}}function Ie(e){Mo.clear(),Te(e,Mo)}function Te(e,t){var n,r,i=Array.isArray(e);if((i||s(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)Te(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)Te(e[r[n]],t)}}function Ce(e,t,n){Go.get=function(){return this[t][n]},Go.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Go)}function De(e){e._watchers=[];var t=e.$options;t.props&&Oe(e,t.props),t.methods&&Ze(e,t.methods),t.data?Ue(e):D(e._data={},!0),t.computed&&Ge(e,t.computed),t.watch&&ze(e,t.watch)}function Oe(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;yo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=q(o,t,n,e);O(r,o,a),o in e||Ce(e,"_props",o)}(a);yo.shouldConvert=!0}function Ue(e){var t=e.$options.data;t=e._data="function"==typeof t?Me(t,e):t||{},c(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&h(r,n[i])||_(n[i])||Ce(e,"_data",n[i]);D(t,!0)}function Me(e,t){try{return e.call(t)}catch(e){return j(e,t,"data()"),{}}}function Ge(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new Uo(e,o,A,Lo),r in e||Le(e,r,i)}}function Le(e,t,n){"function"==typeof n?(Go.get=Be(t),Go.set=A):(Go.get=n.get?!1!==n.cache?Be(t):n.get:A,Go.set=n.set?n.set:A),Object.defineProperty(e,t,Go)}function Be(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),po.target&&t.depend(),t.value}}function Ze(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?A:g(t[n],e)}function ze(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Pe(e,n,r[i]);else Pe(e,n,r)}}function Pe(e,t,n){var r;c(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Je(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function We(e){var t=qe(e.$options.inject,e);t&&Object.keys(t).forEach(function(n){O(e,n,t[n])})}function qe(e,t){if(e){for(var n=Array.isArray(e),r=Object.create(null),i=n?e:uo?Reflect.ownKeys(e):Object.keys(e),o=0;o<i.length;o++)for(var a=i[o],s=n?a:e[a],c=t;c;){if(c._provided&&s in c._provided){r[a]=c._provided[s];break}c=c.$parent}return r}}function Fe(e,t,n,i,o){var a={},s=e.options.props;if(r(s))for(var c in s)a[c]=q(c,s,t||{});else r(n.attrs)&&Ye(a,n.attrs),r(n.props)&&Ye(a,n.props);var u=Object.create(i),l=function(e,t,n,r){return $e(u,e,t,n,r,!0)},f=e.options.render.call(null,l,{data:n,props:a,children:o,parent:i,listeners:n.on||{},injections:qe(e.options.inject,i),slots:function(){return he(o,i)}});return f instanceof xo&&(f.functionalContext=i,f.functionalOptions=e.options,n.slot&&((f.data||(f.data={})).slot=n.slot)),f}function Ye(e,t){for(var n in t)e[Ui(n)]=t[n]}function Ve(e,t,o,a,c){if(!n(e)){var u=o.$options._base;if(s(e)&&(e=u.extend(e)),"function"==typeof e&&(!n(e.cid)||void 0!==(e=ce(e,u,o)))){pt(e),t=t||{},r(t.model)&&Ke(e.options,t);var l=te(t,e,c);if(i(e.options.functional))return Fe(e,l,t,o,a);var f=t.on;t.on=t.nativeOn,i(e.options.abstract)&&(t={}),Xe(t);var d=e.options.name||c;return new xo("vue-component-"+e.cid+(d?"-"+d:""),t,void 0,void 0,void 0,o,{Ctor:e,propsData:l,listeners:f,tag:c,children:a})}}}function Qe(e,t,n,i){var o=e.componentOptions,a={_isComponent:!0,parent:t,propsData:o.propsData,_componentTag:o.tag,_parentVnode:e,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:i||null},s=e.data.inlineTemplate;return r(s)&&(a.render=s.render,a.staticRenderFns=s.staticRenderFns),new o.Ctor(a)}function Xe(e){e.hook||(e.hook={});for(var t=0;t<Zo.length;t++){var n=Zo[t],r=e.hook[n],i=Bo[n];e.hook[n]=r?He(i,r):i}}function He(e,t){return function(n,r,i,o){e(n,r,i,o),t(n,r,i,o)}}function Ke(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var o=t.on||(t.on={});r(o[i])?o[i]=[t.model.callback].concat(o[i]):o[i]=t.model.callback}function $e(e,t,n,r,o,s){return(Array.isArray(n)||a(n))&&(o=r,r=n,n=void 0),i(s)&&(o=Po),et(e,t,n,r,o)}function et(e,t,n,i,o){if(r(n)&&r(n.__ob__))return ko();if(!t)return ko();Array.isArray(i)&&"function"==typeof i[0]&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),o===Po?i=ie(i):o===zo&&(i=re(i));var a,s;if("string"==typeof t){var c;s=Wi.getTagNamespace(t),a=Wi.isReservedTag(t)?new xo(Wi.parsePlatformTagName(t),n,i,void 0,void 0,e):r(c=W(e.$options,"components",t))?Ve(c,n,e,i,t):new xo(t,n,i,void 0,void 0,e)}else a=Ve(t,n,e,i);return r(a)?(s&&tt(a,s),a):ko()}function tt(e,t){if(e.ns=t,"foreignObject"!==e.tag&&r(e.children))for(var i=0,o=e.children.length;i<o;i++){var a=e.children[i];r(a.tag)&&n(a.ns)&&tt(a,t)}}function nt(e,t){var n,i,o,a,c;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,o=e.length;i<o;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(s(e))for(a=Object.keys(e),n=new Array(a.length),i=0,o=a.length;i<o;i++)c=a[i],n[i]=t(e[c],c,i);return r(n)&&(n._isVList=!0),n}function rt(e,t,n,r){var i=this.$scopedSlots[e];if(i)return n=n||{},r&&y(n,r),i(n)||t;var o=this.$slots[e];return o||t}function it(e){return W(this.$options,"filters",e,!0)||Zi}function ot(e,t,n){var r=Wi.keyCodes[t]||n;return Array.isArray(r)?-1===r.indexOf(e):r!==e}function at(e,t,n,r){if(n)if(s(n)){Array.isArray(n)&&(n=b(n));var i;for(var o in n){if("class"===o||"style"===o)i=e;else{var a=e.attrs&&e.attrs.type;i=r||Wi.mustUseProp(t,a,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}o in i||(i[o]=n[o])}}else;return e}function st(e,t){var n=this._staticTrees[e];return n&&!t?Array.isArray(n)?H(n):X(n):(n=this._staticTrees[e]=this.$options.staticRenderFns[e].call(this._renderProxy),ut(n,"__static__"+e,!1),n)}function ct(e,t,n){return ut(e,"__once__"+t+(n?"_"+n:""),!0),e}function ut(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&<(e[r],t+"_"+r,n);else lt(e,t,n)}function lt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function ft(e){e._vnode=null,e._staticTrees=null;var t=e.$vnode=e.$options._parentVnode,n=t&&t.context;e.$slots=he(e.$options._renderChildren,n),e.$scopedSlots=qi,e._c=function(t,n,r,i){return $e(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return $e(e,t,n,r,i,!0)}}function dt(e,t){var n=e.$options=Object.create(e.constructor.options);n.parent=t.parent,n.propsData=t.propsData,n._parentVnode=t._parentVnode,n._parentListeners=t._parentListeners,n._renderChildren=t._renderChildren,n._componentTag=t._componentTag,n._parentElm=t._parentElm,n._refElm=t._refElm,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function pt(e){var t=e.options;if(e.super){var n=pt(e.super);if(n!==e.superOptions){e.superOptions=n;var r=ht(e);r&&y(e.extendOptions,r),t=e.options=J(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function ht(e){var t,n=e.options,r=e.extendOptions,i=e.sealedOptions;for(var o in n)n[o]!==i[o]&&(t||(t={}),t[o]=vt(n[o],r[o],i[o]));return t}function vt(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var i=0;i<e.length;i++)(t.indexOf(e[i])>=0||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function gt(e){this._init(e)}function mt(e){e.use=function(e){if(e.installed)return this;var t=m(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):"function"==typeof e&&e.apply(null,t),e.installed=!0,this}}function yt(e){e.mixin=function(e){return this.options=J(this.options,e),this}}function bt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=J(n.options,e),a.super=n,a.options.props&&At(a),a.options.computed&&wt(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Pi.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),i[r]=a,a}}function At(e){var t=e.options.props;for(var n in t)Ce(e.prototype,"_props",n)}function wt(e){var t=e.options.computed;for(var n in t)Le(e.prototype,n,t[n])}function xt(e){Pi.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Et(e){return e&&(e.Ctor.options.name||e.tag)}function _t(e,t){return"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function kt(e,t,n){for(var r in e){var i=e[r];if(i){var o=Et(i.componentOptions);o&&!n(o)&&(i!==t&&St(i),e[r]=null)}}}function St(e){e&&e.componentInstance.$destroy()}function jt(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(t=Rt(i.data,t));for(;r(n=n.parent);)n.data&&(t=Rt(t,n.data));return Nt(t)}function Rt(e,t){return{staticClass:It(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Nt(e){var t=e.class,n=e.staticClass;return r(n)||r(t)?It(n,Tt(t)):""}function It(e,t){return e?t?e+" "+t:e:t||""}function Tt(e){if(n(e))return"";if("string"==typeof e)return e;var t="";if(Array.isArray(e)){for(var i,o=0,a=e.length;o<a;o++)r(e[o])&&r(i=Tt(e[o]))&&""!==i&&(t+=i+" ");return t.slice(0,-1)}if(s(e)){for(var c in e)e[c]&&(t+=c+" ");return t.slice(0,-1)}return t}function Ct(e){return pa(e)?"svg":"math"===e?"math":void 0}function Dt(e){if(!Qi)return!0;if(va(e))return!1;if(e=e.toLowerCase(),null!=ga[e])return ga[e];var t=document.createElement(e);return e.indexOf("-")>-1?ga[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ga[e]=/HTMLUnknownElement/.test(t.toString())}function Ot(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Ut(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Mt(e,t){return document.createElementNS(fa[e],t)}function Gt(e){return document.createTextNode(e)}function Lt(e){return document.createComment(e)}function Bt(e,t,n){e.insertBefore(t,n)}function Zt(e,t){e.removeChild(t)}function zt(e,t){e.appendChild(t)}function Pt(e){return e.parentNode}function Jt(e){return e.nextSibling}function Wt(e){return e.tagName}function qt(e,t){e.textContent=t}function Ft(e,t,n){e.setAttribute(t,n)}function Yt(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?p(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])&&o[n].indexOf(i)<0?o[n].push(i):o[n]=[i]:o[n]=i}}function Vt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&Qt(e,t)}function Qt(e,t){if("input"!==e.tag)return!0;var n;return(r(n=e.data)&&r(n=n.attrs)&&n.type)===(r(n=t.data)&&r(n=n.attrs)&&n.type)}function Xt(e,t,n){var i,o,a={};for(i=t;i<=n;++i)o=e[i].key,r(o)&&(a[o]=i);return a}function Ht(e,t){(e.data.directives||t.data.directives)&&Kt(e,t)}function Kt(e,t){var n,r,i,o=e===ba,a=t===ba,s=$t(e.data.directives,e.context),c=$t(t.data.directives,t.context),u=[],l=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,tn(i,"update",t,e),i.def&&i.def.componentUpdated&&l.push(i)):(tn(i,"bind",t,e),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n<u.length;n++)tn(u[n],"inserted",t,e)};o?ee(t.data.hook||(t.data.hook={}),"insert",f):f()}if(l.length&&ee(t.data.hook||(t.data.hook={}),"postpatch",function(){for(var n=0;n<l.length;n++)tn(l[n],"componentUpdated",t,e)}),!o)for(n in s)c[n]||tn(s[n],"unbind",e,e,a)}function $t(e,t){var n=Object.create(null);if(!e)return n;var r,i;for(r=0;r<e.length;r++)i=e[r],i.modifiers||(i.modifiers=xa),n[en(i)]=i,i.def=W(t.$options,"directives",i.name,!0);return n}function en(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function tn(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(r){j(r,n.context,"directive "+e.name+" "+t+" hook")}}function nn(e,t){if(!n(e.data.attrs)||!n(t.data.attrs)){var i,o,a=t.elm,s=e.data.attrs||{},c=t.data.attrs||{};r(c.__ob__)&&(c=t.data.attrs=y({},c));for(i in c)o=c[i],s[i]!==o&&rn(a,i,o);Ki&&c.value!==s.value&&rn(a,"value",c.value);for(i in s)n(c[i])&&(ca(i)?a.removeAttributeNS(sa,ua(i)):oa(i)||a.removeAttribute(i))}}function rn(e,t,n){aa(t)?la(n)?e.removeAttribute(t):e.setAttribute(t,t):oa(t)?e.setAttribute(t,la(n)||"false"===n?"false":"true"):ca(t)?la(n)?e.removeAttributeNS(sa,ua(t)):e.setAttributeNS(sa,t,n):la(n)?e.removeAttribute(t):e.setAttribute(t,n)}function on(e,t){var i=t.elm,o=t.data,a=e.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=jt(t),c=i._transitionClasses;r(c)&&(s=It(s,Tt(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}function an(e){function t(){(a||(a=[])).push(e.slice(h,i).trim()),h=i+1}var n,r,i,o,a,s=!1,c=!1,u=!1,l=!1,f=0,d=0,p=0,h=0;for(i=0;i<e.length;i++)if(r=n,n=e.charCodeAt(i),s)39===n&&92!==r&&(s=!1);else if(c)34===n&&92!==r&&(c=!1);else if(u)96===n&&92!==r&&(u=!1);else if(l)47===n&&92!==r&&(l=!1);else if(124!==n||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||f||d||p){switch(n){case 34:c=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:f++;break;case 125:f--}if(47===n){for(var v=i-1,g=void 0;v>=0&&" "===(g=e.charAt(v));v--);g&&Sa.test(g)||(l=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i<a.length;i++)o=sn(o,a[i]);return o}function sn(e,t){var n=t.indexOf("(");return n<0?'_f("'+t+'")('+e+")":'_f("'+t.slice(0,n)+'")('+e+","+t.slice(n+1)}function cn(e){console.error("[Vue compiler]: "+e)}function un(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function ln(e,t,n){(e.props||(e.props=[])).push({name:t,value:n})}function fn(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n})}function dn(e,t,n,r,i,o){(e.directives||(e.directives=[])).push({name:t,rawName:n,value:r,arg:i,modifiers:o})}function pn(e,t,n,r,i,o){r&&r.capture&&(delete r.capture,t="!"+t),r&&r.once&&(delete r.once,t="~"+t),r&&r.passive&&(delete r.passive,t="&"+t);var a;r&&r.native?(delete r.native,a=e.nativeEvents||(e.nativeEvents={})):a=e.events||(e.events={});var s={value:n,modifiers:r},c=a[t];Array.isArray(c)?i?c.unshift(s):c.push(s):a[t]=c?i?[s,c]:[c,s]:s}function hn(e,t,n){var r=vn(e,":"+t)||vn(e,"v-bind:"+t);if(null!=r)return an(r);if(!1!==n){var i=vn(e,t);if(null!=i)return JSON.stringify(i)}}function vn(e,t){var n;if(null!=(n=e.attrsMap[t]))for(var r=e.attrsList,i=0,o=r.length;i<o;i++)if(r[i].name===t){r.splice(i,1);break}return n}function gn(e,t,n){var r=n||{},i=r.number,o=r.trim,a="$$v";o&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(a="_n("+a+")");var s=mn(t,a);e.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+s+"}"}}function mn(e,t){var n=yn(e);return null===n.idx?e+"="+t:"var $$exp = "+n.exp+", $$idx = "+n.idx+";if (!Array.isArray($$exp)){"+e+"="+t+"}else{$$exp.splice($$idx, 1, "+t+")}"}function yn(e){if(Vo=e,Yo=Vo.length,Xo=Ho=Ko=0,e.indexOf("[")<0||e.lastIndexOf("]")<Yo-1)return{exp:e,idx:null};for(;!An();)Qo=bn(),wn(Qo)?En(Qo):91===Qo&&xn(Qo);return{exp:e.substring(0,Ho),idx:e.substring(Ho+1,Ko)}}function bn(){return Vo.charCodeAt(++Xo)}function An(){return Xo>=Yo}function wn(e){return 34===e||39===e}function xn(e){var t=1;for(Ho=Xo;!An();)if(e=bn(),wn(e))En(e);else if(91===e&&t++,93===e&&t--,0===t){Ko=Xo;break}}function En(e){for(var t=e;!An()&&(e=bn())!==t;);}function _n(e,t,n){$o=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)jn(e,r,i);else if("input"===o&&"checkbox"===a)kn(e,r,i);else if("input"===o&&"radio"===a)Sn(e,r,i);else if("input"===o||"textarea"===o)Rn(e,r,i);else if(!Wi.isReservedTag(o))return gn(e,r,i),!1;return!0}function kn(e,t,n){var r=n&&n.number,i=hn(e,"value")||"null",o=hn(e,"true-value")||"true",a=hn(e,"false-value")||"false";ln(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),pn(e,Ra,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+mn(t,"$$c")+"}",null,!0)}function Sn(e,t,n){var r=n&&n.number,i=hn(e,"value")||"null";i=r?"_n("+i+")":i,ln(e,"checked","_q("+t+","+i+")"),pn(e,Ra,mn(t,i),null,!0)}function jn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+mn(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),pn(e,"change",o,null,!0)}function Rn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?ja:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=mn(t,l);c&&(f="if($event.target.composing)return;"+f),ln(e,"value","("+t+")"),pn(e,u,f,null,!0),(s||a||"number"===r)&&pn(e,"blur","$forceUpdate()")}function Nn(e){var t;r(e[ja])&&(t=Hi?"change":"input",e[t]=[].concat(e[ja],e[t]||[]),delete e[ja]),r(e[Ra])&&(t=no?"click":"change",e[t]=[].concat(e[Ra],e[t]||[]),delete e[Ra])}function In(e,t,n,r,i){if(n){var o=t,a=ea;t=function(n){null!==(1===arguments.length?o(n):o.apply(null,arguments))&&Tn(e,t,r,a)}}ea.addEventListener(e,t,ro?{capture:r,passive:i}:r)}function Tn(e,t,n,r){(r||ea).removeEventListener(e,t,n)}function Cn(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};ea=t.elm,Nn(r),$(r,i,In,Tn,t.context)}}function Dn(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var i,o,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};r(c.__ob__)&&(c=t.data.domProps=y({},c));for(i in s)n(c[i])&&(a[i]="");for(i in c)if(o=c[i],"textContent"!==i&&"innerHTML"!==i||(t.children&&(t.children.length=0),o!==s[i]))if("value"===i){a._value=o;var u=n(o)?"":String(o);On(a,t,u)&&(a.value=u)}else a[i]=o}}function On(e,t,n){return!e.composing&&("option"===t.tag||Un(e,n)||Mn(e,n))}function Un(e,t){return document.activeElement!==e&&e.value!==t}function Mn(e,t){var n=e.value,i=e._vModifiers;return r(i)&&i.number||"number"===e.type?f(n)!==f(t):r(i)&&i.trim?n.trim()!==t.trim():n!==t}function Gn(e){var t=Ln(e.style);return e.staticStyle?y(e.staticStyle,t):t}function Ln(e){return Array.isArray(e)?b(e):"string"==typeof e?Ta(e):e}function Bn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Gn(i.data))&&y(r,n);(n=Gn(e.data))&&y(r,n);for(var o=e;o=o.parent;)o.data&&(n=Gn(o.data))&&y(r,n);return r}function Zn(e,t){var i=t.data,o=e.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,c=t.elm,u=o.staticStyle,l=o.normalizedStyle||o.style||{},f=u||l,d=Ln(t.data.style)||{};t.data.normalizedStyle=r(d.__ob__)?y({},d):d;var p=Bn(t,!0);for(s in f)n(p[s])&&Oa(c,s,"");for(s in p)(a=p[s])!==f[s]&&Oa(c,s,null==a?"":a)}}function zn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Pn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Jn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,La(e.name||"v")),y(t,e),t}return"string"==typeof e?La(e):void 0}}function Wn(e){Fa(function(){Fa(e)})}function qn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),zn(e,t)}function Fn(e,t){e._transitionClasses&&p(e._transitionClasses,t),Pn(e,t)}function Yn(e,t,n){var r=Vn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Za?Ja:qa,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c<a&&u()},o+1),e.addEventListener(s,l)}function Vn(e,t){var n,r=window.getComputedStyle(e),i=r[Pa+"Delay"].split(", "),o=r[Pa+"Duration"].split(", "),a=Qn(i,o),s=r[Wa+"Delay"].split(", "),c=r[Wa+"Duration"].split(", "),u=Qn(s,c),l=0,f=0;return t===Za?a>0&&(n=Za,l=a,f=o.length):t===za?u>0&&(n=za,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?Za:za:null,f=n?n===Za?o.length:c.length:0),{type:n,timeout:l,propCount:f,hasTransform:n===Za&&Ya.test(r[Pa+"Property"])}}function Qn(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return Xn(t)+Xn(e[n])}))}function Xn(e){return 1e3*Number(e.slice(0,-1))}function Hn(e,t){var i=e.elm;r(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var o=Jn(e.data.transition);if(!n(o)&&!r(i._enterCb)&&1===i.nodeType){for(var a=o.css,c=o.type,u=o.enterClass,l=o.enterToClass,d=o.enterActiveClass,p=o.appearClass,h=o.appearToClass,v=o.appearActiveClass,g=o.beforeEnter,m=o.enter,y=o.afterEnter,b=o.enterCancelled,A=o.beforeAppear,w=o.appear,x=o.afterAppear,_=o.appearCancelled,k=o.duration,S=jo,j=jo.$vnode;j&&j.parent;)j=j.parent,S=j.context;var R=!S._isMounted||!e.isRootInsert;if(!R||w||""===w){var N=R&&p?p:u,I=R&&v?v:d,T=R&&h?h:l,C=R?A||g:g,D=R&&"function"==typeof w?w:m,O=R?x||y:y,U=R?_||b:b,M=f(s(k)?k.enter:k),G=!1!==a&&!Ki,L=er(D),B=i._enterCb=E(function(){G&&(Fn(i,T),Fn(i,I)),B.cancelled?(G&&Fn(i,N),U&&U(i)):O&&O(i),i._enterCb=null});e.data.show||ee(e.data.hook||(e.data.hook={}),"insert",function(){var t=i.parentNode,n=t&&t._pending&&t._pending[e.key];n&&n.tag===e.tag&&n.elm._leaveCb&&n.elm._leaveCb(),D&&D(i,B)}),C&&C(i),G&&(qn(i,N),qn(i,I),Wn(function(){qn(i,T),Fn(i,N),B.cancelled||L||($n(M)?setTimeout(B,M):Yn(i,c,B))})),e.data.show&&(t&&t(),D&&D(i,B)),G||L||B()}}}function Kn(e,t){function i(){_.cancelled||(e.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[e.key]=e),h&&h(o),A&&(qn(o,l),qn(o,p),Wn(function(){qn(o,d),Fn(o,l),_.cancelled||w||($n(x)?setTimeout(_,x):Yn(o,u,_))})),v&&v(o,_),A||w||_())}var o=e.elm;r(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var a=Jn(e.data.transition);if(n(a))return t();if(!r(o._leaveCb)&&1===o.nodeType){var c=a.css,u=a.type,l=a.leaveClass,d=a.leaveToClass,p=a.leaveActiveClass,h=a.beforeLeave,v=a.leave,g=a.afterLeave,m=a.leaveCancelled,y=a.delayLeave,b=a.duration,A=!1!==c&&!Ki,w=er(v),x=f(s(b)?b.leave:b),_=o._leaveCb=E(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[e.key]=null),A&&(Fn(o,d),Fn(o,p)),_.cancelled?(A&&Fn(o,l),m&&m(o)):(t(),g&&g(o)),o._leaveCb=null});y?y(i):i()}}function $n(e){return"number"==typeof e&&!isNaN(e)}function er(e){if(n(e))return!1;var t=e.fns;return r(t)?er(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function tr(e,t){!0!==t.data.show&&Hn(t)}function nr(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],i)o=x(r,ir(a))>-1,a.selected!==o&&(a.selected=o);else if(w(ir(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function rr(e,t){for(var n=0,r=t.length;n<r;n++)if(w(ir(t[n]),e))return!1;return!0}function ir(e){return"_value"in e?e._value:e.value}function or(e){e.target.composing=!0}function ar(e){e.target.composing&&(e.target.composing=!1,sr(e.target,"input"))}function sr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function cr(e){return!e.componentInstance||e.data&&e.data.transition?e:cr(e.componentInstance._vnode)}function ur(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ur(ue(t.children)):e}function lr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[Ui(o)]=i[o];return t}function fr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function dr(e){for(;e=e.parent;)if(e.data.transition)return!0}function pr(e,t){return t.key===e.key&&t.tag===e.tag}function hr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function vr(e){e.data.newPos=e.elm.getBoundingClientRect()}function gr(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function mr(e){return as=as||document.createElement("div"),as.innerHTML=e,as.textContent}function yr(e,t){var n=t?Fs:qs;return e.replace(n,function(e){return Ws[e]})}function br(e,t){function n(t){l+=t,e=e.substring(t)}function r(e,n,r){var i,s;if(null==n&&(n=l),null==r&&(r=l),e&&(s=e.toLowerCase()),e)for(i=a.length-1;i>=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var c=a.length-1;c>=i;c--)t.end&&t.end(a[c].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,c=t.isUnaryTag||Bi,u=t.canBeLeftOpenTag||Bi,l=0;e;){if(i=e,o&&Ps(o)){var f=o.toLowerCase(),d=Js[f]||(Js[f]=new RegExp("([\\s\\S]*?)(</"+f+"[^>]*>)","i")),p=0,h=e.replace(d,function(e,n,r){return p=r.length,Ps(f)||"noscript"===f||(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),t.chars&&t.chars(n),""});l+=e.length-h.length,e=h,r(f,l-p,l)}else{var v=e.indexOf("<");if(0===v){if(ws.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(xs.test(e)){var m=e.indexOf("]>");if(m>=0){n(m+2);continue}}var y=e.match(As);if(y){n(y[0].length);continue}var b=e.match(bs);if(b){var A=l;n(b[0].length),r(b[1],A,l);continue}var w=function(){var t=e.match(ms);if(t){var r={tagName:t[1],attrs:[],start:l};n(t[0].length);for(var i,o;!(i=e.match(ys))&&(o=e.match(hs));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=l,r}}();if(w){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&ls(n)&&r(o),u(n)&&o===n&&r(n));for(var l=c(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),p=0;p<f;p++){var h=e.attrs[p];Es&&-1===h[0].indexOf('""')&&(""===h[3]&&delete h[3],""===h[4]&&delete h[4],""===h[5]&&delete h[5]);var v=h[3]||h[4]||h[5]||"";d[p]={name:h[1],value:yr(v,t.shouldDecodeNewlines)}}l||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d}),o=n),t.start&&t.start(n,d,l,e.start,e.end)}(w);continue}}var x=void 0,E=void 0,_=void 0;if(v>=0){for(E=e.slice(v);!(bs.test(E)||ms.test(E)||ws.test(E)||xs.test(E)||(_=E.indexOf("<",1))<0);)v+=_,E=e.slice(v);x=e.substring(0,v),n(v)}v<0&&(x=e,e=""),t.chars&&x&&t.chars(x)}if(e===i){t.chars&&t.chars(e);break}}r()}function Ar(e,t){var n=t?Qs(t):Ys;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=an(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a<e.length&&o.push(JSON.stringify(e.slice(a))),o.join("+")}}function wr(e,t){function n(e){e.pre&&(s=!1),Ns(e.tag)&&(c=!1)}_s=t.warn||cn,Ts=t.getTagNamespace||Bi,Is=t.mustUseProp||Bi,Ns=t.isPreTag||Bi,js=un(t.modules,"preTransformNode"),Ss=un(t.modules,"transformNode"),Rs=un(t.modules,"postTransformNode"),ks=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=!1,c=!1;return br(e,{warn:_s,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,start:function(e,a,u){var l=i&&i.ns||Ts(e);Hi&&"svg"===l&&(a=Zr(a));var f={type:1,tag:e,attrsList:a,attrsMap:Gr(a),parent:i,children:[]};l&&(f.ns=l),Br(f)&&!so()&&(f.forbidden=!0);for(var d=0;d<js.length;d++)js[d](f,t);if(s||(xr(f),f.pre&&(s=!0)),Ns(f.tag)&&(c=!0),s)Er(f);else{Sr(f),jr(f),Tr(f),_r(f),f.plain=!f.key&&!a.length,kr(f),Cr(f),Dr(f);for(var p=0;p<Ss.length;p++)Ss[p](f,t);Or(f)}if(r?o.length||r.if&&(f.elseif||f.else)&&Ir(r,{exp:f.elseif,block:f}):r=f,i&&!f.forbidden)if(f.elseif||f.else)Rr(f,i);else if(f.slotScope){i.plain=!1;var h=f.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[h]=f}else i.children.push(f),f.parent=i;u?n(f):(i=f,o.push(f));for(var v=0;v<Rs.length;v++)Rs[v](f,t)},end:function(){var e=o[o.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!c&&e.children.pop(),o.length-=1,i=o[o.length-1],n(e)},chars:function(e){if(i&&(!Hi||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var t=i.children;if(e=c||e.trim()?Lr(i)?e:rc(e):a&&t.length?" ":""){var n;!s&&" "!==e&&(n=Ar(e,ks))?t.push({type:2,expression:n,text:e}):" "===e&&t.length&&" "===t[t.length-1].text||t.push({type:3,text:e})}}}}),r}function xr(e){null!=vn(e,"v-pre")&&(e.pre=!0)}function Er(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array(t),r=0;r<t;r++)n[r]={name:e.attrsList[r].name,value:JSON.stringify(e.attrsList[r].value)};else e.pre||(e.plain=!0)}function _r(e){var t=hn(e,"key");t&&(e.key=t)}function kr(e){var t=hn(e,"ref");t&&(e.ref=t,e.refInFor=Ur(e))}function Sr(e){var t;if(t=vn(e,"v-for")){var n=t.match(Ks);if(!n)return;e.for=n[2].trim();var r=n[1].trim(),i=r.match($s);i?(e.alias=i[1].trim(),e.iterator1=i[2].trim(),i[3]&&(e.iterator2=i[3].trim())):e.alias=r}}function jr(e){var t=vn(e,"v-if");if(t)e.if=t,Ir(e,{exp:t,block:e});else{null!=vn(e,"v-else")&&(e.else=!0);var n=vn(e,"v-else-if");n&&(e.elseif=n)}}function Rr(e,t){var n=Nr(t.children);n&&n.if&&Ir(n,{exp:e.elseif,block:e})}function Nr(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}function Ir(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Tr(e){null!=vn(e,"v-once")&&(e.once=!0)}function Cr(e){if("slot"===e.tag)e.slotName=hn(e,"name");else{var t=hn(e,"slot");t&&(e.slotTarget='""'===t?'"default"':t),"template"===e.tag&&(e.slotScope=vn(e,"scope"))}}function Dr(e){var t;(t=hn(e,"is"))&&(e.component=t),null!=vn(e,"inline-template")&&(e.inlineTemplate=!0)}function Or(e){var t,n,r,i,o,a,s,c=e.attrsList;for(t=0,n=c.length;t<n;t++)if(r=i=c[t].name,o=c[t].value,Hs.test(r))if(e.hasBindings=!0,a=Mr(r),a&&(r=r.replace(nc,"")),tc.test(r))r=r.replace(tc,""),o=an(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(r=Ui(r))&&(r="innerHTML")),a.camel&&(r=Ui(r)),a.sync&&pn(e,"update:"+Ui(r),mn(o,"$event"))),s||Is(e.tag,e.attrsMap.type,r)?ln(e,r,o):fn(e,r,o);else if(Xs.test(r))r=r.replace(Xs,""),pn(e,r,o,a,!1,_s);else{r=r.replace(Hs,"");var u=r.match(ec),l=u&&u[1];l&&(r=r.slice(0,-(l.length+1))),dn(e,r,i,o,l,a)}else{fn(e,r,JSON.stringify(o))}}function Ur(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}function Mr(e){var t=e.match(nc);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}function Gr(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}function Lr(e){return"script"===e.tag||"style"===e.tag}function Br(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}function Zr(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];ic.test(r.name)||(r.name=r.name.replace(oc,""),t.push(r))}return t}function zr(e,t){e&&(Cs=ac(t.staticKeys||""),Ds=t.isReservedTag||Bi,Jr(e),Wr(e,!1))}function Pr(e){return d("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))}function Jr(e){if(e.static=Fr(e),1===e.type){if(!Ds(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var r=e.children[t];Jr(r),r.static||(e.static=!1)}}}function Wr(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,r=e.children.length;n<r;n++)Wr(e.children[n],t||!!e.for);e.ifConditions&&qr(e.ifConditions,t)}}function qr(e,t){for(var n=1,r=e.length;n<r;n++)Wr(e[n].block,t)}function Fr(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||Ci(e.tag)||!Ds(e.tag)||Yr(e)||!Object.keys(e).every(Cs))))}function Yr(e){for(;e.parent;){if(e=e.parent,"template"!==e.tag)return!1;if(e.for)return!0}return!1}function Vr(e,t,n){var r=t?"nativeOn:{":"on:{";for(var i in e){r+='"'+i+'":'+Qr(i,e[i])+","}return r.slice(0,-1)+"}"}function Qr(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return Qr(e,t)}).join(",")+"]";var n=cc.test(t.value),r=sc.test(t.value);if(t.modifiers){var i="",o="",a=[];for(var s in t.modifiers)fc[s]?(o+=fc[s],uc[s]&&a.push(s)):a.push(s);a.length&&(i+=Xr(a)),o&&(i+=o);return"function($event){"+i+(n?t.value+"($event)":r?"("+t.value+")($event)":t.value)+"}"}return n||r?t.value:"function($event){"+t.value+"}"}function Xr(e){return"if(!('button' in $event)&&"+e.map(Hr).join("&&")+")return null;"}function Hr(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=uc[e];return"_k($event.keyCode,"+JSON.stringify(e)+(n?","+JSON.stringify(n):"")+")"}function Kr(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+(t.modifiers&&t.modifiers.prop?",true":"")+")"}}function $r(e,t){var n=Bs,r=Bs=[],i=Zs;Zs=0,zs=t,Os=t.warn||cn,Us=un(t.modules,"transformCode"),Ms=un(t.modules,"genData"),Gs=t.directives||{},Ls=t.isReservedTag||Bi;var o=e?ei(e):'_c("div")';return Bs=n,Zs=i,{render:"with(this){return "+o+"}",staticRenderFns:r}}function ei(e){if(e.staticRoot&&!e.staticProcessed)return ti(e);if(e.once&&!e.onceProcessed)return ni(e);if(e.for&&!e.forProcessed)return oi(e);if(e.if&&!e.ifProcessed)return ri(e);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return yi(e);var t;if(e.component)t=bi(e.component,e);else{var n=e.plain?void 0:ai(e),r=e.inlineTemplate?null:di(e,!0);t="_c('"+e.tag+"'"+(n?","+n:"")+(r?","+r:"")+")"}for(var i=0;i<Us.length;i++)t=Us[i](e,t);return t}return di(e)||"void 0"}function ti(e){return e.staticProcessed=!0,Bs.push("with(this){return "+ei(e)+"}"),"_m("+(Bs.length-1)+(e.staticInFor?",true":"")+")"}function ni(e){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return ri(e);if(e.staticInFor){for(var t="",n=e.parent;n;){if(n.for){t=n.key;break}n=n.parent}return t?"_o("+ei(e)+","+Zs+++(t?","+t:"")+")":ei(e)}return ti(e)}function ri(e){return e.ifProcessed=!0,ii(e.ifConditions.slice())}function ii(e){function t(e){return e.once?ni(e):ei(e)}if(!e.length)return"_e()";var n=e.shift();return n.exp?"("+n.exp+")?"+t(n.block)+":"+ii(e):""+t(n.block)}function oi(e){var t=e.for,n=e.alias,r=e.iterator1?","+e.iterator1:"",i=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,"_l(("+t+"),function("+n+r+i+"){return "+ei(e)+"})"}function ai(e){var t="{",n=si(e);n&&(t+=n+","),e.key&&(t+="key:"+e.key+","),e.ref&&(t+="ref:"+e.ref+","),e.refInFor&&(t+="refInFor:true,"),e.pre&&(t+="pre:true,"),e.component&&(t+='tag:"'+e.tag+'",');for(var r=0;r<Ms.length;r++)t+=Ms[r](e);if(e.attrs&&(t+="attrs:{"+Ai(e.attrs)+"},"),e.props&&(t+="domProps:{"+Ai(e.props)+"},"),e.events&&(t+=Vr(e.events,!1,Os)+","),e.nativeEvents&&(t+=Vr(e.nativeEvents,!0,Os)+","),e.slotTarget&&(t+="slot:"+e.slotTarget+","),e.scopedSlots&&(t+=ui(e.scopedSlots)+","),e.model&&(t+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var i=ci(e);i&&(t+=i+",")}return t=t.replace(/,$/,"")+"}",e.wrapData&&(t=e.wrapData(t)),t}function si(e){var t=e.directives;if(t){var n,r,i,o,a="directives:[",s=!1;for(n=0,r=t.length;n<r;n++){i=t[n],o=!0;var c=Gs[i.name]||dc[i.name];c&&(o=!!c(e,i,Os)),o&&(s=!0,a+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?',arg:"'+i.arg+'"':"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}return s?a.slice(0,-1)+"]":void 0}}function ci(e){var t=e.children[0];if(1===t.type){var n=$r(t,zs);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}function ui(e){return"scopedSlots:_u(["+Object.keys(e).map(function(t){return li(t,e[t])}).join(",")+"])"}function li(e,t){return t.for&&!t.forProcessed?fi(e,t):"{key:"+e+",fn:function("+String(t.attrsMap.scope)+"){return "+("template"===t.tag?di(t)||"void 0":ei(t))+"}}"}function fi(e,t){var n=t.for,r=t.alias,i=t.iterator1?","+t.iterator1:"",o=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+n+"),function("+r+i+o+"){return "+li(e,t)+"})"}function di(e,t){var n=e.children;if(n.length){var r=n[0];if(1===n.length&&r.for&&"template"!==r.tag&&"slot"!==r.tag)return ei(r);var i=t?pi(n):0;return"["+n.map(gi).join(",")+"]"+(i?","+i:"")}}function pi(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];if(1===r.type){if(hi(r)||r.ifConditions&&r.ifConditions.some(function(e){return hi(e.block)})){t=2;break}(vi(r)||r.ifConditions&&r.ifConditions.some(function(e){return vi(e.block)}))&&(t=1)}}return t}function hi(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function vi(e){return!Ls(e.tag)}function gi(e){return 1===e.type?ei(e):mi(e)}function mi(e){return"_v("+(2===e.type?e.expression:wi(JSON.stringify(e.text)))+")"}function yi(e){var t=e.slotName||'"default"',n=di(e),r="_t("+t+(n?","+n:""),i=e.attrs&&"{"+e.attrs.map(function(e){return Ui(e.name)+":"+e.value}).join(",")+"}",o=e.attrsMap["v-bind"];return!i&&!o||n||(r+=",null"),i&&(r+=","+i),o&&(r+=(i?"":",null")+","+o),r+")"}function bi(e,t){var n=t.inlineTemplate?null:di(t,!0);return"_c("+e+","+ai(t)+(n?","+n:"")+")"}function Ai(e){for(var t="",n=0;n<e.length;n++){var r=e[n];t+='"'+r.name+'":'+wi(r.value)+","}return t.slice(0,-1)}function wi(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function xi(e,t){var n=wr(e.trim(),t);zr(n,t);var r=$r(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}}function Ei(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),A}}function _i(e,t){var n=(t.warn,vn(e,"class"));n&&(e.staticClass=JSON.stringify(n));var r=hn(e,"class",!1);r&&(e.classBinding=r)}function ki(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}function Si(e,t){var n=(t.warn,vn(e,"style"));if(n){e.staticStyle=JSON.stringify(Ta(n))}var r=hn(e,"style",!1);r&&(e.styleBinding=r)}function ji(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}function Ri(e,t){t.value&&ln(e,"textContent","_s("+t.value+")")}function Ni(e,t){t.value&&ln(e,"innerHTML","_s("+t.value+")")}function Ii(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var Ti=Object.prototype.toString,Ci=d("slot,component",!0),Di=Object.prototype.hasOwnProperty,Oi=/-(\w)/g,Ui=v(function(e){return e.replace(Oi,function(e,t){return t?t.toUpperCase():""})}),Mi=v(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Gi=/([^-])([A-Z])/g,Li=v(function(e){return e.replace(Gi,"$1-$2").replace(Gi,"$1-$2").toLowerCase()}),Bi=function(){return!1},Zi=function(e){return e},zi="data-server-rendered",Pi=["component","directive","filter"],Ji=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],Wi={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Bi,isReservedAttr:Bi,isUnknownElement:Bi,getTagNamespace:A,parsePlatformTagName:Zi,mustUseProp:Bi,_lifecycleHooks:Ji},qi=Object.freeze({}),Fi=/[^\w.$]/,Yi=A,Vi="__proto__"in{},Qi="undefined"!=typeof window,Xi=Qi&&window.navigator.userAgent.toLowerCase(),Hi=Xi&&/msie|trident/.test(Xi),Ki=Xi&&Xi.indexOf("msie 9.0")>0,$i=Xi&&Xi.indexOf("edge/")>0,eo=Xi&&Xi.indexOf("android")>0,to=Xi&&/iphone|ipad|ipod|ios/.test(Xi),no=Xi&&/chrome\/\d+/.test(Xi)&&!$i,ro=!1;if(Qi)try{var io={};Object.defineProperty(io,"passive",{get:function(){ro=!0}}),window.addEventListener("test-passive",null,io)}catch(e){}var oo,ao,so=function(){return void 0===oo&&(oo=!Qi&&void 0!==t&&"server"===t.process.env.VUE_ENV),oo},co=Qi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,uo="undefined"!=typeof Symbol&&R(Symbol)&&"undefined"!=typeof Reflect&&R(Reflect.ownKeys),lo=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t<e.length;t++)e[t]()}var t,n=[],r=!1;if("undefined"!=typeof Promise&&R(Promise)){var i=Promise.resolve(),o=function(e){console.error(e)};t=function(){i.then(e).catch(o),to&&setTimeout(A)}}else if("undefined"==typeof MutationObserver||!R(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())t=function(){setTimeout(e,0)};else{var a=1,s=new MutationObserver(e),c=document.createTextNode(String(a));s.observe(c,{characterData:!0}),t=function(){a=(a+1)%2,c.data=String(a)}}return function(e,i){var o;if(n.push(function(){if(e)try{e.call(i)}catch(e){j(e,i,"nextTick")}else o&&o(i)}),r||(r=!0,t()),!e&&"undefined"!=typeof Promise)return new Promise(function(e,t){o=e})}}();ao="undefined"!=typeof Set&&R(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fo=0,po=function(){this.id=fo++,this.subs=[]};po.prototype.addSub=function(e){this.subs.push(e)},po.prototype.removeSub=function(e){p(this.subs,e)},po.prototype.depend=function(){po.target&&po.target.addDep(this)},po.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},po.target=null;var ho=[],vo=Array.prototype,go=Object.create(vo);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=vo[e];k(go,e,function(){for(var n=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=n[r];var o,a=t.apply(this,i),s=this.__ob__;switch(e){case"push":case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var mo=Object.getOwnPropertyNames(go),yo={shouldConvert:!0,isSettingProps:!1},bo=function(e){if(this.value=e,this.dep=new po,this.vmCount=0,k(e,"__ob__",this),Array.isArray(e)){(Vi?T:C)(e,go,mo),this.observeArray(e)}else this.walk(e)};bo.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)O(e,t[n],e[t[n]])},bo.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)D(e[t])};var Ao=Wi.optionMergeStrategies;Ao.data=function(e,t,n){return n?e||t?function(){var r="function"==typeof t?t.call(n):t,i="function"==typeof e?e.call(n):void 0;return r?L(r,i):i}:void 0:t?"function"!=typeof t?e:e?function(){return L(t.call(this),e.call(this))}:t:e},Ji.forEach(function(e){Ao[e]=B}),Pi.forEach(function(e){Ao[e+"s"]=Z}),Ao.watch=function(e,t){if(!t)return Object.create(e||null);if(!e)return t;var n={};y(n,e);for(var r in t){var i=n[r],o=t[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},Ao.props=Ao.methods=Ao.computed=function(e,t){if(!t)return Object.create(e||null);if(!e)return t;var n=Object.create(null);return y(n,e),y(n,t),n};var wo=function(e,t){return void 0===t?e:t},xo=function(e,t,n,r,i,o,a){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},Eo={child:{}};Eo.child.get=function(){return this.componentInstance},Object.defineProperties(xo.prototype,Eo);var _o,ko=function(){var e=new xo;return e.text="",e.isComment=!0,e},So=v(function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}),jo=null,Ro=[],No=[],Io={},To=!1,Co=!1,Do=0,Oo=0,Uo=function(e,t,n,r){this.vm=e,e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Oo,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ao,this.newDepIds=new ao,this.expression="","function"==typeof t?this.getter=t:(this.getter=S(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Uo.prototype.get=function(){N(this);var e,t=this.vm;if(this.user)try{e=this.getter.call(t,t)}catch(e){j(e,t,'getter for watcher "'+this.expression+'"')}else e=this.getter.call(t,t);return this.deep&&Ie(e),I(),this.cleanupDeps(),e},Uo.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Uo.prototype.cleanupDeps=function(){for(var e=this,t=this.deps.length;t--;){var n=e.deps[t];e.newDepIds.has(n.id)||n.removeSub(e)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},Uo.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ne(this)},Uo.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){j(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Uo.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Uo.prototype.depend=function(){for(var e=this,t=this.deps.length;t--;)e.deps[t].depend()},Uo.prototype.teardown=function(){var e=this;if(this.active){this.vm._isBeingDestroyed||p(this.vm._watchers,this);for(var t=this.deps.length;t--;)e.deps[t].removeSub(e);this.active=!1}};var Mo=new ao,Go={enumerable:!0,configurable:!0,get:A,set:A},Lo={lazy:!0},Bo={init:function(e,t,n,r){if(!e.componentInstance||e.componentInstance._isDestroyed){(e.componentInstance=Qe(e,jo,n,r)).$mount(t?e.elm:void 0,t)}else if(e.data.keepAlive){var i=e;Bo.prepatch(i,i)}},prepatch:function(e,t){var n=t.componentOptions;be(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Ee(n,"mounted")),e.data.keepAlive&&(t._isMounted?je(n):we(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?xe(t,!0):t.$destroy())}},Zo=Object.keys(Bo),zo=1,Po=2,Jo=0;!function(e){e.prototype._init=function(e){var t=this;t._uid=Jo++,t._isVue=!0,e&&e._isComponent?dt(t,e):t.$options=J(pt(t.constructor),e||{},t),t._renderProxy=t,t._self=t,me(t),le(t),ft(t),Ee(t,"beforeCreate"),We(t),De(t),Je(t),Ee(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(gt),function(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=U,e.prototype.$delete=M,e.prototype.$watch=function(e,t,n){var r=this;n=n||{},n.user=!0;var i=new Uo(r,e,t,n);return n.immediate&&t.call(r,i.value),function(){i.teardown()}}}(gt),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this,i=this;if(Array.isArray(e))for(var o=0,a=e.length;o<a;o++)r.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){function n(){r.$off(e,n),t.apply(r,arguments)}var r=this;return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var n=this,r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(e)){for(var i=0,o=e.length;i<o;i++)n.$off(e[i],t);return r}var a=r._events[e];if(!a)return r;if(1===arguments.length)return r._events[e]=null,r;for(var s,c=a.length;c--;)if((s=a[c])===t||s.fn===t){a.splice(c,1);break}return r},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?m(n):n;for(var r=m(arguments,1),i=0,o=n.length;i<o;i++)n[i].apply(t,r)}return t}}(gt),function(e){e.prototype._update=function(e,t){var n=this;n._isMounted&&Ee(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=jo;jo=n,n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1,n.$options._parentElm,n.$options._refElm),jo=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Ee(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||p(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Ee(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$options._parentElm=e.$options._refElm=null}}}(gt),function(e){e.prototype.$nextTick=function(e){return lo(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t.staticRenderFns,i=t._parentVnode;if(e._isMounted)for(var o in e.$slots)e.$slots[o]=H(e.$slots[o]);e.$scopedSlots=i&&i.data.scopedSlots||qi,r&&!e._staticTrees&&(e._staticTrees=[]),e.$vnode=i;var a;try{a=n.call(e._renderProxy,e.$createElement)}catch(t){j(t,e,"render function"),a=e._vnode}return a instanceof xo||(a=ko()),a.parent=i,a},e.prototype._o=ct,e.prototype._n=f,e.prototype._s=l,e.prototype._l=nt,e.prototype._t=rt,e.prototype._q=w,e.prototype._i=x,e.prototype._m=st,e.prototype._f=it,e.prototype._k=ot,e.prototype._b=at,e.prototype._v=Q,e.prototype._e=ko,e.prototype._u=ge}(gt);var Wo=[String,RegExp],qo={name:"keep-alive",abstract:!0,props:{include:Wo,exclude:Wo},created:function(){this.cache=Object.create(null)},destroyed:function(){var e=this;for(var t in e.cache)St(e.cache[t])},watch:{include:function(e){kt(this.cache,this._vnode,function(t){return _t(e,t)})},exclude:function(e){kt(this.cache,this._vnode,function(t){return!_t(e,t)})}},render:function(){var e=ue(this.$slots.default),t=e&&e.componentOptions;if(t){var n=Et(t);if(n&&(this.include&&!_t(this.include,n)||this.exclude&&_t(this.exclude,n)))return e;var r=null==e.key?t.Ctor.cid+(t.tag?"::"+t.tag:""):e.key;this.cache[r]?e.componentInstance=this.cache[r].componentInstance:this.cache[r]=e,e.data.keepAlive=!0}return e}},Fo={KeepAlive:qo};!function(e){var t={};t.get=function(){return Wi},Object.defineProperty(e,"config",t),e.util={warn:Yi,extend:y,mergeOptions:J,defineReactive:O},e.set=U,e.delete=M,e.nextTick=lo,e.options=Object.create(null),Pi.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,Fo),mt(e),yt(e),bt(e),xt(e)}(gt),Object.defineProperty(gt.prototype,"$isServer",{get:so}),Object.defineProperty(gt.prototype,"$ssrContext",{get:function(){return this.$vnode.ssrContext}}),gt.version="2.3.3";var Yo,Vo,Qo,Xo,Ho,Ko,$o,ea,ta,na=d("style,class"),ra=d("input,textarea,option,select"),ia=function(e,t,n){return"value"===n&&ra(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},oa=d("contenteditable,draggable,spellcheck"),aa=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),sa="http://www.w3.org/1999/xlink",ca=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},ua=function(e){return ca(e)?e.slice(6,e.length):""},la=function(e){return null==e||!1===e},fa={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},da=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),pa=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ha=function(e){return"pre"===e},va=function(e){return da(e)||pa(e)},ga=Object.create(null),ma=Object.freeze({createElement:Ut,createElementNS:Mt,createTextNode:Gt,createComment:Lt,insertBefore:Bt,removeChild:Zt,appendChild:zt,parentNode:Pt,nextSibling:Jt,tagName:Wt,setTextContent:qt,setAttribute:Ft}),ya={create:function(e,t){Yt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Yt(e,!0),Yt(t))},destroy:function(e){Yt(e,!0)}},ba=new xo("",{},[]),Aa=["create","activate","update","remove","destroy"],wa={create:Ht,update:Ht,destroy:function(e){Ht(e,ba)}},xa=Object.create(null),Ea=[ya,wa],_a={create:nn,update:nn},ka={create:on,update:on},Sa=/[\w).+\-_$\]]/,ja="__r",Ra="__c",Na={create:Cn,update:Cn},Ia={create:Dn,update:Dn},Ta=v(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),Ca=/^--/,Da=/\s*!important$/,Oa=function(e,t,n){if(Ca.test(t))e.style.setProperty(t,n);else if(Da.test(n))e.style.setProperty(t,n.replace(Da,""),"important");else{var r=Ma(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},Ua=["Webkit","Moz","ms"],Ma=v(function(e){if(ta=ta||document.createElement("div"),"filter"!==(e=Ui(e))&&e in ta.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Ua.length;n++){var r=Ua[n]+t;if(r in ta.style)return r}}),Ga={create:Zn,update:Zn},La=v(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Ba=Qi&&!Ki,Za="transition",za="animation",Pa="transition",Ja="transitionend",Wa="animation",qa="animationend";Ba&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Pa="WebkitTransition",Ja="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Wa="WebkitAnimation",qa="webkitAnimationEnd"));var Fa=Qi&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,Ya=/\b(transform|all)(,|$)/,Va=Qi?{create:tr,activate:tr,remove:function(e,t){!0!==e.data.show?Kn(e,t):t()}}:{},Qa=[_a,ka,Na,Ia,Ga,Va],Xa=Qa.concat(Ea),Ha=function(e){function t(e){return new xo(I.tagName(e).toLowerCase(),{},[],void 0,e)}function o(e,t){function n(){0==--n.listeners&&s(e)}return n.listeners=t,n}function s(e){var t=I.parentNode(e);r(t)&&I.removeChild(t,e)}function c(e,t,n,o,a){if(e.isRootInsert=!a,!u(e,t,n,o)){var s=e.data,c=e.children,l=e.tag;r(l)?(e.elm=e.ns?I.createElementNS(e.ns,l):I.createElement(l,e),m(e),h(e,c,t),r(s)&&g(e,t),p(n,e.elm,o)):i(e.isComment)?(e.elm=I.createComment(e.text),p(n,e.elm,o)):(e.elm=I.createTextNode(e.text),p(n,e.elm,o))}}function u(e,t,n,o){var a=e.data;if(r(a)){var s=r(e.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(e,!1,n,o),r(e.componentInstance))return l(e,t),i(s)&&f(e,t,n,o),!0}}function l(e,t){r(e.data.pendingInsert)&&t.push.apply(t,e.data.pendingInsert),e.elm=e.componentInstance.$el,v(e)?(g(e,t),m(e)):(Yt(e),t.push(e))}function f(e,t,n,i){for(var o,a=e;a.componentInstance;)if(a=a.componentInstance._vnode,r(o=a.data)&&r(o=o.transition)){for(o=0;o<R.activate.length;++o)R.activate[o](ba,a);t.push(a);break}p(n,e.elm,i)}function p(e,t,n){r(e)&&(r(n)?n.parentNode===e&&I.insertBefore(e,t,n):I.appendChild(e,t))}function h(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)c(t[r],n,e.elm,null,!0);else a(e.text)&&I.appendChild(e.elm,I.createTextNode(e.text))}function v(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return r(e.tag)}function g(e,t){for(var n=0;n<R.create.length;++n)R.create[n](ba,e);S=e.data.hook,r(S)&&(r(S.create)&&S.create(ba,e),r(S.insert)&&t.push(e))}function m(e){for(var t,n=e;n;)r(t=n.context)&&r(t=t.$options._scopeId)&&I.setAttribute(e.elm,t,""),n=n.parent;r(t=jo)&&t!==e.context&&r(t=t.$options._scopeId)&&I.setAttribute(e.elm,t,"")}function y(e,t,n,r,i,o){for(;r<=i;++r)c(n[r],o,e,t)}function b(e){var t,n,i=e.data;if(r(i))for(r(t=i.hook)&&r(t=t.destroy)&&t(e),t=0;t<R.destroy.length;++t)R.destroy[t](e);if(r(t=e.children))for(n=0;n<e.children.length;++n)b(e.children[n])}function A(e,t,n,i){for(;n<=i;++n){var o=t[n];r(o)&&(r(o.tag)?(w(o),b(o)):s(o.elm))}}function w(e,t){if(r(t)||r(e.data)){var n,i=R.remove.length+1;for(r(t)?t.listeners+=i:t=o(e.elm,i),r(n=e.componentInstance)&&r(n=n._vnode)&&r(n.data)&&w(n,t),n=0;n<R.remove.length;++n)R.remove[n](e,t);r(n=e.data.hook)&&r(n=n.remove)?n(e,t):t()}else s(e.elm)}function x(e,t,i,o,a){for(var s,u,l,f,d=0,p=0,h=t.length-1,v=t[0],g=t[h],m=i.length-1,b=i[0],w=i[m],x=!a;d<=h&&p<=m;)n(v)?v=t[++d]:n(g)?g=t[--h]:Vt(v,b)?(E(v,b,o),v=t[++d],b=i[++p]):Vt(g,w)?(E(g,w,o),g=t[--h],w=i[--m]):Vt(v,w)?(E(v,w,o),x&&I.insertBefore(e,v.elm,I.nextSibling(g.elm)),v=t[++d],w=i[--m]):Vt(g,b)?(E(g,b,o),x&&I.insertBefore(e,g.elm,v.elm),g=t[--h],b=i[++p]):(n(s)&&(s=Xt(t,d,h)),u=r(b.key)?s[b.key]:null,n(u)?(c(b,o,e,v.elm),b=i[++p]):(l=t[u],Vt(l,b)?(E(l,b,o),t[u]=void 0,x&&I.insertBefore(e,b.elm,v.elm),b=i[++p]):(c(b,o,e,v.elm),b=i[++p])));d>h?(f=n(i[m+1])?null:i[m+1].elm,y(e,f,i,p,m,o)):p>m&&A(e,t,d,h)}function E(e,t,o,a){if(e!==t){if(i(t.isStatic)&&i(e.isStatic)&&t.key===e.key&&(i(t.isCloned)||i(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var s,c=t.data;r(c)&&r(s=c.hook)&&r(s=s.prepatch)&&s(e,t);var u=t.elm=e.elm,l=e.children,f=t.children;if(r(c)&&v(t)){for(s=0;s<R.update.length;++s)R.update[s](e,t);r(s=c.hook)&&r(s=s.update)&&s(e,t)}n(t.text)?r(l)&&r(f)?l!==f&&x(u,l,f,o,a):r(f)?(r(e.text)&&I.setTextContent(u,""),y(u,null,f,0,f.length-1,o)):r(l)?A(u,l,0,l.length-1):r(e.text)&&I.setTextContent(u,""):e.text!==t.text&&I.setTextContent(u,t.text),r(c)&&r(s=c.hook)&&r(s=s.postpatch)&&s(e,t)}}function _(e,t,n){if(i(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o<t.length;++o)t[o].data.hook.insert(t[o])}function k(e,t,n){t.elm=e;var i=t.tag,o=t.data,a=t.children;if(r(o)&&(r(S=o.hook)&&r(S=S.init)&&S(t,!0),r(S=t.componentInstance)))return l(t,n),!0;if(r(i)){if(r(a))if(e.hasChildNodes()){for(var s=!0,c=e.firstChild,u=0;u<a.length;u++){if(!c||!k(c,a[u],n)){s=!1;break}c=c.nextSibling}if(!s||c)return!1}else h(t,a,n);if(r(o))for(var f in o)if(!T(f)){g(t,n);break}}else e.data!==t.text&&(e.data=t.text);return!0}var S,j,R={},N=e.modules,I=e.nodeOps;for(S=0;S<Aa.length;++S)for(R[Aa[S]]=[],j=0;j<N.length;++j)r(N[j][Aa[S]])&&R[Aa[S]].push(N[j][Aa[S]]);var T=d("attrs,style,class,staticClass,staticStyle,key");return function(e,o,a,s,u,l){if(n(o))return void(r(e)&&b(e));var f=!1,d=[];if(n(e))f=!0,c(o,d,u,l);else{var p=r(e.nodeType);if(!p&&Vt(e,o))E(e,o,d,s);else{if(p){if(1===e.nodeType&&e.hasAttribute(zi)&&(e.removeAttribute(zi),a=!0),i(a)&&k(e,o,d))return _(o,d,!0),e;e=t(e)}var h=e.elm,g=I.parentNode(h);if(c(o,d,h._leaveCb?null:g,I.nextSibling(h)),r(o.parent)){for(var m=o.parent;m;)m.elm=o.elm,m=m.parent;if(v(o))for(var y=0;y<R.create.length;++y)R.create[y](ba,o.parent)}r(g)?A(g,[e],0,0):r(e.tag)&&b(e)}}return _(o,d,f),o.elm}}({nodeOps:ma,modules:Xa});Ki&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&sr(e,"input")});var Ka={inserted:function(e,t,n){if("select"===n.tag){var r=function(){nr(e,t,n.context)};r(),(Hi||$i)&&setTimeout(r,0)}else"textarea"!==n.tag&&"text"!==e.type&&"password"!==e.type||(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("change",ar),eo||(e.addEventListener("compositionstart",or),e.addEventListener("compositionend",ar)),Ki&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){nr(e,t,n.context);(e.multiple?t.value.some(function(t){return rr(t,e.options)}):t.value!==t.oldValue&&rr(t.value,e.options))&&sr(e,"change")}}},$a={bind:function(e,t,n){var r=t.value;n=cr(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i&&!Ki?(n.data.show=!0,Hn(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;r!==t.oldValue&&(n=cr(n),n.data&&n.data.transition&&!Ki?(n.data.show=!0,r?Hn(n,function(){e.style.display=e.__vOriginalDisplay}):Kn(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},es={model:Ka,show:$a},ts={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},ns={name:"transition",props:ts,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(function(e){return e.tag}),n.length)){var r=this.mode,i=n[0];if(dr(this.$vnode))return i;var o=ur(i);if(!o)return i;if(this._leaving)return fr(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=lr(this),u=this._vnode,l=ur(u);if(o.data.directives&&o.data.directives.some(function(e){return"show"===e.name})&&(o.data.show=!0),l&&l.data&&!pr(o,l)){var f=l&&(l.data.transition=y({},c));if("out-in"===r)return this._leaving=!0,ee(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),fr(e,i);if("in-out"===r){var d,p=function(){d()};ee(c,"afterEnter",p),ee(c,"enterCancelled",p),ee(f,"delayLeave",function(e){d=e})}}return i}}},rs=y({tag:String,moveClass:String},ts);delete rs.mode;var is={props:rs,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=lr(this),s=0;s<i.length;s++){var c=i[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?u.push(d):l.push(d)}this.kept=e(t,null,u),this.removed=l}return e(t,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";if(e.length&&this.hasMove(e[0].elm,t)){e.forEach(hr),e.forEach(vr),e.forEach(gr);var n=document.body;n.offsetHeight;e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;qn(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ja,n._moveCb=function e(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ja,e),n._moveCb=null,Fn(n,t))})}})}},methods:{hasMove:function(e,t){if(!Ba)return!1;if(null!=this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Pn(n,e)}),zn(n,t),n.style.display="none",this.$el.appendChild(n);var r=Vn(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}},os={Transition:ns,TransitionGroup:is};gt.config.mustUseProp=ia,gt.config.isReservedTag=va,gt.config.isReservedAttr=na,gt.config.getTagNamespace=Ct,gt.config.isUnknownElement=Dt,y(gt.options.directives,es),y(gt.options.components,os),gt.prototype.__patch__=Qi?Ha:A,gt.prototype.$mount=function(e,t){return e=e&&Qi?Ot(e):void 0,ye(this,e,t)},setTimeout(function(){Wi.devtools&&co&&co.emit("init",gt)},0);var as,ss=!!Qi&&function(e,t){var n=document.createElement("div");return n.innerHTML='<div a="'+e+'">',n.innerHTML.indexOf(t)>0}("\n"," "),cs=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),us=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ls=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),fs=/([^\s"'<>\/=]+)/,ds=/(?:=)/,ps=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],hs=new RegExp("^\\s*"+fs.source+"(?:\\s*("+ds.source+")\\s*(?:"+ps.join("|")+"))?"),vs="[a-zA-Z_][\\w\\-\\.]*",gs="((?:"+vs+"\\:)?"+vs+")",ms=new RegExp("^<"+gs),ys=/^\s*(\/?)>/,bs=new RegExp("^<\\/"+gs+"[^>]*>"),As=/^<!DOCTYPE [^>]+>/i,ws=/^<!--/,xs=/^<!\[/,Es=!1;"x".replace(/x(.)?/g,function(e,t){Es=""===t});var _s,ks,Ss,js,Rs,Ns,Is,Ts,Cs,Ds,Os,Us,Ms,Gs,Ls,Bs,Zs,zs,Ps=d("script,style,textarea",!0),Js={},Ws={"<":"<",">":">",""":'"',"&":"&"," ":"\n"},qs=/&(?:lt|gt|quot|amp);/g,Fs=/&(?:lt|gt|quot|amp|#10);/g,Ys=/\{\{((?:.|\n)+?)\}\}/g,Vs=/[-.*+?^${}()|[\]\/\\]/g,Qs=v(function(e){var t=e[0].replace(Vs,"\\$&"),n=e[1].replace(Vs,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),Xs=/^@|^v-on:/,Hs=/^v-|^@|^:/,Ks=/(.*?)\s+(?:in|of)\s+(.*)/,$s=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,ec=/:(.*)$/,tc=/^:|^v-bind:/,nc=/\.[^.]+/g,rc=v(mr),ic=/^xmlns:NS\d+/,oc=/^NS\d+:/,ac=v(Pr),sc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,cc=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,uc={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},lc=function(e){return"if("+e+")return null;"},fc={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:lc("$event.target !== $event.currentTarget"),ctrl:lc("!$event.ctrlKey"),shift:lc("!$event.shiftKey"),alt:lc("!$event.altKey"),meta:lc("!$event.metaKey"),left:lc("'button' in $event && $event.button !== 0"),middle:lc("'button' in $event && $event.button !== 1"),right:lc("'button' in $event && $event.button !== 2")},dc={bind:Kr,cloak:A},pc=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),{staticKeys:["staticClass"],transformNode:_i,genData:ki}),hc={staticKeys:["staticStyle"],transformNode:Si,genData:ji},vc=[pc,hc],gc={model:_n,text:Ri,html:Ni},mc={expectHTML:!0,modules:vc,directives:gc,isPreTag:ha,isUnaryTag:cs,mustUseProp:ia,canBeLeftOpenTag:us,isReservedTag:va,getTagNamespace:Ct,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(vc)},yc=function(e){function t(t,n){var r=Object.create(e),i=[],o=[];if(r.warn=function(e,t){(t?o:i).push(e)},n){n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=y(Object.create(e.directives),n.directives));for(var a in n)"modules"!==a&&"directives"!==a&&(r[a]=n[a])}var s=xi(t,r);return s.errors=i,s.tips=o,s}function n(e,n,i){n=n||{};var o=n.delimiters?String(n.delimiters)+e:e;if(r[o])return r[o];var a=t(e,n),s={},c=[];s.render=Ei(a.render,c);var u=a.staticRenderFns.length;s.staticRenderFns=new Array(u);for(var l=0;l<u;l++)s.staticRenderFns[l]=Ei(a.staticRenderFns[l],c);return r[o]=s}var r=Object.create(null);return{compile:t,compileToFunctions:n}}(mc),bc=yc.compileToFunctions,Ac=v(function(e){var t=Ot(e);return t&&t.innerHTML}),wc=gt.prototype.$mount;gt.prototype.$mount=function(e,t){if((e=e&&Ot(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Ac(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=Ii(e));if(r){var i=bc(r,{shouldDecodeNewlines:ss,delimiters:n.delimiters},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return wc.call(this,e,t)},gt.compile=bc,e.exports=gt}).call(t,n(5))},function(e,t,n){"use strict";function r(e){return function(){var t=arguments.length;if(t){for(var n=[],r=-1;++r<t;)n[r]=arguments[r];return e.call(this,n)}return e.call(this,[])}}e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(37),i=n.n(r),o=n(38),a=(n.n(o),n(25)),s=n(3),c=n(49),u=n.n(c),l=n(45),f=n.n(l),d=new a.a,p={main:new i.a(window),panel:null};t.default={name:"pixelParallel",data:function(){return{enabled:!0,config:{currentPane:"image",visible:!0,minimized:!0,horizontalGrid:{enabled:!1,width:960,columns:12,gutter:30,opacity:.2},verticalGrid:{enabled:!1,gutter:30,opacity:.1},rulers:{enabled:!1,x:10,y:10},image:{top:0,left:0,opacity:.5,scale:1,difference:!1,lock:!1,enabled:!0},position:{x:{name:"right",value:.5},y:{name:"bottom",value:1}}},image:{base64string:null,type:null}}},beforeCreate:function(){var e=this;d.getProps().then(function(t){e.config=s.a.mergeDeep(e.config,t)}).catch(function(){e.config.minimized=!1}),d.getImage().then(function(t){e.image=t}).catch(function(){}),"chrome"in window&&"extension"in chrome&&chrome.extension.onMessage.addListener(function(t,n,r){switch(t){case"enable":e.enable();break;case"disable":e.disable();break;case"reloadBindings":e.reloadBindings()}})},mounted:function(){var e=this;"chrome"in window&&"extension"in chrome?(this.disable(),chrome.runtime.sendMessage("isEnabled",function(t){!0===t&&e.enable()})):this.enable(),this.reloadBindings()},watch:{config:{handler:function(e){d.setProps(e)},deep:!0},image:{handler:function(e){d.setImage(e)}}},methods:{disable:function(){this.enabled&&(this.enabled=!1,p.main&&p.main.pause(),p.panel&&p.panel.pause(),this.$children[0].detach(),document.body.removeChild(this.$el))},enable:function(){this.enabled||(this.enabled=!0,p.main&&p.main.unpause(),p.panel&&p.panel.unpause(),document.body.appendChild(this.$el),this.$children[0].attach(),this.reloadBindings())},handleImageChange:function(e){this.image=e},handleDisableClick:function(){"chrome"in window&&"runtime"in chrome&&"sendMessage"in chrome.runtime&&chrome.runtime.sendMessage("panelDisabled"),this.disable()},bindKeyboard:function(e,t){var n=this,r=i()(t||window);p.main&&p.main.reset(),p.panel&&p.panel.reset(),setTimeout(function(){Object.keys(e).forEach(function(t){var i=e[t].base?"ctrl+alt+"+e[t].key:e[t].key,o=e[t].base?"ctrl+alt+shift+"+e[t].key:"shift+"+e[t].key;r.bind(i,function(e){switch(e.preventDefault(),t){case"minimize":n.config.minimized=!n.config.minimized;break;case"toggle":n.config.visible=!n.config.visible;break;case"lock":n.config.image.lock=!n.config.image.lock;break;case"resetPosition":n.config.image.top=0,n.config.image.left=0;break;case"left":n.config.image.left-=1;break;case"right":n.config.image.left+=1;break;case"up":n.config.image.top-=1;break;case"down":n.config.image.top+=1}}),"left"!==t&&"right"!==t&&"up"!==t&&"down"!==t||r.bind(o,function(e){switch(e.preventDefault(),t){case"left":n.config.image.left-=10;break;case"right":n.config.image.left+=10;break;case"up":n.config.image.top-=10;break;case"down":n.config.image.top+=10}})}),t?p.panel=r:p.main=r})},reloadBindings:function(){var e=this,t={minimize:{base:!0,key:"m"},toggle:{base:!0,key:"t"},lock:{base:!0,key:"l"},resetPosition:{base:!0,key:"0"},left:{base:!0,key:"left"},right:{base:!0,key:"right"},up:{base:!0,key:"up"},down:{base:!0,key:"down"}};p.main&&p.main.reset(),p.panel&&p.panel.reset(),"chrome"in window&&"storage"in chrome&&"sync"in chrome.storage?chrome.storage.sync.get(t,function(t){e.bindKeyboard(t),e.$children[0].isolatorElement.contentWindow&&e.bindKeyboard(t,e.$children[0].isolatorElement.contentWindow)}):(this.bindKeyboard(t),this.$children[0].isolatorElement.contentWindow&&this.bindKeyboard(t,this.$children[0].isolatorElement.contentWindow))}},components:{Panel:u.a,Overlay:f.a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.default={name:"droparea",props:["title","onUpload"],data:function(){return{enabled:!1,parentDoc:document,isolatorDoc:null}},mounted:function(){var e=this;this.parentDoc.addEventListener("dragenter",function(t){e.attemptEnable(t)},!1),this.parentDoc.addEventListener("dragleave",function(t){e.enabled=!1},!1)},methods:{changeHandler:function(e){var t=this;r.a.getImageFromInputEvent(e).then(function(e){t.onUpload({base64string:e.base64string,type:e.type})})},setIsolatorDoc:function(e){this.isolatorDoc=e,this.bindIsolatorDoc()},attemptEnable:function(e){"dataTransfer"in e&&"items"in e.dataTransfer&&1===e.dataTransfer.items.length&&("image/png"===e.dataTransfer.items[0].type||"image/jpeg"===e.dataTransfer.items[0].type)&&(this.enabled=!0)},bindIsolatorDoc:function(){var e=this;this.isolatorDoc.addEventListener("dragenter",function(t){e.attemptEnable(t)},!1),this.isolatorDoc.addEventListener("dragover",function(t){t.preventDefault(),e.attemptEnable(t)},!1),this.isolatorDoc.addEventListener("drop",function(t){e.enabled=!1},!1)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"toggle",props:["title","value","arrows","step","min","max"],computed:{inputVal:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}},methods:{startIncrement:function(e,t){var n=this,r=e.target.ownerDocument,i=(this.inputVal,function e(t){"mouseout"===t.type&&(t.relatedTarget||t.toElement)&&"HTML"!==(t.relatedTarget||t.toElement).nodeName||(n.incrementTimeout&&(clearTimeout(n.incrementTimeout),n.incrementTimeout=null),n.incrementInterval&&(clearInterval(n.incrementInterval),n.incrementInterval=null),r.removeEventListener("mouseup",e),r.removeEventListener("mouseout",e))}),o=function(e){return!(void 0!==n.min&&e<n.min||void 0!==n.max&&e>n.max)},a=function(e){return Math.round(1e5*e)/1e5};o(this.inputVal+t)&&(this.inputVal=a(this.inputVal+t),this.incrementTimeout=setTimeout(function(){n.incrementInterval=setInterval(function(){o(n.inputVal+t)&&(n.inputVal=a(n.inputVal+t))},80)},150),r.addEventListener("mouseup",i),r.addEventListener("mouseout",i))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(47),i=n.n(r),o=n(46),a=n.n(o),s=n(48),c=n.n(s);t.default={name:"overlay",props:["config","image"],components:{OverlayImage:i.a,OverlayGrids:a.a,OverlayRulers:c.a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"overlay-grids",props:["config"],computed:{horizontalGridStyles:function(){var e=this.config.horizontalGrid.opacity,t=parseInt(this.config.horizontalGrid.width)||0,n=parseInt(this.config.horizontalGrid.gutter)||0;return{opacity:e,"border-spacing":n+"px",width:t?t+2*n+"px":"calc(100% + "+2*n+"px)"}},verticalGridStyles:function(){var e=this.config.verticalGrid.opacity,t=Math.max(3,parseInt(this.config.verticalGrid.gutter)||0),n=100-1/t*100;return{opacity:e,background:"linear-gradient(to bottom, transparent, transparent "+n+"%, blue "+n+"%, blue)","background-size":"100% "+t+"px"}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4);t.default={name:"overlayImage",props:["config","image"],data:function(){return{imageOuterHeight:this.getDocumentHeight()}},computed:{imageOuterClasses:function(){return["pixelParallel-image-outer",{"pixelParallel-image-no-image":!this.image.base64string,"pixelParallel-image-difference":this.config.image.difference,"pixelParallel-image-locked":this.config.image.lock,"pixelParallel-image-enabled":this.config.image.enabled}]},imageInnerStyles:function(){return{"margin-left":this.config.image.left+"px","margin-top":this.config.image.top+"px"}},imageStyles:function(){return{transform:"scale("+this.config.image.scale+")",opacity:this.config.image.opacity}}},methods:{handleDragEnd:function(e){this.config.image.top=e.top,this.config.image.left=e.left},getDocumentHeight:function(){var e=document.body,t=document.documentElement;return Math.max(document.documentElement.offsetHeight,e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight)},resizeOverlay:function(){this.imageOuterHeight=0,this.imageOuterHeight=this.getDocumentHeight()}},mounted:function(){window.addEventListener("resize",this.resizeOverlay),setInterval(this.resizeOverlay,500)},directives:{draggable:r.a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4);t.default={name:"overlay-rulers",props:["config"],methods:{handleXDragEnd:function(e){this.config.rulers.x=e.top},handleYDragEnd:function(e){this.config.rulers.y=e.left}},directives:{draggable:r.a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(22),i=n(23),o=n(24),a=n(51),s=n.n(a),c=n(44),u=n.n(c),l=n(52),f=n.n(l),d=n(43),p=n.n(d),h=n(50),v=n.n(h),g=n(4),m={start:{x:0,y:0},element:{x:0,y:0},last:{x:0,y:0},max:{x:0,y:0}};t.default={name:"panel",props:["config","onImageChange","onDisableClick"],data:function(){return{contentElement:null,styleElement:null,isolatorElement:null,dragging:!1}},mounted:function(){var e=this;this.isolatorElement=this.$el.querySelector(".pixelParallel-panel-isolator"),this.contentElement=this.$el.querySelector(".pixelParallel-panel-content"),this.styleElement=document.createElement("style"),this.styleElement.textContent=r.a,this.styleElement.textContent+=i.a,this.styleElement.textContent+=o.a,this.attach(),this.isolatorElement.addEventListener("load",function(){e.attach()})},methods:{handleDragEnd:function(e,t){var n=this.$el.getBoundingClientRect(),r={x:window.innerWidth,y:window.innerHeight},i=null,o=null,a=0,s=0;m.last.x<r.x/2?(i="left",a=m.last.x/window.innerWidth*100):(i="right",this.$el.style.left="auto",a=(r.x-m.last.x-n.width)/window.innerWidth*100),m.last.y<r.y/2?(o="top",s=m.last.y/window.innerHeight*100):(o="bottom",this.$el.style.top="auto",s=(r.y-m.last.y-n.height)/window.innerHeight*100),this.$el.style.transform="none",this.$el.style[i]=a+"%",this.$el.style[o]=s+"%",this.config.position.x.name=i,this.config.position.x.value=a,this.config.position.y.name=o,this.config.position.y.value=s,this.dragging=!1},handleDragMove:function(e){m.last.x=Math.min(m.max.x,Math.max(0,m.element.x+e.screenX-m.start.x)),m.last.y=Math.min(m.max.y,Math.max(0,m.element.y+e.screenY-m.start.y)),this.$el.style.transform="translate("+m.last.x+"px, "+m.last.y+"px)"},handleDragStart:function(e){var t=this.$el.getBoundingClientRect();m.start.x=e.screenX,m.start.y=e.screenY,m.element.x=t.left,m.element.y=t.top,m.max.x=window.innerWidth-t.width,m.max.y=window.innerHeight-t.height,this.$el.style.left="0px",this.$el.style.top="0px",this.$el.style.transform="translate("+m.element.x+"px, "+m.element.y+"px)",this.$el.style.right="auto",this.$el.style.bottom="auto",this.dragging=!0},setCurrentPane:function(e){this.config.currentPane=e},handleCloseClick:function(){this.onDisableClick()},handleImageChange:function(e){this.onImageChange(e)},handleRulersReset:function(){this.config.rulers.x=10,this.config.rulers.y=10},detach:function(){this.$el.appendChild(this.contentElement),this.$el.appendChild(this.styleElement)},attach:function(){this.isolatorElement.contentDocument.body.appendChild(this.contentElement),this.isolatorElement.contentDocument.head.appendChild(this.styleElement),this.$children[0].setIsolatorDoc(this.isolatorElement.contentDocument)}},computed:{panelInlineStyles:function(){var e={};return e[this.config.position.x.name]=this.config.position.x.value+"%",e[this.config.position.y.name]=this.config.position.y.value+"%",e.opacity=1,e}},directives:{draggable:g.a},components:{Toggle:s.a,Number:u.a,UploadButton:f.a,Droparea:p.a,PasteBox:v.a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.default={name:"upload-button",props:["title","onPaste"],methods:{pasteHandler:function(e){var t=this;r.a.getImageFromPasteEvent(e).then(function(e){t.onPaste({base64string:e.base64string,type:e.type})})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"toggle",props:["title","action","value"],computed:{checked:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.default={name:"upload-button",props:["title","onUpload"],methods:{changeHandler:function(e){var t=this;r.a.getImageFromInputEvent(e).then(function(e){t.onUpload({base64string:e.base64string,type:e.type})})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8),i=n.n(r),o=n(7),a=n.n(o),s=document.querySelector("#pixel-parallel-container");null===s&&(s=document.createElement("div"),s.id="pixel-parallel-container",document.body.appendChild(s),new i.a({el:s,render:function(e){return e(a.a)}}))},function(e,t,n){"use strict";t.a="\n /* latin */\n @font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 400;\n src: local('Roboto'), local('Roboto-Regular'), url(data:application/octet-stream;base64,d09GMgABAAAAACg0AA8AAAAATaQAACfbAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkwbmg4cgQgGYACGOBEMCuZU0TgSgWgBNgIkA4Z2C4M+AAQgBYIQByAb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Z++qLjPoJGUPNWWPFNm5KfhTC9Iel8jXjXmGSS5xFRbOu6yz7qGvLXDblLLl9lNJ201vctKKPCle0pHKVXGnMc/Rk1r0VIJBvEba6G/LYcHJBuzC+OzfG8Rtuktbl22cN0AnTW/TRKqlsuFQV89kCq2Un2huZtcNMWz53F3XmI1Pm6He3PNxbNLhctQL7X1F1i23/QHHO70aPElJk+WOXUueX2X7zhRY87qMrfe7OFYaLDJ3lCs8xTnkNzqdSZtq7u72YqmpA0tJPq+jCK51qkZlXIWr7pWAt47wqsx1DaL1e0BgRMuWVLzeltTw2yCXecpzuC5z7c9d6/9HYJLHfRQQ3rZ/P1f6BbIWzrgw15eFEJUmINrd2kpK3INlSgWk57/VlR8nWkLdFMkkC2bCcHviu9S1tibSg2yEZMuiaHyHRLXC26ywxuv3KSEB24I/g61r7tNiDCzJddzIZEeCnKPsKA9gPyIMfADrUYVjixJUZNKT2Lio4wYWGwg0GM5ozY7AN1kWHt2Fx1K1Ebgbs6PH0miffOaDng9mCHyJbJEbRikh8uPDkQYAk0f87AgnqxdUl3XeULpBJ5FJz5juVeZH73yURAE2U7cJoy54zx8jKE4kTMUQu97ojDz6e+1grTeqUqNCiD1VEgfObgZPE9RNVigM=) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;\n }\n\n @font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 500;\n src: local('Roboto Medium'), local('Roboto-Medium'), url(data:application/octet-stream;base64,d09GMgABAAAAACgIAA4AAAAATSgAACevAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG5oQHIEIBmAAhjgRDArmKNEPEoFoATYCJAOGdguDPgAEIAWCHAcgG94/FdNtniDYOADjTTbuUZRC0b1GUcGIyP7/kqCNEYJ9h1abqBKl6CgWiLqDOoZRZIhC7CjTBTaAEOsU9ylVJ5o3Nqg9Yp1XRez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GS3eW9kNXZJKcxj9ihobNTjasi8pHSvkU/dBQGt9CQntJr0dJ+j9zGPKfJaZYTBwF9lc40o3ZSj9mgC8pJ5flR9mSAYdYKyBK6mc0iL0oLIUXTdr5TApe+rjzaxPRlcUPS9Ymc1NbPp3VTbLMUOp+Qfhix4yjElOyIEhJBbPs10rFDOfO5Z7obWUcgu31PSumkTzoEySE1YTjW70Nhujqszv+wiIeIv8YPDWLZlPT0HRJJQQ+HeEigcz5dcsnNfwL6h1C1+xRZ9gCexrlPiutFodF5J93iEcAPivAzhzkhY5cAAbkCrBs95QwFkQtflAiBCw2JCzKMqJARjYswzpBgWFhtGdc6Moy1cN4aKMsTZsaPryBUoawlC6DIEF6i2N+vLMp5QcKFEaZA5v+KQJ4pg5/16f2cSvkuK80CSbRwBMJ/JnEaNBlenubFp4f5OXq4KAHQQgT5up8w5w07f2dmyogufeZsoEqPb68Mbldtb1oJEgAA) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;\n }\n"},function(e,t,n){"use strict";t.a="\n .ico { display: inline-block; vertical-align: middle; background-repeat: no-repeat; background-size: contain; background-position: center center; }\n\n .ico-eye-slash { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAaCAYAAADSbo4CAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpS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zI0fPPfClJSkhmUk7in48vOUqzByqhIp6yND/eGh4Uxs9kc6eTk9M5/ESdTGSB5LlSUbwuAonC8v9VysjWPfhwZGRHub2w2m0wmt9mXA/z92TJFKImXmjUHTmItDwwMmOS9l565IeM9mVTKpqamcl5qal4/FzERsZXhYVOwOAriQaAEiTIIyylmbHJy0iYR709NsYqVY2P6GnJ34aaCHLIaMMHSrb5+vuf/1h3+/FzEh2Gl/sK3F1cNDQ9T1qgRFxNWi5vbXa/OlRzkRl9fHxK7cPZHrJvc3d3fhdfKIU9/LPaVfX39CiSeae2aaCXv2VuIr8XFrjsCV7JDh4/64sI9Mx1E5l0L990SWyQfS05KJNECVAANQMeTj5cG8d1rEDoUfLIKUWpHKU/wrLBJroT4uF1JiQmTBoNBDOtPYyuS9i8ODJhysrOqKXtnNQsGT5D4IQioVV5Fje/GvQJKUuxRuDqpPOEVTczaNVmQtcARG2IcJqvzEDcksMUTW90UO+rTjc2abq1OZ9MsgGqgB4Nhs0QiqTUajZ21dfVU0KcAqaenZ4OqaGs+39cftYbApoGA/ARiUVWQn8fQnehwPXAZXnjTeiYxIZ6hvklswvmrIL2u0+kKUEoudfX7/FA+NO7Gke1VT5SVFPJNaTvfzeYfi1BWgSze29HZZent7ePggekP9PLyYqXFKqrbkfZPP1/91Zkzu7B9Lz+1aIKZkVzvY1j87C2TVfCW0pDZZ9d0giUNID+3ISP94NDQsJdWq53eT/2nWewGKQ0RNX/lPMqwLTcn+7fgoKDNeKfiptiogOMLGosgb4+IuC91YmKih5oXMpuFLg2hn2hovAHE+Ph4t+Tn5m5BP6dR+BRAMTADbwM7gV/+1zzu7z97Fp1HhhIcVChCpfz2DnyUkeoXQ2Q/1i1Wq/nyoXy4suh/ICXFKqojI//aAdLZSfIxcIgSEBhb0H8uav52PCKgDPgMOMfuwPOXAAMAFT2J6mINzK8AAAAASUVORK5CYII=); width: 15px; height: 11px; }\n a.active .ico-eye-slash-small,\n a:hover .ico-eye-slash-small { background-image: url(data:image/png;base64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cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGNTU1Mjc1NkJBNzYxMUU2QjcwQUM4MTUzRjQxOUU1QyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxNzg5RUNEMEJBNzcxMUU2QjcwQUM4MTUzRjQxOUU1QyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkY1NTUyNzU0QkE3NjExRTZCNzBBQzgxNTNGNDE5RTVDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkY1NTUyNzU1QkE3NjExRTZCNzBBQzgxNTNGNDE5RTVDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+scZqyQAAACJJREFUeNpibGxunclAAWAB4jRKDGBioBCAXDCLEgMAAgwAnRQDLht0cb4AAAAASUVORK5CYII=); width: 8px; height: 2px; }\n a.active .ico-minimize,\n a:hover .ico-minimize { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAECAYAAACHtL/sAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5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nN0YW5jZUlEPSJ4bXAuaWlkOjJEOENCOURDQkE3NzExRTZCNzBBQzgxNTNGNDE5RTVDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjJEOENCOUREQkE3NzExRTZCNzBBQzgxNTNGNDE5RTVDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+IjlJQwAAADJJREFUeNpinDVn7n8GKgImBiqDwW8gCxYxRhLN+D/Cw3DUwFEDB2te/j8ahiQBgAADAF83BP0ZNeZfAAAAAElFTkSuQmCC); width: 10px; height: 10px; }\n a.active .ico-maximize,\n a:hover .ico-maximize { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJj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lEjxSk8EaIpvOCw+0hvhWgI3/g/SJ9tdB/7t/L35PECi/uNrwADAPh2YLGNv80DAAAAAElFTkSuQmCC); width: 11px; height: 10px; }\n a.active .ico-close,\n a:hover .ico-close { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxNzg5RUNEN0JBNzcxMUU2QjcwQUM4MTUzRjQxOUU1QyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxNzg5RUNEOEJBNzcxMUU2QjcwQUM4MTUzRjQxOUU1QyI+IDx4bXBNTTpEZXJpdmVkRn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hsrmvBUk2zmXbOPTXFI73YJsYWJvi5Fz4Yd9AQY4HyQeWme/OfhZj3mXMwGbhD9kxSlsId7PVzuPzYKn9Y1aCp0JWGv7IkMc1odxq78H563Ei/ZzjE3gy/ocASqwyDao0zLE15qeFcTLNjDB0m3eYC9ALZykVXKpYAZN3hYwbuIOTqK9AKNw0sgkN6kX4Td6W4C/dXE6ewEmDA/YBn+Ps2R4ih0nC2A6P06A1lESvhVWl+bvZt1CCIgP5lz+/U8AnD4STqz9aFqM2h3oTecqHKx11tPV6ygCt3H8Zktra5+ZFD2fOu1NARnL5MRPwW3BO0cC+hJCZK+Ef7j/eeYUPiK84Zy6zUvieppJusMOb0OEp4DPUs6GJlmlRsG8xNcVngrYEysnq6z7XwdGHQoo75h+czhR0SwcM5rYMB+GS9A8iU3srIWisJ1LV9nyu8RlR3Q8RZmTu0YxZVfD/fFRBrrAJXpX8VFRizn3lQZfEmi9VWtAh9uuGO3WwdL26aqrr6fFX/iOzjxWXgXnsUHcOnv4CjjktildeX2s+kSKsuSmQW0rHJJtO67zenRSvPMRkGnv3N2Lydkt0fLJJ9myCzWdJqbyvYkMTrBuM53eogXJSpIWMdvC0TNvoO3AvF5MUIyo8vIZCwlv+2Em7b/M5NOAhQxNsWQCFwvtmCLRutEM10fJuQZWYHdBPvjjyZsRFUGTsACcFN7lzhth8hRcBI1u6wPLSkoz2ibpQRqfUEFAA2jH9I3P8Aa+gRVl/wQYAICSAbXYakIpAAAAAElFTkSuQmCC); }\n"},function(e,t,n){"use strict";t.a="\n /* ------------------------------------------------------------ * Pixel Parallel Panel\n * ------------------------------------------------------------ */\n\n * { padding: 0; margin: 0; outline: 0; border: 0; box-sizing: border-box; }\n\n body { font-family: Roboto, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1; color: rgba(0,0,0,.85); overflow: hidden; font-weight: 500; }\n\n\n /* ------------------------------------------------------------ * Buttons\n * ------------------------------------------------------------ */\n\n .btn { display: inline-block; position: relative; overflow: hidden; background: #2196f3; padding: 0 15px; border-radius: 2px; font-size: 14px; line-height: 32px; color: #fff; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: 200ms; }\n .btn:hover { background: #2980b9; }\n \n .btn-block { display: block; width: 100%; padding-left: 0; padding-right: 0; }\n\n .btn-success { background: #abdc28; }\n .btn-success:hover { background: #9ac117; }\n\n .btn-danger { background: #e85128; }\n .btn-danger:hover { background: #e04a28; }\n\n .btn[disabled] { background: #ccc; cursor: default; }\n\n .btn-file input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.01; cursor: pointer; }\n\n\n /* ------------------------------------------------------------ * Grid\n * ------------------------------------------------------------ */\n\n .row { padding: 10px 15px; }\n .row:after { content: ''; line-height: 0; display: table; clear: both; }\n\n .row-head { border-bottom: 1px solid #ebebeb; padding-top: 10px; padding-bottom: 10px; margin-bottom: 10px; }\n .row-head-large-gutter { padding-top: 21px; padding-bottom: 21px; }\n\n .col { float: left; padding: 0 5px; display: table; width: 100%; }\n .col-1-of-2 { width: 50%; }\n\n .col-1-of-3 { width: 33.33%; }\n .col-2-of-3 { width: 66.66%; }\n\n .col-1-of-4 { width: 25%; }\n .col-3-of-4 { width: 75%; }\n\n .col-1-of-5 { width: 20%; }\n .col-2-of-5 { width: 40%; }\n .col-3-of-5 { width: 60%; }\n .col-4-of-5 { width: 80%; }\n\n @media (max-width: 372px) {\n .row { padding-left: 5px; padding-right: 5px; }\n }\n\n\n /* ------------------------------------------------------------ * Header\n * ------------------------------------------------------------ */\n\n .header { border-bottom: 1px solid #ebebeb; }\n\n\n /* ------------------------------------------------------------ * Panel Control\n * ------------------------------------------------------------ */\n \n .panel-control { float: right; padding-right: 10px; }\n .panel-control ul { list-style: none; }\n .panel-control li { float: left; }\n .panel-control li a { display: block; position: relative; height: 48px; width: 30px; line-height: 48px; text-align: center; }\n .panel-control li a .ico { position: absolute; top: 50%; left: 50%; margin-top: -6px; margin-left: -5px; transition: 200ms; }\n .panel-control li a .ico-minimize { margin-top: 1px; margin-left: -3px; }\n .panel-control li a .ico-eye-slash-small { margin-left: -6px; }\n\n\n /* ------------------------------------------------------------ * Nav\n * ------------------------------------------------------------ */\n \n .nav { overflow: hidden; margin-bottom: -1px; }\n .nav ul { list-style: none outside none; overflow: hidden; }\n .nav li { float: left; }\n .nav li a { display: block; position: relative; height: 48px; padding: 0 20px; line-height: 50px; color: rgba(0,0,0,.5); font-size: 16px; text-decoration: none; text-transform: uppercase; transition: 200ms; }\n .nav li a:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: #2196f3; transition: 200ms; }\n .nav li.current a { color: #2196f3; }\n .nav li.current a:after { width: 100%; }\n .nav li a:hover { color: #2196f3; }\n\n @media (max-width: 372px) {\n .nav li a .ad { display: none; }\n }\n\n\n /* ------------------------------------------------------------ * Number\n * ------------------------------------------------------------ */\n \n .number { display: block; }\n\n .number .number-field { display: block; position: relative; }\n \n .number .number-arrows { position: absolute; top: 50%; right: 2px; width: 10px; height: 16px; margin-top: -8px; }\n .number .number-arrow { position: absolute; font-size: 0; line-height: 0; color: #bdbdbd; cursor: pointer; transition: 200ms; }\n .number .number-arrow:nth-child(1) { top: 0; left: 0; }\n .number .number-arrow:nth-child(2) { bottom: 0; left: 0; }\n .number .number-arrow-up { border-width: 0 5px 5px; border-style: none outset solid; border-left-color: transparent; border-right-color: transparent; }\n .number .number-arrow-down { border-width: 5px 5px 0; border-style: solid outset none; border-left-color: transparent; border-right-color: transparent; }\n .number .number-arrow:hover { color: #2196f3; }\n\n .number .number-input { display: block; width: 100%; border: 0 none; border-bottom: 2px solid #bdbdbd; font-family: inherit; font-size: 14px; font-weight: inherit; line-height: 30px; color: rgba(0,0,0,.5); transition: 200ms; -moz-appearance: textfield; }\n .number .number-input::-webkit-outer-spin-button,\n .number .number-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }\n\n .number:active .number-input,\n .number .number-input:focus { border-color: #2196f3; outline: 0 none; color: rgba(0,0,0,.85); }\n\n .number .number-arrows + .number-input { padding-right: 20px; }\n\n\n /* ------------------------------------------------------------ * Toggle\n * ------------------------------------------------------------ */\n \n .toggle { display: block; cursor: pointer; padding-bottom: 1px; }\n .toggle .toggle-checkbox { position: absolute; opacity: 0; z-index: -999; }\n \n .toggle .toggle-title { display: block; margin-bottom: 10px; }\n .toggle .toggle-title a { text-decoration: underline; color: inherit; font-size: .9em; }\n\n .toggle .toggle-main,\n .toggle .toggle-handle { transition: 200ms; }\n\n .toggle .toggle-main { display: block; position: relative; width: 40px; height: 14px; border-radius: 100px; background: #898989; }\n .toggle .toggle-handle { position: absolute; top: -3px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transform: translateX(0%); }\n\n .toggle-checked .toggle-main { background: #90caf9; }\n .toggle-checked .toggle-handle { background: #2196f3; transform: translateX(100%); }\n\n\n /* ------------------------------------------------------------ * Icon Link\n * ------------------------------------------------------------ */\n\n .icon-link-group { margin: 0 -10px; }\n\n .icon-link { display: inline-block; text-decoration: none; color: #000; opacity: .5; padding: 10px; transition: 200ms; font-weight: 400; text-transform: uppercase; }\n .icon-link.active,\n .icon-link:hover { opacity: 1; }\n .icon-link.active { color: #2196f3; }\n\n .icon-link .text { display: inline-block; vertical-align: middle; }\n .icon-link .ico { transition: 200ms; margin-right: 5px; }\n\n\n /* ------------------------------------------------------------ * Paste Box\n * ------------------------------------------------------------ */\n \n .paste-box { display: inline-block; position: relative; overflow: hidden; height: 32px; width: 100%; font-size: 0; line-height: 0; background: #fff; border: 2px dashed #2196f3; text-align: center; border-radius: 2px; vertical-align: middle; transition: 200ms; }\n .paste-box > * { display: none; }\n .paste-box:focus { border-style: solid; }\n .paste-box:before { content: attr(title); display: block; line-height: 28px; font-size: 14px; text-transform: uppercase; color: #2196f3; }\n\n /* ------------------------------------------------------------ * Elements Divider\n * ------------------------------------------------------------ */\n \n .elements-divider { display: block; text-align: center; color: #000; text-transform: uppercase; padding: 10px 0; }\n\n\n /* ------------------------------------------------------------ * Droparea\n * ------------------------------------------------------------ */\n \n .droparea { display: none; position: absolute; top: 0; left: 0; z-index: 999; width: 100%; height: 100%; background: #fff; }\n .droparea:after { content: ''; position: absolute; top: 10px; bottom: 10px; left: 10px; right: 10px; border: 4px dashed #2196f3; border-radius: 4px; }\n .droparea input { position: absolute; top: 0; left: 0; z-index: 9; width: 100%; height: 100%; opacity: 0; }\n .droparea .droparea-title { position: absolute; top: 50%; left: 0; right: 0; text-align: center; font-size: 26px; line-height: 30px; margin-top: -15px; color: #2196f3; font-weight: normal; }\n\n .droparea.enabled { display: block; }\n\n\n /* ------------------------------------------------------------ * States\n * ------------------------------------------------------------ */\n\n .panel-control .ico-maximize { opacity: 0; }\n \n .nav,\n .main { transition: 200ms 200ms; }\n\n .pixelParallel-panel-content-minimized .nav,\n .pixelParallel-panel-content-minimized .main { opacity: 0; transition: 200ms; }\n .pixelParallel-panel-content-minimized .panel-control .ico-minimize { opacity: 0; transition: 200ms 200ms; }\n .pixelParallel-panel-content-minimized .panel-control .ico-maximize { opacity: 1; transition: 200ms 200ms; }\n"},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n(40),o=n.n(i),a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(){function e(){r(this,e),this.dev=!1,this.db=new o.a("PixelParallel",{auto_compaction:!0,revs_limit:1})}return a(e,[{key:"storageSet",value:function(e){var t=this,n=e.doc;return this.storageGet(e,!0).then(function(r){var i=null,o=null;return void 0!==r&&(i=r._rev),n._rev=i,n._id=e.docId,o=t.db.put(n),o.catch(function(e){t.dev&&console.info("Pixel Parallel:",e)}).then(function(){t.dev&&t.db.info().then(function(e){console.info("Pixel Parallel:","db-info",e)}).catch(function(e){t.dev&&console.info("Pixel Parallel:",e)})})})}},{key:"storageGet",value:function(e){var t=this;return this.db.get(e.docId,{attachments:!!e.includeAttachments}).catch(function(e){"missing"!==e.message&&t.dev&&console.info("Pixel Parallel:",e)})}},{key:"setImage",value:function(e){this.storageSet({docId:"base64string",doc:{_attachments:{overlay:{data:e.base64string.split(",").pop(),content_type:e.type}}}})}},{key:"getImage",value:function(){var e=this;return new Promise(function(t,n){e.storageGet({docId:"base64string",includeAttachments:!0}).then(function(e){if(e&&"_attachments"in e&&"overlay"in e._attachments&&e._attachments.overlay){var r=e._attachments.overlay;t({base64string:"data:"+r.content_type+";base64,"+r.data,type:r.content_type},!0)}else n()})})}},{key:"setProps",value:function(e){this.storageSet({docId:"properties",doc:Object.keys(e).filter(function(e){return!e.match(/^_/)}).reduce(function(t,n){return t[n]=e[n],t},{})})}},{key:"getProps",value:function(){var e=this;return new Promise(function(t,n){e.storageGet({docId:"properties"}).then(function(e){void 0!==e?t(e):n()})})}}]),e}();t.a=s},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,"",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,'.pixelParallel-image-outer{visibility:hidden;position:absolute;top:0;left:0;width:100%;overflow:hidden;max-width:100vw;min-height:100vh}.pixelParallel-image-inner{position:absolute;z-index:2147483646;left:50%;top:0;cursor:move;transform:translateX(-50%);transition:opacity .15s}.pixelParallel-image-inner img{width:auto;height:auto;max-width:none;max-height:none;vertical-align:top;margin:0;padding:0;position:relative;transform-origin:50% 0;top:-1px;border:1px dashed #333}.pixelParallel-image-inner img:not([src]),.pixelParallel-image-inner img[src=""]{visibility:hidden}.pixelParallel-image-enabled{visibility:visible}.pixelParallel-image-difference{mix-blend-mode:difference}.pixelParallel-image-difference img{opacity:1!important}.pixelParallel-image-locked,.pixelParallel-image-no-image{pointer-events:none}.pixelParallel-image-locked .pixelParallel-image-inner img{top:0;border:0 none}',""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".pixelParallel-panel[data-v-54cb82b4]{position:fixed;right:10px;bottom:10px;z-index:2147483647;width:375px;height:265px;transform:translate(0);background:#fff;transition:width .2s ease-out,height .2s ease-out;will-change:top,left,width,height,transform;opacity:0}.pixelParallel-panel-inner[data-v-54cb82b4]{position:relative;overflow:hidden;height:100%;border:1px solid #dddedf;box-shadow:0 2px 10px rgba(0,0,0,.1);box-sizing:border-box}.pixelParallel-panel-handle[data-v-54cb82b4]{position:absolute;top:-10px;right:-10px;z-index:3;width:20px;height:20px;background:red;transform:rotate(45deg);background:linear-gradient(0deg,transparent,transparent 50%,#ccc 0,#ccc);background-size:100% 2px;cursor:move}.pixelParallel-panel-isolator[data-v-54cb82b4]{border:0;width:100%;height:100%;overflow:hidden;position:relative}.pixelParallel-panel-dragging .pixelParallel-panel-inner[data-v-54cb82b4]{pointer-events:none}.pixelParallel-panel-minimized[data-v-54cb82b4]{width:112px;height:50px;transition:width .2s ease-out .15s,height .2s ease-out .15s}@media (max-width:395px){.pixelParallel-panel[data-v-54cb82b4]{right:0;bottom:0;width:320px}.pixelParallel-panel-minimized[data-v-54cb82b4]{width:112px}}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,'.pixelParallel-rulers{position:relative;z-index:2147483646}.pixelParallel-ruler-x,.pixelParallel-ruler-y{display:none;position:fixed;top:0;left:0;z-index:2;background:cyan}.pixelParallel-ruler-x:after,.pixelParallel-ruler-y:after{content:"";position:absolute;top:-8px;left:-8px;right:0;bottom:0;padding:10px}.pixelParallel-ruler-x{right:0;height:1px;cursor:row-resize}.pixelParallel-ruler-y{bottom:0;width:1px;cursor:col-resize}.pixelParallel-rulers-enabled .pixelParallel-ruler-x,.pixelParallel-rulers-enabled .pixelParallel-ruler-y{display:block}',""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".pixelParallel-overlay{position:absolute;left:0;top:0;width:100%;text-align:center;white-space:nowrap;display:none}.pixelParallel-overlay-enabled{display:block}",""])},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".pixelParallel-grids{position:relative;z-index:2147483646;pointer-events:none}.pixelParallel-grid-horizontal,.pixelParallel-grid-vertical{position:fixed;z-index:1;pointer-events:none;visibility:hidden}.pixelParallel-grid-horizontal{top:50%;left:50%;display:table;width:100vw;height:200vh;opacity:.5;table-layout:fixed;border-spacing:30px;transform:translate(-50%,-50%)}.pixelParallel-grid-horizontal span{display:table-cell;background:red;height:200vh}.pixelParallel-grid-vertical{top:0;left:0;width:100%;height:100%;background:linear-gradient(180deg,transparent,transparent 90%,blue 0,blue);background-size:100% 10px;opacity:.5}.pixelParallel-grid-horizontal-enabled,.pixelParallel-grid-vertical-enabled{visibility:visible}",""])},function(e,t,n){(function(r){function i(){return!("undefined"==typeof window||!window||void 0===window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document&&"WebkitAppearance"in document.documentElement.style||"undefined"!=typeof window&&window&&window.console&&(console.firebug||console.exception&&console.table)||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function c(){try{return t.storage.debug}catch(e){}if(void 0!==r&&"env"in r)return n.i({NODE_ENV:"production"}).DEBUG}t=e.exports=n(33),t.log=a,t.formatArgs=o,t.save=s,t.load=c,t.useColors=i,t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(c())}).call(t,n(41))},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function i(e){function n(){if(n.enabled){var e=n,r=+new Date,i=r-(u||r);e.diff=i,e.prev=u,e.curr=r,u=r;for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];o[0]=t.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;s++;var i=t.formatters[r];if("function"==typeof i){var a=o[s];n=i.call(e,a),o.splice(s,1),s--}return n}),t.formatArgs.call(e,o);(n.log||t.log||console.log.bind(console)).apply(e,o)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=r(e),"function"==typeof t.init&&t.init(n),n}function o(e){t.save(e),t.names=[],t.skips=[];for(var n=(e||"").split(/[\s,]+/),r=n.length,i=0;i<r;i++)n[i]&&(e=n[i].replace(/\*/g,".*?"),"-"===e[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))}function a(){t.enable("")}function s(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}t=e.exports=i.debug=i.default=i,t.coerce=c,t.disable=a,t.enable=o,t.enabled=s,t.humanize=n(39),t.names=[],t.skips=[],t.formatters={};var u},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function i(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,i,s,c,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(n=this._events[e],a(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(o(n))for(s=Array.prototype.slice.call(arguments,1),u=n.slice(),i=u.length,c=0;c<i;c++)u[c].apply(this,s);return!0},n.prototype.addListener=function(e,t){var i;if(!r(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(i=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&i>0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,i,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(s=a;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){i=s;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";function r(){}function i(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=y,this.queue=[],this.outcome=void 0,e!==r&&c(this,e)}function o(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function a(e,t,n){h(function(){var r;try{r=t(n)}catch(t){return v.reject(e,t)}r===e?v.reject(e,new TypeError("Cannot resolve promise with itself")):v.resolve(e,r)})}function s(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function c(e,t){function n(t){o||(o=!0,v.reject(e,t))}function r(t){o||(o=!0,v.resolve(e,t))}function i(){t(r,n)}var o=!1,a=u(i);"error"===a.status&&n(a.value)}function u(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}function l(e){return e instanceof this?e:v.resolve(new this(r),e)}function f(e){var t=new this(r);return v.reject(t,e)}function d(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var o=new Array(n),a=0,s=-1,c=new this(r);++s<n;)!function(e,r){function s(e){o[r]=e,++a!==n||i||(i=!0,v.resolve(c,o))}t.resolve(e).then(s,function(e){i||(i=!0,v.reject(c,e))})}(e[s],s);return c}function p(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var o=-1,a=new this(r);++o<n;)!function(e){t.resolve(e).then(function(e){i||(i=!0,v.resolve(a,e))},function(e){i||(i=!0,v.reject(a,e))})}(e[o]);return a}var h=n(6),v={},g=["REJECTED"],m=["FULFILLED"],y=["PENDING"];e.exports=i,i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,t){if("function"!=typeof e&&this.state===m||"function"!=typeof t&&this.state===g)return this;var n=new this.constructor(r);if(this.state!==y){a(n,this.state===m?e:t,this.outcome)}else this.queue.push(new o(n,e,t));return n},o.prototype.callFulfilled=function(e){v.resolve(this.promise,e)},o.prototype.otherCallFulfilled=function(e){a(this.promise,this.onFulfilled,e)},o.prototype.callRejected=function(e){v.reject(this.promise,e)},o.prototype.otherCallRejected=function(e){a(this.promise,this.onRejected,e)},v.resolve=function(e,t){var n=u(s,t);if("error"===n.status)return v.reject(e,n.value);var r=n.value;if(r)c(e,r);else{e.state=m,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},v.reject=function(e,t){e.state=g,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},i.resolve=l,i.reject=f,i.all=d,i.race=p},function(e,t,n){var r;!function(i,o,a){function s(e,t,n){if(e.addEventListener)return void e.addEventListener(t,n,!1);e.attachEvent("on"+t,n)}function c(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return w[e.which]?w[e.which]:x[e.which]?x[e.which]:String.fromCharCode(e.which).toLowerCase()}function u(e,t){return e.sort().join(",")===t.sort().join(",")}function l(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}function f(e){if(e.preventDefault)return void e.preventDefault();e.returnValue=!1}function d(e){if(e.stopPropagation)return void e.stopPropagation();e.cancelBubble=!0}function p(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function h(){if(!A){A={};for(var e in w)e>95&&e<112||w.hasOwnProperty(e)&&(A[w[e]]=e)}return A}function v(e,t,n){return n||(n=h()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function g(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus"),e.split("+"))}function m(e,t){var n,r,i,o=[];for(n=g(e),i=0;i<n.length;++i)r=n[i],_[r]&&(r=_[r]),t&&"keypress"!=t&&E[r]&&(r=E[r],o.push("shift")),p(r)&&o.push(r);return t=v(r,o,t),{key:r,modifiers:o,action:t}}function y(e,t){return null!==e&&e!==o&&(e===t||y(e.parentNode,t))}function b(e){function t(e){e=e||{};var t,n=!1;for(t in A)e[t]?n=!0:A[t]=0;n||(E=!1)}function n(e,t,n,r,i,o){var a,s,c=[],l=n.type;if(!g._callbacks[e])return[];for("keyup"==l&&p(e)&&(t=[e]),a=0;a<g._callbacks[e].length;++a)if(s=g._callbacks[e][a],(r||!s.seq||A[s.seq]==s.level)&&l==s.action&&("keypress"==l&&!n.metaKey&&!n.ctrlKey||u(t,s.modifiers))){var f=!r&&s.combo==i,d=r&&s.seq==r&&s.level==o;(f||d)&&g._callbacks[e].splice(a,1),c.push(s)}return c}function r(e,t,n,r){g.stopCallback(t,t.target||t.srcElement,n,r)||!1===e(t,n)&&(f(t),d(t))}function i(e){"number"!=typeof e.which&&(e.which=e.keyCode);var t=c(e);if(t)return"keyup"==e.type&&w===t?void(w=!1):void g.handleKey(t,l(e),e)}function a(){clearTimeout(y),y=setTimeout(t,1e3)}function h(e,n,i,o){function s(n){r(i,n,e),"keyup"!==o&&(w=c(n)),setTimeout(t,10)}A[e]=0;for(var u=0;u<n.length;++u){var l=u+1===n.length,f=l?s:function(t){return function(){E=t,++A[e],a()}}(o||m(n[u+1]).action);v(n[u],f,o,e,u)}}function v(e,t,r,i,o){g._directMap[e+":"+r]=t,e=e.replace(/\s+/g," ");var a,s=e.split(" ");if(s.length>1)return void h(e,s,t,r);a=m(e,r),g._callbacks[a.key]=g._callbacks[a.key]||[],n(a.key,a.modifiers,{type:a.action},i,e,o),g._callbacks[a.key][i?"unshift":"push"]({callback:t,modifiers:a.modifiers,action:a.action,seq:i,level:o,combo:e})}var g=this;if(e=e||o,!(g instanceof b))return new b(e);g.target=e,g._callbacks={},g._directMap={};var y,A={},w=!1,x=!1,E=!1;g._handleKey=function(e,i,o){var a,s=n(e,i,o),c={},u=0,l=!1;for(a=0;a<s.length;++a)s[a].seq&&(u=Math.max(u,s[a].level));for(a=0;a<s.length;++a)if(s[a].seq){if(s[a].level!=u)continue;l=!0,c[s[a].seq]=1,r(s[a].callback,o,s[a].combo,s[a].seq)}else l||r(s[a].callback,o,s[a].combo);var f="keypress"==o.type&&x;o.type!=E||p(e)||f||t(c),x=l&&"keydown"==o.type},g._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)v(e[r],t,n)},s(e,"keypress",i),s(e,"keydown",i),s(e,"keyup",i)}if(i){for(var A,w={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},x={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},E={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},_={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},k=1;k<20;++k)w[111+k]="f"+k;for(k=0;k<=9;++k)w[k+96]=k.toString();b.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},b.prototype.unbind=function(e,t){var n=this;return n.bind.call(n,e,function(){},t)},b.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},b.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},b.prototype.stopCallback=function(e,t){var n=this;return!((" "+t.className+" ").indexOf(" mousetrap ")>-1)&&(!y(t,n.target)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable))},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(w[t]=e[t]);A=null},b.init=function(){var e=b(o);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),i.Mousetrap=b,void 0!==e&&e.exports&&(e.exports=b),void 0!==(r=function(){return b}.call(t,n,t,e))&&(e.exports=r)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},function(e,t){!function(e){var t=e.prototype.stopCallback;e.prototype.stopCallback=function(e,n,r){var i=this;return!!i.paused||t.call(i,e,n,r)},e.prototype.pause=function(){this.paused=!0},e.prototype.unpause=function(){this.paused=!1},e.init()}(Mousetrap)},function(e,t){function n(e){if(e=String(e),!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*c;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=u?Math.round(e/u)+"d":e>=c?Math.round(e/c)+"h":e>=s?Math.round(e/s)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function i(e){return o(e,u,"day")||o(e,c,"hour")||o(e,s,"minute")||o(e,a,"second")||e+" ms"}function o(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}var a=1e3,s=60*a,c=60*s,u=24*c,l=365.25*u;e.exports=function(e,t){t=t||{};var o=typeof e;if("string"===o&&e.length>0)return n(e);if("number"===o&&!1===isNaN(e))return t.long?i(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";(function(t){function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}function i(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer||"undefined"!=typeof Blob&&e instanceof Blob}function o(e){if("function"==typeof e.slice)return e.slice(0);var t=new ArrayBuffer(e.byteLength),n=new Uint8Array(t),r=new Uint8Array(e);return n.set(r),t}function a(e){if(e instanceof ArrayBuffer)return o(e);var t=e.size,n=e.type;return"function"==typeof e.slice?e.slice(0,t,n):e.webkitSlice(0,t,n)}function s(e){var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=t.constructor;return"function"==typeof n&&n instanceof n&&vi.call(n)==gi}function c(e){var t,n,r;if(!e||"object"!=typeof e)return e;if(Array.isArray(e)){for(t=[],n=0,r=e.length;n<r;n++)t[n]=c(e[n]);return t}if(e instanceof Date)return e.toISOString();if(i(e))return a(e);if(!s(e))return e;t={};for(n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=c(e[n]);void 0!==o&&(t[n]=o)}return t}function u(e){var t=!1;return si(function(n){if(t)throw new Error("once called more than once");t=!0,e.apply(this,n)})}function l(e){return si(function(t){t=c(t);var n=this,r="function"==typeof t[t.length-1]&&t.pop(),i=new hi(function(r,i){var o;try{var a=u(function(e,t){e?i(e):r(t)});t.push(a),o=e.apply(n,t),o&&"function"==typeof o.then&&r(o)}catch(e){i(e)}});return r&&i.then(function(e){r(null,e)},r),i})}function f(e,t,n){if(e.constructor.listeners("debug").length){for(var r=["api",e.name,t],i=0;i<n.length-1;i++)r.push(n[i]);e.constructor.emit("debug",r);var o=n[n.length-1];n[n.length-1]=function(n,r){var i=["api",e.name,t];i=i.concat(n?["error",n]:["success",r]),e.constructor.emit("debug",i),o(n,r)}}}function d(e,t){return l(si(function(n){if(this._closed)return hi.reject(new Error("database is closed"));if(this._destroyed)return hi.reject(new Error("database is destroyed"));var r=this;return f(r,e,n),this.taskqueue.isReady?t.apply(this,n):new hi(function(t,i){r.taskqueue.addTask(function(o){o?i(o):t(r[e].apply(r,n))})})}))}function p(e){return"$"+e}function h(e){return e.substring(1)}function v(){this._store={}}function g(e){if(this._store=new v,e&&Array.isArray(e))for(var t=0,n=e.length;t<n;t++)this.add(e[t])}function m(e,t){for(var n={},r=0,i=t.length;r<i;r++){var o=t[r];o in e&&(n[o]=e[o])}return n}function y(e){return e}function b(e){return[{ok:e}]}function A(e,t,n){function r(){var e=[];d.forEach(function(t){t.docs.forEach(function(n){e.push({id:t.id,docs:[n]})})}),n(null,{results:e})}function i(){++f===l&&r()}function o(e,t,n){d[e]={id:t,docs:n},i()}function a(){if(!(h>=p.length)){var e=Math.min(h+Ai,p.length),t=p.slice(h,e);s(t,h),h+=t.length}}function s(n,r){n.forEach(function(n,i){var s=r+i,c=u.get(n),l=m(c[0],["atts_since","attachments"]);l.open_revs=c.map(function(e){return e.rev}),l.open_revs=l.open_revs.filter(y);var f=y;0===l.open_revs.length&&(delete l.open_revs,f=b),["revs","attachments","binary","ajax","latest"].forEach(function(e){e in t&&(l[e]=t[e])}),e.get(n,l,function(e,t){var r;r=e?[{error:e}]:f(t),o(s,n,r),a()})})}var c=t.docs,u=new yi;c.forEach(function(e){u.has(e.id)?u.get(e.id).push(e):u.set(e.id,[e])});var l=u.size,f=0,d=new Array(l),p=[];u.forEach(function(e,t){p.push(t)});var h=0;a()}function w(){return"undefined"!=typeof chrome&&void 0!==chrome.storage&&void 0!==chrome.storage.local}function x(){return bi}function E(e){w()?chrome.storage.onChanged.addListener(function(t){null!=t.db_name&&e.emit(t.dbName.newValue)}):x()&&("undefined"!=typeof addEventListener?addEventListener("storage",function(t){e.emit(t.key)}):window.attachEvent("storage",function(t){e.emit(t.key)}))}function _(){ci.EventEmitter.call(this),this._listeners={},E(this)}function k(e){if("undefined"!==console&&e in console){var t=Array.prototype.slice.call(arguments,1);console[e].apply(console,t)}}function S(e,t){return e=parseInt(e,10)||0,t=parseInt(t,10),t!==t||t<=e?t=(e||1)<<1:t+=1,t>6e5&&(e=3e5,t=6e5),~~((t-e)*Math.random()+e)}function j(e){var t=0;return e||(t=2e3),S(e,t)}function R(e,t){k("info","The above "+e+" is totally normal. "+t)}function N(e,t,n){Error.call(this,n),this.status=e,this.name=t,this.message=n,this.error=!0}function I(e,t){function n(t){for(var n in e)"function"!=typeof e[n]&&(this[n]=e[n]);void 0!==t&&(this.reason=t)}return n.prototype=N.prototype,new n(t)}function T(e){if("object"!=typeof e){var t=e;e=Ni,e.data=t}return"error"in e&&"conflict"===e.error&&(e.name="conflict",e.status=409),"name"in e||(e.name=e.error||"unknown"),"status"in e||(e.status=500),"message"in e||(e.message=e.message||e.reason),e}function C(e,t,n){try{return!e(t,n)}catch(e){var r="Filter function threw: "+e.toString();return I(Di,r)}}function D(e){var t={},n=e.filter&&"function"==typeof e.filter;return t.query=e.query_params,function(r){r.doc||(r.doc={});var i=n&&C(e.filter,r.doc,t);if("object"==typeof i)return i;if(i)return!1;if(e.include_docs){if(!e.attachments)for(var o in r.doc._attachments)r.doc._attachments.hasOwnProperty(o)&&(r.doc._attachments[o].stub=!0)}else delete r.doc;return!0}}function O(e){for(var t=[],n=0,r=e.length;n<r;n++)t=t.concat(e[n]);return t}function U(){}function M(e){var t;if(e?"string"!=typeof e?t=I(Si):/^_/.test(e)&&!/^_(design|local)/.test(e)&&(t=I(Ri)):t=I(ji),t)throw t}function G(e){return"boolean"==typeof e._remote?e._remote:"function"==typeof e.type&&(k("warn","db.type() is deprecated and will be removed in a future version of PouchDB"),"http"===e.type())}function L(e,t){return"listenerCount"in e?e.listenerCount(t):ci.EventEmitter.listenerCount(e,t)}function B(e){if(!e)return null;var t=e.split("/");return 2===t.length?t:1===t.length?[e,e]:null}function Z(e){var t=B(e);return t?t.join("/"):null}function z(e){for(var t=Ji.exec(e),n={},r=14;r--;){var i=Zi[r],o=t[r]||"",a=-1!==["user","password"].indexOf(i);n[i]=a?decodeURIComponent(o):o}return n[zi]={},n[Zi[12]].replace(Pi,function(e,t,r){t&&(n[zi][t]=r)}),n}function P(e,t){var n=[],r=[];for(var i in t)t.hasOwnProperty(i)&&(n.push(i),r.push(t[i]));return n.push(e),Function.apply(null,n).apply(null,r)}function J(e,t,n){return new hi(function(r,i){e.get(t,function(o,a){if(o){if(404!==o.status)return i(o);a={}}var s=a._rev,c=n(a);if(!c)return r({updated:!1,rev:s});c._id=t,c._rev=s,r(W(e,c,n))})})}function W(e,t,n){return e.put(t).then(function(e){return{updated:!0,rev:e.rev}},function(r){if(409!==r.status)throw r;return J(e,t._id,n)})}function q(e){return 0|Math.random()*e}function F(e,t){t=t||Wi.length;var n="",r=-1;if(e){for(;++r<e;)n+=Wi[q(t)];return n}for(;++r<36;)switch(r){case 8:case 13:case 18:case 23:n+="-";break;case 19:n+=Wi[3&q(16)|8];break;default:n+=Wi[q(16)]}return n}function Y(e){for(var t,n,r,i,o=e.rev_tree.slice();i=o.pop();){var a=i.ids,s=a[2],c=i.pos;if(s.length)for(var u=0,l=s.length;u<l;u++)o.push({pos:c+1,ids:s[u]});else{var f=!!a[1].deleted,d=a[0];t&&!(r!==f?r:n!==c?n<c:t<d)||(t=d,n=c,r=f)}}return n+"-"+t}function V(e,t){for(var n,r=e.slice();n=r.pop();)for(var i=n.pos,o=n.ids,a=o[2],s=t(0===a.length,i,o[0],n.ctx,o[1]),c=0,u=a.length;c<u;c++)r.push({pos:i+1,ids:a[c],ctx:s})}function Q(e,t){return e.pos-t.pos}function X(e){var t=[];V(e,function(e,n,r,i,o){e&&t.push({rev:n+"-"+r,pos:n,opts:o})}),t.sort(Q).reverse();for(var n=0,r=t.length;n<r;n++)delete t[n].pos;return t}function H(e){for(var t=Y(e),n=X(e.rev_tree),r=[],i=0,o=n.length;i<o;i++){var a=n[i];a.rev===t||a.opts.deleted||r.push(a.rev)}return r}function K(e){var t=[];return V(e.rev_tree,function(e,n,r,i,o){"available"!==o.status||e||(t.push(n+"-"+r),o.status="missing")}),t}function $(e){for(var t,n=[],r=e.slice();t=r.pop();){var i=t.pos,o=t.ids,a=o[0],s=o[1],c=o[2],u=0===c.length,l=t.history?t.history.slice():[];l.push({id:a,opts:s}),u&&n.push({pos:i+1-l.length,ids:l});for(var f=0,d=c.length;f<d;f++)r.push({pos:i+1,ids:c[f],history:l})}return n.reverse()}function ee(e,t){return e.pos-t.pos}function te(e,t,n){for(var r,i=0,o=e.length;i<o;)r=i+o>>>1,n(e[r],t)<0?i=r+1:o=r;return i}function ne(e,t,n){var r=te(e,t,n);e.splice(r,0,t)}function re(e,t){for(var n,r,i=t,o=e.length;i<o;i++){var a=e[i],s=[a.id,a.opts,[]];r?(r[2].push(s),r=s):n=r=s}return n}function ie(e,t){return e[0]<t[0]?-1:1}function oe(e,t){for(var n=[{tree1:e,tree2:t}],r=!1;n.length>0;){var i=n.pop(),o=i.tree1,a=i.tree2;(o[1].status||a[1].status)&&(o[1].status="available"===o[1].status||"available"===a[1].status?"available":"missing");for(var s=0;s<a[2].length;s++)if(o[2][0]){for(var c=!1,u=0;u<o[2].length;u++)o[2][u][0]===a[2][s][0]&&(n.push({tree1:o[2][u],tree2:a[2][s]}),c=!0);c||(r="new_branch",ne(o[2],a[2][s],ie))}else r="new_leaf",o[2][0]=a[2][s]}return{conflicts:r,tree:e}}function ae(e,t,n){var r,i=[],o=!1,a=!1;if(!e.length)return{tree:[t],conflicts:"new_leaf"};for(var s=0,c=e.length;s<c;s++){var u=e[s];if(u.pos===t.pos&&u.ids[0]===t.ids[0])r=oe(u.ids,t.ids),i.push({pos:u.pos,ids:r.tree}),o=o||r.conflicts,a=!0;else if(!0!==n){var l=u.pos<t.pos?u:t,f=u.pos<t.pos?t:u,d=f.pos-l.pos,p=[],h=[];for(h.push({ids:l.ids,diff:d,parent:null,parentIdx:null});h.length>0;){var v=h.pop();if(0!==v.diff)for(var g=v.ids[2],m=0,y=g.length;m<y;m++)h.push({ids:g[m],diff:v.diff-1,parent:v.ids,parentIdx:m});else v.ids[0]===f.ids[0]&&p.push(v)}var b=p[0];b?(r=oe(b.ids,f.ids),b.parent[2][b.parentIdx]=r.tree,i.push({pos:l.pos,ids:l.ids}),o=o||r.conflicts,a=!0):i.push(u)}else i.push(u)}return a||i.push(t),i.sort(ee),{tree:i,conflicts:o||"internal_node"}}function se(e,t){for(var n,r,i=$(e),o=0,a=i.length;o<a;o++){var s,c=i[o],u=c.ids;if(u.length>t){n||(n={});var l=u.length-t;s={pos:c.pos+l,ids:re(u,l)};for(var f=0;f<l;f++){var d=c.pos+f+"-"+u[f].id;n[d]=!0}}else s={pos:c.pos,ids:re(u,0)};r=r?ae(r,s,!0).tree:[s]}return n&&V(r,function(e,t,r){delete n[t+"-"+r]}),{tree:r,revs:n?Object.keys(n):[]}}function ce(e,t,n){var r=ae(e,t),i=se(r.tree,n);return{tree:i.tree,stemmedRevs:i.revs,conflicts:r.conflicts}}function ue(e,t){for(var n,r=e.slice(),i=t.split("-"),o=parseInt(i[0],10),a=i[1];n=r.pop();){if(n.pos===o&&n.ids[0]===a)return!0;for(var s=n.ids[2],c=0,u=s.length;c<u;c++)r.push({pos:n.pos+1,ids:s[c]})}return!1}function le(e){return e.ids}function fe(e,t){t||(t=Y(e));for(var n,r=t.substring(t.indexOf("-")+1),i=e.rev_tree.map(le);n=i.pop();){if(n[0]===r)return!!n[1].deleted;i=i.concat(n[2])}}function de(e){return/^_local/.test(e)}function pe(e,t){for(var n,r=t.rev_tree.slice();n=r.pop();){var i=n.pos,o=n.ids,a=o[0],s=o[1],c=o[2],u=0===c.length,l=n.history?n.history.slice():[];if(l.push({id:a,pos:i,opts:s}),u)for(var f=0,d=l.length;f<d;f++){var p=l[f],h=p.pos+"-"+p.id;if(h===e)return i+"-"+a}for(var v=0,g=c.length;v<g;v++)r.push({pos:i+1,ids:c[v],history:l})}throw new Error("Unable to resolve latest revision for id "+t.id+", rev "+e)}function he(e,t){try{e.emit("change",t)}catch(e){k("error",'Error in .on("change", function):',e)}}function ve(e,t,n){function r(){i.cancel()}ci.EventEmitter.call(this);var i=this;this.db=e,t=t?c(t):{};var o=t.complete=u(function(t,n){t?L(i,"error")>0&&i.emit("error",t):i.emit("complete",n),i.removeAllListeners(),e.removeListener("destroyed",r)});n&&(i.on("complete",function(e){n(null,e)}),i.on("error",n)),e.once("destroyed",r),t.onChange=function(e){i.isCancelled||he(i,e)};var a=new hi(function(e,n){t.complete=function(t,r){t?n(t):e(r)}});i.once("cancel",function(){e.removeListener("destroyed",r),t.complete(null,{status:"cancelled"})}),this.then=a.then.bind(a),this.catch=a.catch.bind(a),this.then(function(e){o(null,e)},o),e.taskqueue.isReady?i.validateChanges(t):e.taskqueue.addTask(function(e){e?t.complete(e):i.isCancelled?i.emit("cancel"):i.validateChanges(t)})}function ge(e,t,n){var r=[{rev:e._rev}];"all_docs"===n.style&&(r=X(t.rev_tree).map(function(e){return{rev:e.rev}}));var i={id:t.id,changes:r,doc:e};return fe(t,e._rev)&&(i.deleted=!0),n.conflicts&&(i.doc._conflicts=H(t),i.doc._conflicts.length||delete i.doc._conflicts),i}function me(e,t){return e<t?-1:e>t?1:0}function ye(e){return function(t,n){t||n[0]&&n[0].error?e(t||n[0]):e(null,n.length?n[0]:n)}}function be(e){for(var t=0;t<e.length;t++){var n=e[t];if(n._deleted)delete n._attachments;else if(n._attachments)for(var r=Object.keys(n._attachments),i=0;i<r.length;i++){var o=r[i];n._attachments[o]=m(n._attachments[o],["data","digest","content_type","length","revpos","stub"])}}}function Ae(e,t){var n=me(e._id,t._id);return 0!==n?n:me(e._revisions?e._revisions.start:0,t._revisions?t._revisions.start:0)}function we(e){var t={},n=[];return V(e,function(e,r,i,o){var a=r+"-"+i;return e&&(t[a]=0),void 0!==o&&n.push({from:o,to:a}),a}),n.reverse(),n.forEach(function(e){void 0===t[e.from]?t[e.from]=1+t[e.to]:t[e.from]=Math.min(t[e.from],1+t[e.to])}),t}function xe(e,t,n){var r="limit"in t?t.keys.slice(t.skip,t.limit+t.skip):t.skip>0?t.keys.slice(t.skip):t.keys;if(t.descending&&r.reverse(),!r.length)return e._allDocs({limit:0},n);var i={offset:t.skip};return hi.all(r.map(function(n){var r=xi({key:n,deleted:"ok"},t);return["limit","skip","keys"].forEach(function(e){delete r[e]}),new hi(function(t,o){e._allDocs(r,function(e,r){if(e)return o(e);i.total_rows=r.total_rows,t(r.rows[0]||{key:n,error:"not_found"})})})})).then(function(e){return i.rows=e,i})}function Ee(e){var t=e._compactionQueue[0],n=t.opts,r=t.callback;e.get("_local/compaction").catch(function(){return!1}).then(function(t){t&&t.last_seq&&(n.last_seq=t.last_seq),e._compact(n,function(t,n){t?r(t):r(null,n),li(function(){e._compactionQueue.shift(),e._compactionQueue.length&&Ee(e)})})})}function _e(e){return"_"===e.charAt(0)&&e+" is not a valid attachment name, attachment names cannot start with '_'"}function ke(){ci.EventEmitter.call(this)}function Se(){this.isReady=!1,this.failed=!1,this.queue=[]}function je(e,t){var n=e.match(/([a-z\-]*):\/\/(.*)/);if(n)return{name:/https?/.test(n[1])?n[1]+"://"+n[2]:n[2],adapter:n[1]};var r=Ne.adapters,i=Ne.preferredAdapters,o=Ne.prefix,a=t.adapter;if(!a)for(var s=0;s<i.length;++s){a=i[s];{if(!("idb"===a&&"websql"in r&&x()&&localStorage["_pouch__websqldb_"+o+e]))break;k("log",'PouchDB is downgrading "'+e+'" to WebSQL to avoid data loss, because it was already opened with WebSQL.')}}var c=r[a];return{name:c&&"use_prefix"in c&&!c.use_prefix?e:o+e,adapter:a}}function Re(e){function t(){e.removeListener("closed",r),e.constructor.emit("destroyed",e.name)}function n(){e.removeListener("destroyed",t),e.removeListener("closed",r),e.emit("destroyed")}function r(){e.removeListener("destroyed",t),i.delete(e.name)}var i=e.constructor._destructionListeners;e.once("destroyed",t),e.once("closed",r),i.has(e.name)||i.set(e.name,[]),i.get(e.name).push(n)}function Ne(e,t){if(!(this instanceof Ne))return new Ne(e,t);var n=this;if(t=t||{},e&&"object"==typeof e&&(t=e,e=t.name,delete t.name),this.__opts=t=c(t),n.auto_compaction=t.auto_compaction,n.prefix=Ne.prefix,"string"!=typeof e)throw new Error("Missing/invalid DB name");var r=(t.prefix||"")+e,i=je(r,t);if(t.name=i.name,t.adapter=t.adapter||i.adapter,n.name=e,n._adapter=t.adapter,Ne.emit("debug",["adapter","Picked adapter: ",t.adapter]),!Ne.adapters[t.adapter]||!Ne.adapters[t.adapter].valid())throw new Error("Invalid Adapter: "+t.adapter);ke.call(n),n.taskqueue=new Se,n.adapter=t.adapter,Ne.adapters[t.adapter].call(n,t,function(e){if(e)return n.taskqueue.fail(e);Re(n),n.emit("created",n),Ne.emit("created",n.name),n.taskqueue.ready(n)})}function Ie(e){e.debug=fi;var t={};e.on("debug",function(e){var n=e[0],r=e.slice(1);t[n]||(t[n]=fi("pouchdb:"+n)),t[n].apply(null,r)})}function Te(e,t){for(var n=e,r=0,i=t.length;r<i;r++){if(!(n=n[t[r]]))break}return n}function Ce(e,t){return e<t?-1:e>t?1:0}function De(e){for(var t=[],n="",r=0,i=e.length;r<i;r++){var o=e[r];"."===o?r>0&&"\\"===e[r-1]?n=n.substring(0,n.length-1)+".":(t.push(n),n=""):n+=o}return t.push(n),t}function Oe(e){return Fi.indexOf(e)>-1}function Ue(e){return Object.keys(e)[0]}function Me(e){return e[Ue(e)]}function Ge(e){var t={};return e.forEach(function(e){Object.keys(e).forEach(function(n){var r=e[n];if("object"!=typeof r&&(r={$eq:r}),Oe(n))r instanceof Array?t[n]=r.map(function(e){return Ge([e])}):t[n]=Ge([r]);else{var i=t[n]=t[n]||{};Object.keys(r).forEach(function(e){var t=r[e];return"$gt"===e||"$gte"===e?Le(e,t,i):"$lt"===e||"$lte"===e?Be(e,t,i):"$ne"===e?Ze(t,i):"$eq"===e?ze(t,i):void(i[e]=t)})}})}),t}function Le(e,t,n){void 0===n.$eq&&(void 0!==n.$gte?"$gte"===e?t>n.$gte&&(n.$gte=t):t>=n.$gte&&(delete n.$gte,n.$gt=t):void 0!==n.$gt?"$gte"===e?t>n.$gt&&(delete n.$gt,n.$gte=t):t>n.$gt&&(n.$gt=t):n[e]=t)}function Be(e,t,n){void 0===n.$eq&&(void 0!==n.$lte?"$lte"===e?t<n.$lte&&(n.$lte=t):t<=n.$lte&&(delete n.$lte,n.$lt=t):void 0!==n.$lt?"$lte"===e?t<n.$lt&&(delete n.$lt,n.$lte=t):t<n.$lt&&(n.$lt=t):n[e]=t)}function Ze(e,t){"$ne"in t?t.$ne.push(e):t.$ne=[e]}function ze(e,t){delete t.$gt,delete t.$gte,delete t.$lt,delete t.$lte,delete t.$ne,t.$eq=e}function Pe(e){var t=c(e),n=!1;"$and"in t&&(t=Ge(t.$and),n=!0),["$or","$nor"].forEach(function(e){e in t&&t[e].forEach(function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n],i=e[r];"object"==typeof i&&null!==i||(e[r]={$eq:i})}})}),"$not"in t&&(t.$not=Ge([t.$not]));for(var r=Object.keys(t),i=0;i<r.length;i++){var o=r[i],a=t[o];"object"!=typeof a||null===a?a={$eq:a}:"$ne"in a&&!n&&(a.$ne=[a.$ne]),t[o]=a}return t}function Je(e,t,n){for(var r="",i=n-e.length;r.length<i;)r+=t;return r}function We(e,t,n){return Je(e,t,n)+e}function qe(e,t){if(e===t)return 0;e=Fe(e),t=Fe(t);var n=tt(e),r=tt(t);if(n-r!=0)return n-r;switch(typeof e){case"number":return e-t;case"boolean":return e<t?-1:1;case"string":return $e(e,t)}return Array.isArray(e)?Ke(e,t):et(e,t)}function Fe(e){switch(typeof e){case"undefined":return null;case"number":return e===1/0||e===-1/0||isNaN(e)?null:e;case"object":var t=e;if(Array.isArray(e)){var n=e.length;e=new Array(n);for(var r=0;r<n;r++)e[r]=Fe(t[r])}else{if(e instanceof Date)return e.toJSON();if(null!==e){e={};for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];void 0!==o&&(e[i]=Fe(o))}}}}return e}function Ye(e){if(null!==e)switch(typeof e){case"boolean":return e?1:0;case"number":return nt(e);case"string":return e.replace(/\u0002/g,"").replace(/\u0001/g,"").replace(/\u0000/g,"");case"object":var t=Array.isArray(e),n=t?e:Object.keys(e),r=-1,i=n.length,o="";if(t)for(;++r<i;)o+=Ve(n[r]);else for(;++r<i;){var a=n[r];o+=Ve(a)+Ve(e[a])}return o}return""}function Ve(e){return e=Fe(e),tt(e)+Qi+Ye(e)+"\0"}function Qe(e,t){var n,r=t;if("1"===e[t])n=0,t++;else{var i="0"===e[t];t++;var o="",a=e.substring(t,t+Vi),s=parseInt(a,10)+Yi;for(i&&(s=-s),t+=Vi;;){var c=e[t];if("\0"===c)break;o+=c,t++}o=o.split("."),n=1===o.length?parseInt(o,10):parseFloat(o[0]+"."+o[1]),i&&(n-=10),0!==s&&(n=parseFloat(n+"e"+s))}return{num:n,length:t-r}}function Xe(e,t){var n=e.pop();if(t.length){var r=t[t.length-1];n===r.element&&(t.pop(),r=t[t.length-1]);var i=r.element,o=r.index;if(Array.isArray(i))i.push(n);else if(o===e.length-2){var a=e.pop();i[a]=n}else e.push(n)}}function He(e){for(var t=[],n=[],r=0;;){var i=e[r++];if("\0"!==i)switch(i){case"1":t.push(null);break;case"2":t.push("1"===e[r]),r++;break;case"3":var o=Qe(e,r);t.push(o.num),r+=o.length;break;case"4":for(var a="";;){var s=e[r];if("\0"===s)break;a+=s,r++}a=a.replace(/\u0001\u0001/g,"\0").replace(/\u0001\u0002/g,"").replace(/\u0002\u0002/g,""),t.push(a);break;case"5":var c={element:[],index:t.length};t.push(c.element),n.push(c);break;case"6":var u={element:{},index:t.length};t.push(u.element),n.push(u);break;default:throw new Error("bad collationIndex or unexpectedly reached end of input: "+i)}else{if(1===t.length)return t.pop();Xe(t,n)}}}function Ke(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){var i=qe(e[r],t[r]);if(0!==i)return i}return e.length===t.length?0:e.length>t.length?1:-1}function $e(e,t){return e===t?0:e>t?1:-1}function et(e,t){for(var n=Object.keys(e),r=Object.keys(t),i=Math.min(n.length,r.length),o=0;o<i;o++){var a=qe(n[o],r[o]);if(0!==a)return a;if(0!==(a=qe(e[n[o]],t[r[o]])))return a}return n.length===r.length?0:n.length>r.length?1:-1}function tt(e){var t=["boolean","number","string","object"],n=t.indexOf(typeof e);return~n?null===e?1:Array.isArray(e)?5:n<3?n+2:n+3:Array.isArray(e)?5:void 0}function nt(e){if(0===e)return"1";var t=e.toExponential().split(/e\+?/),n=parseInt(t[1],10),r=e<0,i=r?"0":"2",o=(r?-n:n)-Yi,a=We(o.toString(),"0",Vi);i+=Qi+a;var s=Math.abs(parseFloat(t[0]));r&&(s=10-s);var c=s.toFixed(20);return c=c.replace(/\.?0+$/,""),i+=Qi+c}function rt(e){function t(t){return e.map(function(e){var n=Ue(e),r=De(n);return Te(t,r)})}return function(e,n){var r=t(e.doc),i=t(n.doc),o=qe(r,i);return 0!==o?o:Ce(e.doc._id,n.doc._id)}}function it(e,t,n){if(e=e.filter(function(e){return ot(e.doc,t.selector,n)}),t.sort){var r=rt(t.sort);e=e.sort(r),"string"!=typeof t.sort[0]&&"desc"===Me(t.sort[0])&&(e=e.reverse())}if("limit"in t||"skip"in t){var i=t.skip||0,o=("limit"in t?t.limit:e.length)+i;e=e.slice(i,o)}return e}function ot(e,t,n){return n.every(function(n){if(at(e))return!1;var r=t[n],i=De(n),o=Te(e,i);return Oe(n)?ct(n,r,e):st(r,e,i,o)})}function at(e){return/^_design\//.test(e._id)}function st(e,t,n,r){return!e||Object.keys(e).every(function(i){var o=e[i];return ut(i,t,o,n,r)})}function ct(e,t,n){return"$or"===e?t.some(function(e){return ot(n,e,Object.keys(e))}):"$not"===e?!ot(n,t,Object.keys(t)):!t.find(function(e){return ot(n,e,Object.keys(e))})}function ut(e,t,n,r,i){if(!Xi[e])throw new Error('unknown operator "'+e+'" - should be one of $eq, $lte, $lt, $gt, $gte, $exists, $ne, $in, $nin, $size, $mod, $regex, $elemMatch, $type or $all');return Xi[e](t,n,r,i)}function lt(e){return void 0!==e&&null!==e}function ft(e){return void 0!==e}function dt(e,t){var n=t[0],r=t[1];if(0===n)throw new Error("Bad divisor, cannot divide by zero");if(parseInt(n,10)!==n)throw new Error("Divisor is not an integer");if(parseInt(r,10)!==r)throw new Error("Modulus is not an integer");return parseInt(e,10)===e&&e%n===r}function pt(e,t){return t.some(function(t){return e instanceof Array?e.indexOf(t)>-1:e===t})}function ht(e,t){return t.every(function(t){return e.indexOf(t)>-1})}function vt(e,t){return e.length===t}function gt(e,t){return new RegExp(t).test(e)}function mt(e,t){switch(t){case"null":return null===e;case"boolean":return"boolean"==typeof e;case"number":return"number"==typeof e;case"string":return"string"==typeof e;case"array":return e instanceof Array;case"object":return"[object Object]"==={}.toString.call(e)}throw new Error(t+" not supported as a type.Please use one of object, string, array, number, boolean or null.")}function yt(e,t){if("object"!=typeof t)throw"Selector error: expected a JSON object";t=Pe(t);var n={doc:e},r=it([n],{selector:t},Object.keys(t));return r&&1===r.length}function bt(e){return P('"use strict";\nreturn '+e+";",{})}function At(e){return P(["return function(doc) {",' "use strict";'," var emitted = false;"," var emit = function (a, b) {"," emitted = true;"," };"," var view = "+e+";"," view(doc);"," if (emitted) {"," return true;"," }","};"].join("\n"),{})}function wt(e,t){if(e.selector&&e.filter&&"_selector"!==e.filter){var n="string"==typeof e.filter?e.filter:"function";return t(new Error('selector invalid for filter "'+n+'"'))}t()}function xt(e){e.view&&!e.filter&&(e.filter="_view"),e.selector&&!e.filter&&(e.filter="_selector"),e.filter&&"string"==typeof e.filter&&("_view"===e.filter?e.view=Z(e.view):e.filter=Z(e.filter))}function Et(e,t){return t.filter&&"string"==typeof t.filter&&!t.doc_ids&&!G(e.db)}function _t(e,t){var n=t.complete;if("_view"===t.filter){if(!t.view||"string"!=typeof t.view){var r=I(Di,"`view` filter parameter not found or invalid.");return n(r)}var i=B(t.view);e.db.get("_design/"+i[0],function(r,o){if(e.isCancelled)return n(null,{status:"cancelled"});if(r)return n(T(r));var a=o&&o.views&&o.views[i[1]]&&o.views[i[1]].map;if(!a)return n(I(_i,o.views?"missing json key: "+i[1]:"missing json key: views"));t.filter=At(a),e.doChanges(t)})}else if(t.selector)t.filter=function(e){return yt(e,t.selector)},e.doChanges(t);else{var o=B(t.filter);e.db.get("_design/"+o[0],function(r,i){if(e.isCancelled)return n(null,{status:"cancelled"});if(r)return n(T(r));var a=i&&i.filters&&i.filters[o[1]];if(!a)return n(I(_i,i&&i.filters?"missing json key: "+o[1]:"missing json key: filters"));t.filter=bt(a),e.doChanges(t)})}}function kt(e){e._changesFilterPlugin={validate:wt,normalize:xt,shouldFilter:Et,filter:_t}}function St(e){return e.reduce(function(e,t){return e[t]=!0,e},{})}function jt(e){if(!/^\d+\-./.test(e))return I(Gi);var t=e.indexOf("-"),n=e.substring(0,t),r=e.substring(t+1);return{prefix:parseInt(n,10),id:r}}function Rt(e,t){for(var n=e.start-e.ids.length+1,r=e.ids,i=[r[0],t,[]],o=1,a=r.length;o<a;o++)i=[r[o],{status:"missing"},[i]];return[{pos:n,ids:i}]}function Nt(e,t){var n,r,i,o={status:"available"};if(e._deleted&&(o.deleted=!0),t)if(e._id||(e._id=F()),r=F(32,16).toLowerCase(),e._rev){if(i=jt(e._rev),i.error)return i;e._rev_tree=[{pos:i.prefix,ids:[i.id,{status:"missing"},[[r,o,[]]]]}],n=i.prefix+1}else e._rev_tree=[{pos:1,ids:[r,o,[]]}],n=1;else if(e._revisions&&(e._rev_tree=Rt(e._revisions,o),n=e._revisions.start,r=e._revisions.ids[0]),!e._rev_tree){if(i=jt(e._rev),i.error)return i;n=i.prefix,r=i.id,e._rev_tree=[{pos:n,ids:[r,o,[]]}]}M(e._id),e._rev=n+"-"+r;var a={metadata:{},data:{}};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var c="_"===s[0];if(c&&!Ki[s]){var u=I(Ci,s);throw u.message=Ci.message+": "+s,u}c&&!$i[s]?a.metadata[s.slice(1)]=e[s]:a.data[s]=e[s]}return a}function It(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(o){if("TypeError"!==o.name)throw o;for(var n="undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder,r=new n,i=0;i<e.length;i+=1)r.append(e[i]);return r.getBlob(t.type)}}function Tt(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i<t;i++)r[i]=e.charCodeAt(i);return n}function Ct(e,t){return It([Tt(e)],{type:t})}function Dt(e,t){return Ct(eo(e),t)}function Ot(e){for(var t="",n=new Uint8Array(e),r=n.byteLength,i=0;i<r;i++)t+=String.fromCharCode(n[i]);return t}function Ut(e,t){if("undefined"==typeof FileReader)return t(Ot((new FileReaderSync).readAsArrayBuffer(e)));var n=new FileReader,r="function"==typeof n.readAsBinaryString;n.onloadend=function(e){var n=e.target.result||"";if(r)return t(n);t(Ot(n))},r?n.readAsBinaryString(e):n.readAsArrayBuffer(e)}function Mt(e,t){Ut(e,function(e){t(e)})}function Gt(e,t){Mt(e,function(e){t(to(e))})}function Lt(e,t){if("undefined"==typeof FileReader)return t((new FileReaderSync).readAsArrayBuffer(e));var n=new FileReader;n.onloadend=function(e){var n=e.target.result||new ArrayBuffer(0);t(n)},n.readAsArrayBuffer(e)}function Bt(e){return to(e)}function Zt(e,t,n){return e.webkitSlice?e.webkitSlice(t,n):e.slice(t,n)}function zt(e,t,n,r,i){(n>0||r<t.size)&&(t=Zt(t,n,r)),Lt(t,function(t){e.append(t),i()})}function Pt(e,t,n,r,i){(n>0||r<t.length)&&(t=t.substring(n,r)),e.appendBinary(t),i()}function Jt(e,t){function n(){no(i)}function r(){var e=l.end(!0),n=Bt(e);t(n),l.destroy()}function i(){var t=u*s,i=t+s;u++,u<c?f(l,e,t,i,n):f(l,e,t,i,r)}var o="string"==typeof e,a=o?e.length:e.size,s=Math.min(ro,a),c=Math.ceil(a/s),u=0,l=o?new di:new di.ArrayBuffer,f=o?Pt:zt;i()}function Wt(e){return di.hash(e)}function qt(e){try{return eo(e)}catch(e){var t=I(Ii,"Attachment is not a valid base64 string");return{error:t}}}function Ft(e,t,n){var r=qt(e.data);if(r.error)return n(r.error);e.length=r.length,e.data="blob"===t?Ct(r,e.content_type):"base64"===t?to(r):r,Jt(r,function(t){e.digest="md5-"+t,n()})}function Yt(e,t,n){Jt(e.data,function(r){e.digest="md5-"+r,e.length=e.data.size||e.data.length||0,"binary"===t?Mt(e.data,function(t){e.data=t,n()}):"base64"===t?Gt(e.data,function(t){e.data=t,n()}):n()})}function Vt(e,t,n){if(e.stub)return n();"string"==typeof e.data?Ft(e,t,n):Yt(e,t,n)}function Qt(e,t,n){function r(){o++,e.length===o&&(i?n(i):n())}if(!e.length)return n();var i,o=0;e.forEach(function(e){function n(e){i=e,++a===o.length&&r()}var o=e.data&&e.data._attachments?Object.keys(e.data._attachments):[],a=0;if(!o.length)return r();for(var s in e.data._attachments)e.data._attachments.hasOwnProperty(s)&&Vt(e.data._attachments[s],t,n)})}function Xt(e,t,n,r,i,o,a,s){if(ue(t.rev_tree,n.metadata.rev))return r[i]=n,o();var c=t.winningRev||Y(t),u="deleted"in t?t.deleted:fe(t,c),l="deleted"in n.metadata?n.metadata.deleted:fe(n.metadata),f=/^1-/.test(n.metadata.rev);if(u&&!l&&s&&f){var d=n.data;d._rev=c,d._id=n.metadata.id,n=Nt(d,s)}var p=ce(t.rev_tree,n.metadata.rev_tree[0],e);if(s&&(u&&l&&"new_leaf"!==p.conflicts||!u&&"new_leaf"!==p.conflicts||u&&!l&&"new_branch"===p.conflicts)){var h=I(ki);return r[i]=h,o()}var v=n.metadata.rev;n.metadata.rev_tree=p.tree,n.stemmedRevs=p.stemmedRevs||[],t.rev_map&&(n.metadata.rev_map=t.rev_map);var g,m=Y(n.metadata),y=fe(n.metadata,m),b=u===y?0:u<y?-1:1;g=v===m?y:fe(n.metadata,v),a(n,m,y,g,!0,b,i,o)}function Ht(e){return"missing"===e.metadata.rev_tree[0].ids[1].status}function Kt(e,t,n,r,i,o,a,s,c){function u(e,t,n){var r=Y(e.metadata),i=fe(e.metadata,r);if("was_delete"in s&&i)return o[t]=I(_i,"deleted"),n();if(f&&Ht(e)){var c=I(ki);return o[t]=c,n()}a(e,r,i,i,!1,i?0:1,t,n)}function l(){++p===h&&c&&c()}e=e||1e3;var f=s.new_edits,d=new yi,p=0,h=t.length;t.forEach(function(e,t){if(e._id&&de(e._id)){var r=e._deleted?"_removeLocal":"_putLocal";return void n[r](e,{ctx:i},function(e,n){o[t]=e||n,l()})}var a=e.metadata.id;d.has(a)?(h--,d.get(a).push([e,t])):d.set(a,[[e,t]])}),d.forEach(function(t,n){function i(){++c<t.length?s():l()}function s(){var s=t[c],l=s[0],d=s[1];if(r.has(n))Xt(e,r.get(n),l,o,d,i,a,f);else{var p=ce([],l.metadata.rev_tree[0],e);l.metadata.rev_tree=p.tree,l.stemmedRevs=p.stemmedRevs||[],u(l,d,i)}}var c=0;s()})}function $t(e){try{return JSON.parse(e)}catch(t){return pi.parse(e)}}function en(e){try{return JSON.stringify(e)}catch(t){return pi.stringify(e)}}function tn(e){return function(t){var n="unknown_error";t.target&&t.target.error&&(n=t.target.error.name||t.target.error.message),e(I(Ui,n,t.type))}}function nn(e,t,n){return{data:en(e),winningRev:t,deletedOrLocal:n?"1":"0",seq:e.seq,id:e.id}}function rn(e){if(!e)return null;var t=$t(e.data);return t.winningRev=e.winningRev,t.deleted="1"===e.deletedOrLocal,t.seq=e.seq,t}function on(e){if(!e)return e;var t=e._doc_id_rev.lastIndexOf(":");return e._id=e._doc_id_rev.substring(0,t-1),e._rev=e._doc_id_rev.substring(t+1),delete e._doc_id_rev,e}function an(e,t,n,r){n?r(e?"string"!=typeof e?e:Dt(e,t):It([""],{type:t})):e?"string"!=typeof e?Ut(e,function(e){r(to(e))}):r(e):r("")}function sn(e,t,n,r){function i(){++s===a.length&&r&&r()}function o(e,t){var r=e._attachments[t],o=r.digest;n.objectStore(so).get(o).onsuccess=function(e){r.body=e.target.result.body,i()}}var a=Object.keys(e._attachments||{});if(!a.length)return r&&r();var s=0;a.forEach(function(n){t.attachments&&t.include_docs?o(e,n):(e._attachments[n].stub=!0,i())})}function cn(e,t){return hi.all(e.map(function(e){if(e.doc&&e.doc._attachments){var n=Object.keys(e.doc._attachments);return hi.all(n.map(function(n){var r=e.doc._attachments[n];if("body"in r){var i=r.body,o=r.content_type;return new hi(function(a){an(i,o,t,function(t){e.doc._attachments[n]=xi(m(r,["digest","content_type"]),{data:t}),a()})})}}))}}))}function un(e,t,n){function r(){--u||i()}function i(){o.length&&o.forEach(function(e){c.index("digestSeq").count(IDBKeyRange.bound(e+"::",e+"::",!1,!1)).onsuccess=function(t){t.target.result||s.delete(e)}})}var o=[],a=n.objectStore(ao),s=n.objectStore(so),c=n.objectStore(co),u=e.length;e.forEach(function(e){var n=a.index("_doc_id_rev"),i=t+"::"+e;n.getKey(i).onsuccess=function(e){var t=e.target.result;if("number"!=typeof t)return r();a.delete(t),c.index("seq").openCursor(IDBKeyRange.only(t)).onsuccess=function(e){var t=e.target.result;if(t){var n=t.value.digestSeq.split("::")[0];o.push(n),c.delete(t.primaryKey),t.continue()}else r()}}})}function ln(e,t,n){try{return{txn:e.transaction(t,n)}}catch(e){return{error:e}}}function fn(e,t,n,r,i,o){function a(){var e=[oo,ao,so,lo,co,uo],t=ln(i,e,"readwrite");if(t.error)return o(t.error);b=t.txn,b.onabort=tn(o),b.ontimeout=tn(o),b.oncomplete=f,A=b.objectStore(oo),w=b.objectStore(ao),x=b.objectStore(so),E=b.objectStore(co),_=b.objectStore(uo),_.get(uo).onsuccess=function(e){S=e.target.result,u()},p(function(e){if(e)return M=!0,o(e);l()})}function s(){C=!0,u()}function c(){Kt(e.revs_limit,j,r,U,b,O,h,n,s)}function u(){S&&C&&(S.docCount+=D,_.put(S))}function l(){function e(){++n===j.length&&c()}function t(t){var n=rn(t.target.result);n&&U.set(n.id,n),e()}if(j.length)for(var n=0,r=0,i=j.length;r<i;r++){var o=j[r];if(o._id&&de(o._id))e();else{var a=A.get(o.metadata.id);a.onsuccess=t}}}function f(){M||(po.notify(r._meta.name),o(null,O))}function d(e,t){x.get(e).onsuccess=function(n){if(n.target.result)t();else{var r=I(Li,"unknown stub attachment with digest "+e);r.status=412,t(r)}}}function p(e){function t(){++i===n.length&&e(r)}var n=[];if(j.forEach(function(e){e.data&&e.data._attachments&&Object.keys(e.data._attachments).forEach(function(t){var r=e.data._attachments[t];r.stub&&n.push(r.digest)})}),!n.length)return e();var r,i=0;n.forEach(function(e){d(e,function(e){e&&!r&&(r=e),t()})})}function h(e,t,n,r,i,o,a,s){e.metadata.winningRev=t,e.metadata.deleted=n;var c=e.data;if(c._id=e.metadata.id,c._rev=e.metadata.rev,r&&(c._deleted=!0),c._attachments&&Object.keys(c._attachments).length)return g(e,t,n,i,a,s);D+=o,u(),v(e,t,n,i,a,s)}function v(e,t,n,i,o,a){function s(o){var a=e.stemmedRevs||[];i&&r.auto_compaction&&(a=a.concat(K(e.metadata))),a&&a.length&&un(a,e.metadata.id,b),f.seq=o.target.result;var s=nn(f,t,n);A.put(s).onsuccess=u}function c(e){e.preventDefault(),e.stopPropagation(),w.index("_doc_id_rev").getKey(l._doc_id_rev).onsuccess=function(e){w.put(l,e.target.result).onsuccess=s}}function u(){O[o]={ok:!0,id:f.id,rev:f.rev},U.set(e.metadata.id,e.metadata),m(e,f.seq,a)}var l=e.data,f=e.metadata;l._doc_id_rev=f.id+"::"+f.rev,delete l._id,delete l._rev;var d=w.put(l);d.onsuccess=s,d.onerror=c}function g(e,t,n,r,i,o){function a(){u===l.length&&v(e,t,n,r,i,o)}function s(){u++,a()}var c=e.data,u=0,l=Object.keys(c._attachments);l.forEach(function(n){var r=e.data._attachments[n];if(r.stub)u++,a();else{var i=r.data;delete r.data,r.revpos=parseInt(t,10);y(r.digest,i,s)}})}function m(e,t,n){function r(){++i===o.length&&n()}var i=0,o=Object.keys(e.data._attachments||{});if(!o.length)return n();for(var a=0;a<o.length;a++)!function(n){var i=e.data._attachments[n].digest,o=E.put({seq:t,digestSeq:i+"::"+t});o.onsuccess=r,o.onerror=function(e){e.preventDefault(),e.stopPropagation(),r()}}(o[a])}function y(e,t,n){x.count(e).onsuccess=function(r){if(r.target.result)return n();var i={digest:e,body:t};x.put(i).onsuccess=n}}for(var b,A,w,x,E,_,k,S,j=t.docs,R=0,N=j.length;R<N;R++){var T=j[R];T._id&&de(T._id)||(T=j[R]=Nt(T,n.new_edits),T.error&&!k&&(k=T))}if(k)return o(k);var C=!1,D=0,O=new Array(j.length),U=new yi,M=!1,G=r._meta.blobSupport?"blob":"base64";Qt(j,G,function(e){if(e)return o(e);a()})}function dn(e,t,n,r,i){function o(e){l=e.target.result,u&&i(u,l,f)}function a(e){u=e.target.result,l&&i(u,l,f)}function s(){if(!u.length)return i();var n,s=u[u.length-1];if(t&&t.upper)try{n=IDBKeyRange.bound(s,t.upper,!0,t.upperOpen)}catch(e){if("DataError"===e.name&&0===e.code)return i()}else n=IDBKeyRange.lowerBound(s,!0);t=n,u=null,l=null,e.getAll(t,r).onsuccess=o,e.getAllKeys(t,r).onsuccess=a}function c(e){var t=e.target.result;if(!t)return i();i([t.key],[t.value],t)}var u,l,f,d="function"==typeof e.getAll&&"function"==typeof e.getAllKeys&&r>1&&!n;d?(f={continue:s},e.getAll(t,r).onsuccess=o,e.getAllKeys(t,r).onsuccess=a):n?e.openCursor(t,"prev").onsuccess=c:e.openCursor(t).onsuccess=c}function pn(e,t,n){function r(e){var t=e.target.result;t?(i.push(t.value),t.continue()):n({target:{result:i}})}if("function"==typeof e.getAll)return void(e.getAll(t).onsuccess=n);var i=[];e.openCursor(t).onsuccess=r}function hn(e,t,n,r,i){try{if(e&&t)return i?IDBKeyRange.bound(t,e,!n,!1):IDBKeyRange.bound(e,t,!1,!n);if(e)return i?IDBKeyRange.upperBound(e):IDBKeyRange.lowerBound(e);if(t)return i?IDBKeyRange.lowerBound(t,!n):IDBKeyRange.upperBound(t,!n);if(r)return IDBKeyRange.only(r)}catch(e){return{error:e}}return null}function vn(e,t,n){function r(t,n,r){var i=t.id+"::"+r;k.get(i).onsuccess=function(r){if(n.doc=on(r.target.result),e.conflicts){var i=H(t);i.length&&(n.doc._conflicts=i)}sn(n.doc,e,A)}}function i(t,n){var i={id:n.id,key:n.id,value:{rev:t}},o=n.deleted;"ok"===e.deleted?(S.push(i),o?(i.value.deleted=!0,i.doc=null):e.include_docs&&r(n,i,t)):!o&&p--<=0&&(S.push(i),e.include_docs&&r(n,i,t))}function o(e){for(var t=0,n=e.length;t<n&&S.length!==h;t++){var r=e[t],o=rn(r);i(o.winningRev,o)}}function a(e,t,n){n&&(o(t),S.length<h&&n.continue())}function s(t){var n=t.target.result;e.descending&&(n=n.reverse()),o(n)}function c(){n(null,{total_rows:w,offset:e.skip,rows:S})}function u(){e.attachments?cn(S,e.binary).then(c):c()}var l="startkey"in e&&e.startkey,f="endkey"in e&&e.endkey,d="key"in e&&e.key,p=e.skip||0,h="number"==typeof e.limit?e.limit:-1,v=!1!==e.inclusive_end,g=hn(l,f,v,d,e.descending),m=g&&g.error;if(m&&("DataError"!==m.name||0!==m.code))return n(I(Ui,m.name,m.message));var y=[oo,ao,uo];e.attachments&&y.push(so);var b=ln(t,y,"readonly");if(b.error)return n(b.error);var A=b.txn;A.oncomplete=u,A.onabort=tn(n);var w,x=A.objectStore(oo),E=A.objectStore(ao),_=A.objectStore(uo),k=E.index("_doc_id_rev"),S=[];return _.get(uo).onsuccess=function(e){w=e.target.result.docCount},m||0===h?void 0:-1===h?pn(x,g,s):void dn(x,g,e.descending,h+p,a)}function gn(e){return new hi(function(t){var n=It([""]);e.objectStore(fo).put(n,"key").onsuccess=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)},e.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)}}).catch(function(){return!1})}function mn(e,t){e.objectStore(oo).index("deletedOrLocal").count(IDBKeyRange.only("0")).onsuccess=function(e){t(e.target.result)}}function yn(e,t,n,r){try{e(t,n)}catch(t){r.emit("error",t)}}function bn(){!ho&&vo.length&&(ho=!0,vo.shift()())}function An(e,t,n){vo.push(function(){e(function(e,r){yn(t,e,r,n),ho=!1,li(function(){bn(n)})})}),bn()}function wn(e,t,n,r){function i(t,n,r){function i(t,n){var r=e.processChange(n,t,e);d=r.seq=t.seq;var i=w(r);if("object"==typeof i)return e.complete(i);i&&(A++,h&&b.push(r),e.attachments&&e.include_docs?sn(n,e,v,function(){cn([r],e.binary).then(function(){e.onChange(r)})}):e.onChange(r))}function o(){for(var e=0,t=s.length;e<t&&A!==p;e++){var n=s[e];if(n){i(c[e],n)}}A!==p&&r.continue()}if(r&&t.length){var s=new Array(t.length),c=new Array(t.length),u=0;n.forEach(function(e,n){a(on(e),t[n],function(e,r){c[n]=e,s[n]=r,++u===t.length&&o()})})}}function o(e,t,n,r){if(n.seq!==t)return r();if(n.winningRev===e._rev)return r(n,e);var i=e._id+"::"+n.winningRev;y.get(i).onsuccess=function(e){r(n,on(e.target.result))}}function a(e,t,n){if(f&&!f.has(e._id))return n();var r=x.get(e._id);if(r)return o(e,t,r,n);m.get(e._id).onsuccess=function(i){r=rn(i.target.result),x.set(e._id,r),o(e,t,r,n)}}function s(){e.complete(null,{results:b,last_seq:d})}function u(){!e.continuous&&e.attachments?cn(b).then(s):s()}if(e=c(e),e.continuous){var l=n+":"+F();return po.addListener(n,l,t,e),po.notify(n),{cancel:function(){po.removeListener(n,l)}}}var f=e.doc_ids&&new mi(e.doc_ids);e.since=e.since||0;var d=e.since,p="limit"in e?e.limit:-1;0===p&&(p=1);var h;h="return_docs"in e?e.return_docs:!("returnDocs"in e)||e.returnDocs;var v,g,m,y,b=[],A=0,w=D(e),x=new yi,E=[oo,ao];e.attachments&&E.push(so);var _=ln(r,E,"readonly");if(_.error)return e.complete(_.error);v=_.txn,v.onabort=tn(e.complete),v.oncomplete=u,g=v.objectStore(ao),m=v.objectStore(oo),y=g.index("_doc_id_rev"),dn(g,e.since&&!e.descending?IDBKeyRange.lowerBound(e.since,!0):null,e.descending,p,i)}function xn(e,t){var n=this;An(function(t){En(n,e,t)},t,n.constructor)}function En(e,t,n){function r(e){var t=e.createObjectStore(oo,{keyPath:"id"});e.createObjectStore(ao,{autoIncrement:!0}).createIndex("_doc_id_rev","_doc_id_rev",{unique:!0}),e.createObjectStore(so,{keyPath:"digest"}),e.createObjectStore(uo,{keyPath:"id",autoIncrement:!1}),e.createObjectStore(fo),t.createIndex("deletedOrLocal","deletedOrLocal",{unique:!1}),e.createObjectStore(lo,{keyPath:"_id"});var n=e.createObjectStore(co,{autoIncrement:!0});n.createIndex("seq","seq"),n.createIndex("digestSeq","digestSeq",{unique:!0})}function i(e,t){var n=e.objectStore(oo);n.createIndex("deletedOrLocal","deletedOrLocal",{unique:!1}),n.openCursor().onsuccess=function(e){var r=e.target.result;if(r){var i=r.value,o=fe(i);i.deletedOrLocal=o?"1":"0",n.put(i),r.continue()}else t()}}function o(e){e.createObjectStore(lo,{keyPath:"_id"}).createIndex("_doc_id_rev","_doc_id_rev",{unique:!0})}function a(e,t){var n=e.objectStore(lo),r=e.objectStore(oo),i=e.objectStore(ao);r.openCursor().onsuccess=function(e){var o=e.target.result;if(o){var a=o.value,s=a.id,c=de(s),u=Y(a);if(c){var l=s+"::"+u,f=s+"::",d=s+"::~",p=i.index("_doc_id_rev"),h=IDBKeyRange.bound(f,d,!1,!1),v=p.openCursor(h);v.onsuccess=function(e){if(v=e.target.result){var t=v.value;t._doc_id_rev===l&&n.put(t),i.delete(v.primaryKey),v.continue()}else r.delete(o.primaryKey),o.continue()}}else o.continue()}else t&&t()}}function s(e){var t=e.createObjectStore(co,{autoIncrement:!0});t.createIndex("seq","seq"),t.createIndex("digestSeq","digestSeq",{unique:!0})}function c(e,t){var n=e.objectStore(ao),r=e.objectStore(so),i=e.objectStore(co);r.count().onsuccess=function(e){if(!e.target.result)return t();n.openCursor().onsuccess=function(e){var n=e.target.result;if(!n)return t();for(var r=n.value,o=n.primaryKey,a=Object.keys(r._attachments||{}),s={},c=0;c<a.length;c++)s[r._attachments[a[c]].digest]=!0;var u=Object.keys(s);for(c=0;c<u.length;c++){var l=u[c];i.put({seq:o,digestSeq:l+"::"+o})}n.continue()}}}function u(e){function t(e){return e.data?rn(e):(e.deleted="1"===e.deletedOrLocal,e)}var n=e.objectStore(ao),r=e.objectStore(oo);r.openCursor().onsuccess=function(e){function i(){var e=nn(a,a.winningRev,a.deleted);r.put(e).onsuccess=function(){o.continue()}}var o=e.target.result;if(o){var a=t(o.value);if(a.winningRev=a.winningRev||Y(a),a.seq)return i();!function(){var e=a.id+"::",t=a.id+"::",r=n.index("_doc_id_rev").openCursor(IDBKeyRange.bound(e,t)),o=0;r.onsuccess=function(e){var t=e.target.result;if(!t)return a.seq=o,i();var n=t.primaryKey;n>o&&(o=n),t.continue()}}()}}}var f=t.name,d=null;e._meta=null,e._remote=!1,e.type=function(){return"idb"},e._id=l(function(t){t(null,e._meta.instanceId)}),e._bulkDocs=function(n,r,i){fn(t,n,r,e,d,i)},e._get=function(e,t,n){function r(){n(a,{doc:i,metadata:o,ctx:s})}var i,o,a,s=t.ctx;if(!s){var c=ln(d,[oo,ao,so],"readonly");if(c.error)return n(c.error);s=c.txn}s.objectStore(oo).get(e).onsuccess=function(e){if(!(o=rn(e.target.result)))return a=I(_i,"missing"),r();var n;if(t.rev)n=t.latest?pe(t.rev,o):t.rev;else{n=o.winningRev;if(fe(o))return a=I(_i,"deleted"),r()}var c=s.objectStore(ao),u=o.id+"::"+n;c.index("_doc_id_rev").get(u).onsuccess=function(e){if(i=e.target.result,i&&(i=on(i)),!i)return a=I(_i,"missing"),r();r()}}},e._getAttachment=function(e,t,n,r,i){var o;if(r.ctx)o=r.ctx;else{var a=ln(d,[oo,ao,so],"readonly");if(a.error)return i(a.error);o=a.txn}var s=n.digest,c=n.content_type;o.objectStore(so).get(s).onsuccess=function(e){an(e.target.result.body,c,r.binary,function(e){i(null,e)})}},e._info=function(t){var n,r,i=ln(d,[uo,ao],"readonly");if(i.error)return t(i.error);var o=i.txn;o.objectStore(uo).get(uo).onsuccess=function(e){r=e.target.result.docCount},o.objectStore(ao).openCursor(null,"prev").onsuccess=function(e){var t=e.target.result;n=t?t.key:0},o.oncomplete=function(){t(null,{doc_count:r,update_seq:n,idb_attachment_format:e._meta.blobSupport?"binary":"base64"})}},e._allDocs=function(e,t){vn(e,d,t)},e._changes=function(t){wn(t,e,f,d)},e._close=function(e){d.close(),go.delete(f),e()},e._getRevisionTree=function(e,t){var n=ln(d,[oo],"readonly");if(n.error)return t(n.error);n.txn.objectStore(oo).get(e).onsuccess=function(e){var n=rn(e.target.result);n?t(null,n.rev_tree):t(I(_i))}},e._doCompaction=function(e,t,n){var r=[oo,ao,so,co],i=ln(d,r,"readwrite");if(i.error)return n(i.error);var o=i.txn;o.objectStore(oo).get(e).onsuccess=function(n){var r=rn(n.target.result);V(r.rev_tree,function(e,n,r,i,o){var a=n+"-"+r;-1!==t.indexOf(a)&&(o.status="missing")}),un(t,e,o);var i=r.winningRev,a=r.deleted;o.objectStore(oo).put(nn(r,i,a))},o.onabort=tn(n),o.oncomplete=function(){n()}},e._getLocal=function(e,t){var n=ln(d,[lo],"readonly");if(n.error)return t(n.error);var r=n.txn,i=r.objectStore(lo).get(e);i.onerror=tn(t),i.onsuccess=function(e){var n=e.target.result;n?(delete n._doc_id_rev,t(null,n)):t(I(_i))}},e._putLocal=function(e,t,n){"function"==typeof t&&(n=t,t={}),delete e._revisions;var r=e._rev,i=e._id;e._rev=r?"0-"+(parseInt(r.split("-")[1],10)+1):"0-1";var o,a=t.ctx;if(!a){var s=ln(d,[lo],"readwrite");if(s.error)return n(s.error);a=s.txn,a.onerror=tn(n),a.oncomplete=function(){o&&n(null,o)}}var c,u=a.objectStore(lo);r?(c=u.get(i),c.onsuccess=function(i){var a=i.target.result;if(a&&a._rev===r){u.put(e).onsuccess=function(){o={ok:!0,id:e._id,rev:e._rev},t.ctx&&n(null,o)}}else n(I(ki))}):(c=u.add(e),c.onerror=function(e){n(I(ki)),e.preventDefault(),e.stopPropagation()},c.onsuccess=function(){o={ok:!0,id:e._id,rev:e._rev},t.ctx&&n(null,o)})},e._removeLocal=function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.ctx;if(!r){var i=ln(d,[lo],"readwrite");if(i.error)return n(i.error);r=i.txn,r.oncomplete=function(){o&&n(null,o)}}var o,a=e._id,s=r.objectStore(lo),c=s.get(a);c.onerror=tn(n),c.onsuccess=function(r){var i=r.target.result;i&&i._rev===e._rev?(s.delete(a),o={ok:!0,id:a,rev:"0-0"},t.ctx&&n(null,o)):n(I(_i))}},e._destroy=function(e,t){po.removeAllListeners(f);var n=mo.get(f);n&&n.result&&(n.result.close(),go.delete(f));var r=indexedDB.deleteDatabase(f);r.onsuccess=function(){mo.delete(f),x()&&f in localStorage&&delete localStorage[f],t(null,{ok:!0})},r.onerror=tn(t)};var p=go.get(f);if(p)return d=p.idb,e._meta=p.global,li(function(){n(null,e)});var h;h=t.storage?_n(f,t.storage):indexedDB.open(f,io),mo.set(f,h),h.onupgradeneeded=function(e){function t(){var e=f[d-1];d++,e&&e(l,t)}var n=e.target.result;if(e.oldVersion<1)return r(n);var l=e.currentTarget.transaction;e.oldVersion<3&&o(n),e.oldVersion<4&&s(n);var f=[i,a,c,u],d=e.oldVersion;t()},h.onsuccess=function(t){function r(){void 0!==s&&l&&(e._meta={name:f,instanceId:c,blobSupport:s},go.set(f,{idb:d,global:e._meta}),n(null,e))}function i(){if(void 0!==a&&void 0!==o){var e=f+"_id";e in o?c=o[e]:o[e]=c=F(),o.docCount=a,u.objectStore(uo).put(o)}}d=t.target.result,d.onversionchange=function(){d.close(),go.delete(f)},d.onabort=function(e){k("error","Database has a global failure",e.target.error),d.close(),go.delete(f)};var o,a,s,c,u=d.transaction([uo,fo,oo],"readwrite"),l=!1;u.objectStore(uo).get(uo).onsuccess=function(e){o=e.target.result||{id:uo},i()},mn(u,function(e){a=e,i()}),Hi||(Hi=gn(u)),Hi.then(function(e){s=e,r()}),u.oncomplete=function(){l=!0,r()}},h.onerror=function(){var e="Failed to open indexedDB, are you in private browsing mode?";k("error",e),n(I(Ui,e))}}function _n(e,t){try{return indexedDB.open(e,{version:io,storage:t})}catch(t){return indexedDB.open(e,io)}}function kn(e){return decodeURIComponent(escape(e))}function Sn(e){return e<65?e-48:e-55}function jn(e,t,n){for(var r="";t<n;)r+=String.fromCharCode(Sn(e.charCodeAt(t++))<<4|Sn(e.charCodeAt(t++)));return r}function Rn(e,t,n){for(var r="";t<n;)r+=String.fromCharCode(Sn(e.charCodeAt(t+2))<<12|Sn(e.charCodeAt(t+3))<<8|Sn(e.charCodeAt(t))<<4|Sn(e.charCodeAt(t+1))),t+=4;return r}function Nn(e,t){return"UTF-8"===t?kn(jn(e,0,e.length)):Rn(e,0,e.length)}function In(e){return"'"+e+"'"}function Tn(e){return e.replace(/\u0002/g,"").replace(/\u0001/g,"").replace(/\u0000/g,"")}function Cn(e){return e.replace(/\u0001\u0001/g,"\0").replace(/\u0001\u0002/g,"").replace(/\u0002\u0002/g,"")}function Dn(e){return delete e._id,delete e._rev,JSON.stringify(e)}function On(e,t,n){return e=JSON.parse(e),e._id=t,e._rev=n,e}function Un(e){for(var t="(";e--;)t+="?",e&&(t+=",");return t+")"}function Mn(e,t,n,r,i){return"SELECT "+e+" FROM "+("string"==typeof t?t:t.join(" JOIN "))+(n?" ON "+n:"")+(r?" WHERE "+("string"==typeof r?r:r.join(" AND ")):"")+(i?" ORDER BY "+i:"")}function Gn(e,t,n){function r(){++o===e.length&&i()}function i(){if(a.length){var e="SELECT DISTINCT digest AS digest FROM "+ko+" WHERE seq IN "+Un(a.length);n.executeSql(e,a,function(e,t){for(var n=[],r=0;r<t.rows.length;r++)n.push(t.rows.item(r).digest);if(n.length){var i="DELETE FROM "+ko+" WHERE seq IN ("+a.map(function(){return"?"}).join(",")+")";e.executeSql(i,a,function(e){var t="SELECT digest FROM "+ko+" WHERE digest IN ("+n.map(function(){return"?"}).join(",")+")";e.executeSql(t,n,function(e,t){for(var r=new mi,i=0;i<t.rows.length;i++)r.add(t.rows.item(i).digest);n.forEach(function(t){r.has(t)||(e.executeSql("DELETE FROM "+ko+" WHERE digest=?",[t]),e.executeSql("DELETE FROM "+xo+" WHERE digest=?",[t]))})})})}})}}if(e.length){var o=0,a=[];e.forEach(function(e){var i="SELECT seq FROM "+wo+" WHERE doc_id=? AND rev=?";n.executeSql(i,[t,e],function(e,t){if(!t.rows.length)return r();var n=t.rows.item(0).seq;a.push(n),e.executeSql("DELETE FROM "+wo+" WHERE seq=?",[n],r)})})}}function Ln(e){return function(t){k("error","WebSQL threw an error",t);var n=t&&t.constructor.toString().match(/function ([^\(]+)/),r=n&&n[1]||t.type,i=t.target||t.message;e(I(Mi,i,r))}}function Bn(e){return"size"in e?1e6*e.size:"undefined"!=typeof navigator&&/Android/.test(navigator.userAgent)?5e6:1}function Zn(e,t,n,r,i,o,a){function s(){if(b)return a(b);o.notify(r._name),a(null,A)}function c(e,t){var n="SELECT count(*) as cnt FROM "+xo+" WHERE digest=?";y.executeSql(n,[e],function(n,r){if(0===r.rows.item(0).cnt){var i=I(Li,"unknown stub attachment with digest "+e);t(i)}else t()})}function u(e){function t(){++i===n.length&&e(r)}var n=[];if(g.forEach(function(e){e.data&&e.data._attachments&&Object.keys(e.data._attachments).forEach(function(t){var r=e.data._attachments[t];r.stub&&n.push(r.digest)})}),!n.length)return e();var r,i=0;n.forEach(function(e){c(e,function(e){e&&!r&&(r=e),t()})})}function l(e,t,n,i,o,a,s,c){function u(){function t(e,t){function r(){return++i===o.length&&t(),!1}var i=0,o=Object.keys(n._attachments||{});if(!o.length)return t();for(var a=0;a<o.length;a++)!function(t){var i="INSERT INTO "+ko+" (digest, seq) VALUES (?,?)",o=[n._attachments[t].digest,e];y.executeSql(i,o,r,r)}(o[a])}var n=e.data,r=i?1:0,o=n._id,a=n._rev,s=Dn(n),c="INSERT INTO "+wo+" (doc_id, rev, json, deleted) VALUES (?, ?, ?, ?);",u=[o,a,s,r];y.executeSql(c,u,function(e,n){var r=n.insertId;t(r,function(){d(e,r)})},function(){var e=Mn("seq",wo,null,"doc_id=? AND rev=?");return y.executeSql(e,[o,a],function(e,n){var i=n.rows.item(0).seq,c="UPDATE "+wo+" SET json=?, deleted=? WHERE doc_id=? AND rev=?;",u=[s,r,o,a];e.executeSql(c,u,function(e){t(i,function(){d(e,i)})})}),!1})}function l(e){h||(e?(h=e,c(h)):v===g.length&&u())}function f(e){v++,l(e)}function d(n,i){var a=e.metadata.id,u=e.stemmedRevs||[];o&&r.auto_compaction&&(u=K(e.metadata).concat(u)),u.length&&Gn(u,a,n),e.metadata.seq=i;var l=e.metadata.rev;delete e.metadata.rev;var f=o?"UPDATE "+Ao+" SET json=?, max_seq=?, winningseq=(SELECT seq FROM "+wo+" WHERE doc_id="+Ao+".id AND rev=?) WHERE id=?":"INSERT INTO "+Ao+" (id, winningseq, max_seq, json) VALUES (?,?,?,?);",d=en(e.metadata),p=o?[d,i,t,a]:[a,i,i,d];n.executeSql(f,p,function(){A[s]={ok:!0,id:e.metadata.id,rev:l},w.set(a,e.metadata),c()})}var h=null,v=0;e.data._id=e.metadata.id,e.data._rev=e.metadata.rev;var g=Object.keys(e.data._attachments||{});i&&(e.data._deleted=!0),g.forEach(function(n){var r=e.data._attachments[n];if(r.stub)v++,l();else{var i=r.data;delete r.data,r.revpos=parseInt(t,10);p(r.digest,i,f)}}),g.length||u()}function f(){Kt(e.revs_limit,g,r,w,y,A,l,n)}function d(e){function t(){++n===g.length&&e()}if(!g.length)return e();var n=0;g.forEach(function(e){if(e._id&&de(e._id))return t();var n=e.metadata.id;y.executeSql("SELECT json FROM "+Ao+" WHERE id = ?",[n],function(e,r){if(r.rows.length){var i=$t(r.rows.item(0).json);w.set(n,i)}t()})})}function p(e,t,n){var r="SELECT digest FROM "+xo+" WHERE digest=?";y.executeSql(r,[e],function(i,o){if(o.rows.length)return n();r="INSERT INTO "+xo+" (digest, body, escaped) VALUES (?,?,1)",i.executeSql(r,[e,Tn(t)],function(){n()},function(){return n(),!1})})}var h=n.new_edits,v=t.docs,g=v.map(function(e){return e._id&&de(e._id)?e:Nt(e,h)}),m=g.filter(function(e){return e.error});if(m.length)return a(m[0]);var y,b,A=new Array(g.length),w=new yi;Qt(g,"binary",function(e){if(e)return a(e);i.transaction(function(e){y=e,u(function(e){e?b=e:d(f)})},Ln(a),s)})}function zn(e){return e.websql(e.name,e.version,e.description,e.size)}function Pn(e){try{return{db:zn(e)}}catch(e){return{error:e}}}function Jn(e){var t=So.get(e.name);return t||(t=Pn(e),So.set(e.name,t)),t}function Wn(e,t,n,r,i){function o(){++c===s.length&&i&&i()}function a(e,i){var a=e._attachments[i],s={binary:t.binary,ctx:r};n._getAttachment(e._id,i,a,s,function(t,n){e._attachments[i]=xi(m(a,["digest","content_type"]),{data:n}),o()})}var s=Object.keys(e._attachments||{});if(!s.length)return i&&i();var c=0;s.forEach(function(n){t.attachments&&t.include_docs?a(e,n):(e._attachments[n].stub=!0,o())})}function qn(e,t){function n(){x()&&(window.localStorage["_pouch__websqldb_"+b._name]=!0),t(null,b)}function r(e,t){e.executeSql(To),e.executeSql("ALTER TABLE "+wo+" ADD COLUMN deleted TINYINT(1) DEFAULT 0",[],function(){e.executeSql(No),e.executeSql("ALTER TABLE "+Ao+" ADD COLUMN local TINYINT(1) DEFAULT 0",[],function(){e.executeSql("CREATE INDEX IF NOT EXISTS 'doc-store-local-idx' ON "+Ao+" (local, id)");var n="SELECT "+Ao+".winningseq AS seq, "+Ao+".json AS metadata FROM "+wo+" JOIN "+Ao+" ON "+wo+".seq = "+Ao+".winningseq";e.executeSql(n,[],function(e,n){for(var r=[],i=[],o=0;o<n.rows.length;o++){var a=n.rows.item(o),s=a.seq,c=JSON.parse(a.metadata);fe(c)&&r.push(s),de(c.id)&&i.push(c.id)}e.executeSql("UPDATE "+Ao+"SET local = 1 WHERE id IN "+Un(i.length),i,function(){e.executeSql("UPDATE "+wo+" SET deleted = 1 WHERE seq IN "+Un(r.length),r,t)})})})})}function i(e,t){var n="CREATE TABLE IF NOT EXISTS "+Eo+" (id UNIQUE, rev, json)";e.executeSql(n,[],function(){var n="SELECT "+Ao+".id AS id, "+wo+".json AS data FROM "+wo+" JOIN "+Ao+" ON "+wo+".seq = "+Ao+".winningseq WHERE local = 1";e.executeSql(n,[],function(e,n){function r(){if(!i.length)return t(e);var n=i.shift(),o=JSON.parse(n.data)._rev;e.executeSql("INSERT INTO "+Eo+" (id, rev, json) VALUES (?,?,?)",[n.id,o,n.data],function(e){e.executeSql("DELETE FROM "+Ao+" WHERE id=?",[n.id],function(e){e.executeSql("DELETE FROM "+wo+" WHERE seq=?",[n.seq],function(){r()})})})}for(var i=[],o=0;o<n.rows.length;o++)i.push(n.rows.item(o));r()})})}function o(e,t){function n(n){function r(){if(!n.length)return t(e);var i=n.shift(),o=Nn(i.hex,y),a=o.lastIndexOf("::"),s=o.substring(0,a),c=o.substring(a+2),u="UPDATE "+wo+" SET doc_id=?, rev=? WHERE doc_id_rev=?";e.executeSql(u,[s,c,o],function(){r()})}r()}var r="ALTER TABLE "+wo+" ADD COLUMN doc_id";e.executeSql(r,[],function(e){var t="ALTER TABLE "+wo+" ADD COLUMN rev";e.executeSql(t,[],function(e){e.executeSql(Io,[],function(e){var t="SELECT hex(doc_id_rev) as hex FROM "+wo;e.executeSql(t,[],function(e,t){for(var r=[],i=0;i<t.rows.length;i++)r.push(t.rows.item(i));n(r)})})})})}function a(e,t){function n(e){var n="SELECT COUNT(*) AS cnt FROM "+xo;e.executeSql(n,[],function(e,n){function r(){var n=Mn(Uo+", "+Ao+".id AS id",[Ao,wo],Oo,null,Ao+".id ");n+=" LIMIT "+o+" OFFSET "+i,i+=o,e.executeSql(n,[],function(e,n){if(!n.rows.length)return t(e);for(var i={},o=0;o<n.rows.length;o++)for(var a=n.rows.item(o),s=On(a.data,a.id,a.rev),c=Object.keys(s._attachments||{}),u=0;u<c.length;u++){var l=s._attachments[c[u]];!function(e,t){var n=i[e]=i[e]||[];-1===n.indexOf(t)&&n.push(t)}(l.digest,a.seq)}var f=[];if(Object.keys(i).forEach(function(e){i[e].forEach(function(t){f.push([e,t])})}),!f.length)return r();var d=0;f.forEach(function(t){var n="INSERT INTO "+ko+" (digest, seq) VALUES (?,?)";e.executeSql(n,t,function(){++d===f.length&&r()})})})}if(!n.rows.item(0).cnt)return t(e);var i=0,o=10;r()})}var r="CREATE TABLE IF NOT EXISTS "+ko+" (digest, seq INTEGER)";e.executeSql(r,[],function(e){e.executeSql(Do,[],function(e){e.executeSql(Co,[],n)})})}function s(e,t){var n="ALTER TABLE "+xo+" ADD COLUMN escaped TINYINT(1) DEFAULT 0";e.executeSql(n,[],t)}function u(e,t){var n="ALTER TABLE "+Ao+" ADD COLUMN max_seq INTEGER";e.executeSql(n,[],function(e){var n="UPDATE "+Ao+" SET max_seq=(SELECT MAX(seq) FROM "+wo+" WHERE doc_id=id)";e.executeSql(n,[],function(e){var n="CREATE UNIQUE INDEX IF NOT EXISTS 'doc-max-seq-idx' ON "+Ao+" (max_seq)";e.executeSql(n,[],t)})})}function f(e,t){e.executeSql('SELECT HEX("a") AS hex',[],function(e,n){var r=n.rows.item(0).hex;y=2===r.length?"UTF-8":"UTF-16",t()})}function d(){for(;E.length>0;){E.pop()(null,A)}}function p(e,t){if(0===t){var n="CREATE TABLE IF NOT EXISTS "+_o+" (dbid, db_version INTEGER)",c="CREATE TABLE IF NOT EXISTS "+xo+" (digest UNIQUE, escaped TINYINT(1), body BLOB)",l="CREATE TABLE IF NOT EXISTS "+ko+" (digest, seq INTEGER)",f="CREATE TABLE IF NOT EXISTS "+Ao+" (id unique, json, winningseq, max_seq INTEGER UNIQUE)",p="CREATE TABLE IF NOT EXISTS "+wo+" (seq INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, json, deleted TINYINT(1), doc_id, rev)",h="CREATE TABLE IF NOT EXISTS "+Eo+" (id UNIQUE, rev, json)";e.executeSql(c),e.executeSql(h),e.executeSql(l,[],function(){e.executeSql(Co),e.executeSql(Do)}),e.executeSql(f,[],function(){e.executeSql(To),e.executeSql(p,[],function(){e.executeSql(No),e.executeSql(Io),e.executeSql(n,[],function(){var t="INSERT INTO "+_o+" (db_version, dbid) VALUES (?,?)";A=F();var n=[bo,A];e.executeSql(t,n,function(){d()})})})})}else{var v=function(){t<bo&&e.executeSql("UPDATE "+_o+" SET db_version = "+bo);var n="SELECT dbid FROM "+_o;e.executeSql(n,[],function(e,t){A=t.rows.item(0).dbid,d()})},g=[r,i,o,a,s,u,v],m=t,y=function(e){g[m-1](e,y),m++};y(e)}}function h(e){var t="SELECT sql FROM sqlite_master WHERE tbl_name = "+_o;e.executeSql(t,[],function(e,t){t.rows.length?/db_version/.test(t.rows.item(0).sql)?e.executeSql("SELECT db_version FROM "+_o,[],function(e,t){p(e,t.rows.item(0).db_version)}):e.executeSql("ALTER TABLE "+_o+" ADD COLUMN db_version INTEGER",[],function(){p(e,1)}):p(e,0)})}function v(e,t){var n="SELECT MAX(seq) AS seq FROM "+wo;e.executeSql(n,[],function(e,n){var r=n.rows.item(0).seq||0;t(r)})}function g(e,t){var n=Mn("COUNT("+Ao+".id) AS 'num'",[Ao,wo],Oo,wo+".deleted=0");e.executeSql(n,[],function(e,n){t(n.rows.item(0).num)})}function m(e,t,n,r,i){var o=Mn(Uo,[Ao,wo],Oo,Ao+".id=?"),a=[t];e.executeSql(o,a,function(e,t){if(!t.rows.length){var o=I(_i,"missing");return i(o)}var a=t.rows.item(0),s=$t(a.metadata);r(pe(n,s))})}var y,b=this,A=null,w=Bn(e),E=[];b._name=e.name;var _=xi({},e,{version:Ro,description:e.name,size:w}),k=Jn(_);if(k.error)return Ln(t)(k.error);var S=k.db;"function"!=typeof S.readTransaction&&(S.readTransaction=S.transaction),function(){S.transaction(function(e){f(e,function(){h(e)})},Ln(t),n)}(),b._remote=!1,b.type=function(){return"websql"},b._id=l(function(e){e(null,A)}),b._info=function(e){var t,n;S.readTransaction(function(e){v(e,function(e){t=e}),g(e,function(e){n=e})},Ln(e),function(){e(null,{doc_count:n,update_seq:t,websql_encoding:y})})},b._bulkDocs=function(t,n,r){Zn(e,t,n,b,S,jo,r)},b._get=function(e,t,n){function r(e){n(e,{doc:i,metadata:o,ctx:a})}var i,o,a=t.ctx;if(!a)return S.readTransaction(function(r){b._get(e,xi({ctx:r},t),n)});var s,c;if(t.rev){if(t.latest)return void m(a,e,t.rev,function(r){t.latest=!1,t.rev=r,b._get(e,t,n)},r);s=Mn(Uo,[Ao,wo],Ao+".id="+wo+".doc_id",[wo+".doc_id=?",wo+".rev=?"]),c=[e,t.rev]}else s=Mn(Uo,[Ao,wo],Oo,Ao+".id=?"),c=[e];a.executeSql(s,c,function(e,n){if(!n.rows.length){return r(I(_i,"missing"))}var a=n.rows.item(0);if(o=$t(a.metadata),a.deleted&&!t.rev){return r(I(_i,"deleted"))}i=On(a.data,o.id,a.rev),r()})},b._allDocs=function(e,t){var n,r=[],i="startkey"in e&&e.startkey,o="endkey"in e&&e.endkey,a="key"in e&&e.key,s="descending"in e&&e.descending,c="limit"in e?e.limit:-1,u="skip"in e?e.skip:0,l=!1!==e.inclusive_end,f=[],d=[];if(!1!==a)d.push(Ao+".id = ?"),f.push(a);else if(!1!==i||!1!==o){if(!1!==i&&(d.push(Ao+".id "+(s?"<=":">=")+" ?"),f.push(i)),!1!==o){var p=s?">":"<";l&&(p+="="),d.push(Ao+".id "+p+" ?"),f.push(o)}!1!==a&&(d.push(Ao+".id = ?"),f.push(a))}"ok"!==e.deleted&&d.push(wo+".deleted = 0"),S.readTransaction(function(t){if(g(t,function(e){n=e}),0!==c){var i=Mn(Uo,[Ao,wo],Oo,d,Ao+".id "+(s?"DESC":"ASC"));i+=" LIMIT "+c+" OFFSET "+u,t.executeSql(i,f,function(t,n){for(var i=0,o=n.rows.length;i<o;i++){var a=n.rows.item(i),s=$t(a.metadata),c=s.id,u=On(a.data,c,a.rev),l=u._rev,f={id:c,key:c,value:{rev:l}};if(e.include_docs){if(f.doc=u,f.doc._rev=l,e.conflicts){var d=H(s);d.length&&(f.doc._conflicts=d)}Wn(f.doc,e,b,t)}if(a.deleted){if("ok"!==e.deleted)continue;f.value.deleted=!0,f.doc=null}r.push(f)}})}},Ln(t),function(){t(null,{total_rows:n,offset:e.skip,rows:r})})},b._changes=function(e){if(e=c(e),e.continuous){var t=b._name+":"+F();return jo.addListener(b._name,t,b,e),jo.notify(b._name),{cancel:function(){jo.removeListener(b._name,t)}}}var n=e.descending;e.since=e.since&&!n?e.since:0;var r="limit"in e?e.limit:-1;0===r&&(r=1);var i;i="return_docs"in e?e.return_docs:!("returnDocs"in e)||e.returnDocs;var o=[],a=0;!function(){var t=Ao+".json AS metadata, "+Ao+".max_seq AS maxSeq, "+wo+".json AS winningDoc, "+wo+".rev AS winningRev ",s=Ao+" JOIN "+wo,c=Ao+".id="+wo+".doc_id AND "+Ao+".winningseq="+wo+".seq",u=["maxSeq > ?"],l=[e.since];e.doc_ids&&(u.push(Ao+".id IN "+Un(e.doc_ids.length)),l=l.concat(e.doc_ids));var f="maxSeq "+(n?"DESC":"ASC"),d=Mn(t,s,c,u,f),p=D(e);e.view||e.filter||(d+=" LIMIT "+r);var h=e.since||0;S.readTransaction(function(t){t.executeSql(d,l,function(t,n){function s(t){return function(){e.onChange(t)}}for(var c=0,u=n.rows.length;c<u;c++){var l=n.rows.item(c),f=$t(l.metadata);h=l.maxSeq;var d=On(l.winningDoc,f.id,l.winningRev),v=e.processChange(d,f,e);v.seq=l.maxSeq;var g=p(v);if("object"==typeof g)return e.complete(g);if(g&&(a++,i&&o.push(v),e.attachments&&e.include_docs?Wn(d,e,b,t,s(v)):s(v)()),a===r)break}})},Ln(e.complete),function(){e.continuous||e.complete(null,{results:o,last_seq:h})})}()},b._close=function(e){e()},b._getAttachment=function(e,t,n,r,i){var o,a=r.ctx,s=n.digest,c=n.content_type,u="SELECT escaped, CASE WHEN escaped = 1 THEN body ELSE HEX(body) END AS body FROM "+xo+" WHERE digest=?";a.executeSql(u,[s],function(e,t){var n=t.rows.item(0),a=n.escaped?Cn(n.body):Nn(n.body,y);o=r.binary?Ct(a,c):to(a),i(null,o)})},b._getRevisionTree=function(e,t){S.readTransaction(function(n){var r="SELECT json AS metadata FROM "+Ao+" WHERE id = ?";n.executeSql(r,[e],function(e,n){if(n.rows.length){var r=$t(n.rows.item(0).metadata);t(null,r.rev_tree)}else t(I(_i))})})},b._doCompaction=function(e,t,n){if(!t.length)return n();S.transaction(function(n){var r="SELECT json AS metadata FROM "+Ao+" WHERE id = ?";n.executeSql(r,[e],function(n,r){var i=$t(r.rows.item(0).metadata);V(i.rev_tree,function(e,n,r,i,o){var a=n+"-"+r;-1!==t.indexOf(a)&&(o.status="missing")});var o="UPDATE "+Ao+" SET json = ? WHERE id = ?";n.executeSql(o,[en(i),e])}),Gn(t,e,n)},Ln(n),function(){n()})},b._getLocal=function(e,t){S.readTransaction(function(n){var r="SELECT json, rev FROM "+Eo+" WHERE id=?";n.executeSql(r,[e],function(n,r){if(r.rows.length){var i=r.rows.item(0),o=On(i.json,e,i.rev);t(null,o)}else t(I(_i))})})},b._putLocal=function(e,t,n){function r(e){var r,u;o?(r="UPDATE "+Eo+" SET rev=?, json=? WHERE id=? AND rev=?",u=[i,c,a,o]):(r="INSERT INTO "+Eo+" (id, rev, json) VALUES (?,?,?)",u=[a,i,c]),e.executeSql(r,u,function(e,r){r.rowsAffected?(s={ok:!0,id:a,rev:i},t.ctx&&n(null,s)):n(I(ki))},function(){return n(I(ki)),!1})}"function"==typeof t&&(n=t,t={}),delete e._revisions;var i,o=e._rev,a=e._id;i=e._rev=o?"0-"+(parseInt(o.split("-")[1],10)+1):"0-1";var s,c=Dn(e);t.ctx?r(t.ctx):S.transaction(r,Ln(n),function(){s&&n(null,s)})},b._removeLocal=function(e,t,n){function r(r){var o="DELETE FROM "+Eo+" WHERE id=? AND rev=?",a=[e._id,e._rev];r.executeSql(o,a,function(r,o){if(!o.rowsAffected)return n(I(_i));i={ok:!0,id:e._id,rev:"0-0"},t.ctx&&n(null,i)})}"function"==typeof t&&(n=t,t={});var i;t.ctx?r(t.ctx):S.transaction(r,Ln(n),function(){i&&n(null,i)})},b._destroy=function(e,t){jo.removeAllListeners(b._name),S.transaction(function(e){[Ao,wo,xo,_o,Eo,ko].forEach(function(t){e.executeSql("DROP TABLE IF EXISTS "+t,[])})},Ln(t),function(){x()&&(delete window.localStorage["_pouch__websqldb_"+b._name],delete window.localStorage[b._name]),t(null,{ok:!0})})}}function Fn(){try{return openDatabase("_pouch_validate_websql",1,"",1),!0}catch(e){return!1}}function Yn(){if("undefined"==typeof indexedDB||null===indexedDB||!/iP(hone|od|ad)/.test(navigator.userAgent))return!0;var e=x(),t="_pouch__websqldb_valid_"+navigator.userAgent;if(e&&localStorage[t])return"1"===localStorage[t];var n=Fn();return e&&(localStorage[t]=n?"1":"0"),n}function Vn(){return"function"==typeof openDatabase&&Yn()}function Qn(e,t,n,r){return openDatabase(e,t,n,r)}function Xn(e,t){var n=xi({websql:Qn},e);qn.call(this,n,t)}function Hn(){for(var e={},t=new hi(function(t,n){e.resolve=t,e.reject=n}),n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.promise=t,hi.resolve().then(function(){return fetch.apply(null,n)}).then(function(t){e.resolve(t)}).catch(function(t){e.reject(t)}),e}function Kn(e,t){var n,r,i,o=new Headers,a={method:e.method,credentials:"include",headers:o};return e.json&&(o.set("Accept","application/json"),o.set("Content-Type",e.headers["Content-Type"]||"application/json")),e.body&&e.processData&&"string"!=typeof e.body?a.body=JSON.stringify(e.body):a.body="body"in e?e.body:null,Object.keys(e.headers).forEach(function(t){e.headers.hasOwnProperty(t)&&o.set(t,e.headers[t])}),n=Hn(e.url,a),e.timeout>0&&(r=setTimeout(function(){n.reject(new Error("Load timeout for resource: "+e.url))},e.timeout)),n.promise.then(function(t){return i={statusCode:t.status},e.timeout>0&&clearTimeout(r),i.statusCode>=200&&i.statusCode<300?e.binary?t.blob():t.text():t.json()}).then(function(e){i.statusCode>=200&&i.statusCode<300?t(null,i,e):(e.status=i.statusCode,t(e))}).catch(function(e){e||(e=new Error("canceled")),t(e)}),{abort:n.reject}}function $n(e,t){var n,r,i=!1,o=function(){n.abort(),c()},a=function(){i=!0,n.abort(),c()},s={abort:o},c=function(){clearTimeout(r),s.abort=function(){},n&&(n.onprogress=void 0,n.upload&&(n.upload.onprogress=void 0),n.onreadystatechange=void 0,n=void 0)};n=e.xhr?new e.xhr:new XMLHttpRequest;try{n.open(e.method,e.url)}catch(e){return t(new Error(e.name||"Url is invalid"))}n.withCredentials=!("withCredentials"in e)||e.withCredentials,"GET"===e.method?delete e.headers["Content-Type"]:e.json&&(e.headers.Accept="application/json",e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json",e.body&&e.processData&&"string"!=typeof e.body&&(e.body=JSON.stringify(e.body))),e.binary&&(n.responseType="arraybuffer"),"body"in e||(e.body=null);for(var u in e.headers)e.headers.hasOwnProperty(u)&&n.setRequestHeader(u,e.headers[u]);return e.timeout>0&&(r=setTimeout(a,e.timeout),n.onprogress=function(){clearTimeout(r),4!==n.readyState&&(r=setTimeout(a,e.timeout))},void 0!==n.upload&&(n.upload.onprogress=n.onprogress)),n.onreadystatechange=function(){if(4===n.readyState){var r={statusCode:n.status};if(n.status>=200&&n.status<300){var o;o=e.binary?It([n.response||""],{type:n.getResponseHeader("Content-Type")}):n.responseText,t(null,r,o)}else{var a={};if(i)a=new Error("ETIMEDOUT"),a.code="ETIMEDOUT";else if("string"==typeof n.response)try{a=JSON.parse(n.response)}catch(e){}a.status=n.status,t(a)}c()}},e.body&&e.body instanceof Blob?Lt(e.body,function(e){n.send(e)}):n.send(e.body),s}function er(e,t){return Go||e.xhr?$n(e,t):Kn(e,t)}function tr(){return""}function nr(e,t){function n(t,n,r){if(!e.binary&&e.json&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){return r(e)}Array.isArray(t)&&(t=t.map(function(e){return e.error||e.missing?T(e):e})),e.binary&&Lo(t,n),r(null,t,n)}return e=c(e),e=xi({method:"GET",headers:{},json:!0,processData:!0,timeout:1e4,cache:!1},e),e.json&&(e.binary||(e.headers.Accept="application/json"),e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json"),e.binary&&(e.encoding=null,e.json=!1),e.processData||(e.json=!1),er(e,function(r,i,o){if(r)return t(T(r));var a,s=i.headers&&i.headers["content-type"],c=o||tr();if(!e.binary&&(e.json||!e.processData)&&"object"!=typeof c&&(/json/.test(s)||/^[\s]*\{/.test(c)&&/\}[\s]*$/.test(c)))try{c=JSON.parse(c.toString())}catch(e){}i.statusCode>=200&&i.statusCode<300?n(c,i,t):(a=T(c),a.status=i.statusCode,t(a))})}function rr(e,t){var n=navigator&&navigator.userAgent?navigator.userAgent.toLowerCase():"",r=-1!==n.indexOf("safari")&&-1===n.indexOf("chrome"),i=-1!==n.indexOf("msie"),o=-1!==n.indexOf("edge"),a=r||(i||o)&&"GET"===e.method,s=!("cache"in e)||e.cache;if(!/^blob:/.test(e.url)&&(a||!s)){var c=-1!==e.url.indexOf("?");e.url+=(c?"&":"?")+"_nonce="+Date.now()}return nr(e,t)}function ir(e,t){return new hi(function(n,r){function i(){l++,e[f++]().then(a,s)}function o(){++d===p?u?r(u):n():c()}function a(){l--,o()}function s(e){l--,u=u||e,o()}function c(){for(;l<t&&f<p;)i()}var u,l=0,f=0,d=0,p=e.length;c()})}function or(e){var t=e.doc&&e.doc._attachments;t&&Object.keys(t).forEach(function(e){var n=t[e];n.data=Dt(n.data,n.content_type)})}function ar(e){return/^_design/.test(e)?"_design/"+encodeURIComponent(e.slice(8)):/^_local/.test(e)?"_local/"+encodeURIComponent(e.slice(7)):encodeURIComponent(e)}function sr(e){return e._attachments&&Object.keys(e._attachments)?hi.all(Object.keys(e._attachments).map(function(t){var n=e._attachments[t];if(n.data&&"string"!=typeof n.data)return new hi(function(e){Gt(n.data,e)}).then(function(e){n.data=e})})):hi.resolve()}function cr(e){if(!e.prefix)return!1;var t=z(e.prefix).protocol;return"http"===t||"https"===t}function ur(e,t){if(cr(t)){var n=t.name.substr(t.prefix.length);e=t.prefix+encodeURIComponent(n)}var r=z(e);(r.user||r.password)&&(r.auth={username:r.user,password:r.password});var i=r.path.replace(/(^\/|\/$)/g,"").split("/");return r.db=i.pop(),-1===r.db.indexOf("%")&&(r.db=encodeURIComponent(r.db)),r.path=i.join("/"),r}function lr(e,t){return fr(e,e.db+"/"+t)}function fr(e,t){var n=e.path?"/":"";return e.protocol+"://"+e.host+(e.port?":"+e.port:"")+"/"+e.path+n+t}function dr(e){return"?"+Object.keys(e).map(function(t){return t+"="+encodeURIComponent(e[t])}).join("&")}function pr(e,t){function n(e,t,n){var r=e.ajax||{},i=xi(c(f),r,t),o=c(f.headers||{});return i.headers=xi(o,r.headers,t.headers||{}),s.constructor.listeners("debug").length&&s.constructor.emit("debug",["http",i.method,i.url]),s._ajax(i,n)}function r(e,t){return new hi(function(r,i){n(e,t,function(e,t){if(e)return i(e);r(t)})})}function i(e,t){return d(e,si(function(e){o().then(function(){return t.apply(this,e)}).catch(function(t){e.pop()(t)})}))}function o(){return e.skipSetup||e.skip_setup?hi.resolve():g||(g=r({},{method:"GET",url:l}).catch(function(e){return e&&e.status&&404===e.status?(R(404,"PouchDB is just detecting if the remote exists."),r({},{method:"PUT",url:l})):hi.reject(e)}).catch(function(e){return!(!e||!e.status||412!==e.status)||hi.reject(e)}),g.catch(function(){g=null}),g)}function a(e){return e.split("/").map(encodeURIComponent).join("/")}var s=this,u=ur(e.name,e),l=lr(u,"");e=c(e);var f=e.ajax||{};if(e.auth||u.auth){var p=e.auth||u.auth,h=p.username+":"+p.password,v=to(unescape(encodeURIComponent(h)));f.headers=f.headers||{},f.headers.Authorization="Basic "+v}s._ajax=rr;var g;li(function(){t(null,s)}),s._remote=!0,s.type=function(){return"http"},s.id=i("id",function(e){n({},{method:"GET",url:fr(u,"")},function(t,n){var r=n&&n.uuid?n.uuid+u.db:lr(u,"");e(null,r)})}),s.request=i("request",function(e,t){e.url=lr(u,e.url),n({},e,t)}),s.compact=i("compact",function(e,t){"function"==typeof e&&(t=e,e={}),e=c(e),n(e,{url:lr(u,"_compact"),method:"POST"},function(){function n(){s.info(function(r,i){i&&!i.compact_running?t(null,{ok:!0}):setTimeout(n,e.interval||200)})}n()})}),s.bulkGet=d("bulkGet",function(e,t){function r(t){var r={};e.revs&&(r.revs=!0),e.attachments&&(r.attachments=!0),e.latest&&(r.latest=!0),n(e,{url:lr(u,"_bulk_get"+dr(r)),method:"POST",body:{docs:e.docs}},t)}function i(){for(var n=Zo,r=Math.ceil(e.docs.length/n),i=0,a=new Array(r),s=0;s<r;s++){var c=m(e,["revs","attachments","latest"]);c.ajax=f,c.docs=e.docs.slice(s*n,Math.min(e.docs.length,(s+1)*n)),A(o,c,function(e){return function(n,o){a[e]=o.results,++i===r&&t(null,{results:O(a)})}}(s))}}var o=this,a=fr(u,""),s=zo[a];"boolean"!=typeof s?r(function(e,n){e?(zo[a]=!1,R(e.status,"PouchDB is just detecting if the remote supports the _bulk_get API."),i()):(zo[a]=!0,t(null,n))}):s?r(t):i()}),s._info=function(e){o().then(function(){n({},{method:"GET",url:lr(u,"")},function(t,n){if(t)return e(t);n.host=lr(u,""),e(null,n)})}).catch(e)},s.get=i("get",function(e,t,n){function i(e){function n(n){var o=i[n],s=ar(e._id)+"/"+a(n)+"?rev="+e._rev;return r(t,{method:"GET",url:lr(u,s),binary:!0}).then(function(e){return t.binary?e:new hi(function(t){Gt(e,t)})}).then(function(e){delete o.stub,delete o.length,o.data=e})}var i=e._attachments,o=i&&Object.keys(i);if(i&&o.length){return ir(o.map(function(e){return function(){return n(e)}}),5)}}function o(e){return Array.isArray(e)?hi.all(e.map(function(e){if(e.ok)return i(e.ok)})):i(e)}"function"==typeof t&&(n=t,t={}),t=c(t);var s={};t.revs&&(s.revs=!0),t.revs_info&&(s.revs_info=!0),t.latest&&(s.latest=!0),t.open_revs&&("all"!==t.open_revs&&(t.open_revs=JSON.stringify(t.open_revs)),s.open_revs=t.open_revs),t.rev&&(s.rev=t.rev),t.conflicts&&(s.conflicts=t.conflicts),e=ar(e);var l={method:"GET",url:lr(u,e+dr(s))};r(t,l).then(function(e){return hi.resolve().then(function(){if(t.attachments)return o(e)}).then(function(){n(null,e)})}).catch(n)}),s.remove=i("remove",function(e,t,r,i){var o;"string"==typeof t?(o={_id:e,_rev:t},"function"==typeof r&&(i=r,r={})):(o=e,"function"==typeof t?(i=t,r={}):(i=r,r=t));var a=o._rev||r.rev;n(r,{method:"DELETE",url:lr(u,ar(o._id))+"?rev="+a},i)}),s.getAttachment=i("getAttachment",function(e,t,r,i){"function"==typeof r&&(i=r,r={});var o=r.rev?"?rev="+r.rev:"";n(r,{method:"GET",url:lr(u,ar(e))+"/"+a(t)+o,binary:!0},i)}),s.removeAttachment=i("removeAttachment",function(e,t,r,i){n({},{method:"DELETE",url:lr(u,ar(e)+"/"+a(t))+"?rev="+r},i)}),s.putAttachment=i("putAttachment",function(e,t,r,i,o,s){"function"==typeof o&&(s=o,o=i,i=r,r=null);var c=ar(e)+"/"+a(t),l=lr(u,c);if(r&&(l+="?rev="+r),"string"==typeof i){var d;try{d=eo(i)}catch(e){return s(I(Ii,"Attachment is not a valid base64 string"))}i=d?Ct(d,o):""}n({},{headers:{"Content-Type":o},method:"PUT",url:l,processData:!1,body:i,timeout:f.timeout||6e4},s)}),s._bulkDocs=function(e,t,r){e.new_edits=t.new_edits,o().then(function(){return hi.all(e.docs.map(sr))}).then(function(){n(t,{method:"POST",url:lr(u,"_bulk_docs"),timeout:t.timeout,body:e},function(e,t){if(e)return r(e);t.forEach(function(e){e.ok=!0}),r(null,t)})}).catch(r)},s._put=function(e,t,r){o().then(function(){return sr(e)}).then(function(){n(t,{method:"PUT",url:lr(u,ar(e._id)),body:e},function(e,t){if(e)return r(e);r(null,t)})}).catch(r)},s.allDocs=i("allDocs",function(e,t){"function"==typeof e&&(t=e,e={}),e=c(e);var n,i={},o="GET";e.conflicts&&(i.conflicts=!0),e.descending&&(i.descending=!0),e.include_docs&&(i.include_docs=!0),e.attachments&&(i.attachments=!0),e.key&&(i.key=JSON.stringify(e.key)),e.start_key&&(e.startkey=e.start_key),e.startkey&&(i.startkey=JSON.stringify(e.startkey)),e.end_key&&(e.endkey=e.end_key),e.endkey&&(i.endkey=JSON.stringify(e.endkey)),void 0!==e.inclusive_end&&(i.inclusive_end=!!e.inclusive_end),void 0!==e.limit&&(i.limit=e.limit),void 0!==e.skip&&(i.skip=e.skip);var a=dr(i);void 0!==e.keys&&(o="POST",n={keys:e.keys}),r(e,{method:o,url:lr(u,"_all_docs"+a),body:n}).then(function(n){e.include_docs&&e.attachments&&e.binary&&n.rows.forEach(or),t(null,n)}).catch(t)}),s._changes=function(e){var t="batch_size"in e?e.batch_size:Bo;e=c(e),e.timeout="timeout"in e?e.timeout:"timeout"in f?f.timeout:3e4;var r,i=e.timeout?{timeout:e.timeout-5e3}:{},a=void 0!==e.limit&&e.limit;r="return_docs"in e?e.return_docs:!("returnDocs"in e)||e.returnDocs;var s=a;if(e.style&&(i.style=e.style),(e.include_docs||e.filter&&"function"==typeof e.filter)&&(i.include_docs=!0),e.attachments&&(i.attachments=!0),e.continuous&&(i.feed="longpoll"),e.conflicts&&(i.conflicts=!0),e.descending&&(i.descending=!0),"heartbeat"in e?e.heartbeat&&(i.heartbeat=e.heartbeat):e.continuous&&(i.heartbeat=1e4),e.filter&&"string"==typeof e.filter&&(i.filter=e.filter),e.view&&"string"==typeof e.view&&(i.filter="_view",i.view=e.view),e.query_params&&"object"==typeof e.query_params)for(var l in e.query_params)e.query_params.hasOwnProperty(l)&&(i[l]=e.query_params[l]);var d,p="GET";e.doc_ids?(i.filter="_doc_ids",p="POST",d={doc_ids:e.doc_ids}):e.selector&&(i.filter="_selector",p="POST",d={selector:e.selector});var h,v,g=function(r,c){if(!e.aborted){i.since=r,"object"==typeof i.since&&(i.since=JSON.stringify(i.since)),e.descending?a&&(i.limit=s):i.limit=!a||s>t?t:s;var l={method:p,url:lr(u,"_changes"+dr(i)),timeout:e.timeout,body:d};v=r,e.aborted||o().then(function(){h=n(e,l,c)}).catch(c)}},m={results:[]},y=function(n,i){if(!e.aborted){var o=0;if(i&&i.results){o=i.results.length,m.last_seq=i.last_seq;({}).query=e.query_params,i.results=i.results.filter(function(t){s--;var n=D(e)(t);return n&&(e.include_docs&&e.attachments&&e.binary&&or(t),r&&m.results.push(t),e.onChange(t)),n})}else if(n)return e.aborted=!0,void e.complete(n);i&&i.last_seq&&(v=i.last_seq);var c=a&&s<=0||i&&o<t||e.descending;(!e.continuous||a&&s<=0)&&c?e.complete(null,m):li(function(){g(v,y)})}};return g(e.since||0,y),{cancel:function(){e.aborted=!0,h&&h.abort()}}},s.revsDiff=i("revsDiff",function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,{method:"POST",url:lr(u,"_revs_diff"),body:e},r)}),s._close=function(e){e()},s._destroy=function(e,t){n(e,{url:lr(u,""),method:"DELETE"},function(e,n){if(e&&e.status&&404!==e.status)return t(e);t(null,n)})}}function hr(e){this.status=400,this.name="query_parse_error",this.message=e,this.error=!0;try{Error.captureStackTrace(this,hr)}catch(e){}}function vr(e){this.status=404,this.name="not_found",this.message=e,this.error=!0;try{Error.captureStackTrace(this,vr)}catch(e){}}function gr(e){this.status=500,this.name="invalid_value",this.message=e,this.error=!0;try{Error.captureStackTrace(this,gr)}catch(e){}}function mr(e,t){return t&&e.then(function(e){li(function(){t(null,e)})},function(e){li(function(){t(e)})}),e}function yr(e){return si(function(t){var n=t.pop(),r=e.apply(this,t);return"function"==typeof n&&mr(r,n),r})}function br(e,t){return e.then(function(e){return t().then(function(){return e})},function(e){return t().then(function(){throw e})})}function Ar(e,t){return function(){var n=arguments,r=this;return e.add(function(){return t.apply(r,n)})}}function wr(e){var t=new mi(e),n=new Array(t.size),r=-1;return t.forEach(function(e){n[++r]=e}),n}function xr(e){var t=new Array(e.size),n=-1;return e.forEach(function(e,r){t[++n]=r}),t}function Er(e){return new gr("builtin "+e+" function requires map values to be numbers or number arrays")}function _r(e){for(var t=0,n=0,r=e.length;n<r;n++){var i=e[n];if("number"!=typeof i){if(!Array.isArray(i))throw Er("_sum");t="number"==typeof t?[t]:t;for(var o=0,a=i.length;o<a;o++){var s=i[o];if("number"!=typeof s)throw Er("_sum");void 0===t[o]?t.push(s):t[o]+=s}}else"number"==typeof t?t+=i:t[0]+=i}return t}function kr(e,t){return P("return ("+e.replace(/;\s*$/,"")+");",{emit:t,sum:_r,log:Jo,isArray:Wo,toJSON:qo})}function Sr(){this.promise=new hi(function(e){e()})}function jr(e){if(!e)return"undefined";switch(typeof e){case"function":case"string":return e.toString();default:return JSON.stringify(e)}}function Rr(e,t){return jr(e)+jr(t)+"undefined"}function Nr(e,t,n,r,i,o){var a,s=Rr(n,r);if(!i&&(a=e._cachedViews=e._cachedViews||{},a[s]))return a[s];var c=e.info().then(function(c){function u(e){e.views=e.views||{};var n=t;-1===n.indexOf("/")&&(n=t+"/"+t);var r=e.views[n]=e.views[n]||{};if(!r[l])return r[l]=!0,e}var l=c.db_name+"-mrview-"+(i?"temp":Wt(s));return J(e,"_local/"+o,u).then(function(){return e.registerDependentDatabase(l).then(function(t){var i=t.db;i.auto_compaction=!0;var o={name:l,db:i,sourceDB:e,adapter:e.adapter,mapFun:n,reduceFun:r};return o.db.get("_local/lastSeq").catch(function(e){if(404!==e.status)throw e}).then(function(e){return o.seq=e?e.seq:0,a&&o.db.once("destroyed",function(){delete a[s]}),o})})})});return a&&(a[s]=c),c}function Ir(e){return-1===e.indexOf("/")?[e,e]:e.split("/")}function Tr(e){return 1===e.length&&/^1-/.test(e[0].rev)}function Cr(e,t){try{e.emit("error",t)}catch(e){k("error","The user's map/reduce function threw an uncaught error.\nYou can debug this error by doing:\nmyDatabase.on('error', function (err) { debugger; });\nPlease double-check your map/reduce function."),k("error",t)}}function Dr(e,t){if("function"==typeof e&&2===e.length){var n=e;return function(e){return n(e,t)}}return kr(e.toString(),t)}function Or(e){return Qo[e]?Qo[e]:kr(e.toString())}function Ur(e,t){var n=e.views&&e.views[t];if("string"!=typeof n.map)throw new vr("ddoc "+e._id+" has no string view named "+t+", instead found object of type: "+typeof n.map)}function Mr(e,t,n){return Xo.query.call(this,e,t,n)}function Gr(e){return Xo.viewCleanup.call(this,e)}function Lr(e){return/^1-/.test(e)}function Br(e,t,n){return!e._attachments||!e._attachments[n]||e._attachments[n].digest!==t._attachments[n].digest}function Zr(e,t){var n=Object.keys(t._attachments);return hi.all(n.map(function(n){return e.getAttachment(t._id,n,{rev:t._rev})}))}function zr(e,t,n){var r=G(t)&&!G(e),i=Object.keys(n._attachments);return r?e.get(n._id).then(function(r){return hi.all(i.map(function(i){return Br(r,n,i)?t.getAttachment(n._id,i):e.getAttachment(r._id,i)}))}).catch(function(e){if(404!==e.status)throw e;return Zr(t,n)}):Zr(t,n)}function Pr(e){var t=[];return Object.keys(e).forEach(function(n){e[n].missing.forEach(function(e){t.push({id:n,rev:e})})}),{docs:t,revs:!0,latest:!0}}function Jr(e,t,n,r){function i(){var i=Pr(n);if(i.docs.length)return e.bulkGet(i).then(function(n){if(r.cancelled)throw new Error("cancelled");return hi.all(n.results.map(function(n){return hi.all(n.docs.map(function(n){var r=n.ok;return n.error&&(d=!1),r&&r._attachments?zr(t,e,r).then(function(e){var t=Object.keys(r._attachments);return e.forEach(function(e,n){var i=r._attachments[t[n]];delete i.stub,delete i.length,i.data=e}),r}):r}))})).then(function(e){f=f.concat(O(e).filter(Boolean))})})}function o(e){return e._attachments&&Object.keys(e._attachments).length>0}function a(e){return e._conflicts&&e._conflicts.length>0}function s(t){return e.allDocs({keys:t,include_docs:!0,conflicts:!0}).then(function(e){if(r.cancelled)throw new Error("cancelled");e.rows.forEach(function(e){e.deleted||!e.doc||!Lr(e.value.rev)||o(e.doc)||a(e.doc)||(e.doc._conflicts&&delete e.doc._conflicts,f.push(e.doc),delete n[e.id])})})}function u(){var e=Object.keys(n).filter(function(e){var t=n[e].missing;return 1===t.length&&Lr(t[0])});if(e.length>0)return s(e)}function l(){return{ok:d,docs:f}}n=c(n);var f=[],d=!0;return hi.resolve().then(u).then(i).then(l)}function Wr(e,t,n,r,i){return e.get(t).catch(function(n){if(404===n.status)return"http"!==e.adapter&&"https"!==e.adapter||R(404,"PouchDB is just checking if a remote checkpoint exists."),{session_id:r,_id:t,history:[],replicator:$o,version:Ko};throw n}).then(function(o){if(!i.cancelled&&o.last_seq!==n)return o.history=(o.history||[]).filter(function(e){return e.session_id!==r}),o.history.unshift({last_seq:n,session_id:r}),o.history=o.history.slice(0,ea),o.version=Ko,o.replicator=$o,o.session_id=r,o.last_seq=n,e.put(o).catch(function(o){if(409===o.status)return Wr(e,t,n,r,i);throw o})})}function qr(e,t,n,r){this.src=e,this.target=t,this.id=n,this.returnValue=r}function Fr(e,t){return e.session_id===t.session_id?{last_seq:e.last_seq,history:e.history}:Yr(e.history,t.history)}function Yr(e,t){var n=e[0],r=e.slice(1),i=t[0],o=t.slice(1);return n&&0!==t.length?Vr(n.session_id,t)?{last_seq:n.last_seq,history:e}:Vr(i.session_id,r)?{last_seq:i.last_seq,history:o}:Yr(r,o):{last_seq:ta,history:[]}}function Vr(e,t){var n=t[0],r=t.slice(1);return!(!e||0===t.length)&&(e===n.session_id||Vr(e,r))}function Qr(e){return"number"==typeof e.status&&4===Math.floor(e.status/100)}function Xr(e,t,n,r){if(!1===e.retry)return t.emit("error",n),void t.removeAllListeners();if("function"!=typeof e.back_off_function&&(e.back_off_function=j),t.emit("requestError",n),"active"===t.state||"pending"===t.state){t.emit("paused",n),t.state="stopped";var i=function(){e.current_back_off=ra},o=function(){t.removeListener("active",i)};t.once("paused",o),t.once("active",i)}e.current_back_off=e.current_back_off||ra,e.current_back_off=e.back_off_function(e.current_back_off),setTimeout(r,e.current_back_off)}function Hr(e){return Object.keys(e).sort(qe).reduce(function(t,n){return t[n]=e[n],t},{})}function Kr(e,t,n){var r=n.doc_ids?n.doc_ids.sort(qe):"",i=n.filter?n.filter.toString():"",o="",a="",s="";return n.selector&&(s=JSON.stringify(n.selector)),n.filter&&n.query_params&&(o=JSON.stringify(Hr(n.query_params))),n.filter&&"_view"===n.filter&&(a=n.view.toString()),hi.all([e.id(),t.id()]).then(function(e){var t=e[0]+e[1]+i+a+o+r+s;return new hi(function(e){Jt(t,e)})}).then(function(e){return"_local/"+(e=e.replace(/\//g,".").replace(/\+/g,"_"))})}function $r(e,t,n,r,i){function o(){return E?hi.resolve():Kr(e,t,n).then(function(n){x=n,E=new qr(e,t,x,r)})}function a(){if(L=[],0!==w.docs.length){var e=w.docs,o={timeout:n.timeout};return t.bulkDocs({docs:e,new_edits:!1},o).then(function(t){if(r.cancelled)throw h(),new Error("cancelled");var n=Object.create(null);t.forEach(function(e){e.error&&(n[e.id]=e)});var o=Object.keys(n).length;i.doc_write_failures+=o,i.docs_written+=e.length-o,e.forEach(function(e){var t=n[e._id];if(t){if(i.errors.push(t),"unauthorized"!==t.name&&"forbidden"!==t.name)throw t;r.emit("denied",c(t))}else L.push(e)})},function(t){throw i.doc_write_failures+=e.length,t})}}function s(){if(w.error)throw new Error("There was a problem getting docs.");i.last_seq=N=w.seq;var e=c(i);return L.length&&(e.docs=L,r.emit("change",e)),S=!0,E.writeCheckpoint(w.seq,B).then(function(){if(S=!1,r.cancelled)throw h(),new Error("cancelled");w=void 0,y()}).catch(function(e){throw A(e),e})}function u(){var e={};return w.changes.forEach(function(t){"_user/"!==t.id&&(e[t.id]=t.changes.map(function(e){return e.rev}))}),t.revsDiff(e).then(function(e){if(r.cancelled)throw h(),new Error("cancelled");w.diffs=e})}function l(){return Jr(e,t,w.diffs,r).then(function(e){w.error=!e.ok,e.docs.forEach(function(e){delete w.diffs[e._id],i.docs_read++,w.docs.push(e)})})}function f(){if(!r.cancelled&&!w){if(0===_.length)return void d(!0);w=_.shift(),u().then(l).then(a).then(s).then(f).catch(function(e){p("batch processing terminated with error",e)})}}function d(e){if(0===k.changes.length)return void(0!==_.length||w||((T&&Z.live||j)&&(r.state="pending",r.emit("paused")),j&&h()));(e||j||k.changes.length>=C)&&(_.push(k),k={seq:0,changes:[],docs:[]},"pending"!==r.state&&"stopped"!==r.state||(r.state="active",r.emit("active")),f())}function p(e,t){R||(t.message||(t.message=e),i.ok=!1,i.status="aborting",_=[],k={seq:0,changes:[],docs:[]},h(t))}function h(o){R||r.cancelled&&(i.status="cancelled",S)||(i.status=i.status||"complete",i.end_time=new Date,i.last_seq=N,R=!0,o?(o=I(o),o.result=i,"unauthorized"===o.name||"forbidden"===o.name?(r.emit("error",o),r.removeAllListeners()):Xr(n,r,o,function(){$r(e,t,n,r)})):(r.emit("complete",i),r.removeAllListeners()))}function v(e){if(r.cancelled)return h();D(n)(e)&&(k.seq=e.seq,k.changes.push(e),d(0===_.length&&Z.live))}function g(e){if(U=!1,r.cancelled)return h();if(e.results.length>0)Z.since=e.last_seq,y(),d(!0);else{var t=function(){T?(Z.live=!0,y()):j=!0,d(!0)};w||0!==e.results.length?t():(S=!0,E.writeCheckpoint(e.last_seq,B).then(function(){S=!1,i.last_seq=N=e.last_seq,t()}).catch(A))}}function m(e){if(U=!1,r.cancelled)return h();p("changes rejected",e)}function y(){function t(){o.cancel()}function i(){r.removeListener("cancel",t)}if(!U&&!j&&_.length<O){U=!0,r._changes&&(r.removeListener("cancel",r._abortChanges),r._changes.cancel()),r.once("cancel",t);var o=e.changes(Z).on("change",v);o.then(i,i),o.then(g).catch(m),n.retry&&(r._changes=o,r._abortChanges=t)}}function b(){o().then(function(){return r.cancelled?void h():E.getCheckpoint().then(function(e){N=e,Z={since:N,limit:C,batch_size:C,style:"all_docs",doc_ids:M,selector:G,return_docs:!0},n.filter&&("string"!=typeof n.filter?Z.include_docs=!0:Z.filter=n.filter),"heartbeat"in n&&(Z.heartbeat=n.heartbeat),"timeout"in n&&(Z.timeout=n.timeout),n.query_params&&(Z.query_params=n.query_params),n.view&&(Z.view=n.view),y()})}).catch(function(e){p("getCheckpoint rejected with ",e)})}function A(e){S=!1,p("writeCheckpoint completed with error",e)}var w,x,E,_=[],k={seq:0,changes:[],docs:[]},S=!1,j=!1,R=!1,N=0,T=n.continuous||n.live||!1,C=n.batch_size||100,O=n.batches_limit||10,U=!1,M=n.doc_ids,G=n.selector,L=[],B=F();i=i||{ok:!0,start_time:new Date,docs_read:0,docs_written:0,doc_write_failures:0,errors:[]};var Z={};if(r.ready(e,t),r.cancelled)return void h();r._addedListeners||(r.once("cancel",h),"function"==typeof n.complete&&(r.once("error",n.complete),r.once("complete",function(e){n.complete(null,e)})),r._addedListeners=!0),void 0===n.since?b():o().then(function(){return S=!0,E.writeCheckpoint(n.since,B)}).then(function(){if(S=!1,r.cancelled)return void h();N=n.since,b()}).catch(A)}function ei(){ci.EventEmitter.call(this),this.cancelled=!1,this.state="pending";var e=this,t=new hi(function(t,n){e.once("complete",t),e.once("error",n)});e.then=function(e,n){return t.then(e,n)},e.catch=function(e){return t.catch(e)},e.catch(function(){})}function ti(e,t){var n=t.PouchConstructor;return"string"==typeof e?new n(e,t):e}function ni(e,t,n,r){if("function"==typeof n&&(r=n,n={}),void 0===n&&(n={}),n.doc_ids&&!Array.isArray(n.doc_ids))throw I(Di,"`doc_ids` filter parameter is not a list.");n.complete=r,n=c(n),n.continuous=n.continuous||n.live,n.retry="retry"in n&&n.retry,n.PouchConstructor=n.PouchConstructor||this;var i=new ei(n);return $r(ti(e,n),ti(t,n),n,i),i}function ri(e,t,n,r){return"function"==typeof n&&(r=n,n={}),void 0===n&&(n={}),n=c(n),n.PouchConstructor=n.PouchConstructor||this,e=ti(e,n),t=ti(t,n),new ii(e,t,n,r)}function ii(e,t,n,r){function i(e){h.emit("change",{direction:"pull",change:e})}function o(e){h.emit("change",{direction:"push",change:e})}function a(e){h.emit("denied",{direction:"push",doc:e})}function s(e){h.emit("denied",{direction:"pull",doc:e})}function c(){h.pushPaused=!0,h.pullPaused&&h.emit("paused")}function u(){h.pullPaused=!0,h.pushPaused&&h.emit("paused")}function l(){h.pushPaused=!1,h.pullPaused&&h.emit("active",{direction:"push"})}function f(){h.pullPaused=!1,h.pushPaused&&h.emit("active",{direction:"pull"})}function d(e){return function(t,n){var r="change"===t&&(n===i||n===o),d="denied"===t&&(n===s||n===a),p="paused"===t&&(n===u||n===c),v="active"===t&&(n===f||n===l);(r||d||p||v)&&(t in m||(m[t]={}),m[t][e]=!0,2===Object.keys(m[t]).length&&h.removeAllListeners(t))}}function p(e,t,n){-1==e.listeners(t).indexOf(n)&&e.on(t,n)}var h=this;this.canceled=!1;var v=n.push?xi({},n,n.push):n,g=n.pull?xi({},n,n.pull):n;this.push=ni(e,t,v),this.pull=ni(t,e,g),this.pushPaused=!0,this.pullPaused=!0;var m={};n.live&&(this.push.on("complete",h.pull.cancel.bind(h.pull)),this.pull.on("complete",h.push.cancel.bind(h.push))),this.on("newListener",function(e){"change"===e?(p(h.pull,"change",i),p(h.push,"change",o)):"denied"===e?(p(h.pull,"denied",s),p(h.push,"denied",a)):"active"===e?(p(h.pull,"active",f),p(h.push,"active",l)):"paused"===e&&(p(h.pull,"paused",u),p(h.push,"paused",c))}),this.on("removeListener",function(e){"change"===e?(h.pull.removeListener("change",i),h.push.removeListener("change",o)):"denied"===e?(h.pull.removeListener("denied",s),h.push.removeListener("denied",a)):"active"===e?(h.pull.removeListener("active",f),h.push.removeListener("active",l)):"paused"===e&&(h.pull.removeListener("paused",u),h.push.removeListener("paused",c))}),this.pull.on("removeListener",d("pull")),this.push.on("removeListener",d("push"));var y=hi.all([this.push,this.pull]).then(function(e){var t={push:e[0],pull:e[1]};return h.emit("complete",t),r&&r(null,t),h.removeAllListeners(),t},function(e){if(h.cancel(),r?r(e):h.emit("error",e),h.removeAllListeners(),r)throw e});this.then=function(e,t){return y.then(e,t)},this.catch=function(e){return y.catch(e)}}function oi(e){e.replicate=ni,e.sync=ri,Object.defineProperty(e.prototype,"replicate",{get:function(){var e=this;return{from:function(t,n,r){return e.constructor.replicate(t,e,n,r)},to:function(t,n,r){return e.constructor.replicate(e,t,n,r)}}}}),e.prototype.sync=function(e,t,n){return this.constructor.sync(this,e,t,n)}}var ai=r(n(36)),si=r(n(9)),ci=n(34),ui=r(n(35)),li=r(n(6)),fi=r(n(32)),di=r(n(42)),pi=r(n(71)),hi="function"==typeof Promise?Promise:ai,vi=Function.prototype.toString,gi=vi.call(Object);v.prototype.get=function(e){var t=p(e);return this._store[t]},v.prototype.set=function(e,t){var n=p(e);return this._store[n]=t,!0},v.prototype.has=function(e){return p(e)in this._store},v.prototype.delete=function(e){var t=p(e),n=t in this._store;return delete this._store[t],n},v.prototype.forEach=function(e){for(var t=Object.keys(this._store),n=0,r=t.length;n<r;n++){var i=t[n],o=this._store[i];i=h(i),e(o,i)}},Object.defineProperty(v.prototype,"size",{get:function(){return Object.keys(this._store).length}}),g.prototype.add=function(e){return this._store.set(e,!0)},g.prototype.has=function(e){return this._store.has(e)},g.prototype.forEach=function(e){this._store.forEach(function(t,n){e(n)})},Object.defineProperty(g.prototype,"size",{get:function(){return this._store.size}});var mi,yi;!function(){if("undefined"==typeof Symbol||"undefined"==typeof Map||"undefined"==typeof Set)return!1;var e=Object.getOwnPropertyDescriptor(Map,Symbol.species);return e&&"get"in e&&Map[Symbol.species]===Map}()?(mi=g,yi=v):(mi=Set,yi=Map);var bi,Ai=6;if(w())bi=!1;else try{localStorage.setItem("_pouch_check_localstorage",1),bi=!!localStorage.getItem("_pouch_check_localstorage")}catch(e){bi=!1}ui(_,ci.EventEmitter),_.prototype.addListener=function(e,t,n,r){function i(){function e(){a=!1}if(o._listeners[t]){if(a)return void(a="waiting");a=!0;var s=m(r,["style","include_docs","attachments","conflicts","filter","doc_ids","view","since","query_params","binary"]);n.changes(s).on("change",function(e){e.seq>r.since&&!r.cancelled&&(r.since=e.seq,r.onChange(e))}).on("complete",function(){"waiting"===a&&li(i),a=!1}).on("error",e)}}if(!this._listeners[t]){var o=this,a=!1;this._listeners[t]=i,this.on(e,i)}},_.prototype.removeListener=function(e,t){t in this._listeners&&(ci.EventEmitter.prototype.removeListener.call(this,e,this._listeners[t]),delete this._listeners[t])},_.prototype.notifyLocalWindows=function(e){w()?chrome.storage.local.set({dbName:e}):x()&&(localStorage[e]="a"===localStorage[e]?"b":"a")},_.prototype.notify=function(e){this.emit(e),this.notifyLocalWindows(e)};var wi;wi="function"==typeof Object.assign?Object.assign:function(e){for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t};var xi=wi;ui(N,Error),N.prototype.toString=function(){return JSON.stringify({status:this.status,name:this.name,message:this.message,reason:this.reason})};var Ei=(new N(401,"unauthorized","Name or password is incorrect."),new N(400,"bad_request","Missing JSON list of 'docs'")),_i=new N(404,"not_found","missing"),ki=new N(409,"conflict","Document update conflict"),Si=new N(400,"bad_request","_id field must contain a string"),ji=new N(412,"missing_id","_id is required for puts"),Ri=new N(400,"bad_request","Only reserved document ids may start with underscore."),Ni=(new N(412,"precondition_failed","Database not open"),new N(500,"unknown_error","Database encountered an unknown error")),Ii=new N(500,"badarg","Some query argument is invalid"),Ti=(new N(400,"invalid_request","Request was invalid"),new N(400,"query_parse_error","Some query parameter is invalid")),Ci=new N(500,"doc_validation","Bad special document member"),Di=new N(400,"bad_request","Something wrong with the request"),Oi=new N(400,"bad_request","Document must be a JSON object"),Ui=(new N(404,"not_found","Database not found"),new N(500,"indexed_db_went_bad","unknown")),Mi=new N(500,"web_sql_went_bad","unknown"),Gi=(new N(500,"levelDB_went_went_bad","unknown"),new N(403,"forbidden","Forbidden by design doc validate_doc_update function"),new N(400,"bad_request","Invalid rev format")),Li=(new N(412,"file_exists","The database could not be created, the file already exists."),new N(412,"missing_stub","A pre-existing attachment stub wasn't found")),Bi=(new N(413,"invalid_url","Provided URL is invalid"),U.name);var Zi=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],zi="queryKey",Pi=/(?:^|&)([^&=]*)=?([^&]*)/g,Ji=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Wi="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");ui(ve,ci.EventEmitter),ve.prototype.cancel=function(){this.isCancelled=!0,this.db.taskqueue.isReady&&this.emit("cancel")},ve.prototype.validateChanges=function(e){var t=e.complete,n=this;Ne._changesFilterPlugin?Ne._changesFilterPlugin.validate(e,function(r){if(r)return t(r);n.doChanges(e)}):n.doChanges(e)},ve.prototype.doChanges=function(e){var t=this,n=e.complete;if(e=c(e),"live"in e&&!("continuous"in e)&&(e.continuous=e.live),e.processChange=ge,"latest"===e.since&&(e.since="now"),e.since||(e.since=0),"now"===e.since)return void this.db.info().then(function(r){if(t.isCancelled)return void n(null,{status:"cancelled"});e.since=r.update_seq,t.doChanges(e)},n);if(Ne._changesFilterPlugin){if(Ne._changesFilterPlugin.normalize(e),Ne._changesFilterPlugin.shouldFilter(this,e))return Ne._changesFilterPlugin.filter(this,e)}else["doc_ids","filter","selector","view"].forEach(function(t){t in e&&k("warn",'The "'+t+'" option was passed in to changes/replicate, but pouchdb-changes-filter plugin is not installed, so it was ignored. Please install the plugin to enable filtering.')});"descending"in e||(e.descending=!1),e.limit=0===e.limit?1:e.limit,e.complete=n;var r=this.db._changes(e);if(r&&"function"==typeof r.cancel){var i=t.cancel;t.cancel=si(function(e){r.cancel(),i.apply(this,e)})}},ui(ke,ci.EventEmitter),ke.prototype.post=d("post",function(e,t,n){if("function"==typeof t&&(n=t,t={}),"object"!=typeof e||Array.isArray(e))return n(I(Oi));this.bulkDocs({docs:[e]},t,ye(n))}),ke.prototype.put=d("put",function(e,t,n){return"function"==typeof t&&(n=t,t={}),"object"!=typeof e||Array.isArray(e)?n(I(Oi)):(M(e._id),de(e._id)&&"function"==typeof this._putLocal?e._deleted?this._removeLocal(e,n):this._putLocal(e,n):void("function"==typeof this._put&&!1!==t.new_edits?this._put(e,t,n):this.bulkDocs({docs:[e]},t,ye(n))))}),ke.prototype.putAttachment=d("putAttachment",function(e,t,n,r,i){function o(e){var n="_rev"in e?parseInt(e._rev,10):0;return e._attachments=e._attachments||{},e._attachments[t]={content_type:i,data:r,revpos:++n},a.put(e)}var a=this;return"function"==typeof i&&(i=r,r=n,n=null),void 0===i&&(i=r,r=n,n=null),i||k("warn","Attachment",t,"on document",e,"is missing content_type"),a.get(e).then(function(e){if(e._rev!==n)throw I(ki);return o(e)},function(t){if(t.reason===_i.message)return o({_id:e});throw t})}),ke.prototype.removeAttachment=d("removeAttachment",function(e,t,n,r){var i=this;i.get(e,function(e,o){return e?void r(e):o._rev!==n?void r(I(ki)):o._attachments?(delete o._attachments[t],0===Object.keys(o._attachments).length&&delete o._attachments,void i.put(o,r)):r()})}),ke.prototype.remove=d("remove",function(e,t,n,r){var i;"string"==typeof t?(i={_id:e,_rev:t},"function"==typeof n&&(r=n,n={})):(i=e,"function"==typeof t?(r=t,n={}):(r=n,n=t)),n=n||{},n.was_delete=!0;var o={_id:i._id,_rev:i._rev||n.rev};if(o._deleted=!0,de(o._id)&&"function"==typeof this._removeLocal)return this._removeLocal(i,r);this.bulkDocs({docs:[o]},n,ye(r))}),ke.prototype.revsDiff=d("revsDiff",function(e,t,n){function r(e,t){s.has(e)||s.set(e,{missing:[]}),s.get(e).missing.push(t)}function i(t,n){var i=e[t].slice(0);V(n,function(e,n,o,a,s){var c=n+"-"+o,u=i.indexOf(c);-1!==u&&(i.splice(u,1),"available"!==s.status&&r(t,c))}),i.forEach(function(e){r(t,e)})}"function"==typeof t&&(n=t,t={});var o=Object.keys(e);if(!o.length)return n(null,{});var a=0,s=new yi;o.map(function(t){this._getRevisionTree(t,function(r,c){if(r&&404===r.status&&"missing"===r.message)s.set(t,{missing:e[t]});else{if(r)return n(r);i(t,c)}if(++a===o.length){var u={};return s.forEach(function(e,t){u[t]=e}),n(null,u)}})},this)}),ke.prototype.bulkGet=d("bulkGet",function(e,t){A(this,e,t)}),ke.prototype.compactDocument=d("compactDocument",function(e,t,n){var r=this;this._getRevisionTree(e,function(i,o){if(i)return n(i);var a=we(o),s=[],c=[];Object.keys(a).forEach(function(e){a[e]>t&&s.push(e)}),V(o,function(e,t,n,r,i){var o=t+"-"+n;"available"===i.status&&-1!==s.indexOf(o)&&c.push(o)}),r._doCompaction(e,c,n)})}),ke.prototype.compact=d("compact",function(e,t){"function"==typeof e&&(t=e,e={});var n=this;e=e||{},n._compactionQueue=n._compactionQueue||[],n._compactionQueue.push({opts:e,callback:t}),1===n._compactionQueue.length&&Ee(n)}),ke.prototype._compact=function(e,t){function n(e){a.push(i.compactDocument(e.id,0))}function r(e){var n=e.last_seq;hi.all(a).then(function(){return J(i,"_local/compaction",function(e){return(!e.last_seq||e.last_seq<n)&&(e.last_seq=n,e)})}).then(function(){t(null,{ok:!0})}).catch(t)}var i=this,o={return_docs:!1,last_seq:e.last_seq||0},a=[];i.changes(o).on("change",n).on("complete",r).on("error",t)},ke.prototype.get=d("get",function(e,t,n){function r(){var r=[],a=i.length;if(!a)return n(null,r);i.forEach(function(i){o.get(e,{rev:i,revs:t.revs,latest:t.latest,attachments:t.attachments},function(e,t){if(e)r.push({missing:i});else{for(var o,s=0,c=r.length;s<c;s++)if(r[s].ok&&r[s].ok._rev===t._rev){o=!0;break}o||r.push({ok:t})}--a||n(null,r)})})}if("function"==typeof t&&(n=t,t={}),"string"!=typeof e)return n(I(Si));if(de(e)&&"function"==typeof this._getLocal)return this._getLocal(e,n);var i=[],o=this;if(!t.open_revs)return this._get(e,t,function(e,r){if(e)return n(e);var i=r.doc,a=r.metadata,s=r.ctx;if(t.conflicts){var c=H(a);c.length&&(i._conflicts=c)}if(fe(a,i._rev)&&(i._deleted=!0),t.revs||t.revs_info){for(var u=i._rev.split("-"),l=parseInt(u[0],10),f=u[1],d=$(a.rev_tree),p=null,h=0;h<d.length;h++){var v=d[h],g=v.ids.map(function(e){return e.id}).indexOf(f);(g===l-1||!p&&-1!==g)&&(p=v)}var m=p.ids.map(function(e){return e.id}).indexOf(i._rev.split("-")[1])+1,y=p.ids.length-m;if(p.ids.splice(m,y),p.ids.reverse(),t.revs&&(i._revisions={start:p.pos+p.ids.length-1,ids:p.ids.map(function(e){return e.id})}),t.revs_info){var b=p.pos+p.ids.length;i._revs_info=p.ids.map(function(e){return b--,{rev:b+"-"+e.id,status:e.opts.status}})}}if(t.attachments&&i._attachments){var A=i._attachments,w=Object.keys(A).length;if(0===w)return n(null,i);Object.keys(A).forEach(function(e){this._getAttachment(i._id,e,A[e],{rev:i._rev,binary:t.binary,ctx:s},function(t,r){var o=i._attachments[e];o.data=r,delete o.stub,delete o.length,--w||n(null,i)})},o)}else{if(i._attachments)for(var x in i._attachments)i._attachments.hasOwnProperty(x)&&(i._attachments[x].stub=!0);n(null,i)}});if("all"===t.open_revs)this._getRevisionTree(e,function(e,t){if(e)return n(e);i=X(t).map(function(e){return e.rev}),r()});else{if(!Array.isArray(t.open_revs))return n(I(Ni,"function_clause"));i=t.open_revs;for(var a=0;a<i.length;a++){var s=i[a];if("string"!=typeof s||!/^\d+-/.test(s))return n(I(Gi))}r()}}),ke.prototype.getAttachment=d("getAttachment",function(e,t,n,r){var i=this;n instanceof Function&&(r=n,n={}),this._get(e,n,function(o,a){return o?r(o):a.doc._attachments&&a.doc._attachments[t]?(n.ctx=a.ctx,n.binary=!0,i._getAttachment(e,t,a.doc._attachments[t],n,r),void 0):r(I(_i))})}),ke.prototype.allDocs=d("allDocs",function(e,t){if("function"==typeof e&&(t=e,e={}),e.skip=void 0!==e.skip?e.skip:0,e.start_key&&(e.startkey=e.start_key),e.end_key&&(e.endkey=e.end_key),"keys"in e){if(!Array.isArray(e.keys))return t(new TypeError("options.keys must be an array"));var n=["startkey","endkey","key"].filter(function(t){return t in e})[0];if(n)return void t(I(Ti,"Query parameter `"+n+"` is not compatible with multi-get"));if(!G(this))return xe(this,e,t)}return this._allDocs(e,t)}),ke.prototype.changes=function(e,t){return"function"==typeof e&&(t=e,e={}),new ve(this,e,t)},ke.prototype.close=d("close",function(e){return this._closed=!0,this.emit("closed"),this._close(e)}),ke.prototype.info=d("info",function(e){var t=this;this._info(function(n,r){if(n)return e(n);r.db_name=r.db_name||t.name,r.auto_compaction=!(!t.auto_compaction||G(t)),r.adapter=t.adapter,e(null,r)})}),ke.prototype.id=d("id",function(e){return this._id(e)}),ke.prototype.type=function(){return"function"==typeof this._type?this._type():this.adapter},ke.prototype.bulkDocs=d("bulkDocs",function(e,t,n){if("function"==typeof t&&(n=t,t={}),t=t||{},Array.isArray(e)&&(e={docs:e}),!e||!e.docs||!Array.isArray(e.docs))return n(I(Ei));for(var r=0;r<e.docs.length;++r)if("object"!=typeof e.docs[r]||Array.isArray(e.docs[r]))return n(I(Oi));var i;if(e.docs.forEach(function(e){e._attachments&&Object.keys(e._attachments).forEach(function(t){i=i||_e(t),e._attachments[t].content_type||k("warn","Attachment",t,"on document",e._id,"is missing content_type")})}),i)return n(I(Di,i));"new_edits"in t||(t.new_edits=!("new_edits"in e)||e.new_edits);var o=this;t.new_edits||G(o)||e.docs.sort(Ae),be(e.docs);var a=e.docs.map(function(e){return e._id});return this._bulkDocs(e,t,function(e,r){if(e)return n(e);if(t.new_edits||(r=r.filter(function(e){return e.error})),!G(o))for(var i=0,s=r.length;i<s;i++)r[i].id=r[i].id||a[i];n(null,r)})}),ke.prototype.registerDependentDatabase=d("registerDependentDatabase",function(e,t){function n(t){return t.dependentDbs=t.dependentDbs||{},!t.dependentDbs[e]&&(t.dependentDbs[e]=!0,t)}var r=new this.constructor(e,this.__opts);J(this,"_local/_pouch_dependentDbs",n).then(function(){t(null,{db:r})}).catch(t)}),ke.prototype.destroy=d("destroy",function(e,t){function n(){r._destroy(e,function(e,n){if(e)return t(e);r._destroyed=!0,r.emit("destroyed"),t(null,n||{ok:!0})})}"function"==typeof e&&(t=e,e={});var r=this,i=!("use_prefix"in r)||r.use_prefix;if(G(r))return n();r.get("_local/_pouch_dependentDbs",function(e,o){if(e)return 404!==e.status?t(e):n();var a=o.dependentDbs,s=r.constructor,c=Object.keys(a).map(function(e){var t=i?e.replace(new RegExp("^"+s.prefix),""):e;return new s(t,r.__opts).destroy()});hi.all(c).then(n,t)})}),Se.prototype.execute=function(){var e;if(this.failed)for(;e=this.queue.shift();)e(this.failed);else for(;e=this.queue.shift();)e()},Se.prototype.fail=function(e){this.failed=e,this.execute()},Se.prototype.ready=function(e){this.isReady=!0,this.db=e,this.execute()},Se.prototype.addTask=function(e){this.queue.push(e),this.failed&&this.execute()},ui(Ne,ke),Ne.adapters={},Ne.preferredAdapters=[],Ne.prefix="_pouch_";var qi=new ci.EventEmitter;!function(e){Object.keys(ci.EventEmitter.prototype).forEach(function(t){"function"==typeof ci.EventEmitter.prototype[t]&&(e[t]=qi[t].bind(qi))});var t=e._destructionListeners=new yi;e.on("destroyed",function(e){t.get(e).forEach(function(e){e()}),t.delete(e)})}(Ne),Ne.adapter=function(e,t,n){t.valid()&&(Ne.adapters[e]=t,n&&Ne.preferredAdapters.push(e))},Ne.plugin=function(e){if("function"==typeof e)e(Ne);else{if("object"!=typeof e||0===Object.keys(e).length)throw new Error('Invalid plugin: got "'+e+'", expected an object or a function');Object.keys(e).forEach(function(t){Ne.prototype[t]=e[t]})}return this.__defaults&&(Ne.__defaults=xi({},this.__defaults)),Ne},Ne.defaults=function(e){function t(e,n){if(!(this instanceof t))return new t(e,n);n=n||{},e&&"object"==typeof e&&(n=e,e=n.name,delete n.name),n=xi({},t.__defaults,n),Ne.call(this,e,n)}return ui(t,Ne),t.preferredAdapters=Ne.preferredAdapters.slice(),Object.keys(Ne).forEach(function(e){e in t||(t[e]=Ne[e])}),t.__defaults=xi({},this.__defaults,e),t};var Fi=["$or","$nor","$not"],Yi=-324,Vi=3,Qi="",Xi={$elemMatch:function(e,t,n,r){return!!Array.isArray(r)&&(0!==r.length&&("object"==typeof r[0]?r.some(function(e){return ot(e,t,Object.keys(t))}):r.some(function(r){return st(t,e,n,r)})))},$eq:function(e,t,n,r){return ft(r)&&0===qe(r,t)},$gte:function(e,t,n,r){return ft(r)&&qe(r,t)>=0},$gt:function(e,t,n,r){return ft(r)&&qe(r,t)>0},$lte:function(e,t,n,r){return ft(r)&&qe(r,t)<=0},$lt:function(e,t,n,r){return ft(r)&&qe(r,t)<0},$exists:function(e,t,n,r){return t?ft(r):!ft(r)},$mod:function(e,t,n,r){return lt(r)&&dt(r,t)},$ne:function(e,t,n,r){return t.every(function(e){return 0!==qe(r,e)})},$in:function(e,t,n,r){return lt(r)&&pt(r,t)},$nin:function(e,t,n,r){return lt(r)&&!pt(r,t)},$size:function(e,t,n,r){return lt(r)&&vt(r,t)},$all:function(e,t,n,r){return Array.isArray(r)&&ht(r,t)},$regex:function(e,t,n,r){return lt(r)&>(r,t)},$type:function(e,t,n,r){return mt(r,t)}};Ne.plugin(Ie),Ne.plugin(kt),Ne.version="6.2.0";var Hi,Ki=St(["_id","_rev","_attachments","_deleted","_revisions","_revs_info","_conflicts","_deleted_conflicts","_local_seq","_rev_tree","_replication_id","_replication_state","_replication_state_time","_replication_state_reason","_replication_stats","_removed"]),$i=St(["_attachments","_replication_id","_replication_state","_replication_state_time","_replication_state_reason","_replication_stats"]),eo=function(e){return atob(e)},to=function(e){return btoa(e)},no=t.setImmediate||t.setTimeout,ro=32768,io=5,oo="document-store",ao="by-sequence",so="attach-store",co="attach-seq-store",uo="meta-store",lo="local-store",fo="detect-blob-support",po=new _,ho=!1,vo=[],go=new yi,mo=new yi;xn.valid=function(){return!("undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform))&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange};var yo=function(e){e.adapter("idb",xn,!0)},bo=7,Ao=In("document-store"),wo=In("by-sequence"),xo=In("attach-store"),Eo=In("local-store"),_o=In("metadata-store"),ko=In("attach-seq-store"),So=new yi,jo=new _,Ro=1,No="CREATE INDEX IF NOT EXISTS 'by-seq-deleted-idx' ON "+wo+" (seq, deleted)",Io="CREATE UNIQUE INDEX IF NOT EXISTS 'by-seq-doc-id-rev' ON "+wo+" (doc_id, rev)",To="CREATE INDEX IF NOT EXISTS 'doc-winningseq-idx' ON "+Ao+" (winningseq)",Co="CREATE INDEX IF NOT EXISTS 'attach-seq-seq-idx' ON "+ko+" (seq)",Do="CREATE UNIQUE INDEX IF NOT EXISTS 'attach-seq-digest-idx' ON "+ko+" (digest, seq)",Oo=wo+".seq = "+Ao+".winningseq",Uo=wo+".seq AS seq, "+wo+".deleted AS deleted, "+wo+".json AS data, "+wo+".rev AS rev, "+Ao+".json AS metadata";Xn.valid=Vn,Xn.use_prefix=!0;var Mo=function(e){e.adapter("websql",Xn,!0)},Go=function(){try{return new XMLHttpRequest,!0}catch(e){return!1}}(),Lo=function(){},Bo=25,Zo=50,zo={};pr.valid=function(){return!0};var Po=function(e){e.adapter("http",pr,!1),e.adapter("https",pr,!1)};ui(hr,Error),ui(vr,Error),ui(gr,Error);var Jo=k.bind(null,"log"),Wo=Array.isArray,qo=JSON.parse;Sr.prototype.add=function(e){return this.promise=this.promise.catch(function(){}).then(function(){return e()}),this.promise},Sr.prototype.finish=function(){return this.promise};var Fo={},Yo=new Sr,Vo=50,Qo={_sum:function(e,t){return _r(t)},_count:function(e,t){return t.length},_stats:function(e,t){return{sum:_r(t),min:Math.min.apply(null,t),max:Math.max.apply(null,t),count:t.length,sumsqr:function(e){for(var t=0,n=0,r=e.length;n<r;n++){var i=e[n];t+=i*i}return t}(t)}}},Xo=function(e,t,n,r){function i(e,t,n){try{t(n)}catch(t){Cr(e,t)}}function o(e,t,n,r,i){try{return{output:t(n,r,i)}}catch(t){return Cr(e,t),{error:t}}}function a(e,t){var n=qe(e.key,t.key);return 0!==n?n:qe(e.value,t.value)}function s(e,t,n){return n=n||0,"number"==typeof t?e.slice(n,t+n):n>0?e.slice(n):e}function c(e){var t=e.value;return t&&"object"==typeof t&&t._id||e.id}function u(e){e.rows.forEach(function(e){var t=e.doc&&e.doc._attachments;t&&Object.keys(t).forEach(function(e){var n=t[e];t[e].data=Dt(n.data,n.content_type)})})}function l(e){return function(t){return e.include_docs&&e.attachments&&e.binary&&u(t),t}}function f(e,t,n,r){var i=t[e];void 0!==i&&(r&&(i=encodeURIComponent(JSON.stringify(i))),n.push(e+"="+i))}function d(e){if(void 0!==e){var t=Number(e);return isNaN(t)||t!==parseInt(e,10)?e:t}}function p(e){return e.group_level=d(e.group_level),e.limit=d(e.limit),e.skip=d(e.skip),e}function h(e){if(e){if("number"!=typeof e)return new hr('Invalid value for integer: "'+e+'"');if(e<0)return new hr('Invalid value for positive integer: "'+e+'"')}}function v(e,t){var n=e.descending?"endkey":"startkey",r=e.descending?"startkey":"endkey";if(void 0!==e[n]&&void 0!==e[r]&&qe(e[n],e[r])>0)throw new hr("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(t.reduce&&!1!==e.reduce){if(e.include_docs)throw new hr("{include_docs:true} is invalid for reduce");if(e.keys&&e.keys.length>1&&!e.group&&!e.group_level)throw new hr("Multi-key fetches for reduce views must use {group: true}")}["group_level","limit","skip"].forEach(function(t){var n=h(e[t]);if(n)throw n})}function g(e,t,n){var r,i=[],o="GET";if(f("reduce",n,i),f("include_docs",n,i),f("attachments",n,i),f("limit",n,i),f("descending",n,i),f("group",n,i),f("group_level",n,i),f("skip",n,i),f("stale",n,i),f("conflicts",n,i),f("startkey",n,i,!0),f("start_key",n,i,!0),f("endkey",n,i,!0),f("end_key",n,i,!0),f("inclusive_end",n,i),f("key",n,i,!0),i=i.join("&"),i=""===i?"":"?"+i,void 0!==n.keys){var a="keys="+encodeURIComponent(JSON.stringify(n.keys));a.length+i.length+1<=2e3?i+=("?"===i[0]?"&":"?")+a:(o="POST","string"==typeof t?r={keys:n.keys}:t.keys=n.keys)}if("string"==typeof t){var s=Ir(t);return e.request({method:o,url:"_design/"+s[0]+"/_view/"+s[1]+i,body:r}).then(l(n))}return r=r||{},Object.keys(t).forEach(function(e){Array.isArray(t[e])?r[e]=t[e]:r[e]=t[e].toString()}),e.request({method:"POST",url:"_temp_view"+i,body:r}).then(l(n))}function m(e,t,n){return new hi(function(r,i){e._query(t,n,function(e,t){if(e)return i(e);r(t)})})}function y(e){return new hi(function(t,n){e._viewCleanup(function(e,r){if(e)return n(e);t(r)})})}function b(e){return function(t){if(404===t.status)return e;throw t}}function A(e,t,n){function r(e){return e.keys.length?t.db.allDocs({keys:e.keys,include_docs:!0}):hi.resolve({rows:[]})}function i(e,t){for(var n=[],r=new mi,i=0,o=t.rows.length;i<o;i++){var a=t.rows[i],s=a.doc;if(s&&(n.push(s),r.add(s._id),s._deleted=!c.has(s._id),!s._deleted)){var u=c.get(s._id);"value"in u&&(s.value=u.value)}}var l=xr(c);return l.forEach(function(e){if(!r.has(e)){var t={_id:e},i=c.get(e);"value"in i&&(t.value=i.value),n.push(t)}}),e.keys=wr(l.concat(e.keys)),n.push(e),n}var o="_local/doc_"+e,a={_id:o,keys:[]},s=n.get(e),c=s[0],u=s[1];return function(){return Tr(u)?hi.resolve(a):t.db.get(o).catch(b(a))}().then(function(e){return r(e).then(function(t){return i(e,t)})})}function w(e,t,n){return e.db.get("_local/lastSeq").catch(b({_id:"_local/lastSeq",seq:0})).then(function(r){var i=xr(t);return hi.all(i.map(function(n){return A(n,e,t)})).then(function(t){var i=O(t);return r.seq=n,i.push(r),e.db.bulkDocs({docs:i})})})}function x(e){var t="string"==typeof e?e:e.name,n=Fo[t];return n||(n=Fo[t]=new Sr),n}function E(e){return Ar(x(e),function(){return _(e)})()}function _(e){function n(e,t){var n={id:f._id,key:Fe(e)};void 0!==t&&null!==t&&(n.value=Fe(t)),l.push(n)}function r(t,n){return function(){return w(e,t,n)}}function o(){return e.sourceDB.changes({conflicts:!0,include_docs:!0,style:"all_docs",since:p,limit:Vo}).then(s)}function s(e){var t=e.results;if(t.length){var n=c(t);if(h.add(r(n,p)),!(t.length<Vo))return o()}}function c(t){for(var n=new yi,r=0,o=t.length;r<o;r++){var s=t[r];if("_"!==s.doc._id[0]){l=[],f=s.doc,f._deleted||i(e.sourceDB,d,f),l.sort(a);var c=u(l);n.set(s.doc._id,[c,s.changes])}p=s.seq}return n}function u(e){for(var t,n=new yi,r=0,i=e.length;r<i;r++){var o=e[r],a=[o.key,o.id];r>0&&0===qe(o.key,t)&&a.push(r),n.set(Ve(a),o),t=o.key}return n}var l,f,d=t(e.mapFun,n),p=e.seq||0,h=new Sr;return o().then(function(){return h.finish()}).then(function(){e.seq=p})}function k(e,t,r){0===r.group_level&&delete r.group_level;var i=r.group||r.group_level,a=n(e.reduceFun),c=[],u=isNaN(r.group_level)?Number.POSITIVE_INFINITY:r.group_level;t.forEach(function(e){var t=c[c.length-1],n=i?e.key:null;if(i&&Array.isArray(n)&&(n=n.slice(0,u)),t&&0===qe(t.groupKey,n))return t.keys.push([e.key,e.id]),void t.values.push(e.value);c.push({keys:[[e.key,e.id]],values:[e.value],groupKey:n})}),t=[];for(var l=0,f=c.length;l<f;l++){var d=c[l],p=o(e.sourceDB,a,d.keys,d.values,!1);if(p.error&&p.error instanceof gr)throw p.error;t.push({value:p.error?null:p.output,key:d.groupKey})}return{rows:s(t,r.limit,r.skip)}}function S(e,t){return Ar(x(e),function(){return j(e,t)})()}function j(e,t){function n(t){return t.include_docs=!0,e.db.allDocs(t).then(function(e){return i=e.total_rows,e.rows.map(function(e){if("value"in e.doc&&"object"==typeof e.doc.value&&null!==e.doc.value){var t=Object.keys(e.doc.value).sort(),n=["id","key","value"];if(!(t<n||t>n))return e.doc.value}var r=He(e.doc._id);return{key:r[0],id:r[1],value:"value"in e.doc?e.doc.value:null}})})}function r(n){var r;if(r=o?k(e,n,t):{total_rows:i,offset:a,rows:n},t.include_docs){var s=wr(n.map(c));return e.sourceDB.allDocs({keys:s,include_docs:!0,conflicts:t.conflicts,attachments:t.attachments,binary:t.binary}).then(function(e){var t=new yi;return e.rows.forEach(function(e){t.set(e.id,e.doc)}),n.forEach(function(e){var n=c(e),r=t.get(n);r&&(e.doc=r)}),r})}return r}var i,o=e.reduceFun&&!1!==t.reduce,a=t.skip||0;if(void 0===t.keys||t.keys.length||(t.limit=0,delete t.keys),void 0!==t.keys){var s=t.keys,u=s.map(function(e){return n({startkey:Ve([e]),endkey:Ve([e,{}])})});return hi.all(u).then(O).then(r)}var l,f,d={descending:t.descending};if("start_key"in t&&(l=t.start_key),"startkey"in t&&(l=t.startkey),"end_key"in t&&(f=t.end_key),"endkey"in t&&(f=t.endkey),void 0!==l&&(d.startkey=Ve(t.descending?[l,{}]:[l])),void 0!==f){var p=!1!==t.inclusive_end;t.descending&&(p=!p),d.endkey=Ve(p?[f,{}]:[f])}if(void 0!==t.key){var h=Ve([t.key]),v=Ve([t.key,{}]);d.descending?(d.endkey=h,d.startkey=v):(d.startkey=h,d.endkey=v)}return o||("number"==typeof t.limit&&(d.limit=t.limit),d.skip=a),n(d).then(r)}function R(e){return e.request({method:"POST",url:"_view_cleanup"})}function N(t){return t.get("_local/"+e).then(function(e){var n=new yi;Object.keys(e.views).forEach(function(e){var t=Ir(e),r="_design/"+t[0],i=t[1],o=n.get(r);o||(o=new mi,n.set(r,o)),o.add(i)});var r={keys:xr(n),include_docs:!0};return t.allDocs(r).then(function(r){var i={};r.rows.forEach(function(t){var r=t.key.substring(8);n.get(t.key).forEach(function(n){var o=r+"/"+n;e.views[o]||(o=n);var a=Object.keys(e.views[o]),s=t.doc&&t.doc.views&&t.doc.views[n];a.forEach(function(e){i[e]=i[e]||s})})});var o=Object.keys(i).filter(function(e){return!i[e]}),a=o.map(function(e){return Ar(x(e),function(){return new t.constructor(e,t.__opts).destroy()})()});return hi.all(a).then(function(){return{ok:!0}})})},b({ok:!0}))}function I(t,n,i){if("function"==typeof t._query)return m(t,n,i);if(G(t))return g(t,n,i);if("string"!=typeof n)return v(i,n),Yo.add(function(){return Nr(t,"temp_view/temp_view",n.map,n.reduce,!0,e).then(function(e){return br(E(e).then(function(){return S(e,i)}),function(){return e.db.destroy()})})}),Yo.finish();var o=n,a=Ir(o),s=a[0],c=a[1];return t.get("_design/"+s).then(function(n){var a=n.views&&n.views[c];if(!a)throw new vr("ddoc "+n._id+" has no view named "+c);return r(n,c),v(i,a),Nr(t,o,a.map,a.reduce,!1,e).then(function(e){return"ok"===i.stale||"update_after"===i.stale?("update_after"===i.stale&&li(function(){E(e)}),S(e,i)):E(e).then(function(){return S(e,i)})})})}function T(e,t,n){var r=this;"function"==typeof t&&(n=t,t={}),t=t?p(t):{},"function"==typeof e&&(e={map:e});var i=hi.resolve().then(function(){return I(r,e,t)});return mr(i,n),i}return{query:T,viewCleanup:yr(function(){var e=this;return"function"==typeof e._viewCleanup?y(e):G(e)?R(e):N(e)})}}("mrviews",Dr,Or,Ur),Ho={query:Mr,viewCleanup:Gr},Ko=1,$o="pouchdb",ea=5,ta=0;qr.prototype.writeCheckpoint=function(e,t){var n=this;return this.updateTarget(e,t).then(function(){return n.updateSource(e,t)})},qr.prototype.updateTarget=function(e,t){return Wr(this.target,this.id,e,t,this.returnValue)},qr.prototype.updateSource=function(e,t){var n=this;return this.readOnlySource?hi.resolve(!0):Wr(this.src,this.id,e,t,this.returnValue).catch(function(e){if(Qr(e))return n.readOnlySource=!0,!0;throw e})};var na={undefined:function(e,t){return 0===qe(e.last_seq,t.last_seq)?t.last_seq:0},1:function(e,t){return Fr(t,e).last_seq}};qr.prototype.getCheckpoint=function(){var e=this;return e.target.get(e.id).then(function(t){return e.readOnlySource?hi.resolve(t.last_seq):e.src.get(e.id).then(function(e){if(t.version!==e.version)return ta;var n;return n=t.version?t.version.toString():"undefined",n in na?na[n](t,e):ta},function(n){if(404===n.status&&t.last_seq)return e.src.put({_id:e.id,last_seq:ta}).then(function(){return ta},function(n){return Qr(n)?(e.readOnlySource=!0,t.last_seq):ta});throw n})}).catch(function(e){if(404!==e.status)throw e;return ta})};var ra=0;ui(ei,ci.EventEmitter),ei.prototype.cancel=function(){this.cancelled=!0,this.state="cancelled",this.emit("cancel")},ei.prototype.ready=function(e,t){function n(){i.cancel()}function r(){e.removeListener("destroyed",n),t.removeListener("destroyed",n)}var i=this;i._readyCalled||(i._readyCalled=!0,e.once("destroyed",n),t.once("destroyed",n),i.once("complete",r))},ui(ii,ci.EventEmitter),ii.prototype.cancel=function(){this.canceled||(this.canceled=!0,this.push.cancel(),this.pull.cancel())},Ne.plugin(yo).plugin(Mo).plugin(Po).plugin(Ho).plugin(oi),e.exports=Ne}).call(t,n(5))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){v&&p&&(v=!1,p.length?h=p.concat(h):g=-1,h.length&&s())}function s(){if(!v){var e=i(a);v=!0;for(var t=h.length;t;){for(p=h,h=[];++g<t;)p&&p[g].run();g=-1,t=h.length}p=null,v=!1,o(e)}}function c(e,t){this.fun=e,this.array=t}function u(){}var l,f,d=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var p,h=[],v=!1,g=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new c(e,t)),1!==h.length||v||i(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=u,d.addListener=u,d.once=u,d.off=u,d.removeListener=u,d.removeAllListeners=u,d.emit=u,d.prependListener=u,d.prependOnceListener=u,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){!function(t){e.exports=t()}(function(e){"use strict";function t(e,t){var n=e[0],r=e[1],i=e[2],o=e[3];n+=(r&i|~r&o)+t[0]-680876936|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+t[1]-389564586|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+t[2]+606105819|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+t[3]-1044525330|0,r=(r<<22|r>>>10)+i|0,n+=(r&i|~r&o)+t[4]-176418897|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+t[5]+1200080426|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+t[6]-1473231341|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+t[7]-45705983|0,r=(r<<22|r>>>10)+i|0,n+=(r&i|~r&o)+t[8]+1770035416|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+t[9]-1958414417|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+t[10]-42063|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+t[11]-1990404162|0,r=(r<<22|r>>>10)+i|0,n+=(r&i|~r&o)+t[12]+1804603682|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+t[13]-40341101|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+t[14]-1502002290|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+t[15]+1236535329|0,r=(r<<22|r>>>10)+i|0,n+=(r&o|i&~o)+t[1]-165796510|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+t[6]-1069501632|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+t[11]+643717713|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+t[0]-373897302|0,r=(r<<20|r>>>12)+i|0,n+=(r&o|i&~o)+t[5]-701558691|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+t[10]+38016083|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+t[15]-660478335|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+t[4]-405537848|0,r=(r<<20|r>>>12)+i|0,n+=(r&o|i&~o)+t[9]+568446438|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+t[14]-1019803690|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+t[3]-187363961|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+t[8]+1163531501|0,r=(r<<20|r>>>12)+i|0,n+=(r&o|i&~o)+t[13]-1444681467|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+t[2]-51403784|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+t[7]+1735328473|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+t[12]-1926607734|0,r=(r<<20|r>>>12)+i|0,n+=(r^i^o)+t[5]-378558|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+t[8]-2022574463|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+t[11]+1839030562|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+t[14]-35309556|0,r=(r<<23|r>>>9)+i|0,n+=(r^i^o)+t[1]-1530992060|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+t[4]+1272893353|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+t[7]-155497632|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+t[10]-1094730640|0,r=(r<<23|r>>>9)+i|0,n+=(r^i^o)+t[13]+681279174|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+t[0]-358537222|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+t[3]-722521979|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+t[6]+76029189|0,r=(r<<23|r>>>9)+i|0,n+=(r^i^o)+t[9]-640364487|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+t[12]-421815835|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+t[15]+530742520|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+t[2]-995338651|0,r=(r<<23|r>>>9)+i|0,n+=(i^(r|~o))+t[0]-198630844|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[7]+1126891415|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[14]-1416354905|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[5]-57434055|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+t[12]+1700485571|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[3]-1894986606|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[10]-1051523|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[1]-2054922799|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+t[8]+1873313359|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[15]-30611744|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[6]-1560198380|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[13]+1309151649|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+t[4]-145523070|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+t[11]-1120210379|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+t[2]+718787259|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+t[9]-343485551|0,r=(r<<21|r>>>11)+i|0,e[0]=n+e[0]|0,e[1]=r+e[1]|0,e[2]=i+e[2]|0,e[3]=o+e[3]|0}function n(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function r(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function i(e){var r,i,o,a,s,c,u=e.length,l=[1732584193,-271733879,-1732584194,271733878];for(r=64;r<=u;r+=64)t(l,n(e.substring(r-64,r)));for(e=e.substring(r-64),i=e.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0;r<i;r+=1)o[r>>2]|=e.charCodeAt(r)<<(r%4<<3);if(o[r>>2]|=128<<(r%4<<3),r>55)for(t(l,o),r=0;r<16;r+=1)o[r]=0;return a=8*u,a=a.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),c=parseInt(a[1],16)||0,o[14]=s,o[15]=c,t(l,o),l}function o(e){var n,i,o,a,s,c,u=e.length,l=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=u;n+=64)t(l,r(e.subarray(n-64,n)));for(e=n-64<u?e.subarray(n-64):new Uint8Array(0),i=e.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=0;n<i;n+=1)o[n>>2]|=e[n]<<(n%4<<3);if(o[n>>2]|=128<<(n%4<<3),n>55)for(t(l,o),n=0;n<16;n+=1)o[n]=0;return a=8*u,a=a.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),c=parseInt(a[1],16)||0,o[14]=s,o[15]=c,t(l,o),l}function a(e){var t,n="";for(t=0;t<4;t+=1)n+=h[e>>8*t+4&15]+h[e>>8*t&15];return n}function s(e){var t;for(t=0;t<e.length;t+=1)e[t]=a(e[t]);return e.join("")}function c(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function u(e,t){var n,r=e.length,i=new ArrayBuffer(r),o=new Uint8Array(i);for(n=0;n<r;n+=1)o[n]=e.charCodeAt(n);return t?o:i}function l(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function f(e,t,n){var r=new Uint8Array(e.byteLength+t.byteLength);return r.set(new Uint8Array(e)),r.set(new Uint8Array(t),e.byteLength),n?r:r.buffer}function d(e){var t,n=[],r=e.length;for(t=0;t<r-1;t+=2)n.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,n)}function p(){this.reset()}var h=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];return"5d41402abc4b2a76b9719d911017c592"!==s(i("hello"))&&function(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n},"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return e=0|e||0,e<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(n,r){var i,o,a,s,c=this.byteLength,u=t(n,c),l=c;return r!==e&&(l=t(r,c)),u>l?new ArrayBuffer(0):(i=l-u,o=new ArrayBuffer(i),a=new Uint8Array(o),s=new Uint8Array(this,u,i),a.set(s),o)}}(),p.prototype.append=function(e){return this.appendBinary(c(e)),this},p.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var r,i=this._buff.length;for(r=64;r<=i;r+=64)t(this._hash,n(this._buff.substring(r-64,r)));return this._buff=this._buff.substring(r-64),this},p.prototype.end=function(e){var t,n,r=this._buff,i=r.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=r.charCodeAt(t)<<(t%4<<3);return this._finish(o,i),n=s(this._hash),e&&(n=d(n)),this.reset(),n},p.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},p.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash}},p.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},p.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},p.prototype._finish=function(e,n){var r,i,o,a=n;if(e[a>>2]|=128<<(a%4<<3),a>55)for(t(this._hash,e),a=0;a<16;a+=1)e[a]=0;r=8*this._length,r=r.toString(16).match(/(.*?)(.{0,8})$/),i=parseInt(r[2],16),o=parseInt(r[1],16)||0,e[14]=i,e[15]=o,t(this._hash,e)},p.hash=function(e,t){return p.hashBinary(c(e),t)},p.hashBinary=function(e,t){var n=i(e),r=s(n);return t?d(r):r},p.ArrayBuffer=function(){this.reset()},p.ArrayBuffer.prototype.append=function(e){var n,i=f(this._buff.buffer,e,!0),o=i.length;for(this._length+=e.byteLength,n=64;n<=o;n+=64)t(this._hash,r(i.subarray(n-64,n)));return this._buff=n-64<o?new Uint8Array(i.buffer.slice(n-64)):new Uint8Array(0),this},p.ArrayBuffer.prototype.end=function(e){var t,n,r=this._buff,i=r.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=r[t]<<(t%4<<3);return this._finish(o,i),n=s(this._hash),e&&(n=d(n)),this.reset(),n},p.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},p.ArrayBuffer.prototype.getState=function(){var e=p.prototype.getState.call(this);return e.buff=l(e.buff),e},p.ArrayBuffer.prototype.setState=function(e){return e.buff=u(e.buff,!0),p.prototype.setState.call(this,e)},p.ArrayBuffer.prototype.destroy=p.prototype.destroy,p.ArrayBuffer.prototype._finish=p.prototype._finish,p.ArrayBuffer.hash=function(e,t){var n=o(new Uint8Array(e)),r=s(n);return t?d(r):r},p})},function(e,t,n){var r=n(0)(n(11),n(60),null,null);e.exports=r.exports},function(e,t,n){var r=n(0)(n(12),n(61),null,null);e.exports=r.exports},function(e,t,n){n(68);var r=n(0)(n(13),n(62),null,null);e.exports=r.exports},function(e,t,n){n(69);var r=n(0)(n(14),n(63),null,null);e.exports=r.exports},function(e,t,n){n(65);var r=n(0)(n(15),n(54),null,null);e.exports=r.exports},function(e,t,n){n(67);var r=n(0)(n(16),n(59),null,null);e.exports=r.exports},function(e,t,n){n(66);var r=n(0)(n(17),n(57),"data-v-54cb82b4",null);e.exports=r.exports},function(e,t,n){var r=n(0)(n(18),n(56),null,null);e.exports=r.exports},function(e,t,n){var r=n(0)(n(19),n(58),null,null);e.exports=r.exports},function(e,t,n){var r=n(0)(n(20),n(55),null,null);e.exports=r.exports},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"pixelParallel"}},[n("panel",{attrs:{config:e.config,"on-image-change":e.handleImageChange,"on-disable-click":e.handleDisableClick}}),e._v(" "),n("overlay",{attrs:{config:e.config,image:e.image}})],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.imageOuterClasses,style:{height:e.imageOuterHeight+"px"}},[n("div",{directives:[{name:"draggable",rawName:"v-draggable",value:{x:!0,y:!0,onDragEnd:e.handleDragEnd},expression:"{x: true, y: true, onDragEnd: handleDragEnd}"}],staticClass:"pixelParallel-image-inner",style:e.imageInnerStyles},[n("img",{staticClass:"pixelParallel-image",style:e.imageStyles,attrs:{alt:"PixelParallel Image",src:e.image.base64string}})])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"btn btn-block btn-file"},[e._v("\n "+e._s(e.title)+"\n\n "),n("input",{attrs:{type:"file"},on:{change:e.changeHandler}})])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{staticClass:"paste-box mousetrap",attrs:{title:e.title,contenteditable:"true"},on:{paste:e.pasteHandler}})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"draggable",rawName:"v-draggable",value:{x:!0,y:!0,onDragEnd:e.handleDragEnd,onDragMove:e.handleDragMove,onDragStart:e.handleDragStart},expression:"{x: true, y: true, onDragEnd: handleDragEnd, onDragMove: handleDragMove, onDragStart: handleDragStart}"}],class:["pixelParallel-panel",{"pixelParallel-panel-minimized":e.config.minimized,"pixelParallel-panel-dragging":this.dragging}],style:e.panelInlineStyles},[n("div",{staticClass:"pixelParallel-panel-inner"},[n("div",{staticClass:"pixelParallel-panel-handle"}),e._v(" "),n("iframe",{staticClass:"pixelParallel-panel-isolator",attrs:{frameborder:"0"}}),e._v(" "),n("div",{class:["pixelParallel-panel-content",{"pixelParallel-panel-content-minimized":e.config.minimized}]},[n("droparea",{attrs:{title:"Drop Here","on-upload":e.handleImageChange}}),e._v(" "),n("header",{staticClass:"header"},[n("div",{staticClass:"panel-control"},[n("ul",[n("li",[n("a",{class:{active:!e.config.visible},attrs:{href:"#",title:"Hide All Elements"},on:{click:function(t){t.preventDefault(),e.config.visible=!e.config.visible}}},[n("i",{staticClass:"ico ico-eye-slash-small"})])]),e._v(" "),n("li",[n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.config.minimized=!e.config.minimized}}},[n("i",{staticClass:"ico ico-minimize"}),e._v(" "),n("i",{staticClass:"ico ico-maximize"})])]),e._v(" "),n("li",[n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.handleCloseClick(t)}}},[n("i",{staticClass:"ico ico-close"})])])])]),e._v(" "),n("nav",{staticClass:"nav"},[n("ul",[n("li",{class:{current:"image"===e.config.currentPane}},[n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.setCurrentPane("image")}}},[e._v("Image")])]),e._v(" "),n("li",{class:{current:"grid"===e.config.currentPane}},[n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.setCurrentPane("grid")}}},[e._v("Grid "),n("span",{staticClass:"ad"},[e._v("and Rulers")])])])])])]),e._v(" "),n("div",{staticClass:"main"},[n("div",{staticClass:"panes"},["image"===e.config.currentPane?n("div",{staticClass:"pane"},[n("div",{staticClass:"row row-head row-head-large-gutter"},[n("div",{staticClass:"col col-2-of-5"},[n("upload-button",{attrs:{title:"Upload Image","on-upload":e.handleImageChange}})],1),e._v(" "),e._m(0),e._v(" "),n("div",{staticClass:"col col-2-of-5"},[n("paste-box",{attrs:{title:"Paste Here","on-paste":e.handleImageChange}})],1)]),e._v(" "),n("div",{staticClass:"row row-head"},[n("div",{staticClass:"col col-1-of-4"},[n("number",{attrs:{title:"Top"},model:{value:e.config.image.top,callback:function(t){e.config.image.top=t},expression:"config.image.top"}})],1),e._v(" "),n("div",{staticClass:"col col-1-of-4"},[n("number",{attrs:{title:"Left"},model:{value:e.config.image.left,callback:function(t){e.config.image.left=t},expression:"config.image.left"}})],1),e._v(" "),n("div",{staticClass:"col col-1-of-4"},[n("number",{attrs:{title:"Opacity",arrows:!0,step:.1,min:0,max:1},model:{value:e.config.image.opacity,callback:function(t){e.config.image.opacity=t},expression:"config.image.opacity"}})],1),e._v(" "),n("div",{staticClass:"col col-1-of-4"},[n("number",{attrs:{title:"Scale",min:0,max:3,step:.05},model:{value:e.config.image.scale,callback:function(t){e.config.image.scale=t},expression:"config.image.scale"}})],1)]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[n("div",{staticClass:"icon-link-group"},[n("a",{staticClass:"icon-link",class:{active:e.config.image.difference},attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.config.image.difference=!e.config.image.difference}}},[n("i",{staticClass:"ico ico-color"}),e._v(" "),n("span",{staticClass:"text"},[e._v("Color Diff")])]),e._v(" "),n("a",{staticClass:"icon-link",class:{active:e.config.image.lock},attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.config.image.lock=!e.config.image.lock}}},[n("i",{staticClass:"ico ico-lock"}),e._v(" "),n("span",{staticClass:"text"},[e._v("Lock")])]),e._v(" "),n("a",{staticClass:"icon-link",class:{active:!e.config.image.enabled},attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.config.image.enabled=!e.config.image.enabled}}},[n("i",{staticClass:"ico ico-eye-slash"}),e._v(" "),n("span",{staticClass:"text"},[e._v("Hide Image")])])])])])]):e._e(),e._v(" "),"grid"===e.config.currentPane?n("div",{staticClass:"pane"},[n("div",{staticClass:"row row-head"},[n("div",{staticClass:"col col-1-of-3"},[n("toggle",{attrs:{title:"Layout Grid"},model:{value:e.config.horizontalGrid.enabled,callback:function(t){e.config.horizontalGrid.enabled=t},expression:"config.horizontalGrid.enabled"}})],1),e._v(" "),n("div",{staticClass:"col col-1-of-3"},[n("toggle",{attrs:{title:"Baseline Grid"},model:{value:e.config.verticalGrid.enabled,callback:function(t){e.config.verticalGrid.enabled=t},expression:"config.verticalGrid.enabled"}})],1),e._v(" "),n("div",{staticClass:"col col-1-of-3"},[n("toggle",{attrs:{title:"Rulers",action:{text:"(reset)",handler:this.handleRulersReset}},model:{value:e.config.rulers.enabled,callback:function(t){e.config.rulers.enabled=t},expression:"config.rulers.enabled"}})],1)]),e._v(" "),n("div",{staticClass:"row row-head"},[n("div",{staticClass:"col col-1-of-4"},[n("number",{attrs:{title:"Width",min:0},model:{value:e.config.horizontalGrid.width,callback:function(t){e.config.horizontalGrid.width=t},expression:"config.horizontalGrid.width"}})],1),e._v(" "),n("div",{staticClass:"col col-1-of-4"},[n("number",{attrs:{title:"Columns",min:0},model:{value:e.config.horizontalGrid.columns,callback:function(t){e.config.horizontalGrid.columns=t},expression:"config.horizontalGrid.columns"}})],1),e._v(" "),n("div",{staticClass:"col col-1-of-4"},[n("number",{attrs:{title:"Gutter",min:0},model:{value:e.config.horizontalGrid.gutter,callback:function(t){e.config.horizontalGrid.gutter=t},expression:"config.horizontalGrid.gutter"}})],1),e._v(" "),n("div",{staticClass:"col col-1-of-4"},[n("number",{attrs:{title:"Opacity",arrows:!0,step:.1,min:0,max:1},model:{value:e.config.horizontalGrid.opacity,callback:function(t){e.config.horizontalGrid.opacity=t},expression:"config.horizontalGrid.opacity"}})],1)]),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col col-1-of-4"},[n("number",{attrs:{title:"Baseline",min:1},model:{value:e.config.verticalGrid.gutter,callback:function(t){e.config.verticalGrid.gutter=t},expression:"config.verticalGrid.gutter"}})],1),e._v(" "),n("div",{staticClass:"col col-1-of-4"},[n("number",{attrs:{title:"Opacity",arrows:!0,step:.1,min:0,max:1},model:{value:e.config.verticalGrid.opacity,callback:function(t){e.config.verticalGrid.opacity=t},expression:"config.verticalGrid.opacity"}})],1)])]):e._e()])])],1)],1)])},staticRenderFns:[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"col col-1-of-5"},[n("span",{staticClass:"elements-divider"},[e._v("or")])])}]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{class:["toggle",{"toggle-checked":e.checked}]},[n("span",{staticClass:"toggle-title"},[e._v(e._s(e.title)+" "),e.action?n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.action.handler(t)}}},[e._v(e._s(e.action.text))]):e._e()]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],staticClass:"toggle-checkbox",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{__c:function(t){var n=e.checked,r=t.target,i=!!r.checked;if(Array.isArray(n)){var o=e._i(n,null);i?o<0&&(e.checked=n.concat(null)):o>-1&&(e.checked=n.slice(0,o).concat(n.slice(o+1)))}else e.checked=i}}}),e._v(" "),e._m(0)])},staticRenderFns:[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"toggle-main"},[n("span",{staticClass:"toggle-handle"})])}]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["pixelParallel-rulers",{"pixelParallel-rulers-enabled":e.config.rulers.enabled}]},[n("div",{directives:[{name:"draggable",rawName:"v-draggable",value:{y:!0,onDragEnd:e.handleXDragEnd},expression:"{y: true, onDragEnd: handleXDragEnd}"}],staticClass:"pixelParallel-ruler-x",style:{"margin-top":e.config.rulers.x+"px"}}),e._v(" "),n("div",{directives:[{name:"draggable",rawName:"v-draggable",value:{x:!0,onDragEnd:e.handleYDragEnd},expression:"{x: true, onDragEnd: handleYDragEnd}"}],staticClass:"pixelParallel-ruler-y",style:{"margin-left":e.config.rulers.y+"px"}})])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["droparea",{enabled:e.enabled}]},[n("span",{staticClass:"droparea-title"},[e._v(e._s(e.title))]),e._v(" "),n("input",{attrs:{type:"file"},on:{change:e.changeHandler}})])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"number"},[n("span",{staticClass:"number-title"},[e._v(e._s(e.title))]),e._v(" "),n("span",{staticClass:"number-field"},[e.arrows?n("span",{staticClass:"number-arrows"},[n("span",{staticClass:"number-arrow number-arrow-up",on:{mousedown:function(t){t.preventDefault(),e.startIncrement(t,e.step)}}},[e._v("+")]),e._v(" "),n("span",{staticClass:"number-arrow number-arrow-down",on:{mousedown:function(t){t.preventDefault(),e.startIncrement(t,-e.step)}}},[e._v("-")])]):e._e(),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.inputVal,expression:"inputVal"}],staticClass:"number-input",attrs:{type:"number",step:e.step,min:e.min,max:e.max},domProps:{value:e.inputVal},on:{input:function(t){t.target.composing||(e.inputVal=t.target.value)},blur:function(t){e.$forceUpdate()}}})])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["pixelParallel-overlay",{"pixelParallel-overlay-enabled":e.config.visible}]},[n("overlayGrids",{attrs:{config:e.config}}),e._v(" "),n("overlayImage",{attrs:{config:e.config,image:e.image}}),e._v(" "),n("overlayRulers",{attrs:{config:e.config}})],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pixelParallel-grids"},[n("div",{class:["pixelParallel-grid-horizontal",{"pixelParallel-grid-horizontal-enabled":e.config.horizontalGrid.enabled}],style:e.horizontalGridStyles},e._l(parseInt(e.config.horizontalGrid.columns)||1,function(e){return n("span")})),e._v(" "),n("div",{class:["pixelParallel-grid-vertical",{"pixelParallel-grid-vertical-enabled":e.config.verticalGrid.enabled}],style:e.verticalGridStyles})])},staticRenderFns:[]}},function(e,t,n){var r=n(26);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(2)("0a9ac382",r,!0)},function(e,t,n){var r=n(27);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(2)("65692d52",r,!0)},function(e,t,n){var r=n(28);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(2)("50d13449",r,!0)},function(e,t,n){var r=n(29);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(2)("41341762",r,!0)},function(e,t,n){var r=n(30);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(2)("454c1251",r,!0)},function(e,t,n){var r=n(31);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(2)("aa5febfc",r,!0)},function(e,t){e.exports=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],c=o[2],u=o[3],l={id:e+":"+i,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}},function(e,t,n){"use strict";function r(e,t,n){var r=n[n.length-1];e===r.element&&(n.pop(),r=n[n.length-1]);var i=r.element,o=r.index;if(Array.isArray(i))i.push(e);else if(o===t.length-2){var a=t.pop();i[a]=e}else t.push(e)}t.stringify=function(e){var t=[];t.push({obj:e});for(var n,r,i,o,a,s,c,u,l,f,d,p="";n=t.pop();)if(r=n.obj,i=n.prefix||"",o=n.val||"",p+=i,o)p+=o;else if("object"!=typeof r)p+=void 0===r?null:JSON.stringify(r);else if(null===r)p+="null";else if(Array.isArray(r)){for(t.push({val:"]"}),a=r.length-1;a>=0;a--)s=0===a?"":",",t.push({obj:r[a],prefix:s});t.push({val:"["})}else{c=[];for(u in r)r.hasOwnProperty(u)&&c.push(u);for(t.push({val:"}"}),a=c.length-1;a>=0;a--)l=c[a],f=r[l],d=a>0?",":"",d+=JSON.stringify(l)+":",t.push({obj:f,prefix:d});t.push({val:"{"})}return p},t.parse=function(e){for(var t,n,i,o,a,s,c,u,l,f=[],d=[],p=0;;)if("}"!==(t=e[p++])&&"]"!==t&&void 0!==t)switch(t){case" ":case"\t":case"\n":case":":case",":break;case"n":p+=3,r(null,f,d);break;case"t":p+=3,r(!0,f,d);break;case"f":p+=4,r(!1,f,d);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"-":for(n="",p--;;){if(i=e[p++],!/[\d\.\-e\+]/.test(i)){p--;break}n+=i}r(parseFloat(n),f,d);break;case'"':for(o="",a=void 0,s=0;;){if('"'===(c=e[p++])&&("\\"!==a||s%2!=1))break;o+=c,a=c,"\\"===a?s++:s=0}r(JSON.parse('"'+o+'"'),f,d);break;case"[":u={element:[],index:f.length},f.push(u.element),d.push(u);break;case"{":l={element:{},index:f.length},f.push(l.element),d.push(l);break;default:throw new Error("unexpectedly reached end of input: "+t)}else{if(1===f.length)return f.pop();r(f.pop(),f,d)}}}]);
//# sourceMappingURL=PixelParallel.js.map