From 0f64ade43fe74a670701aaa9373cb6fd9fd706ab Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 18 Oct 2018 21:47:55 +1100 Subject: [PATCH] Vue.JS init (#2459) * Fixes for code coverage + style * Integration tests for MultiDB * Start sprinking Vue.JS --- app/Http/Requests/SignupRequest.php | 8 ++- app/Libraries/MultiDB.php | 2 +- package.json | 2 +- phpunit.xml | 7 ++- public/js/ninja.js | 8 +-- resources/js/app.js | 3 +- resources/js/bootstrap.js | 16 ------ resources/views/layouts/master.blade.php | 3 ++ resources/views/signup/index.blade.php | 65 +++++++++++++++++++++++- tests/Integration/MultiDBUserTest.php | 23 ++++++++- tests/Integration/UniqueEmailTest.php | 2 +- 11 files changed, 107 insertions(+), 32 deletions(-) diff --git a/app/Http/Requests/SignupRequest.php b/app/Http/Requests/SignupRequest.php index 2e500302e2..5a296a153f 100644 --- a/app/Http/Requests/SignupRequest.php +++ b/app/Http/Requests/SignupRequest.php @@ -27,8 +27,12 @@ class SignupRequest extends Request { return [ //'email' => 'required|string|email|max:100', - 'password' => 'required|string|min:6', - 'email' => new UniqueUserRule(), + 'first_name' => 'required|string|max:100', + 'last_name' => 'required|string:max:100', + 'password' => 'required|string|min:6', + 'email' => new UniqueUserRule(), + 'privacy_policy' => 'required', + 'terms_of_service' => 'required' ]; } } \ No newline at end of file diff --git a/app/Libraries/MultiDB.php b/app/Libraries/MultiDB.php index b3ba60fbc5..5ed64cb50c 100644 --- a/app/Libraries/MultiDB.php +++ b/app/Libraries/MultiDB.php @@ -37,7 +37,7 @@ class MultiDB * @param array $data * @return bool */ - public static function getUser(array $data) + public static function hasUser(array $data) { if (config('auth.providers.users.driver') == 'eloquent') //default eloquent = single DB { diff --git a/package.json b/package.json index ad5f237abe..08db0dc204 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "perfect-scrollbar": "1.4.0", "popper.js": "^1.12", "simple-line-icons": "2.4.1", - "vue": "^2.5.7" + "vue": "^2.5.17" }, "dependencies": {} } diff --git a/phpunit.xml b/phpunit.xml index 64e8b06c9d..b1a670b098 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -23,9 +23,12 @@ ./vendor ./app/Providers - ./app/Http + ./app/Http + ./app/Models ./app/Console/Kernel.php - ./app/Exceptions/Handler.php + ./app/Constants.php + ./app/Libraries/OFX.php + ./app/Exceptions/Handler.php diff --git a/public/js/ninja.js b/public/js/ninja.js index aaaf44c351..1a06ed4e05 100644 --- a/public/js/ninja.js +++ b/public/js/ninja.js @@ -1,4 +1,4 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("perfect-scrollbar")):"function"==typeof define&&define.amd?define(["exports","jquery","perfect-scrollbar"],t):t(e.coreui={},e.jQuery,e.PerfectScrollbar)}(this,function(e,t,n){"use strict";function r(e,t){for(var n=0;nn+1&&e(t,n+1)},document.getElementsByTagName("body")[0].appendChild(i)};e.ajax({type:"GET",url:i.subpagesDirectory+t,dataType:"html",beforeSend:function(){e(a.VIEW_SCRIPT).remove()},success:function(r){var i=document.createElement("div");i.innerHTML=r;var a=Array.from(i.querySelectorAll("script")).map(function(e){return e.attributes.getNamedItem("src").nodeValue});i.querySelectorAll("script").forEach(function(e){return e.parentNode.removeChild(e)}),e("body").animate({scrollTop:0},0),e(n).html(i),a.length&&o(a),window.location.hash=t},error:function(){window.location.href=i.errorPage}})},n.setUpUrl=function(t){e(a.NAV_LINK).removeClass(r.ACTIVE),e(a.NAV_DROPDOWN).removeClass(r.OPEN),e(a.NAV_DROPDOWN+':has(a[href="'+t.replace(/^\//,"").split("?")[0]+'"])').addClass(r.OPEN),e(a.NAV_ITEM+' a[href="'+t.replace(/^\//,"").split("?")[0]+'"]').addClass(r.ACTIVE),this.loadPage(t)},n.loadBlank=function(e){window.open(e)},n.loadTop=function(e){window.location=e},n._getConfig=function(e){return e=Object.assign({},s,e)},n._addEventListeners=function(){var t=this;e(document).on(o.CLICK,a.NAV_LINK+'[href!="#"]',function(e){e.preventDefault(),e.stopPropagation(),"_top"===e.currentTarget.target?t.loadTop(e.currentTarget.href):"_blank"===e.currentTarget.target?t.loadBlank(e.currentTarget.href):t.setUpUrl(e.currentTarget.getAttribute("href"))})},t._jQueryInterface=function(n){return this.each(function(){var r=e(this).data("coreui.ajaxLoad"),i="object"==typeof n&&n;r||(r=new t(this,i),e(this).data("coreui.ajaxLoad",r))})},i(t,null,[{key:"VERSION",get:function(){return"2.0.18"}},{key:"Default",get:function(){return s}}]),t}();return e.fn[t]=c._jQueryInterface,e.fn[t].Constructor=c,e.fn[t].noConflict=function(){return e.fn[t]=n,c._jQueryInterface},c}(t),a=function(e){return-1!==e.map(function(e){return document.body.classList.contains(e)}).indexOf(!0)},s=function(e,t){var n=t.indexOf(e),r=t.slice(0,n+1);a(r)?r.map(function(e){return document.body.classList.remove(e)}):document.body.classList.add(e)},c=function(e){var t="aside-menu",n="coreui.aside-menu",r=e.fn[t],o={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},a={BODY:"body",ASIDE_MENU:".aside-menu",ASIDE_MENU_TOGGLER:".aside-menu-toggler"},c=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],u=function(){function t(e){this._element=e,this._addEventListeners()}return t.prototype._addEventListeners=function(){e(a.ASIDE_MENU_TOGGLER).on(o.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;s(t,c)})},t._jQueryInterface=function(){return this.each(function(){var r=e(this),i=r.data(n);i||(i=new t(this),r.data(n,i))})},i(t,null,[{key:"VERSION",get:function(){return"2.0.18"}}]),t}();return e(window).on(o.LOAD_DATA_API,function(){var t=e(a.ASIDE_MENU);u._jQueryInterface.call(t)}),e.fn[t]=u._jQueryInterface,e.fn[t].Constructor=u,e.fn[t].noConflict=function(){return e.fn[t]=r,u._jQueryInterface},u}(t),u=function(e){var t="sidebar",r=e.fn[t],o={transition:400},a={ACTIVE:"active",BRAND_MINIMIZED:"brand-minimized",NAV_DROPDOWN_TOGGLE:"nav-dropdown-toggle",OPEN:"open",SIDEBAR_FIXED:"sidebar-fixed",SIDEBAR_MINIMIZED:"sidebar-minimized",SIDEBAR_OFF_CANVAS:"sidebar-off-canvas"},c={CLICK:"click",DESTROY:"destroy",INIT:"init",LOAD_DATA_API:"load.coreui.sidebar.data-api",TOGGLE:"toggle",UPDATE:"update"},u={BODY:"body",BRAND_MINIMIZER:".brand-minimizer",NAV_DROPDOWN_TOGGLE:".nav-dropdown-toggle",NAV_DROPDOWN_ITEMS:".nav-dropdown-items",NAV_ITEM:".nav-item",NAV_LINK:".nav-link",NAVIGATION_CONTAINER:".sidebar-nav",NAVIGATION:".sidebar-nav > .nav",SIDEBAR:".sidebar",SIDEBAR_MINIMIZER:".sidebar-minimizer",SIDEBAR_TOGGLER:".sidebar-toggler"},l=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],f=function(){function t(e){this._element=e,this.ps=null,this.perfectScrollbar(c.INIT),this.setActiveLink(),this._addEventListeners()}var r=t.prototype;return r.perfectScrollbar=function(e){var t=this;void 0!==n&&(e!==c.INIT||document.body.classList.contains(a.SIDEBAR_MINIMIZED)||(this.ps=this.makeScrollbar()),e===c.DESTROY&&this.destroyScrollbar(),e===c.TOGGLE&&(document.body.classList.contains(a.SIDEBAR_MINIMIZED)?this.destroyScrollbar():this.ps=this.makeScrollbar()),e!==c.UPDATE||document.body.classList.contains(a.SIDEBAR_MINIMIZED)||setTimeout(function(){t.destroyScrollbar(),t.ps=t.makeScrollbar()},o.transition))},r.makeScrollbar=function(e){void 0===e&&(e=u.NAVIGATION_CONTAINER);var t=new n(document.querySelector(e),{suppressScrollX:!0});return t.isRtl=!1,t},r.destroyScrollbar=function(){this.ps&&(this.ps.destroy(),this.ps=null)},r.setActiveLink=function(){e(u.NAVIGATION).find(u.NAV_LINK).each(function(t,n){var r=n,i=String(window.location).split("?")[0];"#"===i.substr(i.length-1)&&(i=i.slice(0,-1)),e(e(r))[0].href===i&&e(r).addClass(a.ACTIVE).parents(u.NAV_DROPDOWN_ITEMS).add(r).each(function(t,n){r=n,e(r).parent().addClass(a.OPEN)})})},r._addEventListeners=function(){var t=this;e(u.BRAND_MINIMIZER).on(c.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e(u.BODY).toggleClass(a.BRAND_MINIMIZED)}),e(u.NAV_DROPDOWN_TOGGLE).on(c.CLICK,function(n){n.preventDefault(),n.stopPropagation();var r=n.target;e(r).parent().toggleClass(a.OPEN),t.perfectScrollbar(c.UPDATE)}),e(u.SIDEBAR_MINIMIZER).on(c.CLICK,function(n){n.preventDefault(),n.stopPropagation(),e(u.BODY).toggleClass(a.SIDEBAR_MINIMIZED),t.perfectScrollbar(c.TOGGLE)}),e(u.SIDEBAR_TOGGLER).on(c.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;s(t,l)}),e(u.NAVIGATION+" > "+u.NAV_ITEM+" "+u.NAV_LINK+":not("+u.NAV_DROPDOWN_TOGGLE+")").on(c.CLICK,function(){document.body.classList.remove("sidebar-show")})},t._jQueryInterface=function(){return this.each(function(){var n=e(this),r=n.data("coreui.sidebar");r||(r=new t(this),n.data("coreui.sidebar",r))})},i(t,null,[{key:"VERSION",get:function(){return"2.0.18"}}]),t}();return e(window).on(c.LOAD_DATA_API,function(){var t=e(u.SIDEBAR);f._jQueryInterface.call(t)}),e.fn[t]=f._jQueryInterface,e.fn[t].Constructor=f,e.fn[t].noConflict=function(){return e.fn[t]=r,f._jQueryInterface},f}(t),l=function(){for(var e={},t=document.styleSheets,n="",r=t.length-1;r>-1;r--){for(var i=t[r].cssRules,o=i.length-1;o>-1;o--)if(".ie-custom-properties"===i[o].selectorText){n=i[o].cssText;break}if(n)break}return n=n.substring(n.lastIndexOf("{")+1,n.lastIndexOf("}")),n.split(";").forEach(function(t){if(t){var n=t.split(": ")[0],r=t.split(": ")[1];n&&r&&(e["--"+n.trim()]=r.trim())}}),e},f=function(){return Boolean(document.documentMode)&&document.documentMode>=10},d=function(e){return e.match(/^--.*/i)},p=function(e,t){void 0===t&&(t=document.body);var n;if(d(e)&&f()){n=l()[e]}else n=window.getComputedStyle(t,null).getPropertyValue(e).replace(/^\s/,"");return n},v=function(e){if(void 0===e)throw new Error("Hex color is not defined");if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");var t,n,r;return 7===e.length?(t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16)):(t=parseInt(e.substring(1,2),16),n=parseInt(e.substring(2,3),16),r=parseInt(e.substring(3,5),16)),"rgba("+t+", "+n+", "+r+")"},h=function(e,t){if(void 0===t&&(t=100),void 0===e)throw new Error("Hex color is not defined");if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");var n,r,i;return 7===e.length?(n=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),i=parseInt(e.substring(5,7),16)):(n=parseInt(e.substring(1,2),16),r=parseInt(e.substring(2,3),16),i=parseInt(e.substring(3,5),16)),"rgba("+n+", "+r+", "+i+", "+t/100+")"},m=function(e){if(void 0===e)throw new Error("Hex color is not defined");if("transparent"===e)return"#00000000";var t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(!t)throw new Error(e+" is not a valid rgb color");var n="0"+parseInt(t[1],10).toString(16),r="0"+parseInt(t[2],10).toString(16),i="0"+parseInt(t[3],10).toString(16);return"#"+n.slice(-2)+r.slice(-2)+i.slice(-2)};!function(e){if(void 0===e)throw new TypeError("CoreUI's JavaScript requires jQuery. jQuery must be included before CoreUI's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("CoreUI's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),window.getStyle=p,window.hexToRgb=v,window.hexToRgba=h,window.rgbToHex=m,e.AjaxLoad=o,e.AsideMenu=c,e.Sidebar=u,Object.defineProperty(e,"__esModule",{value:!0})}),function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=0)}({0:function(e,t,n){e.exports=n("F1kH")},"162o":function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("mypn"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n("DuR2"))},A6UI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={mounted:function(){console.log("Component mounted.")}}},DuR2:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},F1kH:function(e,t,n){window.Vue=n("I3G/"),Vue.component("example-component",n("x8/H")),new Vue({el:"#app"})},"I3G/":function(e,t,n){"use strict";(function(t,n){function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Object]"===Gn.call(e)}function u(e){return"[object RegExp]"===Gn.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function h(e,t){return zn.call(e,t)}function m(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function g(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function _(e){for(var t={},n=0;n-1)if(o&&!h(i,"default"))a=!1;else if(""===a||a===Xn(e)){var c=z(String,i.type);(c<0||s0&&(oe((c=e(c,(n||"")+"_"+s))[0])&&oe(l)&&(f[u]=k(l.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?oe(l)?f[u]=k(l.text+c):""!==c&&f.push(k(c)):oe(c)&&oe(l)?f[u]=k(l.text+c.text):(o(t._isVList)&&i(c.tag)&&r(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+s+"__"),f.push(c)));return f}(e):void 0}function oe(e){return i(e)&&i(e.text)&&!1===e.isComment}function ae(e,t){return(e.__esModule||Cr&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function se(e){return e.isComment&&e.asyncFactory}function ce(e){if(Array.isArray(e))for(var t=0;t=0||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function Ge(e){this._init(e)}function Ke(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=U(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)_e(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)we(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,rr.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),i[r]=a,a}}function We(e){return e&&(e.Ctor.options.name||e.tag)}function ze(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function qe(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=We(a.componentOptions);s&&!t(s)&&Je(n,o,r,i)}}}function Je(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,v(n,t)}function Ze(e){for(var t=e.data,n=e,r=e;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Qe(r.data,t));for(;i(n=n.parent);)n&&n.data&&(t=Qe(t,n.data));return function(e,t){return i(e)||i(t)?Xe(e,Ye(t)):""}(t.staticClass,t.class)}function Qe(e,t){return{staticClass:Xe(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Xe(e,t){return e?t?e+" "+t:e:t||""}function Ye(e){ -return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r-1?ft(e,t,n):$i(t)?Ti(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ai(t)?e.setAttribute(t,Ti(n)||"false"===n?"false":"true"):Ii(t)?Ti(n)?e.removeAttributeNS(xi,Oi(t)):e.setAttributeNS(xi,t,n):ft(e,t,n)}function ft(e,t,n){if(Ti(n))e.removeAttribute(t);else{if(dr&&!pr&&"TEXTAREA"===e.tagName&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}function dt(e,t){var n=t.elm,o=t.data,a=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Ze(t),c=n._transitionClasses;i(c)&&(s=Xe(s,Ye(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function pt(e){function t(){(a||(a=[])).push(e.slice(v,i).trim()),v=i+1}var n,r,i,o,a,s=!1,c=!1,u=!1,l=!1,f=0,d=0,p=0,v=0;for(i=0;i=0&&" "===(m=e.charAt(h));h--);m&&Gi.test(m)||(l=!0)}}else void 0===o?(v=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==v&&t(),a)for(i=0;i-1?{exp:e.slice(0,hi),key:'"'+e.slice(hi+1)+'"'}:{exp:e,key:null};for(pi=e,hi=mi=gi=0;!Ot();)Tt(vi=It())?Et(vi):91===vi&&kt(vi);return{exp:e.slice(0,mi),key:e.slice(mi+1,gi)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function It(){return pi.charCodeAt(++hi)}function Ot(){return hi>=di}function Tt(e){return 34===e||39===e}function kt(e){var t=1;for(mi=hi;!Ot();)if(Tt(e=It()))Et(e);else if(91===e&&t++,93===e&&t--,0===t){gi=hi;break}}function Et(e){for(var t=e;!Ot()&&(e=It())!==t;);}function St(e,t,n,r,i){var o;t=(o=t)._withTask||(o._withTask=function(){Br=!0;var e=o.apply(null,arguments);return Br=!1,e}),n&&(t=function(e,t,n){var r=yi;return function i(){null!==e.apply(null,arguments)&&Nt(t,i,n,r)}}(t,e,r)),yi.addEventListener(e,t,gr?{capture:r,passive:i}:r)}function Nt(e,t,n,r){(r||yi).removeEventListener(e,t._withTask||t,n)}function Dt(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},o=e.data.on||{};yi=t.elm,function(e){if(i(e[Ki])){var t=dr?"change":"input";e[t]=[].concat(e[Ki],e[t]||[]),delete e[Ki]}i(e[Wi])&&(e.change=[].concat(e[Wi],e.change||[]),delete e[Wi])}(n),te(n,o,St,Nt,t.context),yi=void 0}}function Lt(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in i(c.__ob__)&&(c=t.data.domProps=y({},c)),s)r(c[n])&&(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=o;var u=r(o)?"":String(o);jt(a,u)&&(a.value=u)}else a[n]=o}}}function jt(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.lazy)return!1;if(r.number)return d(n)!==d(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}function Mt(e){var t=Pt(e.style);return e.staticStyle?y(e.staticStyle,t):t}function Pt(e){return Array.isArray(e)?_(e):"string"==typeof e?Ji(e):e}function Rt(e,t){var n=t.data,o=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var a,s,c=t.elm,u=o.staticStyle,l=o.normalizedStyle||o.style||{},f=u||l,d=Pt(t.data.style)||{};t.data.normalizedStyle=i(d.__ob__)?y({},d):d;var p=function(e,t){for(var n,r={},i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Mt(i.data))&&y(r,n);(n=Mt(e.data))&&y(r,n);for(var o=e;o=o.parent;)o.data&&(n=Mt(o.data))&&y(r,n);return r}(t);for(s in f)r(p[s])&&Xi(c,s,"");for(s in p)(a=p[s])!==f[s]&&Xi(c,s,null==a?"":a)}}function Vt(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ft(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Bt(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,no(e.name||"v")),y(t,e),t}return"string"==typeof e?no(e):void 0}}function Ut(e){lo(function(){lo(e)})}function Ht(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Vt(e,t))}function Gt(e,t){e._transitionClasses&&v(e._transitionClasses,t),Ft(e,t)}function Kt(e,t,n){var r=Wt(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===io?so:uo,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=io,l=a,f=o.length):t===oo?u>0&&(n=oo,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?io:oo:null)?n===io?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===io&&fo.test(r[ao+"Property"])}}function zt(e,t){for(;e.length1}function Yt(e,t){!0!==t.data.show&&Jt(t)}function en(e,t,n){tn(e,t,n),(dr||vr)&&setTimeout(function(){tn(e,t,n)},0)}function tn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(w(rn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function nn(e,t){return t.every(function(t){return!w(t,e)})}function rn(e){return"_value"in e?e._value:e.value}function on(e){e.target.composing=!0}function an(e){e.target.composing&&(e.target.composing=!1,sn(e.target,"input"))}function sn(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function cn(e){return!e.componentInstance||e.data&&e.data.transition?e:cn(e.componentInstance._vnode)}function un(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?un(ce(t.children)):e}function ln(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[Jn(o)]=i[o];return t}function fn(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function dn(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function pn(e){e.data.newPos=e.elm.getBoundingClientRect()}function vn(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function hn(e,t){var n=t?Ao(t):wo;if(n.test(e)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(e);){(i=r.index)>c&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=pt(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var c=a.length-1;c>=i;c--)t.end&&t.end(a[c].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,c=t.isUnaryTag||er,u=t.canBeLeftOpenTag||er,l=0;e;){if(i=e,o&&Zo(o)){var f=0,d=o.toLowerCase(),p=Qo[d]||(Qo[d]=new RegExp("([\\s\\S]*?)(]*>)","i")),v=e.replace(p,function(e,n,r){return f=r.length,Zo(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),na(d,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-v.length,e=v,r(d,l-f,l)}else{var h=e.indexOf("<");if(0===h){if(Po.test(e)){var m=e.indexOf("--\x3e");if(m>=0){t.shouldKeepComment&&t.comment(e.substring(4,m)),n(m+3);continue}}if(Ro.test(e)){var g=e.indexOf("]>");if(g>=0){n(g+2);continue}}var y=e.match(Mo);if(y){n(y[0].length);continue}var _=e.match(jo);if(_){var b=l;n(_[0].length),r(_[1],b,l);continue}var w=function(){var t=e.match(Do);if(t){var r,i,o={tagName:t[1],attrs:[],start:l};for(n(t[0].length);!(r=e.match(Lo))&&(i=e.match(Eo));)n(i[0].length),o.attrs.push(i);if(r)return o.unarySlash=r[1],n(r[0].length),o.end=l,o}}();if(w){(function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&ko(n)&&r(o),u(n)&&o===n&&r(n));for(var l=c(n)||!!i,f=e.attrs.length,d=new Array(f),p=0;p=0){for(A=e.slice(h);!(jo.test(A)||Do.test(A)||Po.test(A)||Ro.test(A)||($=A.indexOf("<",1))<0);)h+=$,A=e.slice(h);C=e.substring(0,h),n(h)}h<0&&(C=e,e=""),t.chars&&C&&t.chars(C)}if(e===i){t.chars&&t.chars(e);break}}r()}(e,{warn:Fo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,a,u){var l=i&&i.ns||zo(e);dr&&"svg"===l&&(a=function(e){for(var t=[],n=0;n':'
',Ia.innerHTML.indexOf(" ")>0}var Un,Hn=Object.freeze({}),Gn=Object.prototype.toString,Kn=p("slot,component",!0),Wn=p("key,ref,slot,slot-scope,is"),zn=Object.prototype.hasOwnProperty,qn=/-(\w)/g,Jn=m(function(e){return e.replace(qn,function(e,t){return t?t.toUpperCase():""})}),Zn=m(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Qn=/\B([A-Z])/g,Xn=m(function(e){return e.replace(Qn,"-$1").toLowerCase()}),Yn=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},er=function(e,t,n){return!1},tr=function(e){return e},nr="data-server-rendered",rr=["component","directive","filter"],ir=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],or={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:er,isReservedAttr:er,isUnknownElement:er,getTagNamespace:b,parsePlatformTagName:tr,mustUseProp:er,_lifecycleHooks:ir},ar=/[^\w.$]/,sr="__proto__"in{},cr="undefined"!=typeof window,ur="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,lr=ur&&WXEnvironment.platform.toLowerCase(),fr=cr&&window.navigator.userAgent.toLowerCase(),dr=fr&&/msie|trident/.test(fr),pr=fr&&fr.indexOf("msie 9.0")>0,vr=fr&&fr.indexOf("edge/")>0,hr=(fr&&fr.indexOf("android"),fr&&/iphone|ipad|ipod|ios/.test(fr)||"ios"===lr),mr=(fr&&/chrome\/\d+/.test(fr),{}.watch),gr=!1;if(cr)try{var yr={};Object.defineProperty(yr,"passive",{get:function(){gr=!0}}),window.addEventListener("test-passive",null,yr)}catch(e){}var _r,br=function(){return void 0===Un&&(Un=!cr&&!ur&&void 0!==t&&"server"===t.process.env.VUE_ENV),Un},wr=cr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Cr="undefined"!=typeof Symbol&&I(Symbol)&&"undefined"!=typeof Reflect&&I(Reflect.ownKeys);_r="undefined"!=typeof Set&&I(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Ar=b,$r=0,xr=function(){this.id=$r++,this.subs=[]};xr.prototype.addSub=function(e){this.subs.push(e)},xr.prototype.removeSub=function(e){v(this.subs,e)},xr.prototype.depend=function(){xr.target&&xr.target.addDep(this)},xr.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;tei&&Jr[n].id>e.id;)n--;Jr.splice(n+1,0,e)}else Jr.push(e);Xr||(Xr=!0,X(ye))}}(this)},ni.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){q(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},ni.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ni.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},ni.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var ri={enumerable:!0,configurable:!0,get:b,set:b},ii={lazy:!0};Me(Pe.prototype);var oi={init:function(e,t,n,r){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var o=e;oi.prepatch(o,o)}else(e.componentInstance=function(e,t,n,r){var o={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;return i(a)&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new e.componentOptions.Ctor(o)}(e,qr,n,r)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,i){var o=!!(i||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==Hn);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i,e.$attrs=r.data.attrs||Hn,e.$listeners=n||Hn,t&&e.$options.props){S(!1);for(var a=e._props,s=e.$options._propKeys||[],c=0;c1?g(n):n;for(var r=g(arguments,1),i=0,o=n.length;iparseInt(this.max)&&Je(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return or}};Object.defineProperty(e,"config",t),e.util={warn:Ar,extend:y,mergeOptions:U,defineReactive:j},e.set=M,e.delete=P,e.nextTick=X,e.options=Object.create(null),rr.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,fi),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=g(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=U(this.options,e),this}}(e),Ke(e),function(e){rr.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Ge),Object.defineProperty(Ge.prototype,"$isServer",{get:br}),Object.defineProperty(Ge.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ge,"FunctionalRenderContext",{value:Pe}),Ge.version="2.5.17";var di,pi,vi,hi,mi,gi,yi,_i,bi=p("style,class"),wi=p("input,textarea,option,select,progress"),Ci=function(e,t,n){return"value"===n&&wi(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ai=p("contenteditable,draggable,spellcheck"),$i=p("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"),xi="http://www.w3.org/1999/xlink",Ii=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Oi=function(e){return Ii(e)?e.slice(6,e.length):""},Ti=function(e){return null==e||!1===e},ki={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ei=p("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"),Si=p("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),Ni=function(e){return Ei(e)||Si(e)},Di=Object.create(null),Li=p("text,number,password,search,email,tel,url"),ji=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(ki[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Mi={create:function(e,t){nt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(nt(e,!0),nt(t))},destroy:function(e){nt(e,!0)}},Pi=new Or("",{},[]),Ri=["create","activate","update","remove","destroy"],Vi={create:ot,update:ot,destroy:function(e){ot(e,Pi)}},Fi=Object.create(null),Bi=[Mi,Vi],Ui={create:ut,update:ut},Hi={create:dt,update:dt},Gi=/[\w).+\-_$\]]/,Ki="__r",Wi="__c",zi={create:Dt,update:Dt},qi={create:Lt,update:Lt},Ji=m(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}),Zi=/^--/,Qi=/\s*!important$/,Xi=function(e,t,n){if(Zi.test(t))e.style.setProperty(t,n);else if(Qi.test(n))e.style.setProperty(t,n.replace(Qi,""),"important");else{var r=eo(t);if(Array.isArray(n))for(var i=0,o=n.length;ip?v(e,r(o[b+1])?null:o[b+1].elm,o,d,b,a):d>b&&m(0,t,f,p)}(c,d,p,a,s):i(p)?(i(e.text)&&I.setTextContent(c,""),v(c,null,p,0,p.length-1,a)):i(d)?m(0,d,0,d.length-1):i(e.text)&&I.setTextContent(c,""):e.text!==t.text&&I.setTextContent(c,t.text),i(f)&&i(u=f.hook)&&i(u=u.postpatch)&&u(e,t)}}}function b(e,t,n){if(o(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1?Di[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Di[e]=/HTMLUnknownElement/.test(t.toString())},y(Ge.options.directives,ho),y(Ge.options.components,_o),Ge.prototype.__patch__=cr?po:b,Ge.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=kr),ge(e,"beforeMount"),new ni(e,function(){e._update(e._render(),n)},b,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,ge(e,"mounted")),e}(this,e=e&&cr?tt(e):void 0,t)},cr&&setTimeout(function(){or.devtools&&wr&&wr.emit("init",Ge)},0);var bo,wo=/\{\{((?:.|\n)+?)\}\}/g,Co=/[-.*+?^${}()|[\]\/\\]/g,Ao=m(function(e){var t=e[0].replace(Co,"\\$&"),n=e[1].replace(Co,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),$o={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=At(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ct(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},xo={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=At(e,"style");n&&(e.staticStyle=JSON.stringify(Ji(n)));var r=Ct(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Io=function(e){return(bo=bo||document.createElement("div")).innerHTML=e,bo.textContent},Oo=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),To=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ko=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Eo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,So="[a-zA-Z_][\\w\\-\\.]*",No="((?:"+So+"\\:)?"+So+")",Do=new RegExp("^<"+No),Lo=/^\s*(\/?)>/,jo=new RegExp("^<\\/"+No+"[^>]*>"),Mo=/^]+>/i,Po=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},Yo=/&(?:lt|gt|quot|amp);/g,ea=/&(?:lt|gt|quot|amp|#10|#9);/g,ta=p("pre,textarea",!0),na=function(e,t){return e&&ta(e)&&"\n"===t[0]},ra=/^@|^v-on:/,ia=/^v-|^@|^:/,oa=/([^]*?)\s+(?:in|of)\s+([^]*)/,aa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,sa=/^\(|\)$/g,ca=/:(.*)$/,ua=/^:|^v-bind:/,la=/\.[^.]+/g,fa=m(Io),da=/^xmlns:NS\d+/,pa=/^NS\d+:/,va=[$o,xo,{preTransformNode:function(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Ct(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=At(e,"v-if",!0),o=i?"&&("+i+")":"",a=null!=At(e,"v-else",!0),s=At(e,"v-else-if",!0),c=An(e);bn(c),_t(c,"type","checkbox"),_n(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+o,wn(c,{exp:c.if,block:c});var u=An(e);At(u,"v-for",!0),_t(u,"type","radio"),_n(u,t),wn(c,{exp:"("+n+")==='radio'"+o,block:u});var l=An(e);return At(l,"v-for",!0),_t(l,":type",n),_n(l,t),wn(c,{exp:i,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}],ha={expectHTML:!0,modules:va,directives:{model:function(e,t,n){var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return $t(e,r,i),!1;if("select"===o)!function(e,t,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+xt(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),wt(e,"change",r,null,!0)}(e,r,i);else if("input"===o&&"checkbox"===a)!function(e,t,n){var r=n&&n.number,i=Ct(e,"value")||"null",o=Ct(e,"true-value")||"true",a=Ct(e,"false-value")||"false";gt(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),wt(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+xt(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+xt(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+xt(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Ct(e,"value")||"null";gt(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),wt(e,"change",xt(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Ki:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=xt(t,l);c&&(f="if($event.target.composing)return;"+f),gt(e,"value","("+t+")"),wt(e,u,f,null,!0),(s||a)&&wt(e,"blur","$forceUpdate()")}(e,r,i);else if(!or.isReservedTag(o))return $t(e,r,i),!1;return!0},text:function(e,t){t.value&>(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&>(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:Oo,mustUseProp:Ci,canBeLeftOpenTag:To,isReservedTag:Ni,getTagNamespace:et,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(va)},ma=m(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))}),ga=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,ya=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,_a={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ba={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},wa=function(e){return"if("+e+")return null;"},Ca={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:wa("$event.target !== $event.currentTarget"),ctrl:wa("!$event.ctrlKey"),shift:wa("!$event.shiftKey"),alt:wa("!$event.altKey"),meta:wa("!$event.metaKey"),left:wa("'button' in $event && $event.button !== 0"),middle:wa("'button' in $event && $event.button !== 1"), -right:wa("'button' in $event && $event.button !== 2")},Aa={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:b},$a=function(e){this.options=e,this.warn=e.warn||ht,this.transforms=mt(e.modules,"transformCode"),this.dataGenFns=mt(e.modules,"genData"),this.directives=y(y({},Aa),e.directives);var t=e.isReservedTag||er;this.maybeComponent=function(e){return!t(e.tag)},this.onceId=0,this.staticRenderFns=[]};new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var xa,Ia,Oa=(xa=function(e,t){var n=yn(e.trim(),t);!1!==t.optimize&&$n(n,t);var r=Tn(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(t,n){var r=Object.create(e),i=[],o=[];if(r.warn=function(e,t){(t?o:i).push(e)},n)for(var a in n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=y(Object.create(e.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);var s=xa(t,r);return s.errors=i,s.tips=o,s}return{compile:t,compileToFunctions:function(e){var t=Object.create(null);return function(n,r,i){(r=y({},r)).warn,delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(t[o])return t[o];var a=e(n,r),s={},c=[];return s.render=Fn(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(e){return Fn(e,c)}),t[o]=s}}(t)}})(ha).compileToFunctions,Ta=!!cr&&Bn(!1),ka=!!cr&&Bn(!0),Ea=m(function(e){var t=tt(e);return t&&t.innerHTML}),Sa=Ge.prototype.$mount;Ge.prototype.$mount=function(e,t){if((e=e&&tt(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Ea(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=Oa(r,{shouldDecodeNewlines:Ta,shouldDecodeNewlinesForHref:ka,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Sa.call(this,e,t)},Ge.compile=Oa,e.exports=Ge}).call(t,n("DuR2"),n("162o").setImmediate)},MxN9:function(e,t){e.exports={render:function(){return this.$createElement,this._self._c,this._m(0)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"container"},[t("div",{staticClass:"row justify-content-center"},[t("div",{staticClass:"col-md-8"},[t("div",{staticClass:"card card-default"},[t("div",{staticClass:"card-header"},[this._v("Example Component")]),this._v(" "),t("div",{staticClass:"card-body"},[this._v("\n I'm an example component.\n ")])])])])])}]}},"VU/8":function(e,t){e.exports=function(e,t,n,r,i,o){var a,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(a=e,s=e.default);var u,l="function"==typeof s?s.options:s;if(t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId=i),o?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=u):r&&(u=r),u){var f=l.functional,d=f?l.render:l.beforeCreate;f?(l._injectStyles=u,l.render=function(e,t){return u.call(t),d(e,t)}):l.beforeCreate=d?[].concat(d,u):[u]}return{esModule:a,exports:s,options:l}}},W2nU:function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function o(){v&&d&&(v=!1,d.length?p=d.concat(p):h=-1,p.length&&a())}function a(){if(!v){var e=i(o);v=!0;for(var t=p.length;t;){for(d=p,p=[];++h1)for(var n=1;nn+1&&e(t,n+1)},document.getElementsByTagName("body")[0].appendChild(o)};e.ajax({type:"GET",url:o.subpagesDirectory+t,dataType:"html",beforeSend:function(){e(a.VIEW_SCRIPT).remove()},success:function(r){var o=document.createElement("div");o.innerHTML=r;var a=Array.from(o.querySelectorAll("script")).map(function(e){return e.attributes.getNamedItem("src").nodeValue});o.querySelectorAll("script").forEach(function(e){return e.parentNode.removeChild(e)}),e("body").animate({scrollTop:0},0),e(n).html(o),a.length&&i(a),window.location.hash=t},error:function(){window.location.href=o.errorPage}})},n.setUpUrl=function(t){e(a.NAV_LINK).removeClass(r.ACTIVE),e(a.NAV_DROPDOWN).removeClass(r.OPEN),e(a.NAV_DROPDOWN+':has(a[href="'+t.replace(/^\//,"").split("?")[0]+'"])').addClass(r.OPEN),e(a.NAV_ITEM+' a[href="'+t.replace(/^\//,"").split("?")[0]+'"]').addClass(r.ACTIVE),this.loadPage(t)},n.loadBlank=function(e){window.open(e)},n.loadTop=function(e){window.location=e},n._getConfig=function(e){return e=Object.assign({},s,e)},n._addEventListeners=function(){var t=this;e(document).on(i.CLICK,a.NAV_LINK+'[href!="#"]',function(e){e.preventDefault(),e.stopPropagation(),"_top"===e.currentTarget.target?t.loadTop(e.currentTarget.href):"_blank"===e.currentTarget.target?t.loadBlank(e.currentTarget.href):t.setUpUrl(e.currentTarget.getAttribute("href"))})},t._jQueryInterface=function(n){return this.each(function(){var r=e(this).data("coreui.ajaxLoad"),o="object"==typeof n&&n;r||(r=new t(this,o),e(this).data("coreui.ajaxLoad",r))})},o(t,null,[{key:"VERSION",get:function(){return"2.0.18"}},{key:"Default",get:function(){return s}}]),t}();return e.fn[t]=c._jQueryInterface,e.fn[t].Constructor=c,e.fn[t].noConflict=function(){return e.fn[t]=n,c._jQueryInterface},c}(t),a=function(e){return-1!==e.map(function(e){return document.body.classList.contains(e)}).indexOf(!0)},s=function(e,t){var n=t.indexOf(e),r=t.slice(0,n+1);a(r)?r.map(function(e){return document.body.classList.remove(e)}):document.body.classList.add(e)},c=function(e){var t="aside-menu",n="coreui.aside-menu",r=e.fn[t],i={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},a={BODY:"body",ASIDE_MENU:".aside-menu",ASIDE_MENU_TOGGLER:".aside-menu-toggler"},c=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],u=function(){function t(e){this._element=e,this._addEventListeners()}return t.prototype._addEventListeners=function(){e(a.ASIDE_MENU_TOGGLER).on(i.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;s(t,c)})},t._jQueryInterface=function(){return this.each(function(){var r=e(this),o=r.data(n);o||(o=new t(this),r.data(n,o))})},o(t,null,[{key:"VERSION",get:function(){return"2.0.18"}}]),t}();return e(window).on(i.LOAD_DATA_API,function(){var t=e(a.ASIDE_MENU);u._jQueryInterface.call(t)}),e.fn[t]=u._jQueryInterface,e.fn[t].Constructor=u,e.fn[t].noConflict=function(){return e.fn[t]=r,u._jQueryInterface},u}(t),u=function(e){var t="sidebar",r=e.fn[t],i={transition:400},a={ACTIVE:"active",BRAND_MINIMIZED:"brand-minimized",NAV_DROPDOWN_TOGGLE:"nav-dropdown-toggle",OPEN:"open",SIDEBAR_FIXED:"sidebar-fixed",SIDEBAR_MINIMIZED:"sidebar-minimized",SIDEBAR_OFF_CANVAS:"sidebar-off-canvas"},c={CLICK:"click",DESTROY:"destroy",INIT:"init",LOAD_DATA_API:"load.coreui.sidebar.data-api",TOGGLE:"toggle",UPDATE:"update"},u={BODY:"body",BRAND_MINIMIZER:".brand-minimizer",NAV_DROPDOWN_TOGGLE:".nav-dropdown-toggle",NAV_DROPDOWN_ITEMS:".nav-dropdown-items",NAV_ITEM:".nav-item",NAV_LINK:".nav-link",NAVIGATION_CONTAINER:".sidebar-nav",NAVIGATION:".sidebar-nav > .nav",SIDEBAR:".sidebar",SIDEBAR_MINIMIZER:".sidebar-minimizer",SIDEBAR_TOGGLER:".sidebar-toggler"},l=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],f=function(){function t(e){this._element=e,this.ps=null,this.perfectScrollbar(c.INIT),this.setActiveLink(),this._addEventListeners()}var r=t.prototype;return r.perfectScrollbar=function(e){var t=this;void 0!==n&&(e!==c.INIT||document.body.classList.contains(a.SIDEBAR_MINIMIZED)||(this.ps=this.makeScrollbar()),e===c.DESTROY&&this.destroyScrollbar(),e===c.TOGGLE&&(document.body.classList.contains(a.SIDEBAR_MINIMIZED)?this.destroyScrollbar():this.ps=this.makeScrollbar()),e!==c.UPDATE||document.body.classList.contains(a.SIDEBAR_MINIMIZED)||setTimeout(function(){t.destroyScrollbar(),t.ps=t.makeScrollbar()},i.transition))},r.makeScrollbar=function(e){void 0===e&&(e=u.NAVIGATION_CONTAINER);var t=new n(document.querySelector(e),{suppressScrollX:!0});return t.isRtl=!1,t},r.destroyScrollbar=function(){this.ps&&(this.ps.destroy(),this.ps=null)},r.setActiveLink=function(){e(u.NAVIGATION).find(u.NAV_LINK).each(function(t,n){var r=n,o=String(window.location).split("?")[0];"#"===o.substr(o.length-1)&&(o=o.slice(0,-1)),e(e(r))[0].href===o&&e(r).addClass(a.ACTIVE).parents(u.NAV_DROPDOWN_ITEMS).add(r).each(function(t,n){r=n,e(r).parent().addClass(a.OPEN)})})},r._addEventListeners=function(){var t=this;e(u.BRAND_MINIMIZER).on(c.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e(u.BODY).toggleClass(a.BRAND_MINIMIZED)}),e(u.NAV_DROPDOWN_TOGGLE).on(c.CLICK,function(n){n.preventDefault(),n.stopPropagation();var r=n.target;e(r).parent().toggleClass(a.OPEN),t.perfectScrollbar(c.UPDATE)}),e(u.SIDEBAR_MINIMIZER).on(c.CLICK,function(n){n.preventDefault(),n.stopPropagation(),e(u.BODY).toggleClass(a.SIDEBAR_MINIMIZED),t.perfectScrollbar(c.TOGGLE)}),e(u.SIDEBAR_TOGGLER).on(c.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dataset.toggle;s(t,l)}),e(u.NAVIGATION+" > "+u.NAV_ITEM+" "+u.NAV_LINK+":not("+u.NAV_DROPDOWN_TOGGLE+")").on(c.CLICK,function(){document.body.classList.remove("sidebar-show")})},t._jQueryInterface=function(){return this.each(function(){var n=e(this),r=n.data("coreui.sidebar");r||(r=new t(this),n.data("coreui.sidebar",r))})},o(t,null,[{key:"VERSION",get:function(){return"2.0.18"}}]),t}();return e(window).on(c.LOAD_DATA_API,function(){var t=e(u.SIDEBAR);f._jQueryInterface.call(t)}),e.fn[t]=f._jQueryInterface,e.fn[t].Constructor=f,e.fn[t].noConflict=function(){return e.fn[t]=r,f._jQueryInterface},f}(t),l=function(){for(var e={},t=document.styleSheets,n="",r=t.length-1;r>-1;r--){for(var o=t[r].cssRules,i=o.length-1;i>-1;i--)if(".ie-custom-properties"===o[i].selectorText){n=o[i].cssText;break}if(n)break}return n=n.substring(n.lastIndexOf("{")+1,n.lastIndexOf("}")),n.split(";").forEach(function(t){if(t){var n=t.split(": ")[0],r=t.split(": ")[1];n&&r&&(e["--"+n.trim()]=r.trim())}}),e},f=function(){return Boolean(document.documentMode)&&document.documentMode>=10},d=function(e){return e.match(/^--.*/i)},p=function(e,t){void 0===t&&(t=document.body);var n;if(d(e)&&f()){n=l()[e]}else n=window.getComputedStyle(t,null).getPropertyValue(e).replace(/^\s/,"");return n},v=function(e){if(void 0===e)throw new Error("Hex color is not defined");if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");var t,n,r;return 7===e.length?(t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16)):(t=parseInt(e.substring(1,2),16),n=parseInt(e.substring(2,3),16),r=parseInt(e.substring(3,5),16)),"rgba("+t+", "+n+", "+r+")"},h=function(e,t){if(void 0===t&&(t=100),void 0===e)throw new Error("Hex color is not defined");if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");var n,r,o;return 7===e.length?(n=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),o=parseInt(e.substring(5,7),16)):(n=parseInt(e.substring(1,2),16),r=parseInt(e.substring(2,3),16),o=parseInt(e.substring(3,5),16)),"rgba("+n+", "+r+", "+o+", "+t/100+")"},m=function(e){if(void 0===e)throw new Error("Hex color is not defined");if("transparent"===e)return"#00000000";var t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(!t)throw new Error(e+" is not a valid rgb color");var n="0"+parseInt(t[1],10).toString(16),r="0"+parseInt(t[2],10).toString(16),o="0"+parseInt(t[3],10).toString(16);return"#"+n.slice(-2)+r.slice(-2)+o.slice(-2)};!function(e){if(void 0===e)throw new TypeError("CoreUI's JavaScript requires jQuery. jQuery must be included before CoreUI's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("CoreUI's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),window.getStyle=p,window.hexToRgb=v,window.hexToRgba=h,window.rgbToHex=m,e.AjaxLoad=i,e.AsideMenu=c,e.Sidebar=u,Object.defineProperty(e,"__esModule",{value:!0})}),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=0)}({0:function(e,t,n){e.exports=n("F1kH")},"162o":function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;t.setTimeout=function(){return new r(i.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("mypn"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n("DuR2"))},"21It":function(e,t,n){"use strict";var r=n("FtD3");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"5VQ+":function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},"7GwW":function(e,t,n){"use strict";var r=n("cGG2"),o=n("21It"),i=n("DQCr"),a=n("oJlt"),s=n("GHBc"),c=n("FtD3"),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("thJu");e.exports=function(e){return new Promise(function(t,l){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest,v="onreadystatechange",h=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(e.url)||(p=new window.XDomainRequest,v="onload",h=!0,p.onprogress=function(){},p.ontimeout=function(){}),e.auth){var m=e.auth.username||"",g=e.auth.password||"";d.Authorization="Basic "+u(m+":"+g)}if(p.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p[v]=function(){if(p&&(4===p.readyState||h)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:e,request:p};o(t,l,r),p=null}},p.onerror=function(){l(c("Network Error",e,null,p)),p=null},p.ontimeout=function(){l(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=n("p1b6"),_=(e.withCredentials||s(e.url))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;_&&(d[e.xsrfHeaderName]=_)}if("setRequestHeader"in p&&r.forEach(d,function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)}),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){p&&(p.abort(),l(e),p=null)}),void 0===f&&(f=null),p.send(f)})}},A6UI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={mounted:function(){console.log("Component mounted.")}}},DQCr:function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n("cGG2");e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,function(e,t){null!==e&&void 0!==e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},"Dlg+":function(e,t,n){window.axios=n("mtWM"),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},DuR2:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},F1kH:function(e,t,n){n("Dlg+"),window.Vue=n("I3G/"),Vue.component("example-component",n("x8/H")),Vue.config.devtools=!0,new Vue({el:"#app"})},FtD3:function(e,t,n){"use strict";var r=n("t8qj");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},GHBc:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return!0}},"I3G/":function(e,t,n){"use strict";(function(t,n){function r(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Object]"===Hn.call(e)}function u(e){return"[object RegExp]"===Hn.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}function h(e,t){return Wn.call(e,t)}function m(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function g(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function _(e){for(var t={},n=0;n-1)if(i&&!h(o,"default"))a=!1;else if(""===a||a===Zn(e)){var c=W(String,o.type);(c<0||s0&&(ie((c=e(c,(n||"")+"_"+s))[0])&&ie(l)&&(f[u]=E(l.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?ie(l)?f[u]=E(l.text+c):""!==c&&f.push(E(c)):ie(c)&&ie(l)?f[u]=E(l.text+c.text):(i(t._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+s+"__"),f.push(c)));return f}(e):void 0}function ie(e){return o(e)&&o(e.text)&&!1===e.isComment}function ae(e,t){return(e.__esModule||Cr&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function se(e){return e.isComment&&e.asyncFactory}function ce(e){if(Array.isArray(e))for(var t=0;t=0||n.indexOf(e[o])<0)&&r.push(e[o]);return r}return e}function He(e){this._init(e)}function qe(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=U(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)_e(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)we(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,rr.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),o[r]=a,a}}function Ke(e){return e&&(e.Ctor.options.name||e.tag)}function We(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function ze(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Ke(a.componentOptions);s&&!t(s)&&Je(n,i,r,o)}}}function Je(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,v(n,t)}function Xe(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Qe(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Qe(t,n.data));return function(e,t){return o(e)||o(t)?Ze(e,Ye(t)):""}(t.staticClass,t.class)}function Qe(e,t){return{staticClass:Ze(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Ze(e,t){return e?t?e+" "+t:e:t||""}function Ye(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r-1?ft(e,t,n):$o(t)?Eo(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ao(t)?e.setAttribute(t,Eo(n)||"false"===n?"false":"true"):Oo(t)?Eo(n)?e.removeAttributeNS(Io,To(t)):e.setAttributeNS(Io,t,n):ft(e,t,n)}function ft(e,t,n){if(Eo(n))e.removeAttribute(t);else{if(dr&&!pr&&"TEXTAREA"===e.tagName&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}function dt(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Xe(t),c=n._transitionClasses;o(c)&&(s=Ze(s,Ye(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function pt(e){function t(){(a||(a=[])).push(e.slice(v,o).trim()),v=o+1}var n,r,o,i,a,s=!1,c=!1,u=!1,l=!1,f=0,d=0,p=0,v=0;for(o=0;o=0&&" "===(m=e.charAt(h));h--);m&&qo.test(m)||(l=!0)}}else void 0===i?(v=o+1,i=e.slice(0,o).trim()):t();if(void 0===i?i=e.slice(0,o).trim():0!==v&&t(),a)for(o=0;o-1?{exp:e.slice(0,mo),key:'"'+e.slice(mo+1)+'"'}:{exp:e,key:null};for(vo=e,mo=go=yo=0;!Ot();)Tt(ho=It())?kt(ho):91===ho&&Et(ho);return{exp:e.slice(0,go),key:e.slice(go+1,yo)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function It(){return vo.charCodeAt(++mo)}function Ot(){return mo>=po}function Tt(e){return 34===e||39===e}function Et(e){var t=1;for(go=mo;!Ot();)if(Tt(e=It()))kt(e);else if(91===e&&t++,93===e&&t--,0===t){yo=mo;break}}function kt(e){for(var t=e;!Ot()&&(e=It())!==t;);}function St(e,t,n,r,o){var i;t=(i=t)._withTask||(i._withTask=function(){Vr=!0;var e=i.apply(null,arguments);return Vr=!1,e}),n&&(t=function(e,t,n){var r=_o;return function o(){null!==e.apply(null,arguments)&&Nt(t,o,n,r)}}(t,e,r)),_o.addEventListener(e,t,gr?{capture:r,passive:o}:r)}function Nt(e,t,n,r){(r||_o).removeEventListener(e,t._withTask||t,n)}function Lt(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};_o=t.elm,function(e){if(o(e[Ko])){var t=dr?"change":"input";e[t]=[].concat(e[Ko],e[t]||[]),delete e[Ko]}o(e[Wo])&&(e.change=[].concat(e[Wo],e.change||[]),delete e[Wo])}(n),te(n,i,St,Nt,t.context),_o=void 0}}function Dt(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in o(c.__ob__)&&(c=t.data.domProps=y({},c)),s)r(c[n])&&(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var u=r(i)?"":String(i);jt(a,u)&&(a.value=u)}else a[n]=i}}}function jt(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return d(n)!==d(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}function Rt(e){var t=Pt(e.style);return e.staticStyle?y(e.staticStyle,t):t}function Pt(e){return Array.isArray(e)?_(e):"string"==typeof e?Xo(e):e}function Mt(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,c=t.elm,u=i.staticStyle,l=i.normalizedStyle||i.style||{},f=u||l,d=Pt(t.data.style)||{};t.data.normalizedStyle=o(d.__ob__)?y({},d):d;var p=function(e,t){for(var n,r={},o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=Rt(o.data))&&y(r,n);(n=Rt(e.data))&&y(r,n);for(var i=e;i=i.parent;)i.data&&(n=Rt(i.data))&&y(r,n);return r}(t);for(s in f)r(p[s])&&Yo(c,s,"");for(s in p)(a=p[s])!==f[s]&&Yo(c,s,null==a?"":a)}}function Bt(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ft(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Vt(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,ri(e.name||"v")),y(t,e),t}return"string"==typeof e?ri(e):void 0}}function Ut(e){fi(function(){fi(e)})}function Gt(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Bt(e,t))}function Ht(e,t){e._transitionClasses&&v(e._transitionClasses,t),Ft(e,t)}function qt(e,t,n){var r=Kt(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===ii?ci:li,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=ii,l=a,f=i.length):t===ai?u>0&&(n=ai,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?ii:ai:null)?n===ii?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===ii&&di.test(r[si+"Property"])}}function Wt(e,t){for(;e.length1}function Yt(e,t){!0!==t.data.show&&Jt(t)}function en(e,t,n){tn(e,t,n),(dr||vr)&&setTimeout(function(){tn(e,t,n)},0)}function tn(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=e.options.length;s-1,a.selected!==i&&(a.selected=i);else if(w(rn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function nn(e,t){return t.every(function(t){return!w(t,e)})}function rn(e){return"_value"in e?e._value:e.value}function on(e){e.target.composing=!0}function an(e){e.target.composing&&(e.target.composing=!1,sn(e.target,"input"))}function sn(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function cn(e){return!e.componentInstance||e.data&&e.data.transition?e:cn(e.componentInstance._vnode)}function un(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?un(ce(t.children)):e}function ln(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[Jn(i)]=o[i];return t}function fn(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function dn(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function pn(e){e.data.newPos=e.elm.getBoundingClientRect()}function vn(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}function hn(e,t){var n=t?xi(t):wi;if(n.test(e)){for(var r,o,i,a=[],s=[],c=n.lastIndex=0;r=n.exec(e);){(o=r.index)>c&&(s.push(i=e.slice(c,o)),a.push(JSON.stringify(i)));var u=pt(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=o+r[0].length}return c=0&&a[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var c=a.length-1;c>=o;c--)t.end&&t.end(a[c].tag,n,r);a.length=o,i=o&&a[o-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var o,i,a=[],s=t.expectHTML,c=t.isUnaryTag||er,u=t.canBeLeftOpenTag||er,l=0;e;){if(o=e,i&&Xi(i)){var f=0,d=i.toLowerCase(),p=Qi[d]||(Qi[d]=new RegExp("([\\s\\S]*?)(]*>)","i")),v=e.replace(p,function(e,n,r){return f=r.length,Xi(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),na(d,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-v.length,e=v,r(d,l-f,l)}else{var h=e.indexOf("<");if(0===h){if(Pi.test(e)){var m=e.indexOf("--\x3e");if(m>=0){t.shouldKeepComment&&t.comment(e.substring(4,m)),n(m+3);continue}}if(Mi.test(e)){var g=e.indexOf("]>");if(g>=0){n(g+2);continue}}var y=e.match(Ri);if(y){n(y[0].length);continue}var _=e.match(ji);if(_){var b=l;n(_[0].length),r(_[1],b,l);continue}var w=function(){var t=e.match(Li);if(t){var r,o,i={tagName:t[1],attrs:[],start:l};for(n(t[0].length);!(r=e.match(Di))&&(o=e.match(ki));)n(o[0].length),i.attrs.push(o);if(r)return i.unarySlash=r[1],n(r[0].length),i.end=l,i}}();if(w){(function(e){var n=e.tagName,o=e.unarySlash;s&&("p"===i&&Ei(n)&&r(i),u(n)&&i===n&&r(n));for(var l=c(n)||!!o,f=e.attrs.length,d=new Array(f),p=0;p=0){for(x=e.slice(h);!(ji.test(x)||Li.test(x)||Pi.test(x)||Mi.test(x)||(A=x.indexOf("<",1))<0);)h+=A,x=e.slice(h);C=e.substring(0,h),n(h)}h<0&&(C=e,e=""),t.chars&&C&&t.chars(C)}if(e===o){t.chars&&t.chars(e);break}}r()}(e,{warn:Fi,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,a,u){var l=o&&o.ns||Wi(e);dr&&"svg"===l&&(a=function(e){for(var t=[],n=0;n':'
',Ia.innerHTML.indexOf(" ")>0}var Un,Gn=Object.freeze({}),Hn=Object.prototype.toString,qn=p("slot,component",!0),Kn=p("key,ref,slot,slot-scope,is"),Wn=Object.prototype.hasOwnProperty,zn=/-(\w)/g,Jn=m(function(e){return e.replace(zn,function(e,t){return t?t.toUpperCase():""})}),Xn=m(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Qn=/\B([A-Z])/g,Zn=m(function(e){return e.replace(Qn,"-$1").toLowerCase()}),Yn=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},er=function(e,t,n){return!1},tr=function(e){return e},nr="data-server-rendered",rr=["component","directive","filter"],or=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ir={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:er,isReservedAttr:er,isUnknownElement:er,getTagNamespace:b,parsePlatformTagName:tr,mustUseProp:er,_lifecycleHooks:or},ar=/[^\w.$]/,sr="__proto__"in{},cr="undefined"!=typeof window,ur="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,lr=ur&&WXEnvironment.platform.toLowerCase(),fr=cr&&window.navigator.userAgent.toLowerCase(),dr=fr&&/msie|trident/.test(fr),pr=fr&&fr.indexOf("msie 9.0")>0,vr=fr&&fr.indexOf("edge/")>0,hr=(fr&&fr.indexOf("android"),fr&&/iphone|ipad|ipod|ios/.test(fr)||"ios"===lr),mr=(fr&&/chrome\/\d+/.test(fr),{}.watch),gr=!1;if(cr)try{var yr={};Object.defineProperty(yr,"passive",{get:function(){gr=!0}}),window.addEventListener("test-passive",null,yr)}catch(e){}var _r,br=function(){return void 0===Un&&(Un=!cr&&!ur&&void 0!==t&&"server"===t.process.env.VUE_ENV),Un},wr=cr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Cr="undefined"!=typeof Symbol&&I(Symbol)&&"undefined"!=typeof Reflect&&I(Reflect.ownKeys);_r="undefined"!=typeof Set&&I(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var xr=b,Ar=0,$r=function(){this.id=Ar++,this.subs=[]};$r.prototype.addSub=function(e){this.subs.push(e)},$r.prototype.removeSub=function(e){v(this.subs,e)},$r.prototype.depend=function(){$r.target&&$r.target.addDep(this)},$r.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;teo&&Jr[n].id>e.id;)n--;Jr.splice(n+1,0,e)}else Jr.push(e);Zr||(Zr=!0,Z(ye))}}(this)},no.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){z(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},no.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},no.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},no.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var ro={enumerable:!0,configurable:!0,get:b,set:b},oo={lazy:!0};Re(Pe.prototype);var io={init:function(e,t,n,r){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var i=e;io.prepatch(i,i)}else(e.componentInstance=function(e,t,n,r){var i={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;return o(a)&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns),new e.componentOptions.Ctor(i)}(e,zr,n,r)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,o){var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==Gn);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,e.$attrs=r.data.attrs||Gn,e.$listeners=n||Gn,t&&e.$options.props){S(!1);for(var a=e._props,s=e.$options._propKeys||[],c=0;c1?g(n):n;for(var r=g(arguments,1),o=0,i=n.length;oparseInt(this.max)&&Je(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return ir}};Object.defineProperty(e,"config",t),e.util={warn:xr,extend:y,mergeOptions:U,defineReactive:j},e.set=R,e.delete=P,e.nextTick=Z,e.options=Object.create(null),rr.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,fo),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=g(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=U(this.options,e),this}}(e),qe(e),function(e){rr.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(He),Object.defineProperty(He.prototype,"$isServer",{get:br}),Object.defineProperty(He.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(He,"FunctionalRenderContext",{value:Pe}),He.version="2.5.17";var po,vo,ho,mo,go,yo,_o,bo,wo=p("style,class"),Co=p("input,textarea,option,select,progress"),xo=function(e,t,n){return"value"===n&&Co(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ao=p("contenteditable,draggable,spellcheck"),$o=p("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"),Io="http://www.w3.org/1999/xlink",Oo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},To=function(e){return Oo(e)?e.slice(6,e.length):""},Eo=function(e){return null==e||!1===e},ko={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},So=p("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"),No=p("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),Lo=function(e){return So(e)||No(e)},Do=Object.create(null),jo=p("text,number,password,search,email,tel,url"),Ro=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(ko[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Po={create:function(e,t){nt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(nt(e,!0),nt(t))},destroy:function(e){nt(e,!0)}},Mo=new Or("",{},[]),Bo=["create","activate","update","remove","destroy"],Fo={create:it,update:it,destroy:function(e){it(e,Mo)}},Vo=Object.create(null),Uo=[Po,Fo],Go={create:ut,update:ut},Ho={create:dt,update:dt},qo=/[\w).+\-_$\]]/,Ko="__r",Wo="__c",zo={create:Lt,update:Lt},Jo={create:Dt,update:Dt},Xo=m(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}),Qo=/^--/,Zo=/\s*!important$/,Yo=function(e,t,n){if(Qo.test(t))e.style.setProperty(t,n);else if(Zo.test(n))e.style.setProperty(t,n.replace(Zo,""),"important");else{var r=ti(t);if(Array.isArray(n))for(var o=0,i=n.length;op?v(e,r(i[b+1])?null:i[b+1].elm,i,d,b,a):d>b&&m(0,t,f,p)}(c,d,p,a,s):o(p)?(o(e.text)&&I.setTextContent(c,""),v(c,null,p,0,p.length-1,a)):o(d)?m(0,d,0,d.length-1):o(e.text)&&I.setTextContent(c,""):e.text!==t.text&&I.setTextContent(c,t.text),o(f)&&o(u=f.hook)&&o(u=u.postpatch)&&u(e,t)}}}function b(e,t,n){if(i(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1?Do[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Do[e]=/HTMLUnknownElement/.test(t.toString())},y(He.options.directives,hi),y(He.options.components,_i),He.prototype.__patch__=cr?pi:b,He.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=Er),ge(e,"beforeMount"),new no(e,function(){e._update(e._render(),n)},b,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,ge(e,"mounted")),e}(this,e=e&&cr?tt(e):void 0,t)},cr&&setTimeout(function(){ir.devtools&&wr&&wr.emit("init",He)},0);var bi,wi=/\{\{((?:.|\n)+?)\}\}/g,Ci=/[-.*+?^${}()|[\]\/\\]/g,xi=m(function(e){var t=e[0].replace(Ci,"\\$&"),n=e[1].replace(Ci,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),Ai={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=xt(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ct(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},$i={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=xt(e,"style");n&&(e.staticStyle=JSON.stringify(Xo(n)));var r=Ct(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Ii=function(e){return(bi=bi||document.createElement("div")).innerHTML=e,bi.textContent +},Oi=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ti=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ei=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ki=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Si="[a-zA-Z_][\\w\\-\\.]*",Ni="((?:"+Si+"\\:)?"+Si+")",Li=new RegExp("^<"+Ni),Di=/^\s*(\/?)>/,ji=new RegExp("^<\\/"+Ni+"[^>]*>"),Ri=/^]+>/i,Pi=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},Yi=/&(?:lt|gt|quot|amp);/g,ea=/&(?:lt|gt|quot|amp|#10|#9);/g,ta=p("pre,textarea",!0),na=function(e,t){return e&&ta(e)&&"\n"===t[0]},ra=/^@|^v-on:/,oa=/^v-|^@|^:/,ia=/([^]*?)\s+(?:in|of)\s+([^]*)/,aa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,sa=/^\(|\)$/g,ca=/:(.*)$/,ua=/^:|^v-bind:/,la=/\.[^.]+/g,fa=m(Ii),da=/^xmlns:NS\d+/,pa=/^NS\d+:/,va=[Ai,$i,{preTransformNode:function(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Ct(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var o=xt(e,"v-if",!0),i=o?"&&("+o+")":"",a=null!=xt(e,"v-else",!0),s=xt(e,"v-else-if",!0),c=xn(e);bn(c),_t(c,"type","checkbox"),_n(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+i,wn(c,{exp:c.if,block:c});var u=xn(e);xt(u,"v-for",!0),_t(u,"type","radio"),_n(u,t),wn(c,{exp:"("+n+")==='radio'"+i,block:u});var l=xn(e);return xt(l,"v-for",!0),_t(l,":type",n),_n(l,t),wn(c,{exp:o,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}],ha={expectHTML:!0,modules:va,directives:{model:function(e,t,n){var r=t.value,o=t.modifiers,i=e.tag,a=e.attrsMap.type;if(e.component)return At(e,r,o),!1;if("select"===i)!function(e,t,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+$t(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),wt(e,"change",r,null,!0)}(e,r,o);else if("input"===i&&"checkbox"===a)!function(e,t,n){var r=n&&n.number,o=Ct(e,"value")||"null",i=Ct(e,"true-value")||"true",a=Ct(e,"false-value")||"false";gt(e,"checked","Array.isArray("+t+")?_i("+t+","+o+")>-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),wt(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+$t(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+$t(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+$t(t,"$$c")+"}",null,!0)}(e,r,o);else if("input"===i&&"radio"===a)!function(e,t,n){var r=n&&n.number,o=Ct(e,"value")||"null";gt(e,"checked","_q("+t+","+(o=r?"_n("+o+")":o)+")"),wt(e,"change",$t(t,o),null,!0)}(e,r,o);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?Ko:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=$t(t,l);c&&(f="if($event.target.composing)return;"+f),gt(e,"value","("+t+")"),wt(e,u,f,null,!0),(s||a)&&wt(e,"blur","$forceUpdate()")}(e,r,o);else if(!ir.isReservedTag(i))return At(e,r,o),!1;return!0},text:function(e,t){t.value&>(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&>(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:Oi,mustUseProp:xo,canBeLeftOpenTag:Ti,isReservedTag:Lo,getTagNamespace:et,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(va)},ma=m(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))}),ga=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,ya=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,_a={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ba={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},wa=function(e){return"if("+e+")return null;"},Ca={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:wa("$event.target !== $event.currentTarget"),ctrl:wa("!$event.ctrlKey"),shift:wa("!$event.shiftKey"),alt:wa("!$event.altKey"),meta:wa("!$event.metaKey"),left:wa("'button' in $event && $event.button !== 0"),middle:wa("'button' in $event && $event.button !== 1"),right:wa("'button' in $event && $event.button !== 2")},xa={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:b},Aa=function(e){this.options=e,this.warn=e.warn||ht,this.transforms=mt(e.modules,"transformCode"),this.dataGenFns=mt(e.modules,"genData"),this.directives=y(y({},xa),e.directives);var t=e.isReservedTag||er;this.maybeComponent=function(e){return!t(e.tag)},this.onceId=0,this.staticRenderFns=[]};new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var $a,Ia,Oa=($a=function(e,t){var n=yn(e.trim(),t);!1!==t.optimize&&An(n,t);var r=Tn(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(t,n){var r=Object.create(e),o=[],i=[];if(r.warn=function(e,t){(t?i:o).push(e)},n)for(var a in n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=y(Object.create(e.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);var s=$a(t,r);return s.errors=o,s.tips=i,s}return{compile:t,compileToFunctions:function(e){var t=Object.create(null);return function(n,r,o){(r=y({},r)).warn,delete r.warn;var i=r.delimiters?String(r.delimiters)+n:n;if(t[i])return t[i];var a=e(n,r),s={},c=[];return s.render=Fn(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(e){return Fn(e,c)}),t[i]=s}}(t)}})(ha).compileToFunctions,Ta=!!cr&&Vn(!1),Ea=!!cr&&Vn(!0),ka=m(function(e){var t=tt(e);return t&&t.innerHTML}),Sa=He.prototype.$mount;He.prototype.$mount=function(e,t){if((e=e&&tt(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ka(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var o=Oa(r,{shouldDecodeNewlines:Ta,shouldDecodeNewlinesForHref:Ea,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return Sa.call(this,e,t)},He.compile=Oa,e.exports=He}).call(t,n("DuR2"),n("162o").setImmediate)},"JP+z":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){c.headers[e]={}}),i.forEach(["post","put","patch"],function(e){c.headers[e]=i.merge(s)}),e.exports=c}).call(t,n("W2nU"))},MxN9:function(e,t){e.exports={render:function(){return this.$createElement,this._self._c,this._m(0)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"container"},[t("div",{staticClass:"row justify-content-center"},[t("div",{staticClass:"col-md-8"},[t("div",{staticClass:"card card-default"},[t("div",{staticClass:"card-header"},[this._v("Example Component")]),this._v(" "),t("div",{staticClass:"card-body"},[this._v("\n I'm an example component.\n ")])])])])])}]}},Re3r:function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},TNV1:function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},"VU/8":function(e,t){e.exports=function(e,t,n,r,o,i){var a,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(a=e,s=e.default);var u,l="function"==typeof s?s.options:s;if(t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId=o),i?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=u):r&&(u=r),u){var f=l.functional,d=f?l.render:l.beforeCreate;f?(l._injectStyles=u,l.render=function(e,t){return u.call(t),d(e,t)}):l.beforeCreate=d?[].concat(d,u):[u]}return{esModule:a,exports:s,options:l}}},W2nU:function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function i(){v&&d&&(v=!1,d.length?p=d.concat(p):h=-1,p.length&&a())}function a(){if(!v){var e=o(i);v=!0;for(var t=p.length;t;){for(d=p,p=[];++h1)for(var n=1;n=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},p1b6:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},pBtG:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},pxG4:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},qRfI:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},t8qj:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},tIFN:function(e,t,n){"use strict";function r(e){var t=new a(e),n=i(a.prototype.request,t);return o.extend(n,a.prototype,t),o.extend(n,t),n}var o=n("cGG2"),i=n("JP+z"),a=n("XmWM"),s=n("KCLY"),c=r(s);c.Axios=a,c.create=function(e){return r(o.merge(s,e))},c.Cancel=n("dVOP"),c.CancelToken=n("cWxy"),c.isCancel=n("pBtG"),c.all=function(e){return Promise.all(e)},c.spread=n("pxG4"),e.exports=c,e.exports.default=c},thJu:function(e,t,n){"use strict";function r(){this.message="String contains an invalid character"}r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,n,o=String(e),i="",a=0,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.charAt(0|a)||(s="=",a%1);i+=s.charAt(63&t>>8-a%1*8)){if((n=o.charCodeAt(a+=.75))>255)throw new r;t=t<<8|n}return i}},"x8/H":function(e,t,n){var r=n("VU/8")(n("A6UI"),n("MxN9"),!1,null,null,null);e.exports=r.exports},xLtR:function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=n("cGG2"),i=n("TNV1"),a=n("pBtG"),s=n("KCLY"),c=n("dIwP"),u=n("qRfI");e.exports=function(e){return r(e),e.baseURL&&!c(e.url)&&(e.url=u(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}}}); diff --git a/resources/js/app.js b/resources/js/app.js index 9279ae4e8e..dab1e6d53b 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -5,10 +5,11 @@ * building robust, powerful web applications using Vue and Laravel. */ -//require('./bootstrap'); +require('./bootstrap'); window.Vue = require('vue'); + /** * Next, we will create a fresh Vue application instance and attach it to * the page. Then, you may begin adding components to this application diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js index fb0f1eded3..102edde1de 100644 --- a/resources/js/bootstrap.js +++ b/resources/js/bootstrap.js @@ -1,19 +1,3 @@ - -window._ = require('lodash'); -window.Popper = require('popper.js').default; - -/** - * We'll load jQuery and the Bootstrap jQuery plugin which provides support - * for JavaScript based Bootstrap features such as modals and tabs. This - * code may be modified to fit the specific needs of your application. - */ - -try { - window.$ = window.jQuery = require('jquery'); - - require('bootstrap'); -} catch (e) {} - /** * We'll load the axios HTTP library which allows us to easily issue requests * to our Laravel back-end. This library automatically handles sending the diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index f3fabbdb37..9dcea3f294 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -16,6 +16,9 @@ ga('send', 'event', category, action, this.src); } + @else + @endsection + \ No newline at end of file diff --git a/tests/Integration/MultiDBUserTest.php b/tests/Integration/MultiDBUserTest.php index a68ffd7670..73dfe520fc 100644 --- a/tests/Integration/MultiDBUserTest.php +++ b/tests/Integration/MultiDBUserTest.php @@ -60,7 +60,7 @@ class MultiDBUserTest extends TestCase public function test_oauth_user_db2_exists() { - $user = MultiDB::getUser(['email' => 'db2@example.com', 'oauth_user_id' => 'abc']); + $user = MultiDB::hasUser(['email' => 'db2@example.com', 'oauth_user_id' => 'abc']); $this->assertEquals($user->email, 'db2@example.com'); @@ -68,12 +68,31 @@ class MultiDBUserTest extends TestCase public function test_oauth_user_db1_exists() { - $user = MultiDB::getUser(['email' => 'db1@example.com', 'oauth_user_id' => '123']); + $user = MultiDB::hasUser(['email' => 'db1@example.com', 'oauth_user_id' => '123']); $this->assertEquals($user->email, 'db1@example.com'); } + public function test_check_user_exists() + { + $this->assertTrue(MultiDB::checkUserEmailExists('db1@example.com')); + } + + public function test_check_user_does_not_exist() + { + $this->assertFalse(MultiDB::checkUserEmailExists('bademail@example.com')); + } + + /* + * This is what you do when you demand 100% code coverage :/ + */ + + public function test_set_db_invokes() + { + $this->expectNotToPerformAssertions(MultiDB::setDB('db-ninja-1')); + } + public function tearDown() { DB::connection('db-ninja-1')->table('users')->delete(); diff --git a/tests/Integration/UniqueEmailTest.php b/tests/Integration/UniqueEmailTest.php index 90d5fd8de3..dc9f2fc412 100644 --- a/tests/Integration/UniqueEmailTest.php +++ b/tests/Integration/UniqueEmailTest.php @@ -16,7 +16,7 @@ use Tests\TestCase; */ class UniqueEmailTest extends TestCase { - //use InteractsWithDatabase; + use InteractsWithDatabase; //use DatabaseMigrations; protected $rule;