seepur/public/scripts/applications/home/app.bundle.js

47 lines
569 KiB
JavaScript
Raw Normal View History

2020-05-03 22:38:33 +00:00
!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,n){!function(e,t){if(!M[e]||!g[e])return;for(var n in g[e]=!1,t)Object.prototype.hasOwnProperty.call(t,n)&&(h[n]=t[n]);0==--f&&0===v&&Y()}(e,n),t&&t(e,n)};var n,r=!0,s="fe3f7094407dfe1f764c",a={},o=[],i=[];function d(e){var t=D[e];if(!t)return T;var r=function(r){return t.hot.active?(D[r]?-1===D[r].parents.indexOf(e)&&D[r].parents.push(e):(o=[e],n=r),-1===t.children.indexOf(r)&&t.children.push(r)):(console.warn("[HMR] unexpected require("+r+") from disposed module "+e),o=[]),T(r)},s=function(e){return{configurable:!0,enumerable:!0,get:function(){return T[e]},set:function(t){T[e]=t}}};for(var a in T)Object.prototype.hasOwnProperty.call(T,a)&&"e"!==a&&"t"!==a&&Object.defineProperty(r,a,s(a));return r.e=function(e){return"ready"===c&&m("prepare"),v++,T.e(e).then(t,(function(e){throw t(),e}));function t(){v--,"prepare"===c&&(y[e]||b(e),0===v&&0===f&&Y())}},r.t=function(e,t){return 1&t&&(e=r(e)),T.t(e,-2&t)},r}function l(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:n!==e,active:!0,accept:function(e,n){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var r=0;r<e.length;r++)t._acceptedDependencies[e[r]]=n||function(){};else t._acceptedDependencies[e]=n||function(){}},decline:function(e){if(void 0===e)t._selfDeclined=!0;else if("object"==typeof e)for(var n=0;n<e.length;n++)t._declinedDependencies[e[n]]=!0;else t._declinedDependencies[e]=!0},dispose:function(e){t._disposeHandlers.push(e)},addDisposeHandler:function(e){t._disposeHandlers.push(e)},removeDisposeHandler:function(e){var n=t._disposeHandlers.indexOf(e);n>=0&&t._disposeHandlers.splice(n,1)},check:k,apply:w,status:function(e){if(!e)return c;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)},data:a[e]};return n=void 0,t}var u=[],c="idle";function m(e){c=e;for(var t=0;t<u.length;t++)u[t].call(null,e)}var _,h,p,f=0,v=0,y={},g={},M={};function L(e){return+e+""===e?+e:e}function k(e){if("idle"!==c)throw new Error("check() is only allowed in idle status");return r=e,m("check"),(t=1e4,t=t||1e4,new Promise((function(e,n){if("undefined"==typeof XMLHttpRequest)return n(new Error("No browser support"));try{var r=new XMLHttpRequest,a=T.p+""+s+".hot-update.json";r.open("GET",a,!0),r.timeout=t,r.send(null)}catch(e){return n(e)}r.onreadystatechange=function(){if(4===r.readyState)if(0===r.status)n(new Error("Manifest request to "+a+" timed out."));else if(404===r.status)e();else if(200!==r.status&&304!==r.status)n(new Error("Manifest request to "+a+" failed."));else{try{var t=JSON.parse(r.responseText)}catch(e){return void n(e)}e(t)}}}))).then((function(e){if(!e)return m("idle"),null;g={},y={},M=e.c,p=e.h,m("prepare");var t=new Promise((function(e,t){_={resolve:e,reject:t}}));h={};return b(1),"prepare"===c&&0===v&&0===f&&Y(),t}));var t}function b(e){M[e]?(g[e]=!0,f++,function(e){var t=document.createElement("script");t.charset="utf-8",t.src=T.p+""+e+"."+s+".hot-update.js",document.head.appendChild(t)}(e)):y[e]=!0}function Y(){m("ready");var e=_;if(_=null,e)if(r)Promise.resolve().then((function(){return w(r)})).then((function(t){e.resolve(t)}),(function(t){e.reject(t)}));else{var t=[];for(var n in h)Object.prototype.hasOwnProperty.call(h,n)&&t.push(L(n));e.resolve(t)}}function w(t){if("ready"!==c)throw new Error("apply() is only allowed in ready status");var n,r,i,d,l;function u(e){for(var t=[e],n={},r=t.map((function(e){return{chain:[e],id:e}}));r.length>0;){var s=r.pop(),a=s.id,o=s.chain;if((d=D[a])&&!d.hot._selfAccepted){if(d.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:a};if(d.hot._main)return{type:"unaccepted",chain:o,moduleId:a};for(var i=0;i<d.parents.length;i++){var l=d.parents[i],u=D[l];if(u){if(u.hot._declinedDependencies[a])return{type:"declined",chain:o.concat([l]),moduleId:a,parentId:l};-1===t.indexOf(l)&&(u.hot._acceptedDependencies[a]?(n[l]||(n[l]=[]),_(n[l],[a])):(delete
2020-04-14 15:06:09 +00:00
/*! @license Rematrix v0.5.0
Copyright 2020 Julian Lloyd.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
2020-05-01 05:55:26 +00:00
function r(e){if(e&&e.constructor===Array){var t=e.filter((function(e){return"number"==typeof e})).filter((function(e){return!isNaN(e)}));if(6===e.length&&6===t.length){var n=a();return n[0]=t[0],n[1]=t[1],n[4]=t[2],n[5]=t[3],n[12]=t[4],n[13]=t[5],n}if(16===e.length&&16===t.length)return e}throw new TypeError("Expected a `number[]` with length 6 or 16.")}function s(e){if("string"==typeof e){var t=e.match(/matrix(3d)?\(([^)]+)\)/);if(t)return r(t[2].split(", ").map(parseFloat))}throw new TypeError("Expected a string containing `matrix()` or `matrix3d()")}function a(){for(var e=[],t=0;t<16;t++)t%5==0?e.push(1):e.push(0);return e}function o(e){var t=r(e),n=t[0]*t[5]-t[4]*t[1],s=t[0]*t[6]-t[4]*t[2],a=t[0]*t[7]-t[4]*t[3],o=t[1]*t[6]-t[5]*t[2],i=t[1]*t[7]-t[5]*t[3],d=t[2]*t[7]-t[6]*t[3],l=t[10]*t[15]-t[14]*t[11],u=t[9]*t[15]-t[13]*t[11],c=t[9]*t[14]-t[13]*t[10],m=t[8]*t[15]-t[12]*t[11],_=t[8]*t[14]-t[12]*t[10],h=t[8]*t[13]-t[12]*t[9],p=1/(n*l-s*u+a*c+o*m-i*_+d*h);if(isNaN(p)||p===1/0)throw new Error("Inverse determinant attempted to divide by zero.");return[(t[5]*l-t[6]*u+t[7]*c)*p,(-t[1]*l+t[2]*u-t[3]*c)*p,(t[13]*d-t[14]*i+t[15]*o)*p,(-t[9]*d+t[10]*i-t[11]*o)*p,(-t[4]*l+t[6]*m-t[7]*_)*p,(t[0]*l-t[2]*m+t[3]*_)*p,(-t[12]*d+t[14]*a-t[15]*s)*p,(t[8]*d-t[10]*a+t[11]*s)*p,(t[4]*u-t[5]*m+t[7]*h)*p,(-t[0]*u+t[1]*m-t[3]*h)*p,(t[12]*i-t[13]*a+t[15]*n)*p,(-t[8]*i+t[9]*a-t[11]*n)*p,(-t[4]*c+t[5]*_-t[6]*h)*p,(t[0]*c-t[1]*_+t[2]*h)*p,(-t[12]*o+t[13]*s-t[14]*n)*p,(t[8]*o-t[9]*s+t[10]*n)*p]}function i(e,t){for(var n=r(e),s=r(t),a=[],o=0;o<4;o++)for(var i=[n[o],n[o+4],n[o+8],n[o+12]],d=0;d<4;d++){var l=4*d,u=[s[l],s[l+1],s[l+2],s[l+3]],c=i[0]*u[0]+i[1]*u[1]+i[2]*u[2]+i[3]*u[3];a[o+l]=c}return a}function d(e){var t=a();return t[11]=-1/e,t}function l(e){return m(e)}function u(e){var t=Math.PI/180*e,n=a();return n[5]=n[10]=Math.cos(t),n[6]=n[9]=Math.sin(t),n[9]*=-1,n}function c(e){var t=Math.PI/180*e,n=a();return n[0]=n[10]=Math.cos(t),n[2]=n[8]=Math.sin(t),n[2]*=-1,n}function m(e){var t=Math.PI/180*e,n=a();return n[0]=n[5]=Math.cos(t),n[1]=n[4]=Math.sin(t),n[4]*=-1,n}function _(e,t){var n=a();return n[0]=e,n[5]="number"==typeof t?t:e,n}function h(e){var t=a();return t[0]=e,t}function p(e){var t=a();return t[5]=e,t}function f(e){var t=a();return t[10]=e,t}function v(e,t){var n=Math.PI/180*e,r=a();if(r[4]=Math.tan(n),t){var s=Math.PI/180*t;r[1]=Math.tan(s)}return r}function y(e){var t=Math.PI/180*e,n=a();return n[4]=Math.tan(t),n}function g(e){var t=Math.PI/180*e,n=a();return n[1]=Math.tan(t),n}function M(e){return"matrix3d("+r(e).join(", ")+")"}function L(e,t){var n=a();return n[12]=e,t&&(n[13]=t),n}function k(e,t,n){var r=a();return void 0!==e&&void 0!==t&&void 0!==n&&(r[12]=e,r[13]=t,r[14]=n),r}function b(e){var t=a();return t[12]=e,t}function Y(e){var t=a();return t[13]=e,t}function w(e){var t=a();return t[14]=e,t}n.r(t),n.d(t,"format",(function(){return r})),n.d(t,"fromString",(function(){return s})),n.d(t,"identity",(function(){return a})),n.d(t,"inverse",(function(){return o})),n.d(t,"multiply",(function(){return i})),n.d(t,"perspective",(function(){return d})),n.d(t,"rotate",(function(){return l})),n.d(t,"rotateX",(function(){return u})),n.d(t,"rotateY",(function(){return c})),n.d(t,"rotateZ",(function(){return m})),n.d(t,"scale",(function(){return _})),n.d(t,"scaleX",(function(){return h})),n.d(t,"scaleY",(function(){return p})),n.d(t,"scaleZ",(function(){return f})),n.d(t,"skew",(function(){return v})),n.d(t,"skewX",(function(){return y})),n.d(t,"skewY",(function(){return g})),n.d(t,"toString",(function(){return M})),n.d(t,"translate",(function(){return L})),n.d(t,"translate3d",(function(){return k})),n.d(t,"translateX",(function(){return b})),n.d(t,"translateY",(function(){return Y})),n.d(t,"translateZ",(function(){return w}))},"./node_modules/setimmediate/setImmediate.js":function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,s,a,o,i,d=1,l={},u=!1,c=e.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(e);m=m&&m.setTimeout?m:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(
2020-03-17 22:16:34 +00:00
/*!
2020-04-12 14:25:42 +00:00
* vue-router v3.1.6
2020-03-17 22:16:34 +00:00
* (c) 2020 Evan You
* @license MIT
2020-05-01 17:24:22 +00:00
*/function r(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function s(e,t){return t instanceof e||t&&(t.name===e.name||t._name===e._name)}function a(e,t){for(var n in t)e[n]=t[n];return e}var o={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,s=t.parent,o=t.data;o.routerView=!0;for(var d=s.$createElement,l=n.name,u=s.$route,c=s._routerViewCache||(s._routerViewCache={}),m=0,_=!1;s&&s._routerRoot!==s;){var h=s.$vnode?s.$vnode.data:{};h.routerView&&m++,h.keepAlive&&s._directInactive&&s._inactive&&(_=!0),s=s.$parent}if(o.routerViewDepth=m,_){var p=c[l],f=p&&p.component;return f?(p.configProps&&i(f,o,p.route,p.configProps),d(f,o,r)):d()}var v=u.matched[m],y=v&&v.components[l];if(!v||!y)return c[l]=null,d();c[l]={component:y},o.registerRouteInstance=function(e,t){var n=v.instances[l];(t&&n!==e||!t&&n===e)&&(v.instances[l]=t)},(o.hook||(o.hook={})).prepatch=function(e,t){v.instances[l]=t.componentInstance},o.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==v.instances[l]&&(v.instances[l]=e.componentInstance)};var g=v.props&&v.props[l];return g&&(a(c[l],{route:u,configProps:g}),i(y,o,u,g)),d(y,o,r)}};function i(e,t,n,r){var s=t.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(n,r);if(s){s=t.props=a({},s);var o=t.attrs=t.attrs||{};for(var i in s)e.props&&i in e.props||(o[i]=s[i],delete s[i])}}var d=/[!'()*]/g,l=function(e){return"%"+e.charCodeAt(0).toString(16)},u=/%2C/g,c=function(e){return encodeURIComponent(e).replace(d,l).replace(u,",")},m=decodeURIComponent;function _(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=m(n.shift()),s=n.length>0?m(n.join("=")):null;void 0===t[r]?t[r]=s:Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]})),t):t}function h(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return c(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(c(t)):r.push(c(t)+"="+c(e)))})),r.join("&")}return c(t)+"="+c(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var p=/\/?$/;function f(e,t,n,r){var s=r&&r.options.stringifyQuery,a=t.query||{};try{a=v(a)}catch(e){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:M(t,s),matched:e?g(e):[]};return n&&(o.redirectedFrom=M(n,s)),Object.freeze(o)}function v(e){if(Array.isArray(e))return e.map(v);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=v(e[n]);return t}return e}var y=f(null,{path:"/"});function g(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function M(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var s=e.hash;return void 0===s&&(s=""),(n||"/")+(t||h)(r)+s}function L(e,t){return t===y?e===t:!!t&&(e.path&&t.path?e.path.replace(p,"")===t.path.replace(p,"")&&e.hash===t.hash&&k(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&k(e.query,t.query)&&k(e.params,t.params)))}function k(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((function(n){var r=e[n],s=t[n];return"object"==typeof r&&"object"==typeof s?k(r,s):String(r)===String(s)}))}function b(e,t,n){var r=e.charAt(0);if("/"===r)return e;if("?"===r||"#"===r)return t+e;var s=t.split("/");n&&s[s.length-1]||s.pop();for(var a=e.replace(/^\//,"").split("/"),o=0;o<a.length;o++){var i=a[o];".."===i?s.pop():"."!==i&&s.push(i)}return""!==s[0]&&s.unshift(""),s.join("/")}function Y(e){return e.replace(/\/\//g,"/")}var w=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},D=I,T=H,j=function(e,t){return P(H(e,t))},S=P,x=$,C=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function H(e,t){for(var
/*!
* Vue.js v2.6.11
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
2020-05-01 17:24:22 +00:00
var r=Object.freeze({});function s(e){return null==e}function a(e){return null!=e}function o(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function d(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function u(e){return"[object Object]"===l.call(e)}function c(e){return"[object RegExp]"===l.call(e)}function m(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function _(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function f(e,t){for(var n=Object.create(null),r=e.split(","),s=0;s<r.length;s++)n[r[s]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var v=f("slot,component",!0),y=f("key,ref,slot,slot-scope,is");function g(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var M=Object.prototype.hasOwnProperty;function L(e,t){return M.call(e,t)}function k(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var b=/-(\w)/g,Y=k((function(e){return e.replace(b,(function(e,t){return t?t.toUpperCase():""}))})),w=k((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),D=/\B([A-Z])/g,T=k((function(e){return e.replace(D,"-$1").toLowerCase()}));var j=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function S(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function x(e,t){for(var n in t)e[n]=t[n];return e}function C(e){for(var t={},n=0;n<e.length;n++)e[n]&&x(t,e[n]);return t}function H(e,t,n){}var O=function(e,t,n){return!1},P=function(e){return e};function A(e,t){if(e===t)return!0;var n=d(e),r=d(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var s=Array.isArray(e),a=Array.isArray(t);if(s&&a)return e.length===t.length&&e.every((function(e,n){return A(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(s||a)return!1;var o=Object.keys(e),i=Object.keys(t);return o.length===i.length&&o.every((function(n){return A(e[n],t[n])}))}catch(e){return!1}}function E(e,t){for(var n=0;n<e.length;n++)if(A(e[n],t))return n;return-1}function R(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var F=["component","directive","filter"],$=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],I={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:H,parsePlatformTagName:P,mustUseProp:O,async:!0,_lifecycleHooks:$},W=/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 N(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function z(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var J=new RegExp("[^"+W.source+".$_\\d]");var U,V="__proto__"in{},B="undefined"!=typeof window,G="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,q=G&&WXEnvironment.platform.toLowerCase(),K=B&&window.navigator.userAgent.toLowerCase(),Z=K&&/msie|trident/.test(K),X=K&&K.indexOf("msie 9.0")>0,Q=K&&K.indexOf("edge/")>0,ee=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===q),te=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if(B)try{var se={};Object.defineProperty(se,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,se)}catch(e){}var ae=function(){return void 0===U&&(U=!B&&!G&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),U},oe=B&&win
2020-03-17 22:16:34 +00:00
/**
2020-04-12 14:25:42 +00:00
* vuex v3.1.3
* (c) 2020 Evan You
2020-03-17 22:16:34 +00:00
* @license MIT
*/
function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l=e)}c.state.get=function(){return this._vm._data.$$state},c.state.set=function(e){0},u.prototype.commit=function(e,t,n){var r=this,s=v(e,t,n),a=s.type,o=s.payload,i=(s.options,{type:a,payload:o}),d=this._mutations[a];d&&(this._withCommit((function(){d.forEach((function(e){e(o)}))})),this._subscribers.slice().forEach((function(e){return e(i,r.state)})))},u.prototype.dispatch=function(e,t){var n=this,r=v(e,t),s=r.type,a=r.payload,o={type:s,payload:a},i=this._actions[s];if(i){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(o,n.state)}))}catch(e){0}return(i.length>1?Promise.all(i.map((function(e){return e(a)}))):i[0](a)).then((function(e){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,n.state)}))}catch(e){0}return e}))}},u.prototype.subscribe=function(e){return m(e,this._subscribers)},u.prototype.subscribeAction=function(e){return m("function"==typeof e?{before:e}:e,this._actionSubscribers)},u.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},u.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},u.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),p(this,this.state,e,this._modules.get(e),n.preserveState),h(this,this.state)},u.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=f(t.state,e.slice(0,-1));l.delete(n,e[e.length-1])})),_(this)},u.prototype.hotUpdate=function(e){this._modules.update(e),_(this,!0)},u.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(u.prototype,c);var g=Y((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=w(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof s?s.call(this,t,n):t[s]},n[r].vuex=!0})),n})),M=Y((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var a=w(this.$store,"mapMutations",e);if(!a)return;r=a.context.commit}return"function"==typeof s?s.apply(this,[r].concat(t)):r.apply(this.$store,[s].concat(t))}})),n})),L=Y((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;s=e+s,n[r]=function(){if(!e||w(this.$store,"mapGetters",e))return this.$store.getters[s]},n[r].vuex=!0})),n})),k=Y((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var a=w(this.$store,"mapActions",e);if(!a)return;r=a.context.dispatch}return"function"==typeof s?s.apply(this,[r].concat(t)):r.apply(this.$store,[s].concat(t))}})),n}));function b(e){return function(e){return Array.isArray(e)||a(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function Y(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function w(e,t,n){return e._modulesNamespaceMap[n]}var D={Store:u,install:y,version:"3.1.3",mapState:g,mapMutations:M,mapGetters:L,mapActions:k,createNamespacedHelpers:function(e){return{mapState:g.bind(null,e),mapGetters:L.bind(null,e),mapMutations:M.bind(null,e),mapActions:k.bind(null,e)}}};t.b=D}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./
2020-04-14 15:06:09 +00:00
/*!
* @license
* flipbook-vue v0.8.1
* Copyright © 2020 Takeshi Sone.
* Released under the MIT License.
2020-05-03 22:38:33 +00:00
*/var r,s,a,o,i=n("./node_modules/rematrix/dist/rematrix.es.js"),d=function(){function e(e){e?e.m?this.m=[].concat(e.m):this.m=[].concat(e):this.m=i.identity()}return e.prototype.clone=function(){return new e(this)},e.prototype.multiply=function(e){return this.m=i.multiply(this.m,e)},e.prototype.perspective=function(e){return this.multiply(i.perspective(e))},e.prototype.transformX=function(e){return(e*this.m[0]+this.m[12])/(e*this.m[3]+this.m[15])},e.prototype.translate=function(e,t){return this.multiply(i.translate(e,t))},e.prototype.translate3d=function(e,t,n){return this.multiply(i.translate3d(e,t,n))},e.prototype.rotateY=function(e){return this.multiply(i.rotateY(e))},e.prototype.toString=function(){return i.toString(this.m)},e}();s=function(e){return Math.pow(e,2)},o=function(e){return 1-s(1-e)},a=function(e){return e<.5?s(2*e)/2:.5+o(2*(e-.5))/2},r=/Trident/.test(navigator.userAgent);var l={props:{enabled:{type:Boolean,required:!0},pages:{type:Array,required:!0},pagesHiRes:{type:Array,default:function(){return[]}},flipDuration:{type:Number,default:1e3},zoomDuration:{type:Number,default:500},zooms:{type:Array,default:function(){return[1,2,4]}},perspective:{type:Number,default:2400},nPolygons:{type:Number,default:10},ambient:{type:Number,default:.4},gloss:{type:Number,default:.6},swipeMin:{type:Number,default:3},singlePage:{type:Boolean,default:!1},forwardDirection:{validator:function(e){return"right"===e||"left"===e},default:"right"},centering:{type:Boolean,default:!0},startPage:{type:Number,default:null}},data:function(){return{viewWidth:0,viewHeight:0,imageWidth:null,imageHeight:null,displayedPages:1,nImageLoad:0,nImageLoadTrigger:0,imageLoadCallback:null,currentPage:0,firstPage:0,secondPage:1,zoomIndex:0,zoom:1,zooming:!1,touchStartX:null,touchStartY:null,maxMove:0,activeCursor:null,hasTouchEvents:!1,hasPointerEvents:!1,minX:Infinity,maxX:-Infinity,preloadedImages:{},flip:{progress:0,direction:null,frontImage:null,backImage:null,auto:!1,opacity:1},currentCenterOffset:null,animatingCenter:!1,startScrollLeft:0,startScrollTop:0,scrollLeft:0,scrollTop:0}},computed:{canFlipLeft:function(){return"left"===this.forwardDirection?this.canGoForward:this.canGoBack},canFlipRight:function(){return"right"===this.forwardDirection?this.canGoForward:this.canGoBack},canZoomIn:function(){return!this.zooming&&this.zoomIndex<this.zooms_.length-1},canZoomOut:function(){return!this.zooming&&this.zoomIndex>0},numPages:function(){return null===this.pages[0]?this.pages.length-1:this.pages.length},page:function(){return null!==this.pages[0]?this.currentPage+1:Math.max(1,this.currentPage)},zooms_:function(){return this.zooms||[1]},canGoForward:function(){return!this.flip.direction&&this.currentPage<this.pages.length-this.displayedPages},canGoBack:function(){return!this.flip.direction&&this.currentPage>=this.displayedPages&&!(1===this.displayedPages&&!this.pageUrl(this.firstPage-1))},leftPage:function(){return"right"===this.forwardDirection||1===this.displayedPages?this.firstPage:this.secondPage},rightPage:function(){return"left"===this.forwardDirection?this.firstPage:this.secondPage},showLeftPage:function(){return this.pageUrl(this.leftPage)},showRightPage:function(){return this.pageUrl(this.rightPage)&&2===this.displayedPages},cursor:function(){return this.activeCursor?this.activeCursor:r?"auto":this.canZoomIn?"zoom-in":this.canZoomOut?"zoom-out":"grab"},pageScale:function(){var e,t,n;return(e=(t=this.viewWidth/this.displayedPages/this.imageWidth)<(n=this.viewHeight/this.imageHeight)?t:n)<1?e:1},pageWidth:function(){return Math.round(this.imageWidth*this.pageScale)},pageHeight:function(){return Math.round(this.imageHeight*this.pageScale)},xMargin:function(){return(this.viewWidth-this.pageWidth*this.displayedPages)/2},yMargin:function(){return(this.viewHeight-this.pageHeight)/2},polygonWidth:function(){var e;return e=this.pageWidth/this.nPolygons,(e=Math.ceil(e+1/this.zoom))+"px"},polygonHeight:function(){return this.pageHeight+"px"},polygonBgSize:function(){return this.pageWidth+"px "+this.pageHeight+"px"},polygonArray:function(){return t