diff --git a/app/Console/Commands/UserAccountMerge.php b/app/Console/Commands/UserAccountMerge.php new file mode 100644 index 0000000..e628abb --- /dev/null +++ b/app/Console/Commands/UserAccountMerge.php @@ -0,0 +1,73 @@ +user_id) AND $ao->email) + { + $o = User::where('email',$ao->email)->first(); + + if (! $o) { + $o = new User; + $o->id = $ao->id; + $o->site_id = $ao->site_id; + $o->email = $ao->email; + $o->password = $ao->password; + $o->active = $ao->active; + $o->title = $ao->title; + $o->firstname = $ao->first_name; + $o->lastname = $ao->last_name; + $o->country_id = $ao->country_id; + $o->address1 = $ao->address1; + $o->address2 = $ao->address2; + $o->city = $ao->city; + $o->state = $ao->state; + $o->postcode = $ao->zip; + $o->save(); + } + + $ao->user_id = $o->id; + $ao->save(); + } + } + } +} \ No newline at end of file diff --git a/app/Http/Controllers/UserHomeController.php b/app/Http/Controllers/UserHomeController.php index ac28a67..333773e 100644 --- a/app/Http/Controllers/UserHomeController.php +++ b/app/Http/Controllers/UserHomeController.php @@ -2,6 +2,8 @@ namespace App\Http\Controllers; +use Illuminate\Support\Facades\Auth; + class UserHomeController extends Controller { public function __construct() @@ -11,6 +13,18 @@ class UserHomeController extends Controller public function home() { - return View('home'); + switch (Auth::user()->role()) { + case 'Customer': + return View('home'); + + case 'Reseller': + break; + + case 'Wholesaler': + break; + + default: + abort(500,'Unknown role: ',Auth::user()->role()); + } } } \ No newline at end of file diff --git a/app/Models/Account.php b/app/Models/Account.php index c932ce9..8c49177 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -7,4 +7,23 @@ use Illuminate\Database\Eloquent\Model; class Account extends Model { protected $table = 'ab_account'; + public $timestamps = FALSE; + + /** + * Return the country the user belongs to + */ + public function country() + { + return $this->belongsTo(Country::class); + } + + public function language() + { + return $this->belongsTo(Language::class); + } + + public function user() + { + return $this->belongsTo(\App\User::class); + } } \ No newline at end of file diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index bcf5f6e..7122fb7 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -29,7 +29,7 @@ class Invoice extends Model public function account() { - return $this->belongsTo(\App\User::class); + return $this->belongsTo(Account::class); } public function items() diff --git a/app/Models/Payment.php b/app/Models/Payment.php index 037630f..7285094 100644 --- a/app/Models/Payment.php +++ b/app/Models/Payment.php @@ -23,7 +23,7 @@ class Payment extends Model public function account() { - return $this->belongsTo(\App\User::class); + return $this->belongsTo(Account::class); } public function items() diff --git a/app/Models/Service.php b/app/Models/Service.php index 3c347af..bc62731 100644 --- a/app/Models/Service.php +++ b/app/Models/Service.php @@ -34,7 +34,7 @@ class Service extends Model public function account() { - return $this->belongsTo(\App\User::class); + return $this->belongsTo(Account::class); } public function service_adsl() diff --git a/app/User.php b/app/User.php index ad42e3c..5cec98a 100644 --- a/app/User.php +++ b/app/User.php @@ -4,13 +4,14 @@ namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; -use Illuminate\Support\Facades\Cache; +use Laravel\Passport\HasApiTokens; + use Leenooks\Carbon; -use App\Models\Account; +use Leenooks\Traits\UserSwitch; class User extends Authenticatable { - use Notifiable; + use HasApiTokens,Notifiable,UserSwitch; protected $dates = ['created_at','updated_at','last_access']; @@ -32,12 +33,43 @@ class User extends Authenticatable 'password', 'remember_token', ]; - public function accounts() { return $this->hasMany(Models\Account::class); } + protected function agents() { + return $this->hasMany(static::class,'parent_id','id'); + } + + protected function clients() { + return $this->hasMany(\App\User::class); + } + + public function invoices() + { + return $this->hasManyThrough(Models\Invoice::class,Models\Account::class); + } + + public function payments() + { + return $this->hasManyThrough(Models\Payment::class,Models\Account::class); + } + + public function services() + { + return $this->hasManyThrough(Models\Service::class,Models\Account::class); + } + + protected function supplier() + { + return $this->belongsTo(static::class,'parent_id','id'); + } + + protected function suppliers() { + return $this->hasMany(static::class,'parent_id','id'); + } + /** * Logged in users full name * @@ -52,7 +84,7 @@ class User extends Authenticatable * Return a Carbon Date if it has a value. * * @param $value - * @return Leenooks\Carbon + * @return \Leenooks\Carbon * @todo This attribute is not in the schema */ public function getLastAccessAttribute($value) @@ -60,6 +92,28 @@ class User extends Authenticatable if (! is_null($value)) return new Carbon($value); } + public function getInvoicesDueAttribute() + { + return $this->invoices + ->where('active',TRUE) + ->sortBy('id') + ->transform(function ($item) { if ($item->due) return $item; }) + ->reverse() + ->filter(); + } + + public function getPaymentHistoryAttribute() + { + return $this->payments + ->sortBy('date_payment') + ->reverse(); + } + + public function getServicesActiveAttribute() + { + return $this->services + ->where('active',TRUE); + } /** * @deprecated Use static::getFullNameAttribute() @@ -70,23 +124,6 @@ class User extends Authenticatable return $this->full_name; } - protected function agents() { - return $this->hasMany(static::class,'parent_id','id'); - } - - protected function clients() { - return $this->hasMany(\App\User::class); - } - - protected function supplier() - { - return $this->belongsTo(static::class,'parent_id','id'); - } - - protected function suppliers() { - return $this->hasMany(static::class,'parent_id','id'); - } - // List all the agents, including agents of agents public function all_agents() { diff --git a/composer.json b/composer.json index eda6be0..e7bc355 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "laravel/passport": "^6.0", "laravel/socialite": "^3.0", "laravel/tinker": "^1.0", - "leenooks/laravel": "0.*", + "leenooks/laravel": "^0.1.6", "quickbooks/v3-php-sdk": "^5.0", "spatie/laravel-demo-mode": "^2.2", "spatie/laravel-failed-job-monitor": "^3.0", diff --git a/composer.lock b/composer.lock index 5a25bcd..9f8b031 100644 --- a/composer.lock +++ b/composer.lock @@ -1,10 +1,10 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "9d58976ecb12e11253a69e8d1e49e613", + "content-hash": "e6283e4f1d3de303b1abab3cc342c8cd", "packages": [ { "name": "acacha/user", @@ -2369,11 +2369,11 @@ }, { "name": "leenooks/laravel", - "version": "0.1.6", + "version": "0.1.7", "source": { "type": "git", "url": "https://dev.leenooks.net/leenooks/laravel", - "reference": "b0fcdaa3756f844332e2be5e2b36e270e8a4cdb6" + "reference": "ac867a25265d07476967eef7d01516a92b9f2b73" }, "require": { "igaster/laravel-theme": "2.0.6", @@ -2409,7 +2409,7 @@ "laravel", "leenooks" ], - "time": "2018-06-15T04:14:04+00:00" + "time": "2018-07-13T04:39:10+00:00" }, { "name": "maximebf/debugbar", @@ -3442,53 +3442,6 @@ ], "time": "2018-05-26T01:33:24+00:00" }, - { - "name": "quickbooks/v3-php-sdk", - "version": "v5.0.1", - "source": { - "type": "git", - "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK.git", - "reference": "f1b1db3171dc2005e072a36ed7d240ccc0412c15" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/intuit/QuickBooks-V3-PHP-SDK/zipball/f1b1db3171dc2005e072a36ed7d240ccc0412c15", - "reference": "f1b1db3171dc2005e072a36ed7d240ccc0412c15", - "shasum": "" - }, - "require": { - "php": ">=5.6.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.7" - }, - "type": "library", - "autoload": { - "psr-4": { - "QuickBooksOnline\\API\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "hlu2", - "email": "Hao_Lu@intuit.com" - } - ], - "description": "The Official PHP SDK for QuickBooks Online Accounting API", - "homepage": "http://developer.intuit.com", - "keywords": [ - "api", - "http", - "quickbooks", - "rest", - "smallbusiness" - ], - "time": "2018-05-26T01:33:24+00:00" - }, { "name": "ramsey/uuid", "version": "3.7.3", diff --git a/public/js/app.js b/public/js/app.js index f1d8eb0..3770f88 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -620,6 +620,33 @@ module.exports = { /* 2 */ /***/ (function(module, exports) { +var g; + +// This works in non-strict mode +g = (function() { + return this; +})(); + +try { + // This works if eval is allowed (see CSP) + g = g || Function("return this")() || (1,eval)("this"); +} catch(e) { + // This works if the window reference is available + if(typeof window === "object") + g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; + + +/***/ }), +/* 3 */ +/***/ (function(module, exports) { + /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra @@ -699,7 +726,7 @@ function toComment(sourceMap) { /***/ }), -/* 3 */ +/* 4 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -927,7 +954,7 @@ function applyToTag (styleElement, obj) { /***/ }), -/* 4 */ +/* 5 */ /***/ (function(module, exports) { /* globals __VUE_SSR_CONTEXT__ */ @@ -1035,33 +1062,6 @@ module.exports = function normalizeComponent ( } -/***/ }), -/* 5 */ -/***/ (function(module, exports) { - -var g; - -// This works in non-strict mode -g = (function() { - return this; -})(); - -try { - // This works if eval is allowed (see CSP) - g = g || Function("return this")() || (1,eval)("this"); -} catch(e) { - // This works if the window reference is available - if(typeof window === "object") - g = window; -} - -// g can still be undefined, but nothing to do about it... -// We return undefined, instead of nothing here, so it's -// easier to handle this case. if(!global) { ...} - -module.exports = g; - - /***/ }), /* 6 */ /***/ (function(module, exports, __webpack_require__) { @@ -11988,7 +11988,7 @@ module.exports = function xhrAdapter(resolve, reject, config) { * Released under the MIT License. */ !function(e,t){ true?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Vue=t()}(this,function(){"use strict";var y=Object.freeze({});function M(e){return null==e}function D(e){return null!=e}function S(e){return!0===e}function T(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function P(e){return null!==e&&"object"==typeof e}var r=Object.prototype.toString;function l(e){return"[object Object]"===r.call(e)}function i(e){var t=parseFloat(String(e));return 0<=t&&Math.floor(t)===t&&isFinite(e)}function t(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function F(e){var t=parseFloat(e);return isNaN(t)?e:t}function s(e,t){for(var n=Object.create(null),r=e.split(","),i=0;ie.id;)n--;bt.splice(n+1,0,e)}else bt.push(e);Ct||(Ct=!0,Ze(At))}}(this)},St.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||P(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Fe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},St.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},St.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},St.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||f(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Tt={enumerable:!0,configurable:!0,get:$,set:$};function Et(e,t,n){Tt.get=function(){return this[t][n]},Tt.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Tt)}function jt(e){e._watchers=[];var t=e.$options;t.props&&function(n,r){var i=n.$options.propsData||{},o=n._props={},a=n.$options._propKeys=[];n.$parent&&ge(!1);var e=function(e){a.push(e);var t=Ie(e,r,i,n);Ce(o,e,t),e in n||Et(n,"_props",e)};for(var t in r)e(t);ge(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?$:v(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){se();try{return e.call(t,t)}catch(e){return Fe(e,t,"data()"),{}}finally{ce()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&p(r,o)||(void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&Et(e,"_data",o))}var a;we(t,!0)}(e):we(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Y();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new St(e,a||$,$,Nt)),i in e||Lt(e,i,o)}}(e,t.computed),t.watch&&t.watch!==G&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;iparseInt(this.max)&&bn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};$n=hn,Cn={get:function(){return j}},Object.defineProperty($n,"config",Cn),$n.util={warn:re,extend:m,mergeOptions:Ne,defineReactive:Ce},$n.set=xe,$n.delete=ke,$n.nextTick=Ze,$n.options=Object.create(null),k.forEach(function(e){$n.options[e+"s"]=Object.create(null)}),m(($n.options._base=$n).options.components,kn),$n.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1=a&&l()};setTimeout(function(){c\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,oo="[a-zA-Z_][\\w\\-\\.]*",ao="((?:"+oo+"\\:)?"+oo+")",so=new RegExp("^<"+ao),co=/^\s*(\/?)>/,lo=new RegExp("^<\\/"+ao+"[^>]*>"),uo=/^]+>/i,fo=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},go=/&(?:lt|gt|quot|amp);/g,_o=/&(?:lt|gt|quot|amp|#10|#9);/g,bo=s("pre,textarea",!0),$o=function(e,t){return e&&bo(e)&&"\n"===t[0]};var wo,Co,xo,ko,Ao,Oo,So,To,Eo=/^@|^v-on:/,jo=/^v-|^@|^:/,No=/([^]*?)\s+(?:in|of)\s+([^]*)/,Lo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Io=/^\(|\)$/g,Mo=/:(.*)$/,Do=/^:|^v-bind:/,Po=/\.[^.]+/g,Fo=e(eo);function Ro(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,r=e.length;n]*>)","i")),n=i.replace(t,function(e,t,n){return r=n.length,ho(o)||"noscript"===o||(t=t.replace(//g,"$1").replace(//g,"$1")),$o(o,t)&&(t=t.slice(1)),d.chars&&d.chars(t),""});a+=i.length-n.length,i=n,A(o,a-r,a)}else{var s=i.indexOf("<");if(0===s){if(fo.test(i)){var c=i.indexOf("--\x3e");if(0<=c){d.shouldKeepComment&&d.comment(i.substring(4,c)),C(c+3);continue}}if(po.test(i)){var l=i.indexOf("]>");if(0<=l){C(l+2);continue}}var u=i.match(uo);if(u){C(u[0].length);continue}var f=i.match(lo);if(f){var p=a;C(f[0].length),A(f[1],p,a);continue}var _=x();if(_){k(_),$o(v,i)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(0<=s){for($=i.slice(s);!(lo.test($)||so.test($)||fo.test($)||po.test($)||(w=$.indexOf("<",1))<0);)s+=w,$=i.slice(s);b=i.substring(0,s),C(s)}s<0&&(b=i,i=""),d.chars&&b&&d.chars(b)}if(i===e){d.chars&&d.chars(i);break}}function C(e){a+=e,i=i.substring(e)}function x(){var e=i.match(so);if(e){var t,n,r={tagName:e[1],attrs:[],start:a};for(C(e[0].length);!(t=i.match(co))&&(n=i.match(io));)C(n[0].length),r.attrs.push(n);if(t)return r.unarySlash=t[1],C(t[0].length),r.end=a,r}}function k(e){var t=e.tagName,n=e.unarySlash;m&&("p"===v&&ro(t)&&A(v),g(t)&&v===t&&A(t));for(var r,i,o,a=y(t)||!!n,s=e.attrs.length,c=new Array(s),l=0;l-1"+("true"===d?":("+l+")":":_q("+l+","+d+")")),Ar(c,"change","var $$a="+l+",$$el=$event.target,$$c=$$el.checked?("+d+"):("+v+");if(Array.isArray($$a)){var $$v="+(f?"_n("+p+")":p)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Er(l,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Er(l,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Er(l,"$$c")+"}",null,!0);else if("input"===$&&"radio"===w)r=e,i=_,a=(o=b)&&o.number,s=Or(r,"value")||"null",Cr(r,"checked","_q("+i+","+(s=a?"_n("+s+")":s)+")"),Ar(r,"change",Er(i,s),null,!0);else if("input"===$||"textarea"===$)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,l=o?"change":"range"===r?Pr:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var f=Er(t,u);c&&(f="if($event.target.composing)return;"+f),Cr(e,"value","("+t+")"),Ar(e,l,f,null,!0),(s||a)&&Ar(e,"blur","$forceUpdate()")}(e,_,b);else if(!j.isReservedTag($))return Tr(e,_,b),!1;return!0},text:function(e,t){t.value&&Cr(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&&Cr(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:to,mustUseProp:Sn,canBeLeftOpenTag:no,isReservedTag:Un,getTagNamespace:Vn,staticKeys:(Go=Wo,Go.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(","))},Qo=e(function(e){return s("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))});function ea(e,t){e&&(Zo=Qo(t.staticKeys||""),Xo=t.isReservedTag||O,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||c(e.tag)||!Xo(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Zo)))}(t);if(1===t.type){if(!Xo(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function\s*\(/,na=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ra={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ia={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},oa=function(e){return"if("+e+")return null;"},aa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:oa("$event.target !== $event.currentTarget"),ctrl:oa("!$event.ctrlKey"),shift:oa("!$event.shiftKey"),alt:oa("!$event.altKey"),meta:oa("!$event.metaKey"),left:oa("'button' in $event && $event.button !== 0"),middle:oa("'button' in $event && $event.button !== 1"),right:oa("'button' in $event && $event.button !== 2")};function sa(e,t,n){var r=t?"nativeOn:{":"on:{";for(var i in e)r+='"'+i+'":'+ca(i,e[i])+",";return r.slice(0,-1)+"}"}function ca(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return ca(t,e)}).join(",")+"]";var n=na.test(e.value),r=ta.test(e.value);if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(aa[s])o+=aa[s],ra[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=oa(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+="if(!('button' in $event)&&"+a.map(la).join("&&")+")return null;"),o&&(i+=o),"function($event){"+i+(n?"return "+e.value+"($event)":r?"return ("+e.value+")($event)":e.value)+"}"}return n||r?e.value:"function($event){"+e.value+"}"}function la(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=ra[e],r=ia[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var ua={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(t,n){t.wrapData=function(e){return"_b("+e+",'"+t.tag+"',"+n.value+","+(n.modifiers&&n.modifiers.prop?"true":"false")+(n.modifiers&&n.modifiers.sync?",true":"")+")"}},cloak:$},fa=function(e){this.options=e,this.warn=e.warn||$r,this.transforms=wr(e.modules,"transformCode"),this.dataGenFns=wr(e.modules,"genData"),this.directives=m(m({},ua),e.directives);var t=e.isReservedTag||O;this.maybeComponent=function(e){return!t(e.tag)},this.onceId=0,this.staticRenderFns=[]};function pa(e,t){var n=new fa(t);return{render:"with(this){return "+(e?da(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function da(e,t){if(e.staticRoot&&!e.staticProcessed)return va(e,t);if(e.once&&!e.onceProcessed)return ha(e,t);if(e.for&&!e.forProcessed)return f=t,v=(u=e).for,h=u.alias,m=u.iterator1?","+u.iterator1:"",y=u.iterator2?","+u.iterator2:"",u.forProcessed=!0,(d||"_l")+"(("+v+"),function("+h+m+y+"){return "+(p||da)(u,f)+"})";if(e.if&&!e.ifProcessed)return ma(e,t);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=_a(e,t),i="_t("+n+(r?","+r:""),o=e.attrs&&"{"+e.attrs.map(function(e){return g(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)a=e.component,c=t,l=(s=e).inlineTemplate?null:_a(s,c,!0),n="_c("+a+","+ya(s,c)+(l?","+l:"")+")";else{var r=e.plain?void 0:ya(e,t),i=e.inlineTemplate?null:_a(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o':'
',0 tags @@ -36447,7 +36441,7 @@ if(false) { /* 49 */ /***/ (function(module, exports, __webpack_require__) { -exports = module.exports = __webpack_require__(2)(false); +exports = module.exports = __webpack_require__(3)(false); // imports @@ -37854,7 +37848,7 @@ function injectStyle (ssrContext) { if (disposed) return __webpack_require__(72) } -var normalizeComponent = __webpack_require__(4) +var normalizeComponent = __webpack_require__(5) /* script */ var __vue_script__ = __webpack_require__(74) /* template */ @@ -37907,7 +37901,7 @@ var content = __webpack_require__(73); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM -var update = __webpack_require__(3)("7be2648c", content, false, {}); +var update = __webpack_require__(4)("7be2648c", content, false, {}); // Hot Module Replacement if(false) { // When the styles change, update the