text: (function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=0)})({0:function(t,e,n){t.exports=n("56d7")},"0808":function(t,e,n){},"0b16":function(t,e,n){"use strict";var i=n("9d88"),r=n("35e8");function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=w,e.resolve=x,e.resolveObject=k,e.format=E,e.Url=s;var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],u=["{","}","|","\\","^","`"].concat(c),h=["'"].concat(u),d=["%","/","?",";","#"].concat(h),f=["/","?","#"],p=255,A=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n("b383");function w(t,e,n){if(t&&r.isObject(t)&&t instanceof s)return t;var i=new s;return i.parse(t,e,n),i}function E(t){return r.isString(t)&&(t=w(t)),t instanceof s?t.format():s.prototype.format.call(t)}function x(t,e){return w(t,!1,!0).resolve(e)}function k(t,e){return t?w(t,!1,!0).resolveObject(e):e}s.prototype.parse=function(t,e,n){if(!r.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var s=t.indexOf("?"),a=-1!==s&&s<t.indexOf("#")?"?":"#",c=t.split(a),u=/\\/g;c[0]=c[0].replace(u,"/"),t=c.join(a);var w=t;if(w=w.trim(),!n&&1===t.split("#").length){var E=l.exec(w);if(E)return this.path=w,this.href=w,this.pathname=E[1],E[2]?(this.search=E[2],this.query=e?b.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var x=o.exec(w);if(x){x=x[0];var k=x.toLowerCase();this.protocol=k,w=w.substr(x.length)}if(n||x||w.match(/^\/\/[^@\/]+@[^@\/]+/)){var C="//"===w.substr(0,2);!C||x&&v[x]||(w=w.substr(2),this.slashes=!0)}if(!v[x]&&(C||x&&!y[x])){for(var B,I,T=-1,S=0;S<f.length;S++){var _=w.indexOf(f[S]);-1!==_&&(-1===T||_<T)&&(T=_)}I=-1===T?w.lastIndexOf("@"):w.lastIndexOf("@",T),-1!==I&&(B=w.slice(0,I),w=w.slice(I+1),this.auth=decodeURIComponent(B)),T=-1;for(S=0;S<d.length;S++){_=w.indexOf(d[S]);-1!==_&&(-1===T||_<T)&&(T=_)}-1===T&&(T=w.length),this.host=w.slice(0,T),w=w.slice(T),this.parseHost(),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D)for(var M=this.hostname.split(/\./),N=(S=0,M.length);S<N;S++){var L=M[S];if(L&&!L.match(A)){for(var O="",Q=0,F=L.length;Q<F;Q++)L.charCodeAt(Q)>127?O+="x":O+=L[Q];if(!O.match(A)){var R=M.slice(0,S),j=M.slice(S+1),U=L.match(g);U&&(R.push(U[1]),j.unshift(U[2])),j.length&&(w="/"+j.join(".")+w),this.hostname=R.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=i.toASCII(this.hostname));var P=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+P,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!m[k])for(S=0,N=h.length;S<N;S++){var Y=h[S];if(-1!==w.indexOf(Y)){var W=encodeURIComponent(Y);W===Y&&(W=escape(Y)),w=w.split(Y).join(W)}}var H=w.indexOf("#");-1!==H&&(this.hash=w.substr(H),w=w.slice(0,H));var G=w.indexOf("?");if(-1!==G?(this.search=w.substr(G),this.query=w.substr(G+1),e&&(this.query=b.parse(this.query)),w=w.slice(0,G)):e&&(this.search="",this.query={}),w&&(this.pathname=w),y[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){P=this.pathname||"";var V=this.search||"";this.path=P+V}return this.href=this.format(),this},s.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",i=this.hash||"",s=!1,o="";this.host?s=t+this.host:this.hostname&&(s=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(s+=":"+this.port)),this.query&&r.isObject(this.query)&&Object.keys(this.query).length&&(o=b.stringify(this.query));var a=this.search||o&&"?"+o||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||y[e])&&!1!==s?(s="//"+(s||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):s||(s=""),i&&"#"!==i.charAt(0)&&(i="#"+i),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})),a=a.replace("#","%23"),e+s+n+a+i},s.prototype.resolve=function(t){return this.resolveObject(w(t,!1,!0)).format()},s.prototype.resolveObject=function(t){if(r.isString(t)){var e=new s;e.parse(t,!1,!0),t=e}for(var n=new s,i=Object.keys(this),o=0;o<i.length;o++){var a=i[o];n[a]=this[a]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var l=Object.keys(t),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=t[u])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!y[t.protocol]){for(var h=Object.keys(t),d=0;d<h.length;d++){var f=h[d];n[f]=t[f]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||v[t.protocol])n.pathname=t.pathname;else{var p=(t.pathname||"").split("/");while(p.length&&!(t.host=p.shift()));t.host||(t.host=""),t.hostname||(t.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var A=n.pathname||"",g=n.search||"";n.path=A+g}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var m=n.pathname&&"/"===n.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=b||m||n.host&&t.pathname,E=w,x=n.pathname&&n.pathname.split("/")||[],k=(p=t.pathname&&t.pathname.split("/")||[],n.protocol&&!y[n.protocol]);if(k&&(n.hostname="",n.port=null,n.host&&(""===x[0]?x[0]=n.host:x.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===p[0]?p[0]=t.host:p.unshift(t.host)),t.host=null),w=w&&(""===p[0]||""===x[0])),b)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,x=p;else if(p.length)x||(x=[]),x.pop(),x=x.concat(p),n.search=t.search,n.query=t.query;else if(!r.isNullOrUndefined(t.search)){if(k){n.hostname=n.host=x.shift();var C=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");C&&(n.auth=C.shift(),n.host=n.hostname=C.shift())}return n.search=t.search,n.query=t.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!x.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var B=x.slice(-1)[0],I=(n.host||t.host||x.length>1)&&("."===B||".."===B)||""===B,T=0,S=x.length;S>=0;S--)B=x[S],"."===B?x.splice(S,1):".."===B?(x.splice(S,1),T++):T&&(x.splice(S,1),T--);if(!w&&!E)for(;T--;T)x.unshift("..");!w||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),I&&"/"!==x.join("/").substr(-1)&&x.push("");var _=""===x[0]||x[0]&&"/"===x[0].charAt(0);if(k){n.hostname=n.host=_?"":x.length?x.shift():"";C=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");C&&(n.auth=C.shift(),n.host=n.hostname=C.shift())}return w=w||n.host&&x.length,w&&!_&&x.unshift(""),x.length?n.pathname=x.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},s.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},"166a":function(t,e,n){},"1b2c":function(t,e,n){},"20f6":function(t,e,n){},"25a8":function(t,e,n){},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){
  /*!
   * Vue.js v2.6.11
   * (c) 2014-2019 Evan You
   * Released under the MIT License.
   */
  var n=Object.freeze({});function i(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function s(t){return!0===t}function o(t){return!1===t}function a(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return null!==t&&"object"===typeof t}var c=Object.prototype.toString;function u(t){return"[object Object]"===c.call(t)}function h(t){return"[object RegExp]"===c.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return r(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function A(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}g("slot,component",!0);var m=g("key,ref,slot,slot-scope,is");function v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(t,e){return y.call(t,e)}function w(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var E=/-(\w)/g,x=w((function(t){return t.replace(E,(function(t,e){return e?e.toUpperCase():""}))})),k=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),C=/\B([A-Z])/g,B=w((function(t){return t.replace(C,"-$1").toLowerCase()}));function I(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function T(t,e){return t.bind(e)}var S=Function.prototype.bind?T:I;function _(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function D(t,e){for(var n in e)t[n]=e[n];return t}function M(t){for(var e={},n=0;n<t.length;n++)t[n]&&D(e,t[n]);return e}function N(t,e,n){}var L=function(t,e,n){return!1},O=function(t){return t};function Q(t,e){if(t===e)return!0;var n=l(t),i=l(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),s=Array.isArray(e);if(r&&s)return t.length===e.length&&t.every((function(t,n){return Q(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||s)return!1;var o=Object.keys(t),a=Object.keys(e);return o.length===a.length&&o.every((function(n){return Q(t[n],e[n])}))}catch(c){return!1}}function F(t,e){for(var n=0;n<t.length;n++)if(Q(t[n],e))return n;return-1}function R(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var j="data-server-rendered",U=["component","directive","filter"],P=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:L,isReservedAttr:L,isUnknownElement:L,getTagNamespace:N,parsePlatformTagName:O,mustUseProp:L,async:!0,_lifecycleHooks:P},Y=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function W(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function H(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var G=new RegExp("[^"+Y.source+".$_\\d]");function V(t){if(!G.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var q,$="__proto__"in{},J="undefined"!==typeof window,Z="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,K=Z&&WXEnvironment.platform.toLowerCase(),X=J&&window.navigator.userAgent.toLowerCase(),tt=X&&/msie|trident/.test(X),et=X&&X.indexOf("msie 9.0")>0,nt=X&&X.indexOf("edge/")>0,it=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===K),rt=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),st={}.watch,ot=!1;if(J)try{var at={};Object.defineProperty(at,"passive",{get:function(){ot=!0}}),window.addEventListener("test-passive",null,at)}catch(xo){}var lt=function(){return void 0===q&&(q=!J&&!Z&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),q},ct=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ut(t){return"function"===typeof t&&/native code/.test(t.toString())}var ht,dt="undefined"!==typeof Symbol&&ut(Symbol)&&"undefined"!==typeof Reflect&&ut(Reflect.ownKeys);ht="undefined"!==typeof Set&&ut(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=N,pt=0,At=function(){this.id=pt++,this.subs=[]};At.prototype.addSub=function(t){this.subs.push(t)},At.prototype.removeSub=function(t){v(this.subs,t)},At.prototype.depend=function(){At.target&&At.target.addDep(this)},At.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},At.target=null;var gt=[];function mt(t){gt.push(t),At.target=t}function vt(){gt.pop(),At.target=gt[gt.length-1]}var yt=function(t,e,n,i,r,s,o,a){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=o,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,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},bt={child:{configurable:!0}};bt.child.get=function(){return this.componentInstance},Object.defineProperties(yt.prototype,bt);var wt=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function Et(t){return new yt(void 0,void 0,void 0,String(t))}function xt(t){var e=new yt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var kt=Array.prototype,Ct=Object.create(kt),Bt=["push","pop","shift","unshift","splice","sort","reverse"];Bt.forEach((function(t){var e=kt[t];H(Ct,t,(function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];var r,s=e.apply(this,n),o=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2);break}return r&&o.observeArray(r),o.dep.notify(),s}))}));var It=Object.getOwnPropertyNames(Ct),Tt=!0;function St(t){Tt=t}var _t=function(t){this.value=t,this.dep=new At,this.vmCount=0,H(t,"__ob__",this),Array.isArray(t)?($?Dt(t,Ct):Mt(t,Ct,It),this.observeArray(t)):this.walk(t)};function Dt(t,e){t.__proto__=e}function Mt(t,e,n){for(var i=0,r=n.length;i<r;i++){var s=n[i];H(t,s,e[s])}}function Nt(t,e){var n;if(l(t)&&!(t instanceof yt))return b(t,"__ob__")&&t.__ob__ instanceof _t?n=t.__ob__:Tt&&!lt()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new _t(t)),e&&n&&n.vmCount++,n}function Lt(t,e,n,i,r){var s=new At,o=Object.getOwnPropertyDescriptor(t,e);if(!o||!1!==o.configurable){var a=o&&o.get,l=o&&o.set;a&&!l||2!==arguments.length||(n=t[e]);var c=!r&&Nt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return At.target&&(s.depend(),c&&(c.dep.depend(),Array.isArray(e)&&Ft(e))),e},set:function(e){var i=a?a.call(t):n;e===i||e!==e&&i!==i||a&&!l||(l?l.call(t,e):n=e,c=!r&&Nt(e),s.notify())}})}}function Ot(t,e,n){if(Array.isArray(t)&&d(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var i=t.__ob__;return t._isVue||i&&i.vmCount?n:i?(Lt(i.value,e,n),i.dep.notify(),n):(t[e]=n,n)}function Qt(t,e){if(Array.isArray(t)&&d(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||b(t,e)&&(delete t[e],n&&n.dep.notify())}}function Ft(t){for(var e=void 0,n=0,i=t.length;n<i;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Ft(e)}_t.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Lt(t,e[n])},_t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Nt(t[e])};var Rt=z.optionMergeStrategies;function jt(t,e){if(!e)return t;for(var n,i,r,s=dt?Reflect.ownKeys(e):Object.keys(e),o=0;o<s.length;o++)n=s[o],"__ob__"!==n&&(i=t[n],r=e[n],b(t,n)?i!==r&&u(i)&&u(r)&&jt(i,r):Ot(t,n,r));return t}function Ut(t,e,n){return n?function(){var i="function"===typeof e?e.call(n,n):e,r="function"===typeof t?t.call(n,n):t;return i?jt(i,r):r}:e?t?function(){return jt("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function Pt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?zt(n):n}function zt(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Yt(t,e,n,i){var r=Object.create(t||null);return e?D(r,e):r}Rt.data=function(t,e,n){return n?Ut(t,e,n):e&&"function"!==typeof e?t:Ut(t,e)},P.forEach((function(t){Rt[t]=Pt})),U.forEach((function(t){Rt[t+"s"]=Yt})),Rt.watch=function(t,e,n,i){if(t===st&&(t=void 0),e===st&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var r={};for(var s in D(r,t),e){var o=r[s],a=e[s];o&&!Array.isArray(o)&&(o=[o]),r[s]=o?o.concat(a):Array.isArray(a)?a:[a]}return r},Rt.props=Rt.methods=Rt.inject=Rt.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return D(r,t),e&&D(r,e),r},Rt.provide=Ut;var Wt=function(t,e){return void 0===e?t:e};function Ht(t,e){var n=t.props;if(n){var i,r,s,o={};if(Array.isArray(n)){i=n.length;while(i--)r=n[i],"string"===typeof r&&(s=x(r),o[s]={type:null})}else if(u(n))for(var a in n)r=n[a],s=x(a),o[s]=u(r)?r:{type:r};else 0;t.props=o}}function Gt(t,e){var n=t.inject;if(n){var i=t.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(u(n))for(var s in n){var o=n[s];i[s]=u(o)?D({from:s},o):{from:o}}else 0}}function Vt(t){var e=t.directives;if(e)for(var n in e){var i=e[n];"function"===typeof i&&(e[n]={bind:i,update:i})}}function qt(t,e,n){if("function"===typeof e&&(e=e.options),Ht(e,n),Gt(e,n),Vt(e),!e._base&&(e.extends&&(t=qt(t,e.extends,n)),e.mixins))for(var i=0,r=e.mixins.length;i<r;i++)t=qt(t,e.mixins[i],n);var s,o={};for(s in t)a(s);for(s in e)b(t,s)||a(s);function a(i){var r=Rt[i]||Wt;o[i]=r(t[i],e[i],n,i)}return o}function $t(t,e,n,i){if("string"===typeof n){var r=t[e];if(b(r,n))return r[n];var s=x(n);if(b(r,s))return r[s];var o=k(s);if(b(r,o))return r[o];var a=r[n]||r[s]||r[o];return a}}function Jt(t,e,n,i){var r=e[t],s=!b(n,t),o=n[t],a=te(Boolean,r.type);if(a>-1)if(s&&!b(r,"default"))o=!1;else if(""===o||o===B(t)){var l=te(String,r.type);(l<0||a<l)&&(o=!0)}if(void 0===o){o=Zt(i,r,t);var c=Tt;St(!0),Nt(o),St(c)}return o}function Zt(t,e,n){if(b(e,"default")){var i=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"===typeof i&&"Function"!==Kt(e.type)?i.call(t):i}}function Kt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Xt(t,e){return Kt(t)===Kt(e)}function te(t,e){if(!Array.isArray(e))return Xt(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(Xt(e[n],t))return n;return-1}function ee(t,e,n){mt();try{if(e){var i=e;while(i=i.$parent){var r=i.$options.errorCaptured;if(r)for(var s=0;s<r.length;s++)try{var o=!1===r[s].call(i,t,e,n);if(o)return}catch(xo){ie(xo,i,"errorCaptured hook")}}}ie(t,e,n)}finally{vt()}}function ne(t,e,n,i,r){var s;try{s=n?t.apply(e,n):t.call(e),s&&!s._isVue&&f(s)&&!s._handled&&(s.catch((function(t){return ee(t,i,r+" (Promise/async)")})),s._handled=!0)}catch(xo){ee(xo,i,r)}return s}function ie(t,e,n){if(z.errorHandler)try{return z.errorHandler.call(null,t,e,n)}catch(xo){xo!==t&&re(xo,null,"config.errorHandler")}re(t,e,n)}function re(t,e,n){if(!J&&!Z||"undefined"===typeof console)throw t;console.error(t)}var se,oe=!1,ae=[],le=!1;function ce(){le=!1;var t=ae.slice(0);ae.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&ut(Promise)){var ue=Promise.resolve();se=function(){ue.then(ce),it&&setTimeout(N)},oe=!0}else if(tt||"undefined"===typeof MutationObserver||!ut(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())se="undefined"!==typeof setImmediate&&ut(setImmediate)?function(){setImmediate(ce)}:function(){setTimeout(ce,0)};else{var he=1,de=new MutationObserver(ce),fe=document.createTextNode(String(he));de.observe(fe,{characterData:!0}),se=function(){he=(he+1)%2,fe.data=String(he)},oe=!0}function pe(t,e){var n;if(ae.push((function(){if(t)try{t.call(e)}catch(xo){ee(xo,e,"nextTick")}else n&&n(e)})),le||(le=!0,se()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}var Ae=new ht;function ge(t){me(t,Ae),Ae.clear()}function me(t,e){var n,i,r=Array.isArray(t);if(!(!r&&!l(t)||Object.isFrozen(t)||t instanceof yt)){if(t.__ob__){var s=t.__ob__.dep.id;if(e.has(s))return;e.add(s)}if(r){n=t.length;while(n--)me(t[n],e)}else{i=Object.keys(t),n=i.length;while(n--)me(t[i[n]],e)}}}var ve=w((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var i="!"===t.charAt(0);return t=i?t.slice(1):t,{name:t,once:n,capture:i,passive:e}}));function ye(t,e){function n(){var t=arguments,i=n.fns;if(!Array.isArray(i))return ne(i,null,arguments,e,"v-on handler");for(var r=i.slice(),s=0;s<r.length;s++)ne(r[s],null,t,e,"v-on handler")}return n.fns=t,n}function be(t,e,n,r,o,a){var l,c,u,h;for(l in t)c=t[l],u=e[l],h=ve(l),i(c)||(i(u)?(i(c.fns)&&(c=t[l]=ye(c,a)),s(h.once)&&(c=t[l]=o(h.name,c,h.capture)),n(h.name,c,h.capture,h.passive,h.params)):c!==u&&(u.fns=c,t[l]=u));for(l in e)i(t[l])&&(h=ve(l),r(h.name,e[l],h.capture))}function we(t,e,n){var o;t instanceof yt&&(t=t.data.hook||(t.data.hook={}));var a=t[e];function l(){n.apply(this,arguments),v(o.fns,l)}i(a)?o=ye([l]):r(a.fns)&&s(a.merged)?(o=a,o.fns.push(l)):o=ye([a,l]),o.merged=!0,t[e]=o}function Ee(t,e,n){var s=e.options.props;if(!i(s)){var o={},a=t.attrs,l=t.props;if(r(a)||r(l))for(var c in s){var u=B(c);xe(o,l,c,u,!0)||xe(o,a,c,u,!1)}return o}}function xe(t,e,n,i,s){if(r(e)){if(b(e,n))return t[n]=e[n],s||delete e[n],!0;if(b(e,i))return t[n]=e[i],s||delete e[i],!0}return!1}function ke(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function Ce(t){return a(t)?[Et(t)]:Array.isArray(t)?Ie(t):void 0}function Be(t){return r(t)&&r(t.text)&&o(t.isComment)}function Ie(t,e){var n,o,l,c,u=[];for(n=0;n<t.length;n++)o=t[n],i(o)||"boolean"===typeof o||(l=u.length-1,c=u[l],Array.isArray(o)?o.length>0&&(o=Ie(o,(e||"")+"_"+n),Be(o[0])&&Be(c)&&(u[l]=Et(c.text+o[0].text),o.shift()),u.push.apply(u,o)):a(o)?Be(c)?u[l]=Et(c.text+o):""!==o&&u.push(Et(o)):Be(o)&&Be(c)?u[l]=Et(c.text+o.text):(s(t._isVList)&&r(o.tag)&&i(o.key)&&r(e)&&(o.key="__vlist"+e+"_"+n+"__"),u.push(o)));return u}function Te(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Se(t){var e=_e(t.$options.inject,t);e&&(St(!1),Object.keys(e).forEach((function(n){Lt(t,n,e[n])})),St(!0))}function _e(t,e){if(t){for(var n=Object.create(null),i=dt?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var s=i[r];if("__ob__"!==s){var o=t[s].from,a=e;while(a){if(a._provided&&b(a._provided,o)){n[s]=a._provided[o];break}a=a.$parent}if(!a)if("default"in t[s]){var l=t[s].default;n[s]="function"===typeof l?l.call(e):l}else 0}}return n}}function De(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var s=t[i],o=s.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,s.context!==e&&s.fnContext!==e||!o||null==o.slot)(n.default||(n.default=[])).push(s);else{var a=o.slot,l=n[a]||(n[a]=[]);"template"===s.tag?l.push.apply(l,s.children||[]):l.push(s)}}for(var c in n)n[c].every(Me)&&delete n[c];return n}function Me(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Ne(t,e,i){var r,s=Object.keys(e).length>0,o=t?!!t.$stable:!s,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(o&&i&&i!==n&&a===i.$key&&!s&&!i.$hasNormal)return i;for(var l in r={},t)t[l]&&"$"!==l[0]&&(r[l]=Le(e,l,t[l]))}else r={};for(var c in e)c in r||(r[c]=Oe(e,c));return t&&Object.isExtensible(t)&&(t._normalized=r),H(r,"$stable",o),H(r,"$key",a),H(r,"$hasNormal",s),r}function Le(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Ce(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function Oe(t,e){return function(){return t[e]}}function Qe(t,e){var n,i,s,o,a;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),i=0,s=t.length;i<s;i++)n[i]=e(t[i],i);else if("number"===typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i);else if(l(t))if(dt&&t[Symbol.iterator]){n=[];var c=t[Symbol.iterator](),u=c.next();while(!u.done)n.push(e(u.value,n.length)),u=c.next()}else for(o=Object.keys(t),n=new Array(o.length),i=0,s=o.length;i<s;i++)a=o[i],n[i]=e(t[a],a,i);return r(n)||(n=[]),n._isVList=!0,n}function Fe(t,e,n,i){var r,s=this.$scopedSlots[t];s?(n=n||{},i&&(n=D(D({},i),n)),r=s(n)||e):r=this.$slots[t]||e;var o=n&&n.slot;return o?this.$createElement("template",{slot:o},r):r}function Re(t){return $t(this.$options,"filters",t,!0)||O}function je(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ue(t,e,n,i,r){var s=z.keyCodes[e]||n;return r&&i&&!z.keyCodes[e]?je(r,i):s?je(s,t):i?B(i)!==e:void 0}function Pe(t,e,n,i,r){if(n)if(l(n)){var s;Array.isArray(n)&&(n=M(n));var o=function(o){if("class"===o||"style"===o||m(o))s=t;else{var a=t.attrs&&t.attrs.type;s=i||z.mustUseProp(e,a,o)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=x(o),c=B(o);if(!(l in s)&&!(c in s)&&(s[o]=n[o],r)){var u=t.on||(t.on={});u["update:"+o]=function(t){n[o]=t}}};for(var a in n)o(a)}else;return t}function ze(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e?i:(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),We(i,"__static__"+t,!1),i)}function Ye(t,e,n){return We(t,"__once__"+e+(n?"_"+n:""),!0),t}function We(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!==typeof t[i]&&He(t[i],e+"_"+i,n);else He(t,e,n)}function He(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ge(t,e){if(e)if(u(e)){var n=t.on=t.on?D({},t.on):{};for(var i in e){var r=n[i],s=e[i];n[i]=r?[].concat(r,s):s}}else;return t}function Ve(t,e,n,i){e=e||{$stable:!n};for(var r=0;r<t.length;r++){var s=t[r];Array.isArray(s)?Ve(s,e,n):s&&(s.proxy&&(s.fn.proxy=!0),e[s.key]=s.fn)}return i&&(e.$key=i),e}function qe(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"===typeof i&&i&&(t[e[n]]=e[n+1])}return t}function $e(t,e){return"string"===typeof t?e+t:t}function Je(t){t._o=Ye,t._n=A,t._s=p,t._l=Qe,t._t=Fe,t._q=Q,t._i=F,t._m=ze,t._f=Re,t._k=Ue,t._b=Pe,t._v=Et,t._e=wt,t._u=Ve,t._g=Ge,t._d=qe,t._p=$e}function Ze(t,e,i,r,o){var a,l=this,c=o.options;b(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var u=s(c._compiled),h=!u;this.data=t,this.props=e,this.children=i,this.parent=r,this.listeners=t.on||n,this.injections=_e(c.inject,r),this.slots=function(){return l.$slots||Ne(t.scopedSlots,l.$slots=De(i,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ne(t.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Ne(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,i){var s=hn(a,t,e,n,i,h);return s&&!Array.isArray(s)&&(s.fnScopeId=c._scopeId,s.fnContext=r),s}:this._c=function(t,e,n,i){return hn(a,t,e,n,i,h)}}function Ke(t,e,i,s,o){var a=t.options,l={},c=a.props;if(r(c))for(var u in c)l[u]=Jt(u,c,e||n);else r(i.attrs)&&tn(l,i.attrs),r(i.props)&&tn(l,i.props);var h=new Ze(i,l,o,s,t),d=a.render.call(null,h._c,h);if(d instanceof yt)return Xe(d,i,h.parent,a,h);if(Array.isArray(d)){for(var f=Ce(d)||[],p=new Array(f.length),A=0;A<f.length;A++)p[A]=Xe(f[A],i,h.parent,a,h);return p}}function Xe(t,e,n,i,r){var s=xt(t);return s.fnContext=n,s.fnOptions=i,e.slot&&((s.data||(s.data={})).slot=e.slot),s}function tn(t,e){for(var n in e)t[x(n)]=e[n]}Je(Ze.prototype);var en={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;en.prepatch(n,n)}else{var i=t.componentInstance=sn(t,_n);i.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,i=e.componentInstance=t.componentInstance;On(i,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,jn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Kn(n):Fn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Rn(e,!0):e.$destroy())}},nn=Object.keys(en);function rn(t,e,n,o,a){if(!i(t)){var c=n.$options._base;if(l(t)&&(t=c.extend(t)),"function"===typeof t){var u;if(i(t.cid)&&(u=t,t=wn(u,c),void 0===t))return bn(u,e,n,o,a);e=e||{},wi(t),r(e.model)&&ln(t.options,e);var h=Ee(e,t,a);if(s(t.options.functional))return Ke(t,h,e,n,o);var d=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var f=e.slot;e={},f&&(e.slot=f)}on(e);var p=t.options.name||a,A=new yt("vue-component-"+t.cid+(p?"-"+p:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:h,listeners:d,tag:a,children:o},u);return A}}}function sn(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;return r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new t.componentOptions.Ctor(n)}function on(t){for(var e=t.hook||(t.hook={}),n=0;n<nn.length;n++){var i=nn[n],r=e[i],s=en[i];r===s||r&&r._merged||(e[i]=r?an(s,r):s)}}function an(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}function ln(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var s=e.on||(e.on={}),o=s[i],a=e.model.callback;r(o)?(Array.isArray(o)?-1===o.indexOf(a):o!==a)&&(s[i]=[a].concat(o)):s[i]=a}var cn=1,un=2;function hn(t,e,n,i,r,o){return(Array.isArray(n)||a(n))&&(r=i,i=n,n=void 0),s(o)&&(r=un),dn(t,e,n,i,r)}function dn(t,e,n,i,s){if(r(n)&&r(n.__ob__))return wt();if(r(n)&&r(n.is)&&(e=n.is),!e)return wt();var o,a,l;(Array.isArray(i)&&"function"===typeof i[0]&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),s===un?i=Ce(i):s===cn&&(i=ke(i)),"string"===typeof e)?(a=t.$vnode&&t.$vnode.ns||z.getTagNamespace(e),o=z.isReservedTag(e)?new yt(z.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!r(l=$t(t.$options,"components",e))?new yt(e,n,i,void 0,void 0,t):rn(l,n,t,i,e)):o=rn(e,n,t,i);return Array.isArray(o)?o:r(o)?(r(a)&&fn(o,a),r(n)&&pn(n),o):wt()}function fn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),r(t.children))for(var o=0,a=t.children.length;o<a;o++){var l=t.children[o];r(l.tag)&&(i(l.ns)||s(n)&&"svg"!==l.tag)&&fn(l,e,n)}}function pn(t){l(t.style)&&ge(t.style),l(t.class)&&ge(t.class)}function An(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,r=i&&i.context;t.$slots=De(e._renderChildren,r),t.$scopedSlots=n,t._c=function(e,n,i,r){return hn(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return hn(t,e,n,i,r,!0)};var s=i&&i.data;Lt(t,"$attrs",s&&s.attrs||n,null,!0),Lt(t,"$listeners",e._parentListeners||n,null,!0)}var gn,mn=null;function vn(t){Je(t.prototype),t.prototype.$nextTick=function(t){return pe(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,r=n._parentVnode;r&&(e.$scopedSlots=Ne(r.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=r;try{mn=e,t=i.call(e._renderProxy,e.$createElement)}catch(xo){ee(xo,e,"render"),t=e._vnode}finally{mn=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof yt||(t=wt()),t.parent=r,t}}function yn(t,e){return(t.__esModule||dt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function bn(t,e,n,i,r){var s=wt();return s.asyncFactory=t,s.asyncMeta={data:e,context:n,children:i,tag:r},s}function wn(t,e){if(s(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;var n=mn;if(n&&r(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&r(t.loadingComp))return t.loadingComp;if(n&&!r(t.owners)){var o=t.owners=[n],a=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return v(o,n)}));var h=function(t){for(var e=0,n=o.length;e<n;e++)o[e].$forceUpdate();t&&(o.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},d=R((function(n){t.resolved=yn(n,e),a?o.length=0:h(!0)})),p=R((function(e){r(t.errorComp)&&(t.error=!0,h(!0))})),A=t(d,p);return l(A)&&(f(A)?i(t.resolved)&&A.then(d,p):f(A.component)&&(A.component.then(d,p),r(A.error)&&(t.errorComp=yn(A.error,e)),r(A.loading)&&(t.loadingComp=yn(A.loading,e),0===A.delay?t.loading=!0:c=setTimeout((function(){c=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,h(!1))}),A.delay||200)),r(A.timeout)&&(u=setTimeout((function(){u=null,i(t.resolved)&&p(null)}),A.timeout)))),a=!1,t.loading?t.loadingComp:t.resolved}}function En(t){return t.isComment&&t.asyncFactory}function xn(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(r(n)&&(r(n.componentOptions)||En(n)))return n}}function kn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Tn(t,e)}function Cn(t,e){gn.$on(t,e)}function Bn(t,e){gn.$off(t,e)}function In(t,e){var n=gn;return function i(){var r=e.apply(null,arguments);null!==r&&n.$off(t,i)}}function Tn(t,e,n){gn=t,be(e,n||{},Cn,Bn,In,t),gn=void 0}function Sn(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var r=0,s=t.length;r<s;r++)i.$on(t[r],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var i=0,r=t.length;i<r;i++)n.$off(t[i],e);return n}var s,o=n._events[t];if(!o)return n;if(!e)return n._events[t]=null,n;var a=o.length;while(a--)if(s=o[a],s===e||s.fn===e){o.splice(a,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?_(n):n;for(var i=_(arguments,1),r='event handler for "'+t+'"',s=0,o=n.length;s<o;s++)ne(n[s],e,i,e,r)}return e}}var _n=null;function Dn(t){var e=_n;return _n=t,function(){_n=e}}function Mn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Nn(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,s=Dn(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),s(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){jn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||v(e.$children,t),t._watcher&&t._watcher.teardown();var n=t._watchers.length;while(n--)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),jn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Ln(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=wt),jn(t,"beforeMount"),i=function(){t._update(t._render(),n)},new ni(t,i,N,{before:function(){t._isMounted&&!t._isDestroyed&&jn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,jn(t,"mounted")),t}function On(t,e,i,r,s){var o=r.data.scopedSlots,a=t.$scopedSlots,l=!!(o&&!o.$stable||a!==n&&!a.$stable||o&&t.$scopedSlots.$key!==o.$key),c=!!(s||t.$options._renderChildren||l);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=s,t.$attrs=r.data.attrs||n,t.$listeners=i||n,e&&t.$options.props){St(!1);for(var u=t._props,h=t.$options._propKeys||[],d=0;d<h.length;d++){var f=h[d],p=t.$options.props;u[f]=Jt(f,p,e,t)}St(!0),t.$options.propsData=e}i=i||n;var A=t.$options._parentListeners;t.$options._parentListeners=i,Tn(t,i,A),c&&(t.$slots=De(s,r.context),t.$forceUpdate())}function Qn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Fn(t,e){if(e){if(t._directInactive=!1,Qn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Fn(t.$children[n]);jn(t,"activated")}}function Rn(t,e){if((!e||(t._directInactive=!0,!Qn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Rn(t.$children[n]);jn(t,"deactivated")}}function jn(t,e){mt();var n=t.$options[e],i=e+" hook";if(n)for(var r=0,s=n.length;r<s;r++)ne(n[r],t,null,t,i);t._hasHookEvent&&t.$emit("hook:"+e),vt()}var Un=[],Pn=[],zn={},Yn=!1,Wn=!1,Hn=0;function Gn(){Hn=Un.length=Pn.length=0,zn={},Yn=Wn=!1}var Vn=0,qn=Date.now;if(J&&!tt){var $n=window.performance;$n&&"function"===typeof $n.now&&qn()>document.createEvent("Event").timeStamp&&(qn=function(){return $n.now()})}function Jn(){var t,e;for(Vn=qn(),Wn=!0,Un.sort((function(t,e){return t.id-e.id})),Hn=0;Hn<Un.length;Hn++)t=Un[Hn],t.before&&t.before(),e=t.id,zn[e]=null,t.run();var n=Pn.slice(),i=Un.slice();Gn(),Xn(n),Zn(i),ct&&z.devtools&&ct.emit("flush")}function Zn(t){var e=t.length;while(e--){var n=t[e],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&jn(i,"updated")}}function Kn(t){t._inactive=!1,Pn.push(t)}function Xn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Fn(t[e],!0)}function ti(t){var e=t.id;if(null==zn[e]){if(zn[e]=!0,Wn){var n=Un.length-1;while(n>Hn&&Un[n].id>t.id)n--;Un.splice(n+1,0,t)}else Un.push(t);Yn||(Yn=!0,pe(Jn))}}var ei=0,ni=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ei,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ht,this.newDepIds=new ht,this.expression="","function"===typeof e?this.getter=e:(this.getter=V(e),this.getter||(this.getter=N)),this.value=this.lazy?void 0:this.get()};ni.prototype.get=function(){var t;mt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(xo){if(!this.user)throw xo;ee(xo,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ge(t),vt(),this.cleanupDeps()}return t},ni.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ni.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ni.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ti(this)},ni.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(xo){ee(xo,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},ni.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ni.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},ni.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ii={enumerable:!0,configurable:!0,get:N,set:N};function ri(t,e,n){ii.get=function(){return this[e][n]},ii.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ii)}function si(t){t._watchers=[];var e=t.$options;e.props&&oi(t,e.props),e.methods&&pi(t,e.methods),e.data?ai(t):Nt(t._data={},!0),e.computed&&ui(t,e.computed),e.watch&&e.watch!==st&&Ai(t,e.watch)}function oi(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],s=!t.$parent;s||St(!1);var o=function(s){r.push(s);var o=Jt(s,e,n,t);Lt(i,s,o),s in t||ri(t,"_props",s)};for(var a in e)o(a);St(!0)}function ai(t){var e=t.$options.data;e=t._data="function"===typeof e?li(e,t):e||{},u(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var s=n[r];0,i&&b(i,s)||W(s)||ri(t,"_data",s)}Nt(e,!0)}function li(t,e){mt();try{return t.call(e,e)}catch(xo){return ee(xo,e,"data()"),{}}finally{vt()}}var ci={lazy:!0};function ui(t,e){var n=t._computedWatchers=Object.create(null),i=lt();for(var r in e){var s=e[r],o="function"===typeof s?s:s.get;0,i||(n[r]=new ni(t,o||N,N,ci)),r in t||hi(t,r,s)}}function hi(t,e,n){var i=!lt();"function"===typeof n?(ii.get=i?di(e):fi(n),ii.set=N):(ii.get=n.get?i&&!1!==n.cache?di(e):fi(n.get):N,ii.set=n.set||N),Object.defineProperty(t,e,ii)}function di(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),At.target&&e.depend(),e.value}}function fi(t){return function(){return t.call(this,this)}}function pi(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?N:S(e[n],t)}function Ai(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)gi(t,n,i[r]);else gi(t,n,i)}}function gi(t,e,n,i){return u(n)&&(i=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,i)}function mi(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Ot,t.prototype.$delete=Qt,t.prototype.$watch=function(t,e,n){var i=this;if(u(e))return gi(i,t,e,n);n=n||{},n.user=!0;var r=new ni(i,t,e,n);if(n.immediate)try{e.call(i,r.value)}catch(s){ee(s,i,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}var vi=0;function yi(t){t.prototype._init=function(t){var e=this;e._uid=vi++,e._isVue=!0,t&&t._isComponent?bi(e,t):e.$options=qt(wi(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Mn(e),kn(e),An(e),jn(e,"beforeCreate"),Se(e),si(e),Te(e),jn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function bi(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function wi(t){var e=t.options;if(t.super){var n=wi(t.super),i=t.superOptions;if(n!==i){t.superOptions=n;var r=Ei(t);r&&D(t.extendOptions,r),e=t.options=qt(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Ei(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}function xi(t){this._init(t)}function ki(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Ci(t){t.mixin=function(t){return this.options=qt(this.options,t),this}}function Bi(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var s=t.name||n.options.name;var o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=qt(n.options,t),o["super"]=n,o.options.props&&Ii(o),o.options.computed&&Ti(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,U.forEach((function(t){o[t]=n[t]})),s&&(o.options.components[s]=o),o.superOptions=n.options,o.extendOptions=t,o.sealedOptions=D({},o.options),r[i]=o,o}}function Ii(t){var e=t.options.props;for(var n in e)ri(t.prototype,"_props",n)}function Ti(t){var e=t.options.computed;for(var n in e)hi(t.prototype,n,e[n])}function Si(t){U.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function _i(t){return t&&(t.Ctor.options.name||t.tag)}function Di(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function Mi(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var s in n){var o=n[s];if(o){var a=_i(o.componentOptions);a&&!e(a)&&Ni(n,s,i,r)}}}function Ni(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,v(n,e)}yi(xi),mi(xi),Sn(xi),Nn(xi),vn(xi);var Li=[String,RegExp,Array],Oi={name:"keep-alive",abstract:!0,props:{include:Li,exclude:Li,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ni(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Mi(t,(function(t){return Di(e,t)}))})),this.$watch("exclude",(function(e){Mi(t,(function(t){return!Di(e,t)}))}))},render:function(){var t=this.$slots.default,e=xn(t),n=e&&e.componentOptions;if(n){var i=_i(n),r=this,s=r.include,o=r.exclude;if(s&&(!i||!Di(s,i))||o&&i&&Di(o,i))return e;var a=this,l=a.cache,c=a.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;l[u]?(e.componentInstance=l[u].componentInstance,v(c,u),c.push(u)):(l[u]=e,c.push(u),this.max&&c.length>parseInt(this.max)&&Ni(l,c[0],c,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Qi={KeepAlive:Oi};function Fi(t){var e={get:function(){return z}};Object.defineProperty(t,"config",e),t.util={warn:ft,extend:D,mergeOptions:qt,defineReactive:Lt},t.set=Ot,t.delete=Qt,t.nextTick=pe,t.observable=function(t){return Nt(t),t},t.options=Object.create(null),U.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,D(t.options.components,Qi),ki(t),Ci(t),Bi(t),Si(t)}Fi(xi),Object.defineProperty(xi.prototype,"$isServer",{get:lt}),Object.defineProperty(xi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xi,"FunctionalRenderContext",{value:Ze}),xi.version="2.6.11";var Ri=g("style,class"),ji=g("input,textarea,option,select,progress"),Ui=function(t,e,n){return"value"===n&&ji(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Pi=g("contenteditable,draggable,spellcheck"),zi=g("events,caret,typing,plaintext-only"),Yi=function(t,e){return qi(e)||"false"===e?"false":"contenteditable"===t&&zi(e)?e:"true"},Wi=g("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"),Hi="http://www.w3.org/1999/xlink",Gi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Vi=function(t){return Gi(t)?t.slice(6,t.length):""},qi=function(t){return null==t||!1===t};function $i(t){var e=t.data,n=t,i=t;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Ji(i.data,e));while(r(n=n.parent))n&&n.data&&(e=Ji(e,n.data));return Zi(e.staticClass,e.class)}function Ji(t,e){return{staticClass:Ki(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Zi(t,e){return r(t)||r(e)?Ki(t,Xi(e)):""}function Ki(t,e){return t?e?t+" "+e:t:e||""}function Xi(t){return Array.isArray(t)?tr(t):l(t)?er(t):"string"===typeof t?t:""}function tr(t){for(var e,n="",i=0,s=t.length;i<s;i++)r(e=Xi(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function er(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var nr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ir=g("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,picture,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,blockquote,iframe,tfoot"),rr=g("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),sr=function(t){return ir(t)||rr(t)};function or(t){return rr(t)?"svg":"math"===t?"math":void 0}var ar=Object.create(null);function lr(t){if(!J)return!0;if(sr(t))return!1;if(t=t.toLowerCase(),null!=ar[t])return ar[t];var e=document.createElement(t);return t.indexOf("-")>-1?ar[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ar[t]=/HTMLUnknownElement/.test(e.toString())}var cr=g("text,number,password,search,email,tel,url");function ur(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function hr(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function dr(t,e){return document.createElementNS(nr[t],e)}function fr(t){return document.createTextNode(t)}function pr(t){return document.createComment(t)}function Ar(t,e,n){t.insertBefore(e,n)}function gr(t,e){t.removeChild(e)}function mr(t,e){t.appendChild(e)}function vr(t){return t.parentNode}function yr(t){return t.nextSibling}function br(t){return t.tagName}function wr(t,e){t.textContent=e}function Er(t,e){t.setAttribute(e,"")}var xr=Object.freeze({createElement:hr,createElementNS:dr,createTextNode:fr,createComment:pr,insertBefore:Ar,removeChild:gr,appendChild:mr,parentNode:vr,nextSibling:yr,tagName:br,setTextContent:wr,setStyleScope:Er}),kr={create:function(t,e){Cr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Cr(t,!0),Cr(e))},destroy:function(t){Cr(t,!0)}};function Cr(t,e){var n=t.data.ref;if(r(n)){var i=t.context,s=t.componentInstance||t.elm,o=i.$refs;e?Array.isArray(o[n])?v(o[n],s):o[n]===s&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(s)<0&&o[n].push(s):o[n]=[s]:o[n]=s}}var Br=new yt("",{},[]),Ir=["create","activate","update","remove","destroy"];function Tr(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&Sr(t,e)||s(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&i(e.asyncFactory.error))}function Sr(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,s=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===s||cr(i)&&cr(s)}function _r(t,e,n){var i,s,o={};for(i=e;i<=n;++i)s=t[i].key,r(s)&&(o[s]=i);return o}function Dr(t){var e,n,o={},l=t.modules,c=t.nodeOps;for(e=0;e<Ir.length;++e)for(o[Ir[e]]=[],n=0;n<l.length;++n)r(l[n][Ir[e]])&&o[Ir[e]].push(l[n][Ir[e]]);function u(t){return new yt(c.tagName(t).toLowerCase(),{},[],void 0,t)}function h(t,e){function n(){0===--n.listeners&&d(t)}return n.listeners=e,n}function d(t){var e=c.parentNode(t);r(e)&&c.removeChild(e,t)}function f(t,e,n,i,o,a,l){if(r(t.elm)&&r(a)&&(t=a[l]=xt(t)),t.isRootInsert=!o,!p(t,e,n,i)){var u=t.data,h=t.children,d=t.tag;r(d)?(t.elm=t.ns?c.createElementNS(t.ns,d):c.createElement(d,t),E(t),y(t,h,e),r(u)&&w(t,e),v(n,t.elm,i)):s(t.isComment)?(t.elm=c.createComment(t.text),v(n,t.elm,i)):(t.elm=c.createTextNode(t.text),v(n,t.elm,i))}}function p(t,e,n,i){var o=t.data;if(r(o)){var a=r(t.componentInstance)&&o.keepAlive;if(r(o=o.hook)&&r(o=o.init)&&o(t,!1),r(t.componentInstance))return A(t,e),v(n,t.elm,i),s(a)&&m(t,e,n,i),!0}}function A(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,b(t)?(w(t,e),E(t)):(Cr(t),e.push(t))}function m(t,e,n,i){var s,a=t;while(a.componentInstance)if(a=a.componentInstance._vnode,r(s=a.data)&&r(s=s.transition)){for(s=0;s<o.activate.length;++s)o.activate[s](Br,a);e.push(a);break}v(n,t.elm,i)}function v(t,e,n){r(t)&&(r(n)?c.parentNode(n)===t&&c.insertBefore(t,e,n):c.appendChild(t,e))}function y(t,e,n){if(Array.isArray(e)){0;for(var i=0;i<e.length;++i)f(e[i],n,t.elm,null,!0,e,i)}else a(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function b(t){while(t.componentInstance)t=t.componentInstance._vnode;return r(t.tag)}function w(t,n){for(var i=0;i<o.create.length;++i)o.create[i](Br,t);e=t.data.hook,r(e)&&(r(e.create)&&e.create(Br,t),r(e.insert)&&n.push(t))}function E(t){var e;if(r(e=t.fnScopeId))c.setStyleScope(t.elm,e);else{var n=t;while(n)r(e=n.context)&&r(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),n=n.parent}r(e=_n)&&e!==t.context&&e!==t.fnContext&&r(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function x(t,e,n,i,r,s){for(;i<=r;++i)f(n[i],s,t,e,!1,n,i)}function k(t){var e,n,i=t.data;if(r(i))for(r(e=i.hook)&&r(e=e.destroy)&&e(t),e=0;e<o.destroy.length;++e)o.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)k(t.children[n])}function C(t,e,n){for(;e<=n;++e){var i=t[e];r(i)&&(r(i.tag)?(B(i),k(i)):d(i.elm))}}function B(t,e){if(r(e)||r(t.data)){var n,i=o.remove.length+1;for(r(e)?e.listeners+=i:e=h(t.elm,i),r(n=t.componentInstance)&&r(n=n._vnode)&&r(n.data)&&B(n,e),n=0;n<o.remove.length;++n)o.remove[n](t,e);r(n=t.data.hook)&&r(n=n.remove)?n(t,e):e()}else d(t.elm)}function I(t,e,n,s,o){var a,l,u,h,d=0,p=0,A=e.length-1,g=e[0],m=e[A],v=n.length-1,y=n[0],b=n[v],w=!o;while(d<=A&&p<=v)i(g)?g=e[++d]:i(m)?m=e[--A]:Tr(g,y)?(S(g,y,s,n,p),g=e[++d],y=n[++p]):Tr(m,b)?(S(m,b,s,n,v),m=e[--A],b=n[--v]):Tr(g,b)?(S(g,b,s,n,v),w&&c.insertBefore(t,g.elm,c.nextSibling(m.elm)),g=e[++d],b=n[--v]):Tr(m,y)?(S(m,y,s,n,p),w&&c.insertBefore(t,m.elm,g.elm),m=e[--A],y=n[++p]):(i(a)&&(a=_r(e,d,A)),l=r(y.key)?a[y.key]:T(y,e,d,A),i(l)?f(y,s,t,g.elm,!1,n,p):(u=e[l],Tr(u,y)?(S(u,y,s,n,p),e[l]=void 0,w&&c.insertBefore(t,u.elm,g.elm)):f(y,s,t,g.elm,!1,n,p)),y=n[++p]);d>A?(h=i(n[v+1])?null:n[v+1].elm,x(t,h,n,p,v,s)):p>v&&C(e,d,A)}function T(t,e,n,i){for(var s=n;s<i;s++){var o=e[s];if(r(o)&&Tr(t,o))return s}}function S(t,e,n,a,l,u){if(t!==e){r(e.elm)&&r(a)&&(e=a[l]=xt(e));var h=e.elm=t.elm;if(s(t.isAsyncPlaceholder))r(e.asyncFactory.resolved)?M(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,f=e.data;r(f)&&r(d=f.hook)&&r(d=d.prepatch)&&d(t,e);var p=t.children,A=e.children;if(r(f)&&b(e)){for(d=0;d<o.update.length;++d)o.update[d](t,e);r(d=f.hook)&&r(d=d.update)&&d(t,e)}i(e.text)?r(p)&&r(A)?p!==A&&I(h,p,A,n,u):r(A)?(r(t.text)&&c.setTextContent(h,""),x(h,null,A,0,A.length-1,n)):r(p)?C(p,0,p.length-1):r(t.text)&&c.setTextContent(h,""):t.text!==e.text&&c.setTextContent(h,e.text),r(f)&&r(d=f.hook)&&r(d=d.postpatch)&&d(t,e)}}}function _(t,e,n){if(s(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var D=g("attrs,class,staticClass,staticStyle,key");function M(t,e,n,i){var o,a=e.tag,l=e.data,c=e.children;if(i=i||l&&l.pre,e.elm=t,s(e.isComment)&&r(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(r(l)&&(r(o=l.hook)&&r(o=o.init)&&o(e,!0),r(o=e.componentInstance)))return A(e,n),!0;if(r(a)){if(r(c))if(t.hasChildNodes())if(r(o=l)&&r(o=o.domProps)&&r(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var u=!0,h=t.firstChild,d=0;d<c.length;d++){if(!h||!M(h,c[d],n,i)){u=!1;break}h=h.nextSibling}if(!u||h)return!1}else y(e,c,n);if(r(l)){var f=!1;for(var p in l)if(!D(p)){f=!0,w(e,n);break}!f&&l["class"]&&ge(l["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,a){if(!i(e)){var l=!1,h=[];if(i(t))l=!0,f(e,h);else{var d=r(t.nodeType);if(!d&&Tr(t,e))S(t,e,h,null,null,a);else{if(d){if(1===t.nodeType&&t.hasAttribute(j)&&(t.removeAttribute(j),n=!0),s(n)&&M(t,e,h))return _(e,h,!0),t;t=u(t)}var p=t.elm,A=c.parentNode(p);if(f(e,h,p._leaveCb?null:A,c.nextSibling(p)),r(e.parent)){var g=e.parent,m=b(e);while(g){for(var v=0;v<o.destroy.length;++v)o.destroy[v](g);if(g.elm=e.elm,m){for(var y=0;y<o.create.length;++y)o.create[y](Br,g);var w=g.data.hook.insert;if(w.merged)for(var E=1;E<w.fns.length;E++)w.fns[E]()}else Cr(g);g=g.parent}}r(A)?C([t],0,0):r(t.tag)&&k(t)}}return _(e,h,l),e.elm}r(t)&&k(t)}}var Mr={create:Nr,update:Nr,destroy:function(t){Nr(t,Br)}};function Nr(t,e){(t.data.directives||e.data.directives)&&Lr(t,e)}function Lr(t,e){var n,i,r,s=t===Br,o=e===Br,a=Qr(t.data.directives,t.context),l=Qr(e.data.directives,e.context),c=[],u=[];for(n in l)i=a[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,Rr(r,"update",e,t),r.def&&r.def.componentUpdated&&u.push(r)):(Rr(r,"bind",e,t),r.def&&r.def.inserted&&c.push(r));if(c.length){var h=function(){for(var n=0;n<c.length;n++)Rr(c[n],"inserted",e,t)};s?we(e,"insert",h):h()}if(u.length&&we(e,"postpatch",(function(){for(var n=0;n<u.length;n++)Rr(u[n],"componentUpdated",e,t)})),!s)for(n in a)l[n]||Rr(a[n],"unbind",t,t,o)}var Or=Object.create(null);function Qr(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++)i=t[n],i.modifiers||(i.modifiers=Or),r[Fr(i)]=i,i.def=$t(e.$options,"directives",i.name,!0);return r}function Fr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Rr(t,e,n,i,r){var s=t.def&&t.def[e];if(s)try{s(n.elm,t,n,i,r)}catch(xo){ee(xo,n.context,"directive "+t.name+" "+e+" hook")}}var jr=[kr,Mr];function Ur(t,e){var n=e.componentOptions;if((!r(n)||!1!==n.Ctor.options.inheritAttrs)&&(!i(t.data.attrs)||!i(e.data.attrs))){var s,o,a,l=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};for(s in r(u.__ob__)&&(u=e.data.attrs=D({},u)),u)o=u[s],a=c[s],a!==o&&Pr(l,s,o);for(s in(tt||nt)&&u.value!==c.value&&Pr(l,"value",u.value),c)i(u[s])&&(Gi(s)?l.removeAttributeNS(Hi,Vi(s)):Pi(s)||l.removeAttribute(s))}}function Pr(t,e,n){t.tagName.indexOf("-")>-1?zr(t,e,n):Wi(e)?qi(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Pi(e)?t.setAttribute(e,Yi(e,n)):Gi(e)?qi(n)?t.removeAttributeNS(Hi,Vi(e)):t.setAttributeNS(Hi,e,n):zr(t,e,n)}function zr(t,e,n){if(qi(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var Yr={create:Ur,update:Ur};function Wr(t,e){var n=e.elm,s=e.data,o=t.data;if(!(i(s.staticClass)&&i(s.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var a=$i(e),l=n._transitionClasses;r(l)&&(a=Ki(a,Xi(l))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Hr,Gr={create:Wr,update:Wr},Vr="__r",qr="__c";function $r(t){if(r(t[Vr])){var e=tt?"change":"input";t[e]=[].concat(t[Vr],t[e]||[]),delete t[Vr]}r(t[qr])&&(t.change=[].concat(t[qr],t.change||[]),delete t[qr])}function Jr(t,e,n){var i=Hr;return function r(){var s=e.apply(null,arguments);null!==s&&Xr(t,r,n,i)}}var Zr=oe&&!(rt&&Number(rt[1])<=53);function Kr(t,e,n,i){if(Zr){var r=Vn,s=e;e=s._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return s.apply(this,arguments)}}Hr.addEventListener(t,e,ot?{capture:n,passive:i}:n)}function Xr(t,e,n,i){(i||Hr).removeEventListener(t,e._wrapper||e,n)}function ts(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Hr=e.elm,$r(n),be(n,r,Kr,Xr,Jr,e.context),Hr=void 0}}var es,ns={create:ts,update:ts};function is(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,s,o=e.elm,a=t.data.domProps||{},l=e.data.domProps||{};for(n in r(l.__ob__)&&(l=e.data.domProps=D({},l)),a)n in l||(o[n]="");for(n in l){if(s=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),s===a[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=s;var c=i(s)?"":String(s);rs(o,c)&&(o.value=c)}else if("innerHTML"===n&&rr(o.tagName)&&i(o.innerHTML)){es=es||document.createElement("div"),es.innerHTML="<svg>"+s+"</svg>";var u=es.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(u.firstChild)o.appendChild(u.firstChild)}else if(s!==a[n])try{o[n]=s}catch(xo){}}}}function rs(t,e){return!t.composing&&("OPTION"===t.tagName||ss(t,e)||os(t,e))}function ss(t,e){var n=!0;try{n=document.activeElement!==t}catch(xo){}return n&&t.value!==e}function os(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.number)return A(n)!==A(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var as={create:is,update:is},ls=w((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function cs(t){var e=us(t.style);return t.staticStyle?D(t.staticStyle,e):e}function us(t){return Array.isArray(t)?M(t):"string"===typeof t?ls(t):t}function hs(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=cs(r.data))&&D(i,n)}(n=cs(t.data))&&D(i,n);var s=t;while(s=s.parent)s.data&&(n=cs(s.data))&&D(i,n);return i}var ds,fs=/^--/,ps=/\s*!important$/,As=function(t,e,n){if(fs.test(e))t.style.setProperty(e,n);else if(ps.test(n))t.style.setProperty(B(e),n.replace(ps,""),"important");else{var i=ms(e);if(Array.isArray(n))for(var r=0,s=n.length;r<s;r++)t.style[i]=n[r];else t.style[i]=n}},gs=["Webkit","Moz","ms"],ms=w((function(t){if(ds=ds||document.createElement("div").style,t=x(t),"filter"!==t&&t in ds)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<gs.length;n++){var i=gs[n]+e;if(i in ds)return i}}));function vs(t,e){var n=e.data,s=t.data;if(!(i(n.staticStyle)&&i(n.style)&&i(s.staticStyle)&&i(s.style))){var o,a,l=e.elm,c=s.staticStyle,u=s.normalizedStyle||s.style||{},h=c||u,d=us(e.data.style)||{};e.data.normalizedStyle=r(d.__ob__)?D({},d):d;var f=hs(e,!0);for(a in h)i(f[a])&&As(l,a,"");for(a in f)o=f[a],o!==h[a]&&As(l,a,null==o?"":o)}}var ys={create:vs,update:vs},bs=/\s+/;function ws(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(bs).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Es(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(bs).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function xs(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&D(e,ks(t.name||"v")),D(e,t),e}return"string"===typeof t?ks(t):void 0}}var ks=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Cs=J&&!et,Bs="transition",Is="animation",Ts="transition",Ss="transitionend",_s="animation",Ds="animationend";Cs&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ts="WebkitTransition",Ss="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(_s="WebkitAnimation",Ds="webkitAnimationEnd"));var Ms=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ns(t){Ms((function(){Ms(t)}))}function Ls(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ws(t,e))}function Os(t,e){t._transitionClasses&&v(t._transitionClasses,e),Es(t,e)}function Qs(t,e,n){var i=Rs(t,e),r=i.type,s=i.timeout,o=i.propCount;if(!r)return n();var a=r===Bs?Ss:Ds,l=0,c=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++l>=o&&c()};setTimeout((function(){l<o&&c()}),s+1),t.addEventListener(a,u)}var Fs=/\b(transform|all)(,|$)/;function Rs(t,e){var n,i=window.getComputedStyle(t),r=(i[Ts+"Delay"]||"").split(", "),s=(i[Ts+"Duration"]||"").split(", "),o=js(r,s),a=(i[_s+"Delay"]||"").split(", "),l=(i[_s+"Duration"]||"").split(", "),c=js(a,l),u=0,h=0;e===Bs?o>0&&(n=Bs,u=o,h=s.length):e===Is?c>0&&(n=Is,u=c,h=l.length):(u=Math.max(o,c),n=u>0?o>c?Bs:Is:null,h=n?n===Bs?s.length:l.length:0);var d=n===Bs&&Fs.test(i[Ts+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:d}}function js(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Us(e)+Us(t[n])})))}function Us(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Ps(t,e){var n=t.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var s=xs(t.data.transition);if(!i(s)&&!r(n._enterCb)&&1===n.nodeType){var o=s.css,a=s.type,c=s.enterClass,u=s.enterToClass,h=s.enterActiveClass,d=s.appearClass,f=s.appearToClass,p=s.appearActiveClass,g=s.beforeEnter,m=s.enter,v=s.afterEnter,y=s.enterCancelled,b=s.beforeAppear,w=s.appear,E=s.afterAppear,x=s.appearCancelled,k=s.duration,C=_n,B=_n.$vnode;while(B&&B.parent)C=B.context,B=B.parent;var I=!C._isMounted||!t.isRootInsert;if(!I||w||""===w){var T=I&&d?d:c,S=I&&p?p:h,_=I&&f?f:u,D=I&&b||g,M=I&&"function"===typeof w?w:m,N=I&&E||v,L=I&&x||y,O=A(l(k)?k.enter:k);0;var Q=!1!==o&&!et,F=Ws(M),j=n._enterCb=R((function(){Q&&(Os(n,_),Os(n,S)),j.cancelled?(Q&&Os(n,T),L&&L(n)):N&&N(n),n._enterCb=null}));t.data.show||we(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),M&&M(n,j)})),D&&D(n),Q&&(Ls(n,T),Ls(n,S),Ns((function(){Os(n,T),j.cancelled||(Ls(n,_),F||(Ys(O)?setTimeout(j,O):Qs(n,a,j)))}))),t.data.show&&(e&&e(),M&&M(n,j)),Q||F||j()}}}function zs(t,e){var n=t.elm;r(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var s=xs(t.data.transition);if(i(s)||1!==n.nodeType)return e();if(!r(n._leaveCb)){var o=s.css,a=s.type,c=s.leaveClass,u=s.leaveToClass,h=s.leaveActiveClass,d=s.beforeLeave,f=s.leave,p=s.afterLeave,g=s.leaveCancelled,m=s.delayLeave,v=s.duration,y=!1!==o&&!et,b=Ws(f),w=A(l(v)?v.leave:v);0;var E=n._leaveCb=R((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(Os(n,u),Os(n,h)),E.cancelled?(y&&Os(n,c),g&&g(n)):(e(),p&&p(n)),n._leaveCb=null}));m?m(x):x()}function x(){E.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),d&&d(n),y&&(Ls(n,c),Ls(n,h),Ns((function(){Os(n,c),E.cancelled||(Ls(n,u),b||(Ys(w)?setTimeout(E,w):Qs(n,a,E)))}))),f&&f(n,E),y||b||E())}}function Ys(t){return"number"===typeof t&&!isNaN(t)}function Ws(t){if(i(t))return!1;var e=t.fns;return r(e)?Ws(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Hs(t,e){!0!==e.data.show&&Ps(e)}var Gs=J?{create:Hs,activate:Hs,remove:function(t,e){!0!==t.data.show?zs(t,e):e()}}:{},Vs=[Yr,Gr,ns,as,ys,Gs],qs=Vs.concat(jr),$s=Dr({nodeOps:xr,modules:qs});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&io(t,"input")}));var Js={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?we(n,"postpatch",(function(){Js.componentUpdated(t,e,n)})):Zs(t,e,n.context),t._vOptions=[].map.call(t.options,to)):("textarea"===n.tag||cr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",eo),t.addEventListener("compositionend",no),t.addEventListener("change",no),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Zs(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,to);if(r.some((function(t,e){return!Q(t,i[e])}))){var s=t.multiple?e.value.some((function(t){return Xs(t,r)})):e.value!==e.oldValue&&Xs(e.value,r);s&&io(t,"change")}}}};function Zs(t,e,n){Ks(t,e,n),(tt||nt)&&setTimeout((function(){Ks(t,e,n)}),0)}function Ks(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var s,o,a=0,l=t.options.length;a<l;a++)if(o=t.options[a],r)s=F(i,to(o))>-1,o.selected!==s&&(o.selected=s);else if(Q(to(o),i))return void(t.selectedIndex!==a&&(t.selectedIndex=a));r||(t.selectedIndex=-1)}}function Xs(t,e){return e.every((function(e){return!Q(e,t)}))}function to(t){return"_value"in t?t._value:t.value}function eo(t){t.target.composing=!0}function no(t){t.target.composing&&(t.target.composing=!1,io(t.target,"input"))}function io(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ro(t){return!t.componentInstance||t.data&&t.data.transition?t:ro(t.componentInstance._vnode)}var so={bind:function(t,e,n){var i=e.value;n=ro(n);var r=n.data&&n.data.transition,s=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Ps(n,(function(){t.style.display=s}))):t.style.display=i?s:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=ro(n);var s=n.data&&n.data.transition;s?(n.data.show=!0,i?Ps(n,(function(){t.style.display=t.__vOriginalDisplay})):zs(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},oo={model:Js,show:so},ao={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]};function lo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?lo(xn(e.children)):t}function co(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var s in r)e[x(s)]=r[s];return e}function uo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ho(t){while(t=t.parent)if(t.data.transition)return!0}function fo(t,e){return e.key===t.key&&e.tag===t.tag}var po=function(t){return t.tag||En(t)},Ao=function(t){return"show"===t.name},go={name:"transition",props:ao,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(po),n.length)){0;var i=this.mode;0;var r=n[0];if(ho(this.$vnode))return r;var s=lo(r);if(!s)return r;if(this._leaving)return uo(t,r);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:a(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var l=(s.data||(s.data={})).transition=co(this),c=this._vnode,u=lo(c);if(s.data.directives&&s.data.directives.some(Ao)&&(s.data.show=!0),u&&u.data&&!fo(s,u)&&!En(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=D({},l);if("out-in"===i)return this._leaving=!0,we(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),uo(t,r);if("in-out"===i){if(En(s))return c;var d,f=function(){d()};we(l,"afterEnter",f),we(l,"enterCancelled",f),we(h,"delayLeave",(function(t){d=t}))}}return r}}},mo=D({tag:String,moveClass:String},ao);delete mo.mode;var vo={props:mo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Dn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],s=this.children=[],o=co(this),a=0;a<r.length;a++){var l=r[a];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))s.push(l),n[l.key]=l,(l.data||(l.data={})).transition=o;else;}if(i){for(var c=[],u=[],h=0;h<i.length;h++){var d=i[h];d.data.transition=o,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?c.push(d):u.push(d)}this.kept=t(e,null,c),this.removed=u}return t(e,null,s)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(yo),t.forEach(bo),t.forEach(wo),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;Ls(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Ss,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Ss,t),n._moveCb=null,Os(n,e))})}})))},methods:{hasMove:function(t,e){if(!Cs)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Es(n,t)})),ws(n,e),n.style.display="none",this.$el.appendChild(n);var i=Rs(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function yo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function bo(t){t.data.newPos=t.elm.getBoundingClientRect()}function wo(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var s=t.elm.style;s.transform=s.WebkitTransform="translate("+i+"px,"+r+"px)",s.transitionDuration="0s"}}var Eo={Transition:go,TransitionGroup:vo};xi.config.mustUseProp=Ui,xi.config.isReservedTag=sr,xi.config.isReservedAttr=Ri,xi.config.getTagNamespace=or,xi.config.isUnknownElement=lr,D(xi.options.directives,oo),D(xi.options.components,Eo),xi.prototype.__patch__=J?$s:N,xi.prototype.$mount=function(t,e){return t=t&&J?ur(t):void 0,Ln(this,t,e)},J&&setTimeout((function(){z.devtools&&ct&&ct.emit("init",xi)}),0),e["default"]=xi}.call(this,n("c8ba"))},"2b88":function(t,e,n){"use strict";
  /*! 
    * portal-vue © Thorsten Lünborg, 2019 
    * 
    * Version: 2.1.7
    * 
    * LICENCE: MIT 
    * 
    * https://github.com/linusborg/portal-vue
    * 
   */function i(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var r=i(n("2b0e"));function s(t){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function o(t){return a(t)||l(t)||c()}function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function l(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var u="undefined"!==typeof window;function h(t){return Array.isArray(t)||"object"===s(t)?Object.freeze(t):t}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var i=n.passengers[0],r="function"===typeof i?i(e):n.passengers;return t.concat(r)}),[])}function f(t,e){return t.map((function(t,e){return[e,t]})).sort((function(t,n){return e(t[1],n[1])||t[0]-n[0]})).map((function(t){return t[1]}))}function p(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var A={},g={},m={},v=r.extend({data:function(){return{transports:A,targets:g,sources:m,trackInstances:u}},methods:{open:function(t){if(u){var e=t.to,n=t.from,i=t.passengers,s=t.order,o=void 0===s?1/0:s;if(e&&n&&i){var a={to:e,from:n,passengers:h(i),order:o},l=Object.keys(this.transports);-1===l.indexOf(e)&&r.set(this.transports,e,[]);var c=this.$_getTransportIndex(a),d=this.transports[e].slice(0);-1===c?d.push(a):d[c]=a,this.transports[e]=f(d,(function(t,e){return t.order-e.order}))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,i=t.from;if(n&&(i||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var r=this.$_getTransportIndex(t);if(r>=0){var s=this.transports[n].slice(0);s.splice(r,1),this.transports[n]=s}}},registerTarget:function(t,e,n){u&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){u&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var i in this.transports[e])if(this.transports[e][i].from===n)return+i;return-1}}}),y=new v(A),b=1,w=r.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(b++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){y.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){y.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};y.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"===typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:o(t),order:this.order};y.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),E=r.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:y.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){y.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){y.unregisterTarget(e),y.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){y.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return d(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),i=this.transition||this.tag;return e?n[0]:this.slim&&!i?t():t(i,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),x=0,k=["disabled","name","order","slim","slotProps","tag","to"],C=["multiple","transition"],B=r.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(x++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!==typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(y.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n        Aborting because 'bail: true' is set")):this.portalTarget=y.targets[e.name];else{var n=e.append;if(n){var i="string"===typeof n?n:"DIV",r=document.createElement(i);t.appendChild(r),t=r}var s=p(this.$props,C);s.slim=this.targetSlim,s.tag=this.targetTag,s.slotProps=this.targetSlotProps,s.name=this.to,this.portalTarget=new E({el:t,parent:this.$parent||this,propsData:s})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,k);return t(w,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",w),t.component(e.portalTargetName||"PortalTarget",E),t.component(e.MountingPortalName||"MountingPortal",B)}var T={install:I};e.default=T,e.Portal=w,e.PortalTarget=E,e.MountingPortal=B,e.Wormhole=y},3101:function(t,e,n){"use strict";var i=n("6053"),r=n.n(i);r.a},3408:function(t,e,n){},"35e8":function(t,e,n){"use strict";t.exports={isString:function(t){return"string"===typeof t},isObject:function(t){return"object"===typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},"368e":function(t,e,n){},"36a7":function(t,e,n){},"38c8":function(t,e,n){},"3ad0":function(t,e,n){},"3c93":function(t,e,n){},"41e6":function(t,e,n){},4804:function(t,e,n){},"4b85":function(t,e,n){},"4ff9":function(t,e,n){},5025:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={badge:"徽章",close:"关闭",dataIterator:{noResultsText:"没有符合条件的结果",loadingText:"加载中……"},dataTable:{itemsPerPageText:"每页数目：",ariaLabel:{sortDescending:"：降序排列。点击以移除排序。",sortAscending:"：升序排列。点击以降序排列。",sortNone:"：未排序。点击以升序排列。"},sortBy:"排序方式"},dataFooter:{itemsPerPageText:"每页数目：",itemsPerPageAll:"全部",nextPage:"下一页",prevPage:"上一页",firstPage:"首页",lastPage:"尾页",pageText:"{0}-{1} 共 {2}"},datePicker:{itemsSelected:"已选择 {0}"},noDataText:"没有数据",carousel:{prev:"上一张",next:"下一张",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"还有 {0} 项"},fileInput:{counter:"{0} 个文件",counterSize:"{0} 个文件（共 {1}）"},timePicker:{am:"AM",pm:"PM"}};e.default=i},"56d7":function(t,e,n){"use strict";n.r(e);var i={};n.r(i),n.d(i,"linear",(function(){return El})),n.d(i,"easeInQuad",(function(){return xl})),n.d(i,"easeOutQuad",(function(){return kl})),n.d(i,"easeInOutQuad",(function(){return Cl})),n.d(i,"easeInCubic",(function(){return Bl})),n.d(i,"easeOutCubic",(function(){return Il})),n.d(i,"easeInOutCubic",(function(){return Tl})),n.d(i,"easeInQuart",(function(){return Sl})),n.d(i,"easeOutQuart",(function(){return _l})),n.d(i,"easeInOutQuart",(function(){return Dl})),n.d(i,"easeInQuint",(function(){return Ml})),n.d(i,"easeOutQuint",(function(){return Nl})),n.d(i,"easeInOutQuint",(function(){return Ll}));n("38c8");var r=n("2b0e"),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-app",[n("v-app-bar",{attrs:{app:"",color:"primary",dark:""}},[n("v-toolbar-title",{staticClass:"headline pointer mr-3 hidden-sm-and-down"},[n("router-link",{attrs:{to:{path:"/",query:{rootId:t.$route.query.rootId}},tag:"span"}},[t._v(t._s(t.title))])],1),n("v-toolbar-items",[t.drives.length?n("v-menu",{attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function(e){var i=e.on;return[n("v-btn",t._g({staticClass:"text-none",attrs:{text:""}},i),[n("v-icon",[t._v("mdi-cloud")]),t._v(" "+t._s(t.currentDrive.text)),n("v-icon",[t._v("mdi-menu-down")])],1)]}}],null,!1,2025857068)},[n("v-list",t._l(t.drives,(function(e,i){return n("v-list-item",{key:i.id,on:{click:function(n){return t.changeDrive(e.value)}}},[n("v-list-item-title",[t._v(t._s(e.text))])],1)})),1)],1):t._e()],1),n("portal-target",{attrs:{name:"navbar",slim:""}}),n("v-spacer")],1),n("v-content",[n("router-view")],1),n("LoginDialog",{attrs:{cond:t.showAuthInput}})],1)},o=[],a=(()=>{const t=["get","post","put","patch","delete","head"];class e extends Error{constructor(t){super(t.statusText),this.name="HTTPError",this.response=t}}class n extends Promise{}for(const p of["arrayBuffer","blob","formData","json","text"])n.prototype[p]=function(t){return this.then(t=>t[p]()).then(t||(t=>t))};function i(t,e){const n=t=>t&&"object"===typeof t;return n(t)&&n(e)?(Object.keys(e).forEach(r=>{const s=t[r],o=e[r];Array.isArray(s)&&Array.isArray(o)?t[r]=s.concat(o):n(s)&&n(o)?t[r]=i(Object.assign({},s),o):t[r]=o}),t):e}const{assign:r}=Object,s=t=>t.reduce((t,[e,n])=>(t[e]=n,t),{}),o=(...t)=>e=>t.some(t=>"string"===typeof t?typeof e===t:e instanceof t),a=o("string"),l=o("object"),c=t=>a(t)||l(t),u=t=>{if(!t.ok)throw new e(t);return t},h=(l={})=>{const d=(t,e={})=>{i(e,l);const h=t=>new e.URLSearchParams(t).toString(),d=t=>s([...new e.URLSearchParams(t).entries()]),f=new e.URL(t,e.baseURI||void 0);if(e.headers?o(e.Headers)(e.headers)&&(e.headers=s([...e.headers.entries()])):e.headers={},e.json)e.body=JSON.stringify(e.json),e.headers["Content-Type"]="application/json";else if(c(e.urlencoded))e.body=a(e.urlencoded)?e.urlencoded:h(e.urlencoded),e.headers["Content-Type"]="application/x-www-form-urlencoded";else if(o(e.FormData,"object")(e.formData)){if(!o(e.FormData)(e.formData)){const t=new e.FormData;for(const[n,i]of Object.entries(e.formData))t.append(n,i);e.formData=t}e.body=e.formData}return e.qs&&(a(e.qs)&&(e.qs=d(e.qs)),f.search=h(r(s([...f.searchParams.entries()]),e.qs))),e.credentials||(e.credentials="same-origin"),n.resolve(e.fetch(f,e).then(u))};for(const e of t)d[e]=(t,n={})=>(n.method=e.toUpperCase(),d(t,n));return d.extend=t=>h(r({},l,t)),d.HTTPError=e,d},d="undefined"!==typeof document,f="undefined"!==typeof self;return f?h({fetch:fetch.bind(self),URL:URL,Response:Response,URLSearchParams:URLSearchParams,Headers:Headers,FormData:FormData,baseURI:d?document.baseURI:""}):h()})();const l={};localStorage.token&&(l.Authorization="Basic "+localStorage.token);var c=a.extend({baseURI:window.props.api,headers:l}),u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-dialog",{attrs:{persistent:"","max-width":"500"},model:{value:t.cond,callback:function(e){t.cond=e},expression:"cond"}},[n("v-card",[n("v-card-title",{staticClass:"headline"},[t._v("Require Authentiaction")]),n("v-card-text",[n("v-container",[n("v-row",[n("v-col",[n("v-text-field",{attrs:{label:"Username",required:"",error:t.wrong},model:{value:t.user,callback:function(e){t.user=e},expression:"user"}})],1)],1),n("v-row",[n("v-col",[n("v-text-field",{attrs:{label:"Password",type:"password",required:"",error:t.wrong},model:{value:t.pass,callback:function(e){t.pass=e},expression:"pass"}})],1)],1)],1)],1),n("v-card-actions",[n("div",{staticClass:"flex-grow-1"}),n("v-btn",{attrs:{color:"green darken-1",text:""},on:{click:t.doLogin}},[t._v("\n\t\t\t\tLogin\n\t\t\t")])],1)],1)],1)},h=[],d={props:{cond:Boolean},data(){return{user:"",pass:"",wrong:!1}},methods:{doLogin(){const{user:t,pass:e}=this,n=btoa(t+":"+e);fetch(window.props.api,{headers:{Authorization:"Basic "+n},credentials:"omit"}).then(t=>{200===t.status&&(localStorage.token=n,location.href=location.href),this.wrong=!0}).catch(t=>console.log(t))}}},f=d;function p(t,e,n,i,r,s,o,a){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}var A=n("6544"),g=n.n(A);n("86cc"),n("25a8");function m(t){return function(e,n){for(const i in n)Object.prototype.hasOwnProperty.call(e,i)||this.$delete(this.$data[t],i);for(const i in e)this.$set(this.$data[t],i,e[i])}}var v=r["default"].extend({data:()=>({attrs$:{},listeners$:{}}),created(){this.$watch("$attrs",m("attrs$"),{immediate:!0}),this.$watch("$listeners",m("listeners$"),{immediate:!0})}});function y(t,e,n){if(n&&(e={_isVue:!0,$parent:n,$options:e}),e){if(e.$_alreadyWarned=e.$_alreadyWarned||[],e.$_alreadyWarned.includes(t))return;e.$_alreadyWarned.push(t)}return`[Vuetify] ${t}`+(e?I(e):"")}function b(t,e,n){const i=y(t,e,n);null!=i&&console.warn(i)}function w(t,e,n){const i=y(t,e,n);null!=i&&console.error(i)}function E(t,e,n,i){w(`[BREAKING] '${t}' has been removed, use '${e}' instead. For more information, see the upgrade guide https://github.com/vuetifyjs/vuetify/releases/tag/v2.0.0#user-content-upgrade-guide`,n,i)}function x(t,e,n){b(`[REMOVED] '${t}' has been removed. You can safely omit it.`,e,n)}const k=/(?:^|[-_])(\w)/g,C=t=>t.replace(k,t=>t.toUpperCase()).replace(/[-_]/g,"");function B(t,e){if(t.$root===t)return"<Root>";const n="function"===typeof t&&null!=t.cid?t.options:t._isVue?t.$options||t.constructor.options:t||{};let i=n.name||n._componentTag;const r=n.__file;if(!i&&r){const t=r.match(/([^/\\]+)\.vue$/);i=t&&t[1]}return(i?`<${C(i)}>`:"<Anonymous>")+(r&&!1!==e?` at ${r}`:"")}function I(t){if(t._isVue&&t.$parent){const e=[];let n=0;while(t){if(e.length>0){const i=e[e.length-1];if(i.constructor===t.constructor){n++,t=t.$parent;continue}n>0&&(e[e.length-1]=[i,n],n=0)}e.push(t),t=t.$parent}return"\n\nfound in\n\n"+e.map((t,e)=>`${0===e?"---\x3e ":" ".repeat(5+2*e)}${Array.isArray(t)?`${B(t[0])}... (${t[1]} recursive calls)`:B(t)}`).join("\n")}return`\n\n(found in ${B(t)})`}function T(t){return!!t&&!!t.match(/^(#|var\(--|(rgb|hsl)a?\()/)}var S=r["default"].extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(t,e={}){return"string"===typeof e.style?(w("style must be an object",this),e):"string"===typeof e.class?(w("class must be an object",this),e):(T(t)?e.style={...e.style,"background-color":`${t}`,"border-color":`${t}`}:t&&(e.class={...e.class,[t]:!0}),e)},setTextColor(t,e={}){if("string"===typeof e.style)return w("style must be an object",this),e;if("string"===typeof e.class)return w("class must be an object",this),e;if(T(t))e.style={...e.style,color:`${t}`,"caret-color":`${t}`};else if(t){const[n,i]=t.toString().trim().split(" ",2);e.class={...e.class,[n+"--text"]:!0},i&&(e.class["text--"+i]=!0)}return e}}}),_=r["default"].extend({name:"elevatable",props:{elevation:[Number,String]},computed:{computedElevation(){return this.elevation},elevationClasses(){const t=this.computedElevation;return null==t?{}:isNaN(parseInt(t))?{}:{[`elevation-${this.elevation}`]:!0}}}});function D(t,e="div",n){return r["default"].extend({name:n||t.replace(/__/g,"-"),functional:!0,render(n,{data:i,children:r}){return i.staticClass=`${t} ${i.staticClass||""}`.trim(),n(e,i,r)}})}function M(t,e,n,i=!1){var r=s=>{n(s),t.removeEventListener(e,r,i)};t.addEventListener(e,r,i)}let N=!1;try{if("undefined"!==typeof window){const t=Object.defineProperty({},"passive",{get:()=>{N=!0}});window.addEventListener("testListener",t,t),window.removeEventListener("testListener",t,t)}}catch(rh){console.warn(rh)}function L(t,e,n,i){t.addEventListener(e,n,!!N&&i)}function O(t,e,n){const i=e.length-1;if(i<0)return void 0===t?n:t;for(let r=0;r<i;r++){if(null==t)return n;t=t[e[r]]}return null==t?n:void 0===t[e[i]]?n:t[e[i]]}function Q(t,e){if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime())return!1;if(t!==Object(t)||e!==Object(e))return!1;const n=Object.keys(t);return n.length===Object.keys(e).length&&n.every(n=>Q(t[n],e[n]))}function F(t,e,n){return null!=t&&e&&"string"===typeof e?void 0!==t[e]?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),O(t,e.split("."),n)):n}function R(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return 0;const e=+window.getComputedStyle(t).getPropertyValue("z-index");return e||R(t.parentNode)}function j(t,e){const n={};for(let i=0;i<e.length;i++){const r=e[i];"undefined"!==typeof t[r]&&(n[r]=t[r])}return n}function U(t,e="px"){return null==t||""===t?void 0:isNaN(+t)?String(t):`${Number(t)}${e}`}function P(t){return(t||"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function z(t){return null!==t&&"object"===typeof t}const Y=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34});function W(t,e){if(!e.startsWith("$"))return e;const n=`$vuetify.icons.values.${e.split("$").pop().split(".").pop()}`;return F(t,n,e)}function H(t){return Object.keys(t)}const G=/-(\w)/g,V=t=>t.replace(G,(t,e)=>e?e.toUpperCase():"");function q(t){return t.charAt(0).toUpperCase()+t.slice(1)}function $(t){return null!=t?Array.isArray(t)?t:[t]:[]}function J(t,e,n){return t.$slots[e]&&t.$scopedSlots[e]&&t.$scopedSlots[e].name?n?"v-slot":"scoped":t.$slots[e]?"normal":t.$scopedSlots[e]?"scoped":void 0}function Z(t,e="default",n,i=!1){return t.$scopedSlots[e]?t.$scopedSlots[e](n instanceof Function?n():n):!t.$slots[e]||n&&!i?void 0:t.$slots[e]}function K(t,e=0,n=1){return Math.max(e,Math.min(n,t))}function X(t,e=!1){const n=e?1024:1e3;if(t<n)return`${t} B`;const i=e?["Ki","Mi","Gi"]:["k","M","G"];let r=-1;while(Math.abs(t)>=n&&r<i.length-1)t/=n,++r;return`${t.toFixed(1)} ${i[r]}B`}function tt(t={},e={}){for(const n in e){const i=t[n],r=e[n];z(i)&&z(r)?t[n]=tt(i,r):t[n]=r}return t}var et=r["default"].extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const t={},e=U(this.height),n=U(this.minHeight),i=U(this.minWidth),r=U(this.maxHeight),s=U(this.maxWidth),o=U(this.width);return e&&(t.height=e),n&&(t.minHeight=n),i&&(t.minWidth=i),r&&(t.maxHeight=r),s&&(t.maxWidth=s),o&&(t.width=o),t}}});function nt(t){const e={...t.props,...t.injections},n=it.options.computed.isDark.call(e);return it.options.computed.themeClasses.call({isDark:n})}const it=r["default"].extend().extend({name:"themeable",provide(){return{theme:this.themeableProvide}},inject:{theme:{default:{isDark:!1}}},props:{dark:{type:Boolean,default:null},light:{type:Boolean,default:null}},data(){return{themeableProvide:{isDark:!1}}},computed:{appIsDark(){return this.$vuetify.theme.dark||!1},isDark(){return!0===this.dark||!0!==this.light&&this.theme.isDark},themeClasses(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark(){return!0===this.dark||!0!==this.light&&this.appIsDark},rootThemeClasses(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler(t,e){t!==e&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}});var rt=it;function st(...t){return r["default"].extend({mixins:t})}var ot=st(v,S,_,et,rt).extend({name:"v-sheet",props:{tag:{type:String,default:"div"},tile:Boolean},computed:{classes(){return{"v-sheet":!0,"v-sheet--tile":this.tile,...this.themeClasses,...this.elevationClasses}},styles(){return this.measurableStyles}},render(t){const e={class:this.classes,style:this.styles,on:this.listeners$};return t(this.tag,this.setBackgroundColor(this.color,e),this.$slots.default)}}),at=ot,lt=(n("8d4f"),S.extend({name:"v-progress-circular",props:{button:Boolean,indeterminate:Boolean,rotate:{type:[Number,String],default:0},size:{type:[Number,String],default:32},width:{type:[Number,String],default:4},value:{type:[Number,String],default:0}},data:()=>({radius:20}),computed:{calculatedSize(){return Number(this.size)+(this.button?8:0)},circumference(){return 2*Math.PI*this.radius},classes(){return{"v-progress-circular--indeterminate":this.indeterminate,"v-progress-circular--button":this.button}},normalizedValue(){return this.value<0?0:this.value>100?100:parseFloat(this.value)},strokeDashArray(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles(){return{height:U(this.calculatedSize),width:U(this.calculatedSize)}},svgStyles(){return{transform:`rotate(${Number(this.rotate)}deg)`}},viewBoxSize(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle(t,e){return this.$createElement("circle",{class:`v-progress-circular__${t}`,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":e}})},genSvg(){const t=[this.indeterminate||this.genCircle("underlay",0),this.genCircle("overlay",this.strokeDashOffset)];return this.$createElement("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:`${this.viewBoxSize} ${this.viewBoxSize} ${2*this.viewBoxSize} ${2*this.viewBoxSize}`}},t)},genInfo(){return this.$createElement("div",{staticClass:"v-progress-circular__info"},this.$slots.default)}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-progress-circular",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,style:this.styles,on:this.$listeners}),[this.genSvg(),this.genInfo()])}})),ct=lt;function ut(t,e){return()=>b(`The ${t} component must be used inside a ${e}`)}function ht(t,e,n){const i=e&&n?{register:ut(e,n),unregister:ut(e,n)}:null;return r["default"].extend({name:"registrable-inject",inject:{[t]:{default:i}}})}function dt(t,e,n){const i=ht(t,e,n).extend({name:"groupable",props:{activeClass:{type:String,default(){if(this[t])return this[t].activeClass}},disabled:Boolean},data(){return{isActive:!1}},computed:{groupClasses(){return this.activeClass?{[this.activeClass]:this.isActive}:{}}},created(){this[t]&&this[t].register(this)},beforeDestroy(){this[t]&&this[t].unregister(this)},methods:{toggle(){this.$emit("change")}}});return i}dt("itemGroup");function ft(t="value",e="input"){return r["default"].extend({name:"toggleable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{isActive:!!this[t]}},watch:{[t](t){this.isActive=!!t},isActive(n){!!n!==this[t]&&this.$emit(e,n)}}})}const pt=ft();var At=pt;const gt={absolute:Boolean,bottom:Boolean,fixed:Boolean,left:Boolean,right:Boolean,top:Boolean};function mt(t=[]){return r["default"].extend({name:"positionable",props:t.length?j(gt,t):gt})}var vt=mt();n("7435");function yt(t,e){t.style["transform"]=e,t.style["webkitTransform"]=e}function bt(t,e){t.style["opacity"]=e.toString()}function wt(t){return"TouchEvent"===t.constructor.name}const Et=(t,e,n={})=>{const i=e.getBoundingClientRect(),r=wt(t)?t.touches[t.touches.length-1]:t,s=r.clientX-i.left,o=r.clientY-i.top;let a=0,l=.3;e._ripple&&e._ripple.circle?(l=.15,a=e.clientWidth/2,a=n.center?a:a+Math.sqrt((s-a)**2+(o-a)**2)/4):a=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const c=`${(e.clientWidth-2*a)/2}px`,u=`${(e.clientHeight-2*a)/2}px`,h=n.center?c:`${s-a}px`,d=n.center?u:`${o-a}px`;return{radius:a,scale:l,x:h,y:d,centerX:c,centerY:u}},xt={show(t,e,n={}){if(!e._ripple||!e._ripple.enabled)return;const i=document.createElement("span"),r=document.createElement("span");i.appendChild(r),i.className="v-ripple__container",n.class&&(i.className+=` ${n.class}`);const{radius:s,scale:o,x:a,y:l,centerX:c,centerY:u}=Et(t,e,n),h=`${2*s}px`;r.className="v-ripple__animation",r.style.width=h,r.style.height=h,e.appendChild(i);const d=window.getComputedStyle(e);d&&"static"===d.position&&(e.style.position="relative",e.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),yt(r,`translate(${a}, ${l}) scale3d(${o},${o},${o})`),bt(r,0),r.dataset.activated=String(performance.now()),setTimeout(()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),yt(r,`translate(${c}, ${u}) scale3d(1,1,1)`),bt(r,.25)},0)},hide(t){if(!t||!t._ripple||!t._ripple.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(0===e.length)return;const n=e[e.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const i=performance.now()-Number(n.dataset.activated),r=Math.max(250-i,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),bt(n,0),setTimeout(()=>{const e=t.getElementsByClassName("v-ripple__animation");1===e.length&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),n.parentNode&&t.removeChild(n.parentNode)},300)},r)}};function kt(t){return"undefined"===typeof t||!!t}function Ct(t){const e={},n=t.currentTarget;if(n&&n._ripple&&!n._ripple.touched){if(wt(t))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;e.center=n._ripple.centered,n._ripple.class&&(e.class=n._ripple.class),xt.show(t,n,e)}}function Bt(t){const e=t.currentTarget;e&&(window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),xt.hide(e))}function It(t,e,n){const i=kt(e.value);i||xt.hide(t),t._ripple=t._ripple||{},t._ripple.enabled=i;const r=e.value||{};r.center&&(t._ripple.centered=!0),r.class&&(t._ripple.class=e.value.class),r.circle&&(t._ripple.circle=r.circle),i&&!n?(t.addEventListener("touchstart",Ct,{passive:!0}),t.addEventListener("touchend",Bt,{passive:!0}),t.addEventListener("touchcancel",Bt),t.addEventListener("mousedown",Ct),t.addEventListener("mouseup",Bt),t.addEventListener("mouseleave",Bt),t.addEventListener("dragstart",Bt,{passive:!0})):!i&&n&&Tt(t)}function Tt(t){t.removeEventListener("mousedown",Ct),t.removeEventListener("touchstart",Bt),t.removeEventListener("touchend",Bt),t.removeEventListener("touchcancel",Bt),t.removeEventListener("mouseup",Bt),t.removeEventListener("mouseleave",Bt),t.removeEventListener("dragstart",Bt)}function St(t,e,n){It(t,e,!1)}function _t(t){delete t._ripple,Tt(t)}function Dt(t,e){if(e.value===e.oldValue)return;const n=kt(e.oldValue);It(t,e,n)}const Mt={bind:St,unbind:_t,update:Dt};var Nt=Mt,Lt=r["default"].extend({name:"routable",directives:{Ripple:Nt},props:{activeClass:String,append:Boolean,disabled:Boolean,exact:{type:Boolean,default:void 0},exactActiveClass:String,link:Boolean,href:[String,Object],to:[String,Object],nuxt:Boolean,replace:Boolean,ripple:{type:[Boolean,Object],default:null},tag:String,target:String},data:()=>({isActive:!1,proxyClass:""}),computed:{classes(){const t={};return this.to?t:(this.activeClass&&(t[this.activeClass]=this.isActive),this.proxyClass&&(t[this.proxyClass]=this.isActive),t)},computedRipple(){return null!=this.ripple?this.ripple:!this.disabled&&this.isClickable},isClickable(){return!this.disabled&&Boolean(this.isLink||this.$listeners.click||this.$listeners["!click"]||this.$attrs.tabindex)},isLink(){return this.to||this.href||this.link},styles:()=>({})},watch:{$route:"onRouteChange"},methods:{click(t){this.$emit("click",t)},generateRouteLink(){let t,e=this.exact;const n={attrs:{tabindex:"tabindex"in this.$attrs?this.$attrs.tabindex:void 0},class:this.classes,style:this.styles,props:{},directives:[{name:"ripple",value:this.computedRipple}],[this.to?"nativeOn":"on"]:{...this.$listeners,click:this.click},ref:"link"};if("undefined"===typeof this.exact&&(e="/"===this.to||this.to===Object(this.to)&&"/"===this.to.path),this.to){let i=this.activeClass,r=this.exactActiveClass||i;this.proxyClass&&(i=`${i} ${this.proxyClass}`.trim(),r=`${r} ${this.proxyClass}`.trim()),t=this.nuxt?"nuxt-link":"router-link",Object.assign(n.props,{to:this.to,exact:e,activeClass:i,exactActiveClass:r,append:this.append,replace:this.replace})}else t=(this.href?"a":this.tag)||"div","a"===t&&this.href&&(n.attrs.href=this.href);return this.target&&(n.attrs.target=this.target),{tag:t,data:n}},onRouteChange(){if(!this.to||!this.$refs.link||!this.$route)return;const t=`${this.activeClass} ${this.proxyClass||""}`.trim(),e=`_vnode.data.class.${t}`;this.$nextTick(()=>{F(this.$refs.link,e)&&this.toggle()})},toggle:()=>{}}}),Ot=r["default"].extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return Boolean(!this.xSmall&&!this.small&&!this.large&&!this.xLarge)},sizeableClasses(){return{"v-size--x-small":this.xSmall,"v-size--small":this.small,"v-size--default":this.medium,"v-size--large":this.large,"v-size--x-large":this.xLarge}}}});const Qt=st(at,Lt,vt,Ot,dt("btnToggle"),ft("inputValue"));var Ft=Qt.extend().extend({name:"v-btn",props:{activeClass:{type:String,default(){return this.btnToggle?this.btnToggle.activeClass:""}},block:Boolean,depressed:Boolean,fab:Boolean,icon:Boolean,loading:Boolean,outlined:Boolean,retainFocusOnClick:Boolean,rounded:Boolean,tag:{type:String,default:"button"},text:Boolean,type:{type:String,default:"button"},value:null},data:()=>({proxyClass:"v-btn--active"}),computed:{classes(){return{"v-btn":!0,...Lt.options.computed.classes.call(this),"v-btn--absolute":this.absolute,"v-btn--block":this.block,"v-btn--bottom":this.bottom,"v-btn--contained":this.contained,"v-btn--depressed":this.depressed||this.outlined,"v-btn--disabled":this.disabled,"v-btn--fab":this.fab,"v-btn--fixed":this.fixed,"v-btn--flat":this.isFlat,"v-btn--icon":this.icon,"v-btn--left":this.left,"v-btn--loading":this.loading,"v-btn--outlined":this.outlined,"v-btn--right":this.right,"v-btn--round":this.isRound,"v-btn--rounded":this.rounded,"v-btn--router":this.to,"v-btn--text":this.text,"v-btn--tile":this.tile,"v-btn--top":this.top,...this.themeClasses,...this.groupClasses,...this.elevationClasses,...this.sizeableClasses}},contained(){return Boolean(!this.isFlat&&!this.depressed&&!this.elevation)},computedRipple(){const t=!this.icon&&!this.fab||{circle:!0};return!this.disabled&&(null!=this.ripple?this.ripple:t)},isFlat(){return Boolean(this.icon||this.text||this.outlined)},isRound(){return Boolean(this.icon||this.fab)},styles(){return{...this.measurableStyles}}},created(){const t=[["flat","text"],["outline","outlined"],["round","rounded"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&E(t,e,this)})},methods:{click(t){!this.retainFocusOnClick&&!this.fab&&t.detail&&this.$el.blur(),this.$emit("click",t),this.btnToggle&&this.toggle()},genContent(){return this.$createElement("span",{staticClass:"v-btn__content"},this.$slots.default)},genLoader(){return this.$createElement("span",{class:"v-btn__loader"},this.$slots.loader||[this.$createElement(ct,{props:{indeterminate:!0,size:23,width:2}})])}},render(t){const e=[this.genContent(),this.loading&&this.genLoader()],n=this.isFlat?this.setTextColor:this.setBackgroundColor,{tag:i,data:r}=this.generateRouteLink();return"button"===i&&(r.attrs.type=this.type,r.attrs.disabled=this.disabled),r.attrs.value=["string","number"].includes(typeof this.value)?this.value:JSON.stringify(this.value),t(i,this.disabled?r:n(this.color,r),e)}});n("615b"),n("6ece");const Rt={styleList:/;(?![^(]*\))/g,styleProp:/:(.*)/};function jt(t){const e={};for(const n of t.split(Rt.styleList)){let[t,i]=n.split(Rt.styleProp);t=t.trim(),t&&("string"===typeof i&&(i=i.trim()),e[V(t)]=i)}return e}function Ut(){const t={};let e,n,i=arguments.length;while(i--)for(e of Object.keys(arguments[i]))switch(e){case"class":case"style":case"directives":if(Array.isArray(t[e])||(t[e]=[]),"style"===e){let t;t=Array.isArray(arguments[i].style)?arguments[i].style:[arguments[i].style];for(let e=0;e<t.length;e++){const n=t[e];"string"===typeof n&&(t[e]=jt(n))}arguments[i].style=t}t[e]=t[e].concat(arguments[i][e]);break;case"staticClass":if(!arguments[i][e])break;void 0===t[e]&&(t[e]=""),t[e]&&(t[e]+=" "),t[e]+=arguments[i][e].trim();break;case"on":case"nativeOn":t[e]||(t[e]={});const r=t[e];for(n of Object.keys(arguments[i][e]||{}))r[n]?r[n]=Array().concat(r[n],arguments[i][e][n]):r[n]=arguments[i][e][n];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":t[e]||(t[e]={}),t[e]={...arguments[i][e],...t[e]};break;case"slot":case"key":case"ref":case"tag":case"show":case"keepAlive":default:t[e]||(t[e]=arguments[i][e])}return t}function Pt(t=[],...e){return Array().concat(t,...e)}function zt(t,e="top center 0",n){return{name:t,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:n},origin:{type:String,default:e}},render(e,n){const i=`transition${n.props.group?"-group":""}`,r={props:{name:t,mode:n.props.mode},on:{beforeEnter(t){t.style.transformOrigin=n.props.origin,t.style.webkitTransformOrigin=n.props.origin}}};return n.props.leaveAbsolute&&(r.on.leave=Pt(r.on.leave,t=>t.style.position="absolute")),n.props.hideOnLeave&&(r.on.leave=Pt(r.on.leave,t=>t.style.display="none")),e(i,Ut(n.data,r),n.children)}}}function Yt(t,e,n="in-out"){return{name:t,functional:!0,props:{mode:{type:String,default:n}},render(n,i){return n("transition",Ut(i.data,{props:{name:t},on:e}),i.children)}}}var Wt=function(t="",e=!1){const n=e?"width":"height",i=`offset${q(n)}`;return{beforeEnter(t){t._parent=t.parentNode,t._initialStyle={transition:t.style.transition,visibility:t.style.visibility,overflow:t.style.overflow,[n]:t.style[n]}},enter(e){const r=e._initialStyle,s=`${e[i]}px`;e.style.setProperty("transition","none","important"),e.style.visibility="hidden",e.style.visibility=r.visibility,e.style.overflow="hidden",e.style[n]="0",e.offsetHeight,e.style.transition=r.transition,t&&e._parent&&e._parent.classList.add(t),requestAnimationFrame(()=>{e.style[n]=s})},afterEnter:s,enterCancelled:s,leave(t){t._initialStyle={transition:"",visibility:"",overflow:t.style.overflow,[n]:t.style[n]},t.style.overflow="hidden",t.style[n]=`${t[i]}px`,t.offsetHeight,requestAnimationFrame(()=>t.style[n]="0")},afterLeave:r,leaveCancelled:r};function r(e){t&&e._parent&&e._parent.classList.remove(t),s(e)}function s(t){const e=t._initialStyle[n];t.style.overflow=t._initialStyle.overflow,null!=e&&(t.style[n]=e),delete t._initialStyle}};zt("carousel-transition"),zt("carousel-reverse-transition"),zt("tab-transition"),zt("tab-reverse-transition"),zt("menu-transition");const Ht=zt("fab-transition","center center","out-in"),Gt=(zt("dialog-transition"),zt("dialog-bottom-transition"),zt("fade-transition")),Vt=(zt("scale-transition"),zt("scroll-x-transition"),zt("scroll-x-reverse-transition"),zt("scroll-y-transition"),zt("scroll-y-reverse-transition"),zt("slide-x-transition")),qt=(zt("slide-x-reverse-transition"),zt("slide-y-transition"),zt("slide-y-reverse-transition"),Yt("expand-transition",Wt())),$t=Yt("expand-x-transition",Wt("",!0));function Jt(t="value",e="change"){return r["default"].extend({name:"proxyable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{internalLazyValue:this[t]}},computed:{internalValue:{get(){return this.internalLazyValue},set(t){t!==this.internalLazyValue&&(this.internalLazyValue=t,this.$emit(e,t))}}},watch:{[t](t){this.internalLazyValue=t}}})}const Zt=Jt();var Kt=Zt;const Xt=st(S,mt(["absolute","fixed","top","bottom"]),Kt,rt);var te=Xt.extend({name:"v-progress-linear",props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:U(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:U(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){const t=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{opacity:t,[this.$vuetify.rtl?"right":"left"]:U(this.normalizedValue,"%"),width:U(this.normalizedBuffer-this.normalizedValue,"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,...this.themeClasses}},computedTransition(){return this.indeterminate?Gt:Vt},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const t={};return this.active||(t.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(t.width=U(this.normalizedBuffer,"%")),t}},methods:{genContent(){const t=Z(this,"default",{value:this.internalLazyValue});return t?this.$createElement("div",{staticClass:"v-progress-linear__content"},t):null},genListeners(){const t=this.$listeners;return this.reactive&&(t.click=this.onClick),t},genProgressBar(t){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[t]:!0}}))},onClick(t){if(!this.reactive)return;const{width:e}=this.$el.getBoundingClientRect();this.internalValue=t.offsetX/e*100},normalize(t){return t<0?0:t>100?100:parseFloat(t)}},render(t){const e={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,style:{bottom:this.bottom?0:void 0,height:this.active?U(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return t("div",e,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}}),ee=te,ne=r["default"].extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:this.$slots.progress||this.$createElement(ee,{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}}),ie=st(ne,Lt,at).extend({name:"v-card",props:{flat:Boolean,hover:Boolean,img:String,link:Boolean,loaderHeight:{type:[Number,String],default:4},outlined:Boolean,raised:Boolean,shaped:Boolean},computed:{classes(){return{"v-card":!0,...Lt.options.computed.classes.call(this),"v-card--flat":this.flat,"v-card--hover":this.hover,"v-card--link":this.isClickable,"v-card--loading":this.loading,"v-card--disabled":this.disabled,"v-card--outlined":this.outlined,"v-card--raised":this.raised,"v-card--shaped":this.shaped,...at.options.computed.classes.call(this)}},styles(){const t={...at.options.computed.styles.call(this)};return this.img&&(t.background=`url("${this.img}") center center / cover no-repeat`),t}},methods:{genProgress(){const t=ne.options.methods.genProgress.call(this);return t?this.$createElement("div",{staticClass:"v-card__progress"},[t]):null}},render(t){const{tag:e,data:n}=this.generateRouteLink();return n.style=this.styles,this.isClickable&&(n.attrs=n.attrs||{},n.attrs.tabindex=0),t(e,this.setBackgroundColor(this.color,n),[this.genProgress(),this.$slots.default])}});const re=D("v-card__actions"),se=(D("v-card__subtitle"),D("v-card__text")),oe=D("v-card__title");n("4b85");const ae=["sm","md","lg","xl"],le=(()=>ae.reduce((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t),{}))(),ce=(()=>ae.reduce((t,e)=>(t["offset"+q(e)]={type:[String,Number],default:null},t),{}))(),ue=(()=>ae.reduce((t,e)=>(t["order"+q(e)]={type:[String,Number],default:null},t),{}))(),he={col:Object.keys(le),offset:Object.keys(ce),order:Object.keys(ue)};function de(t,e,n){let i=t;if(null!=n&&!1!==n){if(e){const n=e.replace(t,"");i+=`-${n}`}return"col"!==t||""!==n&&!0!==n?(i+=`-${n}`,i.toLowerCase()):i.toLowerCase()}}const fe=new Map;var pe=r["default"].extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...le,offset:{type:[String,Number],default:null},...ce,order:{type:[String,Number],default:null},...ue,alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)},tag:{type:String,default:"div"}},render(t,{props:e,data:n,children:i,parent:r}){let s="";for(const a in e)s+=String(e[a]);let o=fe.get(s);if(!o){let t;for(t in o=[],he)he[t].forEach(n=>{const i=e[n],r=de(t,n,i);r&&o.push(r)});const n=o.some(t=>t.startsWith("col-"));o.push({col:!n||!e.cols,[`col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),fe.set(s,o)}return t(e.tag,Ut(n,{class:o}),i)}});n("20f6");function Ae(t){return r["default"].extend({name:`v-${t}`,functional:!0,props:{id:String,tag:{type:String,default:"div"}},render(e,{props:n,data:i,children:r}){i.staticClass=`${t} ${i.staticClass||""}`.trim();const{attrs:s}=i;if(s){i.attrs={};const t=Object.keys(s).filter(t=>{if("slot"===t)return!1;const e=s[t];return t.startsWith("data-")?(i.attrs[t]=e,!1):e||"string"===typeof e});t.length&&(i.staticClass+=` ${t.join(" ")}`)}return n.id&&(i.domProps=i.domProps||{},i.domProps.id=n.id),e(n.tag,i,r)}})}var ge=Ae("container").extend({name:"v-container",functional:!0,props:{id:String,tag:{type:String,default:"div"},fluid:{type:Boolean,default:!1}},render(t,{props:e,data:n,children:i}){let r;const{attrs:s}=n;return s&&(n.attrs={},r=Object.keys(s).filter(t=>{if("slot"===t)return!1;const e=s[t];return t.startsWith("data-")?(n.attrs[t]=e,!1):e||"string"===typeof e})),e.id&&(n.domProps=n.domProps||{},n.domProps.id=e.id),t(e.tag,Ut(n,{staticClass:"container",class:Array({"container--fluid":e.fluid}).concat(r||[])}),i)}}),me=(n("368e"),rt.extend({name:"v-theme-provider",props:{root:Boolean},computed:{isDark(){return this.root?this.rootIsDark:rt.options.computed.isDark.call(this)}},render(){return this.$slots.default&&this.$slots.default.find(t=>!t.isComment&&" "!==t.text)}})),ve=r["default"].extend().extend({name:"delayable",props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0}},data:()=>({openTimeout:void 0,closeTimeout:void 0}),methods:{clearDelay(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay(t,e){this.clearDelay();const n=parseInt(this[`${t}Delay`],10);this[`${t}Timeout`]=setTimeout(e||(()=>{this.isActive={open:!0,close:!1}[t]}),n)}}});const ye=st(ve,At);var be=ye.extend({name:"activatable",props:{activator:{default:null,validator:t=>["string","object"].includes(typeof t)},disabled:Boolean,internalActivator:Boolean,openOnHover:Boolean},data:()=>({activatorElement:null,activatorNode:[],events:["click","mouseenter","mouseleave"],listeners:{}}),watch:{activator:"resetActivator",openOnHover:"resetActivator"},mounted(){const t=J(this,"activator",!0);t&&["v-slot","normal"].includes(t)&&w('The activator slot must be bound, try \'<template v-slot:activator="{ on }"><v-btn v-on="on">\'',this),this.addActivatorEvents()},beforeDestroy(){this.removeActivatorEvents()},methods:{addActivatorEvents(){if(!this.activator||this.disabled||!this.getActivator())return;this.listeners=this.genActivatorListeners();const t=Object.keys(this.listeners);for(const e of t)this.getActivator().addEventListener(e,this.listeners[e])},genActivator(){const t=Z(this,"activator",Object.assign(this.getValueProxy(),{on:this.genActivatorListeners(),attrs:this.genActivatorAttributes()}))||[];return this.activatorNode=t,t},genActivatorAttributes(){return{role:"button","aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genActivatorListeners(){if(this.disabled)return{};const t={};return this.openOnHover?(t.mouseenter=t=>{this.getActivator(t),this.runDelay("open")},t.mouseleave=t=>{this.getActivator(t),this.runDelay("close")}):t.click=t=>{const e=this.getActivator(t);e&&e.focus(),this.isActive=!this.isActive},t},getActivator(t){if(this.activatorElement)return this.activatorElement;let e=null;if(this.activator){const t=this.internalActivator?this.$el:document;e="string"===typeof this.activator?t.querySelector(this.activator):this.activator.$el?this.activator.$el:this.activator}else if(1===this.activatorNode.length||this.activatorNode.length&&!t){const t=this.activatorNode[0].componentInstance;e=t&&t.$options.mixins&&t.$options.mixins.some(t=>t.options&&["activatable","menuable"].includes(t.options.name))?t.getActivator():this.activatorNode[0].elm}else t&&(e=t.currentTarget||t.target);return this.activatorElement=e,this.activatorElement},getContentSlot(){return Z(this,"default",this.getValueProxy(),!0)},getValueProxy(){const t=this;return{get value(){return t.isActive},set value(e){t.isActive=e}}},removeActivatorEvents(){if(!this.activator||!this.activatorElement)return;const t=Object.keys(this.listeners);for(const e of t)this.activatorElement.removeEventListener(e,this.listeners[e]);this.listeners={}},resetActivator(){this.activatorElement=null,this.getActivator(),this.addActivatorEvents()}}});function we(t){const e=[];for(let n=0;n<t.length;n++){const i=t[n];i.isActive&&i.isDependent?e.push(i):e.push(...we(i.$children))}return e}var Ee=st().extend({name:"dependent",data(){return{closeDependents:!0,isActive:!1,isDependent:!0}},watch:{isActive(t){if(t)return;const e=this.getOpenDependents();for(let n=0;n<e.length;n++)e[n].isActive=!1}},methods:{getOpenDependents(){return this.closeDependents?we(this.$children):[]},getOpenDependentElements(){const t=[],e=this.getOpenDependents();for(let n=0;n<e.length;n++)t.push(...e[n].getClickableDependentElements());return t},getClickableDependentElements(){const t=[this.$el];return this.$refs.content&&t.push(this.$refs.content),this.overlay&&t.push(this.overlay.$el),t.push(...this.getOpenDependentElements()),t}}}),xe=r["default"].extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&x("lazy",this)},methods:{showLazyContent(t){return this.hasContent?t:void 0}}});function ke(t){const e=typeof t;return"boolean"===e||"string"===e||t.nodeType===Node.ELEMENT_NODE}var Ce=st(xe).extend({name:"detachable",props:{attach:{default:!1,validator:ke},contentClass:{type:String,default:""}},data:()=>({activatorNode:null,hasDetached:!1}),watch:{attach(){this.hasDetached=!1,this.initDetach()},hasContent:"initDetach"},beforeMount(){this.$nextTick(()=>{if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];t.forEach(t=>{if(!t.elm)return;if(!this.$el.parentNode)return;const e=this.$el===this.$el.parentNode.firstChild?this.$el:this.$el.nextSibling;this.$el.parentNode.insertBefore(t.elm,e)})}})},mounted(){this.hasContent&&this.initDetach()},deactivated(){this.isActive=!1},beforeDestroy(){try{if(this.$refs.content&&this.$refs.content.parentNode&&this.$refs.content.parentNode.removeChild(this.$refs.content),this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];t.forEach(t=>{t.elm&&t.elm.parentNode&&t.elm.parentNode.removeChild(t.elm)})}}catch(rh){console.log(rh)}},methods:{getScopeIdAttrs(){const t=F(this.$vnode,"context.$options._scopeId");return t&&{[t]:""}},initDetach(){if(this._isDestroyed||!this.$refs.content||this.hasDetached||""===this.attach||!0===this.attach||"attach"===this.attach)return;let t;t=!1===this.attach?document.querySelector("[data-app]"):"string"===typeof this.attach?document.querySelector(this.attach):this.attach,t?(t.insertBefore(this.$refs.content,t.firstChild),this.hasDetached=!0):b(`Unable to locate target ${this.attach||"[data-app]"}`,this)}}}),Be=(n("3c93"),st(S,rt,At).extend({name:"v-overlay",props:{absolute:Boolean,color:{type:String,default:"#212121"},dark:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.46},value:{default:!0},zIndex:{type:[Number,String],default:5}},computed:{__scrim(){const t=this.setBackgroundColor(this.color,{staticClass:"v-overlay__scrim",style:{opacity:this.computedOpacity}});return this.$createElement("div",t)},classes(){return{"v-overlay--absolute":this.absolute,"v-overlay--active":this.isActive,...this.themeClasses}},computedOpacity(){return Number(this.isActive?this.opacity:0)},styles(){return{zIndex:this.zIndex}}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-overlay__content"},this.$slots.default)}},render(t){const e=[this.__scrim];return this.isActive&&e.push(this.genContent()),t("div",{staticClass:"v-overlay",class:this.classes,style:this.styles},e)}})),Ie=Be,Te=r["default"].extend().extend({name:"overlayable",props:{hideOverlay:Boolean,overlayColor:String,overlayOpacity:[Number,String]},data(){return{overlay:null}},watch:{hideOverlay(t){this.isActive&&(t?this.removeOverlay():this.genOverlay())}},beforeDestroy(){this.removeOverlay()},methods:{createOverlay(){const t=new Ie({propsData:{absolute:this.absolute,value:!1,color:this.overlayColor,opacity:this.overlayOpacity}});t.$mount();const e=this.absolute?this.$el.parentNode:document.querySelector("[data-app]");e&&e.insertBefore(t.$el,e.firstChild),this.overlay=t},genOverlay(){if(this.hideScroll(),!this.hideOverlay)return this.overlay||this.createOverlay(),requestAnimationFrame(()=>{this.overlay&&(void 0!==this.activeZIndex?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=R(this.$el)),this.overlay.value=!0)}),!0},removeOverlay(t=!0){this.overlay&&(M(this.overlay.$el,"transitionend",()=>{this.overlay&&this.overlay.$el&&this.overlay.$el.parentNode&&!this.overlay.value&&(this.overlay.$el.parentNode.removeChild(this.overlay.$el),this.overlay.$destroy(),this.overlay=null)}),this.overlay.value=!1),t&&this.showScroll()},scrollListener(t){if("keydown"===t.type){if(["INPUT","TEXTAREA","SELECT"].includes(t.target.tagName)||t.target.isContentEditable)return;const e=[Y.up,Y.pageup],n=[Y.down,Y.pagedown];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!n.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["auto","scroll"].includes(e.overflowY)&&t.scrollHeight>t.clientHeight},shouldScroll(t,e){return 0===t.scrollTop&&e<0||t.scrollTop+t.clientHeight===t.scrollHeight&&e>0},isInside(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath(t){const e=t.path||this.composedPath(t),n=t.deltaY;if("keydown"===t.type&&e[0]===document.body){const t=this.$refs.dialog,e=window.getSelection().anchorNode;return!(t&&this.hasScrollbar(t)&&this.isInside(e,t))||this.shouldScroll(t,n)}for(let i=0;i<e.length;i++){const t=e[i];if(t===document)return!0;if(t===document.documentElement)return!0;if(t===this.$refs.content)return!0;if(this.hasScrollbar(t))return this.shouldScroll(t,n)}return!0},composedPath(t){if(t.composedPath)return t.composedPath();const e=[];let n=t.target;while(n){if(e.push(n),"HTML"===n.tagName)return e.push(document),e.push(window),e;n=n.parentElement}return e},hideScroll(){this.$vuetify.breakpoint.smAndDown?document.documentElement.classList.add("overflow-y-hidden"):(L(window,"wheel",this.scrollListener,{passive:!1}),window.addEventListener("keydown",this.scrollListener))},showScroll(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}}),Se=r["default"].extend({name:"returnable",props:{returnValue:null},data:()=>({isActive:!1,originalValue:null}),watch:{isActive(t){t?this.originalValue=this.returnValue:this.$emit("update:return-value",this.originalValue)}},methods:{save(t){this.originalValue=t,setTimeout(()=>{this.isActive=!1})}}}),_e=r["default"].extend().extend({name:"stackable",data(){return{stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}},computed:{activeZIndex(){if("undefined"===typeof window)return 0;const t=this.stackElement||this.$refs.content,e=this.isActive?this.getMaxZIndex(this.stackExclude||[t])+2:R(t);return null==e?e:parseInt(e)}},methods:{getMaxZIndex(t=[]){const e=this.$el,n=[this.stackMinZIndex,R(e)],i=[...document.getElementsByClassName("v-menu__content--active"),...document.getElementsByClassName("v-dialog__content--active")];for(let r=0;r<i.length;r++)t.includes(i[r])||n.push(R(i[r]));return Math.max(...n)}}});function De(){return!1}function Me(t,e,n){n.args=n.args||{};const i=n.args.closeConditional||De;if(!t||!1===i(t))return;if("isTrusted"in t&&!t.isTrusted||"pointerType"in t&&!t.pointerType)return;const r=(n.args.include||(()=>[]))();r.push(e),!r.some(e=>e.contains(t.target))&&setTimeout(()=>{i(t)&&n.value&&n.value(t)},0)}const Ne={inserted(t,e){const n=n=>Me(n,t,e),i=document.querySelector("[data-app]")||document.body;i.addEventListener("click",n,!0),t._clickOutside=n},unbind(t){if(!t._clickOutside)return;const e=document.querySelector("[data-app]")||document.body;e&&e.removeEventListener("click",t._clickOutside,!0),delete t._clickOutside}};var Le=Ne;const Oe=st(be,Ee,Ce,Te,Se,_e,At);var Qe=Oe.extend({name:"v-dialog",directives:{ClickOutside:Le},props:{dark:Boolean,disabled:Boolean,fullscreen:Boolean,light:Boolean,maxWidth:{type:[String,Number],default:"none"},noClickAnimation:Boolean,origin:{type:String,default:"center center"},persistent:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"},width:{type:[String,Number],default:"auto"}},data(){return{activatedBy:null,animate:!1,animateTimeout:-1,isActive:!!this.value,stackMinZIndex:200}},computed:{classes(){return{[`v-dialog ${this.contentClass}`.trim()]:!0,"v-dialog--active":this.isActive,"v-dialog--persistent":this.persistent,"v-dialog--fullscreen":this.fullscreen,"v-dialog--scrollable":this.scrollable,"v-dialog--animated":this.animate}},contentClasses(){return{"v-dialog__content":!0,"v-dialog__content--active":this.isActive}},hasActivator(){return Boolean(!!this.$slots.activator||!!this.$scopedSlots.activator)}},watch:{isActive(t){t?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind())},fullscreen(t){this.isActive&&(t?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&x("full-width",this)},beforeMount(){this.$nextTick(()=>{this.isBooted=this.isActive,this.isActive&&this.show()})},beforeDestroy(){"undefined"!==typeof window&&this.unbind()},methods:{animateClick(){this.animate=!1,this.$nextTick(()=>{this.animate=!0,window.clearTimeout(this.animateTimeout),this.animateTimeout=window.setTimeout(()=>this.animate=!1,150)})},closeConditional(t){const e=t.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(e)||this.overlay&&e&&!this.overlay.$el.contains(e))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):Te.options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick(()=>{this.$refs.content.focus(),this.bind()})},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(t){if(t.keyCode===Y.esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}this.$emit("keydown",t)},onFocusin(t){if(!t||!this.retainFocus)return;const e=t.target;if(e&&![document,this.$refs.content].includes(e)&&!this.$refs.content.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some(t=>t.contains(e))){const t=this.$refs.content.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus()}}},render(t){const e=[],n={class:this.classes,ref:"dialog",directives:[{name:"click-outside",value:this.onClickOutside,args:{closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],on:{click:t=>{t.stopPropagation()}},style:{}};this.fullscreen||(n.style={maxWidth:"none"===this.maxWidth?void 0:U(this.maxWidth),width:"auto"===this.width?void 0:U(this.width)}),e.push(this.genActivator());let i=t("div",n,this.showLazyContent(this.getContentSlot()));return this.transition&&(i=t("transition",{props:{name:this.transition,origin:this.origin}},[i])),e.push(t("div",{class:this.contentClasses,attrs:{role:"document",tabindex:this.isActive?0:void 0,...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.$createElement(me,{props:{root:!0,light:this.light,dark:this.dark}},[i])])),t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach},attrs:{role:"dialog"}},e)}});const Fe=["sm","md","lg","xl"],Re=["start","end","center"];function je(t,e){return Fe.reduce((n,i)=>(n[t+q(i)]=e(),n),{})}const Ue=t=>[...Re,"baseline","stretch"].includes(t),Pe=je("align",()=>({type:String,default:null,validator:Ue})),ze=t=>[...Re,"space-between","space-around"].includes(t),Ye=je("justify",()=>({type:String,default:null,validator:ze})),We=t=>[...Re,"space-between","space-around","stretch"].includes(t),He=je("alignContent",()=>({type:String,default:null,validator:We})),Ge={align:Object.keys(Pe),justify:Object.keys(Ye),alignContent:Object.keys(He)},Ve={align:"align",justify:"justify",alignContent:"align-content"};function qe(t,e,n){let i=Ve[t];if(null!=n){if(e){const n=e.replace(t,"");i+=`-${n}`}return i+=`-${n}`,i.toLowerCase()}}const $e=new Map;var Je,Ze=r["default"].extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Ue},...Pe,justify:{type:String,default:null,validator:ze},...Ye,alignContent:{type:String,default:null,validator:We},...He},render(t,{props:e,data:n,children:i}){let r="";for(const o in e)r+=String(e[o]);let s=$e.get(r);if(!s){let t;for(t in s=[],Ge)Ge[t].forEach(n=>{const i=e[n],r=qe(t,n,i);r&&s.push(r)});s.push({"no-gutters":e.noGutters,"row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),$e.set(r,s)}return t(e.tag,Ut(n,{staticClass:"row",class:s}),i)}});n("4ff9"),n("d191"),n("4804");function Ke(t){return["fas","far","fal","fab","fad"].some(e=>t.includes(e))}function Xe(t){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4}(function(t){t["xSmall"]="12px",t["small"]="16px",t["default"]="24px",t["medium"]="28px",t["large"]="36px",t["xLarge"]="40px"})(Je||(Je={}));const tn=st(v,S,Ot,rt).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium(){return!1}},methods:{getIcon(){let t="";return this.$slots.default&&(t=this.$slots.default[0].text.trim()),W(this,t)},getSize(){const t={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},e=H(t).find(e=>t[e]);return e&&Je[e]||U(this.size)},getDefaultData(){const t=Boolean(this.listeners$.click||this.listeners$["!click"]),e={staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":t,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:{"aria-hidden":!t,role:t?"button":null,...this.attrs$},on:this.listeners$};return e},applyColors(t){t.class={...t.class,...this.themeClasses},this.setTextColor(this.color,t)},renderFontIcon(t,e){const n=[],i=this.getDefaultData();let r="material-icons";const s=t.indexOf("-"),o=s<=-1;o?n.push(t):(r=t.slice(0,s),Ke(r)&&(r="")),i.class[r]=!0,i.class[t]=!o;const a=this.getSize();return a&&(i.style={fontSize:a}),this.applyColors(i),e(this.tag,i,n)},renderSvgIcon(t,e){const n=this.getSize(),i={...this.getDefaultData(),style:n?{fontSize:n,height:n,width:n}:void 0};i.class["v-icon--svg"]=!0,this.applyColors(i);const r={attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:n||"32",width:n||"32",role:"img","aria-hidden":!this.attrs$["aria-label"],"aria-label":this.attrs$["aria-label"]}};return e("span",i,[e("svg",r,[e("path",{attrs:{d:t}})])])},renderSvgIconComponent(t,e){const n=this.getDefaultData();n.class["v-icon--is-component"]=!0;const i=this.getSize();i&&(n.style={fontSize:i,height:i}),this.applyColors(n);const r=t.component;return n.props=t.props,n.nativeOn=n.on,e(r,n)}},render(t){const e=this.getIcon();return"string"===typeof e?Xe(e)?this.renderSvgIcon(e,t):this.renderFontIcon(e,t):this.renderSvgIconComponent(e,t)}});var en=r["default"].extend({name:"v-icon",$_wrapperFor:tn,functional:!0,render(t,{data:e,children:n}){let i="";return e.domProps&&(i=e.domProps.textContent||e.domProps.innerHTML||i,delete e.domProps.textContent,delete e.domProps.innerHTML),t(tn,e,i?[i]:n)}}),nn=en,rn=(n("1b2c"),st(rt).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(t,e){const{children:n,listeners:i,props:r}=e,s={staticClass:"v-label",class:{"v-label--active":r.value,"v-label--is-disabled":r.disabled,...nt(e)},attrs:{for:r.for,"aria-hidden":!r.for},on:i,style:{left:U(r.left),right:U(r.right),position:r.absolute?"absolute":"relative"},ref:"label"};return t("label",S.options.methods.setTextColor(r.focused&&r.color,s),n)}})),sn=rn,on=(n("8ff2"),st(S,rt).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(t,e){return this.$createElement("div",{staticClass:"v-messages__message",key:e},Z(this,"default",{message:t,key:e})||[t])}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}})),an=on,ln=st(S,ht("form"),rt).extend({name:"validatable",props:{disabled:Boolean,error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:Boolean,rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.disabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return!this.disabled&&(this.hasSuccess||this.shouldValidate&&this.hasError)},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",t)}},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.disabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages.length>0?this.internalSuccessMessages:this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(t,e){Q(t,e)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(t){t||this.disabled||(this.hasFocused=!0,this.validateOnBlur&&this.validate())},isResetting(){setTimeout(()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()},0)},hasError(t){this.shouldValidate&&this.$emit("update:error",t)},value(t){this.lazyValue=t}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(t){return t?Array.isArray(t)?t:[t]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:void 0},resetValidation(){this.isResetting=!0},validate(t=!1,e){const n=[];e=e||this.internalValue,t&&(this.hasInput=this.hasFocused=!0);for(let i=0;i<this.rules.length;i++){const t=this.rules[i],r="function"===typeof t?t(e):t;"string"===typeof r?n.push(r):"boolean"!==typeof r&&w(`Rules should return a string or boolean, received '${typeof r}' instead`,this)}return this.errorBucket=n,this.valid=0===n.length,this.valid}}});const cn=st(v,ln);var un=cn.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.disabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":!1!==this.loading&&void 0!==this.loading,"v-input--is-readonly":this.readonly,"v-input--dense":this.dense,...this.themeClasses}},computedId(){return this.id||`input-${this._uid}`},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!(!this.$slots.label&&!this.label)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit(this.$_modelEvent,t)}},isDirty(){return!!this.lazyValue},isDisabled(){return this.disabled||this.readonly},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map(t=>{if("string"===typeof t)return t;const e=t(this.internalValue);return"string"===typeof e?e:""}).filter(t=>""!==t):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.messagesToDisplay.length>0}},watch:{value(t){this.lazyValue=t}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control"},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),this.$slots.default]},genIcon(t,e){const n=this[`${t}Icon`],i=`click:${P(t)}`,r={props:{color:this.validationState,dark:this.dark,disabled:this.disabled,light:this.light},on:this.listeners$[i]||e?{click:t=>{t.preventDefault(),t.stopPropagation(),this.$emit(i,t),e&&e(t)},mouseup:t=>{t.preventDefault(),t.stopPropagation()}}:void 0};return this.$createElement("div",{staticClass:`v-input__icon v-input__icon--${P(t)}`,key:t+n},[this.$createElement(nn,r,n)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:U(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(sn,{props:{color:this.validationState,dark:this.dark,focused:this.hasState,for:this.computedId,light:this.light}},this.$slots.label||this.label):null},genMessages(){return this.showDetails?this.$createElement(an,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:t=>Z(this,"message",t)}}):null},genSlot(t,e,n){if(!n.length)return null;const i=`${t}-${e}`;return this.$createElement("div",{staticClass:`v-input__${i}`,ref:i},n)},genPrependSlot(){const t=[];return this.$slots.prepend?t.push(this.$slots.prepend):this.prependIcon&&t.push(this.genIcon("prepend")),this.genSlot("prepend","outer",t)},genAppendSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","outer",t)},onClick(t){this.$emit("click",t)},onMouseDown(t){this.hasMouseDown=!0,this.$emit("mousedown",t)},onMouseUp(t){this.hasMouseDown=!1,this.$emit("mouseup",t)}},render(t){return t("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}}),hn=un,dn=(n("e9b1"),st(rt).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(t,e){const{props:n}=e,i=parseInt(n.max,10),r=parseInt(n.value,10),s=i?`${r} / ${i}`:String(n.value),o=i&&r>i;return t("div",{staticClass:"v-counter",class:{"error--text":o,...nt(e)}},s)}})),fn=dn;function pn(t,e){const n=e.modifiers||{},i=e.value,r="object"===typeof i,s=r?i.handler:i,o=new IntersectionObserver((e=[],i)=>{if(t._observe){if(s&&(!n.quiet||t._observe.init)){const t=Boolean(e.find(t=>t.isIntersecting));s(e,i,t)}t._observe.init&&n.once?An(t):t._observe.init=!0}},i.options||{});t._observe={init:!1,observer:o},o.observe(t)}function An(t){t._observe&&(t._observe.observer.unobserve(t),delete t._observe)}const gn={inserted:pn,unbind:An};var mn=gn;function vn(t){return"undefined"!==typeof window&&"IntersectionObserver"in window?r["default"].extend({name:"intersectable",mounted(){mn.inserted(this.$el,{name:"intersect",value:{handler:this.onObserve}})},destroyed(){mn.unbind(this.$el)},methods:{onObserve(e,n,i){if(i)for(let r=0,s=t.onVisible.length;r<s;r++){const e=this[t.onVisible[r]];"function"!==typeof e?b(t.onVisible[r]+" method is not available on the instance but referenced in intersectable mixin options"):e()}}}}):r["default"].extend({name:"intersectable"})}const yn=st(hn,vn({onVisible:["setLabelWidth","setPrefixWidth","setPrependWidth"]}),ne),bn=["color","file","time","date","datetime-local","week","month"];var wn=yn.extend().extend({name:"v-text-field",directives:{ripple:Nt},inheritAttrs:!1,props:{appendOuterIcon:String,autofocus:Boolean,clearable:Boolean,clearIcon:{type:String,default:"$clear"},counter:[Boolean,Number,String],counterValue:Function,filled:Boolean,flat:Boolean,fullWidth:Boolean,label:String,outlined:Boolean,placeholder:String,prefix:String,prependInnerIcon:String,reverse:Boolean,rounded:Boolean,shaped:Boolean,singleLine:Boolean,solo:Boolean,soloInverted:Boolean,suffix:String,type:{type:String,default:"text"}},data:()=>({badInput:!1,labelWidth:0,prefixWidth:0,prependWidth:0,initialValue:null,isBooted:!1,isClearing:!1}),computed:{classes(){return{...hn.options.computed.classes.call(this),"v-text-field":!0,"v-text-field--full-width":this.fullWidth,"v-text-field--prefix":this.prefix,"v-text-field--single-line":this.isSingle,"v-text-field--solo":this.isSolo,"v-text-field--solo-inverted":this.soloInverted,"v-text-field--solo-flat":this.flat,"v-text-field--filled":this.filled,"v-text-field--is-booted":this.isBooted,"v-text-field--enclosed":this.isEnclosed,"v-text-field--reverse":this.reverse,"v-text-field--outlined":this.outlined,"v-text-field--placeholder":this.placeholder,"v-text-field--rounded":this.rounded,"v-text-field--shaped":this.shaped}},computedCounterValue(){return"function"===typeof this.counterValue?this.counterValue(this.internalValue):(this.internalValue||"").toString().length},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",this.lazyValue)}},isDirty(){return null!=this.lazyValue&&this.lazyValue.toString().length>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined||this.fullWidth},isLabelActive(){return this.isDirty||bn.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth},isSolo(){return this.solo||this.soloInverted},labelPosition(){let t=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(t-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:t,right:"auto"}:{left:"auto",right:t}},showLabel(){return this.hasLabel&&(!this.isSingle||!this.isLabelActive&&!this.placeholder)},labelValue(){return!this.isSingle&&Boolean(this.isFocused||this.isLabelActive||this.placeholder)}},watch:{labelValue:"setLabelWidth",outlined:"setLabelWidth",label(){this.$nextTick(this.setLabelWidth)},prefix(){this.$nextTick(this.setPrefixWidth)},isFocused:"updateValue",value(t){this.lazyValue=t}},created(){this.$attrs.hasOwnProperty("box")&&E("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&E("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&b("shaped should be used with either filled or outlined",this)},mounted(){this.autofocus&&this.onFocus(),this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth(),requestAnimationFrame(()=>this.isBooted=!0)},methods:{focus(){this.onFocus()},blur(t){window.requestAnimationFrame(()=>{this.$refs.input&&this.$refs.input.blur()})},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick(()=>this.internalValue=null)},genAppendSlot(){const t=[];return this.$slots["append-outer"]?t.push(this.$slots["append-outer"]):this.appendOuterIcon&&t.push(this.genIcon("appendOuter")),this.genSlot("append","outer",t)},genPrependInnerSlot(){const t=[];return this.$slots["prepend-inner"]?t.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&t.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",t)},genIconSlot(){const t=[];return this.$slots["append"]?t.push(this.$slots["append"]):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","inner",t)},genInputSlot(){const t=hn.options.methods.genInputSlot.call(this),e=this.genPrependInnerSlot();return e&&(t.children=t.children||[],t.children.unshift(e)),t},genClearIcon(){if(!this.clearable)return null;const t=this.isDirty?"clear":"";return this.genSlot("append","inner",[this.genIcon(t,this.clearableCallback)])},genCounter(){if(!1===this.counter||null==this.counter)return null;const t=!0===this.counter?this.attrs$.maxlength:this.counter;return this.$createElement(fn,{props:{dark:this.dark,light:this.light,max:t,value:this.computedCounterValue}})},genDefaultSlot(){return[this.genFieldset(),this.genTextFieldSlot(),this.genClearIcon(),this.genIconSlot(),this.genProgress()]},genFieldset(){return this.outlined?this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()]):null},genLabel(){if(!this.showLabel)return null;const t={props:{absolute:!0,color:this.validationState,dark:this.dark,disabled:this.disabled,focused:!this.isSingle&&(this.isFocused||!!this.validationState),for:this.computedId,left:this.labelPosition.left,light:this.light,right:this.labelPosition.right,value:this.labelValue}};return this.$createElement(sn,t,this.$slots.label||this.label)},genLegend(){const t=this.singleLine||!this.labelValue&&!this.isDirty?0:this.labelWidth,e=this.$createElement("span",{domProps:{innerHTML:"&#8203;"}});return this.$createElement("legend",{style:{width:this.isSingle?void 0:U(t)}},[e])},genInput(){const t=Object.assign({},this.listeners$);return delete t["change"],this.$createElement("input",{style:{},domProps:{value:this.lazyValue},attrs:{...this.attrs$,autofocus:this.autofocus,disabled:this.disabled,id:this.computedId,placeholder:this.placeholder,readonly:this.readonly,type:this.type},on:Object.assign(t,{blur:this.onBlur,input:this.onInput,focus:this.onFocus,keydown:this.onKeyDown}),ref:"input"})},genMessages(){if(!0===this.hideDetails)return null;const t=hn.options.methods.genMessages.call(this),e=this.genCounter();return"auto"!==this.hideDetails||t||e?this.$createElement("div",{staticClass:"v-text-field__details"},[t,e]):null},genTextFieldSlot(){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,this.genInput(),this.suffix?this.genAffix("suffix"):null])},genAffix(t){return this.$createElement("div",{class:`v-text-field__${t}`,ref:t},this[t])},onBlur(t){this.isFocused=!1,t&&this.$nextTick(()=>this.$emit("blur",t))},onClick(){this.isFocused||this.disabled||!this.$refs.input||this.$refs.input.focus()},onFocus(t){if(this.$refs.input)return document.activeElement!==this.$refs.input?this.$refs.input.focus():void(this.isFocused||(this.isFocused=!0,t&&this.$emit("focus",t)))},onInput(t){const e=t.target;this.internalValue=e.value,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){t.keyCode===Y.enter&&this.$emit("change",this.internalValue),this.$emit("keydown",t)},onMouseDown(t){t.target!==this.$refs.input&&(t.preventDefault(),t.stopPropagation()),hn.options.methods.onMouseDown.call(this,t)},onMouseUp(t){this.hasMouseDown&&this.focus(),hn.options.methods.onMouseUp.call(this,t)},setLabelWidth(){this.outlined&&this.$refs.label&&(this.labelWidth=.75*this.$refs.label.scrollWidth+6)},setPrefixWidth(){this.$refs.prefix&&(this.prefixWidth=this.$refs.prefix.offsetWidth)},setPrependWidth(){this.outlined&&this.$refs["prepend-inner"]&&(this.prependWidth=this.$refs["prepend-inner"].offsetWidth)},updateValue(t){this.hasColor=t,t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)}}}),En=p(f,u,h,!1,null,null,null),xn=En.exports;g()(En,{VBtn:Ft,VCard:ie,VCardActions:re,VCardText:se,VCardTitle:oe,VCol:pe,VContainer:ge,VDialog:Qe,VRow:Ze,VTextField:wn});var kn={props:{title:String},data(){return{drives:[],value:{},showAuthInput:!1}},computed:{currentDrive(){const t=this.$route.query.rootId||window.props.default_root_id;return this.drives.find(e=>e.value===t)}},async created(){const t=new URL(window.props.api).hostname===location.hostname||await c.get(window.props.api).then(()=>!0).catch(t=>{if(401===t.response.status)return this.showAuthInput=!0,!1});if(!t)return;const{drives:e}=await c.get("/~_~_gdindex/drives").json();this.drives=[{text:this.$t("mainDrive"),value:"root"}].concat(e.map(t=>({value:t.id,text:t.name})))},methods:{changeDrive(t){const e=t!==window.props.default_root_id?t:void 0,n={path:"/",query:{rootId:e}};n.path===this.$route.path&&n.query.rootId===this.$route.query.rootId||this.$router.push({path:"/",query:{rootId:e}})}},components:{LoginDialog:xn}},Cn=kn,Bn=(n("df86"),st(rt).extend({name:"v-app",props:{dark:{type:Boolean,default:void 0},id:{type:String,default:"app"},light:{type:Boolean,default:void 0}},computed:{isDark(){return this.$vuetify.theme.dark}},beforeCreate(){if(!this.$vuetify||this.$vuetify===this.$root)throw new Error("Vuetify is not properly initialized, see https://vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object")},render(t){const e=t("div",{staticClass:"v-application--wrap"},this.$slots.default);return t("div",{staticClass:"v-application",class:{"v-application--is-rtl":this.$vuetify.rtl,"v-application--is-ltr":!this.$vuetify.rtl,...this.themeClasses},attrs:{"data-app":!0},domProps:{id:this.id}},[e])}})),In=(n("8b0d"),n("5e23"),n("8efc"),n("36a7"),st(et).extend({name:"v-responsive",props:{aspectRatio:[String,Number]},computed:{computedAspectRatio(){return Number(this.aspectRatio)},aspectStyle(){return this.computedAspectRatio?{paddingBottom:1/this.computedAspectRatio*100+"%"}:void 0},__cachedSizer(){return this.aspectStyle?this.$createElement("div",{style:this.aspectStyle,staticClass:"v-responsive__sizer"}):[]}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-responsive__content"},this.$slots.default)}},render(t){return t("div",{staticClass:"v-responsive",style:this.measurableStyles,on:this.$listeners},[this.__cachedSizer,this.genContent()])}})),Tn=In,Sn=Tn.extend({name:"v-img",directives:{intersect:mn},props:{alt:String,contain:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},position:{type:String,default:"center center"},sizes:String,src:{type:[String,Object],default:""},srcset:String,transition:{type:[Boolean,String],default:"fade-transition"}},data(){return{currentSrc:"",image:null,isLoading:!0,calculatedAspectRatio:void 0,naturalWidth:void 0}},computed:{computedAspectRatio(){return Number(this.normalisedSrc.aspect||this.calculatedAspectRatio)},hasIntersect(){return"undefined"!==typeof window&&"IntersectionObserver"in window},normalisedSrc(){return"string"===typeof this.src?{src:this.src,srcset:this.srcset,lazySrc:this.lazySrc,aspect:Number(this.aspectRatio||0)}:{src:this.src.src,srcset:this.srcset||this.src.srcset,lazySrc:this.lazySrc||this.src.lazySrc,aspect:Number(this.aspectRatio||this.src.aspect)}},__cachedImage(){if(!this.normalisedSrc.src&&!this.normalisedSrc.lazySrc)return[];const t=[],e=this.isLoading?this.normalisedSrc.lazySrc:this.currentSrc;this.gradient&&t.push(`linear-gradient(${this.gradient})`),e&&t.push(`url("${e}")`);const n=this.$createElement("div",{staticClass:"v-image__image",class:{"v-image__image--preload":this.isLoading,"v-image__image--contain":this.contain,"v-image__image--cover":!this.contain},style:{backgroundImage:t.join(", "),backgroundPosition:this.position},key:+this.isLoading});return this.transition?this.$createElement("transition",{attrs:{name:this.transition,mode:"in-out"}},[n]):n}},watch:{src(){this.isLoading?this.loadImage():this.init(void 0,void 0,!0)},"$vuetify.breakpoint.width":"getSrc"},mounted(){this.init()},methods:{init(t,e,n){if(!this.hasIntersect||n||this.eager){if(this.normalisedSrc.lazySrc){const t=new Image;t.src=this.normalisedSrc.lazySrc,this.pollForSize(t,null)}this.normalisedSrc.src&&this.loadImage()}},onLoad(){this.getSrc(),this.isLoading=!1,this.$emit("load",this.src)},onError(){w("Image load failed\n\n"+`src: ${this.normalisedSrc.src}`,this),this.$emit("error",this.src)},getSrc(){this.image&&(this.currentSrc=this.image.currentSrc||this.image.src)},loadImage(){const t=new Image;this.image=t,t.onload=()=>{t.decode?t.decode().catch(t=>{b("Failed to decode image, trying to render anyway\n\n"+`src: ${this.normalisedSrc.src}`+(t.message?`\nOriginal error: ${t.message}`:""),this)}).then(this.onLoad):this.onLoad()},t.onerror=this.onError,t.src=this.normalisedSrc.src,this.sizes&&(t.sizes=this.sizes),this.normalisedSrc.srcset&&(t.srcset=this.normalisedSrc.srcset),this.aspectRatio||this.pollForSize(t),this.getSrc()},pollForSize(t,e=100){const n=()=>{const{naturalHeight:i,naturalWidth:r}=t;i||r?(this.naturalWidth=r,this.calculatedAspectRatio=r/i):null!=e&&setTimeout(n,e)};n()},genContent(){const t=Tn.options.methods.genContent.call(this);return this.naturalWidth&&this._b(t.data,"div",{style:{width:`${this.naturalWidth}px`}}),t},__genPlaceholder(){if(this.$slots.placeholder){const t=this.isLoading?[this.$createElement("div",{staticClass:"v-image__placeholder"},this.$slots.placeholder)]:[];return this.transition?this.$createElement("transition",{props:{appear:!0,name:this.transition}},t):t[0]}}},render(t){const e=Tn.options.render.call(this,t);return e.data.staticClass+=" v-image",e.data.directives=this.hasIntersect?[{name:"intersect",options:this.options,modifiers:{once:!0},value:this.init}]:[],e.data.attrs={role:this.alt?"img":void 0,"aria-label":this.alt},e.children=[this.__cachedSizer,this.__cachedImage,this.__genPlaceholder(),this.genContent()],t(e.tag,e.data,e.children)}}),_n=ot.extend({name:"v-toolbar",props:{absolute:Boolean,bottom:Boolean,collapse:Boolean,dense:Boolean,extended:Boolean,extensionHeight:{default:48,type:[Number,String]},flat:Boolean,floating:Boolean,prominent:Boolean,short:Boolean,src:{type:[String,Object],default:""},tag:{type:String,default:"header"},tile:{type:Boolean,default:!0}},data:()=>({isExtended:!1}),computed:{computedHeight(){const t=this.computedContentHeight;if(!this.isExtended)return t;const e=parseInt(this.extensionHeight);return this.isCollapsed?t:t+(isNaN(e)?0:e)},computedContentHeight(){return this.height?parseInt(this.height):this.isProminent&&this.dense?96:this.isProminent&&this.short?112:this.isProminent?128:this.dense?48:this.short||this.$vuetify.breakpoint.smAndDown?56:64},classes(){return{...ot.options.computed.classes.call(this),"v-toolbar":!0,"v-toolbar--absolute":this.absolute,"v-toolbar--bottom":this.bottom,"v-toolbar--collapse":this.collapse,"v-toolbar--collapsed":this.isCollapsed,"v-toolbar--dense":this.dense,"v-toolbar--extended":this.isExtended,"v-toolbar--flat":this.flat,"v-toolbar--floating":this.floating,"v-toolbar--prominent":this.isProminent}},isCollapsed(){return this.collapse},isProminent(){return this.prominent},styles(){return{...this.measurableStyles,height:U(this.computedHeight)}}},created(){const t=[["app","<v-app-bar app>"],["manual-scroll",'<v-app-bar :value="false">'],["clipped-left","<v-app-bar clipped-left>"],["clipped-right","<v-app-bar clipped-right>"],["inverted-scroll","<v-app-bar inverted-scroll>"],["scroll-off-screen","<v-app-bar scroll-off-screen>"],["scroll-target","<v-app-bar scroll-target>"],["scroll-threshold","<v-app-bar scroll-threshold>"],["card","<v-app-bar flat>"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&E(t,e,this)})},methods:{genBackground(){const t={height:U(this.computedHeight),src:this.src},e=this.$scopedSlots.img?this.$scopedSlots.img({props:t}):this.$createElement(Sn,{props:t});return this.$createElement("div",{staticClass:"v-toolbar__image"},[e])},genContent(){return this.$createElement("div",{staticClass:"v-toolbar__content",style:{height:U(this.computedContentHeight)}},Z(this))},genExtension(){return this.$createElement("div",{staticClass:"v-toolbar__extension",style:{height:U(this.extensionHeight)}},Z(this,"extension"))}},render(t){this.isExtended=this.extended||!!this.$scopedSlots.extension;const e=[this.genContent()],n=this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,on:this.$listeners});return this.isExtended&&e.push(this.genExtension()),(this.src||this.$scopedSlots.img)&&e.unshift(this.genBackground()),t(this.tag,n,e)}});function Dn(t,e){const n=e.value,i=e.options||{passive:!0},r=e.arg?document.querySelector(e.arg):window;r&&(r.addEventListener("scroll",n,i),t._onScroll={callback:n,options:i,target:r})}function Mn(t){if(!t._onScroll)return;const{callback:e,options:n,target:i}=t._onScroll;i.removeEventListener("scroll",e,n),delete t._onScroll}const Nn={inserted:Dn,unbind:Mn};var Ln=Nn;function On(t,e=[]){return st(mt(["absolute","fixed"])).extend({name:"applicationable",props:{app:Boolean},computed:{applicationProperty(){return t}},watch:{app(t,e){e?this.removeApplication(!0):this.callUpdate()},applicationProperty(t,e){this.$vuetify.application.unregister(this._uid,e)}},activated(){this.callUpdate()},created(){for(let t=0,n=e.length;t<n;t++)this.$watch(e[t],this.callUpdate);this.callUpdate()},mounted(){this.callUpdate()},deactivated(){this.removeApplication()},destroyed(){this.removeApplication()},methods:{callUpdate(){this.app&&this.$vuetify.application.register(this._uid,this.applicationProperty,this.updateApplication())},removeApplication(t=!1){(t||this.app)&&this.$vuetify.application.unregister(this._uid,this.applicationProperty)},updateApplication:()=>0}})}var Qn=r["default"].extend({name:"scrollable",directives:{Scroll:Nn},props:{scrollTarget:String,scrollThreshold:[String,Number]},data:()=>({currentScroll:0,currentThreshold:0,isActive:!1,isScrollingUp:!1,previousScroll:0,savedScroll:0,target:null}),computed:{canScroll(){return"undefined"!==typeof window},computedScrollThreshold(){return this.scrollThreshold?Number(this.scrollThreshold):300}},watch:{isScrollingUp(){this.savedScroll=this.savedScroll||this.currentScroll},isActive(){this.savedScroll=0}},mounted(){this.scrollTarget&&(this.target=document.querySelector(this.scrollTarget),this.target||b(`Unable to locate element with identifier ${this.scrollTarget}`,this))},methods:{onScroll(){this.canScroll&&(this.previousScroll=this.currentScroll,this.currentScroll=this.target?this.target.scrollTop:window.pageYOffset,this.isScrollingUp=this.currentScroll<this.previousScroll,this.currentThreshold=Math.abs(this.currentScroll-this.computedScrollThreshold),this.$nextTick(()=>{Math.abs(this.currentScroll-this.savedScroll)>this.computedScrollThreshold&&this.thresholdMet()}))},thresholdMet(){}}}),Fn=r["default"].extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame(()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0})}});const Rn=st(_n,Qn,Fn,At,On("top",["clippedLeft","clippedRight","computedHeight","invertedScroll","isExtended","isProminent","value"]));var jn=Rn.extend({name:"v-app-bar",directives:{Scroll:Ln},props:{clippedLeft:Boolean,clippedRight:Boolean,collapseOnScroll:Boolean,elevateOnScroll:Boolean,fadeImgOnScroll:Boolean,hideOnScroll:Boolean,invertedScroll:Boolean,scrollOffScreen:Boolean,shrinkOnScroll:Boolean,value:{type:Boolean,default:!0}},data(){return{isActive:this.value}},computed:{applicationProperty(){return this.bottom?"bottom":"top"},canScroll(){return Qn.options.computed.canScroll.call(this)&&(this.invertedScroll||this.elevateOnScroll||this.hideOnScroll||this.collapseOnScroll||this.isBooted||!this.value)},classes(){return{..._n.options.computed.classes.call(this),"v-toolbar--collapse":this.collapse||this.collapseOnScroll,"v-app-bar":!0,"v-app-bar--clipped":this.clippedLeft||this.clippedRight,"v-app-bar--fade-img-on-scroll":this.fadeImgOnScroll,"v-app-bar--elevate-on-scroll":this.elevateOnScroll,"v-app-bar--fixed":!this.absolute&&(this.app||this.fixed),"v-app-bar--hide-shadow":this.hideShadow,"v-app-bar--is-scrolled":this.currentScroll>0,"v-app-bar--shrink-on-scroll":this.shrinkOnScroll}},computedContentHeight(){if(!this.shrinkOnScroll)return _n.options.computed.computedContentHeight.call(this);const t=this.computedOriginalHeight,e=this.dense?48:56,n=t,i=n-e,r=i/this.computedScrollThreshold,s=this.currentScroll*r;return Math.max(e,n-s)},computedFontSize(){if(!this.isProminent)return;const t=this.dense?96:128,e=t-this.computedContentHeight,n=.00347;return Number((1.5-e*n).toFixed(2))},computedLeft(){return!this.app||this.clippedLeft?0:this.$vuetify.application.left},computedMarginTop(){return this.app?this.$vuetify.application.bar:0},computedOpacity(){if(!this.fadeImgOnScroll)return;const t=Math.max((this.computedScrollThreshold-this.currentScroll)/this.computedScrollThreshold,0);return Number(parseFloat(t).toFixed(2))},computedOriginalHeight(){let t=_n.options.computed.computedContentHeight.call(this);return this.isExtended&&(t+=parseInt(this.extensionHeight)),t},computedRight(){return!this.app||this.clippedRight?0:this.$vuetify.application.right},computedScrollThreshold(){return this.scrollThreshold?Number(this.scrollThreshold):this.computedOriginalHeight-(this.dense?48:56)},computedTransform(){if(!this.canScroll||this.elevateOnScroll&&0===this.currentScroll&&this.isActive)return 0;if(this.isActive)return 0;const t=this.scrollOffScreen?this.computedHeight:this.computedContentHeight;return this.bottom?t:-t},hideShadow(){return this.elevateOnScroll&&this.isExtended?this.currentScroll<this.computedScrollThreshold:this.elevateOnScroll?0===this.currentScroll||this.computedTransform<0:(!this.isExtended||this.scrollOffScreen)&&0!==this.computedTransform},isCollapsed(){return this.collapseOnScroll?this.currentScroll>0:_n.options.computed.isCollapsed.call(this)},isProminent(){return _n.options.computed.isProminent.call(this)||this.shrinkOnScroll},styles(){return{..._n.options.computed.styles.call(this),fontSize:U(this.computedFontSize,"rem"),marginTop:U(this.computedMarginTop),transform:`translateY(${U(this.computedTransform)})`,left:U(this.computedLeft),right:U(this.computedRight)}}},watch:{canScroll:"onScroll",computedTransform(){this.canScroll&&(this.clippedLeft||this.clippedRight)&&this.callUpdate()},invertedScroll(t){this.isActive=!t}},created(){this.invertedScroll&&(this.isActive=!1)},methods:{genBackground(){const t=_n.options.methods.genBackground.call(this);return t.data=this._b(t.data||{},t.tag,{style:{opacity:this.computedOpacity}}),t},updateApplication(){return this.invertedScroll?0:this.computedHeight+this.computedTransform},thresholdMet(){this.invertedScroll?this.isActive=this.currentScroll>this.computedScrollThreshold:this.currentThreshold<this.computedScrollThreshold||(this.hideOnScroll&&(this.isActive=this.isScrollingUp),this.savedScroll=this.currentScroll)}},render(t){const e=_n.options.render.call(this,t);return e.data=e.data||{},this.canScroll&&(e.data.directives=e.data.directives||[],e.data.directives.push({arg:this.scrollTarget,name:"scroll",value:this.onScroll})),e}}),Un=(n("daaf"),Fn.extend({name:"v-content",props:{tag:{type:String,default:"main"}},computed:{styles(){const{bar:t,top:e,right:n,footer:i,insetFooter:r,bottom:s,left:o}=this.$vuetify.application;return{paddingTop:`${e+t}px`,paddingRight:`${n}px`,paddingBottom:`${i+r+s}px`,paddingLeft:`${o}px`}}},render(t){const e={staticClass:"v-content",style:this.styles,ref:"content"};return t(this.tag,e,[t("div",{staticClass:"v-content__wrap"},this.$slots.default)])}})),Pn=(n("3ad0"),ot.extend().extend({name:"v-list",provide(){return{isInList:!0,list:this}},inject:{isInMenu:{default:!1},isInNav:{default:!1}},props:{dense:Boolean,disabled:Boolean,expand:Boolean,flat:Boolean,nav:Boolean,rounded:Boolean,shaped:Boolean,subheader:Boolean,threeLine:Boolean,tile:{type:Boolean,default:!0},twoLine:Boolean},data:()=>({groups:[]}),computed:{classes(){return{...ot.options.computed.classes.call(this),"v-list--dense":this.dense,"v-list--disabled":this.disabled,"v-list--flat":this.flat,"v-list--nav":this.nav,"v-list--rounded":this.rounded,"v-list--shaped":this.shaped,"v-list--subheader":this.subheader,"v-list--two-line":this.twoLine,"v-list--three-line":this.threeLine}}},methods:{register(t){this.groups.push(t)},unregister(t){const e=this.groups.findIndex(e=>e._uid===t._uid);e>-1&&this.groups.splice(e,1)},listClick(t){if(!this.expand)for(const e of this.groups)e.toggle(t)}},render(t){const e={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$}};return t("div",this.setBackgroundColor(this.color,e),[this.$slots.default])}}));n("61d2");const zn=st(S,Lt,rt,dt("listItemGroup"),ft("inputValue"));var Yn=zn.extend().extend({name:"v-list-item",directives:{Ripple:Nt},inheritAttrs:!1,inject:{isInGroup:{default:!1},isInList:{default:!1},isInMenu:{default:!1},isInNav:{default:!1}},props:{activeClass:{type:String,default(){return this.listItemGroup?this.listItemGroup.activeClass:""}},dense:Boolean,inactive:Boolean,link:Boolean,selectable:{type:Boolean},tag:{type:String,default:"div"},threeLine:Boolean,twoLine:Boolean,value:null},data:()=>({proxyClass:"v-list-item--active"}),computed:{classes(){return{"v-list-item":!0,...Lt.options.computed.classes.call(this),"v-list-item--dense":this.dense,"v-list-item--disabled":this.disabled,"v-list-item--link":this.isClickable&&!this.inactive,"v-list-item--selectable":this.selectable,"v-list-item--three-line":this.threeLine,"v-list-item--two-line":this.twoLine,...this.themeClasses}},isClickable(){return Boolean(Lt.options.computed.isClickable.call(this)||this.listItemGroup)}},created(){this.$attrs.hasOwnProperty("avatar")&&x("avatar",this)},methods:{click(t){t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle()},genAttrs(){const t={"aria-disabled":!!this.disabled||void 0,tabindex:this.isClickable&&!this.disabled?0:-1,...this.$attrs};return this.$attrs.hasOwnProperty("role")||this.isInNav||(this.isInGroup?(t.role="listitem",t["aria-selected"]=String(this.isActive)):this.isInMenu?t.role=this.isClickable?"menuitem":void 0:this.isInList&&(t.role="listitem")),t}},render(t){let{tag:e,data:n}=this.generateRouteLink();n.attrs={...n.attrs,...this.genAttrs()},n.on={...n.on,click:this.click,keydown:t=>{t.keyCode===Y.enter&&this.click(t),this.$emit("keydown",t)}};const i=this.$scopedSlots.default?this.$scopedSlots.default({active:this.isActive,toggle:this.toggle}):this.$slots.default;return e=this.inactive?"div":e,t(e,this.setTextColor(this.color,n),i)}}),Wn=(n("db42"),r["default"].extend({name:"v-list-item-icon",functional:!0,render(t,{data:e,children:n}){return e.staticClass=`v-list-item__icon ${e.staticClass||""}`.trim(),t("div",e,n)}}));const Hn=st(v,xe,S,ht("list"),At);Hn.extend().extend({name:"v-list-group",directives:{ripple:Nt},props:{activeClass:{type:String,default:""},appendIcon:{type:String,default:"$expand"},color:{type:String,default:"primary"},disabled:Boolean,group:String,noAction:Boolean,prependIcon:String,ripple:{type:[Boolean,Object],default:!0},subGroup:Boolean},computed:{classes(){return{"v-list-group--active":this.isActive,"v-list-group--disabled":this.disabled,"v-list-group--no-action":this.noAction,"v-list-group--sub-group":this.subGroup}}},watch:{isActive(t){!this.subGroup&&t&&this.list&&this.list.listClick(this._uid)},$route:"onRouteChange"},created(){this.list&&this.list.register(this),this.group&&this.$route&&null==this.value&&(this.isActive=this.matchRoute(this.$route.path))},beforeDestroy(){this.list&&this.list.unregister(this)},methods:{click(t){this.disabled||(this.isBooted=!0,this.$emit("click",t),this.$nextTick(()=>this.isActive=!this.isActive))},genIcon(t){return this.$createElement(nn,t)},genAppendIcon(){const t=!this.subGroup&&this.appendIcon;return t||this.$slots.appendIcon?this.$createElement(Wn,{staticClass:"v-list-group__header__append-icon"},[this.$slots.appendIcon||this.genIcon(t)]):null},genHeader(){return this.$createElement(Yn,{staticClass:"v-list-group__header",attrs:{"aria-expanded":String(this.isActive),role:"button"},class:{[this.activeClass]:this.isActive},props:{inputValue:this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.listeners$,click:this.click}},[this.genPrependIcon(),this.$slots.activator,this.genAppendIcon()])},genItems(){return this.$createElement("div",{staticClass:"v-list-group__items",directives:[{name:"show",value:this.isActive}]},this.showLazyContent([this.$createElement("div",this.$slots.default)]))},genPrependIcon(){const t=this.prependIcon?this.prependIcon:!!this.subGroup&&"$subgroup";return t||this.$slots.prependIcon?this.$createElement(Wn,{staticClass:"v-list-group__header__prepend-icon"},[this.$slots.prependIcon||this.genIcon(t)]):null},onRouteChange(t){if(!this.group)return;const e=this.matchRoute(t.path);e&&this.isActive!==e&&this.list&&this.list.listClick(this._uid),this.isActive=e},toggle(t){const e=this._uid===t;e&&(this.isBooted=!0),this.$nextTick(()=>this.isActive=e)},matchRoute(t){return null!==t.match(this.group)}},render(t){return t("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-list-group",class:this.classes}),[this.genHeader(),t(qt,[this.genItems()])])}}),n("899c"),n("166a");const Gn=st(Kt,rt).extend({name:"base-item-group",props:{activeClass:{type:String,default:"v-item--active"},mandatory:Boolean,max:{type:[Number,String],default:null},multiple:Boolean},data(){return{internalLazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,items:[]}},computed:{classes(){return{"v-item-group":!0,...this.themeClasses}},selectedIndex(){return this.selectedItem&&this.items.indexOf(this.selectedItem)||-1},selectedItem(){if(!this.multiple)return this.selectedItems[0]},selectedItems(){return this.items.filter((t,e)=>this.toggleMethod(this.getValue(t,e)))},selectedValues(){return null==this.internalValue?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod(){if(!this.multiple)return t=>this.internalValue===t;const t=this.internalValue;return Array.isArray(t)?e=>t.includes(e):()=>!1}},watch:{internalValue(){this.$nextTick(this.updateItemsState)}},created(){this.multiple&&!Array.isArray(this.internalValue)&&b("Model must be bound to an array if the multiple property is true.",this)},methods:{genData(){return{class:this.classes}},getValue(t,e){return null==t.value||""===t.value?e:t.value},onClick(t){this.updateInternalValue(this.getValue(t,this.items.indexOf(t)))},register(t){const e=this.items.push(t)-1;t.$on("change",()=>this.onClick(t)),this.mandatory&&null==this.internalLazyValue&&this.updateMandatory(),this.updateItem(t,e)},unregister(t){if(this._isDestroyed)return;const e=this.items.indexOf(t),n=this.getValue(t,e);this.items.splice(e,1);const i=this.selectedValues.indexOf(n);if(!(i<0)){if(!this.mandatory)return this.updateInternalValue(n);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter(t=>t!==n):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}},updateItem(t,e){const n=this.getValue(t,e);t.isActive=this.toggleMethod(n)},updateItemsState(){if(this.mandatory&&!this.selectedItems.length)return this.updateMandatory();this.items.forEach(this.updateItem)},updateInternalValue(t){this.multiple?this.updateMultiple(t):this.updateSingle(t)},updateMandatory(t){if(!this.items.length)return;const e=this.items.slice();t&&e.reverse();const n=e.find(t=>!t.disabled);if(!n)return;const i=this.items.indexOf(n);this.updateInternalValue(this.getValue(n,i))},updateMultiple(t){const e=Array.isArray(this.internalValue)?this.internalValue:[],n=e.slice(),i=n.findIndex(e=>e===t);this.mandatory&&i>-1&&n.length-1<1||null!=this.max&&i<0&&n.length+1>this.max||(i>-1?n.splice(i,1):n.push(t),this.internalValue=n)},updateSingle(t){const e=t===this.internalValue;this.mandatory&&e||(this.internalValue=e?void 0:t)}},render(t){return t("div",this.genData(),this.$slots.default)}});Gn.extend({name:"v-item-group",provide(){return{itemGroup:this}}}),st(Gn,S).extend({name:"v-list-item-group",provide(){return{isInGroup:!0,listItemGroup:this}},computed:{classes(){return{...Gn.options.computed.classes.call(this),"v-list-item-group":!0}}},methods:{genData(){return this.setTextColor(this.color,{...Gn.options.methods.genData.call(this),attrs:{role:"listbox"}})}}});var Vn=r["default"].extend({name:"v-list-item-action",functional:!0,render(t,{data:e,children:n=[]}){e.staticClass=e.staticClass?`v-list-item__action ${e.staticClass}`:"v-list-item__action";const i=n.filter(t=>!1===t.isComment&&" "!==t.text);return i.length>1&&(e.staticClass+=" v-list-item__action--stack"),t("div",e,n)}}),qn=(n("3408"),st(S,et).extend({name:"v-avatar",props:{left:Boolean,right:Boolean,size:{type:[Number,String],default:48},tile:Boolean},computed:{classes(){return{"v-avatar--left":this.left,"v-avatar--right":this.right,"v-avatar--tile":this.tile}},styles(){return{height:U(this.size),minWidth:U(this.size),width:U(this.size),...this.measurableStyles}}},render(t){const e={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),this.$slots.default)}})),$n=qn,Jn=$n.extend({name:"v-list-item-avatar",props:{horizontal:Boolean,size:{type:[Number,String],default:40}},computed:{classes(){return{"v-list-item__avatar--horizontal":this.horizontal,...$n.options.computed.classes.call(this),"v-avatar--tile":this.tile||this.horizontal}}},render(t){const e=$n.options.render.call(this,t);return e.data=e.data||{},e.data.staticClass+=" v-list-item__avatar",e}});D("v-list-item__action-text","span");const Zn=D("v-list-item__content","div"),Kn=D("v-list-item__title","div"),Xn=D("v-list-item__subtitle","div");n("ee6f");const ti=st(_e,vt,be);var ei=ti.extend().extend({name:"menuable",props:{allowOverflow:Boolean,light:Boolean,dark:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:[Number,String],default:0},nudgeLeft:{type:[Number,String],default:0},nudgeRight:{type:[Number,String],default:0},nudgeTop:{type:[Number,String],default:0},nudgeWidth:{type:[Number,String],default:0},offsetOverflow:Boolean,openOnClick:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},data:()=>({absoluteX:0,absoluteY:0,activatedBy:null,activatorFixed:!1,dimensions:{activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0,offsetLeft:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0}},hasJustFocused:!1,hasWindow:!1,inputActivator:!1,isContentActive:!1,pageWidth:0,pageYOffset:0,stackClass:"v-menu__content--active",stackMinZIndex:6}),computed:{computedLeft(){const t=this.dimensions.activator,e=this.dimensions.content,n=(!1!==this.attach?t.offsetLeft:t.left)||0,i=Math.max(t.width,e.width);let r=0;if(r+=this.left?n-(i-t.width):n,this.offsetX){const e=isNaN(Number(this.maxWidth))?t.width:Math.min(t.width,Number(this.maxWidth));r+=this.left?-e:t.width}return this.nudgeLeft&&(r-=parseInt(this.nudgeLeft)),this.nudgeRight&&(r+=parseInt(this.nudgeRight)),r},computedTop(){const t=this.dimensions.activator,e=this.dimensions.content;let n=0;return this.top&&(n+=t.height-e.height),!1!==this.attach?n+=t.offsetTop:n+=t.top+this.pageYOffset,this.offsetY&&(n+=this.top?-t.height:t.height),this.nudgeTop&&(n-=parseInt(this.nudgeTop)),this.nudgeBottom&&(n+=parseInt(this.nudgeBottom)),n},hasActivator(){return!!this.$slots.activator||!!this.$scopedSlots.activator||!!this.activator||!!this.inputActivator}},watch:{disabled(t){t&&this.callDeactivate()},isActive(t){this.disabled||(t?this.callActivate():this.callDeactivate())},positionX:"updateDimensions",positionY:"updateDimensions"},beforeMount(){this.hasWindow="undefined"!==typeof window},methods:{absolutePosition(){return{offsetTop:0,offsetLeft:0,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate(){},calcLeft(t){return U(!1!==this.attach?this.computedLeft:this.calcXOverflow(this.computedLeft,t))},calcTop(){return U(!1!==this.attach?this.computedTop:this.calcYOverflow(this.computedTop))},calcXOverflow(t,e){const n=t+e-this.pageWidth+12;return t=(!this.left||this.right)&&n>0?Math.max(t-n,0):Math.max(t,12),t+this.getOffsetLeft()},calcYOverflow(t){const e=this.getInnerHeight(),n=this.pageYOffset+e,i=this.dimensions.activator,r=this.dimensions.content.height,s=t+r,o=n<s;return o&&this.offsetOverflow&&i.top>r?t=this.pageYOffset+(i.top-r):o&&!this.allowOverflow?t=n-r-12:t<this.pageYOffset&&!this.allowOverflow&&(t=this.pageYOffset+12),t<12?12:t},callActivate(){this.hasWindow&&this.activate()},callDeactivate(){this.isContentActive=!1,this.deactivate()},checkForPageYOffset(){this.hasWindow&&(this.pageYOffset=this.activatorFixed?0:this.getOffsetTop())},checkActivatorFixed(){if(!1!==this.attach)return;let t=this.getActivator();while(t){if("fixed"===window.getComputedStyle(t).position)return void(this.activatorFixed=!0);t=t.offsetParent}this.activatorFixed=!1},deactivate(){},genActivatorListeners(){const t=be.options.methods.genActivatorListeners.call(this),e=t.click;return t.click=t=>{this.openOnClick&&e&&e(t),this.absoluteX=t.clientX,this.absoluteY=t.clientY},t},getInnerHeight(){return this.hasWindow?window.innerHeight||document.documentElement.clientHeight:0},getOffsetLeft(){return this.hasWindow?window.pageXOffset||document.documentElement.scrollLeft:0},getOffsetTop(){return this.hasWindow?window.pageYOffset||document.documentElement.scrollTop:0},getRoundedBoundedClientRect(t){const e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),bottom:Math.round(e.bottom),right:Math.round(e.right),width:Math.round(e.width),height:Math.round(e.height)}},measure(t){if(!t||!this.hasWindow)return null;const e=this.getRoundedBoundedClientRect(t);if(!1!==this.attach){const n=window.getComputedStyle(t);e.left=parseInt(n.marginLeft),e.top=parseInt(n.marginTop)}return e},sneakPeek(t){requestAnimationFrame(()=>{const e=this.$refs.content;e&&"none"===e.style.display?(e.style.display="inline-block",t(),e.style.display="none"):t()})},startTransition(){return new Promise(t=>requestAnimationFrame(()=>{this.isContentActive=this.hasJustFocused=this.isActive,t()}))},updateDimensions(){this.hasWindow="undefined"!==typeof window,this.checkActivatorFixed(),this.checkForPageYOffset(),this.pageWidth=document.documentElement.clientWidth;const t={};if(!this.hasActivator||this.absolute)t.activator=this.absolutePosition();else{const e=this.getActivator();if(!e)return;t.activator=this.measure(e),t.activator.offsetLeft=e.offsetLeft,!1!==this.attach?t.activator.offsetTop=e.offsetTop:t.activator.offsetTop=0}this.sneakPeek(()=>{t.content=this.measure(this.$refs.content),this.dimensions=t})}}});function ni(t,e){const n=e.value,i=e.options||{passive:!0};window.addEventListener("resize",n,i),t._onResize={callback:n,options:i},e.modifiers&&e.modifiers.quiet||n()}function ii(t){if(!t._onResize)return;const{callback:e,options:n}=t._onResize;window.removeEventListener("resize",e,n),delete t._onResize}const ri={inserted:ni,unbind:ii};var si=ri;const oi=st(Ee,ve,Ce,ei,Se,At,rt);var ai=oi.extend({name:"v-menu",provide(){return{isInMenu:!0,theme:this.theme}},directives:{ClickOutside:Le,Resize:si},props:{auto:Boolean,closeOnClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},disabled:Boolean,disableKeys:Boolean,maxHeight:{type:[Number,String],default:"auto"},offsetX:Boolean,offsetY:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,origin:{type:String,default:"top left"},transition:{type:[Boolean,String],default:"v-menu-transition"}},data(){return{calculatedTopAuto:0,defaultOffset:8,hasJustFocused:!1,listIndex:-1,resizeTimeout:0,selectedIndex:null,tiles:[]}},computed:{activeTile(){return this.tiles[this.listIndex]},calculatedLeft(){const t=Math.max(this.dimensions.content.width,parseFloat(this.calculatedMinWidth));return this.auto?U(this.calcXOverflow(this.calcLeftAuto(),t))||"0":this.calcLeft(t)||"0"},calculatedMaxHeight(){const t=this.auto?"200px":U(this.maxHeight);return t||"0"},calculatedMaxWidth(){return U(this.maxWidth)||"0"},calculatedMinWidth(){if(this.minWidth)return U(this.minWidth)||"0";const t=Math.min(this.dimensions.activator.width+Number(this.nudgeWidth)+(this.auto?16:0),Math.max(this.pageWidth-24,0)),e=isNaN(parseInt(this.calculatedMaxWidth))?t:parseInt(this.calculatedMaxWidth);return U(Math.min(e,t))||"0"},calculatedTop(){const t=this.auto?U(this.calcYOverflow(this.calculatedTopAuto)):this.calcTop();return t||"0"},hasClickableTiles(){return Boolean(this.tiles.find(t=>t.tabIndex>-1))},styles(){return{maxHeight:this.calculatedMaxHeight,minWidth:this.calculatedMinWidth,maxWidth:this.calculatedMaxWidth,top:this.calculatedTop,left:this.calculatedLeft,transformOrigin:this.origin,zIndex:this.zIndex||this.activeZIndex}}},watch:{isActive(t){t||(this.listIndex=-1)},isContentActive(t){this.hasJustFocused=t},listIndex(t,e){if(t in this.tiles){const e=this.tiles[t];e.classList.add("v-list-item--highlighted"),this.$refs.content.scrollTop=e.offsetTop-e.clientHeight}e in this.tiles&&this.tiles[e].classList.remove("v-list-item--highlighted")}},created(){this.$attrs.hasOwnProperty("full-width")&&x("full-width",this)},mounted(){this.isActive&&this.callActivate()},methods:{activate(){this.updateDimensions(),requestAnimationFrame(()=>{this.startTransition().then(()=>{this.$refs.content&&(this.calculatedTopAuto=this.calcTopAuto(),this.auto&&(this.$refs.content.scrollTop=this.calcScrollPosition()))})})},calcScrollPosition(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active"),n=t.scrollHeight-t.offsetHeight;return e?Math.min(n,Math.max(0,e.offsetTop-t.offsetHeight/2+e.offsetHeight/2)):t.scrollTop},calcLeftAuto(){return parseInt(this.dimensions.activator.left-2*this.defaultOffset)},calcTopAuto(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active");if(e||(this.selectedIndex=null),this.offsetY||!e)return this.computedTop;this.selectedIndex=Array.from(this.tiles).indexOf(e);const n=e.offsetTop-this.calcScrollPosition(),i=t.querySelector(".v-list-item").offsetTop;return this.computedTop-n-i-1},changeListIndex(t){if(this.getTiles(),this.isActive&&this.hasClickableTiles)if(t.keyCode!==Y.tab){if(t.keyCode===Y.down)this.nextTile();else if(t.keyCode===Y.up)this.prevTile();else{if(t.keyCode!==Y.enter||-1===this.listIndex)return;this.tiles[this.listIndex].click()}t.preventDefault()}else this.isActive=!1},closeConditional(t){const e=t.target;return this.isActive&&!this._isDestroyed&&this.closeOnClick&&!this.$refs.content.contains(e)},genActivatorListeners(){const t=ei.options.methods.genActivatorListeners.call(this);return this.disableKeys||(t.keydown=this.onKeyDown),t},genTransition(){return this.transition?this.$createElement("transition",{props:{name:this.transition}},[this.genContent()]):this.genContent()},genDirectives(){const t=[{name:"show",value:this.isContentActive}];return!this.openOnHover&&this.closeOnClick&&t.push({name:"click-outside",value:()=>{this.isActive=!1},args:{closeConditional:this.closeConditional,include:()=>[this.$el,...this.getOpenDependentElements()]}}),t},genContent(){const t={attrs:{...this.getScopeIdAttrs(),role:"role"in this.$attrs?this.$attrs.role:"menu"},staticClass:"v-menu__content",class:{...this.rootThemeClasses,"v-menu__content--auto":this.auto,"v-menu__content--fixed":this.activatorFixed,menuable__content__active:this.isActive,[this.contentClass.trim()]:!0},style:this.styles,directives:this.genDirectives(),ref:"content",on:{click:t=>{t.stopPropagation();const e=t.target;e.getAttribute("disabled")||this.closeOnContentClick&&(this.isActive=!1)},keydown:this.onKeyDown}};return!this.disabled&&this.openOnHover&&(t.on=t.on||{},t.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(t.on=t.on||{},t.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",t,this.showLazyContent(this.getContentSlot()))},getTiles(){this.tiles=Array.from(this.$refs.content.querySelectorAll(".v-list-item"))},mouseEnterHandler(){this.runDelay("open",()=>{this.hasJustFocused||(this.hasJustFocused=!0,this.isActive=!0)})},mouseLeaveHandler(t){this.runDelay("close",()=>{this.$refs.content.contains(t.relatedTarget)||requestAnimationFrame(()=>{this.isActive=!1,this.callDeactivate()})})},nextTile(){const t=this.tiles[this.listIndex+1];if(!t){if(!this.tiles.length)return;return this.listIndex=-1,void this.nextTile()}this.listIndex++,-1===t.tabIndex&&this.nextTile()},prevTile(){const t=this.tiles[this.listIndex-1];if(!t){if(!this.tiles.length)return;return this.listIndex=this.tiles.length,void this.prevTile()}this.listIndex--,-1===t.tabIndex&&this.prevTile()},onKeyDown(t){if(t.keyCode===Y.esc){setTimeout(()=>{this.isActive=!1});const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}else!this.isActive&&[Y.up,Y.down].includes(t.keyCode)&&(this.isActive=!0);this.$nextTick(()=>this.changeListIndex(t))},onResize(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.updateDimensions,100))}},render(t){const e={staticClass:"v-menu",class:{"v-menu--attached":""===this.attach||!0===this.attach||"attach"===this.attach},directives:[{arg:"500",name:"resize",value:this.onResize}]};return t("div",e,[!this.activator&&this.genActivator(),this.$createElement(me,{props:{root:!0,light:this.light,dark:this.dark}},[this.genTransition()])])}}),li=D("spacer","div","v-spacer");const ci=D("v-toolbar__title"),ui=D("v-toolbar__items");var hi=p(Cn,s,o,!1,null,null,null),di=hi.exports;function fi(t,e){0}function pi(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Ai(t,e){return e instanceof t||e&&(e.name===t.name||e._name===t._name)}function gi(t,e){for(var n in e)t[n]=e[n];return t}g()(hi,{VApp:Bn,VAppBar:jn,VBtn:Ft,VContent:Un,VIcon:en,VList:Pn,VListItem:Yn,VListItemTitle:Kn,VMenu:ai,VSpacer:li,VToolbarItems:ui,VToolbarTitle:ci});
  /*!
    * vue-router v3.1.3
    * (c) 2019 Evan You
    * @license MIT
    */var mi={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,r=e.parent,s=e.data;s.routerView=!0;var o=r.$createElement,a=n.name,l=r.$route,c=r._routerViewCache||(r._routerViewCache={}),u=0,h=!1;while(r&&r._routerRoot!==r){var d=r.$vnode&&r.$vnode.data;d&&(d.routerView&&u++,d.keepAlive&&r._inactive&&(h=!0)),r=r.$parent}if(s.routerViewDepth=u,h)return o(c[a],s,i);var f=l.matched[u];if(!f)return c[a]=null,o();var p=c[a]=f.components[a];s.registerRouteInstance=function(t,e){var n=f.instances[a];(e&&n!==t||!e&&n===t)&&(f.instances[a]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){f.instances[a]=e.componentInstance},s.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==f.instances[a]&&(f.instances[a]=t.componentInstance)};var A=s.props=vi(l,f.props&&f.props[a]);if(A){A=s.props=gi({},A);var g=s.attrs=s.attrs||{};for(var m in A)p.props&&m in p.props||(g[m]=A[m],delete A[m])}return o(p,s,i)}};function vi(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}var yi=/[!'()*]/g,bi=function(t){return"%"+t.charCodeAt(0).toString(16)},wi=/%2C/g,Ei=function(t){return encodeURIComponent(t).replace(yi,bi).replace(wi,",")},xi=decodeURIComponent;function ki(t,e,n){void 0===e&&(e={});var i,r=n||Ci;try{i=r(t||"")}catch(rh){i={}}for(var s in e)i[s]=e[s];return i}function Ci(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),i=xi(n.shift()),r=n.length>0?xi(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]})),e):e}function Bi(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Ei(e);if(Array.isArray(n)){var i=[];return n.forEach((function(t){void 0!==t&&(null===t?i.push(Ei(e)):i.push(Ei(e)+"="+Ei(t)))})),i.join("&")}return Ei(e)+"="+Ei(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var Ii=/\/?$/;function Ti(t,e,n,i){var r=i&&i.options.stringifyQuery,s=e.query||{};try{s=Si(s)}catch(rh){}var o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:s,params:e.params||{},fullPath:Mi(e,r),matched:t?Di(t):[]};return n&&(o.redirectedFrom=Mi(n,r)),Object.freeze(o)}function Si(t){if(Array.isArray(t))return t.map(Si);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=Si(t[n]);return e}return t}var _i=Ti(null,{path:"/"});function Di(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function Mi(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;void 0===r&&(r="");var s=e||Bi;return(n||"/")+s(i)+r}function Ni(t,e){return e===_i?t===e:!!e&&(t.path&&e.path?t.path.replace(Ii,"")===e.path.replace(Ii,"")&&t.hash===e.hash&&Li(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&Li(t.query,e.query)&&Li(t.params,e.params)))}function Li(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&n.every((function(n){var i=t[n],r=e[n];return"object"===typeof i&&"object"===typeof r?Li(i,r):String(i)===String(r)}))}function Oi(t,e){return 0===t.path.replace(Ii,"/").indexOf(e.path.replace(Ii,"/"))&&(!e.hash||t.hash===e.hash)&&Qi(t.query,e.query)}function Qi(t,e){for(var n in e)if(!(n in t))return!1;return!0}function Fi(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var s=t.replace(/^\//,"").split("/"),o=0;o<s.length;o++){var a=s[o];".."===a?r.pop():"."!==a&&r.push(a)}return""!==r[0]&&r.unshift(""),r.join("/")}function Ri(t){var e="",n="",i=t.indexOf("#");i>=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}function ji(t){return t.replace(/\/\//g,"/")}var Ui=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Pi=or,zi=Vi,Yi=qi,Wi=Zi,Hi=sr,Gi=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Vi(t,e){var n,i=[],r=0,s=0,o="",a=e&&e.delimiter||"/";while(null!=(n=Gi.exec(t))){var l=n[0],c=n[1],u=n.index;if(o+=t.slice(s,u),s=u+l.length,c)o+=c[1];else{var h=t[s],d=n[2],f=n[3],p=n[4],A=n[5],g=n[6],m=n[7];o&&(i.push(o),o="");var v=null!=d&&null!=h&&h!==d,y="+"===g||"*"===g,b="?"===g||"*"===g,w=n[2]||a,E=p||A;i.push({name:f||r++,prefix:d||"",delimiter:w,optional:b,repeat:y,partial:v,asterisk:!!m,pattern:E?Xi(E):m?".*":"[^"+Ki(w)+"]+?"})}}return s<t.length&&(o+=t.substr(s)),o&&i.push(o),i}function qi(t,e){return Zi(Vi(t,e))}function $i(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function Ji(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function Zi(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"===typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,i){for(var r="",s=n||{},o=i||{},a=o.pretty?$i:encodeURIComponent,l=0;l<t.length;l++){var c=t[l];if("string"!==typeof c){var u,h=s[c.name];if(null==h){if(c.optional){c.partial&&(r+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(Ui(h)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(u=a(h[d]),!e[l].test(u))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(u)+"`");r+=(0===d?c.prefix:c.delimiter)+u}}else{if(u=c.asterisk?Ji(h):a(h),!e[l].test(u))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+u+'"');r+=c.prefix+u}}else r+=c}return r}}function Ki(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Xi(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function tr(t,e){return t.keys=e,t}function er(t){return t.sensitive?"":"i"}function nr(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return tr(t,e)}function ir(t,e,n){for(var i=[],r=0;r<t.length;r++)i.push(or(t[r],e,n).source);var s=new RegExp("(?:"+i.join("|")+")",er(n));return tr(s,e)}function rr(t,e,n){return sr(Vi(t,n),e,n)}function sr(t,e,n){Ui(e)||(n=e||n,e=[]),n=n||{};for(var i=n.strict,r=!1!==n.end,s="",o=0;o<t.length;o++){var a=t[o];if("string"===typeof a)s+=Ki(a);else{var l=Ki(a.prefix),c="(?:"+a.pattern+")";e.push(a),a.repeat&&(c+="(?:"+l+c+")*"),c=a.optional?a.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")",s+=c}}var u=Ki(n.delimiter||"/"),h=s.slice(-u.length)===u;return i||(s=(h?s.slice(0,-u.length):s)+"(?:"+u+"(?=$))?"),s+=r?"$":i&&h?"":"(?="+u+"|$)",tr(new RegExp("^"+s,er(n)),e)}function or(t,e,n){return Ui(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?nr(t,e):Ui(t)?ir(t,e,n):rr(t,e,n)}Pi.parse=zi,Pi.compile=Yi,Pi.tokensToFunction=Wi,Pi.tokensToRegExp=Hi;var ar=Object.create(null);function lr(t,e,n){e=e||{};try{var i=ar[t]||(ar[t]=Pi.compile(t));return e.pathMatch&&(e[0]=e.pathMatch),i(e,{pretty:!0})}catch(rh){return""}finally{delete e[0]}}function cr(t,e,n,i){var r="string"===typeof t?{path:t}:t;if(r._normalized)return r;if(r.name)return gi({},t);if(!r.path&&r.params&&e){r=gi({},r),r._normalized=!0;var s=gi(gi({},e.params),r.params);if(e.name)r.name=e.name,r.params=s;else if(e.matched.length){var o=e.matched[e.matched.length-1].path;r.path=lr(o,s,"path "+e.path)}else 0;return r}var a=Ri(r.path||""),l=e&&e.path||"/",c=a.path?Fi(a.path,l,n||r.append):l,u=ki(a.query,r.query,i&&i.options.parseQuery),h=r.hash||a.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:c,query:u,hash:h}}var ur,hr=[String,Object],dr=[String,Array],fr=function(){},pr={name:"RouterLink",props:{to:{type:hr,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:dr,default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,r=n.resolve(this.to,i,this.append),s=r.location,o=r.route,a=r.href,l={},c=n.options.linkActiveClass,u=n.options.linkExactActiveClass,h=null==c?"router-link-active":c,d=null==u?"router-link-exact-active":u,f=null==this.activeClass?h:this.activeClass,p=null==this.exactActiveClass?d:this.exactActiveClass,A=o.redirectedFrom?Ti(null,cr(o.redirectedFrom),null,n):o;l[p]=Ni(i,A),l[f]=this.exact?l[p]:Oi(i,A);var g=function(t){Ar(t)&&(e.replace?n.replace(s,fr):n.push(s,fr))},m={click:Ar};Array.isArray(this.event)?this.event.forEach((function(t){m[t]=g})):m[this.event]=g;var v={class:l},y=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:a,route:o,navigate:g,isActive:l[f],isExactActive:l[p]});if(y){if(1===y.length)return y[0];if(y.length>1||!y.length)return 0===y.length?t():t("span",{},y)}if("a"===this.tag)v.on=m,v.attrs={href:a};else{var b=gr(this.$slots.default);if(b){b.isStatic=!1;var w=b.data=gi({},b.data);for(var E in w.on=w.on||{},w.on){var x=w.on[E];E in m&&(w.on[E]=Array.isArray(x)?x:[x])}for(var k in m)k in w.on?w.on[k].push(m[k]):w.on[k]=g;var C=b.data.attrs=gi({},b.data.attrs);C.href=a}else v.on=m}return t(this.tag,v,this.$slots.default)}};function Ar(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function gr(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=gr(e.children)))return e}}function mr(t){if(!mr.installed||ur!==t){mr.installed=!0,ur=t;var e=function(t){return void 0!==t},n=function(t,n){var i=t.$options._parentVnode;e(i)&&e(i=i.data)&&e(i=i.registerRouteInstance)&&i(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",mi),t.component("RouterLink",pr);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}}var vr="undefined"!==typeof window;function yr(t,e,n,i){var r=e||[],s=n||Object.create(null),o=i||Object.create(null);t.forEach((function(t){br(r,s,o,t)}));for(var a=0,l=r.length;a<l;a++)"*"===r[a]&&(r.push(r.splice(a,1)[0]),l--,a--);return{pathList:r,pathMap:s,nameMap:o}}function br(t,e,n,i,r,s){var o=i.path,a=i.name;var l=i.pathToRegexpOptions||{},c=Er(o,r,l.strict);"boolean"===typeof i.caseSensitive&&(l.sensitive=i.caseSensitive);var u={path:c,regex:wr(c,l),components:i.components||{default:i.component},instances:{},name:a,parent:r,matchAs:s,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};if(i.children&&i.children.forEach((function(i){var r=s?ji(s+"/"+i.path):void 0;br(t,e,n,i,u,r)})),e[u.path]||(t.push(u.path),e[u.path]=u),void 0!==i.alias)for(var h=Array.isArray(i.alias)?i.alias:[i.alias],d=0;d<h.length;++d){var f=h[d];0;var p={path:f,children:i.children};br(t,e,n,p,r,u.path||"/")}a&&(n[a]||(n[a]=u))}function wr(t,e){var n=Pi(t,[],e);return n}function Er(t,e,n){return n||(t=t.replace(/\/$/,"")),"/"===t[0]?t:null==e?t:ji(e.path+"/"+t)}function xr(t,e){var n=yr(t),i=n.pathList,r=n.pathMap,s=n.nameMap;function o(t){yr(t,i,r,s)}function a(t,n,o){var a=cr(t,n,!1,e),l=a.name;if(l){var c=s[l];if(!c)return u(null,a);var h=c.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof a.params&&(a.params={}),n&&"object"===typeof n.params)for(var d in n.params)!(d in a.params)&&h.indexOf(d)>-1&&(a.params[d]=n.params[d]);return a.path=lr(c.path,a.params,'named route "'+l+'"'),u(c,a,o)}if(a.path){a.params={};for(var f=0;f<i.length;f++){var p=i[f],A=r[p];if(kr(A.regex,a.path,a.params))return u(A,a,o)}}return u(null,a)}function l(t,n){var i=t.redirect,r="function"===typeof i?i(Ti(t,n,null,e)):i;if("string"===typeof r&&(r={path:r}),!r||"object"!==typeof r)return u(null,n);var o=r,l=o.name,c=o.path,h=n.query,d=n.hash,f=n.params;if(h=o.hasOwnProperty("query")?o.query:h,d=o.hasOwnProperty("hash")?o.hash:d,f=o.hasOwnProperty("params")?o.params:f,l){s[l];return a({_normalized:!0,name:l,query:h,hash:d,params:f},void 0,n)}if(c){var p=Cr(c,t),A=lr(p,f,'redirect route with path "'+p+'"');return a({_normalized:!0,path:A,query:h,hash:d},void 0,n)}return u(null,n)}function c(t,e,n){var i=lr(n,e.params,'aliased route with path "'+n+'"'),r=a({_normalized:!0,path:i});if(r){var s=r.matched,o=s[s.length-1];return e.params=r.params,u(o,e)}return u(null,e)}function u(t,n,i){return t&&t.redirect?l(t,i||n):t&&t.matchAs?c(t,n,t.matchAs):Ti(t,n,i,e)}return{match:a,addRoutes:o}}function kr(t,e,n){var i=e.match(t);if(!i)return!1;if(!n)return!0;for(var r=1,s=i.length;r<s;++r){var o=t.keys[r-1],a="string"===typeof i[r]?decodeURIComponent(i[r]):i[r];o&&(n[o.name||"pathMatch"]=a)}return!0}function Cr(t,e){return Fi(t,e.parent?e.parent.path:"/",!0)}var Br=vr&&window.performance&&window.performance.now?window.performance:Date;function Ir(){return Br.now().toFixed(3)}var Tr=Ir();function Sr(){return Tr}function _r(t){return Tr=t}var Dr=Object.create(null);function Mr(){var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,"");window.history.replaceState({key:Sr()},"",e),window.addEventListener("popstate",(function(t){Lr(),t.state&&t.state.key&&_r(t.state.key)}))}function Nr(t,e,n,i){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick((function(){var s=Or(),o=r.call(t,e,n,i?s:null);o&&("function"===typeof o.then?o.then((function(t){zr(t,s)})).catch((function(t){0})):zr(o,s))}))}}function Lr(){var t=Sr();t&&(Dr[t]={x:window.pageXOffset,y:window.pageYOffset})}function Or(){var t=Sr();if(t)return Dr[t]}function Qr(t,e){var n=document.documentElement,i=n.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-i.left-e.x,y:r.top-i.top-e.y}}function Fr(t){return Ur(t.x)||Ur(t.y)}function Rr(t){return{x:Ur(t.x)?t.x:window.pageXOffset,y:Ur(t.y)?t.y:window.pageYOffset}}function jr(t){return{x:Ur(t.x)?t.x:0,y:Ur(t.y)?t.y:0}}function Ur(t){return"number"===typeof t}var Pr=/^#\d/;function zr(t,e){var n="object"===typeof t;if(n&&"string"===typeof t.selector){var i=Pr.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var r=t.offset&&"object"===typeof t.offset?t.offset:{};r=jr(r),e=Qr(i,r)}else Fr(t)&&(e=Rr(t))}else n&&Fr(t)&&(e=Rr(t));e&&window.scrollTo(e.x,e.y)}var Yr=vr&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}();function Wr(t,e){Lr();var n=window.history;try{e?n.replaceState({key:Sr()},"",t):n.pushState({key:_r(Ir())},"",t)}catch(rh){window.location[e?"replace":"assign"](t)}}function Hr(t){Wr(t,!0)}function Gr(t,e,n){var i=function(r){r>=t.length?n():t[r]?e(t[r],(function(){i(r+1)})):i(r+1)};i(0)}function Vr(t){return function(e,n,i){var r=!1,s=0,o=null;qr(t,(function(t,e,n,a){if("function"===typeof t&&void 0===t.cid){r=!0,s++;var l,c=Kr((function(e){Zr(e)&&(e=e.default),t.resolved="function"===typeof e?e:ur.extend(e),n.components[a]=e,s--,s<=0&&i()})),u=Kr((function(t){var e="Failed to resolve async component "+a+": "+t;o||(o=pi(t)?t:new Error(e),i(o))}));try{l=t(c,u)}catch(rh){u(rh)}if(l)if("function"===typeof l.then)l.then(c,u);else{var h=l.component;h&&"function"===typeof h.then&&h.then(c,u)}}})),r||i()}}function qr(t,e){return $r(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function $r(t){return Array.prototype.concat.apply([],t)}var Jr="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Zr(t){return t.__esModule||Jr&&"Module"===t[Symbol.toStringTag]}function Kr(t){var e=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var Xr=function(t){function e(e){t.call(this),this.name=this._name="NavigationDuplicated",this.message='Navigating to current location ("'+e.fullPath+'") is not allowed',Object.defineProperty(this,"stack",{value:(new t).stack,writable:!0,configurable:!0})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error);Xr._name="NavigationDuplicated";var ts=function(t,e){this.router=t,this.base=es(e),this.current=_i,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function es(t){if(!t)if(vr){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ns(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n<i;n++)if(t[n]!==e[n])break;return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function is(t,e,n,i){var r=qr(t,(function(t,i,r,s){var o=rs(t,e);if(o)return Array.isArray(o)?o.map((function(t){return n(t,i,r,s)})):n(o,i,r,s)}));return $r(i?r.reverse():r)}function rs(t,e){return"function"!==typeof t&&(t=ur.extend(t)),t.options[e]}function ss(t){return is(t,"beforeRouteLeave",as,!0)}function os(t){return is(t,"beforeRouteUpdate",as)}function as(t,e){if(e)return function(){return t.apply(e,arguments)}}function ls(t,e,n){return is(t,"beforeRouteEnter",(function(t,i,r,s){return cs(t,r,s,e,n)}))}function cs(t,e,n,i,r){return function(s,o,a){return t(s,o,(function(t){"function"===typeof t&&i.push((function(){us(t,e.instances,n,r)})),a(t)}))}}function us(t,e,n,i){e[n]&&!e[n]._isBeingDestroyed?t(e[n]):i()&&setTimeout((function(){us(t,e,n,i)}),16)}ts.prototype.listen=function(t){this.cb=t},ts.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ts.prototype.onError=function(t){this.errorCbs.push(t)},ts.prototype.transitionTo=function(t,e,n){var i=this,r=this.router.match(t,this.current);this.confirmTransition(r,(function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.ready||(i.ready=!0,i.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!i.ready&&(i.ready=!0,i.readyErrorCbs.forEach((function(e){e(t)})))}))},ts.prototype.confirmTransition=function(t,e,n){var i=this,r=this.current,s=function(t){!Ai(Xr,t)&&pi(t)&&(i.errorCbs.length?i.errorCbs.forEach((function(e){e(t)})):(fi(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)};if(Ni(t,r)&&t.matched.length===r.matched.length)return this.ensureURL(),s(new Xr(t));var o=ns(this.current.matched,t.matched),a=o.updated,l=o.deactivated,c=o.activated,u=[].concat(ss(l),this.router.beforeHooks,os(a),c.map((function(t){return t.beforeEnter})),Vr(c));this.pending=t;var h=function(e,n){if(i.pending!==t)return s();try{e(t,r,(function(t){!1===t||pi(t)?(i.ensureURL(!0),s(t)):"string"===typeof t||"object"===typeof t&&("string"===typeof t.path||"string"===typeof t.name)?(s(),"object"===typeof t&&t.replace?i.replace(t):i.push(t)):n(t)}))}catch(rh){s(rh)}};Gr(u,h,(function(){var n=[],r=function(){return i.current===t},o=ls(c,n,r),a=o.concat(i.router.resolveHooks);Gr(a,h,(function(){if(i.pending!==t)return s();i.pending=null,e(t),i.router.app&&i.router.app.$nextTick((function(){n.forEach((function(t){t()}))}))}))}))},ts.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach((function(n){n&&n(t,e)}))};var hs=function(t){function e(e,n){var i=this;t.call(this,e,n);var r=e.options.scrollBehavior,s=Yr&&r;s&&Mr();var o=ds(this.base);window.addEventListener("popstate",(function(t){var n=i.current,r=ds(i.base);i.current===_i&&r===o||i.transitionTo(r,(function(t){s&&Nr(e,t,n,!0)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,r=this,s=r.current;this.transitionTo(t,(function(t){Wr(ji(i.base+t.fullPath)),Nr(i.router,t,s,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,s=r.current;this.transitionTo(t,(function(t){Hr(ji(i.base+t.fullPath)),Nr(i.router,t,s,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(ds(this.base)!==this.current.fullPath){var e=ji(this.base+this.current.fullPath);t?Wr(e):Hr(e)}},e.prototype.getCurrentLocation=function(){return ds(this.base)},e}(ts);function ds(t){var e=decodeURI(window.location.pathname);return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var fs=function(t){function e(e,n,i){t.call(this,e,n),i&&ps(this.base)||As()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router,n=e.options.scrollBehavior,i=Yr&&n;i&&Mr(),window.addEventListener(Yr?"popstate":"hashchange",(function(){var e=t.current;As()&&t.transitionTo(gs(),(function(n){i&&Nr(t.router,n,e,!0),Yr||ys(n.fullPath)}))}))},e.prototype.push=function(t,e,n){var i=this,r=this,s=r.current;this.transitionTo(t,(function(t){vs(t.fullPath),Nr(i.router,t,s,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,s=r.current;this.transitionTo(t,(function(t){ys(t.fullPath),Nr(i.router,t,s,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;gs()!==e&&(t?vs(e):ys(e))},e.prototype.getCurrentLocation=function(){return gs()},e}(ts);function ps(t){var e=ds(t);if(!/^\/#/.test(e))return window.location.replace(ji(t+"/#"+e)),!0}function As(){var t=gs();return"/"===t.charAt(0)||(ys("/"+t),!1)}function gs(){var t=window.location.href,e=t.indexOf("#");if(e<0)return"";t=t.slice(e+1);var n=t.indexOf("?");if(n<0){var i=t.indexOf("#");t=i>-1?decodeURI(t.slice(0,i))+t.slice(i):decodeURI(t)}else n>-1&&(t=decodeURI(t.slice(0,n))+t.slice(n));return t}function ms(t){var e=window.location.href,n=e.indexOf("#"),i=n>=0?e.slice(0,n):e;return i+"#"+t}function vs(t){Yr?Wr(ms(t)):window.location.hash=t}function ys(t){Yr?Hr(ms(t)):window.location.replace(ms(t))}var bs=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){e.index=n,e.updateRoute(i)}),(function(t){Ai(Xr,t)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ts),ws=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=xr(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Yr&&!1!==t.fallback,this.fallback&&(e="hash"),vr||(e="abstract"),this.mode=e,e){case"history":this.history=new hs(this,t.base);break;case"hash":this.history=new fs(this,t.base,this.fallback);break;case"abstract":this.history=new bs(this,t.base);break;default:0}},Es={currentRoute:{configurable:!0}};function xs(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function ks(t,e,n){var i="hash"===n?"#"+e:e;return t?ji(t+"/"+i):i}ws.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Es.currentRoute.get=function(){return this.history&&this.history.current},ws.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null)})),!this.app){this.app=t;var n=this.history;if(n instanceof hs)n.transitionTo(n.getCurrentLocation());else if(n instanceof fs){var i=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},ws.prototype.beforeEach=function(t){return xs(this.beforeHooks,t)},ws.prototype.beforeResolve=function(t){return xs(this.resolveHooks,t)},ws.prototype.afterEach=function(t){return xs(this.afterHooks,t)},ws.prototype.onReady=function(t,e){this.history.onReady(t,e)},ws.prototype.onError=function(t){this.history.onError(t)},ws.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.push(t,e,n)}));this.history.push(t,e,n)},ws.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.replace(t,e,n)}));this.history.replace(t,e,n)},ws.prototype.go=function(t){this.history.go(t)},ws.prototype.back=function(){this.go(-1)},ws.prototype.forward=function(){this.go(1)},ws.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},ws.prototype.resolve=function(t,e,n){e=e||this.history.current;var i=cr(t,e,n,this),r=this.match(i,e),s=r.redirectedFrom||r.fullPath,o=this.history.base,a=ks(o,s,this.mode);return{location:i,route:r,href:a,normalizedTo:i,resolved:r}},ws.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==_i&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ws.prototype,Es),ws.install=mr,ws.version="3.1.3",vr&&window.Vue&&window.Vue.use(ws);var Cs=ws,Bs=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-container",{attrs:{fluid:""}},[n("portal",{attrs:{to:"navbar"}},[n("v-toolbar-items",[t._l(t.pathSegments,(function(e){return[n("v-icon",{key:e.path+"-icon"},[t._v("mdi-menu-right")]),n("v-btn",{key:e.path+"-btn",staticClass:"text-none",attrs:{text:""},on:{click:function(n){return t.goPath(e.path)}}},[t._v(t._s(e.name))])]}))],2)],1),n("FileUploadDialog",{attrs:{uploadUrl:t.uploadUrl},on:{uploaded:t.uploadComplete},model:{value:t.showUploadDialog,callback:function(e){t.showUploadDialog=e},expression:"showUploadDialog"}}),t.uploadEnabled?n("v-row",{attrs:{justify:"center"}},[n("v-col",{staticClass:"pt-0 pb-0",attrs:{md:"8",lg:"6"}},[n("v-btn",{attrs:{color:"primary"},domProps:{textContent:t._s(t.$t("upload"))},on:{click:function(e){t.showUploadDialog=!0}}})],1)],1):t._e(),n("v-row",{attrs:{justify:"center"}},[n("v-col",{attrs:{md:"8",lg:"6"}},[n("v-card",{staticClass:"mx-auto",attrs:{"min-height":"400px",tile:"",loading:t.loading}},t._l(t.list,(function(e){return n("v-list-item",{key:e.id,staticClass:"pl-0",attrs:{tag:"a",href:t.getFileUrl(e.resourcePath)},on:{click:function(n){return n.preventDefault(),t.goPath(e.resourcePath,e.opener)}}},[n("v-list-item-avatar",{staticClass:"ma-0"},[n("v-icon",[t._v(t._s(e.icon))])],1),n("v-list-item-content",{staticClass:"py-2"},[n("v-list-item-title",{domProps:{textContent:t._s(e.fileName)}}),e.isFolder?t._e():n("v-list-item-subtitle",{domProps:{textContent:t._s(e.fileSize)}})],1),n("v-list-item-action",[e.isFolder||e.isGoogleFile?t._e():n("v-btn",{attrs:{icon:"",tag:"a",href:t.getFileUrl(e.resourcePath),download:""},on:{click:function(t){t.stopPropagation()}}},[n("v-icon",{attrs:{color:"black"}},[t._v("\n\t\t\t\t\t\t\t\tmdi-file-download\n\t\t\t\t\t\t\t")])],1)],1)],1)})),1)],1)],1)],1)},Is=[];function Ts(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function Ss(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=Ts(t);return!isNaN(e)}var _s={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Ds(t,e,n){var i;return n=n||{},i="string"===typeof _s[t]?_s[t]:1===e?_s[t].one:_s[t].other.replace("{{count}}",e),n.addSuffix?n.comparison>0?"in "+i:i+" ago":i}function Ms(t){return function(e){var n=e||{},i=n.width?String(n.width):t.defaultWidth,r=t.formats[i]||t.formats[t.defaultWidth];return r}}var Ns={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ls={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Os={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Qs={date:Ms({formats:Ns,defaultWidth:"full"}),time:Ms({formats:Ls,defaultWidth:"full"}),dateTime:Ms({formats:Os,defaultWidth:"full"})},Fs=Qs,Rs={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function js(t,e,n,i){return Rs[t]}function Us(t){return function(e,n){var i,r=n||{},s=r.context?String(r.context):"standalone";if("formatting"===s&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=r.width?String(r.width):o;i=t.formattingValues[a]||t.formattingValues[o]}else{var l=t.defaultWidth,c=r.width?String(r.width):t.defaultWidth;i=t.values[c]||t.values[l]}var u=t.argumentCallback?t.argumentCallback(e):e;return i[u]}}var Ps={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},zs={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ys={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ws={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Hs={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Gs={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}};function Vs(t,e){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"}var qs={ordinalNumber:Vs,era:Us({values:Ps,defaultWidth:"wide"}),quarter:Us({values:zs,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Us({values:Ys,defaultWidth:"wide"}),day:Us({values:Ws,defaultWidth:"wide"}),dayPeriod:Us({values:Hs,defaultWidth:"wide",formattingValues:Gs,defaultFormattingWidth:"wide"})},$s=qs;function Js(t){return function(e,n){var i=String(e),r=n||{},s=i.match(t.matchPattern);if(!s)return null;var o=s[0],a=i.match(t.parsePattern);if(!a)return null;var l=t.valueCallback?t.valueCallback(a[0]):a[0];return l=r.valueCallback?r.valueCallback(l):l,{value:l,rest:i.slice(o.length)}}}function Zs(t){return function(e,n){var i=String(e),r=n||{},s=r.width,o=s&&t.matchPatterns[s]||t.matchPatterns[t.defaultMatchWidth],a=i.match(o);if(!a)return null;var l,c=a[0],u=s&&t.parsePatterns[s]||t.parsePatterns[t.defaultParseWidth];return l="[object Array]"===Object.prototype.toString.call(u)?Xs(u,(function(t){return t.test(i)})):Ks(u,(function(t){return t.test(i)})),l=t.valueCallback?t.valueCallback(l):l,l=r.valueCallback?r.valueCallback(l):l,{value:l,rest:i.slice(c.length)}}}function Ks(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function Xs(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}var to=/^(\d+)(th|st|nd|rd)?/i,eo=/\d+/i,no={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},io={any:[/^b/i,/^(a|c)/i]},ro={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},so={any:[/1/i,/2/i,/3/i,/4/i]},oo={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ao={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},lo={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},co={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},uo={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},ho={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},fo={ordinalNumber:Js({matchPattern:to,parsePattern:eo,valueCallback:function(t){return parseInt(t,10)}}),era:Zs({matchPatterns:no,defaultMatchWidth:"wide",parsePatterns:io,defaultParseWidth:"any"}),quarter:Zs({matchPatterns:ro,defaultMatchWidth:"wide",parsePatterns:so,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Zs({matchPatterns:oo,defaultMatchWidth:"wide",parsePatterns:ao,defaultParseWidth:"any"}),day:Zs({matchPatterns:lo,defaultMatchWidth:"wide",parsePatterns:co,defaultParseWidth:"any"}),dayPeriod:Zs({matchPatterns:uo,defaultMatchWidth:"any",parsePatterns:ho,defaultParseWidth:"any"})},po=fo,Ao={code:"en-US",formatDistance:Ds,formatLong:Fs,formatRelative:js,localize:$s,match:po,options:{weekStartsOn:0,firstWeekContainsDate:1}},go=Ao;function mo(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function vo(t,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=Ts(t).getTime(),i=mo(e);return new Date(n+i)}function yo(t,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=mo(e);return vo(t,-n)}function bo(t,e){var n=t<0?"-":"",i=Math.abs(t).toString();while(i.length<e)i="0"+i;return n+i}var wo={y:function(t,e){var n=t.getUTCFullYear(),i=n>0?n:1-n;return bo("yy"===e?i%100:i,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):bo(n+1,2)},d:function(t,e){return bo(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return n.toUpperCase();case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return bo(t.getUTCHours()%12||12,e.length)},H:function(t,e){return bo(t.getUTCHours(),e.length)},m:function(t,e){return bo(t.getUTCMinutes(),e.length)},s:function(t,e){return bo(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,i=t.getUTCMilliseconds(),r=Math.floor(i*Math.pow(10,n-3));return bo(r,e.length)}},Eo=wo,xo=864e5;function ko(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=Ts(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var i=e.getTime(),r=n-i;return Math.floor(r/xo)+1}function Co(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=1,n=Ts(t),i=n.getUTCDay(),r=(i<e?7:0)+i-e;return n.setUTCDate(n.getUTCDate()-r),n.setUTCHours(0,0,0,0),n}function Bo(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=Ts(t),n=e.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(n+1,0,4),i.setUTCHours(0,0,0,0);var r=Co(i),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var o=Co(s);return e.getTime()>=r.getTime()?n+1:e.getTime()>=o.getTime()?n:n-1}function Io(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=Bo(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var i=Co(n);return i}var To=6048e5;function So(t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=Ts(t),n=Co(e).getTime()-Io(e).getTime();return Math.round(n/To)+1}function _o(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=e||{},i=n.locale,r=i&&i.options&&i.options.weekStartsOn,s=null==r?0:mo(r),o=null==n.weekStartsOn?s:mo(n.weekStartsOn);if(!(o>=0&&o<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var a=Ts(t),l=a.getUTCDay(),c=(l<o?7:0)+l-o;return a.setUTCDate(a.getUTCDate()-c),a.setUTCHours(0,0,0,0),a}function Do(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=Ts(t,e),i=n.getUTCFullYear(),r=e||{},s=r.locale,o=s&&s.options&&s.options.firstWeekContainsDate,a=null==o?1:mo(o),l=null==r.firstWeekContainsDate?a:mo(r.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(i+1,0,l),c.setUTCHours(0,0,0,0);var u=_o(c,e),h=new Date(0);h.setUTCFullYear(i,0,l),h.setUTCHours(0,0,0,0);var d=_o(h,e);return n.getTime()>=u.getTime()?i+1:n.getTime()>=d.getTime()?i:i-1}function Mo(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=e||{},i=n.locale,r=i&&i.options&&i.options.firstWeekContainsDate,s=null==r?1:mo(r),o=null==n.firstWeekContainsDate?s:mo(n.firstWeekContainsDate),a=Do(t,e),l=new Date(0);l.setUTCFullYear(a,0,o),l.setUTCHours(0,0,0,0);var c=_o(l,e);return c}var No=6048e5;function Lo(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=Ts(t),i=_o(n,e).getTime()-Mo(n,e).getTime();return Math.round(i/No)+1}var Oo={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Qo={G:function(t,e,n){var i=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var i=t.getUTCFullYear(),r=i>0?i:1-i;return n.ordinalNumber(r,{unit:"year"})}return Eo.y(t,e)},Y:function(t,e,n,i){var r=Do(t,i),s=r>0?r:1-r;if("YY"===e){var o=s%100;return bo(o,2)}return"Yo"===e?n.ordinalNumber(s,{unit:"year"}):bo(s,e.length)},R:function(t,e){var n=Bo(t);return bo(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return bo(n,e.length)},Q:function(t,e,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(i);case"QQ":return bo(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,e,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(i);case"qq":return bo(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,e,n){var i=t.getUTCMonth();switch(e){case"M":case"MM":return Eo.M(t,e);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,e,n){var i=t.getUTCMonth();switch(e){case"L":return String(i+1);case"LL":return bo(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){var r=Lo(t,i);return"wo"===e?n.ordinalNumber(r,{unit:"week"}):bo(r,e.length)},I:function(t,e,n){var i=So(t);return"Io"===e?n.ordinalNumber(i,{unit:"week"}):bo(i,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):Eo.d(t,e)},D:function(t,e,n){var i=ko(t);return"Do"===e?n.ordinalNumber(i,{unit:"dayOfYear"}):bo(i,e.length)},E:function(t,e,n){var i=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,e,n,i){var r=t.getUTCDay(),s=(r-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return bo(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,n,i){var r=t.getUTCDay(),s=(r-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return bo(s,e.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,n){var i=t.getUTCDay(),r=0===i?7:i;switch(e){case"i":return String(r);case"ii":return bo(r,e.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,e,n){var i=t.getUTCHours(),r=i/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var i,r=t.getUTCHours();switch(i=12===r?Oo.noon:0===r?Oo.midnight:r/12>=1?"pm":"am",e){case"b":case"bb":case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){var i,r=t.getUTCHours();switch(i=r>=17?Oo.evening:r>=12?Oo.afternoon:r>=4?Oo.morning:Oo.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var i=t.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Eo.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Eo.H(t,e)},K:function(t,e,n){var i=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(i,{unit:"hour"}):bo(i,e.length)},k:function(t,e,n){var i=t.getUTCHours();return 0===i&&(i=24),"ko"===e?n.ordinalNumber(i,{unit:"hour"}):bo(i,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Eo.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Eo.s(t,e)},S:function(t,e){return Eo.S(t,e)},X:function(t,e,n,i){var r=i._originalDate||t,s=r.getTimezoneOffset();if(0===s)return"Z";switch(e){case"X":return Ro(s);case"XXXX":case"XX":return jo(s);case"XXXXX":case"XXX":default:return jo(s,":")}},x:function(t,e,n,i){var r=i._originalDate||t,s=r.getTimezoneOffset();switch(e){case"x":return Ro(s);case"xxxx":case"xx":return jo(s);case"xxxxx":case"xxx":default:return jo(s,":")}},O:function(t,e,n,i){var r=i._originalDate||t,s=r.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Fo(s,":");case"OOOO":default:return"GMT"+jo(s,":")}},z:function(t,e,n,i){var r=i._originalDate||t,s=r.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Fo(s,":");case"zzzz":default:return"GMT"+jo(s,":")}},t:function(t,e,n,i){var r=i._originalDate||t,s=Math.floor(r.getTime()/1e3);return bo(s,e.length)},T:function(t,e,n,i){var r=i._originalDate||t,s=r.getTime();return bo(s,e.length)}};function Fo(t,e){var n=t>0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),s=i%60;if(0===s)return n+String(r);var o=e||"";return n+String(r)+o+bo(s,2)}function Ro(t,e){if(t%60===0){var n=t>0?"-":"+";return n+bo(Math.abs(t)/60,2)}return jo(t,e)}function jo(t,e){var n=e||"",i=t>0?"-":"+",r=Math.abs(t),s=bo(Math.floor(r/60),2),o=bo(r%60,2);return i+s+n+o}var Uo=Qo;function Po(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function zo(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}function Yo(t,e){var n,i=t.match(/(P+)(p+)?/),r=i[1],s=i[2];if(!s)return Po(t,e);switch(r){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"});break}return n.replace("{{date}}",Po(r,e)).replace("{{time}}",zo(s,e))}var Wo={p:zo,P:Yo},Ho=Wo,Go=6e4;function Vo(t){var e=new Date(t.getTime()),n=Math.ceil(e.getTimezoneOffset());e.setSeconds(0,0);var i=e.getTime()%Go;return n*Go+i}var qo=["D","DD"],$o=["YY","YYYY"];function Jo(t){return-1!==qo.indexOf(t)}function Zo(t){return-1!==$o.indexOf(t)}function Ko(t){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===t)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===t)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===t)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}var Xo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ta=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ea=/^'([^]*?)'?$/,na=/''/g,ia=/[a-zA-Z]/;function ra(t,e,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=String(e),r=n||{},s=r.locale||go,o=s.options&&s.options.firstWeekContainsDate,a=null==o?1:mo(o),l=null==r.firstWeekContainsDate?a:mo(r.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=s.options&&s.options.weekStartsOn,u=null==c?0:mo(c),h=null==r.weekStartsOn?u:mo(r.weekStartsOn);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!s.localize)throw new RangeError("locale must contain localize property");if(!s.formatLong)throw new RangeError("locale must contain formatLong property");var d=Ts(t);if(!Ss(d))throw new RangeError("Invalid time value");var f=Vo(d),p=yo(d,f),A={firstWeekContainsDate:l,weekStartsOn:h,locale:s,_originalDate:d},g=i.match(ta).map((function(t){var e=t[0];if("p"===e||"P"===e){var n=Ho[e];return n(t,s.formatLong,A)}return t})).join("").match(Xo).map((function(t){if("''"===t)return"'";var e=t[0];if("'"===e)return sa(t);var n=Uo[e];if(n)return!r.useAdditionalWeekYearTokens&&Zo(t)&&Ko(t),!r.useAdditionalDayOfYearTokens&&Jo(t)&&Ko(t),n(p,t,s.localize,A);if(e.match(ia))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return t})).join("");return g}function sa(t){return t.match(ea)[1].replace(na,"'")}var oa=n("94df"),aa=n.n(oa),la=n("0b16"),ca=n.n(la),ua=n("df7c"),ha=n.n(ua),da=n("c82c"),fa=n.n(da),pa=(n("0808"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-dialog",{attrs:{persistent:t.uploading,"max-width":"500"},model:{value:t.innerShow,callback:function(e){t.innerShow=e},expression:"innerShow"}},[t.uploading?n("v-card",[n("v-card-title",{staticClass:"headline",domProps:{textContent:t._s(t.$t("uploading"))}}),n("v-card-text",[n("v-container",[n("v-row",[n("v-col",[n("p",{staticClass:"text-right mb-0",domProps:{textContent:t._s(t.progressMessage)}}),n("v-progress-linear",{attrs:{value:t.progress}})],1)],1)],1)],1)],1):n("v-card",[n("v-card-title",{staticClass:"headline"},[n("span",[t._v(t._s(t.$t("fileUpload")))]),n("v-switch",{staticClass:"ml-4 mt-0 pt-0 title-switch",attrs:{label:t.$t("urlUpload")},model:{value:t.uploadFromUrl,callback:function(e){t.uploadFromUrl=e},expression:"uploadFromUrl"}})],1),n("v-card-text",[n("v-container",[n("v-row",[t.uploadFromUrl?n("v-col",[n("v-text-field",{attrs:{label:t.$t("urlUpload"),error:t.showError,messages:t.$t("bigFileUploadWarning")},model:{value:t.url,callback:function(e){t.url=e},expression:"url"}})],1):n("v-col",[n("v-file-input",{attrs:{label:t.$t("fileToUpload"),"prepend-icon":"","prepend-inner-icon":"$file",error:t.showError},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1)],1),n("v-row",[n("v-col",[n("v-text-field",{attrs:{label:t.$t("fileName")},model:{value:t.fileName,callback:function(e){t.fileName=e},expression:"fileName"}})],1)],1)],1)],1),n("v-card-actions",[n("div",{staticClass:"flex-grow-1"}),n("v-btn",{attrs:{color:"primary",text:""},domProps:{textContent:t._s(t.$t("upload"))},on:{click:t.upload}})],1)],1)],1)}),Aa=[];const ga=t=>{try{return new URL(t),!0}catch(rh){return!1}};var ma={props:{value:Boolean,uploadUrl:String},data(){return{innerShow:this.value,file:null,fileName:"",url:"",uploadFromUrl:!1,showError:!1,uploading:!1,progress:0}},computed:{progressMessage(){return this.progress<100?this.$t("uploading"):this.$t("serverProcessing")}},watch:{innerShow(t){this.$emit("input",t)},value(t){t&&Object.assign(this.$data,this.$options.data.apply(this)),this.innerShow=t},file(){this.updateFileName()},url(){this.updateFileName()},uploadFromUrl(){this.updateFileName()}},methods:{updateFileName(){this.uploadFromUrl?this.fileName=decodeURIComponent(this.url.split("/").pop()):this.file&&(this.fileName=this.file.name)},upload(){const t=this.uploadFromUrl?ga(this.url):this.file instanceof File;if(!t)return void(this.showError=!0);const e=new XMLHttpRequest;e.upload.onprogress=t=>{t.lengthComputable&&(this.progress=Math.round(t.loaded/t.total*100))},e.upload.onload=()=>{this.progress=100},e.onload=()=>{this.$emit("uploaded")};let n="";const i=new URL(this.uploadUrl);i.pathname+="/"+encodeURIComponent(this.fileName),this.uploadFromUrl?(i.searchParams.set("url",this.url),this.progress=100):n=this.file,e.open("PUT",i.href),localStorage.token&&e.setRequestHeader("Authorization","Basic "+localStorage.token),e.send(n),this.uploading=!0}}},va=ma,ya=(n("ac37"),n("5803"),wn),ba=(n("8adc"),st(S,Ot,Lt,rt,dt("chipGroup"),ft("inputValue")).extend({name:"v-chip",props:{active:{type:Boolean,default:!0},activeClass:{type:String,default(){return this.chipGroup?this.chipGroup.activeClass:""}},close:Boolean,closeIcon:{type:String,default:"$delete"},disabled:Boolean,draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,outlined:Boolean,pill:Boolean,tag:{type:String,default:"span"},textColor:String,value:null},data:()=>({proxyClass:"v-chip--active"}),computed:{classes(){return{"v-chip":!0,...Lt.options.computed.classes.call(this),"v-chip--clickable":this.isClickable,"v-chip--disabled":this.disabled,"v-chip--draggable":this.draggable,"v-chip--label":this.label,"v-chip--link":this.isLink,"v-chip--no-color":!this.color,"v-chip--outlined":this.outlined,"v-chip--pill":this.pill,"v-chip--removable":this.hasClose,...this.themeClasses,...this.sizeableClasses,...this.groupClasses}},hasClose(){return Boolean(this.close)},isClickable(){return Boolean(Lt.options.computed.isClickable.call(this)||this.chipGroup)}},created(){const t=[["outline","outlined"],["selected","input-value"],["value","active"],["@input","@active.sync"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&E(t,e,this)})},methods:{click(t){this.$emit("click",t),this.chipGroup&&this.toggle()},genFilter(){const t=[];return this.isActive&&t.push(this.$createElement(nn,{staticClass:"v-chip__filter",props:{left:!0}},this.filterIcon)),this.$createElement($t,t)},genClose(){return this.$createElement(nn,{staticClass:"v-chip__close",props:{right:!0},on:{click:t=>{t.stopPropagation(),this.$emit("click:close"),this.$emit("update:active",!1)}}},this.closeIcon)},genContent(){return this.$createElement("span",{staticClass:"v-chip__content"},[this.filter&&this.genFilter(),this.$slots.default,this.hasClose&&this.genClose()])}},render(t){const e=[this.genContent()];let{tag:n,data:i}=this.generateRouteLink();i.attrs={...i.attrs,draggable:this.draggable?"true":void 0,tabindex:this.chipGroup&&!this.disabled?0:i.attrs.tabindex},i.directives.push({name:"show",value:this.active}),i=this.setBackgroundColor(this.color,i);const r=this.textColor||this.outlined&&this.color;return t(n,this.setTextColor(r,i),e)}})),wa=ya.extend({name:"v-file-input",model:{prop:"value",event:"change"},props:{chips:Boolean,clearable:{type:Boolean,default:!0},counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},placeholder:String,prependIcon:{type:String,default:"$file"},readonly:{type:Boolean,default:!1},showSize:{type:[Boolean,Number],default:!1,validator:t=>"boolean"===typeof t||[1e3,1024].includes(t)},smallChips:Boolean,truncateLength:{type:[Number,String],default:22},type:{type:String,default:"file"},value:{default:()=>[],validator:t=>"object"===typeof t||Array.isArray(t)}},computed:{classes(){return{...ya.options.computed.classes.call(this),"v-file-input":!0}},computedCounterValue(){const t=this.isMultiple&&this.lazyValue?this.lazyValue.length:this.lazyValue instanceof File?1:0;if(!this.showSize)return this.$vuetify.lang.t(this.counterString,t);const e=this.internalArrayValue.reduce((t,e)=>t+e.size,0);return this.$vuetify.lang.t(this.counterSizeString,t,X(e,1024===this.base))},internalArrayValue(){return Array.isArray(this.internalValue)?this.internalValue:$(this.internalValue)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("change",this.lazyValue)}},isDirty(){return this.internalArrayValue.length>0},isLabelActive(){return this.isDirty},isMultiple(){return this.$attrs.hasOwnProperty("multiple")},text(){return this.isDirty?this.internalArrayValue.map(t=>{const e=this.truncateText(t.name);return this.showSize?`${e} (${X(t.size,1024===this.base)})`:e}):[this.placeholder]},base(){return"boolean"!==typeof this.showSize?this.showSize:void 0},hasChips(){return this.chips||this.smallChips}},watch:{readonly:{handler(t){!0===t&&w("readonly is not supported on <v-file-input>",this)},immediate:!0},value(t){const e=this.isMultiple?t:t?[t]:[];Q(e,this.$refs.input.files)||(this.$refs.input.value="")}},methods:{clearableCallback(){this.internalValue=this.isMultiple?[]:null,this.$refs.input.value=""},genChips(){return this.isDirty?this.text.map((t,e)=>this.$createElement(ba,{props:{small:this.smallChips},on:{"click:close":()=>{const t=this.internalValue;t.splice(e,1),this.internalValue=t}}},[t])):[]},genInput(){const t=ya.options.methods.genInput.call(this);return delete t.data.domProps.value,delete t.data.on.input,t.data.on.change=this.onInput,[this.genSelections(),t]},genPrependSlot(){if(!this.prependIcon)return null;const t=this.genIcon("prepend",()=>{this.$refs.input.click()});return this.genSlot("prepend","outer",[t])},genSelectionText(){const t=this.text.length;return t<2?this.text:this.showSize&&!this.counter?[this.computedCounterValue]:[this.$vuetify.lang.t(this.counterString,t)]},genSelections(){const t=[];return this.isDirty&&this.$scopedSlots.selection?this.internalArrayValue.forEach((e,n)=>{this.$scopedSlots.selection&&t.push(this.$scopedSlots.selection({text:this.text[n],file:e,index:n}))}):t.push(this.hasChips&&this.isDirty?this.genChips():this.genSelectionText()),this.$createElement("div",{staticClass:"v-file-input__text",class:{"v-file-input__text--placeholder":this.placeholder&&!this.isDirty,"v-file-input__text--chips":this.hasChips&&!this.$scopedSlots.selection},on:{click:()=>this.$refs.input.click()}},t)},onInput(t){const e=[...t.target.files||[]];this.internalValue=this.isMultiple?e:e[0],this.initialValue=this.internalValue},onKeyDown(t){this.$emit("keydown",t)},truncateText(t){if(t.length<Number(this.truncateLength))return t;const e=Math.floor((Number(this.truncateLength)-1)/2);return`${t.slice(0,e)}…${t.slice(t.length-e)}`}}}),Ea=(n("ec29"),n("9d01"),r["default"].extend({name:"rippleable",directives:{ripple:Nt},props:{ripple:{type:[Boolean,Object],default:!0}},methods:{genRipple(t={}){return this.ripple?(t.staticClass="v-input--selection-controls__ripple",t.directives=t.directives||[],t.directives.push({name:"ripple",value:{center:!0}}),t.on=Object.assign({click:this.onChange},this.$listeners),this.$createElement("div",t)):null},onChange(){}}})),xa=r["default"].extend({name:"comparable",props:{valueComparator:{type:Function,default:Q}}}),ka=st(hn,Ea,xa).extend({name:"selectable",model:{prop:"inputValue",event:"change"},props:{id:String,inputValue:null,falseValue:null,trueValue:null,multiple:{type:Boolean,default:null},label:String},data(){return{hasColor:this.inputValue,lazyValue:this.inputValue}},computed:{computedColor(){if(this.isActive)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"accent"},isMultiple(){return!0===this.multiple||null===this.multiple&&Array.isArray(this.internalValue)},isActive(){const t=this.value,e=this.internalValue;return this.isMultiple?!!Array.isArray(e)&&e.some(e=>this.valueComparator(e,t)):void 0===this.trueValue||void 0===this.falseValue?t?this.valueComparator(t,e):Boolean(e):this.valueComparator(e,this.trueValue)},isDirty(){return this.isActive}},watch:{inputValue(t){this.lazyValue=t,this.hasColor=t}},methods:{genLabel(){const t=hn.options.methods.genLabel.call(this);return t?(t.data.on={click:t=>{t.preventDefault(),this.onChange()}},t):t},genInput(t,e){return this.$createElement("input",{attrs:Object.assign({"aria-checked":this.isActive.toString(),disabled:this.isDisabled,id:this.computedId,role:t,type:t},e),domProps:{value:this.value,checked:this.isActive},on:{blur:this.onBlur,change:this.onChange,focus:this.onFocus,keydown:this.onKeydown},ref:"input"})},onBlur(){this.isFocused=!1},onChange(){if(this.isDisabled)return;const t=this.value;let e=this.internalValue;if(this.isMultiple){Array.isArray(e)||(e=[]);const n=e.length;e=e.filter(e=>!this.valueComparator(e,t)),e.length===n&&e.push(t)}else e=void 0!==this.trueValue&&void 0!==this.falseValue?this.valueComparator(e,this.trueValue)?this.falseValue:this.trueValue:t?this.valueComparator(e,t)?null:t:!e;this.validate(!0,e),this.internalValue=e,this.hasColor=e},onFocus(){this.isFocused=!0},onKeydown(t){}}});const Ca=t=>{const{touchstartX:e,touchendX:n,touchstartY:i,touchendY:r}=t,s=.5,o=16;t.offsetX=n-e,t.offsetY=r-i,Math.abs(t.offsetY)<s*Math.abs(t.offsetX)&&(t.left&&n<e-o&&t.left(t),t.right&&n>e+o&&t.right(t)),Math.abs(t.offsetX)<s*Math.abs(t.offsetY)&&(t.up&&r<i-o&&t.up(t),t.down&&r>i+o&&t.down(t))};function Ba(t,e){const n=t.changedTouches[0];e.touchstartX=n.clientX,e.touchstartY=n.clientY,e.start&&e.start(Object.assign(t,e))}function Ia(t,e){const n=t.changedTouches[0];e.touchendX=n.clientX,e.touchendY=n.clientY,e.end&&e.end(Object.assign(t,e)),Ca(e)}function Ta(t,e){const n=t.changedTouches[0];e.touchmoveX=n.clientX,e.touchmoveY=n.clientY,e.move&&e.move(Object.assign(t,e))}function Sa(t){const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:t.left,right:t.right,up:t.up,down:t.down,start:t.start,move:t.move,end:t.end};return{touchstart:t=>Ba(t,e),touchend:t=>Ia(t,e),touchmove:t=>Ta(t,e)}}function _a(t,e,n){const i=e.value,r=i.parent?t.parentElement:t,s=i.options||{passive:!0};if(!r)return;const o=Sa(e.value);r._touchHandlers=Object(r._touchHandlers),r._touchHandlers[n.context._uid]=o,H(o).forEach(t=>{r.addEventListener(t,o[t],s)})}function Da(t,e,n){const i=e.value.parent?t.parentElement:t;if(!i||!i._touchHandlers)return;const r=i._touchHandlers[n.context._uid];H(r).forEach(t=>{i.removeEventListener(t,r[t])}),delete i._touchHandlers[n.context._uid]}const Ma={inserted:_a,unbind:Da};var Na=Ma,La=ka.extend({name:"v-switch",directives:{Touch:Na},props:{inset:Boolean,loading:{type:[Boolean,String],default:!1},flat:{type:Boolean,default:!1}},computed:{classes(){return{...hn.options.computed.classes.call(this),"v-input--selection-controls v-input--switch":!0,"v-input--switch--flat":this.flat,"v-input--switch--inset":this.inset}},attrs(){return{"aria-checked":String(this.isActive),"aria-disabled":String(this.disabled),role:"switch"}},validationState(){return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0},switchData(){return this.setTextColor(this.loading?void 0:this.validationState,{class:this.themeClasses})}},methods:{genDefaultSlot(){return[this.genSwitch(),this.genLabel()]},genSwitch(){return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.genInput("checkbox",{...this.attrs,...this.attrs$}),this.genRipple(this.setTextColor(this.validationState,{directives:[{name:"touch",value:{left:this.onSwipeLeft,right:this.onSwipeRight}}]})),this.$createElement("div",{staticClass:"v-input--switch__track",...this.switchData}),this.$createElement("div",{staticClass:"v-input--switch__thumb",...this.switchData},[this.genProgress()])])},genProgress(){return this.$createElement(Ht,{},[!1===this.loading?null:this.$slots.progress||this.$createElement(lt,{props:{color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,size:16,width:2,indeterminate:!0}})])},onSwipeLeft(){this.isActive&&this.onChange()},onSwipeRight(){this.isActive||this.onChange()},onKeydown(t){(t.keyCode===Y.left&&this.isActive||t.keyCode===Y.right&&!this.isActive)&&this.onChange()}}}),Oa=p(va,pa,Aa,!1,null,null,null),Qa=Oa.exports;g()(Oa,{VBtn:Ft,VCard:ie,VCardActions:re,VCardText:se,VCardTitle:oe,VCol:pe,VContainer:ge,VDialog:Qe,VFileInput:wa,VProgressLinear:te,VRow:Ze,VSwitch:La,VTextField:wn});const Fa={"application/epub+zip":"epub","video/mp4":"video","image/png":"image","image/jpeg":"image","image/gif":"image","image/bmp":"image","application/pdf":"pdf"},Ra={"application/vnd.google-apps.folder":"mdi-folder","application/epub+zip":"mdi-book","application/vnd.android.package-archive":"mdi-android","video/mp4":"mdi-video","video/x-msvideo":"mdi-video","video/x-flv":"mdi-video","video/x-ms-wmv":"mdi-video","video/webm":"mdi-video","video/x-matroska":"mdi-video","application/zip":"mdi-archive","application/x-7z-compressed":"mdi-archive","application/x-rar-compressed":"mdi-archive","application/x-gzip":"mdi-archive","image/png":"mdi-file-image","image/jpeg":"mdi-file-image","image/gif":"mdi-file-image","image/bmp":"mdi-file-image","application/msword":"mdi-file-word","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"mdi-file-word","application/vnd.ms-excel":"mdi-file-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"mdi-file-excel","application/vnd.openxmlformats-officedocument.presentationml.presentation":"mdi-file-powerpoint","application/vnd.ms-powerpoint":"mdi-file-powerpoint","application/pdf":"mdi-file-pdf","text/x-sql":"mdi-database","application/vnd.google-apps.document":"mdi-file-document-box","application/vnd.google-apps.spreadsheet":"mdi-google-spreadsheet","application/vnd.google-apps.presentation":"mdi-file-presentation-box","text/plain":"mdi-file-document"};var ja={data(){return{list:[],loading:!1,headers:[{text:this.$t("fileName"),value:"fileName",class:["fileName"]},{text:this.$t("modifiedTime"),value:"modifiedTime",filterable:!1,class:"hidden-sm-and-down"},{text:this.$t("fileSize"),value:"fileSize",filterable:!1,class:"hidden-sm-and-down"}],renderStart:null,uploadEnabled:window.props.upload,showUploadDialog:!1}},computed:{path(){return"/"+this.$route.params.path},pathSegments(){const t=this.path.split("/").filter(Boolean).map(decodeURIComponent),e=[];for(let n=0;n<t.length;n++)e.push({name:t[n],path:"/"+ha.a.join(...t.slice(0,n+1))+"/"});return e},uploadUrl(){const t=new URL(this.path,window.props.api);return t.searchParams.set("rootId",this.$route.query.rootId||window.props.default_root_id),t.href}},methods:{goPath(t,e){const n={rootId:this.$route.query.rootId};e&&(n.opener=e),this.$router.push({path:t.split("/").map(decodeURIComponent).map(encodeURIComponent).join("/"),query:n})},getFileUrl(t){const{rootId:e}=this.$route.query;let n=ca.a.resolve(window.props.api,t.split("/").map(encodeURIComponent).join("/"));return e&&(n+="?rootId="+e),n},async renderPath(t,e){let n=this.renderStart=Date.now();this.loading=!0,e||(e=window.props.default_root_id),this.list=[];const{files:i}=await c.post(t,{method:"POST",qs:{rootId:e}}).json();n===this.renderStart&&(this.list=i.map(e=>{e.mimeType=e.mimeType.replace("; charset=utf-8","");const n="application/vnd.google-apps.folder"===e.mimeType,i=e.mimeType.includes("vnd.google-apps"),r=ca.a.resolve(t,e.name)+(n?"/":""),s={fileName:e.name,modifiedTime:ra(new Date(e.modifiedTime),"yyyy/MM/dd HH:mm:ss"),isFolder:n,isGoogleFile:i,mimeType:e.mimeType,fileSize:e.size?aa()(parseInt(e.size)):"",resourcePath:r,icon:Ra[e.mimeType]||"mdi-file"};return e.mimeType in Fa&&(s.opener=Fa[e.mimeType]),s}),this.loading=!1)},handlePath(t,e){if("/"===t.substr(-1))return this.renderPath(t,e.rootId),!0;{let n=ca.a.resolve(window.props.api,t);if(e.rootId&&e.rootId!==window.props.default_root_id&&(n+="?rootId="+e.rootId),e.opener){if("image"===e.opener){const t=new Image;return t.src=n,t.style.display="none",document.body.appendChild(t),void(t.onload=()=>{const e=new fa.a(t);e.show(),t.addEventListener("hide",()=>{e.destroy(),t.remove()})})}this.$router.push({path:"/~viewer/"+e.opener,query:{urlBase64:btoa(n)}})}else location.href=n}},uploadComplete(){this.showUploadDialog=!1,this.renderPath(this.path,this.$route.query.rootId)}},created(){this.handlePath(this.path,this.$route.query)},beforeRouteUpdate(t,e,n){const i=t.params.path.split("/").map(decodeURIComponent).map(encodeURIComponent).join("/");this.handlePath("/"+i,t.query)&&n()},components:{FileUploadDialog:Qa}},Ua=ja,Pa=(n("f17e"),p(Ua,Bs,Is,!1,null,"2a7e2efe",null)),za=Pa.exports;g()(Pa,{VBtn:Ft,VCard:ie,VCol:pe,VContainer:ge,VIcon:en,VListItem:Yn,VListItemAction:Vn,VListItemAvatar:Jn,VListItemContent:Zn,VListItemSubtitle:Xn,VListItemTitle:Kn,VRow:Ze,VToolbarItems:ui});var Ya=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-container",{staticClass:"pt-0 pb-0",attrs:{fluid:"","fill-height":""}},[n("v-layout",{attrs:{row:"",wrap:""}},[n("v-flex",{attrs:{"d-flex":""}},[n("iframe",{ref:"container"})])],1)],1)},Wa=[],Ha='<!DOCTYPE html> <html class="no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title></title> <meta name="description" content> <meta name="viewport" content="width=device-width, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <style> article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary{ display:block;} audio, canvas, video{ display:inline-block;*display:inline;*zoom:1;} audio:not([controls]){ display:none;height:0;} [hidden]{ display:none;} html{ font-size:100%; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; } html, button, input, select, textarea{ font-family:sans-serif;} body{ margin:0;} a:focus{ outline:thin dotted;} a:active, a:hover{ outline:0;} h1{ font-size:2em;margin:0.67em 0;}h2{ font-size:1.5em;margin:0.83em 0;}h3{ font-size:1.17em;margin:1em 0;}h4{ font-size:1em;margin:1.33em 0;}h5{ font-size:0.83em;margin:1.67em 0;}h6{ font-size:0.75em;margin:2.33em 0;} abbr[title]{ border-bottom:1px dotted;} b, strong{ font-weight:bold;}blockquote{ margin:1em 40px;} dfn{ font-style:italic;} mark{ background:#ff0;color:#000;} p, pre{ margin:1em 0;} code, kbd, pre, samp{ font-family:monospace, serif;_font-family:\'courier new\', monospace;font-size:1em;} pre{ white-space:pre;white-space:pre-wrap;word-wrap:break-word;} q{ quotes:none;} q:before, q:after{ content:\'\';content:none;} small{ font-size:80%;} sub, sup{ font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{ top:-0.5em;}sub{ bottom:-0.25em;} dl, menu, ol, ul{ margin:1em 0;}dd{ margin:0 0 0 40px;} menu, ol, ul{ padding:0 0 0 40px;} nav ul, nav ol{ list-style:none;list-style-image:none;} img{ border:0; -ms-interpolation-mode:bicubic; } svg:not(:root){ overflow:hidden;} figure{ margin:0;} form{ margin:0;} fieldset{ border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;} legend{ border:0; padding:0;white-space:normal; *margin-left:-7px; } button, input, select, textarea{ font-size:100%; margin:0; vertical-align:baseline; *vertical-align:middle; } button, input{ line-height:normal;} button, html input[type="button"], input[type="reset"], input[type="submit"]{ -webkit-appearance:button; cursor:pointer; *overflow:visible; } button[disabled], input[disabled]{ cursor:default;} input[type="checkbox"], input[type="radio"]{ box-sizing:border-box; padding:0; *height:13px; *width:13px; } button::-moz-focus-inner, input::-moz-focus-inner{ border:0;padding:0;} textarea{ overflow:auto; vertical-align:top; } table{ border-collapse:collapse;border-spacing:0;}</style> <style>@font-face{ font-family:\'fontello\';src:url(\'data:application/vnd.ms-fontobject;base64,3CcAADQnAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAA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SstsE0ssgAAOSstsE4ssgABOSstsE8ssgEAOSstsFAssgEBOSstsFEssgAAOystsFIssgABOystsFMssgEAOystsFQssgEBOystsFUssgAAPistsFYssgABPistsFcssgEAPistsFgssgEBPistsFkssgAAOistsFossgABOistsFsssgEAOistsFwssgEBOistsF0ssDIrLrEmARQrLbBeLLAyK7A2Ky2wXyywMiuwNystsGAssAAWsDIrsDgrLbBhLLAzKy6xJgEUKy2wYiywMyuwNistsGMssDMrsDcrLbBkLLAzK7A4Ky2wZSywNCsusSYBFCstsGYssDQrsDYrLbBnLLA0K7A3Ky2waCywNCuwOCstsGkssDUrLrEmARQrLbBqLLA1K7A2Ky2wayywNSuwNystsGwssDUrsDgrLbBtLCuwCGWwAyRQeLABFTAtAAAAS7gAyFJYsQEBjlm5CAAIAGMgsAEjRLADI3CyBCgJRVJEsgoCByqxBgFEsSQBiFFYsECIWLEGA0SxJgGIUVi4BACIWLEGAURZWVlZuAH/hbAEjbEFAEQAAA==\');src:url(\'data:application/vnd.ms-fontobject;base64,3CcAADQnAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAPSWhOgAAAAAAAAAAAAAAAAAAAAAAABAAZgBvAG4AdABlAGwAbABvAAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAQAGYAbwBuAHQAZQBsAGwAbwAAAAAAAAEAAAAOAIAAAwBgT1MvMj4oSNgAAADsAAAAVmNtYXDQJhm3AAABRAAAAUpjdnQgBs3/BgAAHSwAAAAcZnBnbYoKeDsAAB1IAAAJkWdhc3AAAAAQAAAdJAAAAAhnbHlmsMexBQAAApAAABWQaGVhZAEcLZoAABggAAAANmhoZWEH4AOoAAAYWAAAACRobXR4SiQAAAAAGHwAAABcbG9jYT+yRfYAABjYAAAAMG1heHABmApQAAAZCAAAACBuYW1lzJ0ZGwAAGSgAAALNcG9zdKED/GoAABv4AAABKXByZXCSoZr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CMgLkawAiVGUlggPFkjIC5GsAIlRlBYIDxZLrEmARQrLbA5LLAwKyMgLkawAiVGUlggPFkusSYBFCstsDossDEriiAgPLAEI0KKOCMgLkawAiVGUlggPFkusSYBFCuwBEMusCYrLbA7LLAAFrAEJbAEJiAuRyNHI2GwBkUrIyA8IC4jOLEmARQrLbA8LLEIBCVCsAAWsAQlsAQlIC5HI0cjYSCwBCNCsAZFKyCwYFBYILBAUVizAiADIBuzAiYDGllCQiMgR7AEQ7CAYmAgsAArIIqKYSCwAkNgZCOwA0NhZFBYsAJDYRuwA0NgWbADJbCAYmGwAiVGYTgjIDwjOBshICBGI0ewACsjYTghWbEmARQrLbA9LLAwKy6xJgEUKy2wPiywMSshIyAgPLAEI0IjOLEmARQrsARDLrAmKy2wPyywABUgR7AAI0KyAAEBFRQTLrAsKi2wQCywABUgR7AAI0KyAAEBFRQTLrAsKi2wQSyxAAEUE7AtKi2wQiywLyotsEMssAAWRSMgLiBGiiNhOLEmARQrLbBELLAII0KwQystsEUssgAAPCstsEYssgABPCstsEcssgEAPCstsEgssgEBPCstsEkssgAAPSstsEossgABPSstsEsssgEAPSstsEwssgEBPSstsE0ssgAAOSstsE4ssgABOSstsE8ssgEAOSstsFAssgEBOSstsFEssgAAOystsFIssgABOystsFMssgEAOystsFQssgEBOystsFUssgAAPistsFYssgABPistsFcssgEAPistsFgssgEBPistsFkssgAAOistsFossgABOistsFsssgEAOistsFwssgEBOistsF0ssDIrLrEmARQrLbBeLLAyK7A2Ky2wXyywMiuwNystsGAssAAWsDIrsDgrLbBhLLAzKy6xJgEUKy2wYiywMyuwNistsGMssDMrsDcrLbBkLLAzK7A4Ky2wZSywNCsusSYBFCstsGYssDQrsDYrLbBnLLA0K7A3Ky2waCywNCuwOCstsGkssDUrLrEmARQrLbBqLLA1K7A2Ky2wayywNSuwNystsGwssDUrsDgrLbBtLCuwCGWwAyRQeLABFTAtAAAAS7gAyFJYsQEBjlm5CAAIAGMgsAEjRLADI3CyBCgJRVJE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IC5HI0cjYSCwBCNCsAZFKyCwYFBYILBAUVizAiADIBuzAiYDGllCQiMgR7AEQ7CAYmAgsAArIIqKYSCwAkNgZCOwA0NhZFBYsAJDYRuwA0NgWbADJbCAYmGwAiVGYTgjIDwjOBshICBGI0ewACsjYTghWbEmARQrLbA9LLAwKy6xJgEUKy2wPiywMSshIyAgPLAEI0IjOLEmARQrsARDLrAmKy2wPyywABUgR7AAI0KyAAEBFRQTLrAsKi2wQCywABUgR7AAI0KyAAEBFRQTLrAsKi2wQSyxAAEUE7AtKi2wQiywLyotsEMssAAWRSMgLiBGiiNhOLEmARQrLbBELLAII0KwQystsEUssgAAPCstsEYssgABPCstsEcssgEAPCstsEgssgEBPCstsEkssgAAPSstsEossgABPSstsEsssgEAPSstsEwssgEBPSstsE0ssgAAOSstsE4ssgABOSstsE8ssgEAOSstsFAssgEBOSstsFEssgAAOystsFIssgABOystsFMssgEAOystsFQssgEBOystsFUssgAAPistsFYssgABPistsFcssgEAPistsFgssgEBPistsFkssgAAOistsFossgABOistsFsssgEAOistsFwssgEBOistsF0ssDIrLrEmARQrLbBeLLAyK7A2Ky2wXyywMiuwNystsGAssAAWsDIrsDgrLbBhLLAzKy6xJgEUKy2wYiywMyuwNistsGMssDMrsDcrLbBkLLAzK7A4Ky2wZSywNCsusSYBFCstsGYssDQrsDYrLbBnLLA0K7A3Ky2waCywNCuwOCstsGkssDUrLrEmARQrLbBqLLA1K7A2Ky2wayywNSuwNystsGwssDUrsDgrLbBtLCuwCGWwAyRQeLABFTAtAAAAS7gAyFJYsQEBjlm5CAAIAGMgsAEjRLADI3CyBCgJRVJEsgoCByqxBgFEsSQBiFFYsECIWLEGA0SxJgGIUVi4BACIWLEGAURZWVlZuAH/hbAEjbEFAEQAAA==\') format(\'truetype\'), url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EV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i01IDYtMTN6IiBob3Jpei1hZHYteD0iODU3LjEiIC8+CjwvZm9udD4KPC9kZWZzPgo8L3N2Zz4=\') format(\'svg\');font-weight:normal;font-style:normal;}body{ background:#4e4e4e;overflow:hidden;}#main{ position:absolute;width:100%;height:100%;right:0; border-radius:5px;background:#fff;overflow:hidden;-webkit-transition:-webkit-transform .4s, width .2s;-moz-transition:-webkit-transform .4s, width .2s;-ms-transition:-webkit-transform .4s, width .2s;-moz-box-shadow:inset 0 0 50px rgba(0,0,0,.1);-webkit-box-shadow:inset 0 0 50px rgba(0,0,0,.1);-ms-box-shadow:inset 0 0 50px rgba(0,0,0,.1);box-shadow:inset 0 0 50px rgba(0,0,0,.1);}#titlebar{ height:8%;min-height:20px;padding:10px; position:relative;color:#4f4f4f;font-weight:100;font-family:Georgia, "Times New Roman", Times, serif;opacity:.5;text-align:center;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;z-index:10;}#titlebar:hover{ opacity:1;}#titlebar a{ width:18px;height:19px;line-height:20px;overflow:hidden;display:inline-block;opacity:.5;padding:4px;border-radius:4px;}#titlebar a::before{ visibility:visible;}#titlebar a:hover{ opacity:.8;border:1px rgba(0,0,0,.2) solid;padding:3px;}#titlebar a:active{ opacity:1;color:rgba(0,0,0,.6); -moz-box-shadow:inset 0 0 6px rgba(155,155,155,.8);-webkit-box-shadow:inset 0 0 6px rgba(155,155,155,.8);-ms-box-shadow:inset 0 0 6px rgba(155,155,155,.8);box-shadow:inset 0 0 6px rgba(155,155,155,.8);}#book-title{ font-weight:600;}#title-seperator{ display:none;}#viewer{ width:80%;height:80%; margin:0 auto;max-width:1250px;z-index:2;position:relative;overflow:hidden;}#viewer iframe{ border:none;}#prev{ left:40px;}#next{ right:40px;}.arrow{ position:absolute;top:50%;margin-top:-32px;font-size:64px;color:#E2E2E2;font-family:arial, sans-serif;font-weight:bold;cursor:pointer;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.arrow:hover{ color:#777;}.arrow:active, .arrow.active{ color:#000;}#sidebar{ background:#6b6b6b;position:absolute; top:0;min-width:300px;width:25%;height:100%;-webkit-transition:-webkit-transform .5s;-moz-transition:-moz-transform .5s;-ms-transition:-moz-transform .5s;overflow:hidden;}#sidebar.open{ }#main.closed{ -webkit-transform:translate(300px, 0);-moz-transform:translate(300px, 0);-ms-transform:translate(300px, 0);}#main.single{ width:75%;}#main.single #viewer{ }#panels{ background:#4e4e4e;position:absolute;left:0;top:0;width:100%;padding:13px 0;height:14px;-moz-box-shadow:0px 1px 3px rgba(0,0,0,.6);-webkit-box-shadow:0px 1px 3px rgba(0,0,0,.6);-ms-box-shadow:0px 1px 3px rgba(0,0,0,.6);box-shadow:0px 1px 3px rgba(0,0,0,.6);}#opener{ float:left;} #metainfo{ display:inline-block;text-align:center;max-width:80%;}#title-controls{ float:right;}#panels a{ visibility:hidden;width:18px;height:20px;overflow:hidden;display:inline-block;color:#ccc;margin-left:6px;}#panels a::before{ visibility:visible;}#panels a:hover{ color:#AAA;}#panels a:active{ color:#AAA;margin:1px 0 -1px 6px;}#panels a.active, #panels a.active:hover{ color:#AAA;}#searchBox{ width:165px;float:left;margin-left:10px;margin-top:-1px; }input::-webkit-input-placeholder{ color:#454545;}input:-moz-placeholder{ color:#454545;}input:-ms-placeholder{ color:#454545;}#divider{ position:absolute;width:1px;border-right:1px #000 solid;height:80%;z-index:1;left:50%;margin-left:-1px;top:10%;opacity:.15;box-shadow:-2px 0 15px rgba(0, 0, 0, 1);display:none;}#divider.show{ display:block;}#loader{ position:absolute;z-index:10;left:50%;top:50%;margin:-33px 0 0 -33px;}#tocView, #bookmarksView{ overflow-x:hidden;overflow-y:hidden;min-width:300px;width:25%;height:100%;visibility:hidden;-webkit-transition:visibility 0 ease .5s;-moz-transition:visibility 0 ease .5s;-ms-transition:visibility 0 ease .5s;}#sidebar.open #tocView, #sidebar.open #bookmarksView{ overflow-y:auto;visibility:visible;-webkit-transition:visibility 0 ease 0;-moz-transition:visibility 0 ease 0;-ms-transition:visibility 0 ease 0;}#sidebar.open #tocView{ display:block;}#tocView > ul, #bookmarksView > ul{ margin-top:15px;margin-bottom:50px;padding-left:20px;display:block;}#tocView li, #bookmarksView li{ margin-bottom:10px;width:225px;font-family:Georgia, "Times New Roman", Times, serif;list-style:none;text-transform:capitalize;}#tocView li:active, #tocView li.currentChapter{ list-style:none;}.list_item a{ color:#AAA;text-decoration:none;}.list_item a.chapter{ font-size:1em;}.list_item a.section{ font-size:.8em;}.list_item.currentChapter > a, .list_item a:hover{ color:#f1f1f1 } .list_item a:hover{ color:#E2E2E2;}.list_item ul{ padding-left:10px;margin-top:8px;display:none;}.list_item.currentChapter > ul, .list_item.openChapter > ul{ display:block;}#tocView.hidden{ display:none;}.toc_toggle{ display:inline-block;width:14px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.toc_toggle:before{ content:\'▸\';color:#fff;margin-right:-4px;}.currentChapter > .toc_toggle:before, .openChapter > .toc_toggle:before{ content:\'▾\';}.view{ width:300px;height:100%;display:none;padding-top:50px;overflow-y:auto;}#searchResults{ margin-bottom:50px;padding-left:20px;display:block;}#searchResults li{ margin-bottom:10px;width:225px;font-family:Georgia, "Times New Roman", Times, serif;list-style:none;}#searchResults a{ color:#AAA;text-decoration:none;}#searchResults p{ text-decoration:none;font-size:12px;line-height:16px;}#searchResults p .match{ background:#ccc;color:#000;}#searchResults li > p{ color:#AAA;}#searchResults li a:hover{ color:#E2E2E2;}#searchView.shown{ display:block;overflow-y:scroll;}#notes{ padding:0 0 0 34px;}#notes li{ color:#eee;font-size:12px;width:240px;border-top:1px #fff solid;padding-top:6px;margin-bottom:6px;}#notes li a{ color:#fff;display:inline-block;margin-left:6px;}#notes li a:hover{ text-decoration:underline;}#notes li img{ max-width:240px;}#note-text{ display:block;width:260px;height:80px;margin:0 auto;padding:5px;border-radius:5px;}#note-text[disabled], #note-text[disabled="disabled"]{ opacity:.5;}#note-anchor{ margin-left:218px;margin-top:5px;}#settingsPanel{ display:none;}#settingsPanel h3{ color:#f1f1f1;font-family:Georgia, "Times New Roman", Times, serif;margin-bottom:10px;}#settingsPanel ul{ margin-top:60px;list-style-type:none;}#settingsPanel li{ font-size:1em;color:#f1f1f1;}#settingsPanel .xsmall{ font-size:x-small;}#settingsPanel .small{ font-size:small;}#settingsPanel .medium{ font-size:medium;}#settingsPanel .large{ font-size:large;}#settingsPanel .xlarge{ font-size:x-large;}.highlight{ background-color:yellow }.modal{ position:fixed;top:50%;left:50%;width:50%;width:630px;height:auto;z-index:2000;visibility:hidden;margin-left:-320px;margin-top:-160px;}.overlay{ position:fixed;width:100%;height:100%;visibility:hidden;top:0;left:0;z-index:1000;opacity:0;background:rgba(255,255,255,0.8);-webkit-transition:all 0.3s;-moz-transition:all 0.3s;-ms-transition:all 0.3s;transition:all 0.3s;}.md-show{ visibility:visible;}.md-show ~ .overlay{ opacity:1;visibility:visible;} .md-content{ color:#fff;background:#6b6b6b;position:relative;border-radius:3px;margin:0 auto;height:320px;}.md-content h3{ margin:0;padding:6px;text-align:center;font-size:22px;font-weight:300;opacity:0.8;background:rgba(0,0,0,0.1);border-radius:3px 3px 0 0;}.md-content > div{ padding:15px 40px 30px;margin:0;font-weight:300;font-size:14px;}.md-content > div p{ margin:0;padding:10px 0;}.md-content > div ul{ margin:0;padding:0 0 30px 20px;}.md-content > div ul li{ padding:5px 0;}.md-content button{ display:block;margin:0 auto;font-size:0.8em;} .md-effect-1 .md-content{ -webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);transform:scale(0.7);opacity:0;-webkit-transition:all 0.3s;-moz-transition:all 0.3s;-ms-transition:all 0.3s;transition:all 0.3s;}.md-show.md-effect-1 .md-content{ -webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:1;}.md-content > .closer{ font-size:18px;position:absolute;right:0;top:0;font-size:24px;padding:4px;}@media only screen and (max-width:1040px){ #viewer{ width:50%;margin-left:25%;}#divider, #divider.show{ display:none;}}@media only screen and (max-width:900px){ #viewer{ width:60%;margin-left:20%;}#prev{ left:20px;}#next{ right:20px;}}@media only screen and (max-width:550px){ #viewer{ width:80%;margin-left:10%;}#prev{ left:0;}#next{ right:0;}.arrow{ height:100%;top:45px;width:10%;text-indent:-10000px;}#main{ -webkit-transform:translate(0, 0);-moz-transform:translate(0, 0);-ms-transform:translate(0, 0);-webkit-transition:-webkit-transform .3s;-moz-transition:-moz-transform .3s;-ms-transition:-moz-transform .3s;}#main.closed{ -webkit-transform:translate(260px, 0);-moz-transform:translate(260px, 0);-ms-transform:translate(260px, 0);}#titlebar{ }#metainfo{ font-size:10px;}#tocView{ width:260px;}#tocView li{ font-size:12px;}#tocView > ul{ padding-left:10px;}} @media only screen and (min-device-width:481px) and (max-device-width:1024px) and (orientation:portrait){ #viewer iframe{ width:460px;height:740px;}} @media only screen and (min-device-width:481px) and (max-device-width:1024px) and (orientation:landscape){ #viewer iframe{ width:460px;height:415px;}} @media only screen and (max-device-width:480px) and (orientation:portrait){ #viewer{ width:256px;height:432px;}#viewer iframe{ width:256px;height:432px;}} @media only screen and (max-device-width:480px) and (orientation:landscape){ #viewer iframe{ width:256px;height:124px;}}[class^="icon-"]:before, [class*=" icon-"]:before{ font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center; font-variant:normal;text-transform:none; font-size:112%;}.icon-search:before{ content:\'\\e807\';} .icon-resize-full-1:before{ content:\'\\e804\';} .icon-cancel-circled2:before{ content:\'\\e80f\';} .icon-link:before{ content:\'\\e80d\';} .icon-bookmark:before{ content:\'\\e805\';} .icon-bookmark-empty:before{ content:\'\\e806\';} .icon-download-cloud:before{ content:\'\\e811\';} .icon-edit:before{ content:\'\\e814\';} .icon-menu:before{ content:\'\\e802\';} .icon-cog:before{ content:\'\\e813\';} .icon-resize-full:before{ content:\'\\e812\';} .icon-cancel-circled:before{ content:\'\\e80e\';} .icon-up-dir:before{ content:\'\\e80c\';} .icon-right-dir:before{ content:\'\\e80b\';} .icon-angle-right:before{ content:\'\\e809\';} .icon-angle-down:before{ content:\'\\e80a\';} .icon-right:before{ content:\'\\e815\';} .icon-list-1:before{ content:\'\\e803\';} .icon-list-numbered:before{ content:\'\\e801\';} .icon-columns:before{ content:\'\\e810\';} .icon-list:before{ content:\'\\e800\';} .icon-resize-small:before{ content:\'\\e808\';} </style> <style> .popup{ background:#eee;border:1px solid #ccc;padding:10px;border-radius:8px;box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);position:fixed;max-width:300px;font-size:12px;display:none;margin-left:2px;margin-top:30px;}.popup.above{ margin-top:-10px;}.popup.left{ margin-left:-20px;}.popup.right{ margin-left:40px;}.pop_content{ max-height:225px;overflow-y:auto;}.pop_content > p{ margin-top:0;} .popup:before{ position:absolute;display:inline-block;border-bottom:10px solid #eee;border-right:10px solid transparent;border-left:10px solid transparent;border-bottom-color:rgba(0, 0, 0, 0.2);left:50%;top:-10px;margin-left:-6px;content:\'\';}.popup:after{ position:absolute;display:inline-block;border-bottom:9px solid #eee;border-right:9px solid transparent;border-left:9px solid transparent;left:50%;top:-9px;margin-left:-5px;content:\'\';} .popup.above:before{ border-bottom:none;border-top:10px solid #eee;border-top-color:rgba(0, 0, 0, 0.2);top:100%;}.popup.above:after{ border-bottom:none;border-top:9px solid #eee;top:100%;}.popup.left:before, .popup.left:after{ left:20px;}.popup.right:before, .popup.right:after{ left:auto;right:20px;}.popup.show, .popup.on{ display:block;}</style> <script>/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */\n!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}k.fn=k.prototype={jquery:f,constructor:k,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(n){return this.pushStack(k.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},k.extend=k.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(k.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||k.isPlainObject(n)?n:{},i=!1,a[t]=k.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},k.extend({expando:"jQuery"+(f+Math.random()).replace(/\\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){b(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(d(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(p,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?k.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(d(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g.apply([],a)},guid:1,support:y}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=t[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var h=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,k="sizzle"+1*new Date,m=n.document,S=0,r=0,p=ue(),x=ue(),N=ue(),A=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\\\x20\\\\t\\\\r\\\\n\\\\f]",I="(?:\\\\\\\\.|[\\\\w-]|[^\\0-\\\\xa0])+",W="\\\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:\'((?:\\\\\\\\.|[^\\\\\\\\\'])*)\'|\\"((?:\\\\\\\\.|[^\\\\\\\\\\"])*)\\"|("+I+"))|)"+M+"*\\\\]",$=":("+I+")(?:\\\\(((\'((?:\\\\\\\\.|[^\\\\\\\\\'])*)\'|\\"((?:\\\\\\\\.|[^\\\\\\\\\\"])*)\\")|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|"+W+")*)|.*)\\\\)|)",F=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\("+M+"*(even|odd|(([+-]|)(\\\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\\\d+)|))"+M+"*\\\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\("+M+"*((?:-\\\\d)?\\\\d*)"+M+"*\\\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\\d$/i,K=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\\\\\([\\\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,ie=function(e,t){return t?"\\0"===e?"\\ufffd":e.slice(0,-1)+"\\\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="<a id=\'"+k+"\'></a><select id=\'"+k+"-\\r\\\\\' msallowcapture=\'\'><option selected=\'\'></option></select>",e.querySelectorAll("[msallowcapture^=\'\']").length&&v.push("[*^$]="+M+"*(?:\'\'|\\"\\")"),e.querySelectorAll("[selected]").length||v.push("\\\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="<a href=\'\' disabled=\'disabled\'></a><select disabled=\'disabled\'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!=\'\']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!==C&&T(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&j.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(D),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(F," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var y="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==m?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(y){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[k]||(a[k]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===S&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[S,s,d];break}}else if(p&&(d=s=(r=(i=(o=(a=e)[k]||(a[k]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===S&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[k]||(a[k]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[S,d]),a===e))break;return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[k]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace(B,"$1"));return s[k]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[S,p];if(n){while(e=e[u])if((1===e.nodeType||f)&&s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[k]||(e[k]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===S&&r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(d,h,g,v,y,e){return v&&!v[k]&&(v=Ce(v)),y&&!y[k]&&(y=Ce(y,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?y||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v){i=Te(p,u),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a))}if(e){if(y||d){if(y){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}o=p.length;while(o--)(a=p[o])&&-1<(i=y?P(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=Te(p===t?p.splice(l,p.length):p),y?y(null,t,p,r):H.apply(t,p)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),l=be(function(e){return-1<P(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[k]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(B,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&xe(e))}c.push(t)}return we(c)}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=z.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(B," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):x(e,s).slice(0)},f=se.compile=function(e,t){var n,v,y,m,x,r,i=[],o=[],a=N[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[k]?i.push(a):o.push(a);(a=N(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=S+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t===C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument===C||(T(o),n=!E);while(s=v[a++])if(s(o,t||C,n)){r.push(o);break}i&&(S=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&se.uniqueSort(r)}return i&&(S=h,w=p),c},m?le(r):r))).selector=e}return a},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ye(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},d.sortStable=k.split("").sort(D).join("")===k,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href=\'#\'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(C);k.find=h,k.expr=h.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=h.uniqueSort,k.text=h.getText,k.isXMLDoc=h.isXML,k.contains=h.contains,k.escapeSelector=h.escape;var T=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&k(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=k.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1<i.call(n,e)!==r}):k.filter(n,e,r)}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,function(e){return 1===e.nodeType}))},k.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(k(e).filter(function(){for(t=0;t<r;t++)if(k.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)k.find(e,i[t],n);return 1<r?k.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&N.test(e)?k(e):e||[],!1).length}});var q,L=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&k(e);if(!N.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&k.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?k.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(k(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return"undefined"!=typeof e.contentDocument?e.contentDocument:(A(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},function(r,i){k.fn[r]=function(e,t){var n=k.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=k.filter(t,n)),1<this.length&&(O[r]||k.uniqueSort(n),H.test(r)&&n.reverse()),this.pushStack(n)}});var R=/[^\\x20\\t\\r\\n\\f]+/g;function M(e){return e}function I(e){throw e}function W(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},k.each(e.match(R)||[],function(e,t){n[t]=!0}),n):k.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){k.each(e,function(e,t){m(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return k.each(arguments,function(e,t){var n;while(-1<(n=k.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<k.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},k.extend({Deferred:function(e){var o=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return k.Deferred(function(r){k.each(o,function(e,t){var n=m(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(t)?s?t.call(e,l(u,o,M,s),l(u,o,I,s)):(u++,t.call(e,l(u,o,M,s),l(u,o,I,s),l(u,o,M,o.notifyWith))):(a!==M&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==I&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(k.Deferred.getStackHook&&(t.stackTrace=k.Deferred.getStackHook()),C.setTimeout(t))}}return k.Deferred(function(e){o[0][3].add(l(0,e,m(r)?r:M,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:M)),o[2][3].add(l(0,e,m(n)?n:I))}).promise()},promise:function(e){return null!=e?k.extend(e,a):a}},s={};return k.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=k.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(W(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&i[t].then)))return o.then();while(t--)W(i[t],a(t),o.reject);return o.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&$.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){C.setTimeout(function(){throw e})};var F=k.Deferred();function B(){E.removeEventListener("DOMContentLoaded",B),C.removeEventListener("load",B),k.ready()}k.fn.ready=function(e){return F.then(e)["catch"](function(e){k.readyException(e)}),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0)!==e&&0<--k.readyWait||F.resolveWith(E,[k])}}),k.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(k.ready):(E.addEventListener("DOMContentLoaded",B),C.addEventListener("load",B));var _=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)_(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(k(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},z=/^-ms-/,U=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function V(e){return e.replace(z,"ms-").replace(U,X)}var G=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Y(){this.expando=k.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(e){var t=e[this.expando];return t||(t={},G(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[V(t)]=n;else for(r in t)i[V(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][V(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(V):(t=V(t))in r?[t]:t.match(R)||[]).length;while(n--)delete r[t[n]]}(void 0===t||k.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var Q=new Y,J=new Y,K=/^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,Z=/[A-Z]/g;function ee(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Z,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:K.test(i)?JSON.parse(i):i)}catch(e){}J.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),k.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=J.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=V(r.slice(5)),ee(o,r,i[r]));Q.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){J.set(this,n)}):_(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=J.get(o,n))?t:void 0!==(t=ee(o,n))?t:void 0;this.each(function(){J.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,i=n.shift(),o=k._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){k.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:k.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),k.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?k.queue(this[0],t):void 0===n?this:this.each(function(){var e=k.queue(this,t,n);k._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&k.dequeue(this,t)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=k.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Q.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var te=/[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source,ne=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ie=E.documentElement,oe=function(e){return k.contains(e.ownerDocument,e)},ae={composed:!0};ie.getRootNode&&(oe=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(ae)===e.ownerDocument});var se=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===k.css(e,"display")},ue=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};function le(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return k.css(e,t,"")},u=s(),l=n&&n[3]||(k.cssNumber[t]?"":"px"),c=e.nodeType&&(k.cssNumber[t]||"px"!==l&&+u)&&ne.exec(k.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)k.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,k.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ce={};function fe(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Q.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&se(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ce[s])||(o=a.body.appendChild(a.createElement(s)),u=k.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ce[s]=u)))):"none"!==n&&(l[c]="none",Q.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}k.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){se(this)?k(this).show():k(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i,he=/^$|^module$|\\/(?:java|ecma)script/i,ge={option:[1,"<select multiple=\'multiple\'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;var me,xe,be=/<|&#?\\w+;/;function we(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===w(o))k.merge(p,o.nodeType?[o]:o);else if(be.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+k.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;k.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<k.inArray(o,r))i&&i.push(o);else if(l=oe(o),a=ve(f.appendChild(o),"script"),l&&ye(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}me=E.createDocumentFragment().appendChild(E.createElement("div")),(xe=E.createElement("input")).setAttribute("type","radio"),xe.setAttribute("checked","checked"),xe.setAttribute("name","t"),me.appendChild(xe),y.checkClone=me.cloneNode(!0).cloneNode(!0).lastChild.checked,me.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\\\.)"+h.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){a=k.event.handlers.call(this,s,l),t=0;while((i=a[t++])&&!s.isPropagationStopped()){s.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!s.isImmediatePropagationStopped())s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((k.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<k(i,this).index(l):k.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&De(t,"click",ke),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&De(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Q.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Te.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ce.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(e,t){k.event.special[e]={setup:function(){return De(this,e,Ne),!1},trigger:function(){return De(this,e),!0},delegateType:t}}),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){k.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||k.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),k.fn.extend({on:function(e,t,n,r){return Ae(this,e,t,n,r)},one:function(e,t,n,r){return Ae(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,k(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each(function(){k.event.remove(this,e,n,t)})}});var je=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,qe=/<script|<style|<link/i,Le=/checked\\s*(?:[^=]|=\\s*.checked.)/i,He=/^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<r;n++)k.event.add(t,i,l[i][n]);J.hasData(e)&&(s=J.access(e),u=k.extend({},s),J.set(t,u))}}function Ie(n,r,i,o){r=g.apply([],r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1<f&&"string"==typeof d&&!y.checkClone&&Le.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),Ie(t,r,i,o)});if(f&&(t=(e=we(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=k.map(ve(e,"script"),Pe)).length;c<f;c++)u=e,c!==p&&(u=k.clone(u,!0,!0),s&&k.merge(a,ve(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,k.map(a,Re),c=0;c<s;c++)u=a[c],he.test(u.type||"")&&!Q.access(u,"globalEval")&&k.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?k._evalUrl&&!u.noModule&&k._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")}):b(u.textContent.replace(He,""),u,l))}return n}function We(e,t,n){for(var r,i=t?k.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||k.cleanData(ve(r)),r.parentNode&&(n&&oe(r)&&ye(ve(r,"script")),r.parentNode.removeChild(r));return e}k.extend({htmlPrefilter:function(e){return e.replace(je,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ve(e),a=a||ve(c),r=0,i=o.length;r<i;r++)Me(o[r],a[r]);else Me(e,c);return 0<(a=ve(c,"script")).length&&ye(a,!f&&ve(e,"script")),c},cleanData:function(e){for(var t,n,r,i=k.event.special,o=0;void 0!==(n=e[o]);o++)if(G(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),k.fn.extend({detach:function(e){return We(this,e,!0)},remove:function(e){return We(this,e)},text:function(e){return _(this,function(e){return void 0===e?k.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ie(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)})},prepend:function(){return Ie(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ie(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ie(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return k.clone(this,e,t)})},html:function(e){return _(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!qe.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Ie(this,arguments,function(e){var t=this.parentNode;k.inArray(this,n)<0&&(k.cleanData(ve(this)),t&&t.replaceChild(e,this))},n)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){k.fn[e]=function(e){for(var t,n=[],r=k(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),k(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var $e=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),Fe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},Be=new RegExp(re.join("|"),"i");function _e(e,t,n){var r,i,o,a,s=e.style;return(n=n||Fe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||oe(e)||(a=k.style(e,t)),!y.pixelBoxStyles()&&$e.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){s.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(s).appendChild(u);var e=C.getComputedStyle(u);n="1%"!==e.top,a=12===t(e.marginLeft),u.style.right="60%",o=36===t(e.right),r=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),ie.removeChild(s),u=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s=E.createElement("div"),u=E.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===u.style.backgroundClip,k.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),a},scrollboxSize:function(){return e(),i}}))}();var Ue=["Webkit","Moz","ms"],Xe=E.createElement("div").style,Ve={};function Ge(e){var t=k.cssProps[e]||Ve[e];return t||(e in Xe?e:Ve[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Ue.length;while(n--)if((e=Ue[n]+t)in Xe)return e}(e)||e)}var Ye=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Je={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function Ze(e,t,n){var r=ne.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=k.css(e,n+re[a],!0,i)),r?("content"===n&&(u-=k.css(e,"padding"+re[a],!0,i)),"margin"!==n&&(u-=k.css(e,"border"+re[a]+"Width",!0,i))):(u+=k.css(e,"padding"+re[a],!0,i),"padding"!==n?u+=k.css(e,"border"+re[a]+"Width",!0,i):s+=k.css(e,"border"+re[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function tt(e,t,n){var r=Fe(e),i=(!y.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,r),o=i,a=_e(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if($e.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&i||"auto"===a||!parseFloat(a)&&"inline"===k.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===k.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+et(e,t,n||(i?"border":"content"),o,r,a)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=_e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=V(t),u=Qe.test(t),l=e.style;if(u||(t=Ge(s)),a=k.cssHooks[t]||k.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=ne.exec(n))&&i[1]&&(n=le(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(k.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=V(t);return Qe.test(t)||(t=Ge(s)),(a=k.cssHooks[t]||k.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=_e(e,t,r)),"normal"===i&&t in Ke&&(i=Ke[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),k.each(["height","width"],function(e,u){k.cssHooks[u]={get:function(e,t,n){if(t)return!Ye.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,u,n):ue(e,Je,function(){return tt(e,u,n)})},set:function(e,t,n){var r,i=Fe(e),o=!y.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===k.css(e,"boxSizing",!1,i),s=n?et(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-et(e,u,"border",!1,i)-.5)),s&&(r=ne.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=k.css(e,u)),Ze(0,t,s)}}}),k.cssHooks.marginLeft=ze(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(_e(e,"marginLeft"))||e.getBoundingClientRect().left-ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(i,o){k.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+re[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(k.cssHooks[i+o].set=Ze)}),k.fn.extend({css:function(e,t){return _(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Fe(e),i=t.length;a<i;a++)o[t[a]]=k.css(e,t[a],!1,r);return o}return void 0!==n?k.style(e,t,n):k.css(e,t)},e,t,1<arguments.length)}}),((k.Tween=nt).prototype={constructor:nt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(k.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}}).init.prototype=nt.prototype,(nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=nt.prototype.init,k.fx.step={};var rt,it,ot,at,st=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function lt(){it&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(lt):C.setTimeout(lt,k.fx.interval),k.fx.tick())}function ct(){return C.setTimeout(function(){rt=void 0}),rt=Date.now()}function ft(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=re[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function pt(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function dt(o,e,t){var n,a,r=0,i=dt.prefilters.length,s=k.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=rt||ct(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},t),originalProperties:e,originalOptions:t,startTime:rt||ct(),duration:t.duration,tweens:[],createTween:function(e,t){var n=k.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=V(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=k.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=dt.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(k._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return k.map(c,pt,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),k.fx.timer(k.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}k.Animation=k.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ne.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(R);for(var n,r=0,i=e.length;r<i;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&se(e),v=Q.get(e,"fxshow");for(r in n.queue||(null==(a=k._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,k.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],st.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||k.style(e,r)}if((u=!k.isEmptyObject(t))||!k.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Q.get(e,"display")),"none"===(c=k.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=k.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===k.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=Q.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&fe([e],!0),p.done(function(){for(r in g||fe([e]),Q.remove(e,"fxshow"),d)k.style(e,r,d[r])})),u=pt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),k.speed=function(e,t,n){var r=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return k.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in k.fx.speeds?r.duration=k.fx.speeds[r.duration]:r.duration=k.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&k.dequeue(this,r.queue)},r},k.fn.extend({fadeTo:function(e,t,n,r){return this.filter(se).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=k.isEmptyObject(t),o=k.speed(e,n,r),a=function(){var e=dt(this,k.extend({},t),o);(i||Q.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=k.timers,r=Q.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&ut.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||k.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Q.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=k.timers,o=n?n.length:0;for(t.finish=!0,k.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),k.each(["toggle","show","hide"],function(e,r){var i=k.fn[r];k.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(ft(r,!0),e,t,n)}}),k.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){k.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),rt=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){it||(it=!0,lt())},k.fx.stop=function(){it=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(r,e){return r=k.fx&&k.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},ot=E.createElement("input"),at=E.createElement("select").appendChild(E.createElement("option")),ot.type="checkbox",y.checkOn=""!==ot.value,y.optSelected=at.selected,(ot=E.createElement("input")).value="t",ot.type="radio",y.radioValue="t"===ot.value;var ht,gt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return _(this,k.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})}}),k.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?k.prop(e,t,n):(1===o&&k.isXMLDoc(e)||(i=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=k.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(R);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\\w+/g),function(e,t){var a=gt[t]||k.find.attr;gt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=gt[o],gt[o]=r,r=null!=a(e,t,n)?o:null,gt[o]=i),r}});var vt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function mt(e){return(e.match(R)||[]).join(" ")}function xt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}k.fn.extend({prop:function(e,t){return _(this,k.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[k.propFix[e]||e]})}}),k.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(e)||(t=k.propFix[t]||t,i=k.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){k(this).addClass(t.call(this,e,xt(this)))});if((e=bt(t)).length)while(n=this[u++])if(i=xt(n),r=1===n.nodeType&&" "+mt(i)+" "){a=0;while(o=e[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=mt(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){k(this).removeClass(t.call(this,e,xt(this)))});if(!arguments.length)return this.attr("class","");if((e=bt(t)).length)while(n=this[u++])if(i=xt(n),r=1===n.nodeType&&" "+mt(i)+" "){a=0;while(o=e[a++])while(-1<r.indexOf(" "+o+" "))r=r.replace(" "+o+" "," ");i!==(s=mt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):m(i)?this.each(function(e){k(this).toggleClass(i.call(this,e,xt(this),t),t)}):this.each(function(){var e,t,n,r;if(a){t=0,n=k(this),r=bt(i);while(e=r[t++])n.hasClass(e)?n.removeClass(e):n.addClass(e)}else void 0!==i&&"boolean"!==o||((e=xt(this))&&Q.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+mt(xt(n))+" ").indexOf(t))return!0;return!1}});var wt=/\\r/g;k.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,k(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=k.map(t,function(e){return null==e?"":e+""})),(r=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=k.valHooks[t.type]||k.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(wt,""):null==e?"":e:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:mt(k.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=k(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=k.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<k.inArray(k.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<k.inArray(k(e).val(),t)}},y.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in C;var Tt=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=v.call(e,"type")?e.type:e,h=v.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!Tt.test(d+k.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[k.expando]?e:new k.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\\\.)"+h.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),c=k.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,Tt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Q.get(o,"events")||{})[e.type]&&Q.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&G(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!G(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),k.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Ct),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Ct),k.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),y.focusin||k.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){k.event.simulate(r,e.target,k.event.fix(e))};k.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=Q.access(e,r);t||e.addEventListener(n,i,!0),Q.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=Q.access(e,r)-1;t?Q.access(e,r,t):(e.removeEventListener(n,i,!0),Q.remove(e,r))}}});var Et=C.location,kt=Date.now(),St=/\\?/;k.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+e),t};var Nt=/\\[\\]$/,At=/\\r?\\n/g,Dt=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;function qt(n,e,r,i){var t;if(Array.isArray(e))k.each(e,function(e,t){r||Nt.test(n)?i(n,t):qt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)qt(n+"["+t+"]",e[t],r,i)}k.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,function(){i(this.name,this.value)});else for(n in e)qt(n,e[n],t,i);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&jt.test(this.nodeName)&&!Dt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,function(e){return{name:t.name,value:e.replace(At,"\\r\\n")}}):{name:t.name,value:n.replace(At,"\\r\\n")}}).get()}});var Lt=/%20/g,Ht=/#.*$/,Ot=/([?&])_=[^&]*/,Pt=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Mt=/^\\/\\//,It={},Wt={},$t="*/".concat("*"),Ft=E.createElement("a");function Bt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(R)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function _t(t,i,o,a){var s={},u=t===Wt;function l(e){var r;return s[e]=!0,k.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function zt(e,t){var n,r,i=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&k.extend(!0,e,r),e}Ft.href=Et.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,k.ajaxSettings),t):zt(k.ajaxSettings,e)},ajaxPrefilter:Bt(It),ajaxTransport:Bt(Wt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=k.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?k(y):k.event,x=k.Deferred(),b=k.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Pt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace(Mt,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(R)||[""],null==v.crossDomain){r=E.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Ft.protocol+"//"+Ft.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=k.param(v.data,v.traditional)),_t(It,v,t,T),h)return T;for(i in(g=k.event&&v.global)&&0==k.active++&&k.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Rt.test(v.type),f=v.url.replace(Ht,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Lt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(St.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(Ot,"$1"),o=(St.test(f)?"&":"?")+"_="+kt+++o),v.url=f+o),v.ifModified&&(k.lastModified[f]&&T.setRequestHeader("If-Modified-Since",k.lastModified[f]),k.etag[f]&&T.setRequestHeader("If-None-Match",k.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+$t+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=_t(Wt,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(k.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(k.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--k.active||k.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],function(e,i){k[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),k.ajax(k.extend({url:e,type:i,dataType:r,data:t,success:n},k.isPlainObject(e)&&e))}}),k._evalUrl=function(e,t){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return m(n)?this.each(function(e){k(this).wrapInner(n.call(this,e))}):this.each(function(){var e=k(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=m(t);return this.each(function(e){k(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Xt=k.ajaxSettings.xhr();y.cors=!!Xt&&"withCredentials"in Xt,y.ajax=Xt=!!Xt,k.ajaxTransport(function(i){var o,a;if(y.cors||Xt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Ut[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),k.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),k.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=k("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\\?(?=&|$)|\\?\\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=mt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&k.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?k("<div>").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),k.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),k.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||k.guid++,i},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=A,k.isFunction=m,k.isWindow=x,k.camelCase=V,k.type=w,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return k});var Qt=C.jQuery,Jt=C.$;return k.noConflict=function(e){return C.$===k&&(C.$=Jt),e&&C.jQuery===k&&(C.jQuery=Qt),k},e||(C.jQuery=C.$=k),k});\n<\/script> <script>/*!\n\nJSZip v3.1.5 - A JavaScript class for generating and reading zip files\n<http://stuartk.com/jszip>\n\n(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>\nDual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.\n\nJSZip uses the library pako released under the MIT license :\nhttps://github.com/nodeca/pako/blob/master/LICENSE\n*/\n!function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.JSZip=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module \'"+g+"\'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){"use strict";var d=a("./utils"),e=a("./support"),f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";c.encode=function(a){for(var b,c,e,g,h,i,j,k=[],l=0,m=a.length,n=m,o="string"!==d.getTypeOf(a);l<a.length;)n=m-l,o?(b=a[l++],c=l<m?a[l++]:0,e=l<m?a[l++]:0):(b=a.charCodeAt(l++),c=l<m?a.charCodeAt(l++):0,e=l<m?a.charCodeAt(l++):0),g=b>>2,h=(3&b)<<4|c>>4,i=n>1?(15&c)<<2|e>>6:64,j=n>2?63&e:64,k.push(f.charAt(g)+f.charAt(h)+f.charAt(i)+f.charAt(j));return k.join("")},c.decode=function(a){var b,c,d,g,h,i,j,k=0,l=0,m="data:";if(a.substr(0,m.length)===m)throw new Error("Invalid base64 input, it looks like a data url.");a=a.replace(/[^A-Za-z0-9\\+\\/\\=]/g,"");var n=3*a.length/4;if(a.charAt(a.length-1)===f.charAt(64)&&n--,a.charAt(a.length-2)===f.charAt(64)&&n--,n%1!==0)throw new Error("Invalid base64 input, bad content length.");var o;for(o=e.uint8array?new Uint8Array(0|n):new Array(0|n);k<a.length;)g=f.indexOf(a.charAt(k++)),h=f.indexOf(a.charAt(k++)),i=f.indexOf(a.charAt(k++)),j=f.indexOf(a.charAt(k++)),b=g<<2|h>>4,c=(15&h)<<4|i>>2,d=(3&i)<<6|j,o[l++]=b,64!==i&&(o[l++]=c),64!==j&&(o[l++]=d);return o}},{"./support":30,"./utils":32}],2:[function(a,b,c){"use strict";function d(a,b,c,d,e){this.compressedSize=a,this.uncompressedSize=b,this.crc32=c,this.compression=d,this.compressedContent=e}var e=a("./external"),f=a("./stream/DataWorker"),g=a("./stream/DataLengthProbe"),h=a("./stream/Crc32Probe"),g=a("./stream/DataLengthProbe");d.prototype={getContentWorker:function(){var a=new f(e.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new g("data_length")),b=this;return a.on("end",function(){if(this.streamInfo.data_length!==b.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),a},getCompressedWorker:function(){return new f(e.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},d.createWorkerFrom=function(a,b,c){return a.pipe(new h).pipe(new g("uncompressedSize")).pipe(b.compressWorker(c)).pipe(new g("compressedSize")).withStreamInfo("compression",b)},b.exports=d},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(a,b,c){"use strict";var d=a("./stream/GenericWorker");c.STORE={magic:"\\0\\0",compressWorker:function(a){return new d("STORE compression")},uncompressWorker:function(){return new d("STORE decompression")}},c.DEFLATE=a("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(a,b,c){"use strict";function d(){for(var a,b=[],c=0;c<256;c++){a=c;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;b[c]=a}return b}function e(a,b,c,d){var e=h,f=d+c;a^=-1;for(var g=d;g<f;g++)a=a>>>8^e[255&(a^b[g])];return a^-1}function f(a,b,c,d){var e=h,f=d+c;a^=-1;for(var g=d;g<f;g++)a=a>>>8^e[255&(a^b.charCodeAt(g))];return a^-1}var g=a("./utils"),h=d();b.exports=function(a,b){if("undefined"==typeof a||!a.length)return 0;var c="string"!==g.getTypeOf(a);return c?e(0|b,a,a.length,0):f(0|b,a,a.length,0)}},{"./utils":32}],5:[function(a,b,c){"use strict";c.base64=!1,c.binary=!1,c.dir=!1,c.createFolders=!0,c.date=null,c.compression=null,c.compressionOptions=null,c.comment=null,c.unixPermissions=null,c.dosPermissions=null},{}],6:[function(a,b,c){"use strict";var d=null;d="undefined"!=typeof Promise?Promise:a("lie"),b.exports={Promise:d}},{lie:58}],7:[function(a,b,c){"use strict";function d(a,b){h.call(this,"FlateWorker/"+a),this._pako=null,this._pakoAction=a,this._pakoOptions=b,this.meta={}}var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,f=a("pako"),g=a("./utils"),h=a("./stream/GenericWorker"),i=e?"uint8array":"array";c.magic="\\b\\0",g.inherits(d,h),d.prototype.processChunk=function(a){this.meta=a.meta,null===this._pako&&this._createPako(),this._pako.push(g.transformTo(i,a.data),!1)},d.prototype.flush=function(){h.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},d.prototype.cleanUp=function(){h.prototype.cleanUp.call(this),this._pako=null},d.prototype._createPako=function(){this._pako=new f[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var a=this;this._pako.onData=function(b){a.push({data:b,meta:a.meta})}},c.compressWorker=function(a){return new d("Deflate",a)},c.uncompressWorker=function(){return new d("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:59}],8:[function(a,b,c){"use strict";function d(a,b,c,d){f.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=b,this.zipPlatform=c,this.encodeFileName=d,this.streamFiles=a,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}var e=a("../utils"),f=a("../stream/GenericWorker"),g=a("../utf8"),h=a("../crc32"),i=a("../signature"),j=function(a,b){var c,d="";for(c=0;c<b;c++)d+=String.fromCharCode(255&a),a>>>=8;return d},k=function(a,b){var c=a;return a||(c=b?16893:33204),(65535&c)<<16},l=function(a,b){return 63&(a||0)},m=function(a,b,c,d,f,m){var n,o,p=a.file,q=a.compression,r=m!==g.utf8encode,s=e.transformTo("string",m(p.name)),t=e.transformTo("string",g.utf8encode(p.name)),u=p.comment,v=e.transformTo("string",m(u)),w=e.transformTo("string",g.utf8encode(u)),x=t.length!==p.name.length,y=w.length!==u.length,z="",A="",B="",C=p.dir,D=p.date,E={crc32:0,compressedSize:0,uncompressedSize:0};b&&!c||(E.crc32=a.crc32,E.compressedSize=a.compressedSize,E.uncompressedSize=a.uncompressedSize);var F=0;b&&(F|=8),r||!x&&!y||(F|=2048);var G=0,H=0;C&&(G|=16),"UNIX"===f?(H=798,G|=k(p.unixPermissions,C)):(H=20,G|=l(p.dosPermissions,C)),n=D.getUTCHours(),n<<=6,n|=D.getUTCMinutes(),n<<=5,n|=D.getUTCSeconds()/2,o=D.getUTCFullYear()-1980,o<<=4,o|=D.getUTCMonth()+1,o<<=5,o|=D.getUTCDate(),x&&(A=j(1,1)+j(h(s),4)+t,z+="up"+j(A.length,2)+A),y&&(B=j(1,1)+j(h(v),4)+w,z+="uc"+j(B.length,2)+B);var I="";I+="\\n\\0",I+=j(F,2),I+=q.magic,I+=j(n,2),I+=j(o,2),I+=j(E.crc32,4),I+=j(E.compressedSize,4),I+=j(E.uncompressedSize,4),I+=j(s.length,2),I+=j(z.length,2);var J=i.LOCAL_FILE_HEADER+I+s+z,K=i.CENTRAL_FILE_HEADER+j(H,2)+I+j(v.length,2)+"\\0\\0\\0\\0"+j(G,4)+j(d,4)+s+z+v;return{fileRecord:J,dirRecord:K}},n=function(a,b,c,d,f){var g="",h=e.transformTo("string",f(d));return g=i.CENTRAL_DIRECTORY_END+"\\0\\0\\0\\0"+j(a,2)+j(a,2)+j(b,4)+j(c,4)+j(h.length,2)+h},o=function(a){var b="";return b=i.DATA_DESCRIPTOR+j(a.crc32,4)+j(a.compressedSize,4)+j(a.uncompressedSize,4)};e.inherits(d,f),d.prototype.push=function(a){var b=a.meta.percent||0,c=this.entriesCount,d=this._sources.length;this.accumulate?this.contentBuffer.push(a):(this.bytesWritten+=a.data.length,f.prototype.push.call(this,{data:a.data,meta:{currentFile:this.currentFile,percent:c?(b+100*(c-d-1))/c:100}}))},d.prototype.openedSource=function(a){this.currentSourceOffset=this.bytesWritten,this.currentFile=a.file.name;var b=this.streamFiles&&!a.file.dir;if(b){var c=m(a,b,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:c.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(a){this.accumulate=!1;var b=this.streamFiles&&!a.file.dir,c=m(a,b,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(c.dirRecord),b)this.push({data:o(a),meta:{percent:100}});else for(this.push({data:c.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var a=this.bytesWritten,b=0;b<this.dirRecords.length;b++)this.push({data:this.dirRecords[b],meta:{percent:100}});var c=this.bytesWritten-a,d=n(this.dirRecords.length,c,a,this.zipComment,this.encodeFileName);this.push({data:d,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(a){this._sources.push(a);var b=this;return a.on("data",function(a){b.processChunk(a)}),a.on("end",function(){b.closedSource(b.previous.streamInfo),b._sources.length?b.prepareNextSource():b.end()}),a.on("error",function(a){b.error(a)}),this},d.prototype.resume=function(){return!!f.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(a){var b=this._sources;if(!f.prototype.error.call(this,a))return!1;for(var c=0;c<b.length;c++)try{b[c].error(a)}catch(a){}return!0},d.prototype.lock=function(){f.prototype.lock.call(this);for(var a=this._sources,b=0;b<a.length;b++)a[b].lock()},b.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(a,b,c){"use strict";var d=a("../compressions"),e=a("./ZipFileWorker"),f=function(a,b){var c=a||b,e=d[c];if(!e)throw new Error(c+" is not a valid compression method !");return e};c.generateWorker=function(a,b,c){var d=new e(b.streamFiles,c,b.platform,b.encodeFileName),g=0;try{a.forEach(function(a,c){g++;var e=f(c.options.compression,b.compression),h=c.options.compressionOptions||b.compressionOptions||{},i=c.dir,j=c.date;c._compressWorker(e,h).withStreamInfo("file",{name:a,dir:i,date:j,comment:c.comment||"",unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions}).pipe(d)}),d.entriesCount=g}catch(h){d.error(h)}return d}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(a,b,c){"use strict";function d(){if(!(this instanceof d))return new d;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var a=new d;for(var b in this)"function"!=typeof this[b]&&(a[b]=this[b]);return a}}d.prototype=a("./object"),d.prototype.loadAsync=a("./load"),d.support=a("./support"),d.defaults=a("./defaults"),d.version="3.1.5",d.loadAsync=function(a,b){return(new d).loadAsync(a,b)},d.external=a("./external"),b.exports=d},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(a,b,c){"use strict";function d(a){return new f.Promise(function(b,c){var d=a.decompressed.getContentWorker().pipe(new i);d.on("error",function(a){c(a)}).on("end",function(){d.streamInfo.crc32!==a.decompressed.crc32?c(new Error("Corrupted zip : CRC32 mismatch")):b()}).resume()})}var e=a("./utils"),f=a("./external"),g=a("./utf8"),e=a("./utils"),h=a("./zipEntries"),i=a("./stream/Crc32Probe"),j=a("./nodejsUtils");b.exports=function(a,b){var c=this;return b=e.extend(b||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:g.utf8decode}),j.isNode&&j.isStream(a)?f.Promise.reject(new Error("JSZip can\'t accept a stream when loading a zip file.")):e.prepareContent("the loaded zip file",a,!0,b.optimizedBinaryString,b.base64).then(function(a){var c=new h(b);return c.load(a),c}).then(function(a){var c=[f.Promise.resolve(a)],e=a.files;if(b.checkCRC32)for(var g=0;g<e.length;g++)c.push(d(e[g]));return f.Promise.all(c)}).then(function(a){for(var d=a.shift(),e=d.files,f=0;f<e.length;f++){var g=e[f];c.file(g.fileNameStr,g.decompressed,{binary:!0,optimizedBinaryString:!0,date:g.date,dir:g.dir,comment:g.fileCommentStr.length?g.fileCommentStr:null,unixPermissions:g.unixPermissions,dosPermissions:g.dosPermissions,createFolders:b.createFolders})}return d.zipComment.length&&(c.comment=d.zipComment),c})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(a,b,c){"use strict";function d(a,b){f.call(this,"Nodejs stream input adapter for "+a),this._upstreamEnded=!1,this._bindStream(b)}var e=a("../utils"),f=a("../stream/GenericWorker");e.inherits(d,f),d.prototype._bindStream=function(a){var b=this;this._stream=a,a.pause(),a.on("data",function(a){b.push({data:a,meta:{percent:0}})}).on("error",function(a){b.isPaused?this.generatedError=a:b.error(a)}).on("end",function(){b.isPaused?b._upstreamEnded=!0:b.end()})},d.prototype.pause=function(){return!!f.prototype.pause.call(this)&&(this._stream.pause(),!0)},d.prototype.resume=function(){return!!f.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},b.exports=d},{"../stream/GenericWorker":28,"../utils":32}],13:[function(a,b,c){"use strict";function d(a,b,c){e.call(this,b),this._helper=a;var d=this;a.on("data",function(a,b){d.push(a)||d._helper.pause(),c&&c(b)}).on("error",function(a){d.emit("error",a)}).on("end",function(){d.push(null)})}var e=a("readable-stream").Readable,f=a("../utils");f.inherits(d,e),d.prototype._read=function(){this._helper.resume()},b.exports=d},{"../utils":32,"readable-stream":16}],14:[function(a,b,c){"use strict";b.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(a,b){return new Buffer(a,b)},allocBuffer:function(a){return Buffer.alloc?Buffer.alloc(a):new Buffer(a)},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&"function"==typeof a.on&&"function"==typeof a.pause&&"function"==typeof a.resume}}},{}],15:[function(a,b,c){"use strict";function d(a){return"[object RegExp]"===Object.prototype.toString.call(a)}var e=a("./utf8"),f=a("./utils"),g=a("./stream/GenericWorker"),h=a("./stream/StreamHelper"),i=a("./defaults"),j=a("./compressedObject"),k=a("./zipObject"),l=a("./generate"),m=a("./nodejsUtils"),n=a("./nodejs/NodejsStreamInputAdapter"),o=function(a,b,c){var d,e=f.getTypeOf(b),h=f.extend(c||{},i);h.date=h.date||new Date,null!==h.compression&&(h.compression=h.compression.toUpperCase()),"string"==typeof h.unixPermissions&&(h.unixPermissions=parseInt(h.unixPermissions,8)),h.unixPermissions&&16384&h.unixPermissions&&(h.dir=!0),h.dosPermissions&&16&h.dosPermissions&&(h.dir=!0),h.dir&&(a=q(a)),h.createFolders&&(d=p(a))&&r.call(this,d,!0);var l="string"===e&&h.binary===!1&&h.base64===!1;c&&"undefined"!=typeof c.binary||(h.binary=!l);var o=b instanceof j&&0===b.uncompressedSize;(o||h.dir||!b||0===b.length)&&(h.base64=!1,h.binary=!0,b="",h.compression="STORE",e="string");var s=null;s=b instanceof j||b instanceof g?b:m.isNode&&m.isStream(b)?new n(a,b):f.prepareContent(a,b,h.binary,h.optimizedBinaryString,h.base64);var t=new k(a,s,h);this.files[a]=t},p=function(a){"/"===a.slice(-1)&&(a=a.substring(0,a.length-1));var b=a.lastIndexOf("/");return b>0?a.substring(0,b):""},q=function(a){return"/"!==a.slice(-1)&&(a+="/"),a},r=function(a,b){return b="undefined"!=typeof b?b:i.createFolders,a=q(a),this.files[a]||o.call(this,a,null,{dir:!0,createFolders:b}),this.files[a]},s={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(a){var b,c,d;for(b in this.files)this.files.hasOwnProperty(b)&&(d=this.files[b],c=b.slice(this.root.length,b.length),c&&b.slice(0,this.root.length)===this.root&&a(c,d))},filter:function(a){var b=[];return this.forEach(function(c,d){a(c,d)&&b.push(d)}),b},file:function(a,b,c){if(1===arguments.length){if(d(a)){var e=a;return this.filter(function(a,b){return!b.dir&&e.test(a)})}var f=this.files[this.root+a];return f&&!f.dir?f:null}return a=this.root+a,o.call(this,a,b,c),this},folder:function(a){if(!a)return this;if(d(a))return this.filter(function(b,c){return c.dir&&a.test(b)});var b=this.root+a,c=r.call(this,b),e=this.clone();return e.root=c.name,e},remove:function(a){a=this.root+a;var b=this.files[a];if(b||("/"!==a.slice(-1)&&(a+="/"),b=this.files[a]),b&&!b.dir)delete this.files[a];else for(var c=this.filter(function(b,c){return c.name.slice(0,a.length)===a}),d=0;d<c.length;d++)delete this.files[c[d].name];return this},generate:function(a){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(a){var b,c={};try{if(c=f.extend(a||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:e.utf8encode}),c.type=c.type.toLowerCase(),c.compression=c.compression.toUpperCase(),"binarystring"===c.type&&(c.type="string"),!c.type)throw new Error("No output type specified.");f.checkSupport(c.type),"darwin"!==c.platform&&"freebsd"!==c.platform&&"linux"!==c.platform&&"sunos"!==c.platform||(c.platform="UNIX"),"win32"===c.platform&&(c.platform="DOS");var d=c.comment||this.comment||"";b=l.generateWorker(this,c,d)}catch(i){b=new g("error"),b.error(i)}return new h(b,c.type||"string",c.mimeType)},generateAsync:function(a,b){return this.generateInternalStream(a).accumulate(b)},generateNodeStream:function(a,b){return a=a||{},a.type||(a.type="nodebuffer"),this.generateInternalStream(a).toNodejsStream(b)}};b.exports=s},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(a,b,c){b.exports=a("stream")},{stream:void 0}],17:[function(a,b,c){"use strict";function d(a){e.call(this,a);for(var b=0;b<this.data.length;b++)a[b]=255&a[b]}var e=a("./DataReader"),f=a("../utils");f.inherits(d,e),d.prototype.byteAt=function(a){return this.data[this.zero+a]},d.prototype.lastIndexOfSignature=function(a){for(var b=a.charCodeAt(0),c=a.charCodeAt(1),d=a.charCodeAt(2),e=a.charCodeAt(3),f=this.length-4;f>=0;--f)if(this.data[f]===b&&this.data[f+1]===c&&this.data[f+2]===d&&this.data[f+3]===e)return f-this.zero;return-1},d.prototype.readAndCheckSignature=function(a){var b=a.charCodeAt(0),c=a.charCodeAt(1),d=a.charCodeAt(2),e=a.charCodeAt(3),f=this.readData(4);return b===f[0]&&c===f[1]&&d===f[2]&&e===f[3]},d.prototype.readData=function(a){if(this.checkOffset(a),0===a)return[];var b=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},b.exports=d},{"../utils":32,"./DataReader":18}],18:[function(a,b,c){"use strict";function d(a){this.data=a,this.length=a.length,this.index=0,this.zero=0}var e=a("../utils");d.prototype={checkOffset:function(a){this.checkIndex(this.index+a)},checkIndex:function(a){if(this.length<this.zero+a||a<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+a+"). Corrupted zip ?")},setIndex:function(a){this.checkIndex(a),this.index=a},skip:function(a){this.setIndex(this.index+a)},byteAt:function(a){},readInt:function(a){var b,c=0;for(this.checkOffset(a),b=this.index+a-1;b>=this.index;b--)c=(c<<8)+this.byteAt(b);return this.index+=a,c},readString:function(a){return e.transformTo("string",this.readData(a))},readData:function(a){},lastIndexOfSignature:function(a){},readAndCheckSignature:function(a){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC((a>>25&127)+1980,(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},b.exports=d},{"../utils":32}],19:[function(a,b,c){"use strict";function d(a){e.call(this,a)}var e=a("./Uint8ArrayReader"),f=a("../utils");f.inherits(d,e),d.prototype.readData=function(a){this.checkOffset(a);var b=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},b.exports=d},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(a,b,c){"use strict";function d(a){e.call(this,a)}var e=a("./DataReader"),f=a("../utils");f.inherits(d,e),d.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},d.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},d.prototype.readAndCheckSignature=function(a){var b=this.readData(4);return a===b},d.prototype.readData=function(a){this.checkOffset(a);var b=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},b.exports=d},{"../utils":32,"./DataReader":18}],21:[function(a,b,c){"use strict";function d(a){e.call(this,a)}var e=a("./ArrayReader"),f=a("../utils");f.inherits(d,e),d.prototype.readData=function(a){if(this.checkOffset(a),0===a)return new Uint8Array(0);var b=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},b.exports=d},{"../utils":32,"./ArrayReader":17}],22:[function(a,b,c){"use strict";var d=a("../utils"),e=a("../support"),f=a("./ArrayReader"),g=a("./StringReader"),h=a("./NodeBufferReader"),i=a("./Uint8ArrayReader");b.exports=function(a){var b=d.getTypeOf(a);return d.checkSupport(b),"string"!==b||e.uint8array?"nodebuffer"===b?new h(a):e.uint8array?new i(d.transformTo("uint8array",a)):new f(d.transformTo("array",a)):new g(a)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(a,b,c){"use strict";c.LOCAL_FILE_HEADER="PK",c.CENTRAL_FILE_HEADER="PK",c.CENTRAL_DIRECTORY_END="PK",c.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",c.ZIP64_CENTRAL_DIRECTORY_END="PK",c.DATA_DESCRIPTOR="PK\\b"},{}],24:[function(a,b,c){"use strict";function d(a){e.call(this,"ConvertWorker to "+a),this.destType=a}var e=a("./GenericWorker"),f=a("../utils");f.inherits(d,e),d.prototype.processChunk=function(a){this.push({data:f.transformTo(this.destType,a.data),meta:a.meta})},b.exports=d},{"../utils":32,"./GenericWorker":28}],25:[function(a,b,c){"use strict";function d(){e.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}var e=a("./GenericWorker"),f=a("../crc32"),g=a("../utils");g.inherits(d,e),d.prototype.processChunk=function(a){this.streamInfo.crc32=f(a.data,this.streamInfo.crc32||0),this.push(a)},b.exports=d},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(a,b,c){"use strict";function d(a){f.call(this,"DataLengthProbe for "+a),this.propName=a,this.withStreamInfo(a,0)}var e=a("../utils"),f=a("./GenericWorker");e.inherits(d,f),d.prototype.processChunk=function(a){if(a){var b=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=b+a.data.length}f.prototype.processChunk.call(this,a)},b.exports=d},{"../utils":32,"./GenericWorker":28}],27:[function(a,b,c){"use strict";function d(a){f.call(this,"DataWorker");var b=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,a.then(function(a){b.dataIsReady=!0,b.data=a,b.max=a&&a.length||0,b.type=e.getTypeOf(a),b.isPaused||b._tickAndRepeat()},function(a){b.error(a)})}var e=a("../utils"),f=a("./GenericWorker"),g=16384;e.inherits(d,f),d.prototype.cleanUp=function(){f.prototype.cleanUp.call(this),this.data=null},d.prototype.resume=function(){return!!f.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,e.delay(this._tickAndRepeat,[],this)),!0)},d.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(e.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},d.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var a=g,b=null,c=Math.min(this.max,this.index+a);if(this.index>=this.max)return this.end();switch(this.type){case"string":b=this.data.substring(this.index,c);break;case"uint8array":b=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":b=this.data.slice(this.index,c)}return this.index=c,this.push({data:b,meta:{percent:this.max?this.index/this.max*100:0}})},b.exports=d},{"../utils":32,"./GenericWorker":28}],28:[function(a,b,c){"use strict";function d(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}d.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,b){return this._listeners[a].push(b),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,b){if(this._listeners[a])for(var c=0;c<this._listeners[a].length;c++)this._listeners[a][c].call(this,b)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw new Error("The stream \'"+this+"\' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var b=this;return a.on("data",function(a){b.processChunk(a)}),a.on("end",function(){b.end()}),a.on("error",function(a){b.error(a)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var a=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,b){return this.extraStreamInfo[a]=b,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},lock:function(){if(this.isLocked)throw new Error("The stream \'"+this+"\' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},b.exports=d},{}],29:[function(a,b,c){"use strict";function d(a,b,c){switch(a){case"blob":return h.newBlob(h.transformTo("arraybuffer",b),c);case"base64":return k.encode(b);default:return h.transformTo(a,b)}}function e(a,b){var c,d=0,e=null,f=0;for(c=0;c<b.length;c++)f+=b[c].length;switch(a){case"string":return b.join("");case"array":return Array.prototype.concat.apply([],b);case"uint8array":for(e=new Uint8Array(f),c=0;c<b.length;c++)e.set(b[c],d),d+=b[c].length;return e;case"nodebuffer":return Buffer.concat(b);default:throw new Error("concat : unsupported type \'"+a+"\'")}}function f(a,b){return new m.Promise(function(c,f){var g=[],h=a._internalType,i=a._outputType,j=a._mimeType;a.on("data",function(a,c){g.push(a),b&&b(c)}).on("error",function(a){g=[],f(a)}).on("end",function(){try{var a=d(i,e(h,g),j);c(a)}catch(b){f(b)}g=[]}).resume()})}function g(a,b,c){var d=b;switch(b){case"blob":case"arraybuffer":d="uint8array";break;case"base64":d="string"}try{this._internalType=d,this._outputType=b,this._mimeType=c,h.checkSupport(d),this._worker=a.pipe(new i(d)),a.lock()}catch(e){this._worker=new j("error"),this._worker.error(e)}}var h=a("../utils"),i=a("./ConvertWorker"),j=a("./GenericWorker"),k=a("../base64"),l=a("../support"),m=a("../external"),n=null;if(l.nodestream)try{n=a("../nodejs/NodejsStreamOutputAdapter")}catch(o){}g.prototype={accumulate:function(a){return f(this,a)},on:function(a,b){var c=this;return"data"===a?this._worker.on(a,function(a){b.call(c,a.data,a.meta)}):this._worker.on(a,function(){h.delay(b,arguments,c)}),this},resume:function(){return h.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(a){if(h.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new n(this,{objectMode:"nodebuffer"!==this._outputType},a)}},b.exports=g},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(a,b,c){"use strict";if(c.base64=!0,c.array=!0,c.string=!0,c.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,c.nodebuffer="undefined"!=typeof Buffer,c.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)c.blob=!1;else{var d=new ArrayBuffer(0);try{c.blob=0===new Blob([d],{type:"application/zip"}).size}catch(e){try{var f=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,g=new f;g.append(d),c.blob=0===g.getBlob("application/zip").size}catch(e){c.blob=!1}}}try{c.nodestream=!!a("readable-stream").Readable}catch(e){c.nodestream=!1}},{"readable-stream":16}],31:[function(a,b,c){"use strict";function d(){i.call(this,"utf-8 decode"),this.leftOver=null}function e(){i.call(this,"utf-8 encode")}for(var f=a("./utils"),g=a("./support"),h=a("./nodejsUtils"),i=a("./stream/GenericWorker"),j=new Array(256),k=0;k<256;k++)j[k]=k>=252?6:k>=248?5:k>=240?4:k>=224?3:k>=192?2:1;j[254]=j[254]=1;var l=function(a){var b,c,d,e,f,h=a.length,i=0;for(e=0;e<h;e++)c=a.charCodeAt(e),55296===(64512&c)&&e+1<h&&(d=a.charCodeAt(e+1),56320===(64512&d)&&(c=65536+(c-55296<<10)+(d-56320),e++)),i+=c<128?1:c<2048?2:c<65536?3:4;for(b=g.uint8array?new Uint8Array(i):new Array(i),f=0,e=0;f<i;e++)c=a.charCodeAt(e),55296===(64512&c)&&e+1<h&&(d=a.charCodeAt(e+1),56320===(64512&d)&&(c=65536+(c-55296<<10)+(d-56320),e++)),c<128?b[f++]=c:c<2048?(b[f++]=192|c>>>6,b[f++]=128|63&c):c<65536?(b[f++]=224|c>>>12,b[f++]=128|c>>>6&63,b[f++]=128|63&c):(b[f++]=240|c>>>18,b[f++]=128|c>>>12&63,b[f++]=128|c>>>6&63,b[f++]=128|63&c);return b},m=function(a,b){var c;for(b=b||a.length,b>a.length&&(b=a.length),c=b-1;c>=0&&128===(192&a[c]);)c--;return c<0?b:0===c?b:c+j[a[c]]>b?c:b},n=function(a){var b,c,d,e,g=a.length,h=new Array(2*g);for(c=0,b=0;b<g;)if(d=a[b++],d<128)h[c++]=d;else if(e=j[d],e>4)h[c++]=65533,b+=e-1;else{for(d&=2===e?31:3===e?15:7;e>1&&b<g;)d=d<<6|63&a[b++],e--;e>1?h[c++]=65533:d<65536?h[c++]=d:(d-=65536,h[c++]=55296|d>>10&1023,h[c++]=56320|1023&d)}return h.length!==c&&(h.subarray?h=h.subarray(0,c):h.length=c),f.applyFromCharCode(h)};c.utf8encode=function(a){return g.nodebuffer?h.newBufferFrom(a,"utf-8"):l(a)},c.utf8decode=function(a){return g.nodebuffer?f.transformTo("nodebuffer",a).toString("utf-8"):(a=f.transformTo(g.uint8array?"uint8array":"array",a),n(a))},f.inherits(d,i),d.prototype.processChunk=function(a){var b=f.transformTo(g.uint8array?"uint8array":"array",a.data);if(this.leftOver&&this.leftOver.length){if(g.uint8array){var d=b;b=new Uint8Array(d.length+this.leftOver.length),b.set(this.leftOver,0),b.set(d,this.leftOver.length)}else b=this.leftOver.concat(b);this.leftOver=null}var e=m(b),h=b;e!==b.length&&(g.uint8array?(h=b.subarray(0,e),this.leftOver=b.subarray(e,b.length)):(h=b.slice(0,e),this.leftOver=b.slice(e,b.length))),this.push({data:c.utf8decode(h),meta:a.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:c.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},c.Utf8DecodeWorker=d,f.inherits(e,i),e.prototype.processChunk=function(a){this.push({data:c.utf8encode(a.data),meta:a.meta})},c.Utf8EncodeWorker=e},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(a,b,c){"use strict";function d(a){var b=null;return b=i.uint8array?new Uint8Array(a.length):new Array(a.length),f(a,b)}function e(a){return a}function f(a,b){for(var c=0;c<a.length;++c)b[c]=255&a.charCodeAt(c);return b}function g(a){var b=65536,d=c.getTypeOf(a),e=!0;if("uint8array"===d?e=n.applyCanBeUsed.uint8array:"nodebuffer"===d&&(e=n.applyCanBeUsed.nodebuffer),e)for(;b>1;)try{return n.stringifyByChunk(a,d,b)}catch(f){b=Math.floor(b/2)}return n.stringifyByChar(a)}function h(a,b){for(var c=0;c<a.length;c++)b[c]=a[c];\nreturn b}var i=a("./support"),j=a("./base64"),k=a("./nodejsUtils"),l=a("core-js/library/fn/set-immediate"),m=a("./external");c.newBlob=function(a,b){c.checkSupport("blob");try{return new Blob([a],{type:b})}catch(d){try{var e=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,f=new e;return f.append(a),f.getBlob(b)}catch(d){throw new Error("Bug : can\'t construct the Blob.")}}};var n={stringifyByChunk:function(a,b,c){var d=[],e=0,f=a.length;if(f<=c)return String.fromCharCode.apply(null,a);for(;e<f;)"array"===b||"nodebuffer"===b?d.push(String.fromCharCode.apply(null,a.slice(e,Math.min(e+c,f)))):d.push(String.fromCharCode.apply(null,a.subarray(e,Math.min(e+c,f)))),e+=c;return d.join("")},stringifyByChar:function(a){for(var b="",c=0;c<a.length;c++)b+=String.fromCharCode(a[c]);return b},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(a){return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&1===String.fromCharCode.apply(null,k.allocBuffer(1)).length}catch(a){return!1}}()}};c.applyFromCharCode=g;var o={};o.string={string:e,array:function(a){return f(a,new Array(a.length))},arraybuffer:function(a){return o.string.uint8array(a).buffer},uint8array:function(a){return f(a,new Uint8Array(a.length))},nodebuffer:function(a){return f(a,k.allocBuffer(a.length))}},o.array={string:g,array:e,arraybuffer:function(a){return new Uint8Array(a).buffer},uint8array:function(a){return new Uint8Array(a)},nodebuffer:function(a){return k.newBufferFrom(a)}},o.arraybuffer={string:function(a){return g(new Uint8Array(a))},array:function(a){return h(new Uint8Array(a),new Array(a.byteLength))},arraybuffer:e,uint8array:function(a){return new Uint8Array(a)},nodebuffer:function(a){return k.newBufferFrom(new Uint8Array(a))}},o.uint8array={string:g,array:function(a){return h(a,new Array(a.length))},arraybuffer:function(a){return a.buffer},uint8array:e,nodebuffer:function(a){return k.newBufferFrom(a)}},o.nodebuffer={string:g,array:function(a){return h(a,new Array(a.length))},arraybuffer:function(a){return o.nodebuffer.uint8array(a).buffer},uint8array:function(a){return h(a,new Uint8Array(a.length))},nodebuffer:e},c.transformTo=function(a,b){if(b||(b=""),!a)return b;c.checkSupport(a);var d=c.getTypeOf(b),e=o[d][a](b);return e},c.getTypeOf=function(a){return"string"==typeof a?"string":"[object Array]"===Object.prototype.toString.call(a)?"array":i.nodebuffer&&k.isBuffer(a)?"nodebuffer":i.uint8array&&a instanceof Uint8Array?"uint8array":i.arraybuffer&&a instanceof ArrayBuffer?"arraybuffer":void 0},c.checkSupport=function(a){var b=i[a.toLowerCase()];if(!b)throw new Error(a+" is not supported by this platform")},c.MAX_VALUE_16BITS=65535,c.MAX_VALUE_32BITS=-1,c.pretty=function(a){var b,c,d="";for(c=0;c<(a||"").length;c++)b=a.charCodeAt(c),d+="\\\\x"+(b<16?"0":"")+b.toString(16).toUpperCase();return d},c.delay=function(a,b,c){l(function(){a.apply(c||null,b||[])})},c.inherits=function(a,b){var c=function(){};c.prototype=b.prototype,a.prototype=new c},c.extend=function(){var a,b,c={};for(a=0;a<arguments.length;a++)for(b in arguments[a])arguments[a].hasOwnProperty(b)&&"undefined"==typeof c[b]&&(c[b]=arguments[a][b]);return c},c.prepareContent=function(a,b,e,f,g){var h=m.Promise.resolve(b).then(function(a){var b=i.blob&&(a instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(a))!==-1);return b&&"undefined"!=typeof FileReader?new m.Promise(function(b,c){var d=new FileReader;d.onload=function(a){b(a.target.result)},d.onerror=function(a){c(a.target.error)},d.readAsArrayBuffer(a)}):a});return h.then(function(b){var h=c.getTypeOf(b);return h?("arraybuffer"===h?b=c.transformTo("uint8array",b):"string"===h&&(g?b=j.decode(b):e&&f!==!0&&(b=d(b))),b):m.Promise.reject(new Error("Can\'t read the data of \'"+a+"\'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"core-js/library/fn/set-immediate":36}],33:[function(a,b,c){"use strict";function d(a){this.files=[],this.loadOptions=a}var e=a("./reader/readerFor"),f=a("./utils"),g=a("./signature"),h=a("./zipEntry"),i=(a("./utf8"),a("./support"));d.prototype={checkSignature:function(a){if(!this.reader.readAndCheckSignature(a)){this.reader.index-=4;var b=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+f.pretty(b)+", expected "+f.pretty(a)+")")}},isSignature:function(a,b){var c=this.reader.index;this.reader.setIndex(a);var d=this.reader.readString(4),e=d===b;return this.reader.setIndex(c),e},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var a=this.reader.readData(this.zipCommentLength),b=i.uint8array?"uint8array":"array",c=f.transformTo(b,a);this.zipComment=this.loadOptions.decodeFileName(c)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var a,b,c,d=this.zip64EndOfCentralSize-44,e=0;e<d;)a=this.reader.readInt(2),b=this.reader.readInt(4),c=this.reader.readData(b),this.zip64ExtensibleData[a]={id:a,length:b,value:c}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var a,b;for(a=0;a<this.files.length;a++)b=this.files[a],this.reader.setIndex(b.localHeaderOffset),this.checkSignature(g.LOCAL_FILE_HEADER),b.readLocalPart(this.reader),b.handleUTF8(),b.processAttributes()},readCentralDir:function(){var a;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(g.CENTRAL_FILE_HEADER);)a=new h({zip64:this.zip64},this.loadOptions),a.readCentralPart(this.reader),this.files.push(a);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var a=this.reader.lastIndexOfSignature(g.CENTRAL_DIRECTORY_END);if(a<0){var b=!this.isSignature(0,g.LOCAL_FILE_HEADER);throw b?new Error("Can\'t find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can\'t find end of central directory")}this.reader.setIndex(a);var c=a;if(this.checkSignature(g.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===f.MAX_VALUE_16BITS||this.diskWithCentralDirStart===f.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===f.MAX_VALUE_16BITS||this.centralDirRecords===f.MAX_VALUE_16BITS||this.centralDirSize===f.MAX_VALUE_32BITS||this.centralDirOffset===f.MAX_VALUE_32BITS){if(this.zip64=!0,a=this.reader.lastIndexOfSignature(g.ZIP64_CENTRAL_DIRECTORY_LOCATOR),a<0)throw new Error("Corrupted zip: can\'t find the ZIP64 end of central directory locator");if(this.reader.setIndex(a),this.checkSignature(g.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,g.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(g.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can\'t find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(g.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var d=this.centralDirOffset+this.centralDirSize;this.zip64&&(d+=20,d+=12+this.zip64EndOfCentralSize);var e=c-d;if(e>0)this.isSignature(c,g.CENTRAL_FILE_HEADER)||(this.reader.zero=e);else if(e<0)throw new Error("Corrupted zip: missing "+Math.abs(e)+" bytes.")},prepareReader:function(a){this.reader=e(a)},load:function(a){this.prepareReader(a),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},b.exports=d},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(a,b,c){"use strict";function d(a,b){this.options=a,this.loadOptions=b}var e=a("./reader/readerFor"),f=a("./utils"),g=a("./compressedObject"),h=a("./crc32"),i=a("./utf8"),j=a("./compressions"),k=a("./support"),l=0,m=3,n=function(a){for(var b in j)if(j.hasOwnProperty(b)&&j[b].magic===a)return j[b];return null};d.prototype={isEncrypted:function(){return 1===(1&this.bitFlag)},useUTF8:function(){return 2048===(2048&this.bitFlag)},readLocalPart:function(a){var b,c;if(a.skip(22),this.fileNameLength=a.readInt(2),c=a.readInt(2),this.fileName=a.readData(this.fileNameLength),a.skip(c),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn\'t get enough informations from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(b=n(this.compressionMethod),null===b)throw new Error("Corrupted zip : compression "+f.pretty(this.compressionMethod)+" unknown (inner file : "+f.transformTo("string",this.fileName)+")");this.decompressed=new g(this.compressedSize,this.uncompressedSize,this.crc32,b,a.readData(this.compressedSize))},readCentralPart:function(a){this.versionMadeBy=a.readInt(2),a.skip(2),this.bitFlag=a.readInt(2),this.compressionMethod=a.readString(2),this.date=a.readDate(),this.crc32=a.readInt(4),this.compressedSize=a.readInt(4),this.uncompressedSize=a.readInt(4);var b=a.readInt(2);if(this.extraFieldsLength=a.readInt(2),this.fileCommentLength=a.readInt(2),this.diskNumberStart=a.readInt(2),this.internalFileAttributes=a.readInt(2),this.externalFileAttributes=a.readInt(4),this.localHeaderOffset=a.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");a.skip(b),this.readExtraFields(a),this.parseZIP64ExtraField(a),this.fileComment=a.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var a=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),a===l&&(this.dosPermissions=63&this.externalFileAttributes),a===m&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(a){if(this.extraFields[1]){var b=e(this.extraFields[1].value);this.uncompressedSize===f.MAX_VALUE_32BITS&&(this.uncompressedSize=b.readInt(8)),this.compressedSize===f.MAX_VALUE_32BITS&&(this.compressedSize=b.readInt(8)),this.localHeaderOffset===f.MAX_VALUE_32BITS&&(this.localHeaderOffset=b.readInt(8)),this.diskNumberStart===f.MAX_VALUE_32BITS&&(this.diskNumberStart=b.readInt(4))}},readExtraFields:function(a){var b,c,d,e=a.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});a.index<e;)b=a.readInt(2),c=a.readInt(2),d=a.readData(c),this.extraFields[b]={id:b,length:c,value:d}},handleUTF8:function(){var a=k.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=i.utf8decode(this.fileName),this.fileCommentStr=i.utf8decode(this.fileComment);else{var b=this.findExtraFieldUnicodePath();if(null!==b)this.fileNameStr=b;else{var c=f.transformTo(a,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(c)}var d=this.findExtraFieldUnicodeComment();if(null!==d)this.fileCommentStr=d;else{var e=f.transformTo(a,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(e)}}},findExtraFieldUnicodePath:function(){var a=this.extraFields[28789];if(a){var b=e(a.value);return 1!==b.readInt(1)?null:h(this.fileName)!==b.readInt(4)?null:i.utf8decode(b.readData(a.length-5))}return null},findExtraFieldUnicodeComment:function(){var a=this.extraFields[25461];if(a){var b=e(a.value);return 1!==b.readInt(1)?null:h(this.fileComment)!==b.readInt(4)?null:i.utf8decode(b.readData(a.length-5))}return null}},b.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(a,b,c){"use strict";var d=a("./stream/StreamHelper"),e=a("./stream/DataWorker"),f=a("./utf8"),g=a("./compressedObject"),h=a("./stream/GenericWorker"),i=function(a,b,c){this.name=a,this.dir=c.dir,this.date=c.date,this.comment=c.comment,this.unixPermissions=c.unixPermissions,this.dosPermissions=c.dosPermissions,this._data=b,this._dataBinary=c.binary,this.options={compression:c.compression,compressionOptions:c.compressionOptions}};i.prototype={internalStream:function(a){var b=null,c="string";try{if(!a)throw new Error("No output type specified.");c=a.toLowerCase();var e="string"===c||"text"===c;"binarystring"!==c&&"text"!==c||(c="string"),b=this._decompressWorker();var g=!this._dataBinary;g&&!e&&(b=b.pipe(new f.Utf8EncodeWorker)),!g&&e&&(b=b.pipe(new f.Utf8DecodeWorker))}catch(i){b=new h("error"),b.error(i)}return new d(b,c,"")},async:function(a,b){return this.internalStream(a).accumulate(b)},nodeStream:function(a,b){return this.internalStream(a||"nodebuffer").toNodejsStream(b)},_compressWorker:function(a,b){if(this._data instanceof g&&this._data.compression.magic===a.magic)return this._data.getCompressedWorker();var c=this._decompressWorker();return this._dataBinary||(c=c.pipe(new f.Utf8EncodeWorker)),g.createWorkerFrom(c,a,b)},_decompressWorker:function(){return this._data instanceof g?this._data.getContentWorker():this._data instanceof h?this._data:new e(this._data)}};for(var j=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],k=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},l=0;l<j.length;l++)i.prototype[j[l]]=k;b.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(a,b,c){a("../modules/web.immediate"),b.exports=a("../modules/_core").setImmediate},{"../modules/_core":40,"../modules/web.immediate":56}],37:[function(a,b,c){b.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a}},{}],38:[function(a,b,c){var d=a("./_is-object");b.exports=function(a){if(!d(a))throw TypeError(a+" is not an object!");return a}},{"./_is-object":51}],39:[function(a,b,c){var d={}.toString;b.exports=function(a){return d.call(a).slice(8,-1)}},{}],40:[function(a,b,c){var d=b.exports={version:"2.3.0"};"number"==typeof __e&&(__e=d)},{}],41:[function(a,b,c){var d=a("./_a-function");b.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}}},{"./_a-function":37}],42:[function(a,b,c){b.exports=!a("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":45}],43:[function(a,b,c){var d=a("./_is-object"),e=a("./_global").document,f=d(e)&&d(e.createElement);b.exports=function(a){return f?e.createElement(a):{}}},{"./_global":46,"./_is-object":51}],44:[function(a,b,c){var d=a("./_global"),e=a("./_core"),f=a("./_ctx"),g=a("./_hide"),h="prototype",i=function(a,b,c){var j,k,l,m=a&i.F,n=a&i.G,o=a&i.S,p=a&i.P,q=a&i.B,r=a&i.W,s=n?e:e[b]||(e[b]={}),t=s[h],u=n?d:o?d[b]:(d[b]||{})[h];n&&(c=b);for(j in c)k=!m&&u&&void 0!==u[j],k&&j in s||(l=k?u[j]:c[j],s[j]=n&&"function"!=typeof u[j]?c[j]:q&&k?f(l,d):r&&u[j]==l?function(a){var b=function(b,c,d){if(this instanceof a){switch(arguments.length){case 0:return new a;case 1:return new a(b);case 2:return new a(b,c)}return new a(b,c,d)}return a.apply(this,arguments)};return b[h]=a[h],b}(l):p&&"function"==typeof l?f(Function.call,l):l,p&&((s.virtual||(s.virtual={}))[j]=l,a&i.R&&t&&!t[j]&&g(t,j,l)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,b.exports=i},{"./_core":40,"./_ctx":41,"./_global":46,"./_hide":47}],45:[function(a,b,c){b.exports=function(a){try{return!!a()}catch(b){return!0}}},{}],46:[function(a,b,c){var d=b.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=d)},{}],47:[function(a,b,c){var d=a("./_object-dp"),e=a("./_property-desc");b.exports=a("./_descriptors")?function(a,b,c){return d.f(a,b,e(1,c))}:function(a,b,c){return a[b]=c,a}},{"./_descriptors":42,"./_object-dp":52,"./_property-desc":53}],48:[function(a,b,c){b.exports=a("./_global").document&&document.documentElement},{"./_global":46}],49:[function(a,b,c){b.exports=!a("./_descriptors")&&!a("./_fails")(function(){return 7!=Object.defineProperty(a("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":42,"./_dom-create":43,"./_fails":45}],50:[function(a,b,c){b.exports=function(a,b,c){var d=void 0===c;switch(b.length){case 0:return d?a():a.call(c);case 1:return d?a(b[0]):a.call(c,b[0]);case 2:return d?a(b[0],b[1]):a.call(c,b[0],b[1]);case 3:return d?a(b[0],b[1],b[2]):a.call(c,b[0],b[1],b[2]);case 4:return d?a(b[0],b[1],b[2],b[3]):a.call(c,b[0],b[1],b[2],b[3])}return a.apply(c,b)}},{}],51:[function(a,b,c){b.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a}},{}],52:[function(a,b,c){var d=a("./_an-object"),e=a("./_ie8-dom-define"),f=a("./_to-primitive"),g=Object.defineProperty;c.f=a("./_descriptors")?Object.defineProperty:function(a,b,c){if(d(a),b=f(b,!0),d(c),e)try{return g(a,b,c)}catch(h){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(a[b]=c.value),a}},{"./_an-object":38,"./_descriptors":42,"./_ie8-dom-define":49,"./_to-primitive":55}],53:[function(a,b,c){b.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}}},{}],54:[function(a,b,c){var d,e,f,g=a("./_ctx"),h=a("./_invoke"),i=a("./_html"),j=a("./_dom-create"),k=a("./_global"),l=k.process,m=k.setImmediate,n=k.clearImmediate,o=k.MessageChannel,p=0,q={},r="onreadystatechange",s=function(){var a=+this;if(q.hasOwnProperty(a)){var b=q[a];delete q[a],b()}},t=function(a){s.call(a.data)};m&&n||(m=function(a){for(var b=[],c=1;arguments.length>c;)b.push(arguments[c++]);return q[++p]=function(){h("function"==typeof a?a:Function(a),b)},d(p),p},n=function(a){delete q[a]},"process"==a("./_cof")(l)?d=function(a){l.nextTick(g(s,a,1))}:o?(e=new o,f=e.port2,e.port1.onmessage=t,d=g(f.postMessage,f,1)):k.addEventListener&&"function"==typeof postMessage&&!k.importScripts?(d=function(a){k.postMessage(a+"","*")},k.addEventListener("message",t,!1)):d=r in j("script")?function(a){i.appendChild(j("script"))[r]=function(){i.removeChild(this),s.call(a)}}:function(a){setTimeout(g(s,a,1),0)}),b.exports={set:m,clear:n}},{"./_cof":39,"./_ctx":41,"./_dom-create":43,"./_global":46,"./_html":48,"./_invoke":50}],55:[function(a,b,c){var d=a("./_is-object");b.exports=function(a,b){if(!d(a))return a;var c,e;if(b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a)))return e;if("function"==typeof(c=a.valueOf)&&!d(e=c.call(a)))return e;if(!b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a)))return e;throw TypeError("Can\'t convert object to primitive value")}},{"./_is-object":51}],56:[function(a,b,c){var d=a("./_export"),e=a("./_task");d(d.G+d.B,{setImmediate:e.set,clearImmediate:e.clear})},{"./_export":44,"./_task":54}],57:[function(a,b,c){(function(a){"use strict";function c(){k=!0;for(var a,b,c=l.length;c;){for(b=l,l=[],a=-1;++a<c;)b[a]();c=l.length}k=!1}function d(a){1!==l.push(a)||k||e()}var e,f=a.MutationObserver||a.WebKitMutationObserver;if(f){var g=0,h=new f(c),i=a.document.createTextNode("");h.observe(i,{characterData:!0}),e=function(){i.data=g=++g%2}}else if(a.setImmediate||"undefined"==typeof a.MessageChannel)e="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var b=a.document.createElement("script");b.onreadystatechange=function(){c(),b.onreadystatechange=null,b.parentNode.removeChild(b),b=null},a.document.documentElement.appendChild(b)}:function(){setTimeout(c,0)};else{var j=new a.MessageChannel;j.port1.onmessage=c,e=function(){j.port2.postMessage(0)}}var k,l=[];b.exports=d}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],58:[function(a,b,c){"use strict";function d(){}function e(a){if("function"!=typeof a)throw new TypeError("resolver must be a function");this.state=s,this.queue=[],this.outcome=void 0,a!==d&&i(this,a)}function f(a,b,c){this.promise=a,"function"==typeof b&&(this.onFulfilled=b,this.callFulfilled=this.otherCallFulfilled),"function"==typeof c&&(this.onRejected=c,this.callRejected=this.otherCallRejected)}function g(a,b,c){o(function(){var d;try{d=b(c)}catch(e){return p.reject(a,e)}d===a?p.reject(a,new TypeError("Cannot resolve promise with itself")):p.resolve(a,d)})}function h(a){var b=a&&a.then;if(a&&("object"==typeof a||"function"==typeof a)&&"function"==typeof b)return function(){b.apply(a,arguments)}}function i(a,b){function c(b){f||(f=!0,p.reject(a,b))}function d(b){f||(f=!0,p.resolve(a,b))}function e(){b(d,c)}var f=!1,g=j(e);"error"===g.status&&c(g.value)}function j(a,b){var c={};try{c.value=a(b),c.status="success"}catch(d){c.status="error",c.value=d}return c}function k(a){return a instanceof this?a:p.resolve(new this(d),a)}function l(a){var b=new this(d);return p.reject(b,a)}function m(a){function b(a,b){function d(a){g[b]=a,++h!==e||f||(f=!0,p.resolve(j,g))}c.resolve(a).then(d,function(a){f||(f=!0,p.reject(j,a))})}var c=this;if("[object Array]"!==Object.prototype.toString.call(a))return this.reject(new TypeError("must be an array"));var e=a.length,f=!1;if(!e)return this.resolve([]);for(var g=new Array(e),h=0,i=-1,j=new this(d);++i<e;)b(a[i],i);return j}function n(a){function b(a){c.resolve(a).then(function(a){f||(f=!0,p.resolve(h,a))},function(a){f||(f=!0,p.reject(h,a))})}var c=this;if("[object Array]"!==Object.prototype.toString.call(a))return this.reject(new TypeError("must be an array"));var e=a.length,f=!1;if(!e)return this.resolve([]);for(var g=-1,h=new this(d);++g<e;)b(a[g]);return h}var o=a("immediate"),p={},q=["REJECTED"],r=["FULFILLED"],s=["PENDING"];b.exports=e,e.prototype["catch"]=function(a){return this.then(null,a)},e.prototype.then=function(a,b){if("function"!=typeof a&&this.state===r||"function"!=typeof b&&this.state===q)return this;var c=new this.constructor(d);if(this.state!==s){var e=this.state===r?a:b;g(c,e,this.outcome)}else this.queue.push(new f(c,a,b));return c},f.prototype.callFulfilled=function(a){p.resolve(this.promise,a)},f.prototype.otherCallFulfilled=function(a){g(this.promise,this.onFulfilled,a)},f.prototype.callRejected=function(a){p.reject(this.promise,a)},f.prototype.otherCallRejected=function(a){g(this.promise,this.onRejected,a)},p.resolve=function(a,b){var c=j(h,b);if("error"===c.status)return p.reject(a,c.value);var d=c.value;if(d)i(a,d);else{a.state=r,a.outcome=b;for(var e=-1,f=a.queue.length;++e<f;)a.queue[e].callFulfilled(b)}return a},p.reject=function(a,b){a.state=q,a.outcome=b;for(var c=-1,d=a.queue.length;++c<d;)a.queue[c].callRejected(b);return a},e.resolve=k,e.reject=l,e.all=m,e.race=n},{immediate:57}],59:[function(a,b,c){"use strict";var d=a("./lib/utils/common").assign,e=a("./lib/deflate"),f=a("./lib/inflate"),g=a("./lib/zlib/constants"),h={};d(h,e,f,g),b.exports=h},{"./lib/deflate":60,"./lib/inflate":61,"./lib/utils/common":62,"./lib/zlib/constants":65}],60:[function(a,b,c){"use strict";function d(a){if(!(this instanceof d))return new d(a);this.options=i.assign({level:s,method:u,chunkSize:16384,windowBits:15,memLevel:8,strategy:t,to:""},a||{});var b=this.options;b.raw&&b.windowBits>0?b.windowBits=-b.windowBits:b.gzip&&b.windowBits>0&&b.windowBits<16&&(b.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var c=h.deflateInit2(this.strm,b.level,b.method,b.windowBits,b.memLevel,b.strategy);if(c!==p)throw new Error(k[c]);if(b.header&&h.deflateSetHeader(this.strm,b.header),b.dictionary){var e;if(e="string"==typeof b.dictionary?j.string2buf(b.dictionary):"[object ArrayBuffer]"===m.call(b.dictionary)?new Uint8Array(b.dictionary):b.dictionary,c=h.deflateSetDictionary(this.strm,e),c!==p)throw new Error(k[c]);this._dict_set=!0}}function e(a,b){var c=new d(b);if(c.push(a,!0),c.err)throw c.msg||k[c.err];return c.result}function f(a,b){return b=b||{},b.raw=!0,e(a,b)}function g(a,b){return b=b||{},b.gzip=!0,e(a,b)}var h=a("./zlib/deflate"),i=a("./utils/common"),j=a("./utils/strings"),k=a("./zlib/messages"),l=a("./zlib/zstream"),m=Object.prototype.toString,n=0,o=4,p=0,q=1,r=2,s=-1,t=0,u=8;d.prototype.push=function(a,b){var c,d,e=this.strm,f=this.options.chunkSize;if(this.ended)return!1;d=b===~~b?b:b===!0?o:n,"string"==typeof a?e.input=j.string2buf(a):"[object ArrayBuffer]"===m.call(a)?e.input=new Uint8Array(a):e.input=a,e.next_in=0,e.avail_in=e.input.length;do{if(0===e.avail_out&&(e.output=new i.Buf8(f),e.next_out=0,e.avail_out=f),c=h.deflate(e,d),c!==q&&c!==p)return this.onEnd(c),this.ended=!0,!1;0!==e.avail_out&&(0!==e.avail_in||d!==o&&d!==r)||("string"===this.options.to?this.onData(j.buf2binstring(i.shrinkBuf(e.output,e.next_out))):this.onData(i.shrinkBuf(e.output,e.next_out)))}while((e.avail_in>0||0===e.avail_out)&&c!==q);return d===o?(c=h.deflateEnd(this.strm),this.onEnd(c),this.ended=!0,c===p):d!==r||(this.onEnd(p),e.avail_out=0,!0)},d.prototype.onData=function(a){this.chunks.push(a)},d.prototype.onEnd=function(a){a===p&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},c.Deflate=d,c.deflate=e,c.deflateRaw=f,c.gzip=g},{"./utils/common":62,"./utils/strings":63,"./zlib/deflate":67,"./zlib/messages":72,"./zlib/zstream":74}],61:[function(a,b,c){"use strict";function d(a){if(!(this instanceof d))return new d(a);this.options=h.assign({chunkSize:16384,windowBits:0,to:""},a||{});var b=this.options;b.raw&&b.windowBits>=0&&b.windowBits<16&&(b.windowBits=-b.windowBits,0===b.windowBits&&(b.windowBits=-15)),!(b.windowBits>=0&&b.windowBits<16)||a&&a.windowBits||(b.windowBits+=32),b.windowBits>15&&b.windowBits<48&&0===(15&b.windowBits)&&(b.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var c=g.inflateInit2(this.strm,b.windowBits);if(c!==j.Z_OK)throw new Error(k[c]);this.header=new m,g.inflateGetHeader(this.strm,this.header)}function e(a,b){var c=new d(b);if(c.push(a,!0),c.err)throw c.msg||k[c.err];return c.result}function f(a,b){return b=b||{},b.raw=!0,e(a,b)}var g=a("./zlib/inflate"),h=a("./utils/common"),i=a("./utils/strings"),j=a("./zlib/constants"),k=a("./zlib/messages"),l=a("./zlib/zstream"),m=a("./zlib/gzheader"),n=Object.prototype.toString;d.prototype.push=function(a,b){var c,d,e,f,k,l,m=this.strm,o=this.options.chunkSize,p=this.options.dictionary,q=!1;if(this.ended)return!1;d=b===~~b?b:b===!0?j.Z_FINISH:j.Z_NO_FLUSH,"string"==typeof a?m.input=i.binstring2buf(a):"[object ArrayBuffer]"===n.call(a)?m.input=new Uint8Array(a):m.input=a,m.next_in=0,m.avail_in=m.input.length;do{if(0===m.avail_out&&(m.output=new h.Buf8(o),m.next_out=0,m.avail_out=o),c=g.inflate(m,j.Z_NO_FLUSH),c===j.Z_NEED_DICT&&p&&(l="string"==typeof p?i.string2buf(p):"[object ArrayBuffer]"===n.call(p)?new Uint8Array(p):p,c=g.inflateSetDictionary(this.strm,l)),c===j.Z_BUF_ERROR&&q===!0&&(c=j.Z_OK,q=!1),c!==j.Z_STREAM_END&&c!==j.Z_OK)return this.onEnd(c),this.ended=!0,!1;m.next_out&&(0!==m.avail_out&&c!==j.Z_STREAM_END&&(0!==m.avail_in||d!==j.Z_FINISH&&d!==j.Z_SYNC_FLUSH)||("string"===this.options.to?(e=i.utf8border(m.output,m.next_out),f=m.next_out-e,k=i.buf2string(m.output,e),m.next_out=f,m.avail_out=o-f,f&&h.arraySet(m.output,m.output,e,f,0),this.onData(k)):this.onData(h.shrinkBuf(m.output,m.next_out)))),0===m.avail_in&&0===m.avail_out&&(q=!0)}while((m.avail_in>0||0===m.avail_out)&&c!==j.Z_STREAM_END);return c===j.Z_STREAM_END&&(d=j.Z_FINISH),d===j.Z_FINISH?(c=g.inflateEnd(this.strm),this.onEnd(c),this.ended=!0,c===j.Z_OK):d!==j.Z_SYNC_FLUSH||(this.onEnd(j.Z_OK),m.avail_out=0,!0)},d.prototype.onData=function(a){this.chunks.push(a)},d.prototype.onEnd=function(a){a===j.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=h.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},c.Inflate=d,c.inflate=e,c.inflateRaw=f,c.ungzip=e},{"./utils/common":62,"./utils/strings":63,"./zlib/constants":65,"./zlib/gzheader":68,"./zlib/inflate":70,"./zlib/messages":72,"./zlib/zstream":74}],62:[function(a,b,c){"use strict";var d="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;c.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var c=b.shift();if(c){if("object"!=typeof c)throw new TypeError(c+"must be non-object");for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])}}return a},c.shrinkBuf=function(a,b){return a.length===b?a:a.subarray?a.subarray(0,b):(a.length=b,a)};var e={arraySet:function(a,b,c,d,e){if(b.subarray&&a.subarray)return void a.set(b.subarray(c,c+d),e);for(var f=0;f<d;f++)a[e+f]=b[c+f]},flattenChunks:function(a){var b,c,d,e,f,g;for(d=0,b=0,c=a.length;b<c;b++)d+=a[b].length;for(g=new Uint8Array(d),e=0,b=0,c=a.length;b<c;b++)f=a[b],g.set(f,e),e+=f.length;return g}},f={arraySet:function(a,b,c,d,e){for(var f=0;f<d;f++)a[e+f]=b[c+f]},flattenChunks:function(a){return[].concat.apply([],a)}};c.setTyped=function(a){a?(c.Buf8=Uint8Array,c.Buf16=Uint16Array,c.Buf32=Int32Array,c.assign(c,e)):(c.Buf8=Array,c.Buf16=Array,c.Buf32=Array,c.assign(c,f))},c.setTyped(d)},{}],63:[function(a,b,c){"use strict";function d(a,b){if(b<65537&&(a.subarray&&g||!a.subarray&&f))return String.fromCharCode.apply(null,e.shrinkBuf(a,b));for(var c="",d=0;d<b;d++)c+=String.fromCharCode(a[d]);return c}var e=a("./common"),f=!0,g=!0;try{String.fromCharCode.apply(null,[0])}catch(h){f=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(h){g=!1}for(var i=new e.Buf8(256),j=0;j<256;j++)i[j]=j>=252?6:j>=248?5:j>=240?4:j>=224?3:j>=192?2:1;i[254]=i[254]=1,c.string2buf=function(a){var b,c,d,f,g,h=a.length,i=0;for(f=0;f<h;f++)c=a.charCodeAt(f),55296===(64512&c)&&f+1<h&&(d=a.charCodeAt(f+1),56320===(64512&d)&&(c=65536+(c-55296<<10)+(d-56320),f++)),i+=c<128?1:c<2048?2:c<65536?3:4;for(b=new e.Buf8(i),g=0,f=0;g<i;f++)c=a.charCodeAt(f),55296===(64512&c)&&f+1<h&&(d=a.charCodeAt(f+1),56320===(64512&d)&&(c=65536+(c-55296<<10)+(d-56320),f++)),c<128?b[g++]=c:c<2048?(b[g++]=192|c>>>6,b[g++]=128|63&c):c<65536?(b[g++]=224|c>>>12,b[g++]=128|c>>>6&63,b[g++]=128|63&c):(b[g++]=240|c>>>18,b[g++]=128|c>>>12&63,b[g++]=128|c>>>6&63,b[g++]=128|63&c);return b},c.buf2binstring=function(a){return d(a,a.length)},c.binstring2buf=function(a){for(var b=new e.Buf8(a.length),c=0,d=b.length;c<d;c++)b[c]=a.charCodeAt(c);return b},c.buf2string=function(a,b){var c,e,f,g,h=b||a.length,j=new Array(2*h);for(e=0,c=0;c<h;)if(f=a[c++],f<128)j[e++]=f;else if(g=i[f],g>4)j[e++]=65533,c+=g-1;else{for(f&=2===g?31:3===g?15:7;g>1&&c<h;)f=f<<6|63&a[c++],g--;g>1?j[e++]=65533:f<65536?j[e++]=f:(f-=65536,j[e++]=55296|f>>10&1023,j[e++]=56320|1023&f)}return d(j,e)},c.utf8border=function(a,b){var c;for(b=b||a.length,b>a.length&&(b=a.length),c=b-1;c>=0&&128===(192&a[c]);)c--;return c<0?b:0===c?b:c+i[a[c]]>b?c:b}},{"./common":62}],64:[function(a,b,c){"use strict";function d(a,b,c,d){for(var e=65535&a|0,f=a>>>16&65535|0,g=0;0!==c;){g=c>2e3?2e3:c,c-=g;do e=e+b[d++]|0,f=f+e|0;while(--g);e%=65521,f%=65521}return e|f<<16|0;\n}b.exports=d},{}],65:[function(a,b,c){"use strict";b.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],66:[function(a,b,c){"use strict";function d(){for(var a,b=[],c=0;c<256;c++){a=c;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;b[c]=a}return b}function e(a,b,c,d){var e=f,g=d+c;a^=-1;for(var h=d;h<g;h++)a=a>>>8^e[255&(a^b[h])];return a^-1}var f=d();b.exports=e},{}],67:[function(a,b,c){"use strict";function d(a,b){return a.msg=I[b],b}function e(a){return(a<<1)-(a>4?9:0)}function f(a){for(var b=a.length;--b>=0;)a[b]=0}function g(a){var b=a.state,c=b.pending;c>a.avail_out&&(c=a.avail_out),0!==c&&(E.arraySet(a.output,b.pending_buf,b.pending_out,c,a.next_out),a.next_out+=c,b.pending_out+=c,a.total_out+=c,a.avail_out-=c,b.pending-=c,0===b.pending&&(b.pending_out=0))}function h(a,b){F._tr_flush_block(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,b),a.block_start=a.strstart,g(a.strm)}function i(a,b){a.pending_buf[a.pending++]=b}function j(a,b){a.pending_buf[a.pending++]=b>>>8&255,a.pending_buf[a.pending++]=255&b}function k(a,b,c,d){var e=a.avail_in;return e>d&&(e=d),0===e?0:(a.avail_in-=e,E.arraySet(b,a.input,a.next_in,e,c),1===a.state.wrap?a.adler=G(a.adler,b,e,c):2===a.state.wrap&&(a.adler=H(a.adler,b,e,c)),a.next_in+=e,a.total_in+=e,e)}function l(a,b){var c,d,e=a.max_chain_length,f=a.strstart,g=a.prev_length,h=a.nice_match,i=a.strstart>a.w_size-la?a.strstart-(a.w_size-la):0,j=a.window,k=a.w_mask,l=a.prev,m=a.strstart+ka,n=j[f+g-1],o=j[f+g];a.prev_length>=a.good_match&&(e>>=2),h>a.lookahead&&(h=a.lookahead);do if(c=b,j[c+g]===o&&j[c+g-1]===n&&j[c]===j[f]&&j[++c]===j[f+1]){f+=2,c++;do;while(j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&f<m);if(d=ka-(m-f),f=m-ka,d>g){if(a.match_start=b,g=d,d>=h)break;n=j[f+g-1],o=j[f+g]}}while((b=l[b&k])>i&&0!==--e);return g<=a.lookahead?g:a.lookahead}function m(a){var b,c,d,e,f,g=a.w_size;do{if(e=a.window_size-a.lookahead-a.strstart,a.strstart>=g+(g-la)){E.arraySet(a.window,a.window,g,g,0),a.match_start-=g,a.strstart-=g,a.block_start-=g,c=a.hash_size,b=c;do d=a.head[--b],a.head[b]=d>=g?d-g:0;while(--c);c=g,b=c;do d=a.prev[--b],a.prev[b]=d>=g?d-g:0;while(--c);e+=g}if(0===a.strm.avail_in)break;if(c=k(a.strm,a.window,a.strstart+a.lookahead,e),a.lookahead+=c,a.lookahead+a.insert>=ja)for(f=a.strstart-a.insert,a.ins_h=a.window[f],a.ins_h=(a.ins_h<<a.hash_shift^a.window[f+1])&a.hash_mask;a.insert&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[f+ja-1])&a.hash_mask,a.prev[f&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=f,f++,a.insert--,!(a.lookahead+a.insert<ja)););}while(a.lookahead<la&&0!==a.strm.avail_in)}function n(a,b){var c=65535;for(c>a.pending_buf_size-5&&(c=a.pending_buf_size-5);;){if(a.lookahead<=1){if(m(a),0===a.lookahead&&b===J)return ua;if(0===a.lookahead)break}a.strstart+=a.lookahead,a.lookahead=0;var d=a.block_start+c;if((0===a.strstart||a.strstart>=d)&&(a.lookahead=a.strstart-d,a.strstart=d,h(a,!1),0===a.strm.avail_out))return ua;if(a.strstart-a.block_start>=a.w_size-la&&(h(a,!1),0===a.strm.avail_out))return ua}return a.insert=0,b===M?(h(a,!0),0===a.strm.avail_out?wa:xa):a.strstart>a.block_start&&(h(a,!1),0===a.strm.avail_out)?ua:ua}function o(a,b){for(var c,d;;){if(a.lookahead<la){if(m(a),a.lookahead<la&&b===J)return ua;if(0===a.lookahead)break}if(c=0,a.lookahead>=ja&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ja-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),0!==c&&a.strstart-c<=a.w_size-la&&(a.match_length=l(a,c)),a.match_length>=ja)if(d=F._tr_tally(a,a.strstart-a.match_start,a.match_length-ja),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=ja){a.match_length--;do a.strstart++,a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ja-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart;while(0!==--a.match_length);a.strstart++}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+1])&a.hash_mask;else d=F._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(d&&(h(a,!1),0===a.strm.avail_out))return ua}return a.insert=a.strstart<ja-1?a.strstart:ja-1,b===M?(h(a,!0),0===a.strm.avail_out?wa:xa):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?ua:va}function p(a,b){for(var c,d,e;;){if(a.lookahead<la){if(m(a),a.lookahead<la&&b===J)return ua;if(0===a.lookahead)break}if(c=0,a.lookahead>=ja&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ja-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.match_length,a.prev_match=a.match_start,a.match_length=ja-1,0!==c&&a.prev_length<a.max_lazy_match&&a.strstart-c<=a.w_size-la&&(a.match_length=l(a,c),a.match_length<=5&&(a.strategy===U||a.match_length===ja&&a.strstart-a.match_start>4096)&&(a.match_length=ja-1)),a.prev_length>=ja&&a.match_length<=a.prev_length){e=a.strstart+a.lookahead-ja,d=F._tr_tally(a,a.strstart-1-a.prev_match,a.prev_length-ja),a.lookahead-=a.prev_length-1,a.prev_length-=2;do++a.strstart<=e&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ja-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart);while(0!==--a.prev_length);if(a.match_available=0,a.match_length=ja-1,a.strstart++,d&&(h(a,!1),0===a.strm.avail_out))return ua}else if(a.match_available){if(d=F._tr_tally(a,0,a.window[a.strstart-1]),d&&h(a,!1),a.strstart++,a.lookahead--,0===a.strm.avail_out)return ua}else a.match_available=1,a.strstart++,a.lookahead--}return a.match_available&&(d=F._tr_tally(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<ja-1?a.strstart:ja-1,b===M?(h(a,!0),0===a.strm.avail_out?wa:xa):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?ua:va}function q(a,b){for(var c,d,e,f,g=a.window;;){if(a.lookahead<=ka){if(m(a),a.lookahead<=ka&&b===J)return ua;if(0===a.lookahead)break}if(a.match_length=0,a.lookahead>=ja&&a.strstart>0&&(e=a.strstart-1,d=g[e],d===g[++e]&&d===g[++e]&&d===g[++e])){f=a.strstart+ka;do;while(d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&e<f);a.match_length=ka-(f-e),a.match_length>a.lookahead&&(a.match_length=a.lookahead)}if(a.match_length>=ja?(c=F._tr_tally(a,1,a.match_length-ja),a.lookahead-=a.match_length,a.strstart+=a.match_length,a.match_length=0):(c=F._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++),c&&(h(a,!1),0===a.strm.avail_out))return ua}return a.insert=0,b===M?(h(a,!0),0===a.strm.avail_out?wa:xa):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?ua:va}function r(a,b){for(var c;;){if(0===a.lookahead&&(m(a),0===a.lookahead)){if(b===J)return ua;break}if(a.match_length=0,c=F._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++,c&&(h(a,!1),0===a.strm.avail_out))return ua}return a.insert=0,b===M?(h(a,!0),0===a.strm.avail_out?wa:xa):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?ua:va}function s(a,b,c,d,e){this.good_length=a,this.max_lazy=b,this.nice_length=c,this.max_chain=d,this.func=e}function t(a){a.window_size=2*a.w_size,f(a.head),a.max_lazy_match=D[a.level].max_lazy,a.good_match=D[a.level].good_length,a.nice_match=D[a.level].nice_length,a.max_chain_length=D[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=ja-1,a.match_available=0,a.ins_h=0}function u(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=$,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new E.Buf16(2*ha),this.dyn_dtree=new E.Buf16(2*(2*fa+1)),this.bl_tree=new E.Buf16(2*(2*ga+1)),f(this.dyn_ltree),f(this.dyn_dtree),f(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new E.Buf16(ia+1),this.heap=new E.Buf16(2*ea+1),f(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new E.Buf16(2*ea+1),f(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function v(a){var b;return a&&a.state?(a.total_in=a.total_out=0,a.data_type=Z,b=a.state,b.pending=0,b.pending_out=0,b.wrap<0&&(b.wrap=-b.wrap),b.status=b.wrap?na:sa,a.adler=2===b.wrap?0:1,b.last_flush=J,F._tr_init(b),O):d(a,Q)}function w(a){var b=v(a);return b===O&&t(a.state),b}function x(a,b){return a&&a.state?2!==a.state.wrap?Q:(a.state.gzhead=b,O):Q}function y(a,b,c,e,f,g){if(!a)return Q;var h=1;if(b===T&&(b=6),e<0?(h=0,e=-e):e>15&&(h=2,e-=16),f<1||f>_||c!==$||e<8||e>15||b<0||b>9||g<0||g>X)return d(a,Q);8===e&&(e=9);var i=new u;return a.state=i,i.strm=a,i.wrap=h,i.gzhead=null,i.w_bits=e,i.w_size=1<<i.w_bits,i.w_mask=i.w_size-1,i.hash_bits=f+7,i.hash_size=1<<i.hash_bits,i.hash_mask=i.hash_size-1,i.hash_shift=~~((i.hash_bits+ja-1)/ja),i.window=new E.Buf8(2*i.w_size),i.head=new E.Buf16(i.hash_size),i.prev=new E.Buf16(i.w_size),i.lit_bufsize=1<<f+6,i.pending_buf_size=4*i.lit_bufsize,i.pending_buf=new E.Buf8(i.pending_buf_size),i.d_buf=1*i.lit_bufsize,i.l_buf=3*i.lit_bufsize,i.level=b,i.strategy=g,i.method=c,w(a)}function z(a,b){return y(a,b,$,aa,ba,Y)}function A(a,b){var c,h,k,l;if(!a||!a.state||b>N||b<0)return a?d(a,Q):Q;if(h=a.state,!a.output||!a.input&&0!==a.avail_in||h.status===ta&&b!==M)return d(a,0===a.avail_out?S:Q);if(h.strm=a,c=h.last_flush,h.last_flush=b,h.status===na)if(2===h.wrap)a.adler=0,i(h,31),i(h,139),i(h,8),h.gzhead?(i(h,(h.gzhead.text?1:0)+(h.gzhead.hcrc?2:0)+(h.gzhead.extra?4:0)+(h.gzhead.name?8:0)+(h.gzhead.comment?16:0)),i(h,255&h.gzhead.time),i(h,h.gzhead.time>>8&255),i(h,h.gzhead.time>>16&255),i(h,h.gzhead.time>>24&255),i(h,9===h.level?2:h.strategy>=V||h.level<2?4:0),i(h,255&h.gzhead.os),h.gzhead.extra&&h.gzhead.extra.length&&(i(h,255&h.gzhead.extra.length),i(h,h.gzhead.extra.length>>8&255)),h.gzhead.hcrc&&(a.adler=H(a.adler,h.pending_buf,h.pending,0)),h.gzindex=0,h.status=oa):(i(h,0),i(h,0),i(h,0),i(h,0),i(h,0),i(h,9===h.level?2:h.strategy>=V||h.level<2?4:0),i(h,ya),h.status=sa);else{var m=$+(h.w_bits-8<<4)<<8,n=-1;n=h.strategy>=V||h.level<2?0:h.level<6?1:6===h.level?2:3,m|=n<<6,0!==h.strstart&&(m|=ma),m+=31-m%31,h.status=sa,j(h,m),0!==h.strstart&&(j(h,a.adler>>>16),j(h,65535&a.adler)),a.adler=1}if(h.status===oa)if(h.gzhead.extra){for(k=h.pending;h.gzindex<(65535&h.gzhead.extra.length)&&(h.pending!==h.pending_buf_size||(h.gzhead.hcrc&&h.pending>k&&(a.adler=H(a.adler,h.pending_buf,h.pending-k,k)),g(a),k=h.pending,h.pending!==h.pending_buf_size));)i(h,255&h.gzhead.extra[h.gzindex]),h.gzindex++;h.gzhead.hcrc&&h.pending>k&&(a.adler=H(a.adler,h.pending_buf,h.pending-k,k)),h.gzindex===h.gzhead.extra.length&&(h.gzindex=0,h.status=pa)}else h.status=pa;if(h.status===pa)if(h.gzhead.name){k=h.pending;do{if(h.pending===h.pending_buf_size&&(h.gzhead.hcrc&&h.pending>k&&(a.adler=H(a.adler,h.pending_buf,h.pending-k,k)),g(a),k=h.pending,h.pending===h.pending_buf_size)){l=1;break}l=h.gzindex<h.gzhead.name.length?255&h.gzhead.name.charCodeAt(h.gzindex++):0,i(h,l)}while(0!==l);h.gzhead.hcrc&&h.pending>k&&(a.adler=H(a.adler,h.pending_buf,h.pending-k,k)),0===l&&(h.gzindex=0,h.status=qa)}else h.status=qa;if(h.status===qa)if(h.gzhead.comment){k=h.pending;do{if(h.pending===h.pending_buf_size&&(h.gzhead.hcrc&&h.pending>k&&(a.adler=H(a.adler,h.pending_buf,h.pending-k,k)),g(a),k=h.pending,h.pending===h.pending_buf_size)){l=1;break}l=h.gzindex<h.gzhead.comment.length?255&h.gzhead.comment.charCodeAt(h.gzindex++):0,i(h,l)}while(0!==l);h.gzhead.hcrc&&h.pending>k&&(a.adler=H(a.adler,h.pending_buf,h.pending-k,k)),0===l&&(h.status=ra)}else h.status=ra;if(h.status===ra&&(h.gzhead.hcrc?(h.pending+2>h.pending_buf_size&&g(a),h.pending+2<=h.pending_buf_size&&(i(h,255&a.adler),i(h,a.adler>>8&255),a.adler=0,h.status=sa)):h.status=sa),0!==h.pending){if(g(a),0===a.avail_out)return h.last_flush=-1,O}else if(0===a.avail_in&&e(b)<=e(c)&&b!==M)return d(a,S);if(h.status===ta&&0!==a.avail_in)return d(a,S);if(0!==a.avail_in||0!==h.lookahead||b!==J&&h.status!==ta){var o=h.strategy===V?r(h,b):h.strategy===W?q(h,b):D[h.level].func(h,b);if(o!==wa&&o!==xa||(h.status=ta),o===ua||o===wa)return 0===a.avail_out&&(h.last_flush=-1),O;if(o===va&&(b===K?F._tr_align(h):b!==N&&(F._tr_stored_block(h,0,0,!1),b===L&&(f(h.head),0===h.lookahead&&(h.strstart=0,h.block_start=0,h.insert=0))),g(a),0===a.avail_out))return h.last_flush=-1,O}return b!==M?O:h.wrap<=0?P:(2===h.wrap?(i(h,255&a.adler),i(h,a.adler>>8&255),i(h,a.adler>>16&255),i(h,a.adler>>24&255),i(h,255&a.total_in),i(h,a.total_in>>8&255),i(h,a.total_in>>16&255),i(h,a.total_in>>24&255)):(j(h,a.adler>>>16),j(h,65535&a.adler)),g(a),h.wrap>0&&(h.wrap=-h.wrap),0!==h.pending?O:P)}function B(a){var b;return a&&a.state?(b=a.state.status,b!==na&&b!==oa&&b!==pa&&b!==qa&&b!==ra&&b!==sa&&b!==ta?d(a,Q):(a.state=null,b===sa?d(a,R):O)):Q}function C(a,b){var c,d,e,g,h,i,j,k,l=b.length;if(!a||!a.state)return Q;if(c=a.state,g=c.wrap,2===g||1===g&&c.status!==na||c.lookahead)return Q;for(1===g&&(a.adler=G(a.adler,b,l,0)),c.wrap=0,l>=c.w_size&&(0===g&&(f(c.head),c.strstart=0,c.block_start=0,c.insert=0),k=new E.Buf8(c.w_size),E.arraySet(k,b,l-c.w_size,c.w_size,0),b=k,l=c.w_size),h=a.avail_in,i=a.next_in,j=a.input,a.avail_in=l,a.next_in=0,a.input=b,m(c);c.lookahead>=ja;){d=c.strstart,e=c.lookahead-(ja-1);do c.ins_h=(c.ins_h<<c.hash_shift^c.window[d+ja-1])&c.hash_mask,c.prev[d&c.w_mask]=c.head[c.ins_h],c.head[c.ins_h]=d,d++;while(--e);c.strstart=d,c.lookahead=ja-1,m(c)}return c.strstart+=c.lookahead,c.block_start=c.strstart,c.insert=c.lookahead,c.lookahead=0,c.match_length=c.prev_length=ja-1,c.match_available=0,a.next_in=i,a.input=j,a.avail_in=h,c.wrap=g,O}var D,E=a("../utils/common"),F=a("./trees"),G=a("./adler32"),H=a("./crc32"),I=a("./messages"),J=0,K=1,L=3,M=4,N=5,O=0,P=1,Q=-2,R=-3,S=-5,T=-1,U=1,V=2,W=3,X=4,Y=0,Z=2,$=8,_=9,aa=15,ba=8,ca=29,da=256,ea=da+1+ca,fa=30,ga=19,ha=2*ea+1,ia=15,ja=3,ka=258,la=ka+ja+1,ma=32,na=42,oa=69,pa=73,qa=91,ra=103,sa=113,ta=666,ua=1,va=2,wa=3,xa=4,ya=3;D=[new s(0,0,0,0,n),new s(4,4,8,4,o),new s(4,5,16,8,o),new s(4,6,32,32,o),new s(4,4,16,16,p),new s(8,16,32,32,p),new s(8,16,128,128,p),new s(8,32,128,256,p),new s(32,128,258,1024,p),new s(32,258,258,4096,p)],c.deflateInit=z,c.deflateInit2=y,c.deflateReset=w,c.deflateResetKeep=v,c.deflateSetHeader=x,c.deflate=A,c.deflateEnd=B,c.deflateSetDictionary=C,c.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":62,"./adler32":64,"./crc32":66,"./messages":72,"./trees":73}],68:[function(a,b,c){"use strict";function d(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}b.exports=d},{}],69:[function(a,b,c){"use strict";var d=30,e=12;b.exports=function(a,b){var c,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C;c=a.state,f=a.next_in,B=a.input,g=f+(a.avail_in-5),h=a.next_out,C=a.output,i=h-(b-a.avail_out),j=h+(a.avail_out-257),k=c.dmax,l=c.wsize,m=c.whave,n=c.wnext,o=c.window,p=c.hold,q=c.bits,r=c.lencode,s=c.distcode,t=(1<<c.lenbits)-1,u=(1<<c.distbits)-1;a:do{q<15&&(p+=B[f++]<<q,q+=8,p+=B[f++]<<q,q+=8),v=r[p&t];b:for(;;){if(w=v>>>24,p>>>=w,q-=w,w=v>>>16&255,0===w)C[h++]=65535&v;else{if(!(16&w)){if(0===(64&w)){v=r[(65535&v)+(p&(1<<w)-1)];continue b}if(32&w){c.mode=e;break a}a.msg="invalid literal/length code",c.mode=d;break a}x=65535&v,w&=15,w&&(q<w&&(p+=B[f++]<<q,q+=8),x+=p&(1<<w)-1,p>>>=w,q-=w),q<15&&(p+=B[f++]<<q,q+=8,p+=B[f++]<<q,q+=8),v=s[p&u];c:for(;;){if(w=v>>>24,p>>>=w,q-=w,w=v>>>16&255,!(16&w)){if(0===(64&w)){v=s[(65535&v)+(p&(1<<w)-1)];continue c}a.msg="invalid distance code",c.mode=d;break a}if(y=65535&v,w&=15,q<w&&(p+=B[f++]<<q,q+=8,q<w&&(p+=B[f++]<<q,q+=8)),y+=p&(1<<w)-1,y>k){a.msg="invalid distance too far back",c.mode=d;break a}if(p>>>=w,q-=w,w=h-i,y>w){if(w=y-w,w>m&&c.sane){a.msg="invalid distance too far back",c.mode=d;break a}if(z=0,A=o,0===n){if(z+=l-w,w<x){x-=w;do C[h++]=o[z++];while(--w);z=h-y,A=C}}else if(n<w){if(z+=l+n-w,w-=n,w<x){x-=w;do C[h++]=o[z++];while(--w);if(z=0,n<x){w=n,x-=w;do C[h++]=o[z++];while(--w);z=h-y,A=C}}}else if(z+=n-w,w<x){x-=w;do C[h++]=o[z++];while(--w);z=h-y,A=C}for(;x>2;)C[h++]=A[z++],C[h++]=A[z++],C[h++]=A[z++],x-=3;x&&(C[h++]=A[z++],x>1&&(C[h++]=A[z++]))}else{z=h-y;do C[h++]=C[z++],C[h++]=C[z++],C[h++]=C[z++],x-=3;while(x>2);x&&(C[h++]=C[z++],x>1&&(C[h++]=C[z++]))}break}}break}}while(f<g&&h<j);x=q>>3,f-=x,q-=x<<3,p&=(1<<q)-1,a.next_in=f,a.next_out=h,a.avail_in=f<g?5+(g-f):5-(f-g),a.avail_out=h<j?257+(j-h):257-(h-j),c.hold=p,c.bits=q}},{}],70:[function(a,b,c){"use strict";function d(a){return(a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)}function e(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new s.Buf16(320),this.work=new s.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function f(a){var b;return a&&a.state?(b=a.state,a.total_in=a.total_out=b.total=0,a.msg="",b.wrap&&(a.adler=1&b.wrap),b.mode=L,b.last=0,b.havedict=0,b.dmax=32768,b.head=null,b.hold=0,b.bits=0,b.lencode=b.lendyn=new s.Buf32(pa),b.distcode=b.distdyn=new s.Buf32(qa),b.sane=1,b.back=-1,D):G}function g(a){var b;return a&&a.state?(b=a.state,b.wsize=0,b.whave=0,b.wnext=0,f(a)):G}function h(a,b){var c,d;return a&&a.state?(d=a.state,b<0?(c=0,b=-b):(c=(b>>4)+1,b<48&&(b&=15)),b&&(b<8||b>15)?G:(null!==d.window&&d.wbits!==b&&(d.window=null),d.wrap=c,d.wbits=b,g(a))):G}function i(a,b){var c,d;return a?(d=new e,a.state=d,d.window=null,c=h(a,b),c!==D&&(a.state=null),c):G}function j(a){return i(a,sa)}function k(a){if(ta){var b;for(q=new s.Buf32(512),r=new s.Buf32(32),b=0;b<144;)a.lens[b++]=8;for(;b<256;)a.lens[b++]=9;for(;b<280;)a.lens[b++]=7;for(;b<288;)a.lens[b++]=8;for(w(y,a.lens,0,288,q,0,a.work,{bits:9}),b=0;b<32;)a.lens[b++]=5;w(z,a.lens,0,32,r,0,a.work,{bits:5}),ta=!1}a.lencode=q,a.lenbits=9,a.distcode=r,a.distbits=5}function l(a,b,c,d){var e,f=a.state;return null===f.window&&(f.wsize=1<<f.wbits,f.wnext=0,f.whave=0,f.window=new s.Buf8(f.wsize)),d>=f.wsize?(s.arraySet(f.window,b,c-f.wsize,f.wsize,0),f.wnext=0,f.whave=f.wsize):(e=f.wsize-f.wnext,e>d&&(e=d),s.arraySet(f.window,b,c-d,e,f.wnext),d-=e,d?(s.arraySet(f.window,b,c-d,d,0),f.wnext=d,f.whave=f.wsize):(f.wnext+=e,f.wnext===f.wsize&&(f.wnext=0),f.whave<f.wsize&&(f.whave+=e))),0}function m(a,b){var c,e,f,g,h,i,j,m,n,o,p,q,r,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,za,Aa=0,Ba=new s.Buf8(4),Ca=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!a||!a.state||!a.output||!a.input&&0!==a.avail_in)return G;c=a.state,c.mode===W&&(c.mode=X),h=a.next_out,f=a.output,j=a.avail_out,g=a.next_in,e=a.input,i=a.avail_in,m=c.hold,n=c.bits,o=i,p=j,xa=D;a:for(;;)switch(c.mode){case L:if(0===c.wrap){c.mode=X;break}for(;n<16;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(2&c.wrap&&35615===m){c.check=0,Ba[0]=255&m,Ba[1]=m>>>8&255,c.check=u(c.check,Ba,2,0),m=0,n=0,c.mode=M;break}if(c.flags=0,c.head&&(c.head.done=!1),!(1&c.wrap)||(((255&m)<<8)+(m>>8))%31){a.msg="incorrect header check",c.mode=ma;break}if((15&m)!==K){a.msg="unknown compression method",c.mode=ma;break}if(m>>>=4,n-=4,wa=(15&m)+8,0===c.wbits)c.wbits=wa;else if(wa>c.wbits){a.msg="invalid window size",c.mode=ma;break}c.dmax=1<<wa,a.adler=c.check=1,c.mode=512&m?U:W,m=0,n=0;break;case M:for(;n<16;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(c.flags=m,(255&c.flags)!==K){a.msg="unknown compression method",c.mode=ma;break}if(57344&c.flags){a.msg="unknown header flags set",c.mode=ma;break}c.head&&(c.head.text=m>>8&1),512&c.flags&&(Ba[0]=255&m,Ba[1]=m>>>8&255,c.check=u(c.check,Ba,2,0)),m=0,n=0,c.mode=N;case N:for(;n<32;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.head&&(c.head.time=m),512&c.flags&&(Ba[0]=255&m,Ba[1]=m>>>8&255,Ba[2]=m>>>16&255,Ba[3]=m>>>24&255,c.check=u(c.check,Ba,4,0)),m=0,n=0,c.mode=O;case O:for(;n<16;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.head&&(c.head.xflags=255&m,c.head.os=m>>8),512&c.flags&&(Ba[0]=255&m,Ba[1]=m>>>8&255,c.check=u(c.check,Ba,2,0)),m=0,n=0,c.mode=P;case P:if(1024&c.flags){for(;n<16;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.length=m,c.head&&(c.head.extra_len=m),512&c.flags&&(Ba[0]=255&m,Ba[1]=m>>>8&255,c.check=u(c.check,Ba,2,0)),m=0,n=0}else c.head&&(c.head.extra=null);c.mode=Q;case Q:if(1024&c.flags&&(q=c.length,q>i&&(q=i),q&&(c.head&&(wa=c.head.extra_len-c.length,c.head.extra||(c.head.extra=new Array(c.head.extra_len)),s.arraySet(c.head.extra,e,g,q,wa)),512&c.flags&&(c.check=u(c.check,e,q,g)),i-=q,g+=q,c.length-=q),c.length))break a;c.length=0,c.mode=R;case R:if(2048&c.flags){if(0===i)break a;q=0;do wa=e[g+q++],c.head&&wa&&c.length<65536&&(c.head.name+=String.fromCharCode(wa));while(wa&&q<i);if(512&c.flags&&(c.check=u(c.check,e,q,g)),i-=q,g+=q,wa)break a}else c.head&&(c.head.name=null);c.length=0,c.mode=S;case S:if(4096&c.flags){if(0===i)break a;q=0;do wa=e[g+q++],c.head&&wa&&c.length<65536&&(c.head.comment+=String.fromCharCode(wa));while(wa&&q<i);if(512&c.flags&&(c.check=u(c.check,e,q,g)),i-=q,g+=q,wa)break a}else c.head&&(c.head.comment=null);c.mode=T;case T:if(512&c.flags){for(;n<16;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(m!==(65535&c.check)){a.msg="header crc mismatch",c.mode=ma;break}m=0,n=0}c.head&&(c.head.hcrc=c.flags>>9&1,c.head.done=!0),a.adler=c.check=0,c.mode=W;break;case U:for(;n<32;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}a.adler=c.check=d(m),m=0,n=0,c.mode=V;case V:if(0===c.havedict)return a.next_out=h,a.avail_out=j,a.next_in=g,a.avail_in=i,c.hold=m,c.bits=n,F;a.adler=c.check=1,c.mode=W;case W:if(b===B||b===C)break a;case X:if(c.last){m>>>=7&n,n-=7&n,c.mode=ja;break}for(;n<3;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}switch(c.last=1&m,m>>>=1,n-=1,3&m){case 0:c.mode=Y;break;case 1:if(k(c),c.mode=ca,b===C){m>>>=2,n-=2;break a}break;case 2:c.mode=_;break;case 3:a.msg="invalid block type",c.mode=ma}m>>>=2,n-=2;break;case Y:for(m>>>=7&n,n-=7&n;n<32;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if((65535&m)!==(m>>>16^65535)){a.msg="invalid stored block lengths",c.mode=ma;break}if(c.length=65535&m,m=0,n=0,c.mode=Z,b===C)break a;case Z:c.mode=$;case $:if(q=c.length){if(q>i&&(q=i),q>j&&(q=j),0===q)break a;s.arraySet(f,e,g,q,h),i-=q,g+=q,j-=q,h+=q,c.length-=q;break}c.mode=W;break;case _:for(;n<14;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(c.nlen=(31&m)+257,m>>>=5,n-=5,c.ndist=(31&m)+1,m>>>=5,n-=5,c.ncode=(15&m)+4,m>>>=4,n-=4,c.nlen>286||c.ndist>30){a.msg="too many length or distance symbols",c.mode=ma;break}c.have=0,c.mode=aa;case aa:for(;c.have<c.ncode;){for(;n<3;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.lens[Ca[c.have++]]=7&m,m>>>=3,n-=3}for(;c.have<19;)c.lens[Ca[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,ya={bits:c.lenbits},xa=w(x,c.lens,0,19,c.lencode,0,c.work,ya),c.lenbits=ya.bits,xa){a.msg="invalid code lengths set",c.mode=ma;break}c.have=0,c.mode=ba;case ba:for(;c.have<c.nlen+c.ndist;){for(;Aa=c.lencode[m&(1<<c.lenbits)-1],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(qa<=n);){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(sa<16)m>>>=qa,n-=qa,c.lens[c.have++]=sa;else{if(16===sa){for(za=qa+2;n<za;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(m>>>=qa,n-=qa,0===c.have){a.msg="invalid bit length repeat",c.mode=ma;break}wa=c.lens[c.have-1],q=3+(3&m),m>>>=2,n-=2}else if(17===sa){for(za=qa+3;n<za;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}m>>>=qa,n-=qa,wa=0,q=3+(7&m),m>>>=3,n-=3}else{for(za=qa+7;n<za;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}m>>>=qa,n-=qa,wa=0,q=11+(127&m),m>>>=7,n-=7}if(c.have+q>c.nlen+c.ndist){a.msg="invalid bit length repeat",c.mode=ma;break}for(;q--;)c.lens[c.have++]=wa}}if(c.mode===ma)break;if(0===c.lens[256]){a.msg="invalid code -- missing end-of-block",c.mode=ma;break}if(c.lenbits=9,ya={bits:c.lenbits},xa=w(y,c.lens,0,c.nlen,c.lencode,0,c.work,ya),c.lenbits=ya.bits,xa){a.msg="invalid literal/lengths set",c.mode=ma;break}if(c.distbits=6,c.distcode=c.distdyn,ya={bits:c.distbits},xa=w(z,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,ya),c.distbits=ya.bits,xa){a.msg="invalid distances set",c.mode=ma;break}if(c.mode=ca,b===C)break a;case ca:c.mode=da;case da:if(i>=6&&j>=258){a.next_out=h,a.avail_out=j,a.next_in=g,a.avail_in=i,c.hold=m,c.bits=n,v(a,p),h=a.next_out,f=a.output,j=a.avail_out,g=a.next_in,e=a.input,i=a.avail_in,m=c.hold,n=c.bits,c.mode===W&&(c.back=-1);break}for(c.back=0;Aa=c.lencode[m&(1<<c.lenbits)-1],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(qa<=n);){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(ra&&0===(240&ra)){for(ta=qa,ua=ra,va=sa;Aa=c.lencode[va+((m&(1<<ta+ua)-1)>>ta)],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(ta+qa<=n);){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}m>>>=ta,n-=ta,c.back+=ta}if(m>>>=qa,n-=qa,c.back+=qa,c.length=sa,0===ra){c.mode=ia;break}if(32&ra){c.back=-1,c.mode=W;break}if(64&ra){a.msg="invalid literal/length code",c.mode=ma;break}c.extra=15&ra,c.mode=ea;case ea:if(c.extra){for(za=c.extra;n<za;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.length+=m&(1<<c.extra)-1,m>>>=c.extra,n-=c.extra,c.back+=c.extra}c.was=c.length,c.mode=fa;case fa:for(;Aa=c.distcode[m&(1<<c.distbits)-1],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(qa<=n);){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(0===(240&ra)){for(ta=qa,ua=ra,va=sa;Aa=c.distcode[va+((m&(1<<ta+ua)-1)>>ta)],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(ta+qa<=n);){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}m>>>=ta,n-=ta,c.back+=ta}if(m>>>=qa,n-=qa,c.back+=qa,64&ra){a.msg="invalid distance code",c.mode=ma;break}c.offset=sa,c.extra=15&ra,c.mode=ga;case ga:if(c.extra){for(za=c.extra;n<za;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.offset+=m&(1<<c.extra)-1,m>>>=c.extra,n-=c.extra,c.back+=c.extra}if(c.offset>c.dmax){a.msg="invalid distance too far back",c.mode=ma;break}c.mode=ha;case ha:if(0===j)break a;if(q=p-j,c.offset>q){if(q=c.offset-q,q>c.whave&&c.sane){a.msg="invalid distance too far back",c.mode=ma;break}q>c.wnext?(q-=c.wnext,r=c.wsize-q):r=c.wnext-q,q>c.length&&(q=c.length),pa=c.window}else pa=f,r=h-c.offset,q=c.length;q>j&&(q=j),j-=q,c.length-=q;do f[h++]=pa[r++];while(--q);0===c.length&&(c.mode=da);break;case ia:if(0===j)break a;f[h++]=c.length,j--,c.mode=da;break;case ja:if(c.wrap){for(;n<32;){if(0===i)break a;i--,m|=e[g++]<<n,n+=8}if(p-=j,a.total_out+=p,c.total+=p,p&&(a.adler=c.check=c.flags?u(c.check,f,p,h-p):t(c.check,f,p,h-p)),p=j,(c.flags?m:d(m))!==c.check){a.msg="incorrect data check",c.mode=ma;break}m=0,n=0}c.mode=ka;case ka:if(c.wrap&&c.flags){for(;n<32;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(m!==(4294967295&c.total)){a.msg="incorrect length check",c.mode=ma;break}m=0,n=0}c.mode=la;case la:xa=E;break a;case ma:xa=H;break a;case na:return I;case oa:default:return G}return a.next_out=h,a.avail_out=j,a.next_in=g,a.avail_in=i,c.hold=m,c.bits=n,(c.wsize||p!==a.avail_out&&c.mode<ma&&(c.mode<ja||b!==A))&&l(a,a.output,a.next_out,p-a.avail_out)?(c.mode=na,I):(o-=a.avail_in,p-=a.avail_out,a.total_in+=o,a.total_out+=p,c.total+=p,c.wrap&&p&&(a.adler=c.check=c.flags?u(c.check,f,p,a.next_out-p):t(c.check,f,p,a.next_out-p)),a.data_type=c.bits+(c.last?64:0)+(c.mode===W?128:0)+(c.mode===ca||c.mode===Z?256:0),(0===o&&0===p||b===A)&&xa===D&&(xa=J),xa)}function n(a){if(!a||!a.state)return G;var b=a.state;return b.window&&(b.window=null),a.state=null,D}function o(a,b){var c;return a&&a.state?(c=a.state,0===(2&c.wrap)?G:(c.head=b,b.done=!1,D)):G}function p(a,b){var c,d,e,f=b.length;return a&&a.state?(c=a.state,0!==c.wrap&&c.mode!==V?G:c.mode===V&&(d=1,d=t(d,b,f,0),d!==c.check)?H:(e=l(a,b,f,f))?(c.mode=na,I):(c.havedict=1,D)):G}var q,r,s=a("../utils/common"),t=a("./adler32"),u=a("./crc32"),v=a("./inffast"),w=a("./inftrees"),x=0,y=1,z=2,A=4,B=5,C=6,D=0,E=1,F=2,G=-2,H=-3,I=-4,J=-5,K=8,L=1,M=2,N=3,O=4,P=5,Q=6,R=7,S=8,T=9,U=10,V=11,W=12,X=13,Y=14,Z=15,$=16,_=17,aa=18,ba=19,ca=20,da=21,ea=22,fa=23,ga=24,ha=25,ia=26,ja=27,ka=28,la=29,ma=30,na=31,oa=32,pa=852,qa=592,ra=15,sa=ra,ta=!0;c.inflateReset=g,c.inflateReset2=h,c.inflateResetKeep=f,c.inflateInit=j,c.inflateInit2=i,c.inflate=m,c.inflateEnd=n,c.inflateGetHeader=o,c.inflateSetDictionary=p,c.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":62,"./adler32":64,"./crc32":66,"./inffast":69,"./inftrees":71}],71:[function(a,b,c){"use strict";var d=a("../utils/common"),e=15,f=852,g=592,h=0,i=1,j=2,k=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],l=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],m=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],n=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];b.exports=function(a,b,c,o,p,q,r,s){var t,u,v,w,x,y,z,A,B,C=s.bits,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=null,O=0,P=new d.Buf16(e+1),Q=new d.Buf16(e+1),R=null,S=0;for(D=0;D<=e;D++)P[D]=0;for(E=0;E<o;E++)P[b[c+E]]++;for(H=C,G=e;G>=1&&0===P[G];G--);if(H>G&&(H=G),0===G)return p[q++]=20971520,p[q++]=20971520,s.bits=1,0;for(F=1;F<G&&0===P[F];F++);for(H<F&&(H=F),K=1,D=1;D<=e;D++)if(K<<=1,K-=P[D],K<0)return-1;if(K>0&&(a===h||1!==G))return-1;for(Q[1]=0,D=1;D<e;D++)Q[D+1]=Q[D]+P[D];for(E=0;E<o;E++)0!==b[c+E]&&(r[Q[b[c+E]]++]=E);if(a===h?(N=R=r,y=19):a===i?(N=k,O-=257,R=l,S-=257,y=256):(N=m,R=n,y=-1),M=0,E=0,D=F,x=q,I=H,J=0,v=-1,L=1<<H,w=L-1,a===i&&L>f||a===j&&L>g)return 1;for(;;){z=D-J,r[E]<y?(A=0,B=r[E]):r[E]>y?(A=R[S+r[E]],B=N[O+r[E]]):(A=96,B=0),t=1<<D-J,u=1<<I,F=u;do u-=t,p[x+(M>>J)+u]=z<<24|A<<16|B|0;while(0!==u);for(t=1<<D-1;M&t;)t>>=1;if(0!==t?(M&=t-1,M+=t):M=0,E++,0===--P[D]){if(D===G)break;D=b[c+r[E]]}if(D>H&&(M&w)!==v){for(0===J&&(J=H),x+=F,I=D-J,K=1<<I;I+J<G&&(K-=P[I+J],!(K<=0));)I++,K<<=1;if(L+=1<<I,a===i&&L>f||a===j&&L>g)return 1;v=M&w,p[v]=H<<24|I<<16|x-q|0}}return 0!==M&&(p[x+M]=D-J<<24|64<<16|0),s.bits=H,0}},{"../utils/common":62}],72:[function(a,b,c){"use strict";b.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],73:[function(a,b,c){"use strict";function d(a){for(var b=a.length;--b>=0;)a[b]=0}function e(a,b,c,d,e){this.static_tree=a,this.extra_bits=b,this.extra_base=c,this.elems=d,this.max_length=e,this.has_stree=a&&a.length}function f(a,b){this.dyn_tree=a,this.max_code=0,this.stat_desc=b}function g(a){return a<256?ia[a]:ia[256+(a>>>7)]}function h(a,b){a.pending_buf[a.pending++]=255&b,a.pending_buf[a.pending++]=b>>>8&255}function i(a,b,c){a.bi_valid>X-c?(a.bi_buf|=b<<a.bi_valid&65535,h(a,a.bi_buf),a.bi_buf=b>>X-a.bi_valid,a.bi_valid+=c-X):(a.bi_buf|=b<<a.bi_valid&65535,a.bi_valid+=c)}function j(a,b,c){i(a,c[2*b],c[2*b+1])}function k(a,b){var c=0;do c|=1&a,a>>>=1,c<<=1;while(--b>0);return c>>>1}function l(a){16===a.bi_valid?(h(a,a.bi_buf),a.bi_buf=0,a.bi_valid=0):a.bi_valid>=8&&(a.pending_buf[a.pending++]=255&a.bi_buf,a.bi_buf>>=8,a.bi_valid-=8)}function m(a,b){var c,d,e,f,g,h,i=b.dyn_tree,j=b.max_code,k=b.stat_desc.static_tree,l=b.stat_desc.has_stree,m=b.stat_desc.extra_bits,n=b.stat_desc.extra_base,o=b.stat_desc.max_length,p=0;for(f=0;f<=W;f++)a.bl_count[f]=0;for(i[2*a.heap[a.heap_max]+1]=0,\nc=a.heap_max+1;c<V;c++)d=a.heap[c],f=i[2*i[2*d+1]+1]+1,f>o&&(f=o,p++),i[2*d+1]=f,d>j||(a.bl_count[f]++,g=0,d>=n&&(g=m[d-n]),h=i[2*d],a.opt_len+=h*(f+g),l&&(a.static_len+=h*(k[2*d+1]+g)));if(0!==p){do{for(f=o-1;0===a.bl_count[f];)f--;a.bl_count[f]--,a.bl_count[f+1]+=2,a.bl_count[o]--,p-=2}while(p>0);for(f=o;0!==f;f--)for(d=a.bl_count[f];0!==d;)e=a.heap[--c],e>j||(i[2*e+1]!==f&&(a.opt_len+=(f-i[2*e+1])*i[2*e],i[2*e+1]=f),d--)}}function n(a,b,c){var d,e,f=new Array(W+1),g=0;for(d=1;d<=W;d++)f[d]=g=g+c[d-1]<<1;for(e=0;e<=b;e++){var h=a[2*e+1];0!==h&&(a[2*e]=k(f[h]++,h))}}function o(){var a,b,c,d,f,g=new Array(W+1);for(c=0,d=0;d<Q-1;d++)for(ka[d]=c,a=0;a<1<<ba[d];a++)ja[c++]=d;for(ja[c-1]=d,f=0,d=0;d<16;d++)for(la[d]=f,a=0;a<1<<ca[d];a++)ia[f++]=d;for(f>>=7;d<T;d++)for(la[d]=f<<7,a=0;a<1<<ca[d]-7;a++)ia[256+f++]=d;for(b=0;b<=W;b++)g[b]=0;for(a=0;a<=143;)ga[2*a+1]=8,a++,g[8]++;for(;a<=255;)ga[2*a+1]=9,a++,g[9]++;for(;a<=279;)ga[2*a+1]=7,a++,g[7]++;for(;a<=287;)ga[2*a+1]=8,a++,g[8]++;for(n(ga,S+1,g),a=0;a<T;a++)ha[2*a+1]=5,ha[2*a]=k(a,5);ma=new e(ga,ba,R+1,S,W),na=new e(ha,ca,0,T,W),oa=new e(new Array(0),da,0,U,Y)}function p(a){var b;for(b=0;b<S;b++)a.dyn_ltree[2*b]=0;for(b=0;b<T;b++)a.dyn_dtree[2*b]=0;for(b=0;b<U;b++)a.bl_tree[2*b]=0;a.dyn_ltree[2*Z]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function q(a){a.bi_valid>8?h(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function r(a,b,c,d){q(a),d&&(h(a,c),h(a,~c)),G.arraySet(a.pending_buf,a.window,b,c,a.pending),a.pending+=c}function s(a,b,c,d){var e=2*b,f=2*c;return a[e]<a[f]||a[e]===a[f]&&d[b]<=d[c]}function t(a,b,c){for(var d=a.heap[c],e=c<<1;e<=a.heap_len&&(e<a.heap_len&&s(b,a.heap[e+1],a.heap[e],a.depth)&&e++,!s(b,d,a.heap[e],a.depth));)a.heap[c]=a.heap[e],c=e,e<<=1;a.heap[c]=d}function u(a,b,c){var d,e,f,h,k=0;if(0!==a.last_lit)do d=a.pending_buf[a.d_buf+2*k]<<8|a.pending_buf[a.d_buf+2*k+1],e=a.pending_buf[a.l_buf+k],k++,0===d?j(a,e,b):(f=ja[e],j(a,f+R+1,b),h=ba[f],0!==h&&(e-=ka[f],i(a,e,h)),d--,f=g(d),j(a,f,c),h=ca[f],0!==h&&(d-=la[f],i(a,d,h)));while(k<a.last_lit);j(a,Z,b)}function v(a,b){var c,d,e,f=b.dyn_tree,g=b.stat_desc.static_tree,h=b.stat_desc.has_stree,i=b.stat_desc.elems,j=-1;for(a.heap_len=0,a.heap_max=V,c=0;c<i;c++)0!==f[2*c]?(a.heap[++a.heap_len]=j=c,a.depth[c]=0):f[2*c+1]=0;for(;a.heap_len<2;)e=a.heap[++a.heap_len]=j<2?++j:0,f[2*e]=1,a.depth[e]=0,a.opt_len--,h&&(a.static_len-=g[2*e+1]);for(b.max_code=j,c=a.heap_len>>1;c>=1;c--)t(a,f,c);e=i;do c=a.heap[1],a.heap[1]=a.heap[a.heap_len--],t(a,f,1),d=a.heap[1],a.heap[--a.heap_max]=c,a.heap[--a.heap_max]=d,f[2*e]=f[2*c]+f[2*d],a.depth[e]=(a.depth[c]>=a.depth[d]?a.depth[c]:a.depth[d])+1,f[2*c+1]=f[2*d+1]=e,a.heap[1]=e++,t(a,f,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],m(a,b),n(f,j,a.bl_count)}function w(a,b,c){var d,e,f=-1,g=b[1],h=0,i=7,j=4;for(0===g&&(i=138,j=3),b[2*(c+1)+1]=65535,d=0;d<=c;d++)e=g,g=b[2*(d+1)+1],++h<i&&e===g||(h<j?a.bl_tree[2*e]+=h:0!==e?(e!==f&&a.bl_tree[2*e]++,a.bl_tree[2*$]++):h<=10?a.bl_tree[2*_]++:a.bl_tree[2*aa]++,h=0,f=e,0===g?(i=138,j=3):e===g?(i=6,j=3):(i=7,j=4))}function x(a,b,c){var d,e,f=-1,g=b[1],h=0,k=7,l=4;for(0===g&&(k=138,l=3),d=0;d<=c;d++)if(e=g,g=b[2*(d+1)+1],!(++h<k&&e===g)){if(h<l){do j(a,e,a.bl_tree);while(0!==--h)}else 0!==e?(e!==f&&(j(a,e,a.bl_tree),h--),j(a,$,a.bl_tree),i(a,h-3,2)):h<=10?(j(a,_,a.bl_tree),i(a,h-3,3)):(j(a,aa,a.bl_tree),i(a,h-11,7));h=0,f=e,0===g?(k=138,l=3):e===g?(k=6,l=3):(k=7,l=4)}}function y(a){var b;for(w(a,a.dyn_ltree,a.l_desc.max_code),w(a,a.dyn_dtree,a.d_desc.max_code),v(a,a.bl_desc),b=U-1;b>=3&&0===a.bl_tree[2*ea[b]+1];b--);return a.opt_len+=3*(b+1)+5+5+4,b}function z(a,b,c,d){var e;for(i(a,b-257,5),i(a,c-1,5),i(a,d-4,4),e=0;e<d;e++)i(a,a.bl_tree[2*ea[e]+1],3);x(a,a.dyn_ltree,b-1),x(a,a.dyn_dtree,c-1)}function A(a){var b,c=4093624447;for(b=0;b<=31;b++,c>>>=1)if(1&c&&0!==a.dyn_ltree[2*b])return I;if(0!==a.dyn_ltree[18]||0!==a.dyn_ltree[20]||0!==a.dyn_ltree[26])return J;for(b=32;b<R;b++)if(0!==a.dyn_ltree[2*b])return J;return I}function B(a){pa||(o(),pa=!0),a.l_desc=new f(a.dyn_ltree,ma),a.d_desc=new f(a.dyn_dtree,na),a.bl_desc=new f(a.bl_tree,oa),a.bi_buf=0,a.bi_valid=0,p(a)}function C(a,b,c,d){i(a,(L<<1)+(d?1:0),3),r(a,b,c,!0)}function D(a){i(a,M<<1,3),j(a,Z,ga),l(a)}function E(a,b,c,d){var e,f,g=0;a.level>0?(a.strm.data_type===K&&(a.strm.data_type=A(a)),v(a,a.l_desc),v(a,a.d_desc),g=y(a),e=a.opt_len+3+7>>>3,f=a.static_len+3+7>>>3,f<=e&&(e=f)):e=f=c+5,c+4<=e&&b!==-1?C(a,b,c,d):a.strategy===H||f===e?(i(a,(M<<1)+(d?1:0),3),u(a,ga,ha)):(i(a,(N<<1)+(d?1:0),3),z(a,a.l_desc.max_code+1,a.d_desc.max_code+1,g+1),u(a,a.dyn_ltree,a.dyn_dtree)),p(a),d&&q(a)}function F(a,b,c){return a.pending_buf[a.d_buf+2*a.last_lit]=b>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&b,a.pending_buf[a.l_buf+a.last_lit]=255&c,a.last_lit++,0===b?a.dyn_ltree[2*c]++:(a.matches++,b--,a.dyn_ltree[2*(ja[c]+R+1)]++,a.dyn_dtree[2*g(b)]++),a.last_lit===a.lit_bufsize-1}var G=a("../utils/common"),H=4,I=0,J=1,K=2,L=0,M=1,N=2,O=3,P=258,Q=29,R=256,S=R+1+Q,T=30,U=19,V=2*S+1,W=15,X=16,Y=7,Z=256,$=16,_=17,aa=18,ba=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ca=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],da=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ea=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],fa=512,ga=new Array(2*(S+2));d(ga);var ha=new Array(2*T);d(ha);var ia=new Array(fa);d(ia);var ja=new Array(P-O+1);d(ja);var ka=new Array(Q);d(ka);var la=new Array(T);d(la);var ma,na,oa,pa=!1;c._tr_init=B,c._tr_stored_block=C,c._tr_flush_block=E,c._tr_tally=F,c._tr_align=D},{"../utils/common":62}],74:[function(a,b,c){"use strict";function d(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}b.exports=d},{}]},{},[10])(10)});<\/script> <script>"use strict";document.onreadystatechange=function(){"complete"==document.readyState&&(window.reader=ePubReader(window.bookPath || \'\',{restore:!0}))};<\/script> <script>/*!\n* screenfull\n* v5.0.0 - 2019-09-09\n* (c) Sindre Sorhus; MIT License\n*/\n\n!function(){"use strict";var u="undefined"!=typeof window&&void 0!==window.document?window.document:{},e="undefined"!=typeof module&&module.exports,t=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],l=0,r=n.length,t={};l<r;l++)if((e=n[l])&&e[1]in u){for(l=0;l<e.length;l++)t[n[0][l]]=e[l];return t}return!1}(),r={change:t.fullscreenchange,error:t.fullscreenerror},n={request:function(r){return new Promise(function(e,n){var l=function(){this.off("change",l),e()}.bind(this);this.on("change",l),r=r||u.documentElement,Promise.resolve(r[t.requestFullscreen]()).catch(n)}.bind(this))},exit:function(){return new Promise(function(e,n){if(this.isFullscreen){var l=function(){this.off("change",l),e()}.bind(this);this.on("change",l),Promise.resolve(u[t.exitFullscreen]()).catch(n)}else e()}.bind(this))},toggle:function(e){return this.isFullscreen?this.exit():this.request(e)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var l=r[e];l&&u.addEventListener(l,n,!1)},off:function(e,n){var l=r[e];l&&u.removeEventListener(l,n,!1)},raw:t};t?(Object.defineProperties(n,{isFullscreen:{get:function(){return Boolean(u[t.fullscreenElement])}},element:{enumerable:!0,get:function(){return u[t.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(u[t.fullscreenEnabled])}}}),e?module.exports=n:window.screenfull=n):e?module.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}();<\/script> <script>!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("xmldom"),function(){try{return require("jszip")}catch(t){}}()):"function"==typeof define&&define.amd?define(["xmldom","jszip"],e):"object"==typeof exports?exports.ePub=e(require("xmldom"),function(){try{return require("jszip")}catch(t){}}()):t.ePub=e(t.xmldom,t.jszip)}("undefined"!=typeof self?self:this,function(t,e){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=25)}([function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(){var t=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?n:7&n|8).toString(16)})}function s(){return Math.max(document.documentElement.clientHeight,document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight)}function o(t){return!(!t||1!=t.nodeType)}function a(t){return!isNaN(parseFloat(t))&&isFinite(t)}function u(t){var e=parseFloat(t);return!1!==a(t)&&("string"==typeof t&&t.indexOf(".")>-1||Math.floor(e)!==e)}function l(t){var e=["Webkit","webkit","Moz","O","ms"],n=["-webkit-","-webkit-","-moz-","-o-","-ms-"],i=t.toLowerCase(),r=e.length;if("undefined"==typeof document||void 0!==document.body.style[i])return t;for(var s=0;s<r;s++)if(void 0!==document.body.style[n[s]+i])return n[s]+i;return t}function h(t){for(var e=1,n=arguments.length;e<n;e++){var i=arguments[e];for(var r in i)void 0===t[r]&&(t[r]=i[r])}return t}function c(t){return[].slice.call(arguments,1).forEach(function(e){e&&Object.getOwnPropertyNames(e).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}),t}function f(t,e,n){var i=d(t,e,n);return e.splice(i,0,t),i}function d(t,e,n,i,r){var s,o=i||0,a=r||e.length,u=parseInt(o+(a-o)/2);return n||(n=function(t,e){return t>e?1:t<e?-1:t==e?0:void 0}),a-o<=0?u:(s=n(e[u],t),a-o==1?s>=0?u:u+1:0===s?u:-1===s?d(t,e,n,u,a):d(t,e,n,o,u))}function p(t,e,n,i,r){var s,o=i||0,a=r||e.length,u=parseInt(o+(a-o)/2);return n||(n=function(t,e){return t>e?1:t<e?-1:t==e?0:void 0}),a-o<=0?-1:(s=n(e[u],t),a-o==1?0===s?u:-1:0===s?u:-1===s?p(t,e,n,u,a):p(t,e,n,o,u))}function v(t){var e=window.getComputedStyle(t),n=["width","paddingRight","paddingLeft","marginRight","marginLeft","borderRightWidth","borderLeftWidth"],i=["height","paddingTop","paddingBottom","marginTop","marginBottom","borderTopWidth","borderBottomWidth"],r=0,s=0;return n.forEach(function(t){r+=parseFloat(e[t])||0}),i.forEach(function(t){s+=parseFloat(e[t])||0}),{height:s,width:r}}function g(t){var e=window.getComputedStyle(t),n=["paddingRight","paddingLeft","marginRight","marginLeft","borderRightWidth","borderLeftWidth"],i=["paddingTop","paddingBottom","marginTop","marginBottom","borderTopWidth","borderBottomWidth"],r=0,s=0;return n.forEach(function(t){r+=parseFloat(e[t])||0}),i.forEach(function(t){s+=parseFloat(e[t])||0}),{height:s,width:r}}function m(t){var e=void 0,n=t.ownerDocument;if(t.nodeType==Node.TEXT_NODE){var i=n.createRange();i.selectNodeContents(t),e=i.getBoundingClientRect()}else e=t.getBoundingClientRect();return e}function y(){var t=window.innerWidth,e=window.innerHeight;return{top:0,left:0,right:t,bottom:e,width:t,height:e}}function b(t,e){for(var n,i=t.parentNode,r=i.childNodes,s=-1,o=0;o<r.length&&(n=r[o],n.nodeType===e&&s++,n!=t);o++);return s}function w(t){return b(t,W)}function E(t){return b(t,V)}function k(t){return["xml","opf","ncx"].indexOf(t)>-1}function x(t,e){return new Blob([t],{type:e})}function _(t,e){var n=x(t,e);return H.createObjectURL(n)}function S(t){return H.revokeObjectURL(t)}function N(t,e){var n;if("string"==typeof t)return n=btoa(encodeURIComponent(t)),"data:"+e+";base64,"+n}function T(t){return Object.prototype.toString.call(t).slice(8,-1)}function C(t,e,i){var r;return r="undefined"==typeof DOMParser||i?n(42).DOMParser:DOMParser,65279===t.charCodeAt(0)&&(t=t.slice(1)),(new r).parseFromString(t,e)}function O(t,e){var n;if(!t)throw new Error("No Element Provided");return void 0!==t.querySelector?t.querySelector(e):(n=t.getElementsByTagName(e),n.length?n[0]:void 0)}function R(t,e){return void 0!==t.querySelector?t.querySelectorAll(e):t.getElementsByTagName(e)}function I(t,e,n){var i,r;if(void 0!==t.querySelector){e+="[";for(var s in n)e+=s+"~=\'"+n[s]+"\'";return e+="]",t.querySelector(e)}if(i=t.getElementsByTagName(e),r=Array.prototype.slice.call(i,0).filter(function(t){for(var e in n)if(t.getAttribute(e)===n[e])return!0;return!1}))return r[0]}function A(t,e){void 0!==(t.ownerDocument||t).createTreeWalker?L(t,e,NodeFilter.SHOW_TEXT):P(t,function(t){t&&3===t.nodeType&&e(t)},!0)}function L(t,e,n){for(var i=document.createTreeWalker(t,n,null,!1),r=void 0;r=i.nextNode();)e(r)}function P(t,e){if(e(t))return!0;if(t=t.firstChild)do{var n=P(t,e);if(n)return!0;t=t.nextSibling}while(t)}function D(t){return new Promise(function(e,n){var i=new FileReader;i.readAsDataURL(t),i.onloadend=function(){e(i.result)}})}function j(){var t=this;this.resolve=null,this.reject=null,this.id=r(),this.promise=new Promise(function(e,n){t.resolve=e,t.reject=n}),Object.freeze(this)}function M(t,e,n){var i;if(void 0!==t.querySelector&&(i=t.querySelector(e+\'[*|type="\'+n+\'"]\')),i&&0!==i.length)return i;i=R(t,e);for(var r=0;r<i.length;r++)if(i[r].getAttributeNS("http://www.idpf.org/2007/ops","type")===n||i[r].getAttribute("epub:type")===n)return i[r]}function z(t){for(var e=[],n=t.childNodes,i=0;i<n.length;i++){var r=n[i];1===r.nodeType&&e.push(r)}return e}function B(t){for(var e=[t];t;t=t.parentNode)e.unshift(t);return e}function q(t,e,n){for(var i=[],r=t.childNodes,s=0;s<r.length;s++){var o=r[s];if(1===o.nodeType&&o.nodeName.toLowerCase()===e){if(n)return o;i.push(o)}}if(!n)return i}function U(t,e){var n=void 0;if(null!==t&&""!==e)for(n=t.parentNode;1===n.nodeType;){if(n.tagName.toLowerCase()===e)return n;n=n.parentNode}}Object.defineProperty(e,"__esModule",{value:!0});var F=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();e.uuid=r,e.documentHeight=s,e.isElement=o,e.isNumber=a,e.isFloat=u,e.prefixed=l,e.defaults=h,e.extend=c,e.insert=f,e.locationOf=d,e.indexOfSorted=p,e.bounds=v,e.borders=g,e.nodeBounds=m,e.windowBounds=y,e.indexOfNode=b,e.indexOfTextNode=w,e.indexOfElementNode=E,e.isXml=k,e.createBlob=x,e.createBlobUrl=_,e.revokeBlobUrl=S,e.createBase64Url=N,e.type=T,e.parse=C,e.qs=O,e.qsa=R,e.qsp=I,e.sprint=A,e.treeWalker=L,e.walk=P,e.blob2base64=D,e.defer=j,e.querySelectorByType=M,e.findChildren=z,e.parents=B,e.filterChildren=q,e.getParentByTagName=U;var V=(e.requestAnimationFrame="undefined"!=typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),1),W=3,H="undefined"!=typeof URL?URL:"undefined"!=typeof window?window.URL||window.webkitURL||window.mozURL:void 0;e.RangeObject=function(){function t(){i(this,t),this.collapsed=!1,this.commonAncestorContainer=void 0,this.endContainer=void 0,this.endOffset=void 0,this.startContainer=void 0,this.startOffset=void 0}return F(t,[{key:"setStart",value:function(t,e){this.startContainer=t,this.startOffset=e,this.endContainer?this.commonAncestorContainer=this._commonAncestorContainer():this.collapse(!0),this._checkCollapsed()}},{key:"setEnd",value:function(t,e){this.endContainer=t,this.endOffset=e,this.startContainer?(this.collapsed=!1,this.commonAncestorContainer=this._commonAncestorContainer()):this.collapse(!1),this._checkCollapsed()}},{key:"collapse",value:function(t){this.collapsed=!0,t?(this.endContainer=this.startContainer,this.endOffset=this.startOffset,this.commonAncestorContainer=this.startContainer.parentNode):(this.startContainer=this.endContainer,this.startOffset=this.endOffset,this.commonAncestorContainer=this.endOffset.parentNode)}},{key:"selectNode",value:function(t){var e=t.parentNode,n=Array.prototype.indexOf.call(e.childNodes,t);this.setStart(e,n),this.setEnd(e,n+1)}},{key:"selectNodeContents",value:function(t){var e=(t.childNodes[t.childNodes-1],3===t.nodeType?t.textContent.length:parent.childNodes.length);this.setStart(t,0),this.setEnd(t,e)}},{key:"_commonAncestorContainer",value:function(t,e){var n=B(t||this.startContainer),i=B(e||this.endContainer);if(n[0]==i[0])for(var r=0;r<n.length;r++)if(n[r]!=i[r])return n[r-1]}},{key:"_checkCollapsed",value:function(){this.startContainer===this.endContainer&&this.startOffset===this.endOffset?this.collapsed=!0:this.collapsed=!1}},{key:"toString",value:function(){}}]),t}()},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(0),a=function(){function t(e,n,s){i(this,t);var a;if(this.str="",this.base={},this.spinePos=0,this.range=!1,this.path={},this.start=null,this.end=null,!(this instanceof t))return new t(e,n,s);if("string"==typeof n?this.base=this.parseComponent(n):"object"===(void 0===n?"undefined":r(n))&&n.steps&&(this.base=n),"string"===(a=this.checkType(e)))return this.str=e,(0,o.extend)(this,this.parse(e));if("range"===a)return(0,o.extend)(this,this.fromRange(e,this.base,s));if("node"===a)return(0,o.extend)(this,this.fromNode(e,this.base,s));if("EpubCFI"===a&&e.path)return e;if(e)throw new TypeError("not a valid argument for EpubCFI");return this}return s(t,[{key:"checkType",value:function(e){return this.isCfiString(e)?"string":!e||"object"!==(void 0===e?"undefined":r(e))||"Range"!==(0,o.type)(e)&&void 0===e.startContainer?e&&"object"===(void 0===e?"undefined":r(e))&&void 0!==e.nodeType?"node":!!(e&&"object"===(void 0===e?"undefined":r(e))&&e instanceof t)&&"EpubCFI":"range"}},{key:"parse",value:function(t){var e,n,i,r={spinePos:-1,range:!1,base:{},path:{},start:null,end:null};return"string"!=typeof t?{spinePos:-1}:(0===t.indexOf("epubcfi(")&&")"===t[t.length-1]&&(t=t.slice(8,t.length-1)),(e=this.getChapterComponent(t))?(r.base=this.parseComponent(e),n=this.getPathComponent(t),r.path=this.parseComponent(n),i=this.getRange(t),i&&(r.range=!0,r.start=this.parseComponent(i[0]),r.end=this.parseComponent(i[1])),r.spinePos=r.base.steps[1].index,r):{spinePos:-1})}},{key:"parseComponent",value:function(t){var e,n={steps:[],terminal:{offset:null,assertion:null}},i=t.split(":"),r=i[0].split("/");return i.length>1&&(e=i[1],n.terminal=this.parseTerminal(e)),""===r[0]&&r.shift(),n.steps=r.map(function(t){return this.parseStep(t)}.bind(this)),n}},{key:"parseStep",value:function(t){var e,n,i,r,s;if(r=t.match(/\\[(.*)\\]/),r&&r[1]&&(s=r[1]),n=parseInt(t),!isNaN(n))return n%2==0?(e="element",i=n/2-1):(e="text",i=(n-1)/2),{type:e,index:i,id:s||null}}},{key:"parseTerminal",value:function(t){var e,n,i=t.match(/\\[(.*)\\]/);return i&&i[1]?(e=parseInt(t.split("[")[0]),n=i[1]):e=parseInt(t),(0,o.isNumber)(e)||(e=null),{offset:e,assertion:n}}},{key:"getChapterComponent",value:function(t){return t.split("!")[0]}},{key:"getPathComponent",value:function(t){var e=t.split("!");if(e[1]){return e[1].split(",")[0]}}},{key:"getRange",value:function(t){var e=t.split(",");return 3===e.length&&[e[1],e[2]]}},{key:"getCharecterOffsetComponent",value:function(t){return t.split(":")[1]||""}},{key:"joinSteps",value:function(t){return t?t.map(function(t){var e="";return"element"===t.type&&(e+=2*(t.index+1)),"text"===t.type&&(e+=1+2*t.index),t.id&&(e+="["+t.id+"]"),e}).join("/"):""}},{key:"segmentString",value:function(t){var e="/";return e+=this.joinSteps(t.steps),t.terminal&&null!=t.terminal.offset&&(e+=":"+t.terminal.offset),t.terminal&&null!=t.terminal.assertion&&(e+="["+t.terminal.assertion+"]"),e}},{key:"toString",value:function(){var t="epubcfi(";return t+=this.segmentString(this.base),t+="!",t+=this.segmentString(this.path),this.range&&this.start&&(t+=",",t+=this.segmentString(this.start)),this.range&&this.end&&(t+=",",t+=this.segmentString(this.end)),t+=")"}},{key:"compare",value:function(e,n){var i,r,s,o;if("string"==typeof e&&(e=new t(e)),"string"==typeof n&&(n=new t(n)),e.spinePos>n.spinePos)return 1;if(e.spinePos<n.spinePos)return-1;e.range?(i=e.path.steps.concat(e.start.steps),s=e.start.terminal):(i=e.path.steps,s=e.path.terminal),n.range?(r=n.path.steps.concat(n.start.steps),o=n.start.terminal):(r=n.path.steps,o=n.path.terminal);for(var a=0;a<i.length;a++){if(!i[a])return-1;if(!r[a])return 1;if(i[a].index>r[a].index)return 1;if(i[a].index<r[a].index)return-1}return i.length<r.length?-1:s.offset>o.offset?1:s.offset<o.offset?-1:0}},{key:"step",value:function(t){var e=3===t.nodeType?"text":"element";return{id:t.id,tagName:t.tagName,type:e,index:this.position(t)}}},{key:"filteredStep",value:function(t,e){var n,i=this.filter(t,e);if(i)return n=3===i.nodeType?"text":"element",{id:i.id,tagName:i.tagName,type:n,index:this.filteredPosition(i,e)}}},{key:"pathTo",value:function(t,e,n){for(var i,r={steps:[],terminal:{offset:null,assertion:null}},s=t;s&&s.parentNode&&9!=s.parentNode.nodeType;)i=n?this.filteredStep(s,n):this.step(s),i&&r.steps.unshift(i),s=s.parentNode;return null!=e&&e>=0&&(r.terminal.offset=e,"text"!=r.steps[r.steps.length-1].type&&r.steps.push({type:"text",index:0})),r}},{key:"equalStep",value:function(t,e){return!(!t||!e)&&(t.index===e.index&&t.id===e.id&&t.type===e.type)}},{key:"fromRange",value:function(t,e,n){var i={range:!1,base:{},path:{},start:null,end:null},s=t.startContainer,o=t.endContainer,a=t.startOffset,u=t.endOffset,l=!1;if(n&&(l=null!=s.ownerDocument.querySelector("."+n)),"string"==typeof e?(i.base=this.parseComponent(e),i.spinePos=i.base.steps[1].index):"object"===(void 0===e?"undefined":r(e))&&(i.base=e),t.collapsed)l&&(a=this.patchOffset(s,a,n)),i.path=this.pathTo(s,a,n);else{i.range=!0,l&&(a=this.patchOffset(s,a,n)),i.start=this.pathTo(s,a,n),l&&(u=this.patchOffset(o,u,n)),i.end=this.pathTo(o,u,n),i.path={steps:[],terminal:null};var h,c=i.start.steps.length;for(h=0;h<c&&this.equalStep(i.start.steps[h],i.end.steps[h]);h++)h===c-1?i.start.terminal===i.end.terminal&&(i.path.steps.push(i.start.steps[h]),i.range=!1):i.path.steps.push(i.start.steps[h]);i.start.steps=i.start.steps.slice(i.path.steps.length),i.end.steps=i.end.steps.slice(i.path.steps.length)}return i}},{key:"fromNode",value:function(t,e,n){var i={range:!1,base:{},path:{},start:null,end:null};return"string"==typeof e?(i.base=this.parseComponent(e),i.spinePos=i.base.steps[1].index):"object"===(void 0===e?"undefined":r(e))&&(i.base=e),i.path=this.pathTo(t,null,n),i}},{key:"filter",value:function(t,e){var n,i,r,s,o,a=!1;return 3===t.nodeType?(a=!0,r=t.parentNode,n=t.parentNode.classList.contains(e)):(a=!1,n=t.classList.contains(e)),n&&a?(s=r.previousSibling,o=r.nextSibling,s&&3===s.nodeType?i=s:o&&3===o.nodeType&&(i=o),i||t):!(n&&!a)&&t}},{key:"patchOffset",value:function(t,e,n){if(3!=t.nodeType)throw new Error("Anchor must be a text node");var i=t,r=e;for(t.parentNode.classList.contains(n)&&(i=t.parentNode);i.previousSibling;){if(1===i.previousSibling.nodeType){if(!i.previousSibling.classList.contains(n))break;r+=i.previousSibling.textContent.length}else r+=i.previousSibling.textContent.length;i=i.previousSibling}return r}},{key:"normalizedMap",value:function(t,e,n){var i,r,s,o={},a=-1,u=t.length;for(i=0;i<u;i++)r=t[i].nodeType,1===r&&t[i].classList.contains(n)&&(r=3),i>0&&3===r&&3===s?o[i]=a:e===r&&(a+=1,o[i]=a),s=r;return o}},{key:"position",value:function(t){var e,n;return 1===t.nodeType?(e=t.parentNode.children,e||(e=(0,o.findChildren)(t.parentNode)),n=Array.prototype.indexOf.call(e,t)):(e=this.textNodes(t.parentNode),n=e.indexOf(t)),n}},{key:"filteredPosition",value:function(t,e){var n,i,r;return 1===t.nodeType?(n=t.parentNode.children,r=this.normalizedMap(n,1,e)):(n=t.parentNode.childNodes,t.parentNode.classList.contains(e)&&(t=t.parentNode,n=t.parentNode.childNodes),r=this.normalizedMap(n,3,e)),i=Array.prototype.indexOf.call(n,t),r[i]}},{key:"stepsToXpath",value:function(t){var e=[".","*"];return t.forEach(function(t){var n=t.index+1;t.id?e.push("*[position()="+n+" and @id=\'"+t.id+"\']"):"text"===t.type?e.push("text()["+n+"]"):e.push("*["+n+"]")}),e.join("/")}},{key:"stepsToQuerySelector",value:function(t){var e=["html"];return t.forEach(function(t){var n=t.index+1;t.id?e.push("#"+t.id):"text"===t.type||e.push("*:nth-child("+n+")")}),e.join(">")}},{key:"textNodes",value:function(t,e){return Array.prototype.slice.call(t.childNodes).filter(function(t){return 3===t.nodeType||!(!e||!t.classList.contains(e))})}},{key:"walkToNode",value:function(t,e,n){var i,r,s,a=e||document,u=a.documentElement,l=t.length;for(s=0;s<l&&(r=t[s],"element"===r.type?r.id?u=a.getElementById(r.id):(i=u.children||(0,o.findChildren)(u),u=i[r.index]):"text"===r.type&&(u=this.textNodes(u,n)[r.index]),u);s++);return u}},{key:"findNode",value:function(t,e,n){var i,r,s=e||document;return n||void 0===s.evaluate?i=n?this.walkToNode(t,s,n):this.walkToNode(t,s):(r=this.stepsToXpath(t),i=s.evaluate(r,s,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue),i}},{key:"fixMiss",value:function(t,e,n,i){var r,s,o=this.findNode(t.slice(0,-1),n,i),a=o.childNodes,u=this.normalizedMap(a,3,i),l=t[t.length-1].index;for(var h in u){if(!u.hasOwnProperty(h))return;if(u[h]===l){if(r=a[h],s=r.textContent.length,!(e>s)){o=1===r.nodeType?r.childNodes[0]:r;break}e-=s}}return{container:o,offset:e}}},{key:"toRange",value:function(t,e){var n,i,r,s,a,u,l,h,c=t||document,f=this,d=!!e&&null!=c.querySelector("."+e);if(n=void 0!==c.createRange?c.createRange():new o.RangeObject,f.range?(i=f.start,u=f.path.steps.concat(i.steps),s=this.findNode(u,c,d?e:null),r=f.end,l=f.path.steps.concat(r.steps),a=this.findNode(l,c,d?e:null)):(i=f.path,u=f.path.steps,s=this.findNode(f.path.steps,c,d?e:null)),!s)return console.log("No startContainer found for",this.toString()),null;try{null!=i.terminal.offset?n.setStart(s,i.terminal.offset):n.setStart(s,0)}catch(t){h=this.fixMiss(u,i.terminal.offset,c,d?e:null),n.setStart(h.container,h.offset)}if(a)try{null!=r.terminal.offset?n.setEnd(a,r.terminal.offset):n.setEnd(a,0)}catch(t){h=this.fixMiss(l,f.end.terminal.offset,c,d?e:null),n.setEnd(h.container,h.offset)}return n}},{key:"isCfiString",value:function(t){return"string"==typeof t&&0===t.indexOf("epubcfi(")&&")"===t[t.length-1]}},{key:"generateChapterComponent",value:function(t,e,n){var i=parseInt(e),r=2*(t+1),s="/"+r+"/";return s+=2*(i+1),n&&(s+="["+n+"]"),s}},{key:"collapse",value:function(t){this.range&&(this.range=!1,t?(this.path.steps=this.path.steps.concat(this.start.steps),this.path.terminal=this.start.terminal):(this.path.steps=this.path.steps.concat(this.end.steps),this.path.terminal=this.end.terminal))}}]),t}();e.default=a,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.EPUBJS_VERSION="0.3",e.DOM_EVENTS=["keydown","keyup","keypressed","mouseup","mousedown","click","touchend","touchstart","touchmove"],e.EVENTS={BOOK:{OPEN_FAILED:"openFailed"},CONTENTS:{EXPAND:"expand",RESIZE:"resize",SELECTED:"selected",SELECTED_RANGE:"selectedRange",LINK_CLICKED:"linkClicked"},LOCATIONS:{CHANGED:"changed"},MANAGERS:{RESIZE:"resize",RESIZED:"resized",ORIENTATION_CHANGE:"orientationchange",ADDED:"added",SCROLL:"scroll",SCROLLED:"scrolled",REMOVED:"removed"},VIEWS:{AXIS:"axis",LOAD_ERROR:"loaderror",RENDERED:"rendered",RESIZED:"resized",DISPLAYED:"displayed",SHOWN:"shown",HIDDEN:"hidden",MARK_CLICKED:"markClicked"},RENDITION:{STARTED:"started",ATTACHED:"attached",DISPLAYED:"displayed",DISPLAY_ERROR:"displayerror",RENDERED:"rendered",REMOVED:"removed",RESIZED:"resized",ORIENTATION_CHANGE:"orientationchange",LOCATION_CHANGED:"locationChanged",RELOCATED:"relocated",MARK_CLICKED:"markClicked",SELECTED:"selected",LAYOUT:"layout"},LAYOUT:{UPDATED:"updated"},ANNOTATION:{ATTACH:"attach",DETACH:"detach"}}},function(t,e,n){"use strict";var i,r,s,o,a,u,l,h=n(27),c=n(41),f=Function.prototype.apply,d=Function.prototype.call,p=Object.create,v=Object.defineProperty,g=Object.defineProperties,m=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};i=function(t,e){var n;return c(e),m.call(this,"__ee__")?n=this.__ee__:(n=y.value=p(null),v(this,"__ee__",y),y.value=null),n[t]?"object"==typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},r=function(t,e){var n,r;return c(e),r=this,i.call(this,t,n=function(){s.call(r,t,n),f.call(e,this,arguments)}),n.__eeOnceListener__=e,this},s=function(t,e){var n,i,r,s;if(c(e),!m.call(this,"__ee__"))return this;if(n=this.__ee__,!n[t])return this;if("object"==typeof(i=n[t]))for(s=0;r=i[s];++s)r!==e&&r.__eeOnceListener__!==e||(2===i.length?n[t]=i[s?0:1]:i.splice(s,1));else i!==e&&i.__eeOnceListener__!==e||delete n[t];return this},o=function(t){var e,n,i,r,s;if(m.call(this,"__ee__")&&(r=this.__ee__[t]))if("object"==typeof r){for(n=arguments.length,s=new Array(n-1),e=1;e<n;++e)s[e-1]=arguments[e];for(r=r.slice(),e=0;i=r[e];++e)f.call(i,this,s)}else switch(arguments.length){case 1:d.call(r,this);break;case 2:d.call(r,this,arguments[1]);break;case 3:d.call(r,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,s=new Array(n-1),e=1;e<n;++e)s[e-1]=arguments[e];f.call(r,this,s)}},a={on:i,once:r,off:s,emit:o},u={on:h(i),once:h(r),off:h(s),emit:h(o)},l=g({},u),t.exports=e=function(t){return null==t?p(l):g(Object(t),u)},e.methods=a},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(7),o=function(t){return t&&t.__esModule?t:{default:t}}(s),a=function(){function t(e){i(this,t);var n,r;n=e.indexOf("://"),n>-1&&(e=new URL(e).pathname),r=this.parse(e),this.path=e,this.isDirectory(e)?this.directory=e:this.directory=r.dir+"/",this.filename=r.base,this.extension=r.ext.slice(1)}return r(t,[{key:"parse",value:function(t){return o.default.parse(t)}},{key:"isAbsolute",value:function(t){return o.default.isAbsolute(t||this.path)}},{key:"isDirectory",value:function(t){return"/"===t.charAt(t.length-1)}},{key:"resolve",value:function(t){return o.default.resolve(this.directory,t)}},{key:"relative",value:function(t){return t&&t.indexOf("://")>-1?t:o.default.relative(this.directory,t)}},{key:"splitPath",value:function(t){return this.splitPathRe.exec(t).slice(1)}},{key:"toString",value:function(){return this.path}}]),t}();e.default=a,t.exports=e.default},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(4),a=i(o),u=n(7),l=i(u),h=function(){function t(e,n){r(this,t);var i,s=e.indexOf("://")>-1,o=e;if(this.Url=void 0,this.href=e,this.protocol="",this.origin="",this.hash="",this.hash="",this.search="",this.base=n,!s&&!1!==n&&"string"!=typeof n&&window&&window.location&&(this.base=window.location.href),s||this.base)try{this.base?this.Url=new URL(e,this.base):this.Url=new URL(e),this.href=this.Url.href,this.protocol=this.Url.protocol,this.origin=this.Url.origin,this.hash=this.Url.hash,this.search=this.Url.search,o=this.Url.pathname+(this.Url.search?this.Url.search:"")}catch(t){this.Url=void 0,this.base&&(i=new a.default(this.base),o=i.resolve(o))}this.Path=new a.default(o),this.directory=this.Path.directory,this.filename=this.Path.filename,this.extension=this.Path.extension}return s(t,[{key:"path",value:function(){return this.Path}},{key:"resolve",value:function(t){var e,n=t.indexOf("://")>-1;return n?t:(e=l.default.resolve(this.directory,t),this.origin+e)}},{key:"relative",value:function(t){return l.default.relative(t,this.directory)}},{key:"toString",value:function(){return this.href}}]),t}();e.default=h,t.exports=e.default},function(t,e,n){"use strict";function i(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+t)}function r(t,e){for(var n,i="",r=-1,s=0,o=0;o<=t.length;++o){if(o<t.length)n=t.charCodeAt(o);else{if(47===n)break;n=47}if(47===n){if(r===o-1||1===s);else if(r!==o-1&&2===s){if(i.length<2||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){for(var a=i.length-1,u=a;u>=0&&47!==i.charCodeAt(u);--u);if(u!==a){i=-1===u?"":i.slice(0,u),r=o,s=0;continue}}else if(2===i.length||1===i.length){i="",r=o,s=0;continue}e&&(i.length>0?i+="/..":i="..")}else i.length>0?i+="/"+t.slice(r+1,o):i=t.slice(r+1,o);r=o,s=0}else 46===n&&-1!==s?++s:s=-1}return i}function s(t,e){var n=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+i:n+t+i:i}if(!o)var o={cwd:function(){return"/"}};var a={resolve:function(){for(var t,e="",n=!1,s=arguments.length-1;s>=-1&&!n;s--){var a;s>=0?a=arguments[s]:(void 0===t&&(t=o.cwd()),a=t),i(a),0!==a.length&&(e=a+"/"+e,n=47===a.charCodeAt(0))}return e=r(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(t){if(i(t),0===t.length)return".";var e=47===t.charCodeAt(0),n=47===t.charCodeAt(t.length-1);return t=r(t,!e),0!==t.length||e||(t="."),t.length>0&&n&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return i(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,e=0;e<arguments.length;++e){var n=arguments[e];i(n),n.length>0&&(void 0===t?t=n:t+="/"+n)}return void 0===t?".":a.normalize(t)},relative:function(t,e){if(i(t),i(e),t===e)return"";if(t=a.resolve(t),e=a.resolve(e),t===e)return"";for(var n=1;n<t.length&&47===t.charCodeAt(n);++n);for(var r=t.length,s=r-n,o=1;o<e.length&&47===e.charCodeAt(o);++o);for(var u=e.length,l=u-o,h=s<l?s:l,c=-1,f=0;f<=h;++f){if(f===h){if(l>h){if(47===e.charCodeAt(o+f))return e.slice(o+f+1);if(0===f)return e.slice(o+f)}else s>h&&(47===t.charCodeAt(n+f)?c=f:0===f&&(c=0));break}var d=t.charCodeAt(n+f);if(d!==e.charCodeAt(o+f))break;47===d&&(c=f)}var p="";for(f=n+c+1;f<=r;++f)f!==r&&47!==t.charCodeAt(f)||(0===p.length?p+="..":p+="/..");return p.length>0?p+e.slice(o+c):(o+=c,47===e.charCodeAt(o)&&++o,e.slice(o))},_makeLong:function(t){return t},dirname:function(t){if(i(t),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,s=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!s){r=o;break}}else s=!1;return-1===r?n?"/":".":n&&1===r?"//":t.slice(0,r)},basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError(\'"ext" argument must be a string\');i(t);var n,r=0,s=-1,o=!0;if(void 0!==e&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var a=e.length-1,u=-1;for(n=t.length-1;n>=0;--n){var l=t.charCodeAt(n);if(47===l){if(!o){r=n+1;break}}else-1===u&&(o=!1,u=n+1),a>=0&&(l===e.charCodeAt(a)?-1==--a&&(s=n):(a=-1,s=u))}return r===s?s=u:-1===s&&(s=t.length),t.slice(r,s)}for(n=t.length-1;n>=0;--n)if(47===t.charCodeAt(n)){if(!o){r=n+1;break}}else-1===s&&(o=!1,s=n+1);return-1===s?"":t.slice(r,s)},extname:function(t){i(t);for(var e=-1,n=0,r=-1,s=!0,o=0,a=t.length-1;a>=0;--a){var u=t.charCodeAt(a);if(47!==u)-1===r&&(s=!1,r=a+1),46===u?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!s){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)},format:function(t){if(null===t||"object"!=typeof t)throw new TypeError(\'Parameter "pathObject" must be an object, not \'+typeof t);return s("/",t)},parse:function(t){i(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return e;var n,r=t.charCodeAt(0),s=47===r;s?(e.root="/",n=1):n=0;for(var o=-1,a=0,u=-1,l=!0,h=t.length-1,c=0;h>=n;--h)if(47!==(r=t.charCodeAt(h)))-1===u&&(l=!1,u=h+1),46===r?-1===o?o=h:1!==c&&(c=1):-1!==o&&(c=-1);else if(!l){a=h+1;break}return-1===o||-1===u||0===c||1===c&&o===u-1&&o===a+1?-1!==u&&(e.base=e.name=0===a&&s?t.slice(1,u):t.slice(a,u)):(0===a&&s?(e.name=t.slice(1,o),e.base=t.slice(1,u)):(e.name=t.slice(a,o),e.base=t.slice(a,u)),e.ext=t.slice(o,u)),a>0?e.dir=t.slice(0,a-1):s&&(e.dir="/"),e},sep:"/",delimiter:":",posix:null};t.exports=a},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n,i,r=e.url,s=r.indexOf("://")>-1;t&&(i=(0,l.qs)(t,"head"),n=(0,l.qs)(i,"base"),n||(n=t.createElement("base"),i.insertBefore(n,i.firstChild)),!s&&window&&window.location&&(r=window.location.origin+r),n.setAttribute("href",r))}function s(t,e){var n,i,r=e.canonical;t&&(n=(0,l.qs)(t,"head"),i=(0,l.qs)(n,"link[rel=\'canonical\']"),i?i.setAttribute("href",r):(i=t.createElement("link"),i.setAttribute("rel","canonical"),i.setAttribute("href",r),n.appendChild(i)))}function o(t,e){var n,i,r=e.idref;t&&(n=(0,l.qs)(t,"head"),i=(0,l.qs)(n,"link[property=\'dc.identifier\']"),i?i.setAttribute("content",r):(i=t.createElement("meta"),i.setAttribute("name","dc.identifier"),i.setAttribute("content",r),n.appendChild(i)))}function a(t,e){var n=t.querySelectorAll("a[href]");if(n.length)for(var i=(0,l.qs)(t.ownerDocument,"base"),r=i?i.getAttribute("href"):void 0,s=function(t){var n=t.getAttribute("href");if(0!==n.indexOf("mailto:")){if(n.indexOf("://")>-1)t.setAttribute("target","_blank");else{var i;try{i=new c.default(n,r)}catch(t){}t.onclick=function(){return e(i&&i.hash?i.Path.path+i.hash:i?i.Path.path:n),!1}}}}.bind(this),o=0;o<n.length;o++)s(n[o])}function u(t,e,n){return e.forEach(function(e,i){e&&n[i]&&(t=t.replace(new RegExp(e,"g"),n[i]))}),t}Object.defineProperty(e,"__esModule",{value:!0}),e.replaceBase=r,e.replaceCanonical=s,e.replaceMeta=o,e.replaceLinks=a,e.substitute=u;var l=n(0),h=n(6),c=i(h),f=n(4);i(f)},function(t,e,n){"use strict";function i(t,e,n,i){function s(t){c.reject(t)}function a(){if(this.readyState===XMLHttpRequest.DONE){var t=!1;if(""!==this.responseType&&"document"!==this.responseType||(t=this.responseXML),200===this.status||0===this.status||t){var n;if(!this.response&&!t)return c.reject({status:this.status,message:"Empty Response",stack:(new Error).stack}),c.promise;if(403===this.status)return c.reject({status:this.status,response:this.response,message:"Forbidden",stack:(new Error).stack}),c.promise;n=t?this.responseXML:(0,r.isXml)(e)?(0,r.parse)(this.response,"text/xml"):"xhtml"==e?(0,r.parse)(this.response,"application/xhtml+xml"):"html"==e||"htm"==e?(0,r.parse)(this.response,"text/html"):"json"==e?JSON.parse(this.response):"blob"==e?l?this.response:new Blob([this.response]):this.response,c.resolve(n)}else c.reject({status:this.status,message:this.response,stack:(new Error).stack})}}\nvar u,l="undefined"!=typeof window&&window.URL,h=l?"blob":"arraybuffer",c=new r.defer,f=new XMLHttpRequest,d=XMLHttpRequest.prototype;"overrideMimeType"in d||Object.defineProperty(d,"overrideMimeType",{value:function(){}}),n&&(f.withCredentials=!0),f.onreadystatechange=a,f.onerror=s,f.open("GET",t,!0);for(u in i)f.setRequestHeader(u,i[u]);return"json"==e&&f.setRequestHeader("Accept","application/json"),e||(e=new o.default(t).extension),"blob"==e&&(f.responseType=h),(0,r.isXml)(e)&&f.overrideMimeType("text/xml"),"binary"==e&&(f.responseType="arraybuffer"),f.send(),c.promise}Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),s=n(4),o=function(t){return t&&t.__esModule?t:{default:t}}(s);e.default=i,t.exports=e.default},function(t,e,n){"use strict";var i=n(34)();t.exports=function(t){return t!==i&&null!==t}},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=function(){function t(e){i(this,t),this.context=e||this,this.hooks=[]}return r(t,[{key:"register",value:function(){for(var t=0;t<arguments.length;++t)if("function"==typeof arguments[t])this.hooks.push(arguments[t]);else for(var e=0;e<arguments[t].length;++e)this.hooks.push(arguments[t][e])}},{key:"deregister",value:function(t){for(var e=0;e<this.hooks.length;e++)if(this.hooks[e]===t){this.hooks.splice(e,1);break}}},{key:"trigger",value:function(){var t=arguments,e=this.context,n=[];return this.hooks.forEach(function(i){var r=i.apply(e,t);r&&"function"==typeof r.then&&n.push(r)}),Promise.all(n)}},{key:"list",value:function(){return this.hooks}},{key:"clear",value:function(){return this.hooks=[]}}]),t}();e.default=s,t.exports=e.default},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Task=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(0),o=function(){function t(e){i(this,t),this._q=[],this.context=e,this.tick=s.requestAnimationFrame,this.running=!1,this.paused=!1}return r(t,[{key:"enqueue",value:function(){var t,e,n,i=[].shift.call(arguments),r=arguments;if(!i)throw new Error("No Task Provided");return"function"==typeof i?(t=new s.defer,e=t.promise,n={task:i,args:r,deferred:t,promise:e}):n={promise:i},this._q.push(n),0!=this.paused||this.running||this.run(),n.promise}},{key:"dequeue",value:function(){var t,e,n;return!this._q.length||this.paused?(t=new s.defer,t.deferred.resolve(),t.promise):(t=this._q.shift(),(e=t.task)?(n=e.apply(this.context,t.args),n&&"function"==typeof n.then?n.then(function(){t.deferred.resolve.apply(this.context,arguments)}.bind(this),function(){t.deferred.reject.apply(this.context,arguments)}.bind(this)):(t.deferred.resolve.apply(this.context,n),t.promise)):t.promise?t.promise:void 0)}},{key:"dump",value:function(){for(;this._q.length;)this.dequeue()}},{key:"run",value:function(){var t=this;return this.running||(this.running=!0,this.defered=new s.defer),this.tick.call(window,function(){t._q.length?t.dequeue().then(function(){this.run()}.bind(t)):(t.defered.resolve(),t.running=void 0)}),1==this.paused&&(this.paused=!1),this.defered.promise}},{key:"flush",value:function(){return this.running?this.running:this._q.length?(this.running=this.dequeue().then(function(){return this.running=void 0,this.flush()}.bind(this)),this.running):void 0}},{key:"clear",value:function(){this._q=[]}},{key:"length",value:function(){return this._q.length}},{key:"pause",value:function(){this.paused=!0}},{key:"stop",value:function(){this._q=[],this.running=!1,this.paused=!0}}]),t}(),a=function t(e,n,r){return i(this,t),function(){var t=this,n=arguments||[];return new Promise(function(i,s){var o=function(t,e){!t&&e?s(e):i(t)};n.push(o),e.apply(r||t,n)})}};e.default=o,e.Task=a},function(t,e,n){"use strict";function i(t){return t&&s[t.split(".").pop().toLowerCase()]||o}var r={application:{ecmascript:["es","ecma"],javascript:"js",ogg:"ogx",pdf:"pdf",postscript:["ps","ai","eps","epsi","epsf","eps2","eps3"],"rdf+xml":"rdf",smil:["smi","smil"],"xhtml+xml":["xhtml","xht"],xml:["xml","xsl","xsd","opf","ncx"],zip:"zip","x-httpd-eruby":"rhtml","x-latex":"latex","x-maker":["frm","maker","frame","fm","fb","book","fbdoc"],"x-object":"o","x-shockwave-flash":["swf","swfl"],"x-silverlight":"scr","epub+zip":"epub","font-tdpfr":"pfr","inkml+xml":["ink","inkml"],json:"json","jsonml+json":"jsonml","mathml+xml":"mathml","metalink+xml":"metalink",mp4:"mp4s","omdoc+xml":"omdoc",oxps:"oxps","vnd.amazon.ebook":"azw",widget:"wgt","x-dtbook+xml":"dtb","x-dtbresource+xml":"res","x-font-bdf":"bdf","x-font-ghostscript":"gsf","x-font-linux-psf":"psf","x-font-otf":"otf","x-font-pcf":"pcf","x-font-snf":"snf","x-font-ttf":["ttf","ttc"],"x-font-type1":["pfa","pfb","pfm","afm"],"x-font-woff":"woff","x-mobipocket-ebook":["prc","mobi"],"x-mspublisher":"pub","x-nzb":"nzb","x-tgif":"obj","xaml+xml":"xaml","xml-dtd":"dtd","xproc+xml":"xpl","xslt+xml":"xslt","internet-property-stream":"acx","x-compress":"z","x-compressed":"tgz","x-gzip":"gz"},audio:{flac:"flac",midi:["mid","midi","kar","rmi"],mpeg:["mpga","mpega","mp2","mp3","m4a","mp2a","m2a","m3a"],mpegurl:"m3u",ogg:["oga","ogg","spx"],"x-aiff":["aif","aiff","aifc"],"x-ms-wma":"wma","x-wav":"wav",adpcm:"adp",mp4:"mp4a",webm:"weba","x-aac":"aac","x-caf":"caf","x-matroska":"mka","x-pn-realaudio-plugin":"rmp",xm:"xm",mid:["mid","rmi"]},image:{gif:"gif",ief:"ief",jpeg:["jpeg","jpg","jpe"],pcx:"pcx",png:"png","svg+xml":["svg","svgz"],tiff:["tiff","tif"],"x-icon":"ico",bmp:"bmp",webp:"webp","x-pict":["pic","pct"],"x-tga":"tga","cis-cod":"cod"},text:{"cache-manifest":["manifest","appcache"],css:"css",csv:"csv",html:["html","htm","shtml","stm"],mathml:"mml",plain:["txt","text","brf","conf","def","list","log","in","bas"],richtext:"rtx","tab-separated-values":"tsv","x-bibtex":"bib"},video:{mpeg:["mpeg","mpg","mpe","m1v","m2v","mp2","mpa","mpv2"],mp4:["mp4","mp4v","mpg4"],quicktime:["qt","mov"],ogg:"ogv","vnd.mpegurl":["mxu","m4u"],"x-flv":"flv","x-la-asf":["lsf","lsx"],"x-mng":"mng","x-ms-asf":["asf","asx","asr"],"x-ms-wm":"wm","x-ms-wmv":"wmv","x-ms-wmx":"wmx","x-ms-wvx":"wvx","x-msvideo":"avi","x-sgi-movie":"movie","x-matroska":["mpv","mkv","mk3d","mks"],"3gpp2":"3g2",h261:"h261",h263:"h263",h264:"h264",jpeg:"jpgv",jpm:["jpm","jpgm"],mj2:["mj2","mjp2"],"vnd.ms-playready.media.pyv":"pyv","vnd.uvvu.mp4":["uvu","uvvu"],"vnd.vivo":"viv",webm:"webm","x-f4v":"f4v","x-m4v":"m4v","x-ms-vob":"vob","x-smv":"smv"}},s=function(){var t,e,n,i,s={};for(t in r)if(r.hasOwnProperty(t))for(e in r[t])if(r[t].hasOwnProperty(e))if("string"==typeof(n=r[t][e]))s[n]=t+"/"+e;else for(i=0;i<n.length;i++)s[n[i]]=t+"/"+e;return s}(),o="text/plain";t.exports={lookup:i}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(3),a=i(o),u=n(0),l=n(1),h=i(l),c=n(19),f=i(c),d=n(8),p=n(2),v="undefined"!=typeof navigator,g=v&&/Chrome/.test(navigator.userAgent),m=v&&!g&&/AppleWebKit/.test(navigator.userAgent),y=function(){function t(e,n,i,s){r(this,t),this.epubcfi=new h.default,this.document=e,this.documentElement=this.document.documentElement,this.content=n||this.document.body,this.window=this.document.defaultView,this._size={width:0,height:0},this.sectionIndex=s||0,this.cfiBase=i||"",this.epubReadingSystem("epub.js",p.EPUBJS_VERSION),this.listeners()}return s(t,[{key:"width",value:function(t){var e=this.content;return t&&(0,u.isNumber)(t)&&(t+="px"),t&&(e.style.width=t),this.window.getComputedStyle(e).width}},{key:"height",value:function(t){var e=this.content;return t&&(0,u.isNumber)(t)&&(t+="px"),t&&(e.style.height=t),this.window.getComputedStyle(e).height}},{key:"contentWidth",value:function(t){var e=this.content||this.document.body;return t&&(0,u.isNumber)(t)&&(t+="px"),t&&(e.style.width=t),this.window.getComputedStyle(e).width}},{key:"contentHeight",value:function(t){var e=this.content||this.document.body;return t&&(0,u.isNumber)(t)&&(t+="px"),t&&(e.style.height=t),this.window.getComputedStyle(e).height}},{key:"textWidth",value:function(){var t=void 0,e=void 0,n=this.document.createRange(),i=this.content||this.document.body,r=(0,u.borders)(i);return n.selectNodeContents(i),t=n.getBoundingClientRect(),e=t.width,r&&r.width&&(e+=r.width),Math.round(e)}},{key:"textHeight",value:function(){var t=void 0,e=void 0,n=this.document.createRange(),i=this.content||this.document.body,r=(0,u.borders)(i);return n.selectNodeContents(i),t=n.getBoundingClientRect(),e=t.height,e&&r.height&&(e+=r.height),e&&t.top&&(e+=t.top),Math.round(e)}},{key:"scrollWidth",value:function(){return this.documentElement.scrollWidth}},{key:"scrollHeight",value:function(){return this.documentElement.scrollHeight}},{key:"overflow",value:function(t){return t&&(this.documentElement.style.overflow=t),this.window.getComputedStyle(this.documentElement).overflow}},{key:"overflowX",value:function(t){return t&&(this.documentElement.style.overflowX=t),this.window.getComputedStyle(this.documentElement).overflowX}},{key:"overflowY",value:function(t){return t&&(this.documentElement.style.overflowY=t),this.window.getComputedStyle(this.documentElement).overflowY}},{key:"css",value:function(t,e,n){var i=this.content||this.document.body;return e&&i.style.setProperty(t,e,n?"important":""),this.window.getComputedStyle(i)[t]}},{key:"viewport",value:function(t){var e=this.document.querySelector("meta[name=\'viewport\']"),n={width:void 0,height:void 0,scale:void 0,minimum:void 0,maximum:void 0,scalable:void 0},i=[],r={};if(e&&e.hasAttribute("content")){var s=e.getAttribute("content"),o=s.match(/width\\s*=\\s*([^,]*)/),a=s.match(/height\\s*=\\s*([^,]*)/),l=s.match(/initial-scale\\s*=\\s*([^,]*)/),h=s.match(/minimum-scale\\s*=\\s*([^,]*)/),c=s.match(/maximum-scale\\s*=\\s*([^,]*)/),f=s.match(/user-scalable\\s*=\\s*([^,]*)/);o&&o.length&&void 0!==o[1]&&(n.width=o[1]),a&&a.length&&void 0!==a[1]&&(n.height=a[1]),l&&l.length&&void 0!==l[1]&&(n.scale=l[1]),h&&h.length&&void 0!==h[1]&&(n.minimum=h[1]),c&&c.length&&void 0!==c[1]&&(n.maximum=c[1]),f&&f.length&&void 0!==f[1]&&(n.scalable=f[1])}return r=(0,u.defaults)(t||{},n),t&&(r.width&&i.push("width="+r.width),r.height&&i.push("height="+r.height),r.scale&&i.push("initial-scale="+r.scale),"no"===r.scalable?(i.push("minimum-scale="+r.scale),i.push("maximum-scale="+r.scale),i.push("user-scalable="+r.scalable)):(r.scalable&&i.push("user-scalable="+r.scalable),r.minimum&&i.push("minimum-scale="+r.minimum),r.maximum&&i.push("minimum-scale="+r.maximum)),e||(e=this.document.createElement("meta"),e.setAttribute("name","viewport"),this.document.querySelector("head").appendChild(e)),e.setAttribute("content",i.join(", ")),this.window.scrollTo(0,0)),r}},{key:"expand",value:function(){this.emit(p.EVENTS.CONTENTS.EXPAND)}},{key:"listeners",value:function(){this.imageLoadListeners(),this.mediaQueryListeners(),this.addEventListeners(),this.addSelectionListeners(),this.resizeListeners(),this.linksHandler()}},{key:"removeListeners",value:function(){this.removeEventListeners(),this.removeSelectionListeners(),clearTimeout(this.expanding)}},{key:"resizeCheck",value:function(){var t=this.textWidth(),e=this.textHeight();t==this._size.width&&e==this._size.height||(this._size={width:t,height:e},this.onResize&&this.onResize(this._size),this.emit(p.EVENTS.CONTENTS.RESIZE,this._size))}},{key:"resizeListeners",value:function(){clearTimeout(this.expanding),requestAnimationFrame(this.resizeCheck.bind(this)),this.expanding=setTimeout(this.resizeListeners.bind(this),350)}},{key:"transitionListeners",value:function(){var t=this.content;t.style.transitionProperty="font, font-size, font-size-adjust, font-stretch, font-variation-settings, font-weight, width, height",t.style.transitionDuration="0.001ms",t.style.transitionTimingFunction="linear",t.style.transitionDelay="0",this._resizeCheck=this.resizeCheck.bind(this),this.document.addEventListener("transitionend",this._resizeCheck)}},{key:"mediaQueryListeners",value:function(){for(var t=this.document.styleSheets,e=function(t){t.matches&&!this._expanding&&setTimeout(this.expand.bind(this),1)}.bind(this),n=0;n<t.length;n+=1){var i;try{i=t[n].cssRules}catch(t){return}if(!i)return;for(var r=0;r<i.length;r+=1)if(i[r].media){var s=this.window.matchMedia(i[r].media.mediaText);s.addListener(e)}}}},{key:"resizeObservers",value:function(){var t=this;this.observer=new MutationObserver(function(e){t.resizeCheck()});var e={attributes:!0,childList:!0,characterData:!0,subtree:!0};this.observer.observe(this.document,e)}},{key:"imageLoadListeners",value:function(){for(var t,e=this.document.querySelectorAll("img"),n=0;n<e.length;n++)t=e[n],void 0!==t.naturalWidth&&0===t.naturalWidth&&(t.onload=this.expand.bind(this))}},{key:"fontLoadListeners",value:function(){this.document&&this.document.fonts&&this.document.fonts.ready.then(function(){this.resizeCheck()}.bind(this))}},{key:"root",value:function(){return this.document?this.document.documentElement:null}},{key:"locationOf",value:function(t,e){var n,i={left:0,top:0};if(!this.document)return i;if(this.epubcfi.isCfiString(t)){var r=new h.default(t).toRange(this.document,e);if(r){try{if(!r.endContainer||r.startContainer==r.endContainer&&r.startOffset==r.endOffset){var s=r.startContainer.textContent.indexOf(" ",r.startOffset);-1==s&&(s=r.startContainer.textContent.length),r.setEnd(r.startContainer,s)}}catch(t){console.error("setting end offset to start container length failed",t)}if(r.startContainer.nodeType===Node.ELEMENT_NODE)n=r.startContainer.getBoundingClientRect(),i.left=n.left,i.top=n.top;else if(m){var o=r.startContainer,a=new Range;try{1===o.nodeType?n=o.getBoundingClientRect():r.startOffset+2<o.length?(a.setStart(o,r.startOffset),a.setEnd(o,r.startOffset+2),n=a.getBoundingClientRect()):r.startOffset-2>0?(a.setStart(o,r.startOffset-2),a.setEnd(o,r.startOffset),n=a.getBoundingClientRect()):n=o.parentNode.getBoundingClientRect()}catch(t){console.error(t,t.stack)}}else n=r.getBoundingClientRect()}}else if("string"==typeof t&&t.indexOf("#")>-1){var u=t.substring(t.indexOf("#")+1),l=this.document.getElementById(u);if(l)if(m){var c=new Range;c.selectNode(l),n=c.getBoundingClientRect()}else n=l.getBoundingClientRect()}return n&&(i.left=n.left,i.top=n.top),i}},{key:"addStylesheet",value:function(t){return new Promise(function(e,n){var i,r=!1;return this.document?(i=this.document.querySelector("link[href=\'"+t+"\']"))?void e(!0):(i=this.document.createElement("link"),i.type="text/css",i.rel="stylesheet",i.href=t,i.onload=i.onreadystatechange=function(){r||this.readyState&&"complete"!=this.readyState||(r=!0,setTimeout(function(){e(!0)},1))},void this.document.head.appendChild(i)):void e(!1)}.bind(this))}},{key:"addStylesheetRules",value:function(t){var e,n,i="epubjs-inserted-css";if(this.document&&t&&0!==t.length)if(e=this.document.getElementById("#"+i),e||(e=this.document.createElement("style"),e.id=i),this.document.head.appendChild(e),n=e.sheet,"[object Array]"===Object.prototype.toString.call(t))for(var r=0,s=t.length;r<s;r++){var o=1,a=t[r],u=t[r][0],l="";"[object Array]"===Object.prototype.toString.call(a[1][0])&&(a=a[1],o=0);for(var h=a.length;o<h;o++){var c=a[o];l+=c[0]+":"+c[1]+(c[2]?" !important":"")+";\\n"}n.insertRule(u+"{"+l+"}",n.cssRules.length)}else{var f=Object.keys(t);f.forEach(function(e){var i=t[e];if(Array.isArray(i))i.forEach(function(t){var i=Object.keys(t),r=i.map(function(e){return e+":"+t[e]}).join(";");n.insertRule(e+"{"+r+"}",n.cssRules.length)});else{var r=Object.keys(i),s=r.map(function(t){return t+":"+i[t]}).join(";");n.insertRule(e+"{"+s+"}",n.cssRules.length)}})}}},{key:"addScript",value:function(t){return new Promise(function(e,n){var i,r=!1;if(!this.document)return void e(!1);i=this.document.createElement("script"),i.type="text/javascript",i.async=!0,i.src=t,i.onload=i.onreadystatechange=function(){r||this.readyState&&"complete"!=this.readyState||(r=!0,setTimeout(function(){e(!0)},1))},this.document.head.appendChild(i)}.bind(this))}},{key:"addClass",value:function(t){var e;this.document&&(e=this.content||this.document.body)&&e.classList.add(t)}},{key:"removeClass",value:function(t){var e;this.document&&(e=this.content||this.document.body)&&e.classList.remove(t)}},{key:"addEventListeners",value:function(){this.document&&(this._triggerEvent=this.triggerEvent.bind(this),p.DOM_EVENTS.forEach(function(t){this.document.addEventListener(t,this._triggerEvent,{passive:!0})},this))}},{key:"removeEventListeners",value:function(){this.document&&(p.DOM_EVENTS.forEach(function(t){this.document.removeEventListener(t,this._triggerEvent,{passive:!0})},this),this._triggerEvent=void 0)}},{key:"triggerEvent",value:function(t){this.emit(t.type,t)}},{key:"addSelectionListeners",value:function(){this.document&&(this._onSelectionChange=this.onSelectionChange.bind(this),this.document.addEventListener("selectionchange",this._onSelectionChange,{passive:!0}))}},{key:"removeSelectionListeners",value:function(){this.document&&(this.document.removeEventListener("selectionchange",this._onSelectionChange,{passive:!0}),this._onSelectionChange=void 0)}},{key:"onSelectionChange",value:function(t){this.selectionEndTimeout&&clearTimeout(this.selectionEndTimeout),this.selectionEndTimeout=setTimeout(function(){var t=this.window.getSelection();this.triggerSelectedEvent(t)}.bind(this),250)}},{key:"triggerSelectedEvent",value:function(t){var e,n;t&&t.rangeCount>0&&(e=t.getRangeAt(0),e.collapsed||(n=new h.default(e,this.cfiBase).toString(),this.emit(p.EVENTS.CONTENTS.SELECTED,n),this.emit(p.EVENTS.CONTENTS.SELECTED_RANGE,e)))}},{key:"range",value:function(t,e){return new h.default(t).toRange(this.document,e)}},{key:"cfiFromRange",value:function(t,e){return new h.default(t,this.cfiBase,e).toString()}},{key:"cfiFromNode",value:function(t,e){return new h.default(t,this.cfiBase,e).toString()}},{key:"map",value:function(t){return new f.default(t).section()}},{key:"size",value:function(t,e){var n={scale:1,scalable:"no"};this.layoutStyle("scrolling"),t>=0&&(this.width(t),n.width=t,this.css("padding","0 "+t/12+"px")),e>=0&&(this.height(e),n.height=e),this.css("margin","0"),this.css("box-sizing","border-box"),this.viewport(n)}},{key:"columns",value:function(t,e,n,i){var r=(0,u.prefixed)("column-axis"),s=(0,u.prefixed)("column-gap"),o=(0,u.prefixed)("column-width"),a=(0,u.prefixed)("column-fill"),l=this.writingMode(),h=0===l.indexOf("vertical")?"vertical":"horizontal";this.layoutStyle("paginated"),"rtl"===this.content.dir&&this.direction("rtl"),this.width(t),this.height(e),this.viewport({width:t,height:e,scale:1,scalable:"no"}),this.css("overflow-y","hidden"),this.css("margin","0",!0),"vertical"===h?(this.css("padding-top",i/2+"px",!0),this.css("padding-bottom",i/2+"px",!0),this.css("padding-left","20px"),this.css("padding-right","20px")):(this.css("padding-top","20px"),this.css("padding-bottom","20px"),this.css("padding-left",i/2+"px",!0),this.css("padding-right",i/2+"px",!0)),this.css("box-sizing","border-box"),this.css("max-width","inherit"),this.css(r,"horizontal"),this.css(a,"auto"),this.css(s,i+"px"),this.css(o,n+"px")}},{key:"scaler",value:function(t,e,n){var i="scale("+t+")",r="";this.css("transform-origin","top left"),(e>=0||n>=0)&&(r=" translate("+(e||0)+"px, "+(n||0)+"px )"),this.css("transform",i+r)}},{key:"fit",value:function(t,e){var n=this.viewport(),i=parseInt(n.width),r=parseInt(n.height),s=t/i,o=e/r,a=s<o?s:o;this.layoutStyle("paginated"),this.width(i),this.height(r),this.overflow("hidden"),this.scaler(a,0,0),this.css("background-size",i*a+"px "+r*a+"px"),this.css("background-color","transparent")}},{key:"direction",value:function(t){this.documentElement&&(this.documentElement.style.direction=t)}},{key:"mapPage",value:function(t,e,n,i,r){return new f.default(e,r).page(this,t,n,i)}},{key:"linksHandler",value:function(){var t=this;(0,d.replaceLinks)(this.content,function(e){t.emit(p.EVENTS.CONTENTS.LINK_CLICKED,e)})}},{key:"writingMode",value:function(t){var e=(0,u.prefixed)("writing-mode");return t&&this.documentElement&&(this.documentElement.style[e]=t),this.window.getComputedStyle(this.documentElement)[e]||""}},{key:"layoutStyle",value:function(t){return t&&(this._layoutStyle=t,navigator.epubReadingSystem.layoutStyle=this._layoutStyle),this._layoutStyle||"paginated"}},{key:"epubReadingSystem",value:function(t,e){return navigator.epubReadingSystem={name:t,version:e,layoutStyle:this.layoutStyle(),hasFeature:function(t){switch(t){case"dom-manipulation":case"layout-changes":case"touch-events":case"mouse-events":case"keyboard-events":return!0;case"spine-scripting":default:return!1}}},navigator.epubReadingSystem}},{key:"destroy",value:function(){this.observer&&this.observer.disconnect(),this.document.removeEventListener("transitionend",this._resizeCheck),this.removeListeners()}}],[{key:"listenedEvents",get:function(){return p.DOM_EVENTS}}]),t}();(0,a.default)(y.prototype),e.default=y,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(3),a=i(o),u=n(0),l=n(19),h=i(l),c=n(12),f=i(c),d=n(59),p=i(d),v=n(69),g=i(v),m=n(2),y=function(){function t(e){r(this,t),this.name="default",this.optsSettings=e.settings,this.View=e.view,this.request=e.request,this.renditionQueue=e.queue,this.q=new f.default(this),this.settings=(0,u.extend)(this.settings||{},{infinite:!0,hidden:!1,width:void 0,height:void 0,axis:void 0,flow:"scrolled",ignoreClass:"",fullsize:void 0}),(0,u.extend)(this.settings,e.settings||{}),this.viewSettings={ignoreClass:this.settings.ignoreClass,axis:this.settings.axis,flow:this.settings.flow,layout:this.layout,method:this.settings.method,width:0,height:0,forceEvenPages:!0},this.rendered=!1}return s(t,[{key:"render",value:function(t,e){var n=t.tagName;void 0!==this.settings.fullsize||!n||"body"!=n.toLowerCase()&&"html"!=n.toLowerCase()||(this.settings.fullsize=!0),this.settings.fullsize&&(this.settings.overflow="visible",this.overflow=this.settings.overflow),this.settings.size=e,this.stage=new p.default({width:e.width,height:e.height,overflow:this.overflow,hidden:this.settings.hidden,axis:this.settings.axis,fullsize:this.settings.fullsize,direction:this.settings.direction}),this.stage.attachTo(t),this.container=this.stage.getContainer(),this.views=new g.default(this.container),this._bounds=this.bounds(),this._stageSize=this.stage.size(),this.viewSettings.width=this._stageSize.width,this.viewSettings.height=this._stageSize.height,this.stage.onResize(this.onResized.bind(this)),this.stage.onOrientationChange(this.onOrientationChange.bind(this)),this.addEventListeners(),this.layout&&this.updateLayout(),this.rendered=!0}},{key:"addEventListeners",value:function(){var t;window.addEventListener("unload",function(t){this.destroy()}.bind(this)),t=this.settings.fullsize?window:this.container,this._onScroll=this.onScroll.bind(this),t.addEventListener("scroll",this._onScroll)}},{key:"removeEventListeners",value:function(){var t;t=this.settings.fullsize?window:this.container,t.removeEventListener("scroll",this._onScroll),this._onScroll=void 0}},{key:"destroy",value:function(){clearTimeout(this.orientationTimeout),clearTimeout(this.resizeTimeout),clearTimeout(this.afterScrolled),this.clear(),this.removeEventListeners(),this.stage.destroy(),this.rendered=!1}},{key:"onOrientationChange",value:function(t){var e=window,n=e.orientation;this.optsSettings.resizeOnOrientationChange&&this.resize(),clearTimeout(this.orientationTimeout),this.orientationTimeout=setTimeout(function(){this.orientationTimeout=void 0,this.optsSettings.resizeOnOrientationChange&&this.resize(),this.emit(m.EVENTS.MANAGERS.ORIENTATION_CHANGE,n)}.bind(this),500)}},{key:"onResized",value:function(t){this.resize()}},{key:"resize",value:function(t,e,n){var i=this.stage.size(t,e);if(this.winBounds=(0,u.windowBounds)(),this.orientationTimeout&&this.winBounds.width===this.winBounds.height)return void(this._stageSize=void 0);this._stageSize&&this._stageSize.width===i.width&&this._stageSize.height===i.height||(this._stageSize=i,this._bounds=this.bounds(),this.clear(),this.viewSettings.width=this._stageSize.width,this.viewSettings.height=this._stageSize.height,this.updateLayout(),this.emit(m.EVENTS.MANAGERS.RESIZED,{width:this._stageSize.width,height:this._stageSize.height},n))}},{key:"createView",value:function(t){return new this.View(t,this.viewSettings)}},{key:"display",value:function(t,e){var n=new u.defer,i=n.promise;(e===t.href||(0,u.isNumber)(e))&&(e=void 0);var r=this.views.find(t);if(r&&t){var s=r.offset();if("ltr"===this.settings.direction)this.scrollTo(s.left,s.top,!0);else{var o=r.width();this.scrollTo(s.left+o,s.top,!0)}if(e){var a=r.locationOf(e);this.moveTo(a)}return n.resolve(),i}return this.clear(),this.add(t).then(function(t){if(e){var n=t.locationOf(e);this.moveTo(n)}}.bind(this),function(t){n.reject(t)}).then(function(){var e;if("pre-paginated"===this.layout.name&&this.layout.divisor>1&&t.index>0&&(e=t.next()))return this.add(e)}.bind(this)).then(function(){this.views.show(),n.resolve()}.bind(this)),i}},{key:"afterDisplayed",value:function(t){this.emit(m.EVENTS.MANAGERS.ADDED,t)}},{key:"afterResized",value:function(t){this.emit(m.EVENTS.MANAGERS.RESIZE,t.section)}},{key:"moveTo",value:function(t){var e=0,n=0;this.isPaginated?(e=Math.floor(t.left/this.layout.delta)*this.layout.delta)+this.layout.delta>this.container.scrollWidth&&(e=this.container.scrollWidth-this.layout.delta):n=t.top,this.scrollTo(e,n,!0)}},{key:"add",value:function(t){var e=this,n=this.createView(t);return this.views.append(n),n.onDisplayed=this.afterDisplayed.bind(this),n.onResize=this.afterResized.bind(this),n.on(m.EVENTS.VIEWS.AXIS,function(t){e.updateAxis(t)}),n.display(this.request)}},{key:"append",value:function(t){var e=this,n=this.createView(t);return this.views.append(n),n.onDisplayed=this.afterDisplayed.bind(this),n.onResize=this.afterResized.bind(this),n.on(m.EVENTS.VIEWS.AXIS,function(t){e.updateAxis(t)}),n.display(this.request)}},{key:"prepend",value:function(t){var e=this,n=this.createView(t);return n.on(m.EVENTS.VIEWS.RESIZED,function(t){e.counter(t)}),this.views.prepend(n),n.onDisplayed=this.afterDisplayed.bind(this),n.onResize=this.afterResized.bind(this),n.on(m.EVENTS.VIEWS.AXIS,function(t){e.updateAxis(t)}),n.display(this.request)}},{key:"counter",value:function(t){"vertical"===this.settings.axis?this.scrollBy(0,t.heightDelta,!0):this.scrollBy(t.widthDelta,0,!0)}},{key:"next",value:function(){var t,e,n=this.settings.direction;if(this.views.length){if(!this.isPaginated||"horizontal"!==this.settings.axis||n&&"ltr"!==n)if(this.isPaginated&&"horizontal"===this.settings.axis&&"rtl"===n)this.scrollLeft=this.container.scrollLeft,e=this.container.scrollLeft,e>0?this.scrollBy(this.layout.delta,0,!0):t=this.views.last().section.next();else if(this.isPaginated&&"vertical"===this.settings.axis){this.scrollTop=this.container.scrollTop;var i=this.container.scrollTop+this.container.offsetHeight;i<this.container.scrollHeight?this.scrollBy(0,this.layout.height,!0):t=this.views.last().section.next()}else t=this.views.last().section.next();else this.scrollLeft=this.container.scrollLeft,e=this.container.scrollLeft+this.container.offsetWidth+this.layout.delta,e<=this.container.scrollWidth?this.scrollBy(this.layout.delta,0,!0):t=this.views.last().section.next();return t?(this.clear(),this.append(t).then(function(){var e;if("pre-paginated"===this.layout.name&&this.layout.divisor>1&&(e=t.next()))return this.append(e)}.bind(this),function(t){return t}).then(function(){this.views.show()}.bind(this))):void 0}}},{key:"prev",value:function(){var t,e,n=this.settings.direction;if(this.views.length){if(!this.isPaginated||"horizontal"!==this.settings.axis||n&&"ltr"!==n)if(this.isPaginated&&"horizontal"===this.settings.axis&&"rtl"===n)this.scrollLeft=this.container.scrollLeft,e=this.container.scrollLeft+this.container.offsetWidth+this.layout.delta,e<=this.container.scrollWidth?this.scrollBy(-this.layout.delta,0,!0):t=this.views.first().section.prev();else if(this.isPaginated&&"vertical"===this.settings.axis){this.scrollTop=this.container.scrollTop;var i=this.container.scrollTop;i>0?this.scrollBy(0,-this.layout.height,!0):t=this.views.first().section.prev()}else t=this.views.first().section.prev();else this.scrollLeft=this.container.scrollLeft,e=this.container.scrollLeft,e>0?this.scrollBy(-this.layout.delta,0,!0):t=this.views.first().section.prev();return t?(this.clear(),this.prepend(t).then(function(){var e;if("pre-paginated"===this.layout.name&&this.layout.divisor>1&&(e=t.prev()))return this.prepend(e)}.bind(this),function(t){return t}).then(function(){this.isPaginated&&"horizontal"===this.settings.axis&&("rtl"===this.settings.direction?this.scrollTo(0,0,!0):this.scrollTo(this.container.scrollWidth-this.layout.delta,0,!0)),this.views.show()}.bind(this))):void 0}}},{key:"current",value:function(){var t=this.visible();return t.length?t[t.length-1]:null}},{key:"clear",value:function(){this.views&&(this.views.hide(),this.scrollTo(0,0,!0),this.views.clear())}},{key:"currentLocation",value:function(){return"vertical"===this.settings.axis?this.location=this.scrolledLocation():this.location=this.paginatedLocation(),this.location}},{key:"scrolledLocation",value:function(){var t=this,e=this.visible(),n=this.container.getBoundingClientRect(),i=n.height<window.innerHeight?n.height:window.innerHeight,r=0,s=0;return this.settings.fullsize&&(r=window.scrollY),e.map(function(e){var o=e.section,a=o.index,u=o.href,l=e.position(),h=e.height(),c=r+n.top-l.top+s,f=c+i-s;f>h&&(f=h,s=f-c);var d=t.layout.count(h,i).pages,p=Math.ceil(c/i),v=[],g=Math.ceil(f/i);v=[];for(var m=p;m<=g;m++){var y=m+1;v.push(y)}return{index:a,href:u,pages:v,totalPages:d,mapping:t.mapping.page(e.contents,e.section.cfiBase,c,f)}})}},{key:"paginatedLocation",value:function(){var t=this,e=this.visible(),n=this.container.getBoundingClientRect(),i=0;return this.settings.fullsize&&(i=window.scrollX),e.map(function(e){var r=e.section,s=r.index,o=r.href,a=(e.offset().left,e.position().left),u=e.width(),l=i+n.left-a+0,h=l+t.layout.width-0,c=t.mapping.page(e.contents,e.section.cfiBase,l,h),f=t.layout.count(u).pages,d=Math.floor(l/t.layout.pageWidth),p=[],v=Math.floor(h/t.layout.pageWidth);if(d<0&&(d=0,v+=1),"rtl"===t.settings.direction){var g=d;d=f-v,v=f-g}for(var m=d+1;m<=v;m++){var y=m;p.push(y)}return{index:s,href:o,pages:p,totalPages:f,mapping:c}})}},{key:"isVisible",value:function(t,e,n,i){var r=t.position(),s=i||this.bounds();return"horizontal"===this.settings.axis&&r.right>s.left-e&&r.left<s.right+n||"vertical"===this.settings.axis&&r.bottom>s.top-e&&r.top<s.bottom+n}},{key:"visible",value:function(){for(var t,e=this.bounds(),n=this.views.displayed(),i=n.length,r=[],s=0;s<i;s++)t=n[s],!0===this.isVisible(t,0,0,e)&&r.push(t);return r}},{\nkey:"scrollBy",value:function(t,e,n){var i="rtl"===this.settings.direction?-1:1;n&&(this.ignore=!0),this.settings.fullsize?window.scrollBy(t*i,e*i):(t&&(this.container.scrollLeft+=t*i),e&&(this.container.scrollTop+=e)),this.scrolled=!0}},{key:"scrollTo",value:function(t,e,n){n&&(this.ignore=!0),this.settings.fullsize?window.scrollTo(t,e):(this.container.scrollLeft=t,this.container.scrollTop=e),this.scrolled=!0}},{key:"onScroll",value:function(){var t=void 0,e=void 0;this.settings.fullsize?(t=window.scrollY,e=window.scrollX):(t=this.container.scrollTop,e=this.container.scrollLeft),this.scrollTop=t,this.scrollLeft=e,this.ignore?this.ignore=!1:(this.emit(m.EVENTS.MANAGERS.SCROLL,{top:t,left:e}),clearTimeout(this.afterScrolled),this.afterScrolled=setTimeout(function(){this.emit(m.EVENTS.MANAGERS.SCROLLED,{top:this.scrollTop,left:this.scrollLeft})}.bind(this),20))}},{key:"bounds",value:function(){var t;return t=this.stage.bounds(),t}},{key:"applyLayout",value:function(t){this.layout=t,this.updateLayout()}},{key:"updateLayout",value:function(){this.stage&&(this._stageSize=this.stage.size(),this.isPaginated?(this.layout.calculate(this._stageSize.width,this._stageSize.height,this.settings.gap),this.settings.offset=this.layout.delta):this.layout.calculate(this._stageSize.width,this._stageSize.height),this.viewSettings.width=this.layout.width,this.viewSettings.height=this.layout.height,this.setLayout(this.layout))}},{key:"setLayout",value:function(t){this.viewSettings.layout=t,this.mapping=new h.default(t.props,this.settings.direction,this.settings.axis),this.views&&this.views.forEach(function(e){e&&e.setLayout(t)})}},{key:"updateAxis",value:function(t,e){this.isPaginated||(t="vertical"),(e||t!==this.settings.axis)&&(this.settings.axis=t,this.stage&&this.stage.axis(t),this.viewSettings.axis=t,this.mapping&&(this.mapping=new h.default(this.layout.props,this.settings.direction,this.settings.axis)),this.layout&&("vertical"===t?this.layout.spread("none"):this.layout.spread(this.layout.settings.spread)))}},{key:"updateFlow",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n="paginated"===t||"auto"===t;this.isPaginated=n,"scrolled-doc"===t||"scrolled-continuous"===t||"scrolled"===t?this.updateAxis("vertical"):this.updateAxis("horizontal"),this.viewSettings.flow=t,this.settings.overflow?this.overflow=this.settings.overflow:this.overflow=n?"hidden":e,this.stage&&this.stage.overflow(this.overflow),this.updateLayout()}},{key:"getContents",value:function(){var t=[];return this.views?(this.views.forEach(function(e){var n=e&&e.contents;n&&t.push(n)}),t):t}},{key:"direction",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ltr";this.settings.direction=t,this.stage&&this.stage.direction(t),this.viewSettings.direction=t,this.updateLayout()}},{key:"isRendered",value:function(){return this.rendered}}]),t}();(0,a.default)(y.prototype),e.default=y,t.exports=e.default},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e){function n(t,e){for(var n in t)e[n]=t[n]}function i(t,e){function i(){}var r=t.prototype;if(Object.create){var s=Object.create(e.prototype);r.__proto__=s}r instanceof e||(i.prototype=e.prototype,i=new i,n(r,i),t.prototype=r=i),r.constructor!=t&&("function"!=typeof t&&console.error("unknow Class:"+t),r.constructor=t)}function r(t,e){if(e instanceof Error)var n=e;else n=this,Error.call(this,rt[t]),this.message=rt[t],Error.captureStackTrace&&Error.captureStackTrace(this,r);return n.code=t,e&&(this.message=this.message+": "+e),n}function s(){}function o(t,e){this._node=t,this._refresh=e,a(this)}function a(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!=e){var i=t._refresh(t._node);U(t,"length",i.length),n(i,t),t._inc=e}}function u(){}function l(t,e){for(var n=t.length;n--;)if(t[n]===e)return n}function h(t,e,n,i){if(i?e[l(e,i)]=n:e[e.length++]=n,t){n.ownerElement=t;var r=t.ownerDocument;r&&(i&&y(r,t,i),m(r,t,n))}}function c(t,e,n){var i=l(e,n);if(!(i>=0))throw r(ot,new Error(t.tagName+"@"+n));for(var s=e.length-1;i<s;)e[i]=e[++i];if(e.length=s,t){var o=t.ownerDocument;o&&(y(o,t,n),n.ownerElement=null)}}function f(t){if(this._features={},t)for(var e in t)this._features=t[e]}function d(){}function p(t){return"<"==t&&"&lt;"||">"==t&&"&gt;"||"&"==t&&"&amp;"||\'"\'==t&&"&quot;"||"&#"+t.charCodeAt()+";"}function v(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(v(t,e))return!0}while(t=t.nextSibling)}function g(){}function m(t,e,n){t&&t._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&(e._nsMap[n.prefix?n.localName:""]=n.value)}function y(t,e,n,i){t&&t._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete e._nsMap[n.prefix?n.localName:""]}function b(t,e,n){if(t&&t._inc){t._inc++;var i=e.childNodes;if(n)i[i.length++]=n;else{for(var r=e.firstChild,s=0;r;)i[s++]=r,r=r.nextSibling;i.length=s}}}function w(t,e){var n=e.previousSibling,i=e.nextSibling;return n?n.nextSibling=i:t.firstChild=i,i?i.previousSibling=n:t.lastChild=n,b(t.ownerDocument,t),e}function E(t,e,n){var i=e.parentNode;if(i&&i.removeChild(e),e.nodeType===et){var r=e.firstChild;if(null==r)return e;var s=e.lastChild}else r=s=e;var o=n?n.previousSibling:t.lastChild;r.previousSibling=o,s.nextSibling=n,o?o.nextSibling=r:t.firstChild=r,null==n?t.lastChild=s:n.previousSibling=s;do{r.parentNode=t}while(r!==s&&(r=r.nextSibling));return b(t.ownerDocument||t,t),e.nodeType==et&&(e.firstChild=e.lastChild=null),e}function k(t,e){var n=e.parentNode;if(n){var i=t.lastChild;n.removeChild(e);var i=t.lastChild}var i=t.lastChild;return e.parentNode=t,e.previousSibling=i,e.nextSibling=null,i?i.nextSibling=e:t.firstChild=e,t.lastChild=e,b(t.ownerDocument,t,e),e}function x(){this._nsMap={}}function _(){}function S(){}function N(){}function T(){}function C(){}function O(){}function R(){}function I(){}function A(){}function L(){}function P(){}function D(){}function j(t,e){var n=[],i=9==this.nodeType?this.documentElement:this,r=i.prefix,s=i.namespaceURI;if(s&&null==r){var r=i.lookupPrefix(s);if(null==r)var o=[{namespace:s,prefix:null}]}return z(this,n,t,e,o),n.join("")}function M(t,e,n){var i=t.prefix||"",r=t.namespaceURI;if(!i&&!r)return!1;if("xml"===i&&"http://www.w3.org/XML/1998/namespace"===r||"http://www.w3.org/2000/xmlns/"==r)return!1;for(var s=n.length;s--;){var o=n[s];if(o.prefix==i)return o.namespace!=r}return!0}function z(t,e,n,i,r){if(i){if(!(t=i(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case H:r||(r=[]);var s=(r.length,t.attributes),o=s.length,a=t.firstChild,u=t.tagName;n=V===t.namespaceURI||n,e.push("<",u);for(var l=0;l<o;l++){var h=s.item(l);"xmlns"==h.prefix?r.push({prefix:h.localName,namespace:h.value}):"xmlns"==h.nodeName&&r.push({prefix:"",namespace:h.value})}for(var l=0;l<o;l++){var h=s.item(l);if(M(h,n,r)){var c=h.prefix||"",f=h.namespaceURI,d=c?" xmlns:"+c:" xmlns";e.push(d,\'="\',f,\'"\'),r.push({prefix:c,namespace:f})}z(h,e,n,i,r)}if(M(t,n,r)){var c=t.prefix||"",f=t.namespaceURI,d=c?" xmlns:"+c:" xmlns";e.push(d,\'="\',f,\'"\'),r.push({prefix:c,namespace:f})}if(a||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(u)){if(e.push(">"),n&&/^script$/i.test(u))for(;a;)a.data?e.push(a.data):z(a,e,n,i,r),a=a.nextSibling;else for(;a;)z(a,e,n,i,r),a=a.nextSibling;e.push("</",u,">")}else e.push("/>");return;case Q:case et:for(var a=t.firstChild;a;)z(a,e,n,i,r),a=a.nextSibling;return;case X:return e.push(" ",t.name,\'="\',t.value.replace(/[<&"]/g,p),\'"\');case Y:return e.push(t.data.replace(/[<&]/g,p));case G:return e.push("<![CDATA[",t.data,"]]>");case J:return e.push("\\x3c!--",t.data,"--\\x3e");case tt:var v=t.publicId,g=t.systemId;if(e.push("<!DOCTYPE ",t.name),v)e.push(\' PUBLIC "\',v),g&&"."!=g&&e.push(\'" "\',g),e.push(\'">\');else if(g&&"."!=g)e.push(\' SYSTEM "\',g,\'">\');else{var m=t.internalSubset;m&&e.push(" [",m,"]"),e.push(">")}return;case Z:return e.push("<?",t.target," ",t.data,"?>");case K:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function B(t,e,n){var i;switch(e.nodeType){case H:i=e.cloneNode(!1),i.ownerDocument=t;case et:break;case X:n=!0}if(i||(i=e.cloneNode(!1)),i.ownerDocument=t,i.parentNode=null,n)for(var r=e.firstChild;r;)i.appendChild(B(t,r,n)),r=r.nextSibling;return i}function q(t,e,n){var i=new e.constructor;for(var r in e){var o=e[r];"object"!=typeof o&&o!=i[r]&&(i[r]=o)}switch(e.childNodes&&(i.childNodes=new s),i.ownerDocument=t,i.nodeType){case H:var a=e.attributes,l=i.attributes=new u,h=a.length;l._ownerElement=i;for(var c=0;c<h;c++)i.setAttributeNode(q(t,a.item(c),!0));break;case X:n=!0}if(n)for(var f=e.firstChild;f;)i.appendChild(q(t,f,n)),f=f.nextSibling;return i}function U(t,e,n){t[e]=n}function F(t){switch(t.nodeType){case H:case et:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(F(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}var V="http://www.w3.org/1999/xhtml",W={},H=W.ELEMENT_NODE=1,X=W.ATTRIBUTE_NODE=2,Y=W.TEXT_NODE=3,G=W.CDATA_SECTION_NODE=4,K=W.ENTITY_REFERENCE_NODE=5,$=W.ENTITY_NODE=6,Z=W.PROCESSING_INSTRUCTION_NODE=7,J=W.COMMENT_NODE=8,Q=W.DOCUMENT_NODE=9,tt=W.DOCUMENT_TYPE_NODE=10,et=W.DOCUMENT_FRAGMENT_NODE=11,nt=W.NOTATION_NODE=12,it={},rt={},st=(it.INDEX_SIZE_ERR=(rt[1]="Index size error",1),it.DOMSTRING_SIZE_ERR=(rt[2]="DOMString size error",2),it.HIERARCHY_REQUEST_ERR=(rt[3]="Hierarchy request error",3)),ot=(it.WRONG_DOCUMENT_ERR=(rt[4]="Wrong document",4),it.INVALID_CHARACTER_ERR=(rt[5]="Invalid character",5),it.NO_DATA_ALLOWED_ERR=(rt[6]="No data allowed",6),it.NO_MODIFICATION_ALLOWED_ERR=(rt[7]="No modification allowed",7),it.NOT_FOUND_ERR=(rt[8]="Not found",8)),at=(it.NOT_SUPPORTED_ERR=(rt[9]="Not supported",9),it.INUSE_ATTRIBUTE_ERR=(rt[10]="Attribute in use",10));it.INVALID_STATE_ERR=(rt[11]="Invalid state",11),it.SYNTAX_ERR=(rt[12]="Syntax error",12),it.INVALID_MODIFICATION_ERR=(rt[13]="Invalid modification",13),it.NAMESPACE_ERR=(rt[14]="Invalid namespace",14),it.INVALID_ACCESS_ERR=(rt[15]="Invalid access",15);r.prototype=Error.prototype,n(it,r),s.prototype={length:0,item:function(t){return this[t]||null},toString:function(t,e){for(var n=[],i=0;i<this.length;i++)z(this[i],n,t,e);return n.join("")}},o.prototype.item=function(t){return a(this),this[t]},i(o,s),u.prototype={length:0,item:s.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var n=this[e];if(n.nodeName==t)return n}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new r(at);var n=this.getNamedItem(t.nodeName);return h(this._ownerElement,this,t,n),n},setNamedItemNS:function(t){var e,n=t.ownerElement;if(n&&n!=this._ownerElement)throw new r(at);return e=this.getNamedItemNS(t.namespaceURI,t.localName),h(this._ownerElement,this,t,e),e},removeNamedItem:function(t){var e=this.getNamedItem(t);return c(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var n=this.getNamedItemNS(t,e);return c(this._ownerElement,this,n),n},getNamedItemNS:function(t,e){for(var n=this.length;n--;){var i=this[n];if(i.localName==e&&i.namespaceURI==t)return i}return null}},f.prototype={hasFeature:function(t,e){var n=this._features[t.toLowerCase()];return!(!n||e&&!(e in n))},createDocument:function(t,e,n){var i=new g;if(i.implementation=this,i.childNodes=new s,i.doctype=n,n&&i.appendChild(n),e){var r=i.createElementNS(t,e);i.appendChild(r)}return i},createDocumentType:function(t,e,n){var i=new O;return i.name=t,i.nodeName=t,i.publicId=e,i.systemId=n,i}},d.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(t,e){return E(this,t,e)},replaceChild:function(t,e){this.insertBefore(t,e),e&&this.removeChild(e)},removeChild:function(t){return w(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(t){return q(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==Y&&t.nodeType==Y?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var n=e._nsMap;if(n)for(var i in n)if(n[i]==t)return i;e=e.nodeType==X?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var n=e._nsMap;if(n&&t in n)return n[t];e=e.nodeType==X?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},n(W,d),n(W,d.prototype),g.prototype={nodeName:"#document",nodeType:Q,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==et){for(var n=t.firstChild;n;){var i=n.nextSibling;this.insertBefore(n,e),n=i}return t}return null==this.documentElement&&t.nodeType==H&&(this.documentElement=t),E(this,t,e),t.ownerDocument=this,t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),w(this,t)},importNode:function(t,e){return B(this,t,e)},getElementById:function(t){var e=null;return v(this.documentElement,function(n){if(n.nodeType==H&&n.getAttribute("id")==t)return e=n,!0}),e},createElement:function(t){var e=new x;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.childNodes=new s,(e.attributes=new u)._ownerElement=e,e},createDocumentFragment:function(){var t=new L;return t.ownerDocument=this,t.childNodes=new s,t},createTextNode:function(t){var e=new N;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new T;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new C;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var n=new P;return n.ownerDocument=this,n.tagName=n.target=t,n.nodeValue=n.data=e,n},createAttribute:function(t){var e=new _;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new A;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var n=new x,i=e.split(":"),r=n.attributes=new u;return n.childNodes=new s,n.ownerDocument=this,n.nodeName=e,n.tagName=e,n.namespaceURI=t,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=e,r._ownerElement=n,n},createAttributeNS:function(t,e){var n=new _,i=e.split(":");return n.ownerDocument=this,n.nodeName=e,n.name=e,n.namespaceURI=t,n.specified=!0,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=e,n}},i(g,d),x.prototype={nodeType:H,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var n=this.ownerDocument.createAttribute(t);n.value=n.nodeValue=""+e,this.setAttributeNode(n)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===et?this.insertBefore(t,null):k(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);n&&this.removeAttributeNode(n)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);return n&&n.value||""},setAttributeNS:function(t,e,n){var i=this.ownerDocument.createAttributeNS(t,e);i.value=i.nodeValue=""+n,this.setAttributeNode(i)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new o(this,function(e){var n=[];return v(e,function(i){i===e||i.nodeType!=H||"*"!==t&&i.tagName!=t||n.push(i)}),n})},getElementsByTagNameNS:function(t,e){return new o(this,function(n){var i=[];return v(n,function(r){r===n||r.nodeType!==H||"*"!==t&&r.namespaceURI!==t||"*"!==e&&r.localName!=e||i.push(r)}),i})}},g.prototype.getElementsByTagName=x.prototype.getElementsByTagName,g.prototype.getElementsByTagNameNS=x.prototype.getElementsByTagNameNS,i(x,d),_.prototype.nodeType=X,i(_,d),S.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(rt[st])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,n){n=this.data.substring(0,t)+n+this.data.substring(t+e),this.nodeValue=this.data=n,this.length=n.length}},i(S,d),N.prototype={nodeName:"#text",nodeType:Y,splitText:function(t){var e=this.data,n=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var i=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}},i(N,S),T.prototype={nodeName:"#comment",nodeType:J},i(T,S),C.prototype={nodeName:"#cdata-section",nodeType:G},i(C,S),O.prototype.nodeType=tt,i(O,d),R.prototype.nodeType=nt,i(R,d),I.prototype.nodeType=$,i(I,d),A.prototype.nodeType=K,i(A,d),L.prototype.nodeName="#document-fragment",L.prototype.nodeType=et,i(L,d),P.prototype.nodeType=Z,i(P,d),D.prototype.serializeToString=function(t,e,n){return j.call(t,e,n)},d.prototype.toString=j;try{Object.defineProperty&&(Object.defineProperty(o.prototype,"length",{get:function(){return a(this),this.$$length}}),Object.defineProperty(d.prototype,"textContent",{get:function(){return F(this)},set:function(t){switch(this.nodeType){case H:case et:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),U=function(t,e,n){t["$$"+e]=n})}catch(t){}e.DOMImplementation=f,e.XMLSerializer=D},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),a=n(3),u=i(a),l=n(0),h=n(11),c=i(h),f=n(1),d=i(f),p=n(12),v=i(p),g=n(53),m=i(g),y=n(54),b=i(y),w=n(14),E=(i(w),n(55)),k=i(E),x=n(2),_=n(20),S=i(_),N=n(15),T=i(N),C=n(24),O=i(C),R=function(){function t(e,n){r(this,t),this.settings=(0,l.extend)(this.settings||{},{width:null,height:null,ignoreClass:"",manager:"default",view:"iframe",flow:null,layout:null,spread:null,minSpreadWidth:800,stylesheet:null,resizeOnOrientationChange:!0,script:null,snap:!1}),(0,l.extend)(this.settings,n),"object"===s(this.settings.manager)&&(this.manager=this.settings.manager),this.book=e,this.hooks={},this.hooks.display=new c.default(this),this.hooks.serialize=new c.default(this),this.hooks.content=new c.default(this),this.hooks.unloaded=new c.default(this),this.hooks.layout=new c.default(this),this.hooks.render=new c.default(this),this.hooks.show=new c.default(this),this.hooks.content.register(this.handleLinks.bind(this)),this.hooks.content.register(this.passEvents.bind(this)),this.hooks.content.register(this.adjustImages.bind(this)),this.book.spine.hooks.content.register(this.injectIdentifier.bind(this)),this.settings.stylesheet&&this.book.spine.hooks.content.register(this.injectStylesheet.bind(this)),this.settings.script&&this.book.spine.hooks.content.register(this.injectScript.bind(this)),this.themes=new b.default(this),this.annotations=new k.default(this),this.epubcfi=new d.default,this.q=new v.default(this),this.location=void 0,this.q.enqueue(this.book.opened),this.starting=new l.defer,this.started=this.starting.promise,this.q.enqueue(this.start)}return o(t,[{key:"setManager",value:function(t){this.manager=t}},{key:"requireManager",value:function(t){return"string"==typeof t&&"default"===t?T.default:"string"==typeof t&&"continuous"===t?O.default:t}},{key:"requireView",value:function(t){return"string"==typeof t&&"iframe"===t?S.default:t}},{key:"start",value:function(){this.settings.layout||"pre-paginated"!==this.book.package.metadata.layout&&"true"!==this.book.displayOptions.fixedLayout||(this.settings.layout="pre-paginated"),this.manager||(this.ViewManager=this.requireManager(this.settings.manager),this.View=this.requireView(this.settings.view),this.manager=new this.ViewManager({view:this.View,queue:this.q,request:this.book.load.bind(this.book),settings:this.settings})),this.direction(this.book.package.metadata.direction),this.settings.globalLayoutProperties=this.determineLayoutProperties(this.book.package.metadata),this.flow(this.settings.globalLayoutProperties.flow),this.layout(this.settings.globalLayoutProperties),this.manager.on(x.EVENTS.MANAGERS.ADDED,this.afterDisplayed.bind(this)),this.manager.on(x.EVENTS.MANAGERS.REMOVED,this.afterRemoved.bind(this)),this.manager.on(x.EVENTS.MANAGERS.RESIZED,this.onResized.bind(this)),this.manager.on(x.EVENTS.MANAGERS.ORIENTATION_CHANGE,this.onOrientationChange.bind(this)),this.manager.on(x.EVENTS.MANAGERS.SCROLLED,this.reportLocation.bind(this)),this.emit(x.EVENTS.RENDITION.STARTED),this.starting.resolve()}},{key:"attachTo",value:function(t){return this.q.enqueue(function(){this.manager.render(t,{width:this.settings.width,height:this.settings.height}),this.emit(x.EVENTS.RENDITION.ATTACHED)}.bind(this))}},{key:"display",value:function(t){return this.displaying&&this.displaying.resolve(),this.q.enqueue(this._display,t)}},{key:"_display",value:function(t){var e=this;if(this.book){var n,i=(this.epubcfi.isCfiString(t),new l.defer),r=i.promise;return this.displaying=i,(this.book.locations.length()&&(0,l.isFloat)(t)&&(t=this.book.locations.cfiFromPercentage(parseFloat(t))),n=this.book.spine.get(t))?(this.manager.display(n,t).then(function(){i.resolve(n),e.displaying=void 0,e.emit(x.EVENTS.RENDITION.DISPLAYED,n),e.reportLocation()},function(t){e.emit(x.EVENTS.RENDITION.DISPLAY_ERROR,t)}),r):(i.reject(new Error("No Section Found")),r)}}},{key:"afterDisplayed",value:function(t){var e=this;t.on(x.EVENTS.VIEWS.MARK_CLICKED,function(n,i){return e.triggerMarkEvent(n,i,t.contents)}),this.hooks.render.trigger(t,this).then(function(){t.contents?e.hooks.content.trigger(t.contents,e).then(function(){e.emit(x.EVENTS.RENDITION.RENDERED,t.section,t)}):e.emit(x.EVENTS.RENDITION.RENDERED,t.section,t)})}},{key:"afterRemoved",value:function(t){var e=this;this.hooks.unloaded.trigger(t,this).then(function(){e.emit(x.EVENTS.RENDITION.REMOVED,t.section,t)})}},{key:"onResized",value:function(t,e){this.emit(x.EVENTS.RENDITION.RESIZED,{width:t.width,height:t.height},e),this.location&&this.location.start&&this.display(e||this.location.start.cfi)}},{key:"onOrientationChange",value:function(t){this.emit(x.EVENTS.RENDITION.ORIENTATION_CHANGE,t)}},{key:"moveTo",value:function(t){this.manager.moveTo(t)}},{key:"resize",value:function(t,e,n){t&&(this.settings.width=t),e&&(this.settings.height=e),this.manager.resize(t,e,n)}},{key:"clear",value:function(){this.manager.clear()}},{key:"next",value:function(){return this.q.enqueue(this.manager.next.bind(this.manager)).then(this.reportLocation.bind(this))}},{key:"prev",value:function(){return this.q.enqueue(this.manager.prev.bind(this.manager)).then(this.reportLocation.bind(this))}},{key:"determineLayoutProperties",value:function(t){var e=this.settings.layout||t.layout||"reflowable",n=this.settings.spread||t.spread||"auto",i=this.settings.orientation||t.orientation||"auto",r=this.settings.flow||t.flow||"auto",s=t.viewport||"",o=this.settings.minSpreadWidth||t.minSpreadWidth||800,a=this.settings.direction||t.direction||"ltr";return(0===this.settings.width||this.settings.width>0)&&(0===this.settings.height||this.settings.height),{layout:e,spread:n,orientation:i,flow:r,viewport:s,minSpreadWidth:o,direction:a}}},{key:"flow",value:function(t){var e=t;"scrolled"!==t&&"scrolled-doc"!==t&&"scrolled-continuous"!==t||(e="scrolled"),"auto"!==t&&"paginated"!==t||(e="paginated"),this.settings.flow=t,this._layout&&this._layout.flow(e),this.manager&&this._layout&&this.manager.applyLayout(this._layout),this.manager&&this.manager.updateFlow(e),this.manager&&this.manager.isRendered()&&this.location&&(this.manager.clear(),this.display(this.location.start.cfi))}},{key:"layout",value:function(t){var e=this;return t&&(this._layout=new m.default(t),this._layout.spread(t.spread,this.settings.minSpreadWidth),this._layout.on(x.EVENTS.LAYOUT.UPDATED,function(t,n){e.emit(x.EVENTS.RENDITION.LAYOUT,t,n)})),this.manager&&this._layout&&this.manager.applyLayout(this._layout),this._layout}},{key:"spread",value:function(t,e){this.settings.spread=t,e&&(this.settings.minSpreadWidth=e),this._layout&&this._layout.spread(t,e),this.manager&&this.manager.isRendered()&&this.manager.updateLayout()}},{key:"direction",value:function(t){this.settings.direction=t||"ltr",this.manager&&this.manager.direction(this.settings.direction),this.manager&&this.manager.isRendered()&&this.location&&(this.manager.clear(),this.display(this.location.start.cfi))}},{key:"reportLocation",value:function(){return this.q.enqueue(function(){requestAnimationFrame(function(){var t=this.manager.currentLocation();if(t&&t.then&&"function"==typeof t.then)t.then(function(t){var e=this.located(t);e&&e.start&&e.end&&(this.location=e,this.emit(x.EVENTS.RENDITION.LOCATION_CHANGED,{index:this.location.start.index,href:this.location.start.href,start:this.location.start.cfi,end:this.location.end.cfi,percentage:this.location.start.percentage}),this.emit(x.EVENTS.RENDITION.RELOCATED,this.location))}.bind(this));else if(t){var e=this.located(t);if(!e||!e.start||!e.end)return;this.location=e,this.emit(x.EVENTS.RENDITION.LOCATION_CHANGED,{index:this.location.start.index,href:this.location.start.href,start:this.location.start.cfi,end:this.location.end.cfi,percentage:this.location.start.percentage}),this.emit(x.EVENTS.RENDITION.RELOCATED,this.location)}}.bind(this))}.bind(this))}},{key:"currentLocation",value:function(){var t=this.manager.currentLocation();if(t&&t.then&&"function"==typeof t.then)t.then(function(t){return this.located(t)}.bind(this));else if(t){var e=this.located(t);return e}}},{key:"located",value:function(t){if(!t.length)return{};var e=t[0],n=t[t.length-1],i={start:{index:e.index,href:e.href,cfi:e.mapping.start,displayed:{page:e.pages[0]||1,total:e.totalPages}},end:{index:n.index,href:n.href,cfi:n.mapping.end,displayed:{page:n.pages[n.pages.length-1]||1,total:n.totalPages}}},r=this.book.locations.locationFromCfi(e.mapping.start),s=this.book.locations.locationFromCfi(n.mapping.end);null!=r&&(i.start.location=r,i.start.percentage=this.book.locations.percentageFromLocation(r)),null!=s&&(i.end.location=s,i.end.percentage=this.book.locations.percentageFromLocation(s));var o=this.book.pageList.pageFromCfi(e.mapping.start),a=this.book.pageList.pageFromCfi(n.mapping.end);return-1!=o&&(i.start.page=o),-1!=a&&(i.end.page=a),n.index===this.book.spine.last().index&&i.end.displayed.page>=i.end.displayed.total&&(i.atEnd=!0),e.index===this.book.spine.first().index&&1===i.start.displayed.page&&(i.atStart=!0),i}},{key:"destroy",value:function(){this.manager&&this.manager.destroy(),this.book=void 0}},{key:"passEvents",value:function(t){var e=this;x.DOM_EVENTS.forEach(function(n){t.on(n,function(n){return e.triggerViewEvent(n,t)})}),t.on(x.EVENTS.CONTENTS.SELECTED,function(n){return e.triggerSelectedEvent(n,t)})}},{key:"triggerViewEvent",value:function(t,e){this.emit(t.type,t,e)}},{key:"triggerSelectedEvent",value:function(t,e){this.emit(x.EVENTS.RENDITION.SELECTED,t,e)}},{key:"triggerMarkEvent",value:function(t,e,n){this.emit(x.EVENTS.RENDITION.MARK_CLICKED,t,e,n)}},{key:"getRange",value:function(t,e){var n=new d.default(t),i=this.manager.visible().filter(function(t){if(n.spinePos===t.index)return!0});if(i.length)return i[0].contents.range(n,e)}},{key:"adjustImages",value:function(t){if("pre-paginated"===this._layout.name)return new Promise(function(t){t()});var e=t.window.getComputedStyle(t.content,null),n=.95*(t.content.offsetHeight-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom))),i=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight);return t.addStylesheetRules({img:{"max-width":(this._layout.columnWidth?this._layout.columnWidth-i+"px":"100%")+"!important","max-height":n+"px!important","object-fit":"contain","page-break-inside":"avoid","break-inside":"avoid","box-sizing":"border-box"},svg:{"max-width":(this._layout.columnWidth?this._layout.columnWidth-i+"px":"100%")+"!important","max-height":n+"px!important","page-break-inside":"avoid","break-inside":"avoid"}}),new Promise(function(t,e){setTimeout(function(){t()},1)})}},{key:"getContents",value:function(){return this.manager?this.manager.getContents():[]}},{key:"views",value:function(){return(this.manager?this.manager.views:void 0)||[]}},{key:"handleLinks",value:function(t){var e=this;t&&t.on(x.EVENTS.CONTENTS.LINK_CLICKED,function(t){var n=e.book.path.relative(t);e.display(n)})}},{key:"injectStylesheet",value:function(t,e){var n=t.createElement("link");n.setAttribute("type","text/css"),n.setAttribute("rel","stylesheet"),n.setAttribute("href",this.settings.stylesheet),t.getElementsByTagName("head")[0].appendChild(n)}},{key:"injectScript",value:function(t,e){var n=t.createElement("script");n.setAttribute("type","text/javascript"),n.setAttribute("src",this.settings.script),n.textContent=" ",t.getElementsByTagName("head")[0].appendChild(n)}},{key:"injectIdentifier",value:function(t,e){var n=this.book.packaging.metadata.identifier,i=t.createElement("meta");i.setAttribute("name","dc.relation.ispartof"),n&&i.setAttribute("content",n),t.getElementsByTagName("head")[0].appendChild(i)}}]),t}();(0,u.default)(R.prototype),e.default=R,t.exports=e.default},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(1),o=function(t){return t&&t.__esModule?t:{default:t}}(s),a=n(0),u=function(){function t(e,n,r,s){i(this,t),this.layout=e,this.horizontal="horizontal"===r,this.direction=n||"ltr",this._dev=s}return r(t,[{key:"section",value:function(t){var e=this.findRanges(t);return this.rangeListToCfiList(t.section.cfiBase,e)}},{key:"page",value:function(t,e,n,i){var r,s=!(!t||!t.document)&&t.document.body;if(s){if(r=this.rangePairToCfiPair(e,{start:this.findStart(s,n,i),end:this.findEnd(s,n,i)}),!0===this._dev){var a=t.document,u=new o.default(r.start).toRange(a),l=new o.default(r.end).toRange(a),h=a.defaultView.getSelection(),c=a.createRange();h.removeAllRanges(),c.setStart(u.startContainer,u.startOffset),c.setEnd(l.endContainer,l.endOffset),h.addRange(c)}return r}}},{key:"walk",value:function(t,e){if(!t||t.nodeType!==Node.TEXT_NODE){var n={acceptNode:function(t){return t.data.trim().length>0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}},i=n.acceptNode;i.acceptNode=n.acceptNode;for(var r,s,o=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,i,!1);(r=o.nextNode())&&!(s=e(r)););return s}}},{key:"findRanges",value:function(t){\nfor(var e,n,i=[],r=t.contents.scrollWidth(),s=Math.ceil(r/this.layout.spreadWidth),o=s*this.layout.divisor,a=this.layout.columnWidth,u=this.layout.gap,l=0;l<o.pages;l++)e=(a+u)*l,n=a*(l+1)+u*l,i.push({start:this.findStart(t.document.body,e,n),end:this.findEnd(t.document.body,e,n)});return i}},{key:"findStart",value:function(t,e,n){for(var i,r,s=this,o=[t],u=t;o.length;)if(i=o.shift(),r=this.walk(i,function(t){var i,r,l,h,c;if(c=(0,a.nodeBounds)(t),s.horizontal&&"ltr"===s.direction){if(i=s.horizontal?c.left:c.top,r=s.horizontal?c.right:c.bottom,i>=e&&i<=n)return t;if(r>e)return t;u=t,o.push(t)}else if(s.horizontal&&"rtl"===s.direction){if(i=c.left,(r=c.right)<=n&&r>=e)return t;if(i<n)return t;u=t,o.push(t)}else{if(l=c.top,h=c.bottom,l>=e&&l<=n)return t;if(h>e)return t;u=t,o.push(t)}}))return this.findTextStartRange(r,e,n);return this.findTextStartRange(u,e,n)}},{key:"findEnd",value:function(t,e,n){for(var i,r,s=this,o=[t],u=t;o.length;)if(i=o.shift(),r=this.walk(i,function(t){var i,r,l,h,c;if(c=(0,a.nodeBounds)(t),s.horizontal&&"ltr"===s.direction){if(i=Math.round(c.left),r=Math.round(c.right),i>n&&u)return u;if(r>n)return t;u=t,o.push(t)}else if(s.horizontal&&"rtl"===s.direction){if(i=Math.round(s.horizontal?c.left:c.top),(r=Math.round(s.horizontal?c.right:c.bottom))<e&&u)return u;if(i<e)return t;u=t,o.push(t)}else{if(l=Math.round(c.top),h=Math.round(c.bottom),l>n&&u)return u;if(h>n)return t;u=t,o.push(t)}}))return this.findTextEndRange(r,e,n);return this.findTextEndRange(u,e,n)}},{key:"findTextStartRange",value:function(t,e,n){for(var i,r,s=this.splitTextNodeIntoRanges(t),o=0;o<s.length;o++)if(i=s[o],r=i.getBoundingClientRect(),this.horizontal&&"ltr"===this.direction){if(r.left>=e)return i}else if(this.horizontal&&"rtl"===this.direction){if(r.right<=n)return i}else if(r.top>=e)return i;return s[0]}},{key:"findTextEndRange",value:function(t,e,n){for(var i,r,s,o,a,u,l,h=this.splitTextNodeIntoRanges(t),c=0;c<h.length;c++){if(r=h[c],s=r.getBoundingClientRect(),this.horizontal&&"ltr"===this.direction){if(o=s.left,a=s.right,o>n&&i)return i;if(a>n)return r}else if(this.horizontal&&"rtl"===this.direction){if(o=s.left,(a=s.right)<e&&i)return i;if(o<e)return r}else{if(u=s.top,l=s.bottom,u>n&&i)return i;if(l>n)return r}i=r}return h[h.length-1]}},{key:"splitTextNodeIntoRanges",value:function(t,e){var n,i=[],r=t.textContent||"",s=r.trim(),o=t.ownerDocument,a=e||" ",u=s.indexOf(a);if(-1===u||t.nodeType!=Node.TEXT_NODE)return n=o.createRange(),n.selectNodeContents(t),[n];for(n=o.createRange(),n.setStart(t,0),n.setEnd(t,u),i.push(n),n=!1;-1!=u;)(u=s.indexOf(a,u+1))>0&&(n&&(n.setEnd(t,u),i.push(n)),n=o.createRange(),n.setStart(t,u+1));return n&&(n.setEnd(t,s.length),i.push(n)),i}},{key:"rangePairToCfiPair",value:function(t,e){var n=e.start,i=e.end;return n.collapse(!0),i.collapse(!1),{start:new o.default(n,t).toString(),end:new o.default(i,t).toString()}}},{key:"rangeListToCfiList",value:function(t,e){for(var n,i=[],r=0;r<e.length;r++)n=this.rangePairToCfiPair(t,e[r]),i.push(n);return i}},{key:"axis",value:function(t){return t&&(this.horizontal="horizontal"===t),this.horizontal}}]),t}();e.default=u,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(3),a=i(o),u=n(0),l=n(1),h=i(l),c=n(14),f=i(c),d=n(2),p=n(56),v=function(){function t(e,n){r(this,t),this.settings=(0,u.extend)({ignoreClass:"",axis:n.layout&&"scrolled"===n.layout.props.flow?"vertical":"horizontal",direction:void 0,width:0,height:0,layout:void 0,globalLayoutProperties:{},method:void 0},n||{}),this.id="epubjs-view-"+(0,u.uuid)(),this.section=e,this.index=e.index,this.element=this.container(this.settings.axis),this.added=!1,this.displayed=!1,this.rendered=!1,this.fixedWidth=0,this.fixedHeight=0,this.epubcfi=new h.default,this.layout=this.settings.layout,this.pane=void 0,this.highlights={},this.underlines={},this.marks={}}return s(t,[{key:"container",value:function(t){var e=document.createElement("div");return e.classList.add("epub-view"),e.style.height="0px",e.style.width="0px",e.style.overflow="hidden",e.style.position="relative",e.style.display="block",e.style.flex=t&&"horizontal"==t?"none":"initial",e}},{key:"create",value:function(){return this.iframe?this.iframe:(this.element||(this.element=this.createContainer()),this.iframe=document.createElement("iframe"),this.iframe.id=this.id,this.iframe.scrolling="no",this.iframe.style.overflow="hidden",this.iframe.seamless="seamless",this.iframe.style.border="none",this.iframe.setAttribute("enable-annotation","true"),this.resizing=!0,this.element.style.visibility="hidden",this.iframe.style.visibility="hidden",this.iframe.style.width="0",this.iframe.style.height="0",this._width=0,this._height=0,this.element.setAttribute("ref",this.index),this.added=!0,this.elementBounds=(0,u.bounds)(this.element),"srcdoc"in this.iframe?this.supportsSrcdoc=!0:this.supportsSrcdoc=!1,this.settings.method||(this.settings.method=this.supportsSrcdoc?"srcdoc":"write"),this.iframe)}},{key:"render",value:function(t,e){return this.create(),this.size(),this.sectionRender||(this.sectionRender=this.section.render(t)),this.sectionRender.then(function(t){return this.load(t)}.bind(this)).then(function(){var t=this;this.layout.format(this.contents);var e=this.contents.writingMode(),n=0===e.indexOf("vertical")?"vertical":"horizontal";return this.setAxis(n),this.emit(d.EVENTS.VIEWS.AXIS,n),this.addListeners(),new Promise(function(e,n){t.expand(),e()})}.bind(this),function(t){return this.emit(d.EVENTS.VIEWS.LOAD_ERROR,t),new Promise(function(e,n){n(t)})}.bind(this)).then(function(){this.emit(d.EVENTS.VIEWS.RENDERED,this.section)}.bind(this))}},{key:"reset",value:function(){this.iframe&&(this.iframe.style.width="0",this.iframe.style.height="0",this._width=0,this._height=0,this._textWidth=void 0,this._contentWidth=void 0,this._textHeight=void 0,this._contentHeight=void 0),this._needsReframe=!0}},{key:"size",value:function(t,e){var n=t||this.settings.width,i=e||this.settings.height;"pre-paginated"===this.layout.name?this.lock("both",n,i):"horizontal"===this.settings.axis?this.lock("height",n,i):this.lock("width",n,i),this.settings.width=n,this.settings.height=i}},{key:"lock",value:function(t,e,n){var i,r=(0,u.borders)(this.element);i=this.iframe?(0,u.borders)(this.iframe):{width:0,height:0},"width"==t&&(0,u.isNumber)(e)&&(this.lockedWidth=e-r.width-i.width),"height"==t&&(0,u.isNumber)(n)&&(this.lockedHeight=n-r.height-i.height),"both"===t&&(0,u.isNumber)(e)&&(0,u.isNumber)(n)&&(this.lockedWidth=e-r.width-i.width,this.lockedHeight=n-r.height-i.height),this.displayed&&this.iframe&&this.expand()}},{key:"expand",value:function(t){var e,n=this.lockedWidth,i=this.lockedHeight;this.iframe&&!this._expanding&&(this._expanding=!0,"pre-paginated"===this.layout.name?(n=this.layout.columnWidth,i=this.layout.height):"horizontal"===this.settings.axis?(n=this.contents.textWidth(),n%this.layout.pageWidth>0&&(n=Math.ceil(n/this.layout.pageWidth)*this.layout.pageWidth),this.settings.forceEvenPages&&(e=n/this.layout.pageWidth,this.layout.divisor>1&&"reflowable"===this.layout.name&&e%2>0&&(n+=this.layout.pageWidth))):"vertical"===this.settings.axis&&(i=this.contents.textHeight()),(this._needsReframe||n!=this._width||i!=this._height)&&this.reframe(n,i),this._expanding=!1)}},{key:"reframe",value:function(t,e){var n,i=this;(0,u.isNumber)(t)&&(this.element.style.width=t+"px",this.iframe.style.width=t+"px",this._width=t),(0,u.isNumber)(e)&&(this.element.style.height=e+"px",this.iframe.style.height=e+"px",this._height=e),n={width:t,height:e,widthDelta:this.prevBounds?t-this.prevBounds.width:t,heightDelta:this.prevBounds?e-this.prevBounds.height:e},this.pane&&this.pane.render(),requestAnimationFrame(function(){var t=void 0;for(var e in i.marks)i.marks.hasOwnProperty(e)&&(t=i.marks[e],i.placeMark(t.element,t.range))}),this.onResize(this,n),this.emit(d.EVENTS.VIEWS.RESIZED,n),this.prevBounds=n,this.elementBounds=(0,u.bounds)(this.element)}},{key:"load",value:function(t){var e=new u.defer,n=e.promise;if(!this.iframe)return e.reject(new Error("No Iframe Available")),n;if(this.iframe.onload=function(t){this.onLoad(t,e)}.bind(this),"blobUrl"===this.settings.method)this.blobUrl=(0,u.createBlobUrl)(t,"application/xhtml+xml"),this.iframe.src=this.blobUrl,this.element.appendChild(this.iframe);else if("srcdoc"===this.settings.method)this.iframe.srcdoc=t,this.element.appendChild(this.iframe);else{if(this.element.appendChild(this.iframe),this.document=this.iframe.contentDocument,!this.document)return e.reject(new Error("No Document Available")),n;this.iframe.contentDocument.open(),this.iframe.contentDocument.write(t),this.iframe.contentDocument.close()}return n}},{key:"onLoad",value:function(t,e){var n=this;this.window=this.iframe.contentWindow,this.document=this.iframe.contentDocument,this.contents=new f.default(this.document,this.document.body,this.section.cfiBase,this.section.index),this.rendering=!1;var i=this.document.querySelector("link[rel=\'canonical\']");i?i.setAttribute("href",this.section.canonical):(i=this.document.createElement("link"),i.setAttribute("rel","canonical"),i.setAttribute("href",this.section.canonical),this.document.querySelector("head").appendChild(i)),this.contents.on(d.EVENTS.CONTENTS.EXPAND,function(){n.displayed&&n.iframe&&(n.expand(),n.contents&&n.layout.format(n.contents))}),this.contents.on(d.EVENTS.CONTENTS.RESIZE,function(t){n.displayed&&n.iframe&&(n.expand(),n.contents&&n.layout.format(n.contents))}),e.resolve(this.contents)}},{key:"setLayout",value:function(t){this.layout=t,this.contents&&(this.layout.format(this.contents),this.expand())}},{key:"setAxis",value:function(t){"scrolled"===this.layout.props.flow&&(t="vertical"),this.settings.axis=t,this.element.style.flex="horizontal"==t?"none":"initial",this.size()}},{key:"addListeners",value:function(){}},{key:"removeListeners",value:function(t){}},{key:"display",value:function(t){var e=new u.defer;return this.displayed?e.resolve(this):this.render(t).then(function(){this.emit(d.EVENTS.VIEWS.DISPLAYED,this),this.onDisplayed(this),this.displayed=!0,e.resolve(this)}.bind(this),function(t){e.reject(t,this)}),e.promise}},{key:"show",value:function(){this.element.style.visibility="visible",this.iframe&&(this.iframe.style.visibility="visible",this.iframe.style.transform="translateZ(0)",this.iframe.offsetWidth,this.iframe.style.transform=null),this.emit(d.EVENTS.VIEWS.SHOWN,this)}},{key:"hide",value:function(){this.element.style.visibility="hidden",this.iframe.style.visibility="hidden",this.stopExpanding=!0,this.emit(d.EVENTS.VIEWS.HIDDEN,this)}},{key:"offset",value:function(){return{top:this.element.offsetTop,left:this.element.offsetLeft}}},{key:"width",value:function(){return this._width}},{key:"height",value:function(){return this._height}},{key:"position",value:function(){return this.element.getBoundingClientRect()}},{key:"locationOf",value:function(t){var e=(this.iframe.getBoundingClientRect(),this.contents.locationOf(t,this.settings.ignoreClass));return{left:e.left,top:e.top}}},{key:"onDisplayed",value:function(t){}},{key:"onResize",value:function(t,e){}},{key:"bounds",value:function(t){return!t&&this.elementBounds||(this.elementBounds=(0,u.bounds)(this.element)),this.elementBounds}},{key:"highlight",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2],i=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"epubjs-hl",s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(this.contents){var o=Object.assign({fill:"yellow","fill-opacity":"0.3","mix-blend-mode":"multiply"},s),a=this.contents.range(t),u=function(){i.emit(d.EVENTS.VIEWS.MARK_CLICKED,t,e)};e.epubcfi=t,this.pane||(this.pane=new p.Pane(this.iframe,this.element));var l=new p.Highlight(a,r,e,o),h=this.pane.addMark(l);return this.highlights[t]={mark:h,element:h.element,listeners:[u,n]},h.element.setAttribute("ref",r),h.element.addEventListener("click",u),h.element.addEventListener("touchstart",u),n&&(h.element.addEventListener("click",n),h.element.addEventListener("touchstart",n)),h}}},{key:"underline",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2],i=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"epubjs-ul",s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(this.contents){var o=Object.assign({stroke:"black","stroke-opacity":"0.3","mix-blend-mode":"multiply"},s),a=this.contents.range(t),u=function(){i.emit(d.EVENTS.VIEWS.MARK_CLICKED,t,e)};e.epubcfi=t,this.pane||(this.pane=new p.Pane(this.iframe,this.element));var l=new p.Underline(a,r,e,o),h=this.pane.addMark(l);return this.underlines[t]={mark:h,element:h.element,listeners:[u,n]},h.element.setAttribute("ref",r),h.element.addEventListener("click",u),h.element.addEventListener("touchstart",u),n&&(h.element.addEventListener("click",n),h.element.addEventListener("touchstart",n)),h}}},{key:"mark",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments[2];if(this.contents){if(t in this.marks){return this.marks[t]}var r=this.contents.range(t);if(r){var s=r.commonAncestorContainer,o=1===s.nodeType?s:s.parentNode,a=function(i){e.emit(d.EVENTS.VIEWS.MARK_CLICKED,t,n)};r.collapsed&&1===s.nodeType?(r=new Range,r.selectNodeContents(s)):r.collapsed&&(r=new Range,r.selectNodeContents(o));var u=this.document.createElement("a");return u.setAttribute("ref","epubjs-mk"),u.style.position="absolute",u.dataset.epubcfi=t,n&&Object.keys(n).forEach(function(t){u.dataset[t]=n[t]}),i&&(u.addEventListener("click",i),u.addEventListener("touchstart",i)),u.addEventListener("click",a),u.addEventListener("touchstart",a),this.placeMark(u,r),this.element.appendChild(u),this.marks[t]={element:u,range:r,listeners:[a,i]},o}}}},{key:"placeMark",value:function(t,e){var n=void 0,i=void 0,r=void 0;if("pre-paginated"===this.layout.name||"horizontal"!==this.settings.axis){var s=e.getBoundingClientRect();n=s.top,i=s.right}else for(var o=e.getClientRects(),a=void 0,u=0;u!=o.length;u++)a=o[u],(!r||a.left<r)&&(r=a.left,i=Math.ceil(r/this.layout.props.pageWidth)*this.layout.props.pageWidth-this.layout.gap/2,n=a.top);t.style.top=n+"px",t.style.left=i+"px"}},{key:"unhighlight",value:function(t){var e=void 0;t in this.highlights&&(e=this.highlights[t],this.pane.removeMark(e.mark),e.listeners.forEach(function(t){t&&(e.element.removeEventListener("click",t),e.element.removeEventListener("touchstart",t))}),delete this.highlights[t])}},{key:"ununderline",value:function(t){var e=void 0;t in this.underlines&&(e=this.underlines[t],this.pane.removeMark(e.mark),e.listeners.forEach(function(t){t&&(e.element.removeEventListener("click",t),e.element.removeEventListener("touchstart",t))}),delete this.underlines[t])}},{key:"unmark",value:function(t){var e=void 0;t in this.marks&&(e=this.marks[t],this.element.removeChild(e.element),e.listeners.forEach(function(t){t&&(e.element.removeEventListener("click",t),e.element.removeEventListener("touchstart",t))}),delete this.marks[t])}},{key:"destroy",value:function(){for(var t in this.highlights)this.unhighlight(t);for(var e in this.underlines)this.ununderline(e);for(var n in this.marks)this.unmark(n);this.blobUrl&&(0,u.revokeBlobUrl)(this.blobUrl),this.displayed&&(this.displayed=!1,this.removeListeners(),this.contents.destroy(),this.stopExpanding=!0,this.element.removeChild(this.iframe),this.iframe=void 0,this.contents=void 0,this._textWidth=null,this._textHeight=null,this._width=null,this._height=null)}}]),t}();(0,a.default)(v.prototype),e.default=v,t.exports=e.default},function(t,e,n){function i(t,e,n){function i(e){var n=y,i=b;return y=b=void 0,_=e,E=t.apply(i,n)}function h(t){return _=t,k=setTimeout(d,e),S?i(t):E}function c(t){var n=t-x,i=t-_,r=e-n;return N?l(r,w-i):r}function f(t){var n=t-x,i=t-_;return void 0===x||n>=e||n<0||N&&i>=w}function d(){var t=s();if(f(t))return p(t);k=setTimeout(d,c(t))}function p(t){return k=void 0,T&&y?i(t):(y=b=void 0,E)}function v(){void 0!==k&&clearTimeout(k),_=0,y=x=b=k=void 0}function g(){return void 0===k?E:p(s())}function m(){var t=s(),n=f(t);if(y=arguments,b=this,x=t,n){if(void 0===k)return h(x);if(N)return k=setTimeout(d,e),i(x)}return void 0===k&&(k=setTimeout(d,e)),E}var y,b,w,E,k,x,_=0,S=!1,N=!1,T=!0;if("function"!=typeof t)throw new TypeError(a);return e=o(e)||0,r(n)&&(S=!!n.leading,N="maxWait"in n,w=N?u(o(n.maxWait)||0,e):w,T="trailing"in n?!!n.trailing:T),m.cancel=v,m.flush=g,m}var r=n(16),s=n(61),o=n(63),a="Expected a function",u=Math.max,l=Math.min;t.exports=i},function(t,e,n){var i=n(62),r="object"==typeof self&&self&&self.Object===Object&&self,s=i||r||Function("return this")();t.exports=s},function(t,e,n){var i=n(22),r=i.Symbol;t.exports=r},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var s=Object.getPrototypeOf(e);return null===s?void 0:t(s,n,i)}if("value"in r)return r.value;var o=r.get;if(void 0!==o)return o.call(i)},h=n(0),c=n(15),f=i(c),d=n(70),p=i(d),v=n(2),g=n(21),m=i(g),y=function(t){function e(t){r(this,e);var n=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.name="continuous",n.settings=(0,h.extend)(n.settings||{},{infinite:!0,overflow:void 0,axis:void 0,flow:"scrolled",offset:500,offsetDelta:250,width:void 0,height:void 0,snap:!1,afterScrolledTimeout:10}),(0,h.extend)(n.settings,t.settings||{}),"undefined"!=t.settings.gap&&0===t.settings.gap&&(n.settings.gap=t.settings.gap),n.viewSettings={ignoreClass:n.settings.ignoreClass,axis:n.settings.axis,flow:n.settings.flow,layout:n.layout,width:0,height:0,forceEvenPages:!1},n.scrollTop=0,n.scrollLeft=0,n}return o(e,t),u(e,[{key:"display",value:function(t,e){return f.default.prototype.display.call(this,t,e).then(function(){return this.fill()}.bind(this))}},{key:"fill",value:function(t){var e=this,n=t||new h.defer;return this.q.enqueue(function(){return e.check()}).then(function(t){t?e.fill(n):n.resolve()}),n.promise}},{key:"moveTo",value:function(t){var e=0,n=0;this.isPaginated?(e=Math.floor(t.left/this.layout.delta)*this.layout.delta,this.settings.offsetDelta):(n=t.top,t.top,this.settings.offsetDelta),(e>0||n>0)&&this.scrollBy(e,n,!0)}},{key:"afterResized",value:function(t){this.emit(v.EVENTS.MANAGERS.RESIZE,t.section)}},{key:"removeShownListeners",value:function(t){t.onDisplayed=function(){}}},{key:"add",value:function(t){var e=this,n=this.createView(t);return this.views.append(n),n.on(v.EVENTS.VIEWS.RESIZED,function(t){n.expanded=!0}),n.on(v.EVENTS.VIEWS.AXIS,function(t){e.updateAxis(t)}),n.onDisplayed=this.afterDisplayed.bind(this),n.onResize=this.afterResized.bind(this),n.display(this.request)}},{key:"append",value:function(t){var e=this,n=this.createView(t);return n.on(v.EVENTS.VIEWS.RESIZED,function(t){n.expanded=!0}),n.on(v.EVENTS.VIEWS.AXIS,function(t){e.updateAxis(t)}),this.views.append(n),n.onDisplayed=this.afterDisplayed.bind(this),n}},{key:"prepend",value:function(t){var e=this,n=this.createView(t);return n.on(v.EVENTS.VIEWS.RESIZED,function(t){e.counter(t),n.expanded=!0}),n.on(v.EVENTS.VIEWS.AXIS,function(t){e.updateAxis(t)}),this.views.prepend(n),n.onDisplayed=this.afterDisplayed.bind(this),n}},{key:"counter",value:function(t){"vertical"===this.settings.axis?this.scrollBy(0,t.heightDelta,!0):this.scrollBy(t.widthDelta,0,!0)}},{key:"update",value:function(t){for(var e,n=this.bounds(),i=this.views.all(),r=i.length,s=[],o=void 0!==t?t:this.settings.offset||0,a=new h.defer,u=[],l=0;l<r;l++)if(e=i[l],!0===this.isVisible(e,o,o,n)){if(e.displayed)e.show();else{var c=e.display(this.request).then(function(t){t.show()},function(t){e.hide()});u.push(c)}s.push(e)}else this.q.enqueue(e.destroy.bind(e)),clearTimeout(this.trimTimeout),this.trimTimeout=setTimeout(function(){this.q.enqueue(this.trim.bind(this))}.bind(this),250);return u.length?Promise.all(u).catch(function(t){a.reject(t)}):(a.resolve(),a.promise)}},{key:"check",value:function(t,e){var n=this,i=new h.defer,r=[],s="horizontal"===this.settings.axis,o=this.settings.offset||0;t&&s&&(o=t),e&&!s&&(o=e);var a=this._bounds,u="rtl"===this.settings.direction,l=s&&u?-1:1,c=s?this.scrollLeft:this.scrollTop*l,f=s?Math.floor(a.width):a.height,d=s?this.container.scrollWidth:this.container.scrollHeight,p=function(){var t=n.views.first(),e=t&&t.section.prev();e&&r.push(n.prepend(e))},v=function(){var t=n.views.last(),e=t&&t.section.next();e&&r.push(n.append(e))};c+f+o>=d&&(s&&u?p():v()),c-o<0&&(s&&u?v():p());var g=r.map(function(t){return t.displayed});return r.length?Promise.all(g).then(function(){if("pre-paginated"===n.layout.name&&n.layout.props.spread)return n.check()}).then(function(){return n.update(o)},function(t){return t}):(this.q.enqueue(function(){this.update()}.bind(this)),i.resolve(!1),i.promise)}},{key:"trim",value:function(){for(var t=new h.defer,e=this.views.displayed(),n=e[0],i=e[e.length-1],r=this.views.indexOf(n),s=this.views.indexOf(i),o=this.views.slice(0,r),a=this.views.slice(s+1),u=0;u<o.length-1;u++)this.erase(o[u],o);for(var l=1;l<a.length;l++)this.erase(a[l]);return t.resolve(),t.promise}},{key:"erase",value:function(t,e){var n,i;this.settings.fullsize?(n=window.scrollY,i=window.scrollX):(n=this.container.scrollTop,i=this.container.scrollLeft);var r=t.bounds();this.views.remove(t),e&&("vertical"===this.settings.axis?this.scrollTo(0,n-r.height,!0):this.scrollTo(i-Math.floor(r.width),0,!0))}},{key:"addEventListeners",value:function(t){window.addEventListener("unload",function(t){this.ignore=!0,this.destroy()}.bind(this)),this.addScrollListeners(),this.isPaginated&&this.settings.snap&&(this.snapper=new p.default(this,this.settings.snap&&"object"===a(this.settings.snap)&&this.settings.snap))}},{key:"addScrollListeners",value:function(){var t;this.tick=h.requestAnimationFrame,this.settings.fullsize?(this.prevScrollTop=window.scrollY,this.prevScrollLeft=window.scrollX):(this.prevScrollTop=this.container.scrollTop,this.prevScrollLeft=this.container.scrollLeft),this.scrollDeltaVert=0,this.scrollDeltaHorz=0,this.settings.fullsize?(t=window,this.scrollTop=window.scrollY,this.scrollLeft=window.scrollX):(t=this.container,this.scrollTop=this.container.scrollTop,this.scrollLeft=this.container.scrollLeft),this._onScroll=this.onScroll.bind(this),t.addEventListener("scroll",this._onScroll),this._scrolled=(0,m.default)(this.scrolled.bind(this),30),this.didScroll=!1}},{key:"removeEventListeners",value:function(){var t;t=this.settings.fullsize?window:this.container,t.removeEventListener("scroll",this._onScroll),this._onScroll=void 0}},{key:"onScroll",value:function(){var t=void 0,e=void 0,n="rtl"===this.settings.direction?-1:1;this.settings.fullsize?(t=window.scrollY*n,e=window.scrollX*n):(t=this.container.scrollTop,e=this.container.scrollLeft),this.scrollTop=t,this.scrollLeft=e,this.ignore?this.ignore=!1:this._scrolled(),this.scrollDeltaVert+=Math.abs(t-this.prevScrollTop),this.scrollDeltaHorz+=Math.abs(e-this.prevScrollLeft),this.prevScrollTop=t,this.prevScrollLeft=e,clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(function(){this.scrollDeltaVert=0,this.scrollDeltaHorz=0}.bind(this),150),clearTimeout(this.afterScrolled),this.didScroll=!1}},{key:"scrolled",value:function(){this.q.enqueue(function(){this.check()}.bind(this)),this.emit(v.EVENTS.MANAGERS.SCROLL,{top:this.scrollTop,left:this.scrollLeft}),clearTimeout(this.afterScrolled),this.afterScrolled=setTimeout(function(){this.snapper&&this.snapper.supportsTouch&&this.snapper.needsSnap()||this.emit(v.EVENTS.MANAGERS.SCROLLED,{top:this.scrollTop,left:this.scrollLeft})}.bind(this),this.settings.afterScrolledTimeout)}},{key:"next",value:function(){var t=(this.settings.direction,"pre-paginated"===this.layout.props.name&&this.layout.props.spread?2*this.layout.props.delta:this.layout.props.delta);this.views.length&&(this.isPaginated&&"horizontal"===this.settings.axis?this.scrollBy(t,0,!0):this.scrollBy(0,this.layout.height,!0),this.q.enqueue(function(){this.check()}.bind(this)))}},{key:"prev",value:function(){var t=(this.settings.direction,"pre-paginated"===this.layout.props.name&&this.layout.props.spread?2*this.layout.props.delta:this.layout.props.delta);this.views.length&&(this.isPaginated&&"horizontal"===this.settings.axis?this.scrollBy(-t,0,!0):this.scrollBy(0,-this.layout.height,!0),this.q.enqueue(function(){this.check()}.bind(this)))}},{key:"updateFlow",value:function(t){this.rendered&&this.snapper&&(this.snapper.destroy(),this.snapper=void 0),l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"updateFlow",this).call(this,t,"scroll"),this.rendered&&this.isPaginated&&this.settings.snap&&(this.snapper=new p.default(this,this.settings.snap&&"object"===a(this.settings.snap)&&this.settings.snap))}},{key:"destroy",value:function(){l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destroy",this).call(this),this.snapper&&this.snapper.destroy()}}]),e}(f.default);e.default=y,t.exports=e.default},function(t,e,n){"use strict";(function(i){function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function s(t){return t&&t.__esModule?t:{default:t}}function o(t,e){return new u.default(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(26),u=s(a),l=n(18),h=s(l),c=n(1),f=s(c),d=n(14),p=s(d),v=n(0),g=r(v),m=n(2),y=n(76),b=(r(y),n(20)),w=(s(b),n(15)),E=(s(w),n(24));s(E);o.VERSION=m.EPUBJS_VERSION,void 0!==i&&(i.EPUBJS_VERSION=m.EPUBJS_VERSION),o.Book=u.default,o.Rendition=h.default,o.Contents=p.default,o.CFI=f.default,o.utils=g,e.default=o,t.exports=e.default}).call(e,n(5))},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(3),a=i(o),u=n(0),l=n(6),h=i(l),c=n(4),f=i(c),d=n(43),p=i(d),v=n(47),g=i(v),m=n(48),y=i(m),b=n(49),w=i(b),E=n(50),k=i(E),x=n(51),_=i(x),S=n(52),N=i(S),T=n(18),C=i(T),O=n(71),R=i(O),I=n(9),A=i(I),L=n(1),P=i(L),D=n(73),j=i(D),M=n(75),z=i(M),B=n(2),q={BINARY:"binary",BASE64:"base64",EPUB:"epub",OPF:"opf",MANIFEST:"json",DIRECTORY:"directory"},U=function(){function t(e,n){var i=this;r(this,t),void 0===n&&"string"!=typeof e&&e instanceof Blob==!1&&(n=e,e=void 0),this.settings=(0,u.extend)(this.settings||{},{requestMethod:void 0,requestCredentials:void 0,requestHeaders:void 0,encoding:void 0,replacements:void 0,canonical:void 0,openAs:void 0,store:void 0}),(0,u.extend)(this.settings,n),this.opening=new u.defer,this.opened=this.opening.promise,this.isOpen=!1,this.loading={manifest:new u.defer,spine:new u.defer,metadata:new u.defer,cover:new u.defer,navigation:new u.defer,pageList:new u.defer,resources:new u.defer,displayOptions:new u.defer},this.loaded={manifest:this.loading.manifest.promise,spine:this.loading.spine.promise,metadata:this.loading.metadata.promise,cover:this.loading.cover.promise,navigation:this.loading.navigation.promise,pageList:this.loading.pageList.promise,resources:this.loading.resources.promise,displayOptions:this.loading.displayOptions.promise},this.ready=Promise.all([this.loaded.manifest,this.loaded.spine,this.loaded.metadata,this.loaded.cover,this.loaded.navigation,this.loaded.resources,this.loaded.displayOptions]),this.isRendered=!1,this.request=this.settings.requestMethod||A.default,this.spine=new p.default,this.locations=new g.default(this.spine,this.load.bind(this)),this.navigation=void 0,this.pageList=void 0,this.url=void 0,this.path=void 0,this.archived=!1,this.archive=void 0,this.storage=void 0,this.resources=void 0,this.rendition=void 0,this.container=void 0,this.packaging=void 0,this.displayOptions=void 0,this.settings.store&&this.store(this.settings.store),e&&this.open(e,this.settings.openAs).catch(function(t){var n=new Error("Cannot load book at "+e);i.emit(B.EVENTS.BOOK.OPEN_FAILED,n)})}return s(t,[{key:"open",value:function(t,e){var n,i=e||this.determineType(t);return i===q.BINARY?(this.archived=!0,this.url=new h.default("/",""),n=this.openEpub(t)):i===q.BASE64?(this.archived=!0,this.url=new h.default("/",""),n=this.openEpub(t,i)):i===q.EPUB?(this.archived=!0,this.url=new h.default("/",""),n=this.request(t,"binary",this.settings.requestCredentials).then(this.openEpub.bind(this))):i==q.OPF?(this.url=new h.default(t),n=this.openPackaging(this.url.Path.toString())):i==q.MANIFEST?(this.url=new h.default(t),n=this.openManifest(this.url.Path.toString())):(this.url=new h.default(t),n=this.openContainer("META-INF/container.xml").then(this.openPackaging.bind(this))),n}},{key:"openEpub",value:function(t,e){var n=this;return this.unarchive(t,e||this.settings.encoding).then(function(){return n.openContainer("META-INF/container.xml")}).then(function(t){return n.openPackaging(t)})}},{key:"openContainer",value:function(t){var e=this;return this.load(t).then(function(t){return e.container=new y.default(t),e.resolve(e.container.packagePath)})}},{key:"openPackaging",value:function(t){var e=this;return this.path=new f.default(t),this.load(t).then(function(t){return e.packaging=new w.default(t),e.unpack(e.packaging)})}},{key:"openManifest",value:function(t){var e=this;return this.path=new f.default(t),this.load(t).then(function(t){return e.packaging=new w.default,e.packaging.load(t),e.unpack(e.packaging)})}},{key:"load",value:function(t){var e=this.resolve(t);return this.archived?this.archive.request(e):this.request(e,null,this.settings.requestCredentials,this.settings.requestHeaders)}},{key:"resolve",value:function(t,e){if(t){var n=t;return t.indexOf("://")>-1?t:(this.path&&(n=this.path.resolve(t)),0!=e&&this.url&&(n=this.url.resolve(n)),n)}}},{key:"canonical",value:function(t){return t?this.settings.canonical?this.settings.canonical(t):this.resolve(t,!0):""}},{key:"determineType",value:function(t){var e,n,i;return"base64"===this.settings.encoding?q.BASE64:"string"!=typeof t?q.BINARY:(e=new h.default(t),n=e.path(),i=n.extension,i?"epub"===i?q.EPUB:"opf"===i?q.OPF:"json"===i?q.MANIFEST:void 0:q.DIRECTORY)}},{key:"unpack",value:function(t){var e=this;this.package=t,""===this.packaging.metadata.layout?this.load(this.url.resolve("META-INF/com.apple.ibooks.display-options.xml")).then(function(t){\ne.displayOptions=new z.default(t),e.loading.displayOptions.resolve(e.displayOptions)}).catch(function(t){e.displayOptions=new z.default,e.loading.displayOptions.resolve(e.displayOptions)}):(this.displayOptions=new z.default,this.loading.displayOptions.resolve(this.displayOptions)),this.spine.unpack(this.packaging,this.resolve.bind(this),this.canonical.bind(this)),this.resources=new _.default(this.packaging.manifest,{archive:this.archive,resolver:this.resolve.bind(this),request:this.request.bind(this),replacements:this.settings.replacements||(this.archived?"blobUrl":"base64")}),this.loadNavigation(this.packaging).then(function(){e.loading.navigation.resolve(e.navigation)}),this.packaging.coverPath&&(this.cover=this.resolve(this.packaging.coverPath)),this.loading.manifest.resolve(this.packaging.manifest),this.loading.metadata.resolve(this.packaging.metadata),this.loading.spine.resolve(this.spine),this.loading.cover.resolve(this.cover),this.loading.resources.resolve(this.resources),this.loading.pageList.resolve(this.pageList),this.isOpen=!0,this.archived||this.settings.replacements&&"none"!=this.settings.replacements?this.replacements().then(function(){e.loaded.displayOptions.then(function(){e.opening.resolve(e)})}).catch(function(t){console.error(t)}):this.loaded.displayOptions.then(function(){e.opening.resolve(e)})}},{key:"loadNavigation",value:function(t){var e=this,n=t.navPath||t.ncxPath,i=t.toc;return i?new Promise(function(n,r){e.navigation=new k.default(i),t.pageList&&(e.pageList=new N.default(t.pageList)),n(e.navigation)}):n?this.load(n,"xml").then(function(t){return e.navigation=new k.default(t),e.pageList=new N.default(t),e.navigation}):new Promise(function(t,n){e.navigation=new k.default,e.pageList=new N.default,t(e.navigation)})}},{key:"section",value:function(t){return this.spine.get(t)}},{key:"renderTo",value:function(t,e){return this.rendition=new C.default(this,e),this.rendition.attachTo(t),this.rendition}},{key:"setRequestCredentials",value:function(t){this.settings.requestCredentials=t}},{key:"setRequestHeaders",value:function(t){this.settings.requestHeaders=t}},{key:"unarchive",value:function(t,e){return this.archive=new R.default,this.archive.open(t,e)}},{key:"store",value:function(t){var e=this,n=this.settings.replacements&&"none"!==this.settings.replacements,i=this.url,r=this.settings.requestMethod||A.default.bind(this);return this.storage=new j.default(t,r,this.resolve.bind(this)),this.request=this.storage.request.bind(this.storage),this.opened.then(function(){e.archived&&(e.storage.requester=e.archive.request.bind(e.archive));var t=function(t,n){n.output=e.resources.substitute(t,n.url)};e.resources.settings.replacements=n||"blobUrl",e.resources.replacements().then(function(){return e.resources.replaceCss()}),e.storage.on("offline",function(){e.url=new h.default("/",""),e.spine.hooks.serialize.register(t)}),e.storage.on("online",function(){e.url=i,e.spine.hooks.serialize.deregister(t)})}),this.storage}},{key:"coverUrl",value:function(){var t=this;return this.loaded.cover.then(function(e){return t.archived?t.resources.get(t.cover):t.cover})}},{key:"replacements",value:function(){var t=this;return this.spine.hooks.serialize.register(function(e,n){n.output=t.resources.substitute(e,n.url)}),this.resources.replacements().then(function(){return t.resources.replaceCss()})}},{key:"getRange",value:function(t){var e=new P.default(t),n=this.spine.get(e.spinePos),i=this.load.bind(this);return n?n.load(i).then(function(t){return e.toRange(n.document)}):new Promise(function(t,e){e("CFI could not be found")})}},{key:"key",value:function(t){var e=t||this.packaging.metadata.identifier||this.url.filename;return"epubjs:"+B.EPUBJS_VERSION+":"+e}},{key:"destroy",value:function(){this.opened=void 0,this.loading=void 0,this.loaded=void 0,this.ready=void 0,this.isOpen=!1,this.isRendered=!1,this.spine&&this.spine.destroy(),this.locations&&this.locations.destroy(),this.pageList&&this.pageList.destroy(),this.archive&&this.archive.destroy(),this.resources&&this.resources.destroy(),this.container&&this.container.destroy(),this.packaging&&this.packaging.destroy(),this.rendition&&this.rendition.destroy(),this.displayOptions&&this.displayOptions.destroy(),this.spine=void 0,this.locations=void 0,this.pageList=void 0,this.archive=void 0,this.resources=void 0,this.container=void 0,this.packaging=void 0,this.rendition=void 0,this.navigation=void 0,this.url=void 0,this.path=void 0,this.archived=!1}}]),t}();(0,a.default)(U.prototype),e.default=U,t.exports=e.default},function(t,e,n){"use strict";var i,r=n(28),s=n(36),o=n(37),a=n(38);i=t.exports=function(t,e){var n,i,o,u,l;return arguments.length<2||"string"!=typeof t?(u=e,e=t,t=null):u=arguments[2],null==t?(n=o=!0,i=!1):(n=a.call(t,"c"),i=a.call(t,"e"),o=a.call(t,"w")),l={value:e,configurable:n,enumerable:i,writable:o},u?r(s(u),l):l},i.gs=function(t,e,n){var i,u,l,h;return"string"!=typeof t?(l=n,n=e,e=t,t=null):l=arguments[3],null==e?e=void 0:o(e)?null==n?n=void 0:o(n)||(l=n,n=void 0):(l=e,e=n=void 0),null==t?(i=!0,u=!1):(i=a.call(t,"c"),u=a.call(t,"e")),h={get:e,set:n,configurable:i,enumerable:u},l?r(s(l),h):h}},function(t,e,n){"use strict";t.exports=n(29)()?Object.assign:n(30)},function(t,e,n){"use strict";t.exports=function(){var t,e=Object.assign;return"function"==typeof e&&(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},function(t,e,n){"use strict";var i=n(31),r=n(35),s=Math.max;t.exports=function(t,e){var n,o,a,u=s(arguments.length,2);for(t=Object(r(t)),a=function(i){try{t[i]=e[i]}catch(t){n||(n=t)}},o=1;o<u;++o)e=arguments[o],i(e).forEach(a);if(void 0!==n)throw n;return t}},function(t,e,n){"use strict";t.exports=n(32)()?Object.keys:n(33)},function(t,e,n){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},function(t,e,n){"use strict";var i=n(10),r=Object.keys;t.exports=function(t){return r(i(t)?Object(t):t)}},function(t,e,n){"use strict";t.exports=function(){}},function(t,e,n){"use strict";var i=n(10);t.exports=function(t){if(!i(t))throw new TypeError("Cannot use null or undefined");return t}},function(t,e,n){"use strict";var i=n(10),r=Array.prototype.forEach,s=Object.create,o=function(t,e){var n;for(n in t)e[n]=t[n]};t.exports=function(t){var e=s(null);return r.call(arguments,function(t){i(t)&&o(Object(t),e)}),e}},function(t,e,n){"use strict";t.exports=function(t){return"function"==typeof t}},function(t,e,n){"use strict";t.exports=n(39)()?String.prototype.contains:n(40)},function(t,e,n){"use strict";var i="razdwatrzy";t.exports=function(){return"function"==typeof i.contains&&(!0===i.contains("dwa")&&!1===i.contains("foo"))}},function(t,e,n){"use strict";var i=String.prototype.indexOf;t.exports=function(t){return i.call(this,t,arguments[1])>-1}},function(t,e,n){"use strict";t.exports=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}},function(e,n){e.exports=t},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(1),a=i(o),u=n(11),l=i(u),h=n(44),c=i(h),f=n(8),d=function(){function t(){r(this,t),this.spineItems=[],this.spineByHref={},this.spineById={},this.hooks={},this.hooks.serialize=new l.default,this.hooks.content=new l.default,this.hooks.content.register(f.replaceBase),this.hooks.content.register(f.replaceCanonical),this.hooks.content.register(f.replaceMeta),this.epubcfi=new a.default,this.loaded=!1,this.items=void 0,this.manifest=void 0,this.spineNodeIndex=void 0,this.baseUrl=void 0,this.length=void 0}return s(t,[{key:"unpack",value:function(t,e,n){var i=this;this.items=t.spine,this.manifest=t.manifest,this.spineNodeIndex=t.spineNodeIndex,this.baseUrl=t.baseUrl||t.basePath||"",this.length=this.items.length,this.items.forEach(function(t,r){var s,o=i.manifest[t.idref];t.index=r,t.cfiBase=i.epubcfi.generateChapterComponent(i.spineNodeIndex,t.index,t.idref),t.href&&(t.url=e(t.href,!0),t.canonical=n(t.href)),o&&(t.href=o.href,t.url=e(t.href,!0),t.canonical=n(t.href),o.properties.length&&t.properties.push.apply(t.properties,o.properties)),"yes"===t.linear?(t.prev=function(){for(var e=t.index;e>0;){var n=this.get(e-1);if(n&&n.linear)return n;e-=1}}.bind(i),t.next=function(){for(var e=t.index;e<this.spineItems.length-1;){var n=this.get(e+1);if(n&&n.linear)return n;e+=1}}.bind(i)):(t.prev=function(){},t.next=function(){}),s=new c.default(t,i.hooks),i.append(s)}),this.loaded=!0}},{key:"get",value:function(t){var e=0;if(void 0===t)for(;e<this.spineItems.length;){var n=this.spineItems[e];if(n&&n.linear)break;e+=1}else if(this.epubcfi.isCfiString(t)){var i=new a.default(t);e=i.spinePos}else"number"==typeof t||!1===isNaN(t)?e=t:"string"==typeof t&&0===t.indexOf("#")?e=this.spineById[t.substring(1)]:"string"==typeof t&&(t=t.split("#")[0],e=this.spineByHref[t]||this.spineByHref[encodeURI(t)]);return this.spineItems[e]||null}},{key:"append",value:function(t){var e=this.spineItems.length;return t.index=e,this.spineItems.push(t),this.spineByHref[decodeURI(t.href)]=e,this.spineByHref[encodeURI(t.href)]=e,this.spineByHref[t.href]=e,this.spineById[t.idref]=e,e}},{key:"prepend",value:function(t){return this.spineByHref[t.href]=0,this.spineById[t.idref]=0,this.spineItems.forEach(function(t,e){t.index=e}),0}},{key:"remove",value:function(t){var e=this.spineItems.indexOf(t);if(e>-1)return delete this.spineByHref[t.href],delete this.spineById[t.idref],this.spineItems.splice(e,1)}},{key:"each",value:function(){return this.spineItems.forEach.apply(this.spineItems,arguments)}},{key:"first",value:function(){var t=0;do{var e=this.get(t);if(e&&e.linear)return e;t+=1}while(t<this.spineItems.length)}},{key:"last",value:function(){var t=this.spineItems.length-1;do{var e=this.get(t);if(e&&e.linear)return e;t-=1}while(t>=0)}},{key:"destroy",value:function(){this.each(function(t){return t.destroy()}),this.spineItems=void 0,this.spineByHref=void 0,this.spineById=void 0,this.hooks.serialize.clear(),this.hooks.content.clear(),this.hooks=void 0,this.epubcfi=void 0,this.loaded=!1,this.items=void 0,this.manifest=void 0,this.spineNodeIndex=void 0,this.baseUrl=void 0,this.length=void 0}}]),t}();e.default=d,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(0),a=n(1),u=i(a),l=n(11),h=i(l),c=n(8),f=function(){function t(e,n){r(this,t),this.idref=e.idref,this.linear="yes"===e.linear,this.properties=e.properties,this.index=e.index,this.href=e.href,this.url=e.url,this.canonical=e.canonical,this.next=e.next,this.prev=e.prev,this.cfiBase=e.cfiBase,n?this.hooks=n:(this.hooks={},this.hooks.serialize=new h.default(this),this.hooks.content=new h.default(this)),this.document=void 0,this.contents=void 0,this.output=void 0}return s(t,[{key:"load",value:function(t){var e=t||this.request||n(9),i=new o.defer,r=i.promise;return this.contents?i.resolve(this.contents):e(this.url).then(function(t){return this.document=t,this.contents=t.documentElement,this.hooks.content.trigger(this.document,this)}.bind(this)).then(function(){i.resolve(this.contents)}.bind(this)).catch(function(t){i.reject(t)}),r}},{key:"base",value:function(){return(0,c.replaceBase)(this.document,this)}},{key:"render",value:function(t){var e=new o.defer,i=e.promise;return this.output,this.load(t).then(function(t){var e,i="undefined"!=typeof navigator&&navigator.userAgent||"",r=i.indexOf("Trident")>=0;e="undefined"==typeof XMLSerializer||r?n(45).XMLSerializer:XMLSerializer;var s=new e;return this.output=s.serializeToString(t),this.output}.bind(this)).then(function(){return this.hooks.serialize.trigger(this.output,this)}.bind(this)).then(function(){e.resolve(this.output)}.bind(this)).catch(function(t){e.reject(t)}),i}},{key:"find",value:function(t){var e=this,n=[],i=t.toLowerCase(),r=function(t){for(var r,s,o,a=t.textContent.toLowerCase(),u=e.document.createRange(),l=-1;-1!=s;)s=a.indexOf(i,l+1),-1!=s&&(u=e.document.createRange(),u.setStart(t,s),u.setEnd(t,s+i.length),r=e.cfiFromRange(u),t.textContent.length<150?o=t.textContent:(o=t.textContent.substring(s-75,s+75),o="..."+o+"..."),n.push({cfi:r,excerpt:o})),l=s};return(0,o.sprint)(e.document,function(t){r(t)}),n}},{key:"reconcileLayoutSettings",value:function(t){var e={layout:t.layout,spread:t.spread,orientation:t.orientation};return this.properties.forEach(function(t){var n,i,r=t.replace("rendition:",""),s=r.indexOf("-");-1!=s&&(n=r.slice(0,s),i=r.slice(s+1),e[n]=i)}),e}},{key:"cfiFromRange",value:function(t){return new u.default(t,this.cfiBase).toString()}},{key:"cfiFromElement",value:function(t){return new u.default(t,this.cfiBase).toString()}},{key:"unload",value:function(){this.document=void 0,this.contents=void 0,this.output=void 0}},{key:"destroy",value:function(){this.unload(),this.hooks.serialize.clear(),this.hooks.content.clear(),this.hooks=void 0,this.idref=void 0,this.linear=void 0,this.properties=void 0,this.index=void 0,this.href=void 0,this.url=void 0,this.next=void 0,this.prev=void 0,this.cfiBase=void 0}}]),t}();e.default=f,t.exports=e.default},function(t,e,n){function i(t){this.options=t||{locator:{}}}function r(t,e,n){function i(e){var i=t[e];!i&&o&&(i=2==t.length?function(n){t(e,n)}:t),r[e]=i&&function(t){i("[xmldom "+e+"]\\t"+t+a(n))}||function(){}}if(!t){if(e instanceof s)return e;t=e}var r={},o=t instanceof Function;return n=n||{},i("warning"),i("error"),i("fatalError"),r}function s(){this.cdata=!1}function o(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function a(t){if(t)return"\\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function u(t,e,n){return"string"==typeof t?t.substr(e,n):t.length>=e+n||e?new java.lang.String(t,e,n)+"":t}function l(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}i.prototype.parseFromString=function(t,e){var n=this.options,i=new h,o=n.domBuilder||new s,a=n.errorHandler,u=n.locator,l=n.xmlns||{},c={lt:"<",gt:">",amp:"&",quot:\'"\',apos:"\'"};return u&&o.setDocumentLocator(u),i.errorHandler=r(a,o,u),i.domBuilder=n.domBuilder||o,/\\/x?html?$/.test(e)&&(c.nbsp=" ",c.copy="©",l[""]="http://www.w3.org/1999/xhtml"),l.xml=l.xml||"http://www.w3.org/XML/1998/namespace",t?i.parse(t,l,c):i.errorHandler.error("invalid doc source"),o.doc},s.prototype={startDocument:function(){this.doc=(new c).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,n,i){var r=this.doc,s=r.createElementNS(t,n||e),a=i.length;l(this,s),this.currentElement=s,this.locator&&o(this.locator,s);for(var u=0;u<a;u++){var t=i.getURI(u),h=i.getValue(u),n=i.getQName(u),c=r.createAttributeNS(t,n);this.locator&&o(i.getLocator(u),c),c.value=c.nodeValue=h,s.setAttributeNode(c)}},endElement:function(t,e,n){var i=this.currentElement;i.tagName;this.currentElement=i.parentNode},startPrefixMapping:function(t,e){},endPrefixMapping:function(t){},processingInstruction:function(t,e){var n=this.doc.createProcessingInstruction(t,e);this.locator&&o(this.locator,n),l(this,n)},ignorableWhitespace:function(t,e,n){},characters:function(t,e,n){if(t=u.apply(this,arguments)){if(this.cdata)var i=this.doc.createCDATASection(t);else var i=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(i):/^\\s*$/.test(t)&&this.doc.appendChild(i),this.locator&&o(this.locator,i)}},skippedEntity:function(t){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,n){t=u.apply(this,arguments);var i=this.doc.createComment(t);this.locator&&o(this.locator,i),l(this,i)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,n){var i=this.doc.implementation;if(i&&i.createDocumentType){var r=i.createDocumentType(t,e,n);this.locator&&o(this.locator,r),l(this,r)}},warning:function(t){console.warn("[xmldom warning]\\t"+t,a(this.locator))},error:function(t){console.error("[xmldom error]\\t"+t,a(this.locator))},fatalError:function(t){throw console.error("[xmldom fatalError]\\t"+t,a(this.locator)),t}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\\w+/g,function(t){s.prototype[t]=function(){return null}});var h=n(46).XMLReader,c=e.DOMImplementation=n(17).DOMImplementation;e.XMLSerializer=n(17).XMLSerializer,e.DOMParser=i},function(t,e){function n(){}function i(t,e,n,i,l){function d(t){if(t>65535){t-=65536;var e=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}function p(t){var e=t.slice(1,-1);return e in n?n[e]:"#"===e.charAt(0)?d(parseInt(e.substr(1).replace("x","0x"))):(l.error("entity not found:"+t),t)}function v(e){if(e>x){var n=t.substring(x,e).replace(/&#?\\w+;/g,p);w&&g(x),i.characters(n,0,e-x),x=e}}function g(e,n){for(;e>=y&&(n=b.exec(t));)m=n.index,y=m+n[0].length,w.lineNumber++;w.columnNumber=e-m+1}for(var m=0,y=0,b=/.*(?:\\r\\n?|\\n)|.*$/g,w=i.locator,E=[{currentNSMap:e}],k={},x=0;;){try{var _=t.indexOf("<",x);if(_<0){if(!t.substr(x).match(/^\\s*$/)){var S=i.doc,N=S.createTextNode(t.substr(x));S.appendChild(N),i.currentElement=N}return}switch(_>x&&v(_),t.charAt(_+1)){case"/":var T=t.indexOf(">",_+3),C=t.substring(_+2,T),O=E.pop();T<0?(C=t.substring(_+2).replace(/[\\s<].*/,""),l.error("end tag name: "+C+" is not complete:"+O.tagName),T=_+1+C.length):C.match(/\\s</)&&(C=C.replace(/[\\s<].*/,""),l.error("end tag name: "+C+" maybe not complete"),T=_+1+C.length);var R=O.localNSMap,I=O.tagName==C;if(I||O.tagName&&O.tagName.toLowerCase()==C.toLowerCase()){if(i.endElement(O.uri,O.localName,C),R)for(var A in R)i.endPrefixMapping(A);I||l.fatalError("end tag name: "+C+" is not match the current start tagName:"+O.tagName)}else E.push(O);T++;break;case"?":w&&g(_),T=c(t,_,i);break;case"!":w&&g(_),T=h(t,_,i,l);break;default:w&&g(_);var L=new f,P=E[E.length-1].currentNSMap,T=s(t,_,L,P,p,l),D=L.length;if(!L.closed&&u(t,T,L.tagName,k)&&(L.closed=!0,n.nbsp||l.warning("unclosed xml attribute")),w&&D){for(var j=r(w,{}),M=0;M<D;M++){var z=L[M];g(z.offset),z.locator=r(w,{})}i.locator=j,o(L,i,P)&&E.push(L),i.locator=w}else o(L,i,P)&&E.push(L);"http://www.w3.org/1999/xhtml"!==L.uri||L.closed?T++:T=a(t,T,L.tagName,p,i)}}catch(t){l.error("element parse error: "+t),T=-1}T>x?x=T:v(Math.max(_,x)+1)}}function r(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function s(t,e,n,i,r,s){for(var o,a,u=++e,l=y;;){var h=t.charAt(u);switch(h){case"=":if(l===b)o=t.slice(e,u),l=E;else{if(l!==w)throw new Error("attribute equal must after attrName");l=E}break;case"\'":case\'"\':if(l===E||l===b){if(l===b&&(s.warning(\'attribute value must after "="\'),o=t.slice(e,u)),e=u+1,!((u=t.indexOf(h,e))>0))throw new Error("attribute value no end \'"+h+"\' match");a=t.slice(e,u).replace(/&#?\\w+;/g,r),n.add(o,a,e-1),l=x}else{if(l!=k)throw new Error(\'attribute value must after "="\');a=t.slice(e,u).replace(/&#?\\w+;/g,r),n.add(o,a,e),s.warning(\'attribute "\'+o+\'" missed start quot(\'+h+")!!"),e=u+1,l=x}break;case"/":switch(l){case y:n.setTagName(t.slice(e,u));case x:case _:case S:l=S,n.closed=!0;case k:case b:case w:break;default:throw new Error("attribute invalid close char(\'/\')")}break;case"":return s.error("unexpected end of input"),l==y&&n.setTagName(t.slice(e,u)),u;case">":switch(l){case y:n.setTagName(t.slice(e,u));case x:case _:case S:break;case k:case b:a=t.slice(e,u),"/"===a.slice(-1)&&(n.closed=!0,a=a.slice(0,-1));case w:l===w&&(a=o),l==k?(s.warning(\'attribute "\'+a+\'" missed quot(")!!\'),n.add(o,a.replace(/&#?\\w+;/g,r),e)):("http://www.w3.org/1999/xhtml"===i[""]&&a.match(/^(?:disabled|checked|selected)$/i)||s.warning(\'attribute "\'+a+\'" missed value!! "\'+a+\'" instead!!\'),n.add(a,a,e));break;case E:throw new Error("attribute value missed!!")}return u;case"":h=" ";default:if(h<=" ")switch(l){case y:n.setTagName(t.slice(e,u)),l=_;break;case b:o=t.slice(e,u),l=w;break;case k:var a=t.slice(e,u).replace(/&#?\\w+;/g,r);s.warning(\'attribute "\'+a+\'" missed quot(")!!\'),n.add(o,a,e);case x:l=_}else switch(l){case w:n.tagName;"http://www.w3.org/1999/xhtml"===i[""]&&o.match(/^(?:disabled|checked|selected)$/i)||s.warning(\'attribute "\'+o+\'" missed value!! "\'+o+\'" instead2!!\'),n.add(o,o,e),e=u,l=b;break;case x:s.warning(\'attribute space is required"\'+o+\'"!!\');case _:l=b,e=u;break;case E:l=k,e=u;break;case S:throw new Error("elements closed character \'/\' and \'>\' must be connected to")}}u++}}function o(t,e,n){for(var i=t.tagName,r=null,s=t.length;s--;){var o=t[s],a=o.qName,u=o.value,h=a.indexOf(":");if(h>0)var c=o.prefix=a.slice(0,h),f=a.slice(h+1),d="xmlns"===c&&f;else f=a,c=null,d="xmlns"===a&&"";o.localName=f,!1!==d&&(null==r&&(r={},l(n,n={})),n[d]=r[d]=u,o.uri="http://www.w3.org/2000/xmlns/",e.startPrefixMapping(d,u))}for(var s=t.length;s--;){o=t[s];var c=o.prefix;c&&("xml"===c&&(o.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==c&&(o.uri=n[c||""]))}var h=i.indexOf(":");h>0?(c=t.prefix=i.slice(0,h),f=t.localName=i.slice(h+1)):(c=null,f=t.localName=i);var p=t.uri=n[c||""];if(e.startElement(p,f,i,t),!t.closed)return t.currentNSMap=n,t.localNSMap=r,!0;if(e.endElement(p,f,i),r)for(c in r)e.endPrefixMapping(c)}function a(t,e,n,i,r){if(/^(?:script|textarea)$/i.test(n)){var s=t.indexOf("</"+n+">",e),o=t.substring(e+1,s);if(/[&<]/.test(o))return/^script$/i.test(n)?(r.characters(o,0,o.length),s):(o=o.replace(/&#?\\w+;/g,i),r.characters(o,0,o.length),s)}return e+1}function u(t,e,n,i){var r=i[n];return null==r&&(r=t.lastIndexOf("</"+n+">"),r<e&&(r=t.lastIndexOf("</"+n)),i[n]=r),r<e}function l(t,e){for(var n in t)e[n]=t[n]}function h(t,e,n,i){switch(t.charAt(e+2)){case"-":if("-"===t.charAt(e+3)){var r=t.indexOf("--\\x3e",e+4);return r>e?(n.comment(t,e+4,r-e-4),r+3):(i.error("Unclosed comment"),-1)}return-1;default:if("CDATA["==t.substr(e+3,6)){var r=t.indexOf("]]>",e+9);return n.startCDATA(),n.characters(t,e+9,r-e-9),n.endCDATA(),r+3}var s=p(t,e),o=s.length;if(o>1&&/!doctype/i.test(s[0][0])){var a=s[1][0],u=o>3&&/^public$/i.test(s[2][0])&&s[3][0],l=o>4&&s[4][0],h=s[o-1];return n.startDTD(a,u&&u.replace(/^([\'"])(.*?)\\1$/,"$2"),l&&l.replace(/^([\'"])(.*?)\\1$/,"$2")),n.endDTD(),h.index+h[0].length}}return-1}function c(t,e,n){var i=t.indexOf("?>",e);if(i){var r=t.substring(e,i).match(/^<\\?(\\S*)\\s*([\\s\\S]*?)\\s*$/);if(r){r[0].length;return n.processingInstruction(r[1],r[2]),i+2}return-1}return-1}function f(t){}function d(t,e){return t.__proto__=e,t}function p(t,e){var n,i=[],r=/\'[^\']+\'|"[^"]+"|[^\\s<>\\/=]+=?|(\\/?\\s*>|<)/g;for(r.lastIndex=e,r.exec(t);n=r.exec(t);)if(i.push(n),n[1])return i}var v=/[A-Z_a-z\\xC0-\\xD6\\xD8-\\xF6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/,g=new RegExp("[\\\\-\\\\.0-9"+v.source.slice(1,-1)+"\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]"),m=new RegExp("^"+v.source+g.source+"*(?::"+v.source+g.source+"*)?$"),y=0,b=1,w=2,E=3,k=4,x=5,_=6,S=7;n.prototype={parse:function(t,e,n){var r=this.domBuilder;r.startDocument(),l(e,e={}),i(t,e,n,r,this.errorHandler),r.endDocument()}},f.prototype={setTagName:function(t){if(!m.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},add:function(t,e,n){if(!m.test(t))throw new Error("invalid attribute:"+t);this[this.length++]={qName:t,value:e,offset:n}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},d({},d.prototype)instanceof d||(d=function(t,e){function n(){}n.prototype=e,n=new n;for(e in t)n[e]=t[e];return n}),e.XMLReader=n},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(0),a=n(12),u=i(a),l=n(1),h=i(l),c=n(2),f=n(3),d=i(f),p=function(){function t(e,n,i){r(this,t),this.spine=e,this.request=n,this.pause=i||100,this.q=new u.default(this),this.epubcfi=new h.default,this._locations=[],this.total=0,this.break=150,this._current=0,this.currentLocation="",this._currentCfi="",this.processingTimeout=void 0}return s(t,[{key:"generate",value:function(t){return t&&(this.break=t),this.q.pause(),this.spine.each(function(t){t.linear&&this.q.enqueue(this.process.bind(this),t)}.bind(this)),this.q.run().then(function(){return this.total=this._locations.length-1,this._currentCfi&&(this.currentLocation=this._currentCfi),this._locations}.bind(this))}},{key:"createRange",value:function(){return{startContainer:void 0,startOffset:void 0,endContainer:void 0,endOffset:void 0}}},{key:"process",value:function(t){return t.load(this.request).then(function(e){var n=new o.defer,i=this.parse(e,t.cfiBase);return this._locations=this._locations.concat(i),t.unload(),this.processingTimeout=setTimeout(function(){return n.resolve(i)},this.pause),n.promise}.bind(this))}},{key:"parse",value:function(t,e,n){var i,r,s=[],a=t.ownerDocument,u=(0,o.qs)(a,"body"),l=0,c=n||this.break,f=function(t){var n,o=t.length,a=0;if(0===t.textContent.trim().length)return!1;for(0==l&&(i=this.createRange(),i.startContainer=t,i.startOffset=0),n=c-l,n>o&&(l+=o,a=o);a<o;)if(n=c-l,0===l&&(a+=1,i=this.createRange(),i.startContainer=t,i.startOffset=a),a+n>=o)l+=o-a,a=o;else{a+=n,i.endContainer=t,i.endOffset=a;var u=new h.default(i,e).toString();s.push(u),l=0}r=t};if((0,o.sprint)(u,f.bind(this)),i&&i.startContainer&&r){i.endContainer=r,i.endOffset=r.length;var d=new h.default(i,e).toString();s.push(d),l=0}return s}},{key:"locationFromCfi",value:function(t){var e=void 0;return h.default.prototype.isCfiString(t)&&(t=new h.default(t)),0===this._locations.length?-1:(e=(0,o.locationOf)(t,this._locations,this.epubcfi.compare),e>this.total?this.total:e)}},{key:"percentageFromCfi",value:function(t){if(0===this._locations.length)return null;var e=this.locationFromCfi(t);return this.percentageFromLocation(e)}},{key:"percentageFromLocation",value:function(t){return t&&this.total?t/this.total:0}},{key:"cfiFromLocation",value:function(t){var e=-1;return"number"!=typeof t&&(t=parseInt(t)),t>=0&&t<this._locations.length&&(e=this._locations[t]),e}},{key:"cfiFromPercentage",value:function(t){var e=void 0;if(t>1&&console.warn("Normalize cfiFromPercentage value to between 0 - 1"),t>=1){var n=new h.default(this._locations[this.total]);return n.collapse(),n.toString()}return e=Math.ceil(this.total*t),this.cfiFromLocation(e)}},{key:"load",value:function(t){return this._locations="string"==typeof t?JSON.parse(t):t,this.total=this._locations.length-1,this._locations}},{key:"save",value:function(){return JSON.stringify(this._locations)}},{key:"getCurrent",value:function(){return this._current}},{key:"setCurrent",value:function(t){var e;if("string"==typeof t)this._currentCfi=t;else{if("number"!=typeof t)return;this._current=t}0!==this._locations.length&&("string"==typeof t?(e=this.locationFromCfi(t),this._current=e):e=t,this.emit(c.EVENTS.LOCATIONS.CHANGED,{percentage:this.percentageFromLocation(e)}))}},{key:"length",value:function(){return this._locations.length}},{key:"destroy",value:function(){this.spine=void 0,this.request=void 0,this.pause=void 0,this.q.stop(),this.q=void 0,this.epubcfi=void 0,this._locations=void 0,this.total=void 0,this.break=void 0,this._current=void 0,this.currentLocation=void 0,this._currentCfi=void 0,clearTimeout(this.processingTimeout)}},{key:"currentLocation",get:function(){return this._current},set:function(t){this.setCurrent(t)}}]),t}();(0,d.default)(p.prototype),e.default=p,t.exports=e.default},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(7),o=function(t){return t&&t.__esModule?t:{default:t}}(s),a=n(0),u=function(){function t(e){i(this,t),this.packagePath="",this.directory="",this.encoding="",e&&this.parse(e)}return r(t,[{key:"parse",value:function(t){var e;if(!t)throw new Error("Container File Not Found");if(!(e=(0,a.qs)(t,"rootfile")))throw new Error("No RootFile Found");this.packagePath=e.getAttribute("full-path"),this.directory=o.default.dirname(this.packagePath),this.encoding=t.xmlEncoding}},{key:"destroy",value:function(){this.packagePath=void 0,this.directory=void 0,this.encoding=void 0}}]),t}();e.default=u,t.exports=e.default},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(0),o=function(){function t(e){i(this,t),this.manifest={},this.navPath="",this.ncxPath="",this.coverPath="",this.spineNodeIndex=0,this.spine=[],this.metadata={},e&&this.parse(e)}return r(t,[{key:"parse",value:function(t){var e,n,i;if(!t)throw new Error("Package File Not Found");if(!(e=(0,s.qs)(t,"metadata")))throw new Error("No Metadata Found");if(!(n=(0,s.qs)(t,"manifest")))throw new Error("No Manifest Found");if(!(i=(0,s.qs)(t,"spine")))throw new Error("No Spine Found");return this.manifest=this.parseManifest(n),this.navPath=this.findNavPath(n),this.ncxPath=this.findNcxPath(n,i),this.coverPath=this.findCoverPath(t),this.spineNodeIndex=(0,s.indexOfElementNode)(i),this.spine=this.parseSpine(i,this.manifest),this.uniqueIdentifier=this.findUniqueIdentifier(t),this.metadata=this.parseMetadata(e),this.metadata.direction=i.getAttribute("page-progression-direction"),{metadata:this.metadata,spine:this.spine,manifest:this.manifest,navPath:this.navPath,ncxPath:this.ncxPath,coverPath:this.coverPath,spineNodeIndex:this.spineNodeIndex}}},{key:"parseMetadata",value:function(t){var e={};return e.title=this.getElementText(t,"title"),e.creator=this.getElementText(t,"creator"),e.description=this.getElementText(t,"description"),e.pubdate=this.getElementText(t,"date"),e.publisher=this.getElementText(t,"publisher"),e.identifier=this.getElementText(t,"identifier"),e.language=this.getElementText(t,"language"),e.rights=this.getElementText(t,"rights"),e.modified_date=this.getPropertyText(t,"dcterms:modified"),e.layout=this.getPropertyText(t,"rendition:layout"),e.orientation=this.getPropertyText(t,"rendition:orientation"),e.flow=this.getPropertyText(t,"rendition:flow"),e.viewport=this.getPropertyText(t,"rendition:viewport"),e.media_active_class=this.getPropertyText(t,"media:active-class"),e}},{key:"parseManifest",value:function(t){var e={},n=(0,s.qsa)(t,"item");return Array.prototype.slice.call(n).forEach(function(t){\nvar n=t.getAttribute("id"),i=t.getAttribute("href")||"",r=t.getAttribute("media-type")||"",s=t.getAttribute("media-overlay")||"",o=t.getAttribute("properties")||"";e[n]={href:i,type:r,overlay:s,properties:o.length?o.split(" "):[]}}),e}},{key:"parseSpine",value:function(t,e){var n=[],i=(0,s.qsa)(t,"itemref");return Array.prototype.slice.call(i).forEach(function(t,e){var i=t.getAttribute("idref"),r=t.getAttribute("properties")||"",s=r.length?r.split(" "):[],o={idref:i,linear:t.getAttribute("linear")||"yes",properties:s,index:e};n.push(o)}),n}},{key:"findUniqueIdentifier",value:function(t){var e=t.documentElement.getAttribute("unique-identifier");if(!e)return"";var n=t.getElementById(e);return n&&"identifier"===n.localName&&"http://purl.org/dc/elements/1.1/"===n.namespaceURI&&n.childNodes.length>0?n.childNodes[0].nodeValue.trim():""}},{key:"findNavPath",value:function(t){var e=(0,s.qsp)(t,"item",{properties:"nav"});return!!e&&e.getAttribute("href")}},{key:"findNcxPath",value:function(t,e){var n,i=(0,s.qsp)(t,"item",{"media-type":"application/x-dtbncx+xml"});return i||(n=e.getAttribute("toc"))&&(i=t.querySelector("#"+n)),!!i&&i.getAttribute("href")}},{key:"findCoverPath",value:function(t){if("2.0"===(0,s.qs)(t,"package").getAttribute("version")){var e=(0,s.qsp)(t,"meta",{name:"cover"});if(e){var n=e.getAttribute("content"),i=t.getElementById(n);return i?i.getAttribute("href"):""}return!1}var r=(0,s.qsp)(t,"item",{properties:"cover-image"});return r?r.getAttribute("href"):""}},{key:"getElementText",value:function(t,e){var n,i=t.getElementsByTagNameNS("http://purl.org/dc/elements/1.1/",e);return i&&0!==i.length?(n=i[0],n.childNodes.length?n.childNodes[0].nodeValue:""):""}},{key:"getPropertyText",value:function(t,e){var n=(0,s.qsp)(t,"meta",{property:e});return n&&n.childNodes.length?n.childNodes[0].nodeValue:""}},{key:"load",value:function(t){var e=this;this.metadata=t.metadata;var n=t.readingOrder||t.spine;return this.spine=n.map(function(t,e){return t.index=e,t.linear=t.linear||"yes",t}),t.resources.forEach(function(t,n){e.manifest[n]=t,t.rel&&"cover"===t.rel[0]&&(e.coverPath=t.href)}),this.spineNodeIndex=0,this.toc=t.toc.map(function(t,e){return t.label=t.title,t}),{metadata:this.metadata,spine:this.spine,manifest:this.manifest,navPath:this.navPath,ncxPath:this.ncxPath,coverPath:this.coverPath,spineNodeIndex:this.spineNodeIndex,toc:this.toc}}},{key:"destroy",value:function(){this.manifest=void 0,this.navPath=void 0,this.ncxPath=void 0,this.coverPath=void 0,this.spineNodeIndex=void 0,this.spine=void 0,this.metadata=void 0}}]),t}();e.default=o,t.exports=e.default},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(0),o=function(){function t(e){i(this,t),this.toc=[],this.tocByHref={},this.tocById={},this.landmarks=[],this.landmarksByType={},this.length=0,e&&this.parse(e)}return r(t,[{key:"parse",value:function(t){var e=t.nodeType,n=void 0,i=void 0;e&&(n=(0,s.qs)(t,"html"),i=(0,s.qs)(t,"ncx")),e?n?(this.toc=this.parseNav(t),this.landmarks=this.parseLandmarks(t)):i&&(this.toc=this.parseNcx(t)):this.toc=this.load(t),this.length=0,this.unpack(this.toc)}},{key:"unpack",value:function(t){for(var e,n=0;n<t.length;n++)e=t[n],e.href&&(this.tocByHref[e.href]=n),e.id&&(this.tocById[e.id]=n),this.length++,e.subitems.length&&this.unpack(e.subitems)}},{key:"get",value:function(t){var e;return t?(0===t.indexOf("#")?e=this.tocById[t.substring(1)]:t in this.tocByHref&&(e=this.tocByHref[t]),this.toc[e]):this.toc}},{key:"landmark",value:function(t){var e;return t?(e=this.landmarksByType[t],this.landmarks[e]):this.landmarks}},{key:"parseNav",value:function(t){var e,n,i,r=(0,s.querySelectorByType)(t,"nav","toc"),o=r?(0,s.qsa)(r,"li"):[],a=o.length,u={},l=[];if(!o||0===a)return l;for(e=0;e<a;++e)(n=this.navItem(o[e]))&&(u[n.id]=n,n.parent?(i=u[n.parent],i.subitems.push(n)):l.push(n));return l}},{key:"navItem",value:function(t){var e=t.getAttribute("id")||void 0,n=(0,s.filterChildren)(t,"a",!0);if(n){var i=n.getAttribute("href")||"";e||(e=i);var r=n.textContent||"",o=[],a=(0,s.getParentByTagName)(t,"li"),u=void 0;if(a&&!(u=a.getAttribute("id"))){var l=(0,s.filterChildren)(a,"a",!0);u=l&&l.getAttribute("href")}for(;!u&&a;)if((a=(0,s.getParentByTagName)(a,"li"))&&!(u=a.getAttribute("id"))){var h=(0,s.filterChildren)(a,"a",!0);u=h&&h.getAttribute("href")}return{id:e,href:i,label:r,subitems:o,parent:u}}}},{key:"parseLandmarks",value:function(t){var e,n,i=(0,s.querySelectorByType)(t,"nav","landmarks"),r=i?(0,s.qsa)(i,"li"):[],o=r.length,a=[];if(!r||0===o)return a;for(e=0;e<o;++e)(n=this.landmarkItem(r[e]))&&(a.push(n),this.landmarksByType[n.type]=e);return a}},{key:"landmarkItem",value:function(t){var e=(0,s.filterChildren)(t,"a",!0);if(e){var n=e.getAttributeNS("http://www.idpf.org/2007/ops","type")||void 0;return{href:e.getAttribute("href")||"",label:e.textContent||"",type:n}}}},{key:"parseNcx",value:function(t){var e,n,i,r=(0,s.qsa)(t,"navPoint"),o=r.length,a={},u=[];if(!r||0===o)return u;for(e=0;e<o;++e)n=this.ncxItem(r[e]),a[n.id]=n,n.parent?(i=a[n.parent],i.subitems.push(n)):u.push(n);return u}},{key:"ncxItem",value:function(t){var e,n=t.getAttribute("id")||!1,i=(0,s.qs)(t,"content"),r=i.getAttribute("src"),o=(0,s.qs)(t,"navLabel"),a=o.textContent?o.textContent:"",u=[],l=t.parentNode;return!l||"navPoint"!==l.nodeName&&"navPoint"!==l.nodeName.split(":").slice(-1)[0]||(e=l.getAttribute("id")),{id:n,href:r,label:a,subitems:u,parent:e}}},{key:"load",value:function(t){var e=this;return t.map(function(t){return t.label=t.title,t.subitems=t.children?e.load(t.children):[],t})}},{key:"forEach",value:function(t){return this.toc.forEach(t)}}]),t}();e.default=o,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(8),a=n(0),u=n(6),l=i(u),h=n(13),c=i(h),f=n(4),d=i(f),p=n(7),v=i(p),g=function(){function t(e,n){r(this,t),this.settings={replacements:n&&n.replacements||"base64",archive:n&&n.archive,resolver:n&&n.resolver,request:n&&n.request},this.process(e)}return s(t,[{key:"process",value:function(t){this.manifest=t,this.resources=Object.keys(t).map(function(e){return t[e]}),this.replacementUrls=[],this.html=[],this.assets=[],this.css=[],this.urls=[],this.cssUrls=[],this.split(),this.splitUrls()}},{key:"split",value:function(){this.html=this.resources.filter(function(t){if("application/xhtml+xml"===t.type||"text/html"===t.type)return!0}),this.assets=this.resources.filter(function(t){if("application/xhtml+xml"!==t.type&&"text/html"!==t.type)return!0}),this.css=this.resources.filter(function(t){if("text/css"===t.type)return!0})}},{key:"splitUrls",value:function(){this.urls=this.assets.map(function(t){return t.href}.bind(this)),this.cssUrls=this.css.map(function(t){return t.href})}},{key:"createUrl",value:function(t){var e=new l.default(t),n=c.default.lookup(e.filename);return this.settings.archive?this.settings.archive.createUrl(t,{base64:"base64"===this.settings.replacements}):"base64"===this.settings.replacements?this.settings.request(t,"blob").then(function(t){return(0,a.blob2base64)(t)}).then(function(t){return(0,a.createBase64Url)(t,n)}):this.settings.request(t,"blob").then(function(t){return(0,a.createBlobUrl)(t,n)})}},{key:"replacements",value:function(){var t=this;if("none"===this.settings.replacements)return new Promise(function(t){t(this.urls)}.bind(this));var e=this.urls.map(function(e){var n=t.settings.resolver(e);return t.createUrl(n).catch(function(t){return console.error(t),null})});return Promise.all(e).then(function(e){return t.replacementUrls=e.filter(function(t){return"string"==typeof t}),e})}},{key:"replaceCss",value:function(t,e){var n=[];return t=t||this.settings.archive,e=e||this.settings.resolver,this.cssUrls.forEach(function(i){var r=this.createCssFile(i,t,e).then(function(t){var e=this.urls.indexOf(i);e>-1&&(this.replacementUrls[e]=t)}.bind(this));n.push(r)}.bind(this)),Promise.all(n)}},{key:"createCssFile",value:function(t){var e,n=this;if(v.default.isAbsolute(t))return new Promise(function(t){t()});var i,r=this.settings.resolver(t);i=this.settings.archive?this.settings.archive.getText(r):this.settings.request(r,"text");var s=this.urls.map(function(t){var e=n.settings.resolver(t);return new d.default(r).relative(e)});return i?i.then(function(t){return t=(0,o.substitute)(t,s,n.replacementUrls),e="base64"===n.settings.replacements?(0,a.createBase64Url)(t,"text/css"):(0,a.createBlobUrl)(t,"text/css")},function(t){return new Promise(function(t){t()})}):new Promise(function(t){t()})}},{key:"relativeTo",value:function(t,e){return e=e||this.settings.resolver,this.urls.map(function(n){var i=e(n);return new d.default(t).relative(i)}.bind(this))}},{key:"get",value:function(t){var e=this.urls.indexOf(t);if(-1!==e)return this.replacementUrls.length?new Promise(function(t,n){t(this.replacementUrls[e])}.bind(this)):this.createUrl(t)}},{key:"substitute",value:function(t,e){var n;return n=e?this.relativeTo(e):this.urls,(0,o.substitute)(t,n,this.replacementUrls)}},{key:"destroy",value:function(){this.settings=void 0,this.manifest=void 0,this.resources=void 0,this.replacementUrls=void 0,this.html=void 0,this.assets=void 0,this.css=void 0,this.urls=void 0,this.cssUrls=void 0}}]),t}();e.default=g,t.exports=e.default},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(1),o=function(t){return t&&t.__esModule?t:{default:t}}(s),a=n(0),u=function(){function t(e){i(this,t),this.pages=[],this.locations=[],this.epubcfi=new o.default,this.firstPage=0,this.lastPage=0,this.totalPages=0,this.toc=void 0,this.ncx=void 0,e&&(this.pageList=this.parse(e)),this.pageList&&this.pageList.length&&this.process(this.pageList)}return r(t,[{key:"parse",value:function(t){var e=(0,a.qs)(t,"html"),n=(0,a.qs)(t,"ncx");return e?this.parseNav(t):n?this.parseNcx(t):void 0}},{key:"parseNav",value:function(t){var e,n,i=(0,a.querySelectorByType)(t,"nav","page-list"),r=i?(0,a.qsa)(i,"li"):[],s=r.length,o=[];if(!r||0===s)return o;for(e=0;e<s;++e)n=this.item(r[e]),o.push(n);return o}},{key:"parseNcx",value:function(t){var e,n,i,r=[],s=0,o=0;if(!(n=(0,a.qs)(t,"pageList")))return r;if(i=(0,a.qsa)(n,"pageTarget"),o=i.length,!i||0===i.length)return r;for(s=0;s<o;++s)e=this.ncxItem(i[s]),r.push(e);return r}},{key:"ncxItem",value:function(t){var e=(0,a.qs)(t,"navLabel"),n=(0,a.qs)(e,"text"),i=n.textContent;return{href:(0,a.qs)(t,"content").getAttribute("src"),page:parseInt(i,10)}}},{key:"item",value:function(t){var e,n,i,r=(0,a.qs)(t,"a"),s=r.getAttribute("href")||"",o=r.textContent||"",u=parseInt(o),l=s.indexOf("epubcfi");return-1!=l?(e=s.split("#"),n=e[0],i=e.length>1&&e[1],{cfi:i,href:s,packageUrl:n,page:u}):{href:s,page:u}}},{key:"process",value:function(t){t.forEach(function(t){this.pages.push(t.page),t.cfi&&this.locations.push(t.cfi)},this),this.firstPage=parseInt(this.pages[0]),this.lastPage=parseInt(this.pages[this.pages.length-1]),this.totalPages=this.lastPage-this.firstPage}},{key:"pageFromCfi",value:function(t){var e=-1;if(0===this.locations.length)return-1;var n=(0,a.indexOfSorted)(t,this.locations,this.epubcfi.compare);return-1!=n?e=this.pages[n]:(n=(0,a.locationOf)(t,this.locations,this.epubcfi.compare),void 0!==(e=n-1>=0?this.pages[n-1]:this.pages[0])||(e=-1)),e}},{key:"cfiFromPage",value:function(t){var e=-1;"number"!=typeof t&&(t=parseInt(t));var n=this.pages.indexOf(t);return-1!=n&&(e=this.locations[n]),e}},{key:"pageFromPercentage",value:function(t){return Math.round(this.totalPages*t)}},{key:"percentageFromPage",value:function(t){var e=(t-this.firstPage)/this.totalPages;return Math.round(1e3*e)/1e3}},{key:"percentageFromCfi",value:function(t){var e=this.pageFromCfi(t);return this.percentageFromPage(e)}},{key:"destroy",value:function(){this.pages=void 0,this.locations=void 0,this.epubcfi=void 0,this.pageList=void 0,this.toc=void 0,this.ncx=void 0}}]),t}();e.default=u,t.exports=e.default},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(0),o=n(2),a=n(3),u=function(t){return t&&t.__esModule?t:{default:t}}(a),l=function(){function t(e){i(this,t),this.settings=e,this.name=e.layout||"reflowable",this._spread="none"!==e.spread,this._minSpreadWidth=e.minSpreadWidth||800,this._evenSpreads=e.evenSpreads||!1,"scrolled"===e.flow||"scrolled-continuous"===e.flow||"scrolled-doc"===e.flow?this._flow="scrolled":this._flow="paginated",this.width=0,this.height=0,this.spreadWidth=0,this.delta=0,this.columnWidth=0,this.gap=0,this.divisor=1,this.props={name:this.name,spread:this._spread,flow:this._flow,width:0,height:0,spreadWidth:0,delta:0,columnWidth:0,gap:0,divisor:1}}return r(t,[{key:"flow",value:function(t){return void 0!==t&&(this._flow="scrolled"===t||"scrolled-continuous"===t||"scrolled-doc"===t?"scrolled":"paginated",this.update({flow:this._flow})),this._flow}},{key:"spread",value:function(t,e){return t&&(this._spread="none"!==t,this.update({spread:this._spread})),e>=0&&(this._minSpreadWidth=e),this._spread}},{key:"calculate",value:function(t,e,n){var i,r,s,o,a=1,u=n||0,l=t,h=e,c=Math.floor(l/12);a=this._spread&&l>=this._minSpreadWidth?2:1,"reflowable"!==this.name||"paginated"!==this._flow||n>=0||(u=c%2==0?c:c-1),"pre-paginated"===this.name&&(u=0),a>1?(i=l/a-u,s=i+u):(i=l,s=l),"pre-paginated"===this.name&&a>1&&(l=i),r=i*a+u,o=l,this.width=l,this.height=h,this.spreadWidth=r,this.pageWidth=s,this.delta=o,this.columnWidth=i,this.gap=u,this.divisor=a,this.update({width:l,height:h,spreadWidth:r,pageWidth:s,delta:o,columnWidth:i,gap:u,divisor:a})}},{key:"format",value:function(t){return"pre-paginated"===this.name?t.fit(this.columnWidth,this.height):"paginated"===this._flow?t.columns(this.width,this.height,this.columnWidth,this.gap):t.size(this.width,null)}},{key:"count",value:function(t,e){var n=void 0,i=void 0;return"pre-paginated"===this.name?(n=1,i=1):"paginated"===this._flow?(e=e||this.delta,n=Math.ceil(t/e),i=n*this.divisor):(e=e||this.height,n=Math.ceil(t/e),i=n),{spreads:n,pages:i}}},{key:"update",value:function(t){var e=this;if(Object.keys(t).forEach(function(n){e.props[n]===t[n]&&delete t[n]}),Object.keys(t).length>0){var n=(0,s.extend)(this.props,t);this.emit(o.EVENTS.LAYOUT.UPDATED,n,t)}}}]),t}();(0,u.default)(l.prototype),e.default=l,t.exports=e.default},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(6),a=function(t){return t&&t.__esModule?t:{default:t}}(o),u=function(){function t(e){i(this,t),this.rendition=e,this._themes={default:{rules:{},url:"",serialized:""}},this._overrides={},this._current="default",this._injected=[],this.rendition.hooks.content.register(this.inject.bind(this)),this.rendition.hooks.content.register(this.overrides.bind(this))}return s(t,[{key:"register",value:function(){if(0!==arguments.length)return 1===arguments.length&&"object"===r(arguments[0])?this.registerThemes(arguments[0]):1===arguments.length&&"string"==typeof arguments[0]?this.default(arguments[0]):2===arguments.length&&"string"==typeof arguments[1]?this.registerUrl(arguments[0],arguments[1]):2===arguments.length&&"object"===r(arguments[1])?this.registerRules(arguments[0],arguments[1]):void 0}},{key:"default",value:function(t){if(t)return"string"==typeof t?this.registerUrl("default",t):"object"===(void 0===t?"undefined":r(t))?this.registerRules("default",t):void 0}},{key:"registerThemes",value:function(t){for(var e in t)t.hasOwnProperty(e)&&("string"==typeof t[e]?this.registerUrl(e,t[e]):this.registerRules(e,t[e]))}},{key:"registerUrl",value:function(t,e){var n=new a.default(e);this._themes[t]={url:n.toString()},this._injected[t]&&this.update(t)}},{key:"registerRules",value:function(t,e){this._themes[t]={rules:e},this._injected[t]&&this.update(t)}},{key:"select",value:function(t){var e,n=this._current;this._current=t,this.update(t),e=this.rendition.getContents(),e.forEach(function(e){e.removeClass(n),e.addClass(t)})}},{key:"update",value:function(t){var e=this;this.rendition.getContents().forEach(function(n){e.add(t,n)})}},{key:"inject",value:function(t){var e,n=[],i=this._themes;for(var r in i)!i.hasOwnProperty(r)||r!==this._current&&"default"!==r||(e=i[r],(e.rules&&Object.keys(e.rules).length>0||e.url&&-1===n.indexOf(e.url))&&this.add(r,t),this._injected.push(r));"default"!=this._current&&t.addClass(this._current)}},{key:"add",value:function(t,e){var n=this._themes[t];n&&e&&(n.url?e.addStylesheet(n.url):n.serialized||n.rules&&(e.addStylesheetRules(n.rules),n.injected=!0))}},{key:"override",value:function(t,e,n){var i=this,r=this.rendition.getContents();this._overrides[t]={value:e,priority:!0===n},r.forEach(function(e){e.css(t,i._overrides[t].value,i._overrides[t].priority)})}},{key:"overrides",value:function(t){var e=this._overrides;for(var n in e)e.hasOwnProperty(n)&&t.css(n,e[n].value,e[n].priority)}},{key:"fontSize",value:function(t){this.override("font-size",t)}},{key:"font",value:function(t){this.override("font-family",t,!0)}},{key:"destroy",value:function(){this.rendition=void 0,this._themes=void 0,this._overrides=void 0,this._current=void 0,this._injected=void 0}}]),t}();e.default=u,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(3),a=i(o),u=n(1),l=i(u),h=n(2),c=function(){function t(e){r(this,t),this.rendition=e,this.highlights=[],this.underlines=[],this.marks=[],this._annotations={},this._annotationsBySectionIndex={},this.rendition.hooks.render.register(this.inject.bind(this)),this.rendition.hooks.unloaded.register(this.clear.bind(this))}return s(t,[{key:"add",value:function(t,e,n,i,r,s){var o=encodeURI(e+t),a=new l.default(e),u=a.spinePos,h=new f({type:t,cfiRange:e,data:n,sectionIndex:u,cb:i,className:r,styles:s});return this._annotations[o]=h,u in this._annotationsBySectionIndex?this._annotationsBySectionIndex[u].push(o):this._annotationsBySectionIndex[u]=[o],this.rendition.views().forEach(function(t){h.sectionIndex===t.index&&h.attach(t)}),h}},{key:"remove",value:function(t,e){var n=this,i=encodeURI(t+e);if(i in this._annotations){var r=this._annotations[i];if(e&&r.type!==e)return;this.rendition.views().forEach(function(t){n._removeFromAnnotationBySectionIndex(r.sectionIndex,i),r.sectionIndex===t.index&&r.detach(t)}),delete this._annotations[i]}}},{key:"_removeFromAnnotationBySectionIndex",value:function(t,e){this._annotationsBySectionIndex[t]=this._annotationsAt(t).filter(function(t){return t!==e})}},{key:"_annotationsAt",value:function(t){return this._annotationsBySectionIndex[t]}},{key:"highlight",value:function(t,e,n,i,r){return this.add("highlight",t,e,n,i,r)}},{key:"underline",value:function(t,e,n,i,r){return this.add("underline",t,e,n,i,r)}},{key:"mark",value:function(t,e,n){return this.add("mark",t,e,n)}},{key:"each",value:function(){return this._annotations.forEach.apply(this._annotations,arguments)}},{key:"inject",value:function(t){var e=this,n=t.index;if(n in this._annotationsBySectionIndex){this._annotationsBySectionIndex[n].forEach(function(n){e._annotations[n].attach(t)})}}},{key:"clear",value:function(t){var e=this,n=t.index;if(n in this._annotationsBySectionIndex){this._annotationsBySectionIndex[n].forEach(function(n){e._annotations[n].detach(t)})}}},{key:"show",value:function(){}},{key:"hide",value:function(){}}]),t}(),f=function(){function t(e){var n=e.type,i=e.cfiRange,s=e.data,o=e.sectionIndex,a=e.cb,u=e.className,l=e.styles;r(this,t),this.type=n,this.cfiRange=i,this.data=s,this.sectionIndex=o,this.mark=void 0,this.cb=a,this.className=u,this.styles=l}return s(t,[{key:"update",value:function(t){this.data=t}},{key:"attach",value:function(t){var e=this.cfiRange,n=this.data,i=this.type,r=(this.mark,this.cb),s=this.className,o=this.styles,a=void 0;return"highlight"===i?a=t.highlight(e,n,r,s,o):"underline"===i?a=t.underline(e,n,r,s,o):"mark"===i&&(a=t.mark(e,n,r)),this.mark=a,this.emit(h.EVENTS.ANNOTATION.ATTACH,a),a}},{key:"detach",value:function(t){var e=this.cfiRange,n=this.type,i=void 0;return t&&("highlight"===n?i=t.unhighlight(e):"underline"===n?i=t.ununderline(e):"mark"===n&&(i=t.unmark(e))),this.mark=void 0,this.emit(h.EVENTS.ANNOTATION.DETACH,i),i}},{key:"text",value:function(){}}]),t}();(0,a.default)(f.prototype),e.default=c,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!t)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return!e||"object"!==(void 0===e?"undefined":h(e))&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":h(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect();return{top:i.top-n.top,left:i.left-n.left,height:t.scrollHeight,width:t.scrollWidth}}function u(t,e){t.style.setProperty("top",e.top+"px","important"),t.style.setProperty("left",e.left+"px","important"),t.style.setProperty("height",e.height+"px","important"),t.style.setProperty("width",e.width+"px","important")}function l(t,e){return e.right<=t.right&&e.left>=t.left&&e.top>=t.top&&e.bottom<=t.bottom}var h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};Object.defineProperty(e,"__esModule",{value:!0}),e.Underline=e.Highlight=e.Mark=e.Pane=void 0;var c=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var s=Object.getPrototypeOf(e);return null===s?void 0:t(s,n,i)}if("value"in r)return r.value;var o=r.get;if(void 0!==o)return o.call(i)},f=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),d=n(57),p=i(d),v=n(58),g=i(v),m=(e.Pane=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;o(this,t),this.target=e,this.element=p.default.createElement("svg"),this.marks=[],this.element.style.position="absolute",this.element.setAttribute("pointer-events","none"),g.default.proxyMouse(this.target,this.marks),this.container=n,this.container.appendChild(this.element),this.render()}return f(t,[{key:"addMark",value:function(t){var e=p.default.createElement("g");return this.element.appendChild(e),t.bind(e,this.container),this.marks.push(t),t.render(),t}},{key:"removeMark",value:function(t){var e=this.marks.indexOf(t);if(-1!==e){var n=t.unbind();this.element.removeChild(n),this.marks.splice(e,1)}}},{key:"render",value:function(){u(this.element,a(this.target,this.container));var t=!0,e=!1,n=void 0;try{for(var i,r=this.marks[Symbol.iterator]();!(t=(i=r.next()).done);t=!0){i.value.render()}}catch(t){e=!0,n=t}finally{try{!t&&r.return&&r.return()}finally{if(e)throw n}}}}]),t}(),e.Mark=function(){function t(){o(this,t),this.element=null}return f(t,[{key:"bind",value:function(t,e){this.element=t,this.container=e}},{key:"unbind",value:function(){var t=this.element;return this.element=null,t}},{key:"render",value:function(){}},{key:"dispatchEvent",value:function(t){this.element&&this.element.dispatchEvent(t)}},{key:"getBoundingClientRect",value:function(){return this.element.getBoundingClientRect()}},{key:"getClientRects",value:function(){for(var t=[],e=this.element.firstChild;e;)t.push(e.getBoundingClientRect()),e=e.nextSibling;return t}},{key:"filteredRanges",value:function(){var t=Array.from(this.range.getClientRects());return t.filter(function(e){for(var n=0;n<t.length;n++){if(t[n]===e)return!0;if(l(t[n],e))return!1}return!0})}}]),t}()),y=e.Highlight=function(t){function e(t,n,i,s){o(this,e);var a=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return a.range=t,a.className=n,a.data=i||{},a.attributes=s||{},a}return s(e,t),f(e,[{key:"bind",value:function(t,n){c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"bind",this).call(this,t,n);for(var i in this.data)this.data.hasOwnProperty(i)&&(this.element.dataset[i]=this.data[i]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&this.element.setAttribute(i,this.attributes[i]);this.className&&this.element.classList.add(this.className)}},{key:"render",value:function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(var t=this.element.ownerDocument.createDocumentFragment(),e=this.filteredRanges(),n=this.element.getBoundingClientRect(),i=this.container.getBoundingClientRect(),r=0,s=e.length;r<s;r++){var o=e[r],a=p.default.createElement("rect");a.setAttribute("x",o.left-n.left+i.left),a.setAttribute("y",o.top-n.top+i.top),a.setAttribute("height",o.height),a.setAttribute("width",o.width),t.appendChild(a)}this.element.appendChild(t)}}]),e}(m);e.Underline=function(t){function e(t,n,i,s){return o(this,e),r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n,i,s))}return s(e,t),f(e,[{key:"render",value:function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(var t=this.element.ownerDocument.createDocumentFragment(),e=this.filteredRanges(),n=this.element.getBoundingClientRect(),i=this.container.getBoundingClientRect(),r=0,s=e.length;r<s;r++){var o=e[r],a=p.default.createElement("rect");a.setAttribute("x",o.left-n.left+i.left),a.setAttribute("y",o.top-n.top+i.top),a.setAttribute("height",o.height),a.setAttribute("width",o.width),a.setAttribute("fill","none");var u=p.default.createElement("line");u.setAttribute("x1",o.left-n.left+i.left),u.setAttribute("x2",o.left-n.left+i.left+o.width),u.setAttribute("y1",o.top-n.top+i.top+o.height-1),u.setAttribute("y2",o.top-n.top+i.top+o.height-1),u.setAttribute("stroke-width",1),u.setAttribute("stroke","black"),u.setAttribute("stroke-linecap","square"),t.appendChild(a),t.appendChild(u)}this.element.appendChild(t)}}]),e}(y)},function(t,e,n){"use strict";function i(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}Object.defineProperty(e,"__esModule",{value:!0}),e.createElement=i,e.default={createElement:i}},function(t,e,n){"use strict";function i(t,e){function n(n){for(var i=e.length-1;i>=0;i--){var o=e[i],a=n.clientX,u=n.clientY;if(n.touches&&n.touches.length&&(a=n.touches[0].clientX,u=n.touches[0].clientY),s(o,t,a,u)){o.dispatchEvent(r(n));break}}}if("iframe"===t.nodeName||"IFRAME"===t.nodeName)try{this.target=t.contentDocument}catch(e){this.target=t}else this.target=t;for(var i=["mouseup","mousedown","click","touchstart"],o=0;o<i.length;o++){var a=i[o];this.target.addEventListener(a,function(t){return n(t)},!1)}}function r(t){var e=Object.assign({},t,{bubbles:!1});try{return new MouseEvent(t.type,e)}catch(i){var n=document.createEvent("MouseEvents");return n.initMouseEvent(t.type,!1,e.cancelable,e.view,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n}}function s(t,e,n,i){function r(t,e,n){var i=t.top-s.top,r=t.left-s.left,o=i+t.height,a=r+t.width;return i<=n&&r<=e&&o>n&&a>e}var s=e.getBoundingClientRect();if(!r(t.getBoundingClientRect(),n,i))return!1;for(var o=t.getClientRects(),a=0,u=o.length;a<u;a++)if(r(o[a],n,i))return!0;return!1}Object.defineProperty(e,"__esModule",{value:!0}),e.proxyMouse=i,e.clone=r,e.default={proxyMouse:i}},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(0),o=n(60),a=function(t){return t&&t.__esModule?t:{default:t}}(o),u=function(){function t(e){i(this,t),this.settings=e||{},this.id="epubjs-container-"+(0,s.uuid)(),this.container=this.create(this.settings),this.settings.hidden&&(this.wrapper=this.wrap(this.container))}return r(t,[{key:"create",value:function(t){var e=t.height,n=t.width,i=t.overflow||!1,r=t.axis||"vertical",o=t.direction;(0,s.extend)(this.settings,t),t.height&&(0,s.isNumber)(t.height)&&(e=t.height+"px"),t.width&&(0,s.isNumber)(t.width)&&(n=t.width+"px");var a=document.createElement("div");return a.id=this.id,a.classList.add("epub-container"),a.style.wordSpacing="0",a.style.lineHeight="0",a.style.verticalAlign="top",a.style.position="relative","horizontal"===r&&(a.style.display="flex",a.style.flexDirection="row",a.style.flexWrap="nowrap"),n&&(a.style.width=n),e&&(a.style.height=e),i&&("scroll"===i&&"vertical"===r?(a.style["overflow-y"]=i,a.style["overflow-x"]="hidden"):"scroll"===i&&"horizontal"===r?(a.style["overflow-y"]="hidden",a.style["overflow-x"]=i):a.style.overflow=i),o&&(a.dir=o,a.style.direction=o),o&&this.settings.fullsize&&(document.body.style.direction=o),a}},{key:"wrap",value:function(t){var e=document.createElement("div");return e.style.visibility="hidden",e.style.overflow="hidden",e.style.width="0",e.style.height="0",e.appendChild(t),e}},{key:"getElement",value:function(t){var e;if((0,s.isElement)(t)?e=t:"string"==typeof t&&(e=document.getElementById(t)),!e)throw new Error("Not an Element");return e}},{key:"attachTo",value:function(t){var e,n=this.getElement(t);if(n)return e=this.settings.hidden?this.wrapper:this.container,n.appendChild(e),this.element=n,n}},{\nkey:"getContainer",value:function(){return this.container}},{key:"onResize",value:function(t){(0,s.isNumber)(this.settings.width)&&(0,s.isNumber)(this.settings.height)||(this.resizeFunc=(0,a.default)(t,50),window.addEventListener("resize",this.resizeFunc,!1))}},{key:"onOrientationChange",value:function(t){this.orientationChangeFunc=t,window.addEventListener("orientationchange",this.orientationChangeFunc,!1)}},{key:"size",value:function(t,e){var n,i=t||this.settings.width,r=e||this.settings.height;null===t?(n=this.element.getBoundingClientRect(),n.width&&(t=Math.floor(n.width),this.container.style.width=t+"px")):(0,s.isNumber)(t)?this.container.style.width=t+"px":this.container.style.width=t,null===e?(n=n||this.element.getBoundingClientRect(),n.height&&(e=n.height,this.container.style.height=e+"px")):(0,s.isNumber)(e)?this.container.style.height=e+"px":this.container.style.height=e,(0,s.isNumber)(t)||(t=this.container.clientWidth),(0,s.isNumber)(e)||(e=this.container.clientHeight),this.containerStyles=window.getComputedStyle(this.container),this.containerPadding={left:parseFloat(this.containerStyles["padding-left"])||0,right:parseFloat(this.containerStyles["padding-right"])||0,top:parseFloat(this.containerStyles["padding-top"])||0,bottom:parseFloat(this.containerStyles["padding-bottom"])||0};var o=(0,s.windowBounds)(),a=window.getComputedStyle(document.body),u={left:parseFloat(a["padding-left"])||0,right:parseFloat(a["padding-right"])||0,top:parseFloat(a["padding-top"])||0,bottom:parseFloat(a["padding-bottom"])||0};return i||(t=o.width-u.left-u.right),(this.settings.fullsize&&!r||!r)&&(e=o.height-u.top-u.bottom),{width:t-this.containerPadding.left-this.containerPadding.right,height:e-this.containerPadding.top-this.containerPadding.bottom}}},{key:"bounds",value:function(){var t=void 0;return"visible"!==this.container.style.overflow&&(t=this.container&&this.container.getBoundingClientRect()),t&&t.width&&t.height?t:(0,s.windowBounds)()}},{key:"getSheet",value:function(){var t=document.createElement("style");return t.appendChild(document.createTextNode("")),document.head.appendChild(t),t.sheet}},{key:"addStyleRules",value:function(t,e){var n="#"+this.id+" ",i="";this.sheet||(this.sheet=this.getSheet()),e.forEach(function(t){for(var e in t)t.hasOwnProperty(e)&&(i+=e+":"+t[e]+";")}),this.sheet.insertRule(n+t+" {"+i+"}",0)}},{key:"axis",value:function(t){"horizontal"===t?(this.container.style.display="flex",this.container.style.flexDirection="row",this.container.style.flexWrap="nowrap"):this.container.style.display="block",this.settings.axis=t}},{key:"direction",value:function(t){this.container&&(this.container.dir=t,this.container.style.direction=t),this.settings.fullsize&&(document.body.style.direction=t),this.settings.dir=t}},{key:"overflow",value:function(t){this.container&&("scroll"===t&&"vertical"===this.settings.axis?(this.container.style["overflow-y"]=t,this.container.style["overflow-x"]="hidden"):"scroll"===t&&"horizontal"===this.settings.axis?(this.container.style["overflow-y"]="hidden",this.container.style["overflow-x"]=t):this.container.style.overflow=t),this.settings.overflow=t}},{key:"destroy",value:function(){this.element&&(this.settings.hidden?this.wrapper:this.container,this.element.contains(this.container)&&this.element.removeChild(this.container),window.removeEventListener("resize",this.resizeFunc),window.removeEventListener("orientationChange",this.orientationChangeFunc))}}]),t}();e.default=u,t.exports=e.default},function(t,e,n){function i(t,e,n){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError(o);return s(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:i,maxWait:e,trailing:a})}var r=n(21),s=n(16),o="Expected a function";t.exports=i},function(t,e,n){var i=n(22),r=function(){return i.Date.now()};t.exports=r},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(5))},function(t,e,n){function i(t){if("number"==typeof t)return t;if(s(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=l.test(t);return n||h.test(t)?c(t.slice(2),n?2:8):u.test(t)?o:+t}var r=n(16),s=n(64),o=NaN,a=/^\\s+|\\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,h=/^0o[0-7]+$/i,c=parseInt;t.exports=i},function(t,e,n){function i(t){return"symbol"==typeof t||s(t)&&r(t)==o}var r=n(65),s=n(68),o="[object Symbol]";t.exports=i},function(t,e,n){function i(t){return null==t?void 0===t?u:a:l&&l in Object(t)?s(t):o(t)}var r=n(23),s=n(66),o=n(67),a="[object Null]",u="[object Undefined]",l=r?r.toStringTag:void 0;t.exports=i},function(t,e,n){function i(t){var e=o.call(t,u),n=t[u];try{t[u]=void 0;var i=!0}catch(t){}var r=a.call(t);return i&&(e?t[u]=n:delete t[u]),r}var r=n(23),s=Object.prototype,o=s.hasOwnProperty,a=s.toString,u=r?r.toStringTag:void 0;t.exports=i},function(t,e){function n(t){return r.call(t)}var i=Object.prototype,r=i.toString;t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=function(){function t(e){i(this,t),this.container=e,this._views=[],this.length=0,this.hidden=!1}return r(t,[{key:"all",value:function(){return this._views}},{key:"first",value:function(){return this._views[0]}},{key:"last",value:function(){return this._views[this._views.length-1]}},{key:"indexOf",value:function(t){return this._views.indexOf(t)}},{key:"slice",value:function(){return this._views.slice.apply(this._views,arguments)}},{key:"get",value:function(t){return this._views[t]}},{key:"append",value:function(t){return this._views.push(t),this.container&&this.container.appendChild(t.element),this.length++,t}},{key:"prepend",value:function(t){return this._views.unshift(t),this.container&&this.container.insertBefore(t.element,this.container.firstChild),this.length++,t}},{key:"insert",value:function(t,e){return this._views.splice(e,0,t),this.container&&(e<this.container.children.length?this.container.insertBefore(t.element,this.container.children[e]):this.container.appendChild(t.element)),this.length++,t}},{key:"remove",value:function(t){var e=this._views.indexOf(t);e>-1&&this._views.splice(e,1),this.destroy(t),this.length--}},{key:"destroy",value:function(t){t.displayed&&t.destroy(),this.container&&this.container.removeChild(t.element),t=null}},{key:"forEach",value:function(){return this._views.forEach.apply(this._views,arguments)}},{key:"clear",value:function(){var t,e=this.length;if(this.length){for(var n=0;n<e;n++)t=this._views[n],this.destroy(t);this._views=[],this.length=0}}},{key:"find",value:function(t){for(var e,n=this.length,i=0;i<n;i++)if(e=this._views[i],e.displayed&&e.section.index==t.index)return e}},{key:"displayed",value:function(){for(var t,e=[],n=this.length,i=0;i<n;i++)t=this._views[i],t.displayed&&e.push(t);return e}},{key:"show",value:function(){for(var t,e=this.length,n=0;n<e;n++)t=this._views[n],t.displayed&&t.show();this.hidden=!1}},{key:"hide",value:function(){for(var t,e=this.length,n=0;n<e;n++)t=this._views[n],t.displayed&&t.hide();this.hidden=!0}}]),t}();e.default=s,t.exports=e.default},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(0),o=n(2),a=n(3),u=function(t){return t&&t.__esModule?t:{default:t}}(a),l=Math.PI/2,h={easeOutSine:function(t){return Math.sin(t*l)},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},easeInCubic:function(t){return Math.pow(t,3)}},c=function(){function t(e,n){i(this,t),this.settings=(0,s.extend)({duration:80,minVelocity:.2,minDistance:10,easing:h.easeInCubic},n||{}),this.supportsTouch=this.supportsTouch(),this.supportsTouch&&this.setup(e)}return r(t,[{key:"setup",value:function(t){this.manager=t,this.layout=this.manager.layout,this.fullsize=this.manager.settings.fullsize,this.fullsize?(this.element=this.manager.stage.element,this.scroller=window,this.disableScroll()):(this.element=this.manager.stage.container,this.scroller=this.element,this.element.style.WebkitOverflowScrolling="touch"),this.manager.settings.offset=this.layout.width,this.manager.settings.afterScrolledTimeout=2*this.settings.duration,this.isVertical="vertical"===this.manager.settings.axis,this.manager.isPaginated&&!this.isVertical&&(this.touchCanceler=!1,this.resizeCanceler=!1,this.snapping=!1,this.scrollLeft,this.scrollTop,this.startTouchX=void 0,this.startTouchY=void 0,this.startTime=void 0,this.endTouchX=void 0,this.endTouchY=void 0,this.endTime=void 0,this.addListeners())}},{key:"supportsTouch",value:function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}},{key:"disableScroll",value:function(){this.element.style.overflow="hidden"}},{key:"enableScroll",value:function(){this.element.style.overflow=""}},{key:"addListeners",value:function(){this._onResize=this.onResize.bind(this),window.addEventListener("resize",this._onResize),this._onScroll=this.onScroll.bind(this),this.scroller.addEventListener("scroll",this._onScroll),this._onTouchStart=this.onTouchStart.bind(this),this.scroller.addEventListener("touchstart",this._onTouchStart,{passive:!0}),this.on("touchstart",this._onTouchStart),this._onTouchMove=this.onTouchMove.bind(this),this.scroller.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.on("touchmove",this._onTouchMove),this._onTouchEnd=this.onTouchEnd.bind(this),this.scroller.addEventListener("touchend",this._onTouchEnd,{passive:!0}),this.on("touchend",this._onTouchEnd),this._afterDisplayed=this.afterDisplayed.bind(this),this.manager.on(o.EVENTS.MANAGERS.ADDED,this._afterDisplayed)}},{key:"removeListeners",value:function(){window.removeEventListener("resize",this._onResize),this._onResize=void 0,this.scroller.removeEventListener("scroll",this._onScroll),this._onScroll=void 0,this.scroller.removeEventListener("touchstart",this._onTouchStart,{passive:!0}),this.off("touchstart",this._onTouchStart),this._onTouchStart=void 0,this.scroller.removeEventListener("touchmove",this._onTouchMove,{passive:!0}),this.off("touchmove",this._onTouchMove),this._onTouchMove=void 0,this.scroller.removeEventListener("touchend",this._onTouchEnd,{passive:!0}),this.off("touchend",this._onTouchEnd),this._onTouchEnd=void 0,this.manager.off(o.EVENTS.MANAGERS.ADDED,this._afterDisplayed),this._afterDisplayed=void 0}},{key:"afterDisplayed",value:function(t){var e=this,n=t.contents;["touchstart","touchmove","touchend"].forEach(function(t){n.on(t,function(t){return e.triggerViewEvent(t,n)})})}},{key:"triggerViewEvent",value:function(t,e){this.emit(t.type,t,e)}},{key:"onScroll",value:function(t){this.scrollLeft=this.fullsize?window.scrollX:this.scroller.scrollLeft,this.scrollTop=this.fullsize?window.scrollY:this.scroller.scrollTop}},{key:"onResize",value:function(t){this.resizeCanceler=!0}},{key:"onTouchStart",value:function(t){var e=t.touches[0],n=e.screenX,i=e.screenY;this.fullsize&&this.enableScroll(),this.touchCanceler=!0,this.startTouchX||(this.startTouchX=n,this.startTouchY=i,this.startTime=this.now()),this.endTouchX=n,this.endTouchY=i,this.endTime=this.now()}},{key:"onTouchMove",value:function(t){var e=t.touches[0],n=e.screenX,i=e.screenY,r=Math.abs(i-this.endTouchY);this.touchCanceler=!0,!this.fullsize&&r<10&&(this.element.scrollLeft-=n-this.endTouchX),this.endTouchX=n,this.endTouchY=i,this.endTime=this.now()}},{key:"onTouchEnd",value:function(t){this.fullsize&&this.disableScroll(),this.touchCanceler=!1;var e=this.wasSwiped();0!==e?this.snap(e):this.snap(),this.startTouchX=void 0,this.startTouchY=void 0,this.startTime=void 0,this.endTouchX=void 0,this.endTouchY=void 0,this.endTime=void 0}},{key:"wasSwiped",value:function(){var t=this.layout.pageWidth*this.layout.divisor,e=this.endTouchX-this.startTouchX,n=Math.abs(e),i=this.endTime-this.startTime,r=e/i,s=this.settings.minVelocity;return n<=this.settings.minDistance||n>=t?0:r>s?-1:r<-s?1:void 0}},{key:"needsSnap",value:function(){return this.scrollLeft%(this.layout.pageWidth*this.layout.divisor)!=0}},{key:"snap",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=this.scrollLeft,n=this.layout.pageWidth*this.layout.divisor,i=Math.round(e/n)*n;return t&&(i+=t*n),this.smoothScrollTo(i)}},{key:"smoothScrollTo",value:function(t){function e(){var s=this.now(),u=Math.min(1,(s-r)/o);a(u);if(this.touchCanceler||this.resizeCanceler)return this.resizeCanceler=!1,this.snapping=!1,void n.resolve();u<1?(window.requestAnimationFrame(e.bind(this)),this.scrollTo(i+(t-i)*u,0)):(this.scrollTo(t,0),this.snapping=!1,n.resolve())}var n=new s.defer,i=this.scrollLeft,r=this.now(),o=this.settings.duration,a=this.settings.easing;return this.snapping=!0,e.call(this),n.promise}},{key:"scrollTo",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.fullsize?window.scroll(t,e):(this.scroller.scrollLeft=t,this.scroller.scrollTop=e)}},{key:"now",value:function(){return"now"in window.performance?performance.now():(new Date).getTime()}},{key:"destroy",value:function(){this.scroller&&(this.fullsize&&this.enableScroll(),this.removeListeners(),this.scroller=void 0)}}]),t}();(0,u.default)(c.prototype),e.default=c,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(0),a=n(9),u=i(a),l=n(13),h=i(l),c=n(4),f=i(c),d=function(){function t(){r(this,t),this.zip=void 0,this.urlCache={},this.checkRequirements()}return s(t,[{key:"checkRequirements",value:function(){try{if("undefined"==typeof JSZip){var t=n(72);this.zip=new t}else this.zip=new JSZip}catch(t){throw new Error("JSZip lib not loaded")}}},{key:"open",value:function(t,e){return this.zip.loadAsync(t,{base64:e})}},{key:"openUrl",value:function(t,e){return(0,u.default)(t,"binary").then(function(t){return this.zip.loadAsync(t,{base64:e})}.bind(this))}},{key:"request",value:function(t,e){var n,i=new o.defer,r=new f.default(t);return e||(e=r.extension),n="blob"==e?this.getBlob(t):this.getText(t),n?n.then(function(t){var n=this.handleResponse(t,e);i.resolve(n)}.bind(this)):i.reject({message:"File not found in the epub: "+t,stack:(new Error).stack}),i.promise}},{key:"handleResponse",value:function(t,e){return"json"==e?JSON.parse(t):(0,o.isXml)(e)?(0,o.parse)(t,"text/xml"):"xhtml"==e?(0,o.parse)(t,"application/xhtml+xml"):"html"==e||"htm"==e?(0,o.parse)(t,"text/html"):t}},{key:"getBlob",value:function(t,e){var n=window.decodeURIComponent(t.substr(1)),i=this.zip.file(n);if(i)return e=e||h.default.lookup(i.name),i.async("uint8array").then(function(t){return new Blob([t],{type:e})})}},{key:"getText",value:function(t,e){var n=window.decodeURIComponent(t.substr(1)),i=this.zip.file(n);if(i)return i.async("string").then(function(t){return t})}},{key:"getBase64",value:function(t,e){var n=window.decodeURIComponent(t.substr(1)),i=this.zip.file(n);if(i)return e=e||h.default.lookup(i.name),i.async("base64").then(function(t){return"data:"+e+";base64,"+t})}},{key:"createUrl",value:function(t,e){var n,i,r=new o.defer,s=window.URL||window.webkitURL||window.mozURL,a=e&&e.base64;return t in this.urlCache?(r.resolve(this.urlCache[t]),r.promise):(a?(i=this.getBase64(t))&&i.then(function(e){this.urlCache[t]=e,r.resolve(e)}.bind(this)):(i=this.getBlob(t))&&i.then(function(e){n=s.createObjectURL(e),this.urlCache[t]=n,r.resolve(n)}.bind(this)),i||r.reject({message:"File not found in the epub: "+t,stack:(new Error).stack}),r.promise)}},{key:"revokeUrl",value:function(t){var e=window.URL||window.webkitURL||window.mozURL,n=this.urlCache[t];n&&e.revokeObjectURL(n)}},{key:"destroy",value:function(){var t=window.URL||window.webkitURL||window.mozURL;for(var e in this.urlCache)t.revokeObjectURL(e);this.zip=void 0,this.urlCache={}}}]),t}();e.default=d,t.exports=e.default},function(t,n){if(void 0===e){var i=new Error(\'Cannot find module "jszip"\');throw i.code="MODULE_NOT_FOUND",i}t.exports=e},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(0),a=n(9),u=i(a),l=n(13),h=i(l),c=n(4),f=i(c),d=n(3),p=i(d),v=function(){function t(e,n,i){r(this,t),this.urlCache={},this.storage=void 0,this.name=e,this.requester=n||u.default,this.resolver=i,this.online=!0,this.checkRequirements(),this.addListeners()}return s(t,[{key:"checkRequirements",value:function(){try{var t=void 0;t="undefined"==typeof localforage?n(74):localforage,this.storage=t.createInstance({name:this.name})}catch(t){throw new Error("localForage lib not loaded")}}},{key:"addListeners",value:function(){this._status=this.status.bind(this),window.addEventListener("online",this._status),window.addEventListener("offline",this._status)}},{key:"removeListeners",value:function(){window.removeEventListener("online",this._status),window.removeEventListener("offline",this._status),this._status=void 0}},{key:"status",value:function(t){var e=navigator.onLine;this.online=e,e?this.emit("online",this):this.emit("offline",this)}},{key:"add",value:function(t,e){var n=this,i=t.resources.map(function(t){var i=t.href,r=n.resolver(i),s=window.encodeURIComponent(r);return n.storage.getItem(s).then(function(t){return!t||e?n.requester(r,"binary").then(function(t){return n.storage.setItem(s,t)}):t})});return Promise.all(i)}},{key:"put",value:function(t,e,n){var i=this,r=window.encodeURIComponent(t);return this.storage.getItem(r).then(function(s){return s||i.requester(t,"binary",e,n).then(function(t){return i.storage.setItem(r,t)})})}},{key:"request",value:function(t,e,n,i){var r=this;return this.online?this.requester(t,e,n,i).then(function(e){return r.put(t),e}):this.retrieve(t,e)}},{key:"retrieve",value:function(t,e){var n,i=this,r=(new o.defer,new f.default(t));return e||(e=r.extension),n="blob"==e?this.getBlob(t):this.getText(t),n.then(function(n){var r,s=new o.defer;return n?(r=i.handleResponse(n,e),s.resolve(r)):s.reject({message:"File not found in storage: "+t,stack:(new Error).stack}),s.promise})}},{key:"handleResponse",value:function(t,e){return"json"==e?JSON.parse(t):(0,o.isXml)(e)?(0,o.parse)(t,"text/xml"):"xhtml"==e?(0,o.parse)(t,"application/xhtml+xml"):"html"==e||"htm"==e?(0,o.parse)(t,"text/html"):t}},{key:"getBlob",value:function(t,e){var n=window.encodeURIComponent(t);return this.storage.getItem(n).then(function(n){if(n)return e=e||h.default.lookup(t),new Blob([n],{type:e})})}},{key:"getText",value:function(t,e){var n=window.encodeURIComponent(t);return e=e||h.default.lookup(t),this.storage.getItem(n).then(function(t){var n,i=new o.defer,r=new FileReader;if(t)return n=new Blob([t],{type:e}),r.addEventListener("loadend",function(){i.resolve(r.result)}),r.readAsText(n,e),i.promise})}},{key:"getBase64",value:function(t,e){var n=window.encodeURIComponent(t);return e=e||h.default.lookup(t),this.storage.getItem(n).then(function(t){var n,i=new o.defer,r=new FileReader;if(t)return n=new Blob([t],{type:e}),r.addEventListener("loadend",function(){i.resolve(r.result)}),r.readAsDataURL(n,e),i.promise})}},{key:"createUrl",value:function(t,e){var n,i,r=new o.defer,s=window.URL||window.webkitURL||window.mozURL,a=e&&e.base64;return t in this.urlCache?(r.resolve(this.urlCache[t]),r.promise):(a?(i=this.getBase64(t))&&i.then(function(e){this.urlCache[t]=e,r.resolve(e)}.bind(this)):(i=this.getBlob(t))&&i.then(function(e){n=s.createObjectURL(e),this.urlCache[t]=n,r.resolve(n)}.bind(this)),i||r.reject({message:"File not found in storage: "+t,stack:(new Error).stack}),r.promise)}},{key:"revokeUrl",value:function(t){var e=window.URL||window.webkitURL||window.mozURL,n=this.urlCache[t];n&&e.revokeObjectURL(n)}},{key:"destroy",value:function(){var t=window.URL||window.webkitURL||window.mozURL;for(var e in this.urlCache)t.revokeObjectURL(e);this.urlCache={},this.removeListeners()}}]),t}();(0,p.default)(v.prototype),e.default=v,t.exports=e.default},function(t,e,n){(function(e){var n,n;!function(e){t.exports=e()}(function(){return function t(e,i,r){function s(a,u){if(!i[a]){if(!e[a]){var l="function"==typeof n&&n;if(!u&&l)return n(a,!0);if(o)return o(a,!0);var h=new Error("Cannot find module \'"+a+"\'");throw h.code="MODULE_NOT_FOUND",h}var c=i[a]={exports:{}};e[a][0].call(c.exports,function(t){var n=e[a][1][t];return s(n||t)},c,c.exports,t,e,i,r)}return i[a].exports}for(var o="function"==typeof n&&n,a=0;a<r.length;a++)s(r[a]);return s}({1:[function(t,n,i){(function(t){"use strict";function e(){h=!0;for(var t,e,n=c.length;n;){for(e=c,c=[],t=-1;++t<n;)e[t]();n=c.length}h=!1}function i(t){1!==c.push(t)||h||r()}var r,s=t.MutationObserver||t.WebKitMutationObserver;if(s){var o=0,a=new s(e),u=t.document.createTextNode("");a.observe(u,{characterData:!0}),r=function(){u.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)r="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var n=t.document.createElement("script");n.onreadystatechange=function(){e(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},t.document.documentElement.appendChild(n)}:function(){setTimeout(e,0)};else{var l=new t.MessageChannel;l.port1.onmessage=e,r=function(){l.port2.postMessage(0)}}var h,c=[];n.exports=i}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,n){"use strict";function i(){}function r(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=y,this.queue=[],this.outcome=void 0,t!==i&&u(this,t)}function s(t,e,n){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function o(t,e,n){p(function(){var i;try{i=e(n)}catch(e){return v.reject(t,e)}i===t?v.reject(t,new TypeError("Cannot resolve promise with itself")):v.resolve(t,i)})}function a(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function u(t,e){function n(e){s||(s=!0,v.reject(t,e))}function i(e){s||(s=!0,v.resolve(t,e))}function r(){e(i,n)}var s=!1,o=l(r);"error"===o.status&&n(o.value)}function l(t,e){var n={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}return n}function h(t){return t instanceof this?t:v.resolve(new this(i),t)}function c(t){var e=new this(i);return v.reject(e,t)}function f(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,r=!1;if(!n)return this.resolve([]);for(var s=new Array(n),o=0,a=-1,u=new this(i);++a<n;)!function(t,i){function a(t){s[i]=t,++o!==n||r||(r=!0,v.resolve(u,s))}e.resolve(t).then(a,function(t){r||(r=!0,v.reject(u,t))})}(t[a],a);return u}function d(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,r=!1;if(!n)return this.resolve([]);for(var s=-1,o=new this(i);++s<n;)!function(t){e.resolve(t).then(function(t){r||(r=!0,v.resolve(o,t))},function(t){r||(r=!0,v.reject(o,t))})}(t[s]);return o}var p=t(1),v={},g=["REJECTED"],m=["FULFILLED"],y=["PENDING"];e.exports=r,r.prototype.catch=function(t){return this.then(null,t)},r.prototype.then=function(t,e){if("function"!=typeof t&&this.state===m||"function"!=typeof e&&this.state===g)return this;var n=new this.constructor(i);if(this.state!==y){o(n,this.state===m?t:e,this.outcome)}else this.queue.push(new s(n,t,e));return n},s.prototype.callFulfilled=function(t){v.resolve(this.promise,t)},s.prototype.otherCallFulfilled=function(t){o(this.promise,this.onFulfilled,t)},s.prototype.callRejected=function(t){v.reject(this.promise,t)},s.prototype.otherCallRejected=function(t){o(this.promise,this.onRejected,t)},v.resolve=function(t,e){var n=l(a,e);if("error"===n.status)return v.reject(t,n.value);var i=n.value;if(i)u(t,i);else{t.state=m,t.outcome=e;for(var r=-1,s=t.queue.length;++r<s;)t.queue[r].callFulfilled(e)}return t},v.reject=function(t,e){t.state=g,t.outcome=e;for(var n=-1,i=t.queue.length;++n<i;)t.queue[n].callRejected(e);return t},r.resolve=h,r.reject=c,r.all=f,r.race=d},{1:1}],3:[function(t,n,i){(function(e){"use strict";"function"!=typeof e.Promise&&(e.Promise=t(2))}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){t=t||[],e=e||{};try{return new Blob(t,e)}catch(s){if("TypeError"!==s.name)throw s;for(var n="undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder,i=new n,r=0;r<t.length;r+=1)i.append(t[r]);return i.getBlob(e.type)}}function s(t,e){e&&t.then(function(t){e(null,t)},function(t){e(t)})}function o(t,e,n){"function"==typeof e&&t.then(e),"function"==typeof n&&t.catch(n)}function a(t){return"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t)),t}function u(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}function l(t){for(var e=t.length,n=new ArrayBuffer(e),i=new Uint8Array(n),r=0;r<e;r++)i[r]=t.charCodeAt(r);return n}function h(t){return new mt(function(e){var n=t.transaction(yt,xt),i=r([""]);n.objectStore(yt).put(i,"key"),n.onabort=function(t){t.preventDefault(),t.stopPropagation(),e(!1)},n.oncomplete=function(){var t=navigator.userAgent.match(/Chrome\\/(\\d+)/),n=navigator.userAgent.match(/Edge\\//);e(n||!t||parseInt(t[1],10)>=43)}}).catch(function(){return!1})}function c(t){return"boolean"==typeof bt?mt.resolve(bt):h(t).then(function(t){return bt=t})}function f(t){var e=wt[t.name],n={};n.promise=new mt(function(t,e){n.resolve=t,n.reject=e}),e.deferredOperations.push(n),e.dbReady?e.dbReady=e.dbReady.then(function(){return n.promise}):e.dbReady=n.promise}function d(t){var e=wt[t.name],n=e.deferredOperations.pop();if(n)return n.resolve(),n.promise}function p(t,e){var n=wt[t.name],i=n.deferredOperations.pop();if(i)return i.reject(e),i.promise}function v(t,e){return new mt(function(n,i){if(wt[t.name]=wt[t.name]||S(),t.db){if(!e)return n(t.db);f(t),t.db.close()}var r=[t.name];e&&r.push(t.version);var s=gt.open.apply(gt,r);e&&(s.onupgradeneeded=function(e){var n=s.result;try{n.createObjectStore(t.storeName),e.oldVersion<=1&&n.createObjectStore(yt)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn(\'The database "\'+t.name+\'" has been upgraded from version \'+e.oldVersion+" to version "+e.newVersion+\', but the storage "\'+t.storeName+\'" already exists.\')}}),s.onerror=function(t){t.preventDefault(),i(s.error)},s.onsuccess=function(){n(s.result),d(t)}})}function g(t){return v(t,!1)}function m(t){return v(t,!0)}function y(t,e){if(!t.db)return!0;var n=!t.db.objectStoreNames.contains(t.storeName),i=t.version<t.db.version,r=t.version>t.db.version;if(i&&(t.version!==e&&console.warn(\'The database "\'+t.name+"\\" can\'t be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),r||n){if(n){var s=t.db.version+1;s>t.version&&(t.version=s)}return!0}return!1}function b(t){return new mt(function(e,n){var i=new FileReader;i.onerror=n,i.onloadend=function(n){var i=btoa(n.target.result||"");e({__local_forage_encoded_blob:!0,data:i,type:t.type})},i.readAsBinaryString(t)})}function w(t){return r([l(atob(t.data))],{type:t.type})}function E(t){return t&&t.__local_forage_encoded_blob}function k(t){var e=this,n=e._initReady().then(function(){var t=wt[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady});return o(n,t,t),n}function x(t){f(t);for(var e=wt[t.name],n=e.forages,i=0;i<n.length;i++){var r=n[i];r._dbInfo.db&&(r._dbInfo.db.close(),r._dbInfo.db=null)}return t.db=null,g(t).then(function(e){return t.db=e,y(t)?m(t):e}).then(function(i){t.db=e.db=i;for(var r=0;r<n.length;r++)n[r]._dbInfo.db=i}).catch(function(e){throw p(t,e),e})}function _(t,e,n,i){void 0===i&&(i=1);try{var r=t.db.transaction(t.storeName,e);n(null,r)}catch(r){if(i>0&&(!t.db||"InvalidStateError"===r.name||"NotFoundError"===r.name))return mt.resolve().then(function(){if(!t.db||"NotFoundError"===r.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),m(t)}).then(function(){return x(t).then(function(){_(t,e,n,i-1)})}).catch(n);n(r)}}function S(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function N(t){function e(){return mt.resolve()}var n=this,i={db:null};if(t)for(var r in t)i[r]=t[r];var s=wt[i.name];s||(s=S(),wt[i.name]=s),s.forages.push(n),n._initReady||(n._initReady=n.ready,n.ready=k);for(var o=[],a=0;a<s.forages.length;a++){var u=s.forages[a];u!==n&&o.push(u._initReady().catch(e))}var l=s.forages.slice(0);return mt.all(o).then(function(){return i.db=s.db,g(i)}).then(function(t){return i.db=t,y(i,n._defaultConfig.version)?m(i):t}).then(function(t){i.db=s.db=t,n._dbInfo=i;for(var e=0;e<l.length;e++){var r=l[e];r!==n&&(r._dbInfo.db=i.db,r._dbInfo.version=i.version)}})}function T(t,e){var n=this;t=a(t);var i=new mt(function(e,i){n.ready().then(function(){_(n._dbInfo,kt,function(r,s){if(r)return i(r);try{var o=s.objectStore(n._dbInfo.storeName),a=o.get(t);a.onsuccess=function(){var t=a.result;void 0===t&&(t=null),E(t)&&(t=w(t)),e(t)},a.onerror=function(){i(a.error)}}catch(t){i(t)}})}).catch(i)});return s(i,e),i}function C(t,e){var n=this,i=new mt(function(e,i){n.ready().then(function(){_(n._dbInfo,kt,function(r,s){if(r)return i(r);try{var o=s.objectStore(n._dbInfo.storeName),a=o.openCursor(),u=1;a.onsuccess=function(){var n=a.result;if(n){var i=n.value;E(i)&&(i=w(i));var r=t(i,n.key,u++);void 0!==r?e(r):n.continue()}else e()},a.onerror=function(){i(a.error)}}catch(t){i(t)}})}).catch(i)});return s(i,e),i}function O(t,e,n){var i=this;t=a(t);var r=new mt(function(n,r){var s;i.ready().then(function(){return s=i._dbInfo,"[object Blob]"===Et.call(e)?c(s.db).then(function(t){return t?e:b(e)}):e}).then(function(e){_(i._dbInfo,xt,function(s,o){if(s)return r(s);try{var a=o.objectStore(i._dbInfo.storeName);null===e&&(e=void 0);var u=a.put(e,t);o.oncomplete=function(){void 0===e&&(e=null),n(e)},o.onabort=o.onerror=function(){var t=u.error?u.error:u.transaction.error;r(t)}}catch(t){r(t)}})}).catch(r)});return s(r,n),r}function R(t,e){var n=this;t=a(t);var i=new mt(function(e,i){n.ready().then(function(){_(n._dbInfo,xt,function(r,s){if(r)return i(r);try{\nvar o=s.objectStore(n._dbInfo.storeName),a=o.delete(t);s.oncomplete=function(){e()},s.onerror=function(){i(a.error)},s.onabort=function(){var t=a.error?a.error:a.transaction.error;i(t)}}catch(t){i(t)}})}).catch(i)});return s(i,e),i}function I(t){var e=this,n=new mt(function(t,n){e.ready().then(function(){_(e._dbInfo,xt,function(i,r){if(i)return n(i);try{var s=r.objectStore(e._dbInfo.storeName),o=s.clear();r.oncomplete=function(){t()},r.onabort=r.onerror=function(){var t=o.error?o.error:o.transaction.error;n(t)}}catch(t){n(t)}})}).catch(n)});return s(n,t),n}function A(t){var e=this,n=new mt(function(t,n){e.ready().then(function(){_(e._dbInfo,kt,function(i,r){if(i)return n(i);try{var s=r.objectStore(e._dbInfo.storeName),o=s.count();o.onsuccess=function(){t(o.result)},o.onerror=function(){n(o.error)}}catch(t){n(t)}})}).catch(n)});return s(n,t),n}function L(t,e){var n=this,i=new mt(function(e,i){if(t<0)return void e(null);n.ready().then(function(){_(n._dbInfo,kt,function(r,s){if(r)return i(r);try{var o=s.objectStore(n._dbInfo.storeName),a=!1,u=o.openCursor();u.onsuccess=function(){var n=u.result;if(!n)return void e(null);0===t?e(n.key):a?e(n.key):(a=!0,n.advance(t))},u.onerror=function(){i(u.error)}}catch(t){i(t)}})}).catch(i)});return s(i,e),i}function P(t){var e=this,n=new mt(function(t,n){e.ready().then(function(){_(e._dbInfo,kt,function(i,r){if(i)return n(i);try{var s=r.objectStore(e._dbInfo.storeName),o=s.openCursor(),a=[];o.onsuccess=function(){var e=o.result;if(!e)return void t(a);a.push(e.key),e.continue()},o.onerror=function(){n(o.error)}}catch(t){n(t)}})}).catch(n)});return s(n,t),n}function D(t,e){e=u.apply(this,arguments);var n=this.config();t="function"!=typeof t&&t||{},t.name||(t.name=t.name||n.name,t.storeName=t.storeName||n.storeName);var i,r=this;if(t.name){var o=t.name===n.name&&r._dbInfo.db,a=o?mt.resolve(r._dbInfo.db):g(t).then(function(e){var n=wt[t.name],i=n.forages;n.db=e;for(var r=0;r<i.length;r++)i[r]._dbInfo.db=e;return e});i=t.storeName?a.then(function(e){if(e.objectStoreNames.contains(t.storeName)){var n=e.version+1;f(t);var i=wt[t.name],r=i.forages;e.close();for(var s=0;s<r.length;s++){var o=r[s];o._dbInfo.db=null,o._dbInfo.version=n}return new mt(function(e,i){var r=gt.open(t.name,n);r.onerror=function(t){r.result.close(),i(t)},r.onupgradeneeded=function(){r.result.deleteObjectStore(t.storeName)},r.onsuccess=function(){var t=r.result;t.close(),e(t)}}).then(function(t){i.db=t;for(var e=0;e<r.length;e++){var n=r[e];n._dbInfo.db=t,d(n._dbInfo)}}).catch(function(e){throw(p(t,e)||mt.resolve()).catch(function(){}),e})}}):a.then(function(e){f(t);var n=wt[t.name],i=n.forages;e.close();for(var r=0;r<i.length;r++){i[r]._dbInfo.db=null}return new mt(function(e,n){var i=gt.deleteDatabase(t.name);i.onerror=i.onblocked=function(t){var e=i.result;e&&e.close(),n(t)},i.onsuccess=function(){var t=i.result;t&&t.close(),e(t)}}).then(function(t){n.db=t;for(var e=0;e<i.length;e++)d(i[e]._dbInfo)}).catch(function(e){throw(p(t,e)||mt.resolve()).catch(function(){}),e})})}else i=mt.reject("Invalid arguments");return s(i,e),i}function j(t){var e,n,i,r,s,o=.75*t.length,a=t.length,u=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var l=new ArrayBuffer(o),h=new Uint8Array(l);for(e=0;e<a;e+=4)n=St.indexOf(t[e]),i=St.indexOf(t[e+1]),r=St.indexOf(t[e+2]),s=St.indexOf(t[e+3]),h[u++]=n<<2|i>>4,h[u++]=(15&i)<<4|r>>2,h[u++]=(3&r)<<6|63&s;return l}function M(t){var e,n=new Uint8Array(t),i="";for(e=0;e<n.length;e+=3)i+=St[n[e]>>2],i+=St[(3&n[e])<<4|n[e+1]>>4],i+=St[(15&n[e+1])<<2|n[e+2]>>6],i+=St[63&n[e+2]];return n.length%3==2?i=i.substring(0,i.length-1)+"=":n.length%3==1&&(i=i.substring(0,i.length-2)+"=="),i}function z(t,e){var n="";if(t&&(n=Ft.call(t)),t&&("[object ArrayBuffer]"===n||t.buffer&&"[object ArrayBuffer]"===Ft.call(t.buffer))){var i,r=Ct;t instanceof ArrayBuffer?(i=t,r+=Rt):(i=t.buffer,"[object Int8Array]"===n?r+=At:"[object Uint8Array]"===n?r+=Lt:"[object Uint8ClampedArray]"===n?r+=Pt:"[object Int16Array]"===n?r+=Dt:"[object Uint16Array]"===n?r+=Mt:"[object Int32Array]"===n?r+=jt:"[object Uint32Array]"===n?r+=zt:"[object Float32Array]"===n?r+=Bt:"[object Float64Array]"===n?r+=qt:e(new Error("Failed to get type for BinaryArray"))),e(r+M(i))}else if("[object Blob]"===n){var s=new FileReader;s.onload=function(){var n=Nt+t.type+"~"+M(this.result);e(Ct+It+n)},s.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(n){console.error("Couldn\'t convert value into a JSON string: ",t),e(null,n)}}function B(t){if(t.substring(0,Ot)!==Ct)return JSON.parse(t);var e,n=t.substring(Ut),i=t.substring(Ot,Ut);if(i===It&&Tt.test(n)){var s=n.match(Tt);e=s[1],n=n.substring(s[0].length)}var o=j(n);switch(i){case Rt:return o;case It:return r([o],{type:e});case At:return new Int8Array(o);case Lt:return new Uint8Array(o);case Pt:return new Uint8ClampedArray(o);case Dt:return new Int16Array(o);case Mt:return new Uint16Array(o);case jt:return new Int32Array(o);case zt:return new Uint32Array(o);case Bt:return new Float32Array(o);case qt:return new Float64Array(o);default:throw new Error("Unkown type: "+i)}}function q(t,e,n,i){t.executeSql("CREATE TABLE IF NOT EXISTS "+e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,i)}function U(t){var e=this,n={db:null};if(t)for(var i in t)n[i]="string"!=typeof t[i]?t[i].toString():t[i];var r=new mt(function(t,i){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(t){return i(t)}n.db.transaction(function(r){q(r,n,function(){e._dbInfo=n,t()},function(t,e){i(e)})},i)});return n.serializer=Vt,r}function F(t,e,n,i,r,s){t.executeSql(n,i,r,function(t,o){o.code===o.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type=\'table\' AND name = ?",[e.storeName],function(t,a){a.rows.length?s(t,o):q(t,e,function(){t.executeSql(n,i,r,s)},s)},s):s(t,o)},s)}function V(t,e){var n=this;t=a(t);var i=new mt(function(e,i){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){F(n,r,"SELECT * FROM "+r.storeName+" WHERE key = ? LIMIT 1",[t],function(t,n){var i=n.rows.length?n.rows.item(0).value:null;i&&(i=r.serializer.deserialize(i)),e(i)},function(t,e){i(e)})})}).catch(i)});return s(i,e),i}function W(t,e){var n=this,i=new mt(function(e,i){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){F(n,r,"SELECT * FROM "+r.storeName,[],function(n,i){for(var s=i.rows,o=s.length,a=0;a<o;a++){var u=s.item(a),l=u.value;if(l&&(l=r.serializer.deserialize(l)),void 0!==(l=t(l,u.key,a+1)))return void e(l)}e()},function(t,e){i(e)})})}).catch(i)});return s(i,e),i}function H(t,e,n,i){var r=this;t=a(t);var o=new mt(function(s,o){r.ready().then(function(){void 0===e&&(e=null);var a=e,u=r._dbInfo;u.serializer.serialize(e,function(e,l){l?o(l):u.db.transaction(function(n){F(n,u,"INSERT OR REPLACE INTO "+u.storeName+" (key, value) VALUES (?, ?)",[t,e],function(){s(a)},function(t,e){o(e)})},function(e){if(e.code===e.QUOTA_ERR){if(i>0)return void s(H.apply(r,[t,a,n,i-1]));o(e)}})})}).catch(o)});return s(o,n),o}function X(t,e,n){return H.apply(this,[t,e,n,1])}function Y(t,e){var n=this;t=a(t);var i=new mt(function(e,i){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){F(n,r,"DELETE FROM "+r.storeName+" WHERE key = ?",[t],function(){e()},function(t,e){i(e)})})}).catch(i)});return s(i,e),i}function G(t){var e=this,n=new mt(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){F(e,i,"DELETE FROM "+i.storeName,[],function(){t()},function(t,e){n(e)})})}).catch(n)});return s(n,t),n}function K(t){var e=this,n=new mt(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){F(e,i,"SELECT COUNT(key) as c FROM "+i.storeName,[],function(e,n){var i=n.rows.item(0).c;t(i)},function(t,e){n(e)})})}).catch(n)});return s(n,t),n}function $(t,e){var n=this,i=new mt(function(e,i){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){F(n,r,"SELECT key FROM "+r.storeName+" WHERE id = ? LIMIT 1",[t+1],function(t,n){var i=n.rows.length?n.rows.item(0).key:null;e(i)},function(t,e){i(e)})})}).catch(i)});return s(i,e),i}function Z(t){var e=this,n=new mt(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){F(e,i,"SELECT key FROM "+i.storeName,[],function(e,n){for(var i=[],r=0;r<n.rows.length;r++)i.push(n.rows.item(r).key);t(i)},function(t,e){n(e)})})}).catch(n)});return s(n,t),n}function J(t){return new mt(function(e,n){t.transaction(function(i){i.executeSql("SELECT name FROM sqlite_master WHERE type=\'table\' AND name <> \'__WebKitDatabaseInfoTable__\'",[],function(n,i){for(var r=[],s=0;s<i.rows.length;s++)r.push(i.rows.item(s).name);e({db:t,storeNames:r})},function(t,e){n(e)})},function(t){n(t)})})}function Q(t,e){e=u.apply(this,arguments);var n=this.config();t="function"!=typeof t&&t||{},t.name||(t.name=t.name||n.name,t.storeName=t.storeName||n.storeName);var i,r=this;return i=t.name?new mt(function(e){var i;i=t.name===n.name?r._dbInfo.db:openDatabase(t.name,"","",0),e(t.storeName?{db:i,storeNames:[t.storeName]}:J(i))}).then(function(t){return new mt(function(e,n){t.db.transaction(function(i){for(var r=[],s=0,o=t.storeNames.length;s<o;s++)r.push(function(t){return new mt(function(e,n){i.executeSql("DROP TABLE IF EXISTS "+t,[],function(){e()},function(t,e){n(e)})})}(t.storeNames[s]));mt.all(r).then(function(){e()}).catch(function(t){n(t)})},function(t){n(t)})})}):mt.reject("Invalid arguments"),s(i,e),i}function tt(t,e){var n=t.name+"/";return t.storeName!==e.storeName&&(n+=t.storeName+"/"),n}function et(){try{return localStorage.setItem("_localforage_support_test",!0),localStorage.removeItem("_localforage_support_test"),!1}catch(t){return!0}}function nt(){return!et()||localStorage.length>0}function it(t){var e=this,n={};if(t)for(var i in t)n[i]=t[i];return n.keyPrefix=tt(t,e._defaultConfig),nt()?(e._dbInfo=n,n.serializer=Vt,mt.resolve()):mt.reject()}function rt(t){var e=this,n=e.ready().then(function(){for(var t=e._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var i=localStorage.key(n);0===i.indexOf(t)&&localStorage.removeItem(i)}});return s(n,t),n}function st(t,e){var n=this;t=a(t);var i=n.ready().then(function(){var e=n._dbInfo,i=localStorage.getItem(e.keyPrefix+t);return i&&(i=e.serializer.deserialize(i)),i});return s(i,e),i}function ot(t,e){var n=this,i=n.ready().then(function(){for(var e=n._dbInfo,i=e.keyPrefix,r=i.length,s=localStorage.length,o=1,a=0;a<s;a++){var u=localStorage.key(a);if(0===u.indexOf(i)){var l=localStorage.getItem(u);if(l&&(l=e.serializer.deserialize(l)),void 0!==(l=t(l,u.substring(r),o++)))return l}}});return s(i,e),i}function at(t,e){var n=this,i=n.ready().then(function(){var e,i=n._dbInfo;try{e=localStorage.key(t)}catch(t){e=null}return e&&(e=e.substring(i.keyPrefix.length)),e});return s(i,e),i}function ut(t){var e=this,n=e.ready().then(function(){for(var t=e._dbInfo,n=localStorage.length,i=[],r=0;r<n;r++){var s=localStorage.key(r);0===s.indexOf(t.keyPrefix)&&i.push(s.substring(t.keyPrefix.length))}return i});return s(n,t),n}function lt(t){var e=this,n=e.keys().then(function(t){return t.length});return s(n,t),n}function ht(t,e){var n=this;t=a(t);var i=n.ready().then(function(){var e=n._dbInfo;localStorage.removeItem(e.keyPrefix+t)});return s(i,e),i}function ct(t,e,n){var i=this;t=a(t);var r=i.ready().then(function(){void 0===e&&(e=null);var n=e;return new mt(function(r,s){var o=i._dbInfo;o.serializer.serialize(e,function(e,i){if(i)s(i);else try{localStorage.setItem(o.keyPrefix+t,e),r(n)}catch(t){"QuotaExceededError"!==t.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==t.name||s(t),s(t)}})})});return s(r,n),r}function ft(t,e){if(e=u.apply(this,arguments),t="function"!=typeof t&&t||{},!t.name){var n=this.config();t.name=t.name||n.name,t.storeName=t.storeName||n.storeName}var i,r=this;return i=t.name?new mt(function(e){e(t.storeName?tt(t,r._defaultConfig):t.name+"/")}).then(function(t){for(var e=localStorage.length-1;e>=0;e--){var n=localStorage.key(e);0===n.indexOf(t)&&localStorage.removeItem(n)}}):mt.reject("Invalid arguments"),s(i,e),i}function dt(t,e){t[e]=function(){var n=arguments;return t.ready().then(function(){return t[e].apply(t,n)})}}function pt(){for(var t=1;t<arguments.length;t++){var e=arguments[t];if(e)for(var n in e)e.hasOwnProperty(n)&&(Gt(e[n])?arguments[0][n]=e[n].slice():arguments[0][n]=e[n])}return arguments[0]}var vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(t){return}}();"undefined"==typeof Promise&&t(3);var mt=Promise,yt="local-forage-detect-blob-support",bt=void 0,wt={},Et=Object.prototype.toString,kt="readonly",xt="readwrite",_t={_driver:"asyncStorage",_initStorage:N,_support:function(){try{if(!gt)return!1;var t="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),e="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!t||e)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(t){return!1}}(),iterate:C,getItem:T,setItem:O,removeItem:R,clear:I,length:A,key:L,keys:P,dropInstance:D},St="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Nt="~~local_forage_type~",Tt=/^~~local_forage_type~([^~]+)~/,Ct="__lfsc__:",Ot=Ct.length,Rt="arbf",It="blob",At="si08",Lt="ui08",Pt="uic8",Dt="si16",jt="si32",Mt="ur16",zt="ui32",Bt="fl32",qt="fl64",Ut=Ot+Rt.length,Ft=Object.prototype.toString,Vt={serialize:z,deserialize:B,stringToBuffer:j,bufferToString:M},Wt={_driver:"webSQLStorage",_initStorage:U,_support:function(){return"function"==typeof openDatabase}(),iterate:W,getItem:V,setItem:X,removeItem:Y,clear:G,length:K,key:$,keys:Z,dropInstance:Q},Ht={_driver:"localStorageWrapper",_initStorage:it,_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(t){return!1}}(),iterate:ot,getItem:st,setItem:ct,removeItem:ht,clear:rt,length:lt,key:at,keys:ut,dropInstance:ft},Xt=function(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)},Yt=function(t,e){for(var n=t.length,i=0;i<n;){if(Xt(t[i],e))return!0;i++}return!1},Gt=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},Kt={},$t={},Zt={INDEXEDDB:_t,WEBSQL:Wt,LOCALSTORAGE:Ht},Jt=[Zt.INDEXEDDB._driver,Zt.WEBSQL._driver,Zt.LOCALSTORAGE._driver],Qt=["dropInstance"],te=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Qt),ee={description:"",driver:Jt.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1},ne=function(){function t(e){i(this,t);for(var n in Zt)if(Zt.hasOwnProperty(n)){var r=Zt[n],s=r._driver;this[n]=s,Kt[s]||this.defineDriver(r)}this._defaultConfig=pt({},ee),this._config=pt({},this._defaultConfig,e),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return t.prototype.config=function(t){if("object"===(void 0===t?"undefined":vt(t))){if(this._ready)return new Error("Can\'t call config() after localforage has been used.");for(var e in t){if("storeName"===e&&(t[e]=t[e].replace(/\\W/g,"_")),"version"===e&&"number"!=typeof t[e])return new Error("Database version must be a number.");this._config[e]=t[e]}return!("driver"in t&&t.driver)||this.setDriver(this._config.driver)}return"string"==typeof t?this._config[t]:this._config},t.prototype.defineDriver=function(t,e,n){var i=new mt(function(e,n){try{var i=t._driver,r=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!t._driver)return void n(r);for(var o=te.concat("_initStorage"),a=0,u=o.length;a<u;a++){var l=o[a];if((!Yt(Qt,l)||t[l])&&"function"!=typeof t[l])return void n(r)}!function(){for(var e=0,n=Qt.length;e<n;e++){var i=Qt[e];t[i]||(t[i]=function(t){return function(){var e=new Error("Method "+t+" is not implemented by the current driver"),n=mt.reject(e);return s(n,arguments[arguments.length-1]),n}}(i))}}();var h=function(n){Kt[i]&&console.info("Redefining LocalForage driver: "+i),Kt[i]=t,$t[i]=n,e()};"_support"in t?t._support&&"function"==typeof t._support?t._support().then(h,n):h(!!t._support):h(!0)}catch(t){n(t)}});return o(i,e,n),i},t.prototype.driver=function(){return this._driver||null},t.prototype.getDriver=function(t,e,n){var i=Kt[t]?mt.resolve(Kt[t]):mt.reject(new Error("Driver not found."));return o(i,e,n),i},t.prototype.getSerializer=function(t){var e=mt.resolve(Vt);return o(e,t),e},t.prototype.ready=function(t){var e=this,n=e._driverSet.then(function(){return null===e._ready&&(e._ready=e._initDriver()),e._ready});return o(n,t,t),n},t.prototype.setDriver=function(t,e,n){function i(){a._config.driver=a.driver()}function r(t){return a._extend(t),i(),a._ready=a._initStorage(a._config),a._ready}function s(t){return function(){function e(){for(;n<t.length;){var s=t[n];return n++,a._dbInfo=null,a._ready=null,a.getDriver(s).then(r).catch(e)}i();var o=new Error("No available storage method found.");return a._driverSet=mt.reject(o),a._driverSet}var n=0;return e()}}var a=this;Gt(t)||(t=[t]);var u=this._getSupportedDrivers(t),l=null!==this._driverSet?this._driverSet.catch(function(){return mt.resolve()}):mt.resolve();return this._driverSet=l.then(function(){var t=u[0];return a._dbInfo=null,a._ready=null,a.getDriver(t).then(function(t){a._driver=t._driver,i(),a._wrapLibraryMethodsWithReady(),a._initDriver=s(u)})}).catch(function(){i();var t=new Error("No available storage method found.");return a._driverSet=mt.reject(t),a._driverSet}),o(this._driverSet,e,n),this._driverSet},t.prototype.supports=function(t){return!!$t[t]},t.prototype._extend=function(t){pt(this,t)},t.prototype._getSupportedDrivers=function(t){for(var e=[],n=0,i=t.length;n<i;n++){var r=t[n];this.supports(r)&&e.push(r)}return e},t.prototype._wrapLibraryMethodsWithReady=function(){for(var t=0,e=te.length;t<e;t++)dt(this,te[t])},t.prototype.createInstance=function(e){return new t(e)},t}(),ie=new ne;e.exports=ie},{3:3}]},{},[4])(4)})}).call(e,n(5))},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(0),o=function(){function t(e){i(this,t),this.interactive="",this.fixedLayout="",this.openToSpread="",this.orientationLock="",e&&this.parse(e)}return r(t,[{key:"parse",value:function(t){var e=this;if(!t)return this;var n=(0,s.qs)(t,"display_options");return n?((0,s.qsa)(n,"option").forEach(function(t){var n="";switch(t.childNodes.length&&(n=t.childNodes[0].nodeValue),t.attributes.name.value){case"interactive":e.interactive=n;break;case"fixed-layout":e.fixedLayout=n;break;case"open-to-spread":e.openToSpread=n;break;case"orientation-lock":e.orientationLock=n}}),this):this}},{key:"destroy",value:function(){this.interactive=void 0,this.fixedLayout=void 0,this.openToSpread=void 0,this.orientationLock=void 0}}]),t}();e.default=o,t.exports=e.default},function(t,e,n){(function(t){!function(t){var e=function(){try{return!!Symbol.iterator}catch(t){return!1}}(),n=function(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e&&(n[Symbol.iterator]=function(){return n}),n},i=function(t){return encodeURIComponent(t).replace(/%20/g,"+")},r=function(t){return decodeURIComponent(t).replace(/\\+/g," ")};"URLSearchParams"in t&&"a=1"===new URLSearchParams("?a=1").toString()||function(){var r=function(t){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var e=typeof t;if("undefined"===e);else if("string"===e)""!==t&&this._fromString(t);else if(t instanceof r){var n=this;t.forEach(function(t,e){n.append(e,t)})}else{if(null===t||"object"!==e)throw new TypeError("Unsupported input\'s type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(t))for(var i=0;i<t.length;i++){var s=t[i];if("[object Array]"!==Object.prototype.toString.call(s)&&2===s.length)throw new TypeError("Expected [string, any] as entry at index "+i+" of URLSearchParams\'s input");this.append(s[0],s[1])}else for(var o in t)t.hasOwnProperty(o)&&this.append(o,t[o])}},s=r.prototype;s.append=function(t,e){t in this._entries?this._entries[t].push(String(e)):this._entries[t]=[String(e)]},s.delete=function(t){delete this._entries[t]},s.get=function(t){return t in this._entries?this._entries[t][0]:null},s.getAll=function(t){return t in this._entries?this._entries[t].slice(0):[]},s.has=function(t){return t in this._entries},s.set=function(t,e){this._entries[t]=[String(e)]},s.forEach=function(t,e){var n;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){n=this._entries[i];for(var r=0;r<n.length;r++)t.call(e,n[r],i,this)}},s.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),n(t)},s.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),n(t)},s.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),n(t)},e&&(s[Symbol.iterator]=s.entries),s.toString=function(){var t=[];return this.forEach(function(e,n){t.push(i(n)+"="+i(e))}),t.join("&")},t.URLSearchParams=r}();var s=URLSearchParams.prototype;"function"!=typeof s.sort&&(s.sort=function(){var t=this,e=[];this.forEach(function(n,i){e.push([i,n]),t._entries||t.delete(i)}),e.sort(function(t,e){return t[0]<e[0]?-1:t[0]>e[0]?1:0}),t._entries&&(t._entries={});for(var n=0;n<e.length;n++)this.append(e[n][0],e[n][1])}),"function"!=typeof s._fromString&&Object.defineProperty(s,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(t){if(this._entries)this._entries={};else{var e=[];this.forEach(function(t,n){e.push(n)});for(var n=0;n<e.length;n++)this.delete(e[n])}t=t.replace(/^\\?/,"");for(var i,s=t.split("&"),n=0;n<s.length;n++)i=s[n].split("="),this.append(r(i[0]),i.length>1?r(i[1]):"")}})}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(t){if(function(){try{var t=new URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(t){return!1}}()||function(){var e=t.URL,n=function(e,n){"string"!=typeof e&&(e=String(e));var i,r=document;if(n&&(void 0===t.location||n!==t.location.href)){r=document.implementation.createHTMLDocument(""),i=r.createElement("base"),i.href=n,r.head.appendChild(i);try{if(0!==i.href.indexOf(n))throw new Error(i.href)}catch(t){throw new Error("URL unable to set base "+n+" due to "+t)}}var s=r.createElement("a");if(s.href=e,i&&(r.body.appendChild(s),s.href=s.href),":"===s.protocol||!/:/.test(s.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:s});var o=new URLSearchParams(this.search),a=!0,u=!0,l=this;["append","delete","set"].forEach(function(t){var e=o[t];o[t]=function(){e.apply(o,arguments),a&&(u=!1,l.search=o.toString(),u=!0)}}),Object.defineProperty(this,"searchParams",{value:o,enumerable:!0});var h=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==h&&(h=this.search,u&&(a=!1,this.searchParams._fromString(this.search),a=!0))}})},i=n.prototype,r=function(t){Object.defineProperty(i,t,{get:function(){return this._anchorElement[t]},set:function(e){this._anchorElement[t]=e},enumerable:!0})};["hash","host","hostname","port","protocol"].forEach(function(t){r(t)}),Object.defineProperty(i,"search",{get:function(){return this._anchorElement.search},set:function(t){this._anchorElement.search=t,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(i,{toString:{get:function(){var t=this;return function(){return t.href}}},href:{get:function(){return this._anchorElement.href.replace(/\\?$/,"")},set:function(t){this._anchorElement.href=t,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\\/?)/,"/")},set:function(t){this._anchorElement.pathname=t},enumerable:!0},origin:{get:function(){var t={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],e=this._anchorElement.port!=t&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(e?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(t){},enumerable:!0},username:{get:function(){return""},set:function(t){},enumerable:!0}}),n.createObjectURL=function(t){return e.createObjectURL.apply(e,arguments)},n.revokeObjectURL=function(t){return e.revokeObjectURL.apply(e,arguments)},t.URL=n}(),void 0!==t.location&&!("origin"in t.location)){var e=function(){return t.location.protocol+"//"+t.location.hostname+(t.location.port?":"+t.location.port:"")};try{Object.defineProperty(t.location,"origin",{get:e,enumerable:!0})}catch(n){setInterval(function(){t.location.origin=e()},100)}}}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(e,n(5))}])});<\/script> <script>!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.RSVP={})}(this,function(e){"use strict";function t(e){var t=e._promiseCallbacks;return t||(t=e._promiseCallbacks={}),t}function n(e,t){if(2!==arguments.length)return de[e];de[e]=t}function r(){setTimeout(function(){for(var e=0;e<fe.length;e++){var t=fe[e],n=t.payload;n.guid=n.key+n.id,n.childGuid=n.key+n.childId,n.error&&(n.stack=n.error.stack),de.trigger(t.name,t.payload)}fe.length=0},50)}function o(e,t,n){1===fe.push({name:e,payload:{key:t._guidKey,id:t._id,eventName:e,detail:t._result,childId:n&&n._id,label:t._label,timeStamp:Date.now(),error:de["instrument-with-stack"]?new Error(t._label):null}})&&r()}function i(e,t){var n=this;if(e&&"object"==typeof e&&e.constructor===n)return e;var r=new n(c,t);return y(r,e),r}function s(){return new TypeError("A promises callback cannot return that same promise.")}function a(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function c(){}function l(e){try{return e.then}catch(e){return me.error=e,me}}function u(){try{var e=ve;return ve=null,e.apply(this,arguments)}catch(e){return me.error=e,me}}function d(e){return ve=e,u}function f(e,t,n){de.async(function(e){var r=!1,o=d(n).call(t,function(n){r||(r=!0,t===n?v(e,n):y(e,n))},function(t){r||(r=!0,g(e,t))},"Settle: "+(e._label||" unknown promise"));if(!r&&o===me){r=!0;var i=me.error;me.error=null,g(e,i)}},e)}function h(e,t){t._state===pe?v(e,t._result):t._state===ye?(t._onError=null,g(e,t._result)):b(t,void 0,function(n){t===n?v(e,n):y(e,n)},function(t){return g(e,t)})}function p(e,t,n){if(t.constructor===e.constructor&&n===_&&e.constructor.resolve===i)h(e,t);else if(n===me){var r=me.error;me.error=null,g(e,r)}else"function"==typeof n?f(e,t,n):v(e,t)}function y(e,t){e===t?v(e,t):a(t)?p(e,t,l(t)):v(e,t)}function m(e){e._onError&&e._onError(e._result),E(e)}function v(e,t){e._state===he&&(e._result=t,e._state=pe,0===e._subscribers.length?de.instrument&&o("fulfilled",e):de.async(E,e))}function g(e,t){e._state===he&&(e._state=ye,e._result=t,de.async(m,e))}function b(e,t,n,r){var o=e._subscribers,i=o.length;e._onError=null,o[i]=t,o[i+pe]=n,o[i+ye]=r,0===i&&e._state&&de.async(E,e)}function E(e){var t=e._subscribers,n=e._state;if(de.instrument&&o(n===pe?"fulfilled":"rejected",e),0!==t.length){for(var r=void 0,i=void 0,s=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?w(n,r,i,s):i(s);e._subscribers.length=0}}function w(e,t,n,r){var o="function"==typeof n,i=void 0;if(i=o?d(n)(r):r,t._state!==he);else if(i===t)g(t,s());else if(i===me){var a=me.error;me.error=null,g(t,a)}else o?y(t,i):e===pe?v(t,i):e===ye&&g(t,i)}function S(e,t){var n=!1;try{t(function(t){n||(n=!0,y(e,t))},function(t){n||(n=!0,g(e,t))})}catch(t){g(e,t)}}function _(e,t,n){var r=this,i=r._state;if(i===pe&&!e||i===ye&&!t)return de.instrument&&o("chained",r,r),r;r._onError=null;var s=new r.constructor(c,n),a=r._result;if(de.instrument&&o("chained",r,s),i===he)b(r,s,e,t);else{var l=i===pe?e:t;de.async(function(){return w(i,s,l,a)})}return s}function k(e,t,n){this._remaining--,this._result[t]=e===pe?{state:"fulfilled",value:n}:{state:"rejected",reason:n}}function P(e,t){return Array.isArray(e)?new ge(this,e,!0,t).promise:this.reject(new TypeError("Promise.all must be called with an array"),t)}function C(e,t){var n=this,r=new n(c,t);if(!Array.isArray(e))return g(r,new TypeError("Promise.race must be called with an array")),r;for(var o=0;r._state===he&&o<e.length;o++)b(n.resolve(e[o]),void 0,function(e){return y(r,e)},function(e){return g(r,e)});return r}function x(e,t){var n=this,r=new n(c,t);return g(r,e),r}function B(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function U(){throw new TypeError("Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.")}function O(e,t){for(var n={},r=e.length,o=new Array(r),i=0;i<r;i++)o[i]=e[i];for(var s=0;s<t.length;s++){n[t[s]]=o[s+1]}return n}function J(e){for(var t=e.length,n=new Array(t-1),r=1;r<t;r++)n[r-1]=e[r];return n}function T(e,t){return{then:function(n,r){return e.call(t,n,r)}}}function R(e,t){var n=function(){for(var n=arguments.length,r=new Array(n+1),o=!1,i=0;i<n;++i){var s=arguments[i];if(!o){if((o=A(s))===me){var a=me.error;me.error=null;var l=new we(c);return g(l,a),l}o&&!0!==o&&(s=T(o,s))}r[i]=s}var u=new we(c);return r[n]=function(e,n){e?g(u,e):void 0===t?y(u,n):!0===t?y(u,J(arguments)):Array.isArray(t)?y(u,O(arguments,t)):y(u,n)},o?N(u,r,e,this):j(u,r,e,this)};return n.__proto__=e,n}function j(e,t,n,r){if(d(n).apply(r,t)===me){var o=me.error;me.error=null,g(e,o)}return e}function N(e,t,n,r){return we.all(t).then(function(t){return j(e,t,n,r)})}function A(e){return null!==e&&"object"==typeof e&&(e.constructor===we||l(e))}function L(e,t){return we.all(e,t)}function M(e,t){if(!e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function D(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function $(e,t){return Array.isArray(e)?new Se(we,e,t).promise:we.reject(new TypeError("Promise.allSettled must be called with an array"),t)}function F(e,t){return we.race(e,t)}function I(e,t){if(!e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function z(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function X(e,t){return we.resolve(e,t).then(function(e){if(null===e||"object"!=typeof e)throw new TypeError("Promise.hash must be called with an object");return new _e(we,e,t).promise})}function K(e,t){if(!e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function H(e,t){return we.resolve(e,t).then(function(e){if(null===e||"object"!=typeof e)throw new TypeError("hashSettled must be called with an object");return new ke(we,e,!1,t).promise})}function V(e){throw setTimeout(function(){throw e}),e}function Y(e){var t={resolve:void 0,reject:void 0};return t.promise=new we(function(e,n){t.resolve=e,t.reject=n},e),t}function G(e,t){if(!e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function W(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function Q(e,t,n){return"function"!=typeof t?we.reject(new TypeError("map expects a function as a second argument"),n):we.resolve(e,n).then(function(e){if(!Array.isArray(e))throw new TypeError("map must be called with an array");return new Pe(we,e,t,n).promise})}function Z(e,t){return we.resolve(e,t)}function ee(e,t){return we.reject(e,t)}function te(e,t){if(!e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function ne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function re(e,t,n){return"function"!=typeof t?we.reject(new TypeError("filter expects function as a second argument"),n):we.resolve(e,n).then(function(e){if(!Array.isArray(e))throw new TypeError("filter must be called with an array");return new xe(we,e,t,n).promise})}function oe(e,t){Ne[Be]=e,Ne[Be+1]=t,2===(Be+=2)&&Ae()}function ie(){return void 0!==Ue?function(){Ue(ae)}:se()}function se(){return function(){return setTimeout(ae,1)}}function ae(){for(var e=0;e<Be;e+=2){(0,Ne[e])(Ne[e+1]),Ne[e]=void 0,Ne[e+1]=void 0}Be=0}function ce(){de.on.apply(de,arguments)}function le(){de.off.apply(de,arguments)}var ue={mixin:function(e){return e.on=this.on,e.off=this.off,e.trigger=this.trigger,e._promiseCallbacks=void 0,e},on:function(e,n){if("function"!=typeof n)throw new TypeError("Callback must be a function");var r=t(this),o=r[e];o||(o=r[e]=[]),-1===o.indexOf(n)&&o.push(n)},off:function(e,n){var r=t(this);if(!n)return void(r[e]=[]);var o=r[e],i=o.indexOf(n);-1!==i&&o.splice(i,1)},trigger:function(e,n,r){var o=t(this),i=o[e];if(i)for(var s=0;s<i.length;s++)(0,i[s])(n,r)}},de={instrument:!1};ue.mixin(de);var fe=[],he=void 0,pe=1,ye=2,me={error:null},ve=void 0,ge=function(){function e(e,t,n,r){this._instanceConstructor=e,this.promise=new e(c,r),this._abortOnReject=n,this._isUsingOwnPromise=e===we,this._isUsingOwnResolve=e.resolve===i,this._init.apply(this,arguments)}return e.prototype._init=function(e,t){var n=t.length||0;this.length=n,this._remaining=n,this._result=new Array(n),this._enumerate(t)},e.prototype._enumerate=function(e){for(var t=this.length,n=this.promise,r=0;n._state===he&&r<t;r++)this._eachEntry(e[r],r,!0);this._checkFullfillment()},e.prototype._checkFullfillment=function(){if(0===this._remaining){var e=this._result;v(this.promise,e),this._result=null}},e.prototype._settleMaybeThenable=function(e,t,n){var r=this._instanceConstructor;if(this._isUsingOwnResolve){var o=l(e);if(o===_&&e._state!==he)e._onError=null,this._settledAt(e._state,t,e._result,n);else if("function"!=typeof o)this._settledAt(pe,t,e,n);else if(this._isUsingOwnPromise){var i=new r(c);p(i,e,o),this._willSettleAt(i,t,n)}else this._willSettleAt(new r(function(t){return t(e)}),t,n)}else this._willSettleAt(r.resolve(e),t,n)},e.prototype._eachEntry=function(e,t,n){null!==e&&"object"==typeof e?this._settleMaybeThenable(e,t,n):this._setResultAt(pe,t,e,n)},e.prototype._settledAt=function(e,t,n,r){var o=this.promise;o._state===he&&(this._abortOnReject&&e===ye?g(o,n):(this._setResultAt(e,t,n,r),this._checkFullfillment()))},e.prototype._setResultAt=function(e,t,n,r){this._remaining--,this._result[t]=n},e.prototype._willSettleAt=function(e,t,n){var r=this;b(e,void 0,function(e){return r._settledAt(pe,t,e,n)},function(e){return r._settledAt(ye,t,e,n)})},e}(),be="rsvp_"+Date.now()+"-",Ee=0,we=function(){function e(t,n){this._id=Ee++,this._label=n,this._state=void 0,this._result=void 0,this._subscribers=[],de.instrument&&o("created",this),c!==t&&("function"!=typeof t&&B(),this instanceof e?S(this,t):U())}return e.prototype._onError=function(e){var t=this;de.after(function(){t._onError&&de.trigger("error",e,t._label)})},e.prototype.catch=function(e,t){return this.then(void 0,e,t)},e.prototype.finally=function(e,t){var n=this,r=n.constructor;return"function"==typeof e?n.then(function(t){return r.resolve(e()).then(function(){return t})},function(t){return r.resolve(e()).then(function(){throw t})}):n.then(e,e)},e}();we.cast=i,we.all=P,we.race=C,we.resolve=i,we.reject=x,we.prototype._guidKey=be,we.prototype.then=_;var Se=function(e){function t(t,n,r){return M(this,e.call(this,t,n,!1,r))}return D(t,e),t}(ge);Se.prototype._setResultAt=k;var _e=function(e){function t(t,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments[3];return I(this,e.call(this,t,n,r,o))}return z(t,e),t.prototype._init=function(e,t){this._result={},this._enumerate(t)},t.prototype._enumerate=function(e){var t=Object.keys(e),n=t.length,r=this.promise;this._remaining=n;for(var o=void 0,i=void 0,s=0;r._state===he&&s<n;s++)o=t[s],i=e[o],this._eachEntry(i,o,!0);this._checkFullfillment()},t}(ge),ke=function(e){function t(t,n,r){return K(this,e.call(this,t,n,!1,r))}return q(t,e),t}(_e);ke.prototype._setResultAt=k;var Pe=function(e){function t(t,n,r,o){return G(this,e.call(this,t,n,!0,o,r))}return W(t,e),t.prototype._init=function(e,t,n,r,o){var i=t.length||0;this.length=i,this._remaining=i,this._result=new Array(i),this._mapFn=o,this._enumerate(t)},t.prototype._setResultAt=function(e,t,n,r){if(r){var o=d(this._mapFn)(n,t);o===me?this._settledAt(ye,t,o.error,!1):this._eachEntry(o,t,!1)}else this._remaining--,this._result[t]=n},t}(ge),Ce={},xe=function(e){function t(){return te(this,e.apply(this,arguments))}return ne(t,e),t.prototype._checkFullfillment=function(){if(0===this._remaining&&null!==this._result){var e=this._result.filter(function(e){return e!==Ce});v(this.promise,e),this._result=null}},t.prototype._setResultAt=function(e,t,n,r){if(r){this._result[t]=n;var o=d(this._mapFn)(n,t);o===me?this._settledAt(ye,t,o.error,!1):this._eachEntry(o,t,!1)}else this._remaining--,n||(this._result[t]=Ce)},t}(Pe),Be=0,Ue=void 0,Oe="undefined"!=typeof window?window:void 0,Je=Oe||{},Te=Je.MutationObserver||Je.WebKitMutationObserver,Re="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),je="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Ne=new Array(1e3),Ae=void 0;Ae=Re?function(){var e=process.nextTick,t=process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);return Array.isArray(t)&&"0"===t[1]&&"10"===t[2]&&(e=setImmediate),function(){return e(ae)}}():Te?function(){var e=0,t=new Te(ae),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){return n.data=e=++e%2}}():je?function(){var e=new MessageChannel;return e.port1.onmessage=ae,function(){return e.port2.postMessage(0)}}():void 0===Oe&&"function"==typeof require?function(){try{var e=Function("return this")().require("vertx");return Ue=e.runOnLoop||e.runOnContext,ie()}catch(e){return se()}}():se(),de.async=oe,de.after=function(e){return setTimeout(e,0)};var Le=Z,Me=function(e,t){return de.async(e,t)};if("undefined"!=typeof window&&"object"==typeof window.__PROMISE_INSTRUMENTATION__){var De=window.__PROMISE_INSTRUMENTATION__;n("instrument",!0);for(var $e in De)De.hasOwnProperty($e)&&ce($e,De[$e])}var Fe={asap:oe,cast:Le,Promise:we,EventTarget:ue,all:L,allSettled:$,race:F,hash:X,hashSettled:H,rethrow:V,defer:Y,denodeify:R,configure:n,on:ce,off:le,resolve:Z,reject:ee,map:Q,async:Me,filter:re};e.default=Fe,e.asap=oe,e.cast=Le,e.Promise=we,e.EventTarget=ue,e.all=L,e.allSettled=$,e.race=F,e.hash=X,e.hashSettled=H,e.rethrow=V,e.defer=Y,e.denodeify=R,e.configure=n,e.on=ce,e.off=le,e.resolve=Z,e.reject=ee,e.map=Q,e.async=Me,e.filter=re,Object.defineProperty(e,"__esModule",{value:!0})});var EPUBJS=EPUBJS||{};EPUBJS.core={};var ELEMENT_NODE=1,TEXT_NODE=3,COMMENT_NODE=8,DOCUMENT_NODE=9;EPUBJS.core.getEl=function(e){return document.getElementById(e)},EPUBJS.core.getEls=function(e){return document.getElementsByClassName(e)},EPUBJS.core.request=function(e,t,n){var r,o=window.URL,i=o?"blob":"arraybuffer",s=new RSVP.defer,a=new XMLHttpRequest,c=XMLHttpRequest.prototype,l=function(){var e;this.readyState==this.DONE&&(200!==this.status&&0!==this.status||!this.response?s.reject({message:this.response,stack:(new Error).stack}):(e="xml"==t?this.responseXML?this.responseXML:(new DOMParser).parseFromString(this.response,"application/xml"):"xhtml"==t?this.responseXML?this.responseXML:(new DOMParser).parseFromString(this.response,"application/xhtml+xml"):"html"==t?this.responseXML?this.responseXML:(new DOMParser).parseFromString(this.response,"text/html"):"json"==t?JSON.parse(this.response):"blob"==t?o?this.response:new Blob([this.response]):this.response,s.resolve(e)))};return"overrideMimeType"in c||Object.defineProperty(c,"overrideMimeType",{value:function(e){}}),a.onreadystatechange=l,a.open("GET",e,!0),n&&(a.withCredentials=!0),t||(r=EPUBJS.core.uri(e),t=r.extension,t={htm:"html"}[t]||t),"blob"==t&&(a.responseType=i),"json"==t&&a.setRequestHeader("Accept","application/json"),"xml"==t&&(a.responseType="document",a.overrideMimeType("text/xml")),"xhtml"==t&&(a.responseType="document"),"html"==t&&(a.responseType="document"),"binary"==t&&(a.responseType="arraybuffer"),a.send(),s.promise},EPUBJS.core.toArray=function(e){var t=[];for(var n in e){var r;e.hasOwnProperty(n)&&(r=e[n],r.ident=n,t.push(r))}return t},EPUBJS.core.uri=function(e){var t,n,r,o={protocol:"",host:"",path:"",origin:"",directory:"",base:"",filename:"",extension:"",fragment:"",href:e},i=e.indexOf("blob:"),s=e.indexOf("://"),a=e.indexOf("?"),c=e.indexOf("#");return 0===i?(o.protocol="blob",o.base=e.indexOf(0,c),o):(-1!=c&&(o.fragment=e.slice(c+1),e=e.slice(0,c)),-1!=a&&(o.search=e.slice(a+1),e=e.slice(0,a),href=o.href),-1!=s?(o.protocol=e.slice(0,s),t=e.slice(s+3),r=t.indexOf("/"),-1===r?(o.host=o.path,o.path=""):(o.host=t.slice(0,r),o.path=t.slice(r)),o.origin=o.protocol+"://"+o.host,o.directory=EPUBJS.core.folder(o.path),o.base=o.origin+o.directory):(o.path=e,o.directory=EPUBJS.core.folder(e),o.base=o.directory),o.filename=e.replace(o.base,""),n=o.filename.lastIndexOf("."),-1!=n&&(o.extension=o.filename.slice(n+1)),o)},EPUBJS.core.folder=function(e){var t=e.lastIndexOf("/");if(-1==t);return e.slice(0,t+1)},EPUBJS.core.dataURLToBlob=function(e){var t,n,r,o,i;if(-1==e.indexOf(";base64,"))return t=e.split(","),n=t[0].split(":")[1],r=t[1],new Blob([r],{type:n});t=e.split(";base64,"),n=t[0].split(":")[1],r=window.atob(t[1]),o=r.length,i=new Uint8Array(o);for(var s=0;s<o;++s)i[s]=r.charCodeAt(s);return new Blob([i],{type:n})},EPUBJS.core.addScript=function(e,t,n){var r,o;o=!1,r=document.createElement("script"),r.type="text/javascript",r.async=!1,r.src=e,r.onload=r.onreadystatechange=function(){o||this.readyState&&"complete"!=this.readyState||(o=!0,t&&t())},n=n||document.body,n.appendChild(r)},EPUBJS.core.addScripts=function(e,t,n){var r=e.length,o=0,i=function(){o++,r==o?t&&t():EPUBJS.core.addScript(e[o],i,n)};EPUBJS.core.addScript(e[o],i,n)},EPUBJS.core.addCss=function(e,t,n){var r,o;o=!1,r=document.createElement("link"),r.type="text/css",r.rel="stylesheet",r.href=e,r.onload=r.onreadystatechange=function(){o||this.readyState&&"complete"!=this.readyState||(o=!0,t&&t())},n=n||document.body,n.appendChild(r)},EPUBJS.core.prefixed=function(e){var t=["Webkit","Moz","O","ms"],n=e[0].toUpperCase()+e.slice(1),r=t.length;if(void 0!==document.documentElement.style[e])return e;for(var o=0;o<r;o++)if(void 0!==document.documentElement.style[t[o]+n])return t[o]+n;return e},EPUBJS.core.resolveUrl=function(e,t){var n,r,o=[],i=EPUBJS.core.uri(t),s=e.split("/");return i.host?t:(s.pop(),r=t.split("/"),r.forEach(function(e){".."===e?s.pop():o.push(e)}),n=s.concat(o),n.join("/"))},EPUBJS.core.uuid=function(){var e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?n:7&n|8).toString(16)})},EPUBJS.core.insert=function(e,t,n){var r=EPUBJS.core.locationOf(e,t,n);return t.splice(r,0,e),r},EPUBJS.core.locationOf=function(e,t,n,r,o){var i,s=r||0,a=o||t.length,c=parseInt(s+(a-s)/2);return n||(n=function(e,t){return e>t?1:e<t?-1:(e=t)?0:void 0}),a-s<=0?c:(i=n(t[c],e),a-s==1?i>0?c:c+1:0===i?c:-1===i?EPUBJS.core.locationOf(e,t,n,c,a):EPUBJS.core.locationOf(e,t,n,s,c))},EPUBJS.core.indexOfSorted=function(e,t,n,r,o){var i,s=r||0,a=o||t.length,c=parseInt(s+(a-s)/2);return n||(n=function(e,t){return e>t?1:e<t?-1:(e=t)?0:void 0}),a-s<=0?-1:(i=n(t[c],e),a-s==1?0===i?c:-1:0===i?c:-1===i?EPUBJS.core.indexOfSorted(e,t,n,c,a):EPUBJS.core.indexOfSorted(e,t,n,s,c))},EPUBJS.core.queue=function(e){var t=[],n=e,r=function(e,n,r){return t.push({funcName:e,args:n,context:r}),t},o=function(){var e;t.length&&(e=t.shift(),n[e.funcName].apply(e.context||n,e.args))};return{enqueue:r,dequeue:o,flush:function(){for(;t.length;)o()},clear:function(){t=[]},length:function(){return t.length}}},EPUBJS.core.getElementXPath=function(e){return e&&e.id?\'//*[@id="\'+e.id+\'"]\':EPUBJS.core.getElementTreeXPath(e)},EPUBJS.core.getElementTreeXPath=function(e){var t,n,r,o,i=[],s="http://www.w3.org/1999/xhtml"===e.ownerDocument.documentElement.getAttribute("xmlns");for(e.nodeType===Node.TEXT_NODE&&(t=EPUBJS.core.indexOfTextNode(e)+1,i.push("text()["+t+"]"),e=e.parentNode);e&&1==e.nodeType;e=e.parentNode){t=0;for(var a=e.previousSibling;a;a=a.previousSibling)a.nodeType!=Node.DOCUMENT_TYPE_NODE&&a.nodeName==e.nodeName&&++t;n=e.nodeName.toLowerCase(),r=s?"xhtml:"+n:n,o=t?"["+(t+1)+"]":"",i.splice(0,0,r+o)}return i.length?"./"+i.join("/"):null},EPUBJS.core.nsResolver=function(e){return{xhtml:"http://www.w3.org/1999/xhtml",epub:"http://www.idpf.org/2007/ops"}[e]||null},EPUBJS.core.cleanStringForXpath=function(e){var t=e.match(/[^\'"]+|[\'"]/g);return t=t.map(function(e){return"\'"===e?\'"\\\'"\':\'"\'===e?"\'\\"\'":"\'"+e+"\'"}),"concat(\'\',"+t.join(",")+")"},EPUBJS.core.indexOfTextNode=function(e){for(var t,n=e.parentNode,r=n.childNodes,o=-1,i=0;i<r.length&&(t=r[i],t.nodeType===Node.TEXT_NODE&&o++,t!=e);i++);return o},EPUBJS.core.defaults=function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t];for(var o in r)void 0===e[o]&&(e[o]=r[o])}return e},EPUBJS.core.extend=function(e){return[].slice.call(arguments,1).forEach(function(t){t&&Object.getOwnPropertyNames(t).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}),e},EPUBJS.core.clone=function(e){return EPUBJS.core.isArray(e)?e.slice():EPUBJS.core.extend({},e)},EPUBJS.core.isElement=function(e){return!(!e||1!=e.nodeType)},EPUBJS.core.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},EPUBJS.core.isString=function(e){return"string"==typeof e||e instanceof String},EPUBJS.core.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},EPUBJS.core.values=function(e){var t,n,r,o=-1;if(!e)return[];for(t=Object.keys(e),n=t.length,r=Array(n);++o<n;)r[o]=e[t[o]];return r},EPUBJS.core.indexOfNode=function(e,t){for(var n,r=e.parentNode,o=r.childNodes,i=-1,s=0;s<o.length&&(n=o[s],n.nodeType===t&&i++,n!=e);s++);return i},EPUBJS.core.indexOfTextNode=function(e){return EPUBJS.core.indexOfNode(e,TEXT_NODE)},EPUBJS.core.indexOfElementNode=function(e){return EPUBJS.core.indexOfNode(e,ELEMENT_NODE)};var EPUBJS=EPUBJS||{};EPUBJS.reader={},EPUBJS.reader.plugins={},function(e,t){var n=(e.ePubReader,e.ePubReader=function(e,t){return new EPUBJS.Reader(e,t)});"function"==typeof define&&define.amd?define(function(){return Reader}):"undefined"!=typeof module&&module.exports&&(module.exports=n)}(window,jQuery),EPUBJS.Reader=function(e,t){var n,r,o,i=this,s=$("#viewer"),a=window.location.search;this.settings=EPUBJS.core.defaults(t||{},{bookPath:e,restore:!1,reload:!1,bookmarks:void 0,annotations:void 0,contained:void 0,bookKey:void 0,styles:void 0,sidebarReflow:!1,generatePagination:!1,history:!0}),a&&(o=a.slice(1).split("&"),o.forEach(function(e){var t=e.split("="),n=t[0],r=t[1]||"";i.settings[n]=decodeURIComponent(r)})),this.setBookKey(this.settings.bookPath),this.settings.restore&&this.isSaved()&&this.applySavedSettings(),this.settings.styles=this.settings.styles||{fontSize:"100%"},this.book=n=new ePub(this.settings.bookPath,this.settings),this.offline=!1,this.sidebarOpen=!1,this.settings.bookmarks||(this.settings.bookmarks=[]),this.settings.annotations||(this.settings.annotations=[]),this.settings.generatePagination&&n.generatePagination(s.width(),s.height()),this.rendition=n.renderTo("viewer",{ignoreClass:"annotator-hl",width:"100%",height:"100%"}),this.settings.previousLocationCfi?this.displayed=this.rendition.display(this.settings.previousLocationCfi):this.displayed=this.rendition.display(),n.ready.then(function(){i.ReaderController=EPUBJS.reader.ReaderController.call(i,n),i.SettingsController=EPUBJS.reader.SettingsController.call(i,n),i.ControlsController=EPUBJS.reader.ControlsController.call(i,n),i.SidebarController=EPUBJS.reader.SidebarController.call(i,n),i.BookmarksController=EPUBJS.reader.BookmarksController.call(i,n),i.NotesController=EPUBJS.reader.NotesController.call(i,n),window.addEventListener("hashchange",this.hashChanged.bind(this),!1),document.addEventListener("keydown",this.adjustFontSize.bind(this),!1),this.rendition.on("keydown",this.adjustFontSize.bind(this)),this.rendition.on("keydown",i.ReaderController.arrowKeys.bind(this)),this.rendition.on("selected",this.selectedRange.bind(this))}.bind(this)).then(function(){i.ReaderController.hideLoader()}.bind(this));for(r in EPUBJS.reader.plugins)EPUBJS.reader.plugins.hasOwnProperty(r)&&(i[r]=EPUBJS.reader.plugins[r].call(i,n));return n.loaded.metadata.then(function(e){i.MetaController=EPUBJS.reader.MetaController.call(i,e)}),n.loaded.navigation.then(function(e){i.TocController=EPUBJS.reader.TocController.call(i,e)}),window.addEventListener("beforeunload",this.unload.bind(this),!1),this},EPUBJS.Reader.prototype.adjustFontSize=function(e){var t,n=e.ctrlKey||e.metaKey;this.settings.styles&&(this.settings.styles.fontSize||(this.settings.styles.fontSize="100%"),t=parseInt(this.settings.styles.fontSize.slice(0,-1)),n&&187==e.keyCode&&(e.preventDefault(),this.book.setStyle("fontSize",t+2+"%")),n&&189==e.keyCode&&(e.preventDefault(),this.book.setStyle("fontSize",t-2+"%")),n&&48==e.keyCode&&(e.preventDefault(),this.book.setStyle("fontSize","100%")))},EPUBJS.Reader.prototype.addBookmark=function(e){this.isBookmarked(e)>-1||(this.settings.bookmarks.push(e),this.trigger("reader:bookmarked",e))},EPUBJS.Reader.prototype.removeBookmark=function(e){var t=this.isBookmarked(e);-1!==t&&(this.settings.bookmarks.splice(t,1),this.trigger("reader:unbookmarked",t))},EPUBJS.Reader.prototype.isBookmarked=function(e){return this.settings.bookmarks.indexOf(e)},EPUBJS.Reader.prototype.clearBookmarks=function(){this.settings.bookmarks=[]},EPUBJS.Reader.prototype.addNote=function(e){this.settings.annotations.push(e)},EPUBJS.Reader.prototype.removeNote=function(e){var t=this.settings.annotations.indexOf(e);-1!==t&&delete this.settings.annotations[t]},EPUBJS.Reader.prototype.clearNotes=function(){this.settings.annotations=[]},EPUBJS.Reader.prototype.setBookKey=function(e){return this.settings.bookKey||(this.settings.bookKey="epubjsreader:"+EPUBJS.VERSION+":"+window.location.host+":"+e),this.settings.bookKey},EPUBJS.Reader.prototype.isSaved=function(e){return!!localStorage&&null!==localStorage.getItem(this.settings.bookKey)},EPUBJS.Reader.prototype.removeSavedSettings=function(){if(!localStorage)return!1;localStorage.removeItem(this.settings.bookKey)},EPUBJS.Reader.prototype.applySavedSettings=function(){var e;if(!localStorage)return!1;try{e=JSON.parse(localStorage.getItem(this.settings.bookKey))}catch(e){return!1}return!!e&&(e.styles&&(this.settings.styles=EPUBJS.core.defaults(this.settings.styles||{},e.styles)),this.settings=EPUBJS.core.defaults(this.settings,e),!0)},EPUBJS.Reader.prototype.saveSettings=function(){if(this.book&&(this.settings.previousLocationCfi=this.rendition.currentLocation().start.cfi),!localStorage)return!1;localStorage.setItem(this.settings.bookKey,JSON.stringify(this.settings))},EPUBJS.Reader.prototype.unload=function(){this.settings.restore&&localStorage&&this.saveSettings()},EPUBJS.Reader.prototype.hashChanged=function(){var e=window.location.hash.slice(1);this.rendition.display(e)},EPUBJS.Reader.prototype.selectedRange=function(e){var t="#"+e;this.settings.history&&window.location.hash!=t&&(history.pushState({},"",t),this.currentLocationCfi=e)},RSVP.EventTarget.mixin(EPUBJS.Reader.prototype),EPUBJS.reader.BookmarksController=function(){var e=this.book,t=this.rendition,n=$("#bookmarksView"),r=n.find("#bookmarks"),o=document.createDocumentFragment(),i=function(){n.show()},s=function(){n.hide()},a=0,c=function(n){var r=document.createElement("li"),o=document.createElement("a");r.id="bookmark-"+a,r.classList.add("list_item");var i,s=e.spine.get(n);return s.index in e.navigation.toc?(i=e.navigation.toc[s.index],o.textContent=i.label):o.textContent=n,o.href=n,o.classList.add("bookmark_link"),o.addEventListener("click",function(e){var n=this.getAttribute("href");t.display(n),e.preventDefault()},!1),r.appendChild(o),a++,r};return this.settings.bookmarks.forEach(function(e){var t=c(e);o.appendChild(t)}),r.append(o),this.on("reader:bookmarked",function(e){var t=c(e);r.append(t)}),this.on("reader:unbookmarked",function(e){$("#bookmark-"+e).remove()}),{show:i,hide:s}},EPUBJS.reader.ControlsController=function(e){var t=this,n=this.rendition,r=($("#store"),$("#fullscreen")),o=($("#fullscreenicon"),$("#cancelfullscreenicon"),$("#slider")),i=($("#main"),$("#sidebar"),$("#setting")),s=$("#bookmark");return o.on("click",function(){t.sidebarOpen?(t.SidebarController.hide(),o.addClass("icon-menu"),o.removeClass("icon-right")):(t.SidebarController.show(),o.addClass("icon-right"),o.removeClass("icon-menu"))}),"undefined"!=typeof screenfull&&(r.on("click",function(){screenfull.toggle($("#container")[0])}),screenfull.raw&&document.addEventListener(screenfull.raw.fullscreenchange,function(){fullscreen=screenfull.isFullscreen,fullscreen?r.addClass("icon-resize-small").removeClass("icon-resize-full"):r.addClass("icon-resize-full").removeClass("icon-resize-small")})),i.on("click",function(){t.SettingsController.show()}),s.on("click",function(){var e=t.rendition.currentLocation().start.cfi;-1===t.isBookmarked(e)?(t.addBookmark(e),s.addClass("icon-bookmark").removeClass("icon-bookmark-empty")):(t.removeBookmark(e),s.removeClass("icon-bookmark").addClass("icon-bookmark-empty"))}),n.on("relocated",function(e){var n=e.start.cfi,r="#"+n;-1===t.isBookmarked(n)?s.removeClass("icon-bookmark").addClass("icon-bookmark-empty"):s.addClass("icon-bookmark").removeClass("icon-bookmark-empty"),t.currentLocationCfi=n,t.settings.history&&window.location.hash!=r&&history.pushState({},"",r)}),{}},EPUBJS.reader.MetaController=function(e){var t=e.title,n=e.creator,r=$("#book-title"),o=$("#chapter-title"),i=$("#title-seperator");document.title=t+" – "+n,r.html(t),o.html(n),i.show()},EPUBJS.reader.NotesController=function(){var e=this.book,t=this.rendition,n=this,r=$("#notesView"),o=$("#notes"),i=$("#note-text"),s=$("#note-anchor"),a=n.settings.annotations,c=e.renderer,l=[],u=new ePub.CFI,d=function(){r.show()},f=function(){r.hide()},h=function(r){var o,a,c,l,d,f=e.renderer.doc;if(f.caretPositionFromPoint?(o=f.caretPositionFromPoint(r.clientX,r.clientY),a=o.offsetNode,c=o.offset):f.caretRangeFromPoint&&(o=f.caretRangeFromPoint(r.clientX,r.clientY),a=o.startContainer,c=o.startOffset),3!==a.nodeType)for(var m=0;m<a.childNodes.length;m++)if(3==a.childNodes[m].nodeType){a=a.childNodes[m];break}c=a.textContent.indexOf(".",c),-1===c?c=a.length:c+=1,l=u.generateCfiFromTextNode(a,c,e.renderer.currentChapter.cfiBase),d={annotatedAt:new Date,anchor:l,body:i.val()},n.addNote(d),p(d),y(d),i.val(""),s.text("Attach"),i.prop("disabled",!1),t.off("click",h)},p=function(e){var n=document.createElement("li"),r=document.createElement("a");n.innerHTML=e.body,r.innerHTML=" context &#187;",r.href="#"+e.anchor,r.onclick=function(){return t.display(e.anchor),!1},n.appendChild(r),o.append(n)},y=function(t){var n=e.renderer.doc,r=document.createElement("span"),o=document.createElement("a");r.classList.add("footnotesuperscript","reader_generated"),r.style.verticalAlign="super",r.style.fontSize=".75em",r.style.lineHeight="1em",o.style.padding="2px",o.style.backgroundColor="#fffa96",\no.style.borderRadius="5px",o.style.cursor="pointer",r.id="note-"+EPUBJS.core.uuid(),o.innerHTML=a.indexOf(t)+1+"[Reader]",r.appendChild(o),u.addMarker(t.anchor,n,r),m(r,t.body)},m=function(e,r){var o=e.id,i=function(){var n,i,d,f,h=c.height,p=c.width,y=225;l[o]||(l[o]=document.createElement("div"),l[o].setAttribute("class","popup"),pop_content=document.createElement("div"),l[o].appendChild(pop_content),pop_content.innerHTML=r,pop_content.setAttribute("class","pop_content"),c.render.document.body.appendChild(l[o]),l[o].addEventListener("mouseover",s,!1),l[o].addEventListener("mouseout",a,!1),t.on("locationChanged",u,this),t.on("locationChanged",a,this)),n=l[o],i=e.getBoundingClientRect(),d=i.left,f=i.top,n.classList.add("show"),popRect=n.getBoundingClientRect(),n.style.left=d-popRect.width/2+"px",n.style.top=f+"px",y>h/2.5&&(y=h/2.5,pop_content.style.maxHeight=y+"px"),popRect.height+f>=h-25?(n.style.top=f-popRect.height+"px",n.classList.add("above")):n.classList.remove("above"),d-popRect.width<=0?(n.style.left=d+"px",n.classList.add("left")):n.classList.remove("left"),d+popRect.width/2>=p?(n.style.left=d-300+"px",popRect=n.getBoundingClientRect(),n.style.left=d-popRect.width+"px",popRect.height+f>=h-25?(n.style.top=f-popRect.height+"px",n.classList.add("above")):n.classList.remove("above"),n.classList.add("right")):n.classList.remove("right")},s=function(){l[o].classList.add("on")},a=function(){l[o].classList.remove("on")},u=function(){setTimeout(function(){l[o].classList.remove("show")},100)},f=function(){n.ReaderController.slideOut(),d()};e.addEventListener("mouseover",i,!1),e.addEventListener("mouseout",u,!1),e.addEventListener("click",f,!1)};return s.on("click",function(e){s.text("Cancel"),i.prop("disabled","true"),t.on("click",h)}),a.forEach(function(e){p(e)}),{show:d,hide:f}},EPUBJS.reader.ReaderController=function(e){var t=$("#main"),n=$("#divider"),r=$("#loader"),o=$("#next"),i=$("#prev"),s=this,e=this.book,a=this.rendition,c=function(){a.currentLocation().start.cfi;s.settings.sidebarReflow?(t.removeClass("single"),t.one("transitionend",function(){a.resize()})):t.removeClass("closed")},l=function(){var e=a.currentLocation();if(e){e.start.cfi;s.settings.sidebarReflow?(t.addClass("single"),t.one("transitionend",function(){a.resize()})):t.addClass("closed")}},u=function(){r.show(),h()},d=function(){r.hide()},f=function(){n.addClass("show")},h=function(){n.removeClass("show")},p=!1,y=function(t){37==t.keyCode&&("rtl"===e.package.metadata.direction?a.next():a.prev(),i.addClass("active"),p=!0,setTimeout(function(){p=!1,i.removeClass("active")},100),t.preventDefault()),39==t.keyCode&&("rtl"===e.package.metadata.direction?a.prev():a.next(),o.addClass("active"),p=!0,setTimeout(function(){p=!1,o.removeClass("active")},100),t.preventDefault())};return document.addEventListener("keydown",y,!1),o.on("click",function(t){"rtl"===e.package.metadata.direction?a.prev():a.next(),t.preventDefault()}),i.on("click",function(t){"rtl"===e.package.metadata.direction?a.next():a.prev(),t.preventDefault()}),a.on("layout",function(e){!0===e.spread?f():h()}),a.on("relocated",function(e){e.atStart&&i.addClass("disabled"),e.atEnd&&o.addClass("disabled")}),{slideOut:l,slideIn:c,showLoader:u,hideLoader:d,showDivider:f,hideDivider:h,arrowKeys:y}},EPUBJS.reader.SettingsController=function(){var e=(this.book,this),t=$("#settings-modal"),n=$(".overlay"),r=function(){t.addClass("md-show")},o=function(){t.removeClass("md-show")};return $("#sidebarReflow").on("click",function(){e.settings.sidebarReflow=!e.settings.sidebarReflow}),t.find(".closer").on("click",function(){o()}),n.on("click",function(){o()}),{show:r,hide:o}},EPUBJS.reader.SidebarController=function(e){var t=this,n=$("#sidebar"),r=$("#panels"),o="Toc",i=function(e){var n=e+"Controller";o!=e&&void 0!==t[n]&&(t[o+"Controller"].hide(),t[n].show(),o=e,r.find(".active").removeClass("active"),r.find("#show-"+e).addClass("active"))},s=function(){return o},a=function(){t.sidebarOpen=!0,t.ReaderController.slideOut(),n.addClass("open")},c=function(){t.sidebarOpen=!1,t.ReaderController.slideIn(),n.removeClass("open")};return r.find(".show_view").on("click",function(e){var t=$(this).data("view");i(t),e.preventDefault()}),{show:a,hide:c,getActivePanel:s,changePanelTo:i}},EPUBJS.reader.TocController=function(e){var t=(this.book,this.rendition),n=$("#tocView"),r=document.createDocumentFragment(),o=function(e,t){var n=document.createElement("ul");return t||(t=1),e.forEach(function(e){var r=document.createElement("li"),i=document.createElement("a");toggle=document.createElement("a");var s;r.id="toc-"+e.id,r.classList.add("list_item"),i.textContent=e.label,i.href=e.href,i.classList.add("toc_link"),r.appendChild(i),e.subitems&&e.subitems.length>0&&(t++,s=o(e.subitems,t),toggle.classList.add("toc_toggle"),r.insertBefore(toggle,i),r.appendChild(s)),n.appendChild(r)}),n},i=function(){n.show()},s=function(){n.hide()},a=function(e){var t=e.id,r=n.find("#toc-"+t),o=n.find(".currentChapter");n.find(".openChapter");r.length&&(r!=o&&r.has(!1).length>0&&o.removeClass("currentChapter"),r.addClass("currentChapter"),r.parents("li").addClass("openChapter"))};t.on("renderered",a);var c=o(e);return r.appendChild(c),n.append(r),n.find(".toc_link").on("click",function(e){var r=this.getAttribute("href");e.preventDefault(),t.display(r),n.find(".currentChapter").addClass("openChapter").removeClass("currentChapter"),$(this).parent("li").addClass("currentChapter")}),n.find(".toc_toggle").on("click",function(e){var t=$(this).parent("li"),n=t.hasClass("openChapter");e.preventDefault(),n?t.removeClass("openChapter"):t.addClass("openChapter")}),{show:i,hide:s}};<\/script> </head> <body> <div id="sidebar"> <div id="panels"> <a id="show-Toc" class="show_view icon-list-1 active" data-view="Toc">TOC</a> <a id="show-Bookmarks" class="show_view icon-bookmark" data-view="Bookmarks">Bookmarks</a> </div> <div id="tocView" class="view"></div> <div id="searchView" class="view"> <ul id="searchResults"></ul> </div> <div id="bookmarksView" class="view"> <ul id="bookmarks"></ul> </div> <div id="notesView" class="view"> <div id="new-note"> <textarea id="note-text"></textarea> <button id="note-anchor">Anchor</button> </div> <ol id="notes"></ol> </div> </div> <div id="main"> <div id="titlebar"> <div id="opener"> <a id="slider" class="icon-menu">Menu</a> </div> <div id="metainfo"> <span id="book-title"></span> <span id="title-seperator">&nbsp;&nbsp;–&nbsp;&nbsp;</span> <span id="chapter-title"></span> </div> <div id="title-controls"> <a id="bookmark" class="icon-bookmark-empty">Bookmark</a> <a id="setting" class="icon-cog">Settings</a> <a id="fullscreen" class="icon-resize-full">Fullscreen</a> </div> </div> <div id="divider"></div> <div id="prev" class="arrow">‹</div> <div id="viewer"></div> <div id="next" class="arrow">›</div> <div id="loader"><img src="data:image/gif;base64,R0lGODlhQgBCAPMAAP///2tra5aWlrGxserq6sfHx/r6+nt7e9vb2wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAQgBCAAAE/xDISau9VBzMu/8VcRTWsVXFYYBsS4knZZYH4d6gYdpyLMErnBAwGFg0pF5lcBBYCMEhR3dAoJqVWWZUMRB4Uk5KEAUAlRMqGOCFhjsGjbFnnWgliLukXX5b8jUUTEkSWBNMc3tffVIEA4xyFAgCdRiTlWxfFl6MH0xkITthfF1fayxxTaeDo5oUbW44qaBpCJ0tBrmvprc5GgKnfqWLb7O9xQQIscUamMJpxC4pBYxezxi6w8ESKU3O1y5eyts/Gqrg4cnKx3jmj+gebevsaQXN8HDJyy3J9OCc+AKycCVQWLZfAwqQK5hPXR17v5oMWMhQEYKLFwmaQTDgl5OKHP8cQjlGQCHIKftOqlzJsqVLPwJiNokZ86UkjDg5emxyIJHNnDhtCh1KtGjFkt9WAgx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bhm0tA3jjohL0yoAtcPQN008YQQFnyKraWgzRGxQ0UnLmKbRCg7JiC0ZlA+qCOgtmG0dJGKMcFgQ52FKo10JWiPCADYQzomMDs7SszlcomBawWm3w15KSPKa8GIJsCZRdIj4cWN9D2aNvX6RhFJfawFsaMtFcI39Lw5O3OAlYwepD9GuUkzGNDf8W+ZvgefWeBEn8AGDUbQuhcRGAfxtnD3DoRAAAh+QQJCgAAACwAAAAAQgBCAAAE/xDISau9lBDMu/8VcRSWZhmEAa4shRxHuVVI2t6gAc+TSaE2nBAwGFgEoxBPApQNPbokpXAQKEMI1a/29FAPWokInFkCwwDgsnuCkSgwREY+QdF7NTTb8joskUY9SxpmBFl7EggDawCAGQd3FyhohoyTOANVen2MLXZ6BghcNwZIZBSZgUOGoJV6KwSmaAYFr54Gs6KHQ6VVnYhMrmxRAraIoaLGpEiRwEx5N5m1J83OTK92v1+Q1ry6vwAIpgLg3dS6yhPbA+nmdqJBHwaZ3OYchtA3BNP2GJf9AD0YCggMlwRTAwqUIygJXwE6BUzBEDCgGsMtoh4+NFOAXpWLHP8y1oh3YZ9FkGlIolzJsqXLlzgkwpgIcwKCAjhzPhSApCcMVTBvCtV4sqbRo0iTshFak1WHfQN6WgmaM5+EiFWqUFxIMJROnDN4UuSX1E5OMVyPGlSKaF+7bqHenogqoKi9fQ/lponIk+zFUAkVthPHc9FLwGA58K17FO9DDBH9PguoMuXjFgSi2u2SWTKvwnpx0MIZ2h/ogLQSlq5QauuW1axJpvac4/QUAW+GKGo2G3ZEwxl4ws5QZE3qzSU9R80NIHO5fUsUMX82/II4drcjFXGR8EdxgPMYoyKHCmhmoM1V9/s9iyIait6x1+mIXEjrNeKmw59SMUSR6l5UE1EjM9txN1049RUUlR771fFfUw1OEJUF38E0TzURJkLbUR31EwEAOwAAAAAAAAAAAA=="></div> </div> <div class="modal md-effect-1" id="settings-modal"> <div class="md-content"> <h3>Settings</h3> <div> <p> <input type="checkbox" id="sidebarReflow" name="sidebarReflow">Reflow text when sidebars are open. </p> </div> <div class="closer icon-cancel-circled"></div> </div> </div> <div class="overlay"></div> </body> </html> \n',Ga={async mounted(){const t=atob(this.$route.query.urlBase64),e=this.$refs.container;e.srcdoc=Ha,e.onload=()=>{const n=e.contentWindow;localStorage.token&&(n.XMLHttpRequest.prototype._send=n.XMLHttpRequest.prototype.send,n.XMLHttpRequest.prototype.send=function(...t){return this.setRequestHeader("Authorization","Basic "+localStorage.token),this._send(...t)}),n.reader=n.ePubReader(t),n.history.pushState=()=>{},e.focus()}}},Va=Ga,qa=(n("ce1c"),Ae("flex")),$a=Ae("layout"),Ja=p(Va,Ya,Wa,!1,null,"15383c96",null),Za=Ja.exports;g()(Ja,{VContainer:ge,VFlex:qa,VLayout:$a});var Ka=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-container",{attrs:{fluid:""}},[n("v-row",{attrs:{justify:"center"}},[n("v-col",{attrs:{md:"8"}},[n("video",{ref:"video",attrs:{controls:""}},[n("source",{ref:"source"}),n("track",{ref:"track",attrs:{label:"Unknown",kind:"subtitles",srclang:"en",default:""}})])])],1)],1)},Xa=[];const tl={mp4:"video/mp4"};function el(t){const e=new AbortController;return c.get(t,{signal:e.signal}).then(t=>(e.abort(),200===t.status)).catch(()=>!1)}const nl=t=>"WEBVTT FILE\r\n\r\n"+t.replace(/\{\\([ibu])\}/g,"</$1>").replace(/\{\\([ibu])1\}/g,"<$1>").replace(/\{([ibu])\}/g,"<$1>").replace(/\{\/([ibu])\}/g,"</$1>").replace(/(\d\d:\d\d:\d\d),(\d\d\d)/g,"$1.$2").concat("\r\n\r\n");var il={async mounted(){const{video:t,source:e,track:n}=this.$refs,i=new URL(atob(this.$route.query.urlBase64)),r=i.pathname.split("."),s=r.slice(0,-1).join("."),o=r.slice(-1)[0].toLowerCase();e.type=tl[o],e.src=i.href;const a=new URL(i);a.pathname=s+".srt";const l=await el(a);if(l){const e=await c.get(a).text(),i=new Blob([nl(e)],{type:"text/vtt"});n.src=URL.createObjectURL(i),t.textTracks[0].mode="show"}t.play()},beforeDestroy(){const{video:t}=this.$refs;t&&t.stop&&t.stop()}},rl=il,sl=(n("5b60"),p(rl,Ka,Xa,!1,null,"9f817dd4",null)),ol=sl.exports;g()(sl,{VCol:pe,VContainer:ge,VRow:Ze});var al=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-container",{staticClass:"pt-0 pb-0",attrs:{fluid:"","fill-height":""}},[n("v-layout",{attrs:{row:"",wrap:""}},[n("v-flex",{attrs:{"d-flex":""}},[n("object",{attrs:{data:t.url,type:"application/pdf",name:"test.pdf"}},[n("embed",{attrs:{src:t.url,type:"application/pdf"}})])])],1)],1)},ll=[],cl={computed:{url(){return atob(this.$route.query.urlBase64)}}},ul=cl,hl=(n("3101"),p(ul,al,ll,!1,null,"2fd07efa",null)),dl=hl.exports;g()(hl,{VContainer:ge,VFlex:qa,VLayout:$a}),r["default"].use(Cs);const fl=new Cs({routes:[{path:"/~viewer/epub",component:Za},{path:"/~viewer/video",component:ol},{path:"/~viewer/pdf",component:dl},{path:"/:path(.*)",component:za}],mode:"history"});var pl=fl;n("41e6");function Al(t,e={}){if(Al.installed)return;Al.installed=!0,r["default"]!==t&&w("Multiple instances of Vue detected\nSee https://github.com/vuetifyjs/vuetify/issues/4068\n\nIf you're seeing \"$attrs is readonly\", it's caused by this");const n=e.components||{},i=e.directives||{};for(const r in i){const e=i[r];t.directive(r,e)}(function e(n){if(n){for(const i in n){const r=n[i];r&&!e(r.$_vuetify_subcomponents)&&t.component(i,r)}return!0}return!1})(n),t.$_vuetify_installed||(t.$_vuetify_installed=!0,t.mixin({beforeCreate(){const e=this.$options;e.vuetify?(e.vuetify.init(this,e.ssrContext),this.$vuetify=t.observable(e.vuetify.framework)):this.$vuetify=e.parent&&e.parent.$vuetify||this}}))}n("95ed");var gl={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:": Sorted descending. Activate to remove sorting.",sortAscending:": Sorted ascending. Activate to sort descending.",sortNone:": Not sorted. Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"}};const ml={breakpoint:{scrollBarWidth:16,thresholds:{xs:600,sm:960,md:1280,lg:1920}},icons:{iconfont:"mdi",values:{}},lang:{current:"en",locales:{en:gl},t:void 0},rtl:!1,theme:{dark:!1,default:"light",disable:!1,options:{cspNonce:void 0,customProperties:void 0,minifyTheme:void 0,themeCache:void 0},themes:{light:{primary:"#1976D2",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},dark:{primary:"#2196F3",secondary:"#424242",accent:"#FF4081",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"}}}};class vl{constructor(){this.framework={}}init(t,e){}}class yl extends vl{constructor(t,e){super();const n=tt({},ml),{userPreset:i}=e,{preset:r={},...s}=i;null!=r.preset&&b("Global presets do not support the **preset** option, it can be safely omitted"),e.preset=tt(tt(n,r),s)}}yl.property="presets";class bl extends vl{constructor(){super(...arguments),this.bar=0,this.top=0,this.left=0,this.insetFooter=0,this.right=0,this.bottom=0,this.footer=0,this.application={bar:{},top:{},left:{},insetFooter:{},right:{},bottom:{},footer:{}}}register(t,e,n){this.application[e][t]=n,this.update(e)}unregister(t,e){null!=this.application[e][t]&&(delete this.application[e][t],this.update(e))}update(t){this[t]=Object.values(this.application[t]).reduce((t,e)=>t+e,0)}}bl.property="application";class wl extends vl{constructor(t){super(),this.xs=!1,this.sm=!1,this.md=!1,this.lg=!1,this.xl=!1,this.xsOnly=!1,this.smOnly=!1,this.smAndDown=!1,this.smAndUp=!1,this.mdOnly=!1,this.mdAndDown=!1,this.mdAndUp=!1,this.lgOnly=!1,this.lgAndDown=!1,this.lgAndUp=!1,this.xlOnly=!1,this.name="",this.height=0,this.width=0,this.resizeTimeout=0;const{scrollBarWidth:e,thresholds:n}=t[wl.property];this.scrollBarWidth=e,this.thresholds=n,this.init()}init(){"undefined"!==typeof window&&(window.addEventListener("resize",this.onResize.bind(this),{passive:!0}),this.update())}onResize(){clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.update.bind(this),200)}update(){const t=this.getClientHeight(),e=this.getClientWidth(),n=e<this.thresholds.xs,i=e<this.thresholds.sm&&!n,r=e<this.thresholds.md-this.scrollBarWidth&&!(i||n),s=e<this.thresholds.lg-this.scrollBarWidth&&!(r||i||n),o=e>=this.thresholds.lg-this.scrollBarWidth;switch(this.height=t,this.width=e,this.xs=n,this.sm=i,this.md=r,this.lg=s,this.xl=o,this.xsOnly=n,this.smOnly=i,this.smAndDown=(n||i)&&!(r||s||o),this.smAndUp=!n&&(i||r||s||o),this.mdOnly=r,this.mdAndDown=(n||i||r)&&!(s||o),this.mdAndUp=!(n||i)&&(r||s||o),this.lgOnly=s,this.lgAndDown=(n||i||r||s)&&!o,this.lgAndUp=!(n||i||r)&&(s||o),this.xlOnly=o,!0){case n:this.name="xs";break;case i:this.name="sm";break;case r:this.name="md";break;case s:this.name="lg";break;default:this.name="xl";break}}getClientWidth(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientWidth,window.innerWidth||0)}getClientHeight(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}wl.property="breakpoint";const El=t=>t,xl=t=>t**2,kl=t=>t*(2-t),Cl=t=>t<.5?2*t**2:(4-2*t)*t-1,Bl=t=>t**3,Il=t=>--t**3+1,Tl=t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,Sl=t=>t**4,_l=t=>1- --t**4,Dl=t=>t<.5?8*t*t*t*t:1-8*--t*t*t*t,Ml=t=>t**5,Nl=t=>1+--t**5,Ll=t=>t<.5?16*t**5:1+16*--t**5;function Ol(t){if("number"===typeof t)return t;let e=Rl(t);if(!e)throw"string"===typeof t?new Error(`Target element "${t}" not found.`):new TypeError(`Target must be a Number/Selector/HTMLElement/VueComponent, received ${Fl(t)} instead.`);let n=0;while(e)n+=e.offsetTop,e=e.offsetParent;return n}function Ql(t){const e=Rl(t);if(e)return e;throw"string"===typeof t?new Error(`Container element "${t}" not found.`):new TypeError(`Container must be a Selector/HTMLElement/VueComponent, received ${Fl(t)} instead.`)}function Fl(t){return null==t?t:t.constructor.name}function Rl(t){return"string"===typeof t?document.querySelector(t):t&&t._isVue?t.$el:t instanceof HTMLElement?t:null}function jl(t,e={}){const n={container:document.scrollingElement||document.body||document.documentElement,duration:500,offset:0,easing:"easeInOutCubic",appOffset:!0,...e},r=Ql(n.container);if(n.appOffset&&jl.framework.application){const t=r.classList.contains("v-navigation-drawer"),e=r.classList.contains("v-navigation-drawer--clipped"),{bar:i,top:s}=jl.framework.application;n.offset+=i,t&&!e||(n.offset+=s)}const s=performance.now();let o;o="number"===typeof t?Ol(t)-n.offset:Ol(t)-Ol(r)-n.offset;const a=r.scrollTop;if(o===a)return Promise.resolve(o);const l="function"===typeof n.easing?n.easing:i[n.easing];if(!l)throw new TypeError(`Easing function "${n.easing}" not found.`);return new Promise(t=>requestAnimationFrame((function e(i){const c=i-s,u=Math.abs(n.duration?Math.min(c/n.duration,1):1);r.scrollTop=Math.floor(a+(o-a)*l(u));const h=r===document.body?document.documentElement.clientHeight:r.clientHeight;if(1===u||h+r.scrollTop===r.scrollHeight)return t(o);requestAnimationFrame(e)})))}jl.framework={},jl.init=()=>{};class Ul extends vl{constructor(){return super(),jl}}Ul.property="goTo";const Pl={complete:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",cancel:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",delete:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",clear:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",success:"M12,2C17.52,2 22,6.48 22,12C22,17.52 17.52,22 12,22C6.48,22 2,17.52 2,12C2,6.48 6.48,2 12,2M11,16.5L18,9.5L16.59,8.09L11,13.67L7.91,10.59L6.5,12L11,16.5Z",info:"M13,9H11V7H13M13,17H11V11H13M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",warning:"M11,4.5H13V15.5H11V4.5M13,17.5V19.5H11V17.5H13Z",error:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z",prev:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",next:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",checkboxOn:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",checkboxOff:"M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z",checkboxIndeterminate:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",delimiter:"M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",sort:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",expand:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",menu:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",subgroup:"M7,10L12,15L17,10H7Z",dropdown:"M7,10L12,15L17,10H7Z",radioOn:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M12,7C9.24,7 7,9.24 7,12C7,14.76 9.24,17 12,17C14.76,17 17,14.76 17,12C17,9.24 14.76,7 12,7Z",radioOff:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",edit:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",ratingEmpty:"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",ratingFull:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",ratingHalf:"M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,13.39L15.76,17.67M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",loading:"M19,8L15,12H18C18,15.31 15.31,18 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20C16.42,20 20,16.42 20,12H23M6,12C6,8.69 8.69,6 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4C7.58,4 4,7.58 4,12H1L5,16L9,12",first:"M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z",last:"M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z",unfold:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",file:"M16.5,6V17.5C16.5,19.71 14.71,21.5 12.5,21.5C10.29,21.5 8.5,19.71 8.5,17.5V5C8.5,3.62 9.62,2.5 11,2.5C12.38,2.5 13.5,3.62 13.5,5V15.5C13.5,16.05 13.05,16.5 12.5,16.5C11.95,16.5 11.5,16.05 11.5,15.5V6H10V15.5C10,16.88 11.12,18 12.5,18C13.88,18 15,16.88 15,15.5V5C15,2.79 13.21,1 11,1C8.79,1 7,2.79 7,5V17.5C7,20.54 9.46,23 12.5,23C15.54,23 18,20.54 18,17.5V6H16.5Z",plus:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",minus:"M19,13H5V11H19V13Z"};var zl=Pl;const Yl={complete:"check",cancel:"cancel",close:"close",delete:"cancel",clear:"clear",success:"check_circle",info:"info",warning:"priority_high",error:"warning",prev:"chevron_left",next:"chevron_right",checkboxOn:"check_box",checkboxOff:"check_box_outline_blank",checkboxIndeterminate:"indeterminate_check_box",delimiter:"fiber_manual_record",sort:"arrow_upward",expand:"keyboard_arrow_down",menu:"menu",subgroup:"arrow_drop_down",dropdown:"arrow_drop_down",radioOn:"radio_button_checked",radioOff:"radio_button_unchecked",edit:"edit",ratingEmpty:"star_border",ratingFull:"star",ratingHalf:"star_half",loading:"cached",first:"first_page",last:"last_page",unfold:"unfold_more",file:"attach_file",plus:"add",minus:"remove"};var Wl=Yl;const Hl={complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-exclamation",error:"mdi-alert",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sort:"mdi-arrow-up",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus"};var Gl=Hl;const Vl={complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sort:"fas fa-sort-up",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus"};var ql=Vl;const $l={complete:"fa fa-check",cancel:"fa fa-times-circle",close:"fa fa-times",delete:"fa fa-times-circle",clear:"fa fa-times-circle",success:"fa fa-check-circle",info:"fa fa-info-circle",warning:"fa fa-exclamation",error:"fa fa-exclamation-triangle",prev:"fa fa-chevron-left",next:"fa fa-chevron-right",checkboxOn:"fa fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fa fa-minus-square",delimiter:"fa fa-circle",sort:"fa fa-sort-up",expand:"fa fa-chevron-down",menu:"fa fa-bars",subgroup:"fa fa-caret-down",dropdown:"fa fa-caret-down",radioOn:"fa fa-dot-circle-o",radioOff:"fa fa-circle-o",edit:"fa fa-pencil",ratingEmpty:"fa fa-star-o",ratingFull:"fa fa-star",ratingHalf:"fa fa-star-half-o",loading:"fa fa-refresh",first:"fa fa-step-backward",last:"fa fa-step-forward",unfold:"fa fa-angle-double-down",file:"fa fa-paperclip",plus:"fa fa-plus",minus:"fa fa-minus"};var Jl=$l;function Zl(t,e){const n={};for(const i in e)n[i]={component:t,props:{icon:e[i].split(" fa-")}};return n}var Kl=Zl("font-awesome-icon",ql),Xl=Object.freeze({mdiSvg:zl,md:Wl,mdi:Gl,fa:ql,fa4:Jl,faSvg:Kl});class tc extends vl{constructor(t){super();const{iconfont:e,values:n}=t[tc.property];this.iconfont=e,this.values=tt(Xl[e],n)}}tc.property="icons";const ec="$vuetify.",nc=Symbol("Lang fallback");function ic(t,e,n=!1,i){const r=e.replace(ec,"");let s=F(t,r,nc);return s===nc&&(n?(w(`Translation key "${r}" not found in fallback`),s=e):(b(`Translation key "${r}" not found, falling back to default`),s=ic(i,e,!0,i))),s}class rc extends vl{constructor(t){super(),this.defaultLocale="en";const{current:e,locales:n,t:i}=t[rc.property];this.current=e,this.locales=n,this.translator=i||this.defaultTranslator}currentLocale(t){const e=this.locales[this.current],n=this.locales[this.defaultLocale];return ic(e,t,!1,n)}t(t,...e){return t.startsWith(ec)?this.translator(t,...e):this.replace(t,e)}defaultTranslator(t,...e){return this.replace(this.currentLocale(t),e)}replace(t,e){return t.replace(/\{(\d+)\}/g,(t,n)=>String(e[+n]))}}rc.property="lang";const sc=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],oc=t=>t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055,ac=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],lc=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function cc(t){const e=Array(3),n=oc,i=sc;for(let r=0;r<3;++r)e[r]=Math.round(255*K(n(i[r][0]*t[0]+i[r][1]*t[1]+i[r][2]*t[2])));return(e[0]<<16)+(e[1]<<8)+(e[2]<<0)}function uc(t){const e=[0,0,0],n=lc,i=ac,r=n((t>>16&255)/255),s=n((t>>8&255)/255),o=n((t>>0&255)/255);for(let a=0;a<3;++a)e[a]=i[a][0]*r+i[a][1]*s+i[a][2]*o;return e}function hc(t){let e;if("number"===typeof t)e=t;else{if("string"!==typeof t)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==t?t:t.constructor.name} instead`);{let n="#"===t[0]?t.substring(1):t;3===n.length&&(n=n.split("").map(t=>t+t).join("")),6!==n.length&&b(`'${t}' is not a valid rgb color`),e=parseInt(n,16)}}return e<0?(b(`Colors cannot be negative: '${t}'`),e=0):(e>16777215||isNaN(e))&&(b(`'${t}' is not a valid rgb color`),e=16777215),e}function dc(t){let e=t.toString(16);return e.length<6&&(e="0".repeat(6-e.length)+e),"#"+e}function fc(t){return dc(hc(t))}const pc=.20689655172413793,Ac=t=>t>pc**3?Math.cbrt(t):t/(3*pc**2)+4/29,gc=t=>t>pc?t**3:3*pc**2*(t-4/29);function mc(t){const e=Ac,n=e(t[1]);return[116*n-16,500*(e(t[0]/.95047)-n),200*(n-e(t[2]/1.08883))]}function vc(t){const e=gc,n=(t[0]+16)/116;return[.95047*e(n+t[1]/500),e(n),1.08883*e(n-t[2]/200)]}function yc(t,e=!1){const{anchor:n,...i}=t,r=Object.keys(i),s={};for(let o=0;o<r.length;++o){const n=r[o],i=t[n];null!=i&&(e?("base"===n||n.startsWith("lighten")||n.startsWith("darken"))&&(s[n]=fc(i)):s[n]="object"===typeof i?yc(i,!0):Cc(n,hc(i)))}return e||(s.anchor=n||s.base||s.primary.base),s}const bc=(t,e)=>`\n.v-application .${t} {\n  background-color: ${e} !important;\n  border-color: ${e} !important;\n}\n.v-application .${t}--text {\n  color: ${e} !important;\n  caret-color: ${e} !important;\n}`,wc=(t,e,n)=>{const[i,r]=e.split(/(\d)/,2);return`\n.v-application .${t}.${i}-${r} {\n  background-color: ${n} !important;\n  border-color: ${n} !important;\n}\n.v-application .${t}--text.text--${i}-${r} {\n  color: ${n} !important;\n  caret-color: ${n} !important;\n}`},Ec=(t,e="base")=>`--v-${t}-${e}`,xc=(t,e="base")=>`var(${Ec(t,e)})`;function kc(t,e=!1){const{anchor:n,...i}=t,r=Object.keys(i);if(!r.length)return"";let s="",o="";const a=e?xc("anchor"):n;o+=`.v-application a { color: ${a}; }`,e&&(s+=`  ${Ec("anchor")}: ${n};\n`);for(let l=0;l<r.length;++l){const n=r[l],i=t[n];o+=bc(n,e?xc(n):i.base),e&&(s+=`  ${Ec(n)}: ${i.base};\n`);const a=Object.keys(i);for(let t=0;t<a.length;++t){const r=a[t],l=i[r];"base"!==r&&(o+=wc(n,r,e?xc(n,r):l),e&&(s+=`  ${Ec(n,r)}: ${l};\n`))}}return e&&(s=`:root {\n${s}}\n\n`),s+o}function Cc(t,e){const n={base:dc(e)};for(let i=5;i>0;--i)n[`lighten${i}`]=dc(Bc(e,i));for(let i=1;i<=4;++i)n[`darken${i}`]=dc(Ic(e,i));return n}function Bc(t,e){const n=mc(uc(t));return n[0]=n[0]+10*e,cc(vc(n))}function Ic(t,e){const n=mc(uc(t));return n[0]=n[0]-10*e,cc(vc(n))}class Tc extends vl{constructor(t){super(),this.disabled=!1,this.isDark=null,this.vueInstance=null,this.vueMeta=null;const{dark:e,disable:n,options:i,themes:r}=t[Tc.property];this.dark=Boolean(e),this.defaults=this.themes=r,this.options=i,n?this.disabled=!0:this.themes={dark:this.fillVariant(r.dark,!0),light:this.fillVariant(r.light,!1)}}set css(t){this.vueMeta?this.isVueMeta23&&this.applyVueMeta23():this.checkOrCreateStyleElement()&&(this.styleEl.innerHTML=t)}set dark(t){const e=this.isDark;this.isDark=t,null!=e&&this.applyTheme()}get dark(){return Boolean(this.isDark)}applyTheme(){if(this.disabled)return this.clearCss();this.css=this.generatedStyles}clearCss(){this.css=""}init(t,e){this.disabled||(t.$meta?this.initVueMeta(t):e&&this.initSSR(e),this.initTheme())}setTheme(t,e){this.themes[t]=Object.assign(this.themes[t],e),this.applyTheme()}resetThemes(){this.themes.light=Object.assign({},this.defaults.light),this.themes.dark=Object.assign({},this.defaults.dark),this.applyTheme()}checkOrCreateStyleElement(){return this.styleEl=document.getElementById("vuetify-theme-stylesheet"),!!this.styleEl||(this.genStyleElement(),Boolean(this.styleEl))}fillVariant(t={},e){const n=this.themes[e?"dark":"light"];return Object.assign({},n,t)}genStyleElement(){if("undefined"===typeof document)return;const t=this.options||{};this.styleEl=document.createElement("style"),this.styleEl.type="text/css",this.styleEl.id="vuetify-theme-stylesheet",t.cspNonce&&this.styleEl.setAttribute("nonce",t.cspNonce),document.head.appendChild(this.styleEl)}initVueMeta(t){if(this.vueMeta=t.$meta(),this.isVueMeta23)return void t.$nextTick(()=>{this.applyVueMeta23()});const e="function"===typeof this.vueMeta.getOptions?this.vueMeta.getOptions().keyName:"metaInfo",n=t.$options[e]||{};t.$options[e]=()=>{n.style=n.style||[];const t=n.style.find(t=>"vuetify-theme-stylesheet"===t.id);return t?t.cssText=this.generatedStyles:n.style.push({cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}),n}}applyVueMeta23(){const{set:t}=this.vueMeta.addApp("vuetify");t({style:[{cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}]})}initSSR(t){const e=this.options||{},n=e.cspNonce?` nonce="${e.cspNonce}"`:"";t.head=t.head||"",t.head+=`<style type="text/css" id="vuetify-theme-stylesheet"${n}>${this.generatedStyles}</style>`}initTheme(){"undefined"!==typeof document&&(this.vueInstance&&this.vueInstance.$destroy(),this.vueInstance=new r["default"]({data:{themes:this.themes},watch:{themes:{immediate:!0,deep:!0,handler:()=>this.applyTheme()}}}))}get currentTheme(){const t=this.dark?"dark":"light";return this.themes[t]}get generatedStyles(){const t=this.parsedTheme,e=this.options||{};let n;return null!=e.themeCache&&(n=e.themeCache.get(t),null!=n)?n:(n=kc(t,e.customProperties),null!=e.minifyTheme&&(n=e.minifyTheme(n)),null!=e.themeCache&&e.themeCache.set(t,n),n)}get parsedTheme(){const t=this.currentTheme||{};return yc(t)}get isVueMeta23(){return"function"===typeof this.vueMeta.addApp}}Tc.property="theme";class Sc{constructor(t={}){this.framework={},this.installed=[],this.preset={},this.userPreset={},this.userPreset=t,this.use(yl),this.use(bl),this.use(wl),this.use(Ul),this.use(tc),this.use(rc),this.use(Tc)}init(t,e){this.installed.forEach(n=>{const i=this.framework[n];i.framework=this.framework,i.init(t,e)}),this.framework.rtl=Boolean(this.preset.rtl)}use(t){const e=t.property;this.installed.includes(e)||(this.framework[e]=new t(this.preset,this),this.installed.push(e))}}Sc.install=Al,Sc.installed=!1,Sc.version="2.2.1";
  /*!
   * vue-i18n v8.15.3 
   * (c) 2019 kazuya kawaguchi
   * Released under the MIT License.
   */
  var _c=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];function Dc(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function Mc(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}function Nc(t){return null!==t&&"object"===typeof t}var Lc=Object.prototype.toString,Oc="[object Object]";function Qc(t){return Lc.call(t)===Oc}function Fc(t){return null===t||void 0===t}function Rc(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,i=null;return 1===t.length?Nc(t[0])||Array.isArray(t[0])?i=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(Nc(t[1])||Array.isArray(t[1]))&&(i=t[1])),{locale:n,params:i}}function jc(t){return JSON.parse(JSON.stringify(t))}function Uc(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var Pc=Object.prototype.hasOwnProperty;function zc(t,e){return Pc.call(t,e)}function Yc(t){for(var e=arguments,n=Object(t),i=1;i<arguments.length;i++){var r=e[i];if(void 0!==r&&null!==r){var s=void 0;for(s in r)zc(r,s)&&(Nc(r[s])?n[s]=Yc(n[s],r[s]):n[s]=r[s])}}return n}function Wc(t,e){if(t===e)return!0;var n=Nc(t),i=Nc(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),s=Array.isArray(e);if(r&&s)return t.length===e.length&&t.every((function(t,n){return Wc(t,e[n])}));if(r||s)return!1;var o=Object.keys(t),a=Object.keys(e);return o.length===a.length&&o.every((function(n){return Wc(t[n],e[n])}))}catch(rh){return!1}}function Hc(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}var Gc={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Wu){if(t.__i18n)try{var e={};t.__i18n.forEach((function(t){e=Yc(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(rh){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Qc(t.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Wu&&(t.i18n.root=this.$root,t.i18n.formatter=this.$root.$i18n.formatter,t.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,t.i18n.formatFallbackMessages=this.$root.$i18n.formatFallbackMessages,t.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn,t.i18n.silentFallbackWarn=this.$root.$i18n.silentFallbackWarn,t.i18n.pluralizationRules=this.$root.$i18n.pluralizationRules,t.i18n.preserveDirectiveContent=this.$root.$i18n.preserveDirectiveContent),t.__i18n)try{var n={};t.__i18n.forEach((function(t){n=Yc(n,JSON.parse(t))})),t.i18n.messages=n}catch(rh){0}var i=t.i18n,r=i.sharedMessages;r&&Qc(r)&&(t.i18n.messages=Yc(t.i18n.messages,r)),this._i18n=new Wu(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Wu?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Wu&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?t.i18n instanceof Wu?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):Qc(t.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Wu?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Wu&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher),t._i18n=null}))}}},Vc={name:"i18n",functional:!0,props:{tag:{type:String},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,i=e.parent,r=e.props,s=e.slots,o=i.$i18n;if(o){var a=r.path,l=r.locale,c=r.places,u=s(),h=o.i(a,l,qc(u)||c?$c(u.default,c):u),d=r.tag||"span";return d?t(d,n,h):h}}};function qc(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function $c(t,e){var n=e?Jc(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var i=t.every(Xc);return t.reduce(i?Zc:Kc,n)}function Jc(t){return Array.isArray(t)?t.reduce(Kc,{}):Object.assign({},t)}function Zc(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function Kc(t,e,n){return t[n]=e,t}function Xc(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var tu,eu={name:"i18n-n",functional:!0,props:{tag:{type:String,default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,i=e.parent,r=e.data,s=i.$i18n;if(!s)return null;var o=null,a=null;"string"===typeof n.format?o=n.format:Nc(n.format)&&(n.format.key&&(o=n.format.key),a=Object.keys(n.format).reduce((function(t,e){var i;return _c.includes(e)?Object.assign({},t,(i={},i[e]=n.format[e],i)):t}),null));var l=n.locale||s.locale,c=s._ntp(n.value,l,o,a),u=c.map((function(t,e){var n,i=r.scopedSlots&&r.scopedSlots[t.type];return i?i((n={},n[t.type]=t.value,n.index=e,n.parts=c,n)):t.value}));return t(n.tag,{attrs:r.attrs,class:r["class"],staticClass:r.staticClass},u)}};function nu(t,e,n){su(t,n)&&au(t,e,n)}function iu(t,e,n,i){if(su(t,n)){var r=n.context.$i18n;ou(t,n)&&Wc(e.value,e.oldValue)&&Wc(t._localeMessage,r.getLocaleMessage(r.locale))||au(t,e,n)}}function ru(t,e,n,i){var r=n.context;if(r){var s=n.context.$i18n||{};e.modifiers.preserve||s.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else Dc("Vue instance does not exists in VNode context")}function su(t,e){var n=e.context;return n?!!n.$i18n||(Dc("VueI18n instance does not exists in Vue instance"),!1):(Dc("Vue instance does not exists in VNode context"),!1)}function ou(t,e){var n=e.context;return t._locale===n.$i18n.locale}function au(t,e,n){var i,r,s=e.value,o=lu(s),a=o.path,l=o.locale,c=o.args,u=o.choice;if(a||l||c)if(a){var h=n.context;t._vt=t.textContent=u?(i=h.$i18n).tc.apply(i,[a,u].concat(cu(l,c))):(r=h.$i18n).t.apply(r,[a].concat(cu(l,c))),t._locale=h.$i18n.locale,t._localeMessage=h.$i18n.getLocaleMessage(h.$i18n.locale)}else Dc("`path` is required in v-t directive");else Dc("value type not supported")}function lu(t){var e,n,i,r;return"string"===typeof t?e=t:Qc(t)&&(e=t.path,n=t.locale,i=t.args,r=t.choice),{path:e,locale:n,args:i,choice:r}}function cu(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||Qc(e))&&n.push(e),n}function uu(t){uu.installed=!0,tu=t;tu.version&&Number(tu.version.split(".")[0]);Hc(tu),tu.mixin(Gc),tu.directive("t",{bind:nu,update:iu,unbind:ru}),tu.component(Vc.name,Vc),tu.component(eu.name,eu);var e=tu.config.optionMergeStrategies;e.i18n=function(t,e){return void 0===e?t:e}}var hu=function(){this._caches=Object.create(null)};hu.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=pu(t),this._caches[t]=n),Au(n,e)};var du=/^(?:\d)+/,fu=/^(?:\w)+/;function pu(t){var e=[],n=0,i="";while(n<t.length){var r=t[n++];if("{"===r){i&&e.push({type:"text",value:i}),i="";var s="";r=t[n++];while(void 0!==r&&"}"!==r)s+=r,r=t[n++];var o="}"===r,a=du.test(s)?"list":o&&fu.test(s)?"named":"unknown";e.push({value:s,type:a})}else"%"===r?"{"!==t[n]&&(i+=r):i+=r}return i&&e.push({type:"text",value:i}),e}function Au(t,e){var n=[],i=0,r=Array.isArray(e)?"list":Nc(e)?"named":"unknown";if("unknown"===r)return n;while(i<t.length){var s=t[i];switch(s.type){case"text":n.push(s.value);break;case"list":n.push(e[parseInt(s.value,10)]);break;case"named":"named"===r&&n.push(e[s.value]);break;case"unknown":0;break}i++}return n}var gu=0,mu=1,vu=2,yu=3,bu=0,wu=1,Eu=2,xu=3,ku=4,Cu=5,Bu=6,Iu=7,Tu=8,Su=[];Su[bu]={ws:[bu],ident:[xu,gu],"[":[ku],eof:[Iu]},Su[wu]={ws:[wu],".":[Eu],"[":[ku],eof:[Iu]},Su[Eu]={ws:[Eu],ident:[xu,gu],0:[xu,gu],number:[xu,gu]},Su[xu]={ident:[xu,gu],0:[xu,gu],number:[xu,gu],ws:[wu,mu],".":[Eu,mu],"[":[ku,mu],eof:[Iu,mu]},Su[ku]={"'":[Cu,gu],'"':[Bu,gu],"[":[ku,vu],"]":[wu,yu],eof:Tu,else:[ku,gu]},Su[Cu]={"'":[ku,gu],eof:Tu,else:[Cu,gu]},Su[Bu]={'"':[ku,gu],eof:Tu,else:[Bu,gu]};var _u=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Du(t){return _u.test(t)}function Mu(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function Nu(t){if(void 0===t||null===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function Lu(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(Du(e)?Mu(e):"*"+e)}function Ou(t){var e,n,i,r,s,o,a,l=[],c=-1,u=bu,h=0,d=[];function f(){var e=t[c+1];if(u===Cu&&"'"===e||u===Bu&&'"'===e)return c++,i="\\"+e,d[gu](),!0}d[mu]=function(){void 0!==n&&(l.push(n),n=void 0)},d[gu]=function(){void 0===n?n=i:n+=i},d[vu]=function(){d[gu](),h++},d[yu]=function(){if(h>0)h--,u=ku,d[gu]();else{if(h=0,void 0===n)return!1;if(n=Lu(n),!1===n)return!1;d[mu]()}};while(null!==u)if(c++,e=t[c],"\\"!==e||!f()){if(r=Nu(e),a=Su[u],s=a[r]||a["else"]||Tu,s===Tu)return;if(u=s[0],o=d[s[1]],o&&(i=s[2],i=void 0===i?e:i,!1===o()))return;if(u===Iu)return l}}var Qu=function(){this._cache=Object.create(null)};Qu.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=Ou(t),e&&(this._cache[t]=e)),e||[]},Qu.prototype.getPathValue=function(t,e){if(!Nc(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var i=n.length,r=t,s=0;while(s<i){var o=r[n[s]];if(void 0===o)return null;r=o,s++}return r};var Fu,Ru=/<\/?[\w\s="/.':;#-\/]+>/,ju=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,Uu=/^@(?:\.([a-z]+))?:/,Pu=/[()]/g,zu={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()}},Yu=new hu,Wu=function(t){var e=this;void 0===t&&(t={}),!tu&&"undefined"!==typeof window&&window.Vue&&uu(window.Vue);var n=t.locale||"en-US",i=t.fallbackLocale||"en-US",r=t.messages||{},s=t.dateTimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Yu,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new Qu,this._dataListeners=[],this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._exist=function(t,n){return!(!t||!n)&&(!Fc(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:s,numberFormats:o})},Hu={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0}};Wu.prototype._checkLocaleMessage=function(t,e,n){var i=[],r=function(t,e,n,i){if(Qc(n))Object.keys(n).forEach((function(s){var o=n[s];Qc(o)?(i.push(s),i.push("."),r(t,e,o,i),i.pop(),i.pop()):(i.push(s),r(t,e,o,i),i.pop())}));else if(Array.isArray(n))n.forEach((function(n,s){Qc(n)?(i.push("["+s+"]"),i.push("."),r(t,e,n,i),i.pop(),i.pop()):(i.push("["+s+"]"),r(t,e,n,i),i.pop())}));else if("string"===typeof n){var s=Ru.test(n);if(s){var o="Detected HTML in message '"+n+"' of keypath '"+i.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?Dc(o):"error"===t&&Mc(o)}}};r(e,t,n,i)},Wu.prototype._initVM=function(t){var e=tu.config.silent;tu.config.silent=!0,this._vm=new tu({data:t}),tu.config.silent=e},Wu.prototype.destroyVM=function(){this._vm.$destroy()},Wu.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},Wu.prototype.unsubscribeDataChanging=function(t){Uc(this._dataListeners,t)},Wu.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=t._dataListeners.length;while(e--)tu.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},Wu.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},Hu.vm.get=function(){return this._vm},Hu.messages.get=function(){return jc(this._getMessages())},Hu.dateTimeFormats.get=function(){return jc(this._getDateTimeFormats())},Hu.numberFormats.get=function(){return jc(this._getNumberFormats())},Hu.availableLocales.get=function(){return Object.keys(this.messages).sort()},Hu.locale.get=function(){return this._vm.locale},Hu.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Hu.fallbackLocale.get=function(){return this._vm.fallbackLocale},Hu.fallbackLocale.set=function(t){this._vm.$set(this._vm,"fallbackLocale",t)},Hu.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Hu.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Hu.missing.get=function(){return this._missing},Hu.missing.set=function(t){this._missing=t},Hu.formatter.get=function(){return this._formatter},Hu.formatter.set=function(t){this._formatter=t},Hu.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Hu.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Hu.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Hu.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Hu.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Hu.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Hu.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Hu.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])}))}},Wu.prototype._getMessages=function(){return this._vm.messages},Wu.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Wu.prototype._getNumberFormats=function(){return this._vm.numberFormats},Wu.prototype._warnDefault=function(t,e,n,i,r){if(!Fc(n))return n;if(this._missing){var s=this._missing.apply(null,[t,e,i,r]);if("string"===typeof s)return s}else 0;if(this._formatFallbackMessages){var o=Rc.apply(void 0,r);return this._render(e,"string",o.params,e)}return e},Wu.prototype._isFallbackRoot=function(t){return!t&&!Fc(this._root)&&this._fallbackRoot},Wu.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Wu.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Wu.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Wu.prototype._interpolate=function(t,e,n,i,r,s,o){if(!e)return null;var a,l=this._path.getPathValue(e,n);if(Array.isArray(l)||Qc(l))return l;if(Fc(l)){if(!Qc(e))return null;if(a=e[n],"string"!==typeof a)return null}else{if("string"!==typeof l)return null;a=l}return(a.indexOf("@:")>=0||a.indexOf("@.")>=0)&&(a=this._link(t,e,a,i,"raw",s,o)),this._render(a,r,s,n)},Wu.prototype._link=function(t,e,n,i,r,s,o){var a=n,l=a.match(ju);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],h=u.match(Uu),d=h[0],f=h[1],p=u.replace(d,"").replace(Pu,"");if(o.includes(p))return a;o.push(p);var A=this._interpolate(t,e,p,i,"raw"===r?"string":r,"raw"===r?void 0:s,o);if(this._isFallbackRoot(A)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;A=g._translate(g._getMessages(),g.locale,g.fallbackLocale,p,i,r,s)}A=this._warnDefault(t,p,A,i,Array.isArray(s)?s:[s]),this._modifiers.hasOwnProperty(f)?A=this._modifiers[f](A):zu.hasOwnProperty(f)&&(A=zu[f](A)),o.pop(),a=A?a.replace(u,A):a}return a},Wu.prototype._render=function(t,e,n,i){var r=this._formatter.interpolate(t,n,i);return r||(r=Yu.interpolate(t,n,i)),"string"===e?r.join(""):r},Wu.prototype._translate=function(t,e,n,i,r,s,o){var a=this._interpolate(e,t[e],i,r,s,o,[i]);return Fc(a)?(a=this._interpolate(n,t[n],i,r,s,o,[i]),Fc(a)?null:a):a},Wu.prototype._t=function(t,e,n,i){var r,s=[],o=arguments.length-4;while(o-- >0)s[o]=arguments[o+4];if(!t)return"";var a=Rc.apply(void 0,s),l=a.locale||e,c=this._translate(n,l,this.fallbackLocale,t,i,"string",a.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(s))}return this._warnDefault(l,t,c,i,s)},Wu.prototype.t=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Wu.prototype._i=function(t,e,n,i,r){var s=this._translate(n,e,this.fallbackLocale,t,i,"raw",r);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,s,i,[r])},Wu.prototype.i=function(t,e,n){return t?("string"!==typeof e&&(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Wu.prototype._tc=function(t,e,n,i,r){var s,o=[],a=arguments.length-5;while(a-- >0)o[a]=arguments[a+5];if(!t)return"";void 0===r&&(r=1);var l={count:r,n:r},c=Rc.apply(void 0,o);return c.params=Object.assign(l,c.params),o=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((s=this)._t.apply(s,[t,e,n,i].concat(o)),r)},Wu.prototype.fetchChoice=function(t,e){if(!t&&"string"!==typeof t)return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},Wu.prototype.getChoiceIndex=function(t,e){var n=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[t,e]):n(t,e)},Wu.prototype.tc=function(t,e){var n,i=[],r=arguments.length-2;while(r-- >0)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},Wu.prototype._te=function(t,e,n){var i=[],r=arguments.length-3;while(r-- >0)i[r]=arguments[r+3];var s=Rc.apply(void 0,i).locale||e;return this._exist(n[s],t)},Wu.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Wu.prototype.getLocaleMessage=function(t){return jc(this._vm.messages[t]||{})},Wu.prototype.setLocaleMessage=function(t,e){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(t,this._warnHtmlInMessage,e),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,t,e)},Wu.prototype.mergeLocaleMessage=function(t,e){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(t,this._warnHtmlInMessage,e),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,t,Yc({},this._vm.messages[t]||{},e))},Wu.prototype.getDateTimeFormat=function(t){return jc(this._vm.dateTimeFormats[t]||{})},Wu.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e)},Wu.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,Yc(this._vm.dateTimeFormats[t]||{},e))},Wu.prototype._localizeDateTime=function(t,e,n,i,r){var s=e,o=i[s];if((Fc(o)||Fc(o[r]))&&(s=n,o=i[s]),Fc(o)||Fc(o[r]))return null;var a=o[r],l=s+"__"+r,c=this._dateTimeFormatters[l];return c||(c=this._dateTimeFormatters[l]=new Intl.DateTimeFormat(s,a)),c.format(t)},Wu.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var i=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return i||""},Wu.prototype.d=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var i=this.locale,r=null;return 1===e.length?"string"===typeof e[0]?r=e[0]:Nc(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&("string"===typeof e[0]&&(r=e[0]),"string"===typeof e[1]&&(i=e[1])),this._d(t,i,r)},Wu.prototype.getNumberFormat=function(t){return jc(this._vm.numberFormats[t]||{})},Wu.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e)},Wu.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,Yc(this._vm.numberFormats[t]||{},e))},Wu.prototype._getNumberFormatter=function(t,e,n,i,r,s){var o=e,a=i[o];if((Fc(a)||Fc(a[r]))&&(o=n,a=i[o]),Fc(a)||Fc(a[r]))return null;var l,c=a[r];if(s)l=new Intl.NumberFormat(o,Object.assign({},c,s));else{var u=o+"__"+r;l=this._numberFormatters[u],l||(l=this._numberFormatters[u]=new Intl.NumberFormat(o,c))}return l},Wu.prototype._n=function(t,e,n,i){if(!Wu.availabilities.numberFormat)return"";if(!n){var r=i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e);return r.format(t)}var s=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=s&&s.format(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},i))}return o||""},Wu.prototype.n=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var i=this.locale,r=null,s=null;return 1===e.length?"string"===typeof e[0]?r=e[0]:Nc(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key),s=Object.keys(e[0]).reduce((function(t,n){var i;return _c.includes(n)?Object.assign({},t,(i={},i[n]=e[0][n],i)):t}),null)):2===e.length&&("string"===typeof e[0]&&(r=e[0]),"string"===typeof e[1]&&(i=e[1])),this._n(t,i,r,s)},Wu.prototype._ntp=function(t,e,n,i){if(!Wu.availabilities.numberFormat)return[];if(!n){var r=i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e);return r.formatToParts(t)}var s=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=s&&s.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return o||[]},Object.defineProperties(Wu.prototype,Hu),Object.defineProperty(Wu,"availabilities",{get:function(){if(!Fu){var t="undefined"!==typeof Intl;Fu={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return Fu}}),Wu.install=uu,Wu.version="8.15.3";var Gu=Wu,Vu={fileName:"File Name",modifiedTime:"Modified Time",fileSize:"File Size",mainDrive:"Main Drive",search:"Search",fileUpload:"File Upload",urlUpload:"Upload from url",upload:"Upload",fileToUpload:"File to upload",uploading:"Uploading...",serverProcessing:"Server is processing the file now",bigFileUploadWarning:"Due to CloudFlare Workers' limitation, uploading bigfiles may randomly failed."},qu=n("aa47"),$u=n.n(qu),Ju={fileName:"檔案名稱",modifiedTime:"修改時間",fileSize:"檔案大小",mainDrive:"主要硬碟",search:"搜尋",fileUpload:"檔案上傳",urlUpload:"從網址上傳",upload:"上傳",fileToUpload:"要上傳的檔案",uploading:"上傳中...",serverProcessing:"伺服器正在處理檔案",bigFileUploadWarning:"由於 CloudFlare Workers 的限制，上傳大檔案可能會隨機失敗",$vuetify:$u.a},Zu=n("5025"),Ku=n.n(Zu),Xu={fileName:"文件名称",modifiedTime:"修改时间",fileSize:"文件大小",mainDrive:"主硬盘",search:"搜索",fileUpload:"上传文件",urlUpload:"从网址上传",upload:"上传",fileToUpload:"要上传的文件",uploading:"正在上传...",serverProcessing:"服务器正在处理文件",bigFileUploadWarning:"由于 CloudFlare Workers 的限制，上传大档案可能会随机失败",$vuetify:Ku.a};r["default"].use(Gu);var th=new Gu({locale:navigator.language,fallbackLocale:"en",messages:{en:Vu,"zh-TW":Ju,"zh-HK":Ju,"zh-CN":Xu,zh:Xu}});r["default"].use(Sc);var eh=new Sc({icons:{iconfont:"mdi"},lang:{t:(t,...e)=>th.t(t,e)}}),nh=n("2b88"),ih=n.n(nh);window.props.defaultRootId&&(window.props.default_root_id=window.props.defaultRootId),r["default"].use(ih.a),r["default"].config.productionTip=!1,window.app=new r["default"]({router:pl,vuetify:eh,i18n:th,render:t=>t(di,{props:window.props})}).$mount("#app")},5803:function(t,e,n){},"5b60":function(t,e,n){"use strict";var i=n("b62f"),r=n.n(i);r.a},"5e23":function(t,e,n){},6053:function(t,e,n){},"615b":function(t,e,n){},"61d2":function(t,e,n){},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},6459:function(t,e,n){},6544:function(t,e){t.exports=function(t,e){var n="function"===typeof t.exports?t.exports.extendOptions:t.options;for(var i in"function"===typeof t.exports&&(n.components=t.exports.options.components),n.components=n.components||{},e)n.components[i]=n.components[i]||e[i]}},"6e75":function(t,e,n){},"6ece":function(t,e,n){},7435:function(t,e,n){},"86cc":function(t,e,n){},"899c":function(t,e,n){},"8adc":function(t,e,n){},"8b0d":function(t,e,n){},"8d4f":function(t,e,n){},"8efc":function(t,e,n){},"8ff2":function(t,e,n){},"91dd":function(t,e,n){"use strict";function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,s){e=e||"&",n=n||"=";var o={};if("string"!==typeof t||0===t.length)return o;var a=/\+/g;t=t.split(e);var l=1e3;s&&"number"===typeof s.maxKeys&&(l=s.maxKeys);var c=t.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var h,d,f,p,A=t[u].replace(a,"%20"),g=A.indexOf(n);g>=0?(h=A.substr(0,g),d=A.substr(g+1)):(h=A,d=""),f=decodeURIComponent(h),p=decodeURIComponent(d),i(o,f)?r(o[f])?o[f].push(p):o[f]=[o[f],p]:o[f]=p}return o};var r=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},"94df":function(t,e,n){"use strict";const i=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],r=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],s=(t,e)=>{let n=t;return"string"===typeof e?n=t.toLocaleString(e):!0===e&&(n=t.toLocaleString()),n};t.exports=(t,e)=>{if(!Number.isFinite(t))throw new TypeError(`Expected a finite number, got ${typeof t}: ${t}`);e=Object.assign({bits:!1},e);const n=e.bits?r:i;if(e.signed&&0===t)return" 0 "+n[0];const o=t<0,a=o?"-":e.signed?"+":"";if(o&&(t=-t),t<1){const i=s(t,e.locale);return a+i+" "+n[0]}const l=Math.min(Math.floor(Math.log10(t)/3),n.length-1);t=Number((t/Math.pow(1e3,l)).toPrecision(3));const c=s(t,e.locale),u=n[l];return a+c+" "+u}},"95ed":function(t,e,n){},"9d01":function(t,e,n){},"9d88":function(t,e,n){(function(t,i){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(s){e&&e.nodeType,t&&t.nodeType;var o="object"==typeof i&&i;o.global!==o&&o.window!==o&&o.self;var a,l=2147483647,c=36,u=1,h=26,d=38,f=700,p=72,A=128,g="-",m=/^xn--/,v=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,E=Math.floor,x=String.fromCharCode;function k(t){throw new RangeError(b[t])}function C(t,e){var n=t.length,i=[];while(n--)i[n]=e(t[n]);return i}function B(t,e){var n=t.split("@"),i="";n.length>1&&(i=n[0]+"@",t=n[1]),t=t.replace(y,".");var r=t.split("."),s=C(r,e).join(".");return i+s}function I(t){var e,n,i=[],r=0,s=t.length;while(r<s)e=t.charCodeAt(r++),e>=55296&&e<=56319&&r<s?(n=t.charCodeAt(r++),56320==(64512&n)?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),r--)):i.push(e);return i}function T(t){return C(t,(function(t){var e="";return t>65535&&(t-=65536,e+=x(t>>>10&1023|55296),t=56320|1023&t),e+=x(t),e})).join("")}function S(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:c}function _(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function D(t,e,n){var i=0;for(t=n?E(t/f):t>>1,t+=E(t/e);t>w*h>>1;i+=c)t=E(t/w);return E(i+(w+1)*t/(t+d))}function M(t){var e,n,i,r,s,o,a,d,f,m,v=[],y=t.length,b=0,w=A,x=p;for(n=t.lastIndexOf(g),n<0&&(n=0),i=0;i<n;++i)t.charCodeAt(i)>=128&&k("not-basic"),v.push(t.charCodeAt(i));for(r=n>0?n+1:0;r<y;){for(s=b,o=1,a=c;;a+=c){if(r>=y&&k("invalid-input"),d=S(t.charCodeAt(r++)),(d>=c||d>E((l-b)/o))&&k("overflow"),b+=d*o,f=a<=x?u:a>=x+h?h:a-x,d<f)break;m=c-f,o>E(l/m)&&k("overflow"),o*=m}e=v.length+1,x=D(b-s,e,0==s),E(b/e)>l-w&&k("overflow"),w+=E(b/e),b%=e,v.splice(b++,0,w)}return T(v)}function N(t){var e,n,i,r,s,o,a,d,f,m,v,y,b,w,C,B=[];for(t=I(t),y=t.length,e=A,n=0,s=p,o=0;o<y;++o)v=t[o],v<128&&B.push(x(v));i=r=B.length,r&&B.push(g);while(i<y){for(a=l,o=0;o<y;++o)v=t[o],v>=e&&v<a&&(a=v);for(b=i+1,a-e>E((l-n)/b)&&k("overflow"),n+=(a-e)*b,e=a,o=0;o<y;++o)if(v=t[o],v<e&&++n>l&&k("overflow"),v==e){for(d=n,f=c;;f+=c){if(m=f<=s?u:f>=s+h?h:f-s,d<m)break;C=d-m,w=c-m,B.push(x(_(m+C%w,0))),d=E(C/w)}B.push(x(_(d,0))),s=D(n,b,i==r),n=0,++i}++n,++e}return B.join("")}function L(t){return B(t,(function(t){return m.test(t)?M(t.slice(4).toLowerCase()):t}))}function O(t){return B(t,(function(t){return v.test(t)?"xn--"+N(t):t}))}a={version:"1.4.1",ucs2:{decode:I,encode:T},decode:M,encode:N,toASCII:O,toUnicode:L},r=function(){return a}.call(e,n,e,t),void 0===r||(t.exports=r)})()}).call(this,n("62e4")(t),n("c8ba"))},aa47:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={badge:"徽章",close:"關閉",dataIterator:{noResultsText:"沒有符合條件的結果",loadingText:"讀取中..."},dataTable:{itemsPerPageText:"每頁列數：",ariaLabel:{sortDescending:"：降序排列。點擊以移除排序方式。",sortAscending:"：升序排列。點擊以降序排列。",sortNone:"無排序方式。點擊以升序排列。"},sortBy:"排序方式"},dataFooter:{itemsPerPageText:"每頁項目：",itemsPerPageAll:"全部",nextPage:"下一頁",prevPage:"上一頁",firstPage:"第一頁",lastPage:"最後頁",pageText:"{2} 條中的 {0}~{1} 條"},datePicker:{itemsSelected:"已選擇 {0}"},noDataText:"沒有資料",carousel:{prev:"上一張",next:"下一張",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"還有其他 {0} 項"},fileInput:{counter:"{0} 個檔案",counterSize:"{0} 個檔案（共 {1}）"},timePicker:{am:"AM",pm:"PM"}};e.default=i},ac37:function(t,e,n){"use strict";var i=n("b9c9"),r=n.n(i);r.a},b383:function(t,e,n){"use strict";e.decode=e.parse=n("91dd"),e.encode=e.stringify=n("e099")},b62f:function(t,e,n){},b9c9:function(t,e,n){},c82c:function(t,e,n){
  /*!
   * Viewer.js v1.5.0
   * https://fengyuanchen.github.io/viewerjs
   *
   * Copyright 2015-present Chen Fengyuan
   * Released under the MIT license
   *
   * Date: 2019-11-23T05:10:26.193Z
   */
  (function(e,n){t.exports=n()})(0,(function(){"use strict";function t(e){return t="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,zoom:null,zoomed:null},l='<div class="viewer-container" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list"></ul></div></div><div class="viewer-tooltip"></div><div role="button" class="viewer-button" data-viewer-action="mix"></div><div class="viewer-player"></div></div>',c="undefined"!==typeof window&&"undefined"!==typeof window.document,u=c?window:{},h=!!c&&"ontouchstart"in u.document.documentElement,d=!!c&&"PointerEvent"in u,f="viewer",p="move",A="switch",g="zoom",m="".concat(f,"-active"),v="".concat(f,"-close"),y="".concat(f,"-fade"),b="".concat(f,"-fixed"),w="".concat(f,"-fullscreen"),E="".concat(f,"-fullscreen-exit"),x="".concat(f,"-hide"),k="".concat(f,"-hide-md-down"),C="".concat(f,"-hide-sm-down"),B="".concat(f,"-hide-xs-down"),I="".concat(f,"-in"),T="".concat(f,"-invisible"),S="".concat(f,"-loading"),_="".concat(f,"-move"),D="".concat(f,"-open"),M="".concat(f,"-show"),N="".concat(f,"-transition"),L="click",O="dblclick",Q="dragstart",F="hidden",R="hide",j="keydown",U="load",P=h?"touchstart":"mousedown",z=h?"touchmove":"mousemove",Y=h?"touchend touchcancel":"mouseup",W=d?"pointerdown":P,H=d?"pointermove":z,G=d?"pointerup pointercancel":Y,V="ready",q="resize",$="show",J="shown",Z="transitionend",K="view",X="viewed",tt="wheel",et="zoom",nt="zoomed",it="".concat(f,"Action"),rt=/\s\s*/,st=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function ot(t){return"string"===typeof t}var at=Number.isNaN||u.isNaN;function lt(t){return"number"===typeof t&&!at(t)}function ct(t){return"undefined"===typeof t}function ut(e){return"object"===t(e)&&null!==e}var ht=Object.prototype.hasOwnProperty;function dt(t){if(!ut(t))return!1;try{var e=t.constructor,n=e.prototype;return e&&n&&ht.call(n,"isPrototypeOf")}catch(i){return!1}}function ft(t){return"function"===typeof t}function pt(t,e){if(t&&ft(e))if(Array.isArray(t)||lt(t.length)){var n,i=t.length;for(n=0;n<i;n+=1)if(!1===e.call(t,t[n],n,t))break}else ut(t)&&Object.keys(t).forEach((function(n){e.call(t,t[n],n,t)}));return t}var At=Object.assign||function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return ut(t)&&n.length>0&&n.forEach((function(e){ut(e)&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t},gt=/^(?:width|height|left|top|marginLeft|marginTop)$/;function mt(t,e){var n=t.style;pt(e,(function(t,e){gt.test(e)&&lt(t)&&(t+="px"),n[e]=t}))}function vt(t){return ot(t)?t.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):t}function yt(t,e){return!(!t||!e)&&(t.classList?t.classList.contains(e):t.className.indexOf(e)>-1)}function bt(t,e){if(t&&e)if(lt(t.length))pt(t,(function(t){bt(t,e)}));else if(t.classList)t.classList.add(e);else{var n=t.className.trim();n?n.indexOf(e)<0&&(t.className="".concat(n," ").concat(e)):t.className=e}}function wt(t,e){t&&e&&(lt(t.length)?pt(t,(function(t){wt(t,e)})):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function Et(t,e,n){e&&(lt(t.length)?pt(t,(function(t){Et(t,e,n)})):n?bt(t,e):wt(t,e))}var xt=/([a-z\d])([A-Z])/g;function kt(t){return t.replace(xt,"$1-$2").toLowerCase()}function Ct(t,e){return ut(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(kt(e)))}function Bt(t,e,n){ut(n)?t[e]=n:t.dataset?t.dataset[e]=n:t.setAttribute("data-".concat(kt(e)),n)}var It=function(){var t=!1;if(c){var e=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});u.addEventListener("test",n,i),u.removeEventListener("test",n,i)}return t}();function Tt(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;e.trim().split(rt).forEach((function(e){if(!It){var s=t.listeners;s&&s[e]&&s[e][n]&&(r=s[e][n],delete s[e][n],0===Object.keys(s[e]).length&&delete s[e],0===Object.keys(s).length&&delete t.listeners)}t.removeEventListener(e,r,i)}))}function St(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;e.trim().split(rt).forEach((function(e){if(i.once&&!It){var s=t.listeners,o=void 0===s?{}:s;r=function(){delete o[e][n],t.removeEventListener(e,r,i);for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];n.apply(t,a)},o[e]||(o[e]={}),o[e][n]&&t.removeEventListener(e,o[e][n],i),o[e][n]=r,t.listeners=o}t.addEventListener(e,r,i)}))}function _t(t,e,n){var i;return ft(Event)&&ft(CustomEvent)?i=new CustomEvent(e,{detail:n,bubbles:!0,cancelable:!0}):(i=document.createEvent("CustomEvent"),i.initCustomEvent(e,!0,!0,n)),t.dispatchEvent(i)}function Dt(t){var e=t.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}function Mt(t){var e=t.rotate,n=t.scaleX,i=t.scaleY,r=t.translateX,s=t.translateY,o=[];lt(r)&&0!==r&&o.push("translateX(".concat(r,"px)")),lt(s)&&0!==s&&o.push("translateY(".concat(s,"px)")),lt(e)&&0!==e&&o.push("rotate(".concat(e,"deg)")),lt(n)&&1!==n&&o.push("scaleX(".concat(n,")")),lt(i)&&1!==i&&o.push("scaleY(".concat(i,")"));var a=o.length?o.join(" "):"none";return{WebkitTransform:a,msTransform:a,transform:a}}function Nt(t){return ot(t)?decodeURIComponent(t.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}var Lt=u.navigator&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(u.navigator.userAgent);function Ot(t,e){var n=document.createElement("img");if(t.naturalWidth&&!Lt)return e(t.naturalWidth,t.naturalHeight),n;var i=document.body||document.documentElement;return n.onload=function(){e(n.width,n.height),Lt||i.removeChild(n)},n.src=t.src,Lt||(n.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",i.appendChild(n)),n}function Qt(t){switch(t){case 2:return B;case 3:return C;case 4:return k;default:return""}}function Ft(t){var e=o({},t),n=[];return pt(t,(function(t,i){delete e[i],pt(e,(function(e){var i=Math.abs(t.startX-e.startX),r=Math.abs(t.startY-e.startY),s=Math.abs(t.endX-e.endX),o=Math.abs(t.endY-e.endY),a=Math.sqrt(i*i+r*r),l=Math.sqrt(s*s+o*o),c=(l-a)/a;n.push(c)}))})),n.sort((function(t,e){return Math.abs(t)<Math.abs(e)})),n[0]}function Rt(t,e){var n=t.pageX,i=t.pageY,r={endX:n,endY:i};return e?r:o({timeStamp:Date.now(),startX:n,startY:i},r)}function jt(t){var e=0,n=0,i=0;return pt(t,(function(t){var r=t.startX,s=t.startY;e+=r,n+=s,i+=1})),e/=i,n/=i,{pageX:e,pageY:n}}var Ut={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var t,e=this.options,n=this.parent;e.inline&&(t={width:Math.max(n.offsetWidth,e.minWidth),height:Math.max(n.offsetHeight,e.minHeight)},this.parentData=t),!this.fulled&&t||(t=this.containerData),this.viewerData=At({},t)},renderViewer:function(){this.options.inline&&!this.fulled&&mt(this.viewer,this.viewerData)},initList:function(){var t=this,e=this.element,n=this.options,i=this.list,r=[];i.innerHTML="",pt(this.images,(function(e,s){var o=e.src,a=e.alt||Nt(o),l=n.url;if(ot(l)?l=e.getAttribute(l):ft(l)&&(l=l.call(t,e)),o||l){var c=document.createElement("li"),u=document.createElement("img");u.src=o||l,u.alt=a,u.setAttribute("data-index",s),u.setAttribute("data-original-url",l||o),u.setAttribute("data-viewer-action","view"),u.setAttribute("role","button"),c.appendChild(u),i.appendChild(c),r.push(c)}})),this.items=r,pt(r,(function(e){var i=e.firstElementChild;Bt(i,"filled",!0),n.loading&&bt(e,S),St(i,U,(function(i){n.loading&&wt(e,S),t.loadImage(i)}),{once:!0})})),n.transition&&St(e,X,(function(){bt(i,N)}),{once:!0})},renderList:function(t){var e=t||this.index,n=this.items[e].offsetWidth||30,i=n+1;mt(this.list,At({width:i*this.length},Mt({translateX:(this.viewerData.width-n)/2-i*e})))},resetList:function(){var t=this.list;t.innerHTML="",wt(t,N),mt(t,Mt({translateX:0}))},initImage:function(t){var e,n=this,i=this.options,r=this.image,s=this.viewerData,o=this.footer.offsetHeight,a=s.width,l=Math.max(s.height-o,o),c=this.imageData||{};this.imageInitializing={abort:function(){e.onload=null}},e=Ot(r,(function(e,r){var s=e/r,o=a,u=l;n.imageInitializing=!1,l*s>a?u=a/s:o=l*s,o=Math.min(.9*o,e),u=Math.min(.9*u,r);var h={naturalWidth:e,naturalHeight:r,aspectRatio:s,ratio:o/e,width:o,height:u,left:(a-o)/2,top:(l-u)/2},d=At({},h);i.rotatable&&(h.rotate=c.rotate||0,d.rotate=0),i.scalable&&(h.scaleX=c.scaleX||1,h.scaleY=c.scaleY||1,d.scaleX=1,d.scaleY=1),n.imageData=h,n.initialImageData=d,t&&t()}))},renderImage:function(t){var e=this,n=this.image,i=this.imageData;if(mt(n,At({width:i.width,height:i.height,marginLeft:i.left,marginTop:i.top},Mt(i))),t)if((this.viewing||this.zooming)&&this.options.transition){var r=function(){e.imageRendering=!1,t()};this.imageRendering={abort:function(){Tt(n,Z,r)}},St(n,Z,r,{once:!0})}else t()},resetImage:function(){if(this.viewing||this.viewed){var t=this.image;this.viewing&&this.viewing.abort(),t.parentNode.removeChild(t),this.image=null}}},Pt={bind:function(){var t=this.options,e=this.viewer,n=this.canvas,i=this.element.ownerDocument;St(e,L,this.onClick=this.click.bind(this)),St(e,Q,this.onDragStart=this.dragstart.bind(this)),St(n,W,this.onPointerDown=this.pointerdown.bind(this)),St(i,H,this.onPointerMove=this.pointermove.bind(this)),St(i,G,this.onPointerUp=this.pointerup.bind(this)),St(i,j,this.onKeyDown=this.keydown.bind(this)),St(window,q,this.onResize=this.resize.bind(this)),t.zoomable&&t.zoomOnWheel&&St(e,tt,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleOnDblclick&&St(n,O,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var t=this.options,e=this.viewer,n=this.canvas,i=this.element.ownerDocument;Tt(e,L,this.onClick),Tt(e,Q,this.onDragStart),Tt(n,W,this.onPointerDown),Tt(i,H,this.onPointerMove),Tt(i,G,this.onPointerUp),Tt(i,j,this.onKeyDown),Tt(window,q,this.onResize),t.zoomable&&t.zoomOnWheel&&Tt(e,tt,this.onWheel,{passive:!1,capture:!0}),t.toggleOnDblclick&&Tt(n,O,this.onDblclick)}},zt={click:function(t){var e=t.target,n=this.options,i=this.imageData,r=Ct(e,it);switch(h&&t.isTrusted&&e===this.canvas&&clearTimeout(this.clickCanvasTimeout),r){case"mix":this.played?this.stop():n.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.hide();break;case"view":this.view(Ct(e,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(n.loop);break;case"play":this.play(n.fullscreen);break;case"next":this.next(n.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-i.scaleX||-1);break;case"flip-vertical":this.scaleY(-i.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(t){t.preventDefault(),this.viewed&&t.target===this.image&&(h&&t.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle())},load:function(){var t=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var e=this.element,n=this.options,i=this.image,r=this.index,s=this.viewerData;wt(i,T),n.loading&&wt(this.canvas,S),i.style.cssText="height:0;"+"margin-left:".concat(s.width/2,"px;")+"margin-top:".concat(s.height/2,"px;")+"max-width:none!important;position:absolute;width:0;",this.initImage((function(){Et(i,_,n.movable),Et(i,N,n.transition),t.renderImage((function(){t.viewed=!0,t.viewing=!1,ft(n.viewed)&&St(e,X,n.viewed,{once:!0}),_t(e,X,{originalImage:t.images[r],index:r,image:i})}))}))},loadImage:function(t){var e=t.target,n=e.parentNode,i=n.offsetWidth||30,r=n.offsetHeight||50,s=!!Ct(e,"filled");Ot(e,(function(t,n){var o=t/n,a=i,l=r;r*o>i?s?a=r*o:l=i/o:s?l=i/o:a=r*o,mt(e,At({width:a,height:l},Mt({translateX:(i-a)/2,translateY:(r-l)/2})))}))},keydown:function(t){var e=this.options;if(this.fulled&&e.keyboard)switch(t.keyCode||t.which||t.charCode){case 27:this.played?this.stop():e.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.prev(e.loop);break;case 38:t.preventDefault(),this.zoom(e.zoomRatio,!0);break;case 39:this.next(e.loop);break;case 40:t.preventDefault(),this.zoom(-e.zoomRatio,!0);break;case 48:case 49:t.ctrlKey&&(t.preventDefault(),this.toggle());break}},dragstart:function(t){"img"===t.target.tagName.toLowerCase()&&t.preventDefault()},pointerdown:function(t){var e=this.options,n=this.pointers,i=t.buttons,r=t.button;if(!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(lt(i)&&1!==i||lt(r)&&0!==r||t.ctrlKey))){t.preventDefault(),t.changedTouches?pt(t.changedTouches,(function(t){n[t.identifier]=Rt(t)})):n[t.pointerId||0]=Rt(t);var s=!!e.movable&&p;e.zoomOnTouch&&e.zoomable&&Object.keys(n).length>1?s=g:e.slideOnTouch&&("touch"===t.pointerType||"touchstart"===t.type)&&this.isSwitchable()&&(s=A),!e.transition||s!==p&&s!==g||wt(this.image,N),this.action=s}},pointermove:function(t){var e=this.pointers,n=this.action;this.viewed&&n&&(t.preventDefault(),t.changedTouches?pt(t.changedTouches,(function(t){At(e[t.identifier]||{},Rt(t,!0))})):At(e[t.pointerId||0]||{},Rt(t,!0)),this.change(t))},pointerup:function(t){var e,n=this,i=this.options,r=this.action,s=this.pointers;t.changedTouches?pt(t.changedTouches,(function(t){e=s[t.identifier],delete s[t.identifier]})):(e=s[t.pointerId||0],delete s[t.pointerId||0]),r&&(t.preventDefault(),!i.transition||r!==p&&r!==g||bt(this.image,N),this.action=!1,h&&r!==g&&e&&Date.now()-e.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),i.toggleOnDblclick&&this.viewed&&t.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout((function(){_t(n.image,O)}),50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout((function(){n.imageClicked=!1}),500)):(this.imageClicked=!1,i.backdrop&&"static"!==i.backdrop&&t.target===this.canvas&&(this.clickCanvasTimeout=setTimeout((function(){_t(n.canvas,L)}),50)))))},resize:function(){var t=this;if(this.isShown&&!this.hiding&&(this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){t.renderImage()})),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();pt(this.player.getElementsByTagName("img"),(function(e){St(e,U,t.loadImage.bind(t),{once:!0}),_t(e,U)}))}},wheel:function(t){var e=this;if(this.viewed&&(t.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout((function(){e.wheeling=!1}),50);var n=Number(this.options.zoomRatio)||.1,i=1;t.deltaY?i=t.deltaY>0?1:-1:t.wheelDelta?i=-t.wheelDelta/120:t.detail&&(i=t.detail>0?1:-1),this.zoom(-i*n,!0,t)}}},Yt={show:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.element,n=this.options;if(n.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(t),this;if(ft(n.show)&&St(e,$,n.show,{once:!0}),!1===_t(e,$)||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var i=this.viewer;if(wt(i,x),n.transition&&!t){var r=this.shown.bind(this);this.transitioning={abort:function(){Tt(i,Z,r),wt(i,I)}},bt(i,N),i.initialOffsetWidth=i.offsetWidth,St(i,Z,r,{once:!0}),bt(i,I)}else bt(i,I),this.shown();return this},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.element,n=this.options;if(n.inline||this.hiding||!this.isShown&&!this.showing)return this;if(ft(n.hide)&&St(e,R,n.hide,{once:!0}),!1===_t(e,R))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var i=this.viewer;if(n.transition&&!t){var r=this.hidden.bind(this),s=function(){setTimeout((function(){St(i,Z,r,{once:!0}),wt(i,I)}),0)};this.transitioning={abort:function(){this.viewed?Tt(this.image,Z,s):Tt(i,Z,r)}},this.viewed&&yt(this.image,N)?(St(this.image,Z,s,{once:!0}),this.zoomTo(0,!1,!1,!0)):s()}else wt(i,I),this.hidden();return this},view:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(e=Number(e)||0,this.hiding||this.played||e<0||e>=this.length||this.viewed&&e===this.index)return this;if(!this.isShown)return this.index=e,this.show();this.viewing&&this.viewing.abort();var n=this.element,i=this.options,r=this.title,s=this.canvas,o=this.items[e],a=o.querySelector("img"),l=Ct(a,"originalUrl"),c=a.getAttribute("alt"),u=document.createElement("img");if(u.src=l,u.alt=c,ft(i.view)&&St(n,K,i.view,{once:!0}),!1===_t(n,K,{originalImage:this.images[e],index:e,image:u})||!this.isShown||this.hiding||this.played)return this;this.image=u,wt(this.items[this.index],m),bt(o,m),this.viewed=!1,this.index=e,this.imageData={},bt(u,T),i.loading&&bt(s,S),s.innerHTML="",s.appendChild(u),this.renderList(),r.innerHTML="";var h,d=function(){var e=t.imageData,n=Array.isArray(i.title)?i.title[1]:i.title;r.innerHTML=vt(ft(n)?n.call(t,u,e):"".concat(c," (").concat(e.naturalWidth," × ").concat(e.naturalHeight,")"))};return St(n,X,d,{once:!0}),this.viewing={abort:function(){Tt(n,X,d),u.complete?this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort():(u.src="",Tt(u,U,h),this.timeout&&clearTimeout(this.timeout))}},u.complete?this.load():(St(u,U,h=this.load.bind(this),{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){wt(u,T),t.timeout=!1}),1e3)),this},prev:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.index-1;return e<0&&(e=t?this.length-1:0),this.view(e),this},next:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.length-1,n=this.index+1;return n>e&&(n=t?0:e),this.view(n),this},move:function(t,e){var n=this.imageData;return this.moveTo(ct(t)?t:n.left+Number(t),ct(e)?e:n.top+Number(e)),this},moveTo:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.imageData;if(t=Number(t),e=Number(e),this.viewed&&!this.played&&this.options.movable){var i=!1;lt(t)&&(n.left=t,i=!0),lt(e)&&(n.top=e,i=!0),i&&this.renderImage()}return this},zoom:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.imageData;return t=Number(t),t=t<0?1/(1-t):1+t,this.zoomTo(i.width*t/i.naturalWidth,e,n),this},zoomTo:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=this.element,o=this.options,a=this.pointers,l=this.imageData,c=l.width,u=l.height,h=l.left,d=l.top,f=l.naturalWidth,p=l.naturalHeight;if(t=Math.max(0,t),lt(t)&&this.viewed&&!this.played&&(r||o.zoomable)){if(!r){var A=Math.max(.01,o.minZoomRatio),g=Math.min(100,o.maxZoomRatio);t=Math.min(Math.max(t,A),g)}i&&t>.95&&t<1.05&&(t=1);var m=f*t,v=p*t,y=m-c,b=v-u,w=c/f;if(ft(o.zoom)&&St(s,et,o.zoom,{once:!0}),!1===_t(s,et,{ratio:t,oldRatio:w,originalEvent:i}))return this;if(this.zooming=!0,i){var E=Dt(this.viewer),x=a&&Object.keys(a).length?jt(a):{pageX:i.pageX,pageY:i.pageY};l.left-=y*((x.pageX-E.left-h)/c),l.top-=b*((x.pageY-E.top-d)/u)}else l.left-=y/2,l.top-=b/2;l.width=m,l.height=v,l.ratio=t,this.renderImage((function(){e.zooming=!1,ft(o.zoomed)&&St(s,nt,o.zoomed,{once:!0}),_t(s,nt,{ratio:t,oldRatio:w,originalEvent:i})})),n&&this.tooltip()}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t)),this},rotateTo:function(t){var e=this.imageData;return t=Number(t),lt(t)&&this.viewed&&!this.played&&this.options.rotatable&&(e.rotate=t,this.renderImage()),this},scaleX:function(t){return this.scale(t,this.imageData.scaleY),this},scaleY:function(t){return this.scale(this.imageData.scaleX,t),this},scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.imageData;if(t=Number(t),e=Number(e),this.viewed&&!this.played&&this.options.scalable){var i=!1;lt(t)&&(n.scaleX=t,i=!0),lt(e)&&(n.scaleY=e,i=!0),i&&this.renderImage()}return this},play:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var n=this.options,i=this.player,r=this.loadImage.bind(this),s=[],o=0,a=0;if(this.played=!0,this.onLoadWhenPlay=r,e&&this.requestFullscreen(),bt(i,M),pt(this.items,(function(t,e){var l=t.querySelector("img"),c=document.createElement("img");c.src=Ct(l,"originalUrl"),c.alt=l.getAttribute("alt"),o+=1,bt(c,y),Et(c,N,n.transition),yt(t,m)&&(bt(c,I),a=e),s.push(c),St(c,U,r,{once:!0}),i.appendChild(c)})),lt(n.interval)&&n.interval>0){var l=function e(){t.playing=setTimeout((function(){wt(s[a],I),a+=1,a=a<o?a:0,bt(s[a],I),e()}),n.interval)};o>1&&l()}return this},stop:function(){var t=this;if(!this.played)return this;var e=this.player;return this.played=!1,clearTimeout(this.playing),pt(e.getElementsByTagName("img"),(function(e){Tt(e,U,t.onLoadWhenPlay)})),wt(e,M),e.innerHTML="",this.exitFullscreen(),this},full:function(){var t=this,e=this.options,n=this.viewer,i=this.image,r=this.list;return!this.isShown||this.played||this.fulled||!e.inline?this:(this.fulled=!0,this.open(),bt(this.button,E),e.transition&&(wt(r,N),this.viewed&&wt(i,N)),bt(n,b),n.setAttribute("style",""),mt(n,{zIndex:e.zIndex}),this.initContainer(),this.viewerData=At({},this.containerData),this.renderList(),this.viewed&&this.initImage((function(){t.renderImage((function(){e.transition&&setTimeout((function(){bt(i,N),bt(r,N)}),0)}))})),this)},exit:function(){var t=this,e=this.options,n=this.viewer,i=this.image,r=this.list;return this.isShown&&!this.played&&this.fulled&&e.inline?(this.fulled=!1,this.close(),wt(this.button,E),e.transition&&(wt(r,N),this.viewed&&wt(i,N)),wt(n,b),mt(n,{zIndex:e.zIndexInline}),this.viewerData=At({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){t.renderImage((function(){e.transition&&setTimeout((function(){bt(i,N),bt(r,N)}),0)}))})),this):this},tooltip:function(){var t=this,e=this.options,n=this.tooltipBox,i=this.imageData;return this.viewed&&!this.played&&e.tooltip?(n.textContent="".concat(Math.round(100*i.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):e.transition?(this.fading&&_t(n,Z),bt(n,M),bt(n,y),bt(n,N),n.initialOffsetWidth=n.offsetWidth,bt(n,I)):bt(n,M),this.tooltipping=setTimeout((function(){e.transition?(St(n,Z,(function(){wt(n,M),wt(n,y),wt(n,N),t.fading=!1}),{once:!0}),wt(n,I),t.fading=!0):wt(n,M),t.tooltipping=!1}),1e3),this):this},toggle:function(){return 1===this.imageData.ratio?this.zoomTo(this.initialImageData.ratio,!0):this.zoomTo(1,!0),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=At({},this.initialImageData),this.renderImage()),this},update:function(){var t=this.element,e=this.options,n=this.isImg;if(n&&!t.parentNode)return this.destroy();var i=[];if(pt(n?[t]:t.querySelectorAll("img"),(function(t){e.filter?e.filter(t)&&i.push(t):i.push(t)})),!i.length)return this;if(this.images=i,this.length=i.length,this.ready){var r=[];if(pt(this.items,(function(t,e){var n=t.querySelector("img"),s=i[e];s&&n?s.src!==n.src&&r.push(e):r.push(e)})),mt(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var s=r.indexOf(this.index);s>=0?(this.viewed=!1,this.view(Math.max(this.index-(s+1),0))):bt(this.items[this.index],m)}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var t=this.element,e=this.options;return t[f]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),e.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):e.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),e.inline||Tt(t,L,this.onStart),t[f]=void 0,this):this}},Wt={open:function(){var t=this.body;bt(t,D),t.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyPaddingRight)||0),"px")},close:function(){var t=this.body;wt(t,D),t.style.paddingRight=this.initialBodyPaddingRight},shown:function(){var t=this.element,e=this.options;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,ft(e.shown)&&St(t,J,e.shown,{once:!0}),!1!==_t(t,J)&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var t=this.element,e=this.options;this.fulled=!1,this.viewed=!1,this.isShown=!1,this.close(),this.unbind(),bt(this.viewer,x),this.resetList(),this.resetImage(),this.hiding=!1,this.destroyed||(ft(e.hidden)&&St(t,F,e.hidden,{once:!0}),_t(t,F))},requestFullscreen:function(){var t=this.element.ownerDocument;if(this.fulled&&!(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)){var e=t.documentElement;e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()}},exitFullscreen:function(){var t=this.element.ownerDocument;this.fulled&&(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)&&(t.exitFullscreen?t.exitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen())},change:function(t){var e=this.options,n=this.pointers,i=n[Object.keys(n)[0]],r=i.endX-i.startX,s=i.endY-i.startY;switch(this.action){case p:this.move(r,s);break;case g:this.zoom(Ft(n),!1,t);break;case A:this.action="switched";var o=Math.abs(r);o>1&&o>Math.abs(s)&&(this.pointers={},r>1?this.prev(e.loop):r<-1&&this.next(e.loop));break}pt(n,(function(t){t.startX=t.endX,t.startY=t.endY}))},isSwitchable:function(){var t=this.imageData,e=this.viewerData;return this.length>1&&t.left>=0&&t.top>=0&&t.width<=e.width&&t.height<=e.height}},Ht=u.Viewer,Gt=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e(this,t),!n||1!==n.nodeType)throw new Error("The first argument is required and must be an element.");this.element=n,this.options=At({},a,dt(i)&&i),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.init()}return i(t,[{key:"init",value:function(){var t=this,e=this.element,n=this.options;if(!e[f]){e[f]=this;var i="img"===e.tagName.toLowerCase(),r=[];pt(i?[e]:e.querySelectorAll("img"),(function(e){ft(n.filter)?n.filter.call(t,e)&&r.push(e):r.push(e)})),this.isImg=i,this.length=r.length,this.images=r;var s=e.ownerDocument,o=s.body||s.documentElement;if(this.body=o,this.scrollbarWidth=window.innerWidth-s.documentElement.clientWidth,this.initialBodyPaddingRight=window.getComputedStyle(o).paddingRight,ct(document.createElement(f).style.transition)&&(n.transition=!1),n.inline){var a=0,l=function(){var e;(a+=1,a===t.length)&&(t.initializing=!1,t.delaying={abort:function(){clearTimeout(e)}},e=setTimeout((function(){t.delaying=!1,t.build()}),0))};this.initializing={abort:function(){pt(r,(function(t){t.complete||Tt(t,U,l)}))}},pt(r,(function(t){t.complete?l():St(t,U,l,{once:!0})}))}else St(e,L,this.onStart=function(e){var i=e.target;"img"!==i.tagName.toLowerCase()||ft(n.filter)&&!n.filter.call(t,i)||t.view(t.images.indexOf(i))})}}},{key:"build",value:function(){if(!this.ready){var t=this.element,e=this.options,n=t.parentNode,i=document.createElement("div");i.innerHTML=l;var r=i.querySelector(".".concat(f,"-container")),s=r.querySelector(".".concat(f,"-title")),o=r.querySelector(".".concat(f,"-toolbar")),a=r.querySelector(".".concat(f,"-navbar")),c=r.querySelector(".".concat(f,"-button")),u=r.querySelector(".".concat(f,"-canvas"));if(this.parent=n,this.viewer=r,this.title=s,this.toolbar=o,this.navbar=a,this.button=c,this.canvas=u,this.footer=r.querySelector(".".concat(f,"-footer")),this.tooltipBox=r.querySelector(".".concat(f,"-tooltip")),this.player=r.querySelector(".".concat(f,"-player")),this.list=r.querySelector(".".concat(f,"-list")),bt(s,e.title?Qt(Array.isArray(e.title)?e.title[0]:e.title):x),bt(a,e.navbar?Qt(e.navbar):x),Et(c,x,!e.button),e.backdrop&&(bt(r,"".concat(f,"-backdrop")),e.inline||"static"===e.backdrop||Bt(u,it,"hide")),ot(e.className)&&e.className&&e.className.split(rt).forEach((function(t){bt(r,t)})),e.toolbar){var h=document.createElement("ul"),d=dt(e.toolbar),p=st.slice(0,3),A=st.slice(7,9),g=st.slice(9);d||bt(o,Qt(e.toolbar)),pt(d?e.toolbar:st,(function(t,n){var i=d&&dt(t),r=d?kt(n):t,s=i&&!ct(t.show)?t.show:t;if(s&&(e.zoomable||-1===p.indexOf(r))&&(e.rotatable||-1===A.indexOf(r))&&(e.scalable||-1===g.indexOf(r))){var o=i&&!ct(t.size)?t.size:t,a=i&&!ct(t.click)?t.click:t,l=document.createElement("li");l.setAttribute("role","button"),bt(l,"".concat(f,"-").concat(r)),ft(a)||Bt(l,it,r),lt(s)&&bt(l,Qt(s)),-1!==["small","large"].indexOf(o)?bt(l,"".concat(f,"-").concat(o)):"play"===r&&bt(l,"".concat(f,"-large")),ft(a)&&St(l,L,a),h.appendChild(l)}})),o.appendChild(h)}else bt(o,x);if(!e.rotatable){var m=o.querySelectorAll('li[class*="rotate"]');bt(m,T),pt(m,(function(t){o.appendChild(t)}))}if(e.inline)bt(c,w),mt(r,{zIndex:e.zIndexInline}),"static"===window.getComputedStyle(n).position&&mt(n,{position:"relative"}),n.insertBefore(r,t.nextSibling);else{bt(c,v),bt(r,b),bt(r,y),bt(r,x),mt(r,{zIndex:e.zIndex});var E=e.container;ot(E)&&(E=t.ownerDocument.querySelector(E)),E||(E=this.body),E.appendChild(r)}e.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,ft(e.ready)&&St(t,V,e.ready,{once:!0}),!1!==_t(t,V)?this.ready&&e.inline&&this.view(this.index):this.ready=!1}}}],[{key:"noConflict",value:function(){return window.Viewer=Ht,t}},{key:"setDefaults",value:function(t){At(a,dt(t)&&t)}}]),t}();return At(Gt.prototype,Ut,Pt,zt,Yt,Wt),Gt}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},ce1c:function(t,e,n){"use strict";var i=n("6459"),r=n.n(i);r.a},d191:function(t,e,n){},daaf:function(t,e,n){},db42:function(t,e,n){},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,i=t.length-1;i>=0;i--){var r=t[i];"."===r?t.splice(i,1):".."===r?(t.splice(i,1),n++):n&&(t.splice(i,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function i(t){"string"!==typeof t&&(t+="");var e,n=0,i=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){n=e+1;break}}else-1===i&&(r=!1,i=e+1);return-1===i?"":t.slice(n,i)}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],i=0;i<t.length;i++)e(t[i],i,t)&&n.push(t[i]);return n}e.resolve=function(){for(var e="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var o=s>=0?arguments[s]:t.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,i="/"===o.charAt(0))}return e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),o="/"===s(t,-1);return t=n(r(t.split("/"),(function(t){return!!t})),!i).join("/"),t||i||(t="."),t&&o&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function i(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var r=i(t.split("/")),s=i(n.split("/")),o=Math.min(r.length,s.length),a=o,l=0;l<o;l++)if(r[l]!==s[l]){a=l;break}var c=[];for(l=a;l<r.length;l++)c.push("..");return c=c.concat(s.slice(a)),c.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,i=-1,r=!0,s=t.length-1;s>=1;--s)if(e=t.charCodeAt(s),47===e){if(!r){i=s;break}}else r=!1;return-1===i?n?"/":".":n&&1===i?"/":t.slice(0,i)},e.basename=function(t,e){var n=i(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,i=-1,r=!0,s=0,o=t.length-1;o>=0;--o){var a=t.charCodeAt(o);if(47!==a)-1===i&&(r=!1,i=o+1),46===a?-1===e?e=o:1!==s&&(s=1):-1!==e&&(s=-1);else if(!r){n=o+1;break}}return-1===e||-1===i||0===s||1===s&&e===i-1&&e===n+1?"":t.slice(e,i)};var s="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("f28c"))},df86:function(t,e,n){},e099:function(t,e,n){"use strict";var i=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,n,a){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"===typeof t?s(o(t),(function(o){var a=encodeURIComponent(i(o))+n;return r(t[o])?s(t[o],(function(t){return a+encodeURIComponent(i(t))})).join(e):a+encodeURIComponent(i(t[o]))})).join(e):a?encodeURIComponent(i(a))+n+encodeURIComponent(i(t)):""};var r=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function s(t,e){if(t.map)return t.map(e);for(var n=[],i=0;i<t.length;i++)n.push(e(t[i],i));return n}var o=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},e9b1:function(t,e,n){},ec29:function(t,e,n){},ee6f:function(t,e,n){},f17e:function(t,e,n){"use strict";var i=n("6e75"),r=n.n(i);r.a},f28c:function(t,e){var n,i,r=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function l(t){if(i===clearTimeout)return clearTimeout(t);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{return i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:s}catch(t){n=s}try{i="function"===typeof clearTimeout?clearTimeout:o}catch(t){i=o}})();var c,u=[],h=!1,d=-1;function f(){h&&c&&(h=!1,c.length?u=c.concat(u):d=-1,u.length&&p())}function p(){if(!h){var t=a(f);h=!0;var e=u.length;while(e){c=u,u=[];while(++d<e)c&&c[d].run();d=-1,e=u.length}c=null,h=!1,l(t)}}function A(t,e){this.fun=t,this.array=e}function g(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new A(t,e)),1!==u.length||h||a(p)},A.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}});
  //# sourceMappingURL=app.js.map
  