PageSourceSearch

https://ifta-calculator.com/mileage/js/main.d0c1ac248d31e430634d.js

js ifta-calculator.com collected 2026-10-05 22:47:09 UTC 1,196,927 bytes, 82 lines download raw bytes

1!function(e){var t={};function a(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(i,n,function(t){return e[t]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/mileage/",a(a.s=195)}([function(e,t,a){"use strict";var i=a(80),n=a.n(i);var r=([e,t])=>e?[(e=>{if(e&&e.response){const t=e.response.status,a=e.response.statusText,i=e.response.data;let n=a||"Error";return"string"==typeof i?n=i:Array.isArray(i)?n=i.reduce((e,t)=>`${e}${t}<br>`,""):"object"==typeof i&&(n="",i.message&&(n=`${i.message}<br>`,delete i.message),n=Object.keys(i).reduce((e,t)=>Array.isArray(i[t])?i[t].reduce((e,t)=>`${e}${t}<br>`,e):"object"==typeof i?n:`${n}${i[t]}<br>`,n)),{status:t,message:n}}return{status:null,message:"Error"}})(e)]:[null,t];t.a={requestInterceptors:[],responseInterceptors:[],async fetch(e){await Promise.all(this.requestInterceptors.map(t=>new Promise(async a=>{await t(e),a()})));let t=await function(e){return Promise.resolve(e).then(e=>[null,e]).catch(e=>{let t=e;return void 0!==e&&null!==e||((t=new Error("Rejection with empty value")).originalValue=e),[t]})}(n()(e));return t=r(t),await Promise.all(this.responseInterceptors.map(e=>new Promise(async a=>{await e(t),a()}))),t},setRequestInterceptor(e){this.requestInterceptors.push(e)},setResponseInterceptor(e){this.responseInterceptors.push(e)}}},function(e,t,a){"use strict";function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=[],i=!0,n=!1,r=void 0;try{for(var s,o=e[Symbol.iterator]();!(i=(s=o.next()).done)&&(a.push(s.value),!t||a.length!==t);i=!0);}catch(e){n=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(n)throw r}}return a}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(e,t){var a=t.split(".").slice(-1)[0];if(e[a])throw new Error("The key `".concat(a,"` is already in use."));return e[a]=t,e},{})}function r(e){return function(){for(var t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];var r=i("string"==typeof a[0]?[].concat(a):[""].concat(a),4),s=r[0],o=r[1],l=r[2],c=r[3];return s.length&&"/"!==s.charAt(s.length-1)&&(s+="/"),l="".concat(s).concat(l||"getField"),c="".concat(s).concat(c||"updateField"),e(s,o,l,c)}}function s(e){return function(t){return t.split(/[.[\]]+/).reduce(function(e,t){return e[t]},e)}}function o(e,t){var a=t.path,i=t.value;a.split(/[.[\]]+/).reduce(function(e,t,a,n){return n.length===a+1&&(e[t]=i),e[t]},e)}a.d(t,"a",function(){return s}),a.d(t,"b",function(){return l}),a.d(t,"c",function(){return o});var l=r(function(e,t,a,i){var r=Array.isArray(t)?n(t):t;return Object.keys(r).reduce(function(e,t){var n=r[t],s={get:function(){return this.$store.getters[a](n)},set:function(e){this.$store.commit(i,{path:n,value:e})}};return e[t]=s,e},{})});r(function(e,t,a,i){var r=Array.isArray(t)?n(t):t;return Object.keys(r).reduce(function(e,t){var n=r[t];return e[t]={get:function(){var e=this.$store;return e.getters[a](n).map(function(t,r){return Object.keys(t).reduce(function(t,s){var o="".concat(n,"[").concat(r,"].").concat(s);return Object.defineProperty(t,s,{get:function(){return e.getters[a](o)},set:function(t){e.commit(i,{path:o,value:t})}})},{})})}},e},{})})},function(e,t,a){"use strict";var i=a(0),n={setRequestInterceptor(e){i.a.setRequestInterceptor(e)},setResponseInterceptor(e){i.a.setResponseInterceptor(e)}},r=a(4);var s=new class{constructor(e){this.auth=e}async user(){return await i.a.fetch({method:"get",url:this.auth.user})}async confirm(e){return await i.a.fetch({method:"post",url:`${this.auth.confirm}/${e}`})}async refresh(){return await i.a.fetch({method:"post",url:this.auth.refresh})}async registration(e,t,a,n,r){return await i.a.fetch({method:"post",url:this.auth.register,data:{name:e,email:t,password:a,password_confirmation:n,company:r}})}async login(e,t){return await i.a.fetch({method:"post",url:this.auth.login,data:{email:e,password:t}})}async loginAuthCode(e,t){return await i.a.fetch({method:"post",url:this.auth.login,data:{email:e,code:t}})}async passWordResetLink(e){return await i.a.fetch({method:"post",url:this.auth.password_reset_link,data:{email:e}})}async passWordResetConfirm(e,t,a,n){return await i.a.fetch({method:"post",url:this.auth.password_reset_confirm,data:{email:e,token:t,password:a,password_confirmation:n}})}async logout(){return await i.a.fetch({method:"post",url:this.auth.logout})}}(r.auth);var o=new class{constructor(e){this.uri=e}async getStripeKey(){return await i.a.fetch({method:"get",url:this.uri.key})}async getBillingData(){return await i.a.fetch({method:"get",url:this.uri.billing})}async sendStripeToken(e){return await i.a.fetch({method:"post",url:this.uri.card,data:e})}async updateMainPaymentMethod(e,t){return await i.a.fetch({method:"put",url:`${this.uri.card}/${t}`,data:e})}async deletePaymentMethod(e){return await i.a.fetch({method:"delete",url:`${this.uri.card}/${e}`})}async upgradePlan(e,t){return await i.a.fetch({method:"put",url:`${this.uri.subscription}/${t}`,data:e})}async applyCoupon(e){return await i.a.fetch({method:"post",url:`${this.uri.coupon}`,data:e})}async cancelSubscription(e,t){return await i.a.fetch({method:"put",url:`${this.uri.subscription}/${t}/cancel`,data:e})}}(r.account);var l=new class{constructor(e){this.uri=e}async searchAddress(e,t){let a="";return t&&(a=`&mode=${t}`),await i.a.fetch({method:"get",url:`${this.uri.search}?term=${e}${a}`})}async searchOneLine(e){return await i.a.fetch({method:"get",url:`${this.uri.oneLine}?term=${encodeURIComponent(e)}`})}async searchStreet(e){return await i.a.fetch({method:"get",url:`${this.uri.street}?term=${e}`})}async searchZip(e){return await i.a.fetch({method:"get",url:`${this.uri.zip}/find?term=${e}`})}async resolveAddress(e){return await i.a.fetch({method:"post",url:this.uri.resolve,data:e})}async resolvePoint(e,t){return this.resolveAddress({point:[e,t]})}}(r.geo);var c={getList:async(e,t)=>await i.a.fetch({method:"get",url:`${function(e){switch(e){case"trips":return r.formGroup.trip;case"reports":return r.formGroup.reports;case"rates":return r.formGroup.rates;case"equipment":return r.formGroup.equipment;case"drivers":return r.formGroup.drivers;default:return""}}(e)}?${function(e){const t=[`${encodeURIComponent("start")}=${encodeURIComponent(e.start)}`,`${encodeURIComponent("length")}=${encodeURIComponent(e.length)}`,`${encodeURIComponent("search[value]")}=${encodeURIComponent(e.search)}`];return Object.keys(e.filter).forEach(a=>
1{e.filter[a]&&(Array.isArray(e.filter[a])?e.filter[a].forEach(e=>{t.push(`${encodeURIComponent(`filter[${a}][]`)}=${encodeURIComponent(`${e}`)}`)}):t.push(`${encodeURIComponent(`filter[${a}]`)}=${encodeURIComponent(`${e.filter[a]}`)}`))}),e.columns.forEach((e,a)=>{t.push(`${encodeURIComponent(`columns[${a}][data]`)}=${encodeURIComponent(`${e.data}`)}`,`${encodeURIComponent(`columns[${a}][searchable]`)}=${encodeURIComponent(`${e.searchable}`)}`)}),(e.orderColumn||0===e.orderColumn)&&e.orderDir&&(t.push(`${encodeURIComponent("order[0][column]")}=${encodeURIComponent(e.orderColumn)}`),t.push(`${encodeURIComponent("order[0][dir]")}=${encodeURIComponent(e.orderDir)}`)),t.join("&")}(t)}`})};var u=new class{constructor(e){this.url=e}async requestTraining(e){return await i.a.fetch({method:"post",url:this.url,data:e})}}(r.requestTraining);var d=new class{constructor(e){this.url=e}async getTutorials(){return await i.a.fetch({method:"get",url:this.url.main})}async markViewId(e){return await i.a.fetch({method:"get",url:`${this.url.main}/view/${e}`})}async updateCounter(e){return await i.a.fetch({method:"get",url:`${this.url.main}/view/${e}/update`})}async getCounter(e){return await i.a.fetch({method:"get",url:`${this.url.main}/view/${e}/counter`})}async requestLimitsUpgrade(e){return await i.a.fetch({method:"post",url:this.url.requestLimitsUpgrade,data:e})}async requestTraining(e){return await i.a.fetch({method:"post",url:this.url.requestTraining,data:e})}async sendEmail(e){return await i.a.fetch({method:"post",url:this.url.sendEmail,data:e})}}(r.support);var p=new class{constructor(e){this.url=e}async getFeatures(){return await i.a.fetch({method:"get",url:this.url})}async markViewId(e){return await i.a.fetch({method:"get",url:`${this.url}/view/${e}`})}}(r.features);var m=new class{constructor(e){this.url=e}async waitlistStatus(){return await i.a.fetch({method:"get",url:this.url.waitlist})}async joinWaitlist(e){return await i.a.fetch({method:"post",url:this.url.waitlist,data:e})}}(r.trackingApp);var h=new class{constructor(e){this.url=e}async save(e){return i.a.fetch({method:"post",url:this.url.save,data:e})}async skip(){return i.a.fetch({method:"post",url:this.url.skip})}async support(e){return i.a.fetch({method:"post",url:this.url.support,data:e})}}(r.welcomeSurvey);var f=new class{constructor(e){this.url=e}async decode(e){return await i.a.fetch({method:"post",url:this.url,data:e})}}(r.vinDecoder);var _=new class{constructor(e){this.url=e,this.routeCalcUid=""}async getTripPoints(e){return await i.a.fetch({method:"get",url:`${this.url}/trip/${e}/points`})}async getIftaReport(e){return await i.a.fetch({method:"post",url:`${this.url}/run/${this.routeCalcUid}`,data:e})}async checkRouteCalculation(){return await i.a.fetch({method:"post",url:`${this.url}/check-status/${this.routeCalcUid}`})}async startRouteCalculation(e){return this.routeCalcUid=function(){let e=46656*Math.random()|0,t=46656*Math.random()|0;return(e=`000${e.toString(36)}`.slice(-3))+(t=`000${t.toString(36)}`.slice(-3))}(),await i.a.fetch({method:"post",url:`${this.url}/stops/${this.routeCalcUid}`,data:e})}async getRelatedData(){return await i.a.fetch({method:"get",url:`${this.url}/form-data`})}async searchAddress(e,t){let a="";return t&&(a=`&mode=${t}`),await i.a.fetch({method:"get",url:`${this.url}/geo/search?term=${e}${a}`})}async searchStreet(e){return await i.a.fetch({method:"get",url:`${this.url}/geo/address?term=${e}`})}async searchZip(e){return await i.a.fetch({method:"get",url:`${this.url}/geo/zip/find?term=${e}`})}}(r.frontPage);class v{constructor(e){this.uriArray=e.split(/\{.+}/);for(let e=0,t=this.uriArray.length;e<t;e++)"/"===this.uriArray[e].slice(-1)&&(this.uriArray[e]=this.uriArray[e].slice(0,-1))}async getList(...e){const t=this.getUrl(...e);return await i.a.fetch({method:"get",url:t})}async create(e,...t){const a=this.getUrl(...t);return await i.a.fetch({method:"post",url:a,data:e})}async read(...e){const t=this.getUrl(...e);return await i.a.fetch({method:"get",url:t})}async update(e,...t){const a=this.getUrl(...t);return await i.a.fetch({method:"put",url:a,data:e})}async delete(...e){const t=this.getUrl(...e);return await i.a.fetch({method:"delete",url:t})}async getRelatedData(...e){let t=this.getUrl(...e);return t=e.every(e=>e)?`${t}/edit`:`${t}/create`,await i.a.fetch({method:"get",url:t})}getUrl(...e){let t="";for(let a=0,i=this.uriArray.length;a<i;a++)e[a]?e[a]=`/${e[a]}`:e[a]="",t+=`${this.uriArray[a]}${e[a]}`;return t}}var g=new class extends v{constructor(e){super(e),this.url=e}async getListRelatedData(e){return await i.a.fetch({method:"get",url:`${this.url}/list-data`,params:e})}async getTripPoints(e){return await i.a.fetch({method:"get",url:`${this.url}/${e}/points`})}async getTrackMap(e){return await i.a.fetch({method:"get",url:`${this.url}/${e}/track-map`})}}(r.formGroup.trip);var y=new class extends v{constructor(e){super(e),this.url=e}}(r.formGroup.fuel);var b=new class extends v{constructor(e){super(e),this.url=e}getDocLinks(e){const t=Object.keys(e).reduce((t,a)=>`${t}&${a}=${e[a]}`,"");return[`${this.url}?type=pdf${t}`,`${this.url}?type=excel${t}`]}async getReportData(e){return await i.a.fetch({method:"get",url:this.url,params:e})}async getListRelatedData(){return await i.a.fetch({method:"get",url:`${this.url}/list-data`})}}(r.formGroup.reports);var k=new class extends v{constructor(e){super(e),this.url=e}async getListRelatedData(){let e=this.getUrl();return e+="/list-data",await i.a.fetch({method:"get",url:e})}}(r.formGroup.rates);var w=new class extends v{constructor(e){super(e),this.url=e}async getList(...e){let t=this.getUrl();
1return e.forEach(e=>{e&&(t+=`/${e}`)}),await i.a.fetch({method:"get",url:t})}async getListRelatedData(){let e=this.getUrl();return e+="/filter-data",await i.a.fetch({method:"get",url:e})}}(r.formGroup.demoRates);var M=new class extends v{constructor(e){super(e),this.url=e}}(r.formGroup.equipment);var S=new class extends v{constructor(e){super(e),this.uri=e}async uploadFile(e){return await i.a.fetch({method:"post",headers:{"Content-Type":"multipart/form-data"},url:`${this.uri}/attachments`,data:e})}}(r.formGroup.emails);var D=new class extends v{constructor(e){super(e),this.url=e}}(r.formGroup.drivers);a.d(t,"l",function(){return n}),a.d(t,"a",function(){return s}),a.d(t,"b",function(){return o}),a.d(t,"k",function(){return l}),a.d(t,"c",function(){return c}),a.d(t,"q",function(){return u}),a.d(t,"h",function(){return p}),a.d(t,"o",function(){return d}),a.d(t,"p",function(){return m}),a.d(t,"t",function(){return h}),a.d(t,"s",function(){return f}),a.d(t,"r",function(){return g}),a.d(t,"j",function(){return y}),a.d(t,"n",function(){return b}),a.d(t,"m",function(){return k}),a.d(t,"d",function(){return w}),a.d(t,"g",function(){return M}),a.d(t,"f",function(){return S}),a.d(t,"e",function(){return D}),a.d(t,"i",function(){return _})},function(e,t,a){"use strict";(function(e){a.d(t,"c",function(){return b}),a.d(t,"b",function(){return k});var i=("undefined"!=typeof window?window:void 0!==e?e:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function n(e,t){Object.keys(e).forEach(function(a){return t(e[a],a)})}var r=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var a=e.state;this.state=("function"==typeof a?a():a)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},r.prototype.addChild=function(e,t){this._children[e]=t},r.prototype.removeChild=function(e){delete this._children[e]},r.prototype.getChild=function(e){return this._children[e]},r.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},r.prototype.forEachChild=function(e){n(this._children,e)},r.prototype.forEachGetter=function(e){this._rawModule.getters&&n(this._rawModule.getters,e)},r.prototype.forEachAction=function(e){this._rawModule.actions&&n(this._rawModule.actions,e)},r.prototype.forEachMutation=function(e){this._rawModule.mutations&&n(this._rawModule.mutations,e)},Object.defineProperties(r.prototype,s);var o=function(e){this.register([],e,!1)};o.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},o.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,a){return e+((t=t.getChild(a)).namespaced?a+"/":"")},"")},o.prototype.update=function(e){!function e(t,a,i){0;a.update(i);if(i.modules)for(var n in i.modules){if(!a.getChild(n))return void 0;e(t.concat(n),a.getChild(n),i.modules[n])}}([],this.root,e)},o.prototype.register=function(e,t,a){var i=this;void 0===a&&(a=!0);var s=new r(t,a);0===e.length?this.root=s:this.get(e.slice(0,-1)).addChild(e[e.length-1],s);t.modules&&n(t.modules,function(t,n){i.register(e.concat(n),t,a)})},o.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1];t.getChild(a).runtime&&t.removeChild(a)};var l;var c=function(e){var t=this;void 0===e&&(e={}),!l&&"undefined"!=typeof window&&window.Vue&&v(window.Vue);var a=e.plugins;void 0===a&&(a=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new o(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l;var r=this,s=this.dispatch,c=this.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,a){return c.call(r,e,t,a)},this.strict=n;var u=this._modules.root.state;h(this,u,[],this._modules.root),m(this,u),a.forEach(function(e){return e(t)}),(void 0!==e.devtools?e.devtools:l.config.devtools)&&function(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(e,t){i.emit("vuex:mutation",e,t)}))}(this)},u={state:{configurable:!0}};function d(e,t){return t.indexOf(e)<0&&t.push(e),function(){var a=t.indexOf(e);a>-1&&t.splice(a,1)}}function p(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var a=e.state;h(e,a,[],e._modules.root,!0),m(e,a,t)}function m(e,t,a){var i=e._vm;e.getters={};var r={};n(e._wrappedGetters,function(t,a){r[a]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,a,{get:function(){return e._vm[a]},enumerable:!0})});var s=l.config.silent;l.config.silent=!0,e._vm=new l({data:{$$state:t},computed:r}),l.config.silent=s,e.strict&&function(e){e._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(e),i&&(a&&e._withCommit(function(){i._data.$$state=null}),l.nextTick(function(){return i.$destroy()}))}function h(e,t,a,i,n){var r=!a.length,s=e._modules.getNamespace(a);if(i.namespaced&&(e._modulesNamespaceMap[s]=i),!r&&!n){var o=f(t,a.slice(0,-1)),c=a[a.length-1];
1e._withCommit(function(){l.set(o,c,i.state)})}var u=i.context=function(e,t,a){var i=""===t,n={dispatch:i?e.dispatch:function(a,i,n){var r=_(a,i,n),s=r.payload,o=r.options,l=r.type;return o&&o.root||(l=t+l),e.dispatch(l,s)},commit:i?e.commit:function(a,i,n){var r=_(a,i,n),s=r.payload,o=r.options,l=r.type;o&&o.root||(l=t+l),e.commit(l,s,o)}};return Object.defineProperties(n,{getters:{get:i?function(){return e.getters}:function(){return function(e,t){var a={},i=t.length;return Object.keys(e.getters).forEach(function(n){if(n.slice(0,i)===t){var r=n.slice(i);Object.defineProperty(a,r,{get:function(){return e.getters[n]},enumerable:!0})}}),a}(e,t)}},state:{get:function(){return f(e.state,a)}}}),n}(e,s,a);i.forEachMutation(function(t,a){!function(e,t,a,i){(e._mutations[t]||(e._mutations[t]=[])).push(function(t){a.call(e,i.state,t)})}(e,s+a,t,u)}),i.forEachAction(function(t,a){var i=t.root?a:s+a,n=t.handler||t;!function(e,t,a,i){(e._actions[t]||(e._actions[t]=[])).push(function(t,n){var r=a.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t,n);return function(e){return e&&"function"==typeof e.then}(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):r})}(e,i,n,u)}),i.forEachGetter(function(t,a){!function(e,t,a,i){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return a(i.state,i.getters,e.state,e.getters)}}(e,s+a,t,u)}),i.forEachChild(function(i,r){h(e,t,a.concat(r),i,n)})}function f(e,t){return t.length?t.reduce(function(e,t){return e[t]},e):e}function _(e,t,a){return function(e){return null!==e&&"object"==typeof e}(e)&&e.type&&(a=t,t=e,e=e.type),{type:e,payload:t,options:a}}function v(e){l&&e===l||
2/**
3 * vuex v3.1.1
4 * (c) 2019 Evan You
5 * @license MIT
6 */
7function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:a});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[a].concat(e.init):a,t.call(this,e)}}function a(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l=e)}u.state.get=function(){return this._vm._data.$$state},u.state.set=function(e){0},c.prototype.commit=function(e,t,a){var i=this,n=_(e,t,a),r=n.type,s=n.payload,o=(n.options,{type:r,payload:s}),l=this._mutations[r];l&&(this._withCommit(function(){l.forEach(function(e){e(s)})}),this._subscribers.forEach(function(e){return e(o,i.state)}))},c.prototype.dispatch=function(e,t){var a=this,i=_(e,t),n=i.type,r=i.payload,s={type:n,payload:r},o=this._actions[n];if(o){try{this._actionSubscribers.filter(function(e){return e.before}).forEach(function(e){return e.before(s,a.state)})}catch(e){0}return(o.length>1?Promise.all(o.map(function(e){return e(r)})):o[0](r)).then(function(e){try{a._actionSubscribers.filter(function(e){return e.after}).forEach(function(e){return e.after(s,a.state)})}catch(e){0}return e})}},c.prototype.subscribe=function(e){return d(e,this._subscribers)},c.prototype.subscribeAction=function(e){return d("function"==typeof e?{before:e}:e,this._actionSubscribers)},c.prototype.watch=function(e,t,a){var i=this;return this._watcherVM.$watch(function(){return e(i.state,i.getters)},t,a)},c.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},c.prototype.registerModule=function(e,t,a){void 0===a&&(a={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),h(this,this.state,e,this._modules.get(e),a.preserveState),m(this,this.state)},c.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var a=f(t.state,e.slice(0,-1));l.delete(a,e[e.length-1])}),p(this)},c.prototype.hotUpdate=function(e){this._modules.update(e),p(this,!0)},c.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(c.prototype,u);var g=M(function(e,t){var a={};return w(t).forEach(function(t){var i=t.key,n=t.val;a[i]=function(){var t=this.$store.state,a=this.$store.getters;if(e){var i=S(this.$store,"mapState",e);if(!i)return;t=i.context.state,a=i.context.getters}return"function"==typeof n?n.call(this,t,a):t[n]},a[i].vuex=!0}),a}),y=M(function(e,t){var a={};return w(t).forEach(function(t){var i=t.key,n=t.val;a[i]=function(){for(var t=[],a=arguments.length;a--;
7)t[a]=arguments[a];var i=this.$store.commit;if(e){var r=S(this.$store,"mapMutations",e);if(!r)return;i=r.context.commit}return"function"==typeof n?n.apply(this,[i].concat(t)):i.apply(this.$store,[n].concat(t))}}),a}),b=M(function(e,t){var a={};return w(t).forEach(function(t){var i=t.key,n=t.val;n=e+n,a[i]=function(){if(!e||S(this.$store,"mapGetters",e))return this.$store.getters[n]},a[i].vuex=!0}),a}),k=M(function(e,t){var a={};return w(t).forEach(function(t){var i=t.key,n=t.val;a[i]=function(){for(var t=[],a=arguments.length;a--;)t[a]=arguments[a];var i=this.$store.dispatch;if(e){var r=S(this.$store,"mapActions",e);if(!r)return;i=r.context.dispatch}return"function"==typeof n?n.apply(this,[i].concat(t)):i.apply(this.$store,[n].concat(t))}}),a});function w(e){return Array.isArray(e)?e.map(function(e){return{key:e,val:e}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}})}function M(e){return function(t,a){return"string"!=typeof t?(a=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,a)}}function S(e,t,a){return e._modulesNamespaceMap[a]}var D={Store:c,install:v,version:"3.1.1",mapState:g,mapMutations:y,mapGetters:b,mapActions:k,createNamespacedHelpers:function(e){return{mapState:g.bind(null,e),mapGetters:b.bind(null,e),mapMutations:y.bind(null,e),mapActions:k.bind(null,e)}}};t.a=D}).call(this,a(9))},function(e){e.exports={auth:{login:"/api/login",register:"/api/register",logout:"/api/logout",user:"/api/user",confirm:"/api/confirm",refresh:"/api/refresh",password_reset_link:"/api/password-reset-link",password_reset_confirm:"/api/password-reset-confirm"},account:{key:"/api/account/billing/key",billing:"/api/account/billing",card:"/api/account/billing/card",upgrade:"/api/account/billing/subscription",subscription:"/api/account/billing/subscription",coupon:"/api/account/billing/subscription/coupon",user:"/api/account/user"},welcomeSurvey:{save:"/api/account/welcome-survey",skip:"/api/account/welcome-survey/skip",support:"/api/account/welcome-survey/support"},formGroup:{trip:"/api/trip",fuel:"/api/fuel",reports:"/api/reports",rates:"/api/rates",demoRates:"/api/demo-rates",equipment:"/api/equipment",emails:"/api/emails",drivers:"/api/drivers"},support:{requestLimitsUpgrade:"/api/support/limits-upgrade"},trackingApp:{waitlist:"/api/tracking-app/waitlist"},vinDecoder:"/api/tools/vindecoder",geo:{search:"/api/geo/search",oneLine:"/api/geo/one-line",street:"/api/geo/address",zip:"/api/geo/zip",resolve:"/api/geo/resolve"},frontPage:"api/calc",requestTraining:"/api/training",features:"api/features"}},function(e,t,a){"use strict";var i={};a.r(i),a.d(i,"init",function(){return l}),a.d(i,"auth",function(){return h}),a.d(i,"billing",function(){return v}),a.d(i,"address",function(){return y}),a.d(i,"datatable",function(){return k}),a.d(i,"training",function(){return w}),a.d(i,"features",function(){return M}),a.d(i,"trips",function(){return H}),a.d(i,"fuel",function(){return $}),a.d(i,"reports",function(){return q}),a.d(i,"rates",function(){return B}),a.d(i,"equipment",function(){return W}),a.d(i,"emails",function(){return U}),a.d(i,"drivers",function(){return V}),a.d(i,"frontPage",function(){return T}),a.d(i,"demoRates",function(){return C}),a.d(i,"support",function(){return Y}),a.d(i,"trackingApp",function(){return S}),a.d(i,"welcomeSurvey",function(){return D});var n=a(8),r=a.n(n),s=a(3),o=a(2),l={namespaced:!0,state:{pusher:null,channel:null,subscriptions:[]},mutations:{setPusher(e,t){e.pusher=t},setChannel(e,t){e.channel=t}},actions:{setRequestInterceptor(e,t){o.l.setRequestInterceptor(t)},setResponseInterceptor(e,t){o.l.setResponseInterceptor(t)}}},c=a(6),u=a.n(c),d=a(1);let p=!1;function m(e){return new Promise(t=>setTimeout(t,e))}var h={namespaced:!0,state:{serverNotice:null,user:null,token:u.a.get("token"),successfulAuth:!1,quickFilter:null},getters:{serverNotice:e=>e.serverNotice,user:e=>e.user,successfulAuth:e=>e.successfulAuth,check:e=>e.user&&e.token,token:e=>e.token,getField:d.a,hasUpgradeFreeLimitsOffer:e=>!!(e.user&&e.user.offers&&Array.isArray(e.user.offers))&&e.user.offers.some(e=>"UPGRADE_FREE_LIMITS_REQUEST"===e.type),hasOnboardingRequest:e=>!!(e.user&&e.user.offers&&Array.isArray(e.user.offers))&&e.user.offers.some(e=>"ONBOARDING_REQUEST"===e.type),hasWelcomeSurvey:e=>!!(e.user&&e.user.offers&&Array.isArray(e.user.offers))&&e.user.offers.some(e=>"WELCOME_SURVEY"===e.type)},mutations:{setServerNotice(e,t){e.serverNotice=t}
7,saveToken(e,{token:t,expiresIn:a}){e.token=t,u.a.set("token",e.token),u.a.set("timestamp",Date.now()+1e3*a,{expires:a/86400})},fetchUserSuccess(e,{user:t}){e.user=t,e.successfulAuth=!0},fetchUserFailure(e){e.token=null,u.a.remove("token"),e.successfulAuth=!1},logout(e){e.user=null,e.token=null,e.successfulAuth=!1},setQuickFilter(e,t){if("number"!=typeof t&&"string"!=typeof t)return void console.warn("setQuickFilter: data should be a number or numeric string");const a=String(t).trim();if(!/^\d{5}$/.test(a))return void console.warn("setQuickFilter: quickFilter must be 5 digits (YYYYQ)");const i=parseInt(a.slice(0,4),10),n=parseInt(a.slice(4,5),10);i<2e3||i>2100||![1,2,3,4].includes(n)?console.warn("setQuickFilter: quickFilter year or quarter out of range"):e.quickFilter=Number(t)},updateField:d.c},actions:{async registration({commit:e,dispatch:t},{name:a,company:i,email:n,password:r,passwordConfirmation:s}){const[l,c]=await o.a.registration(a,n,r,s,i);l?e("setServerNotice",{type:"danger",message:l.message}):(await t("login",{remember:!1,email:n,password:r}),window.dataLayer.push({event:"registration",event_id:`registration_${c.data.id}`}))},async login({commit:e,dispatch:t},{remember:a,email:i,password:n,code:r}){let s,l;[l,s]=r?await o.a.loginAuthCode(i,r):await o.a.login(i,n),l?e("setServerNotice",{type:"danger",message:l.message}):(e("saveToken",{token:s.data.access_token,expiresIn:s.data.expires_in}),await t("fetchUser"))},async passWordResetLink({commit:e},{email:t}){const[a,i]=await o.a.passWordResetLink(t);e("setServerNotice",a?{type:"danger",message:a.message}:{type:"success",message:i.data.message})},async passWordResetConfirm({commit:e,dispatch:t},{email:a,token:i,password:n,passwordConfirmation:r}){const[s,l]=await o.a.passWordResetConfirm(a,i,n,r);s?e("setServerNotice",{type:"danger",message:s.message}):(e("setServerNotice",{type:"success",message:l.data.message}),await t("login",{remember:!1,email:a,password:n}))},async reFetchUser({commit:e,dispatch:t,state:a}){if(await t("checkTokenExpiration"),a.token&&u.a.get("timestamp")){const[t,a]=await o.a.user();t?e("fetchUserFailure"):e("fetchUserSuccess",{user:a.data})}},async fetchUser({commit:e,dispatch:t,state:a}){if(await t("checkTokenExpiration"),!a.user&&a.token&&u.a.get("timestamp")){const[t,a]=await o.a.user();if(t)e("fetchUserFailure");else{e("fetchUserSuccess",{user:a.data});try{window.$emitNativeEvent("user_initialized",{user_id:a.data.id||null})}catch(e){}}}},async logout({commit:e}){u.a.get("token")&&(await o.a.logout(),u.a.remove("token"),u.a.remove("timestamp")),e("logout")},async setError({commit:e},{errorCode:t}){let a="Error";"error_social_provider"==t&&(a="Auth Provider error"),"error_user_not_found"==t&&(a="User not found"),"error_registration_failed"==t&&(a="Registration failed"),e("setServerNotice",{type:"danger",message:a})},async getToken({commit:e,dispatch:t,state:a},i){if(!p){p=!0;let n=null,r=null;return i?[n,r]=await o.a.confirm(i):a.token?[n,r]=await o.a.refresh():t("logout"),n?(i&&e("setServerNotice",{type:"danger",message:n.message}),!0):(e("saveToken",{token:r.data.access_token,expiresIn:r.data.expires_in}),p=!1,!1)}for(;p;)await m(500);return!1},async checkTokenExpiration({dispatch:e}){u.a.get("token")&&(!u.a.get("timestamp")||u.a.get("timestamp")<Date.now())&&await e("getToken")}}};class f{constructor(e,t){this.namespaced=!0,this.modules=t,this.state=JSON.parse(JSON.stringify(e)),this.getters={getField:d.a},this.mutations={clearState(t){Object.assign(t,JSON.parse(JSON.stringify(e)))},updateField:d.c},this.actions={clearState({commit:e}){e("clearState")}}}}const _=new f({serverNotice:null,stripeKey:null,packages:[],subscription:{limit:0,package_id:null,subscription_id:null},used:0,coupon:{id:null,code:null,description:null}},{});var v={..._,mutations:{..._.mutations,setStripeKey(e,t){e.stripeKey=t},setCoupon(e,t){e.coupon=t?t.coupon:{id:null,code:null,description:null}},setServerNotice(e,t){e.serverNotice=t},setBillingData(e,t){e.packages=t.packages||[],e.subscription=t.subscription,e.used=t.used||0}},actions:{..._.actions,async getStripeKey({commit:e}){const[t,a]=await o.b.getStripeKey();t?e("setServerNotice",{type:"danger",message:t.message}):e("setStripeKey",a&&a.data)},async getBillingData({commit:e}){const[t,a]=await o.b.getBillingData();t?e("setServerNotice",{type:"danger",message:t.message}):e("setBillingData",a&&a.data)},async applyCoupon({commit:e},t){const[a,i]=await o.b.applyCoupon({coupon_code:t});a?e("setServerNotice",{type:"danger",message:a.message}):(e("setCoupon",i.data),e("setServerNotice",{type:"success",message:"Success"}))},async sendStripeToken({commit:e},t){const[a,i]=await o.b.sendStripeToken(t);a?e("setServerNotice",{type:"danger",message:a.message}):i.data.error?e("setServerNotice",{type:"danger",message:i.data.error}):e("setServerNotice",{type:"success",message:"Success"})},async updateMainPaymentMethod({commit:e}
7,{data:t,id:a}){const[i]=await o.b.updateMainPaymentMethod(t,a);e("setServerNotice",i?{type:"danger",message:i.message}:{type:"success",message:"Success"})},async deletePaymentMethod({commit:e},t){const[a]=await o.b.deletePaymentMethod(t);e("setServerNotice",a?{type:"danger",message:a.message}:{type:"success",message:"Success"})},async upgradePlan({commit:e,state:t},{data:a,id:i}){t.coupon&&t.coupon.id&&(a.coupon_id=t.coupon.id);const[n]=await o.b.upgradePlan(a,i);n?e("setServerNotice",{type:"danger",message:n.message}):(e("setCoupon",null),e("setServerNotice",{type:"success",message:"Success"}))},async cancelSubscription({commit:e},{data:t,id:a}){const[i]=await o.b.cancelSubscription(t,a);e("setServerNotice",i?{type:"danger",message:i.message}:{type:"success",message:"Success"})}}};const g={serverNotice:null,addressList:[]};var y={namespaced:!0,state:JSON.parse(JSON.stringify(g)),getters:{getField:d.a},mutations:{setServerNotice(e,t){e.serverNotice=t},saveAddresses(e,t){e.addressList=t},clearState(e){Object.assign(e,JSON.parse(JSON.stringify(g)))},updateField:d.c},actions:{async searchAddress({commit:e},{search:t,mode:a}){const[i,n]=await o.k.searchAddress(t,a);i?e("setServerNotice",{type:"danger",message:i.message}):e("saveAddresses",n&&n.data.data)},async searchStreet({commit:e},t){const[a,i]=await o.k.searchStreet(t);a?e("setServerNotice",{type:"danger",message:a.message}):e("saveAddresses",i&&i.data.data)},async searchZip({commit:e},t){const[a,i]=await o.k.searchZip(t);a?e("setServerNotice",{type:"danger",message:a.message}):e("saveAddresses",i&&i.data.data)},clearData({commit:e}){e("clearState")}}};const b={serverNotice:null,dataList:[],columns:null,totalRows:0,filteredRows:0,startPage:0,numberPerPage:50,numberPerPageOptions:[{value:10},{value:25},{value:50},{value:100}],matchString:"",filterOptions:{},orderColumn:null,orderDir:null};var k={namespaced:!0,state:JSON.parse(JSON.stringify(b)),getters:{getField:d.a},mutations:{setServerNotice(e,t){e.serverNotice=t},setDataList(e,t){"object"!=typeof t||t.error||(e.startPage=t.input?t.input.start:e.startPage,e.numberPerPage=t.input?Number(t.input.length):e.numberPerPage,e.dataList=t.data,e.totalRows=t.recordsTotal,e.filteredRows=t.recordsFiltered)},initState(e){Object.assign(e,JSON.parse(JSON.stringify(b)))},updateField:d.c},actions:{async getDataList({commit:e,state:t},a){const[i,n]=await o.c.getList(a,{columns:t.columns,start:t.startPage,length:t.numberPerPage,search:t.matchString,filter:t.filterOptions,orderColumn:t.orderColumn,orderDir:t.orderDir});i?e("setServerNotice",{type:"danger",message:i.message}):e("setDataList",n.data)},initDatatable({commit:e}){e("initState")}}};var w={namespaced:!0,state:JSON.parse(JSON.stringify({serverNotice:null})),getters:{getField:d.a},mutations:{setServerNotice(e,t){e.serverNotice=t},updateField:d.c},actions:{async requestTraining({commit:e},t){const[a]=await o.q.requestTraining(t);e("setServerNotice",a?{type:"danger",message:a.message}:{type:"success",message:"Thanks for submitting the form!"})}}};var M={namespaced:!0,state:JSON.parse(JSON.stringify({serverNotice:null,featureList:null})),getters:{getField:d.a},mutations:{setServerNotice(e,t){e.serverNotice=t},setFeatureList(e,t){e.featureList=t},updateField:d.c},actions:{async getFeatures({commit:e}){const[t,a]=await o.h.getFeatures();t?e("setServerNotice",{type:"danger",message:t.message}):e("setFeatureList",a&&a.data)},async markViewId({commit:e},{viewId:t}){const[a]=await o.h.markViewId(t);a&&e("setServerNotice",{type:"danger",message:a.message})}}};var S={namespaced:!0,state:JSON.parse(JSON.stringify({serverNotice:null,joined:!1,segment:null,email:null,userRoleId:null,companyTypeId:null,fleetSize:null,desiredFeatureIds:[]})),getters:{getField:d.a},mutations:{setServerNotice(e,t){e.serverNotice=t},setStatus(e,t){e.joined=!(!t||!t.joined),e.segment=t&&t.segment||null,e.email=t&&t.email||null,e.userRoleId=t&&t.userRoleId||null,e.companyTypeId=t&&t.companyTypeId||null,e.fleetSize=t&&t.fleetSize||null,e.desiredFeatureIds=t&&t.desiredFeatureIds||[]},updateField:d.c},actions:{async fetchWaitlistStatus({commit:e}){const[t,a]=await o.p.waitlistStatus();t?e("setServerNotice",{type:"danger",message:t.message}):e("setStatus",a&&a.data)},async joinWaitlist({commit:e,dispatch:t},a={}){const[i]=await o.p.joinWaitlist(a);i?e("setServerNotice",{type:"danger",message:i.message}):(e("setServerNotice",{type:"success",message:"You’re on the waitlist. We’ll notify you before launch."}),await t("fetchWaitlistStatus"))}}};var D={namespaced:!0,state:JSON.parse(JSON.stringify({serverNotice:null,saving:!1,supportSent:!1})),getters:{getField:d.a},mutations:{setServerNotice(e,t){e.serverNotice=t},setSaving(e,t){e.saving=!!t}
7,setSupportSent(e,t){e.supportSent=!!t},updateField:d.c},actions:{track({rootState:e},{name:t,payload:a={}}){const i=e.auth&&e.auth.user&&e.auth.user.id;!function(e,t={}){try{window.dataLayer&&Array.isArray(window.dataLayer)&&window.dataLayer.push({event:e,...t})}catch(e){}try{"function"==typeof window.$emitNativeEvent&&window.$emitNativeEvent(e,t)}catch(e){}}(t,{...a,user_id:i||null})},async saveStep({commit:e,dispatch:t},a){e("setSaving",!0);const[i,n]=await async function(e){let[t,a]=await o.t.save(e);return t&&([t,a]=await o.t.save(e)),[t,a]}(a);return e("setSaving",!1),i?(e("setServerNotice",{type:"danger",message:i.message}),null):(await t("auth/reFetchUser",null,{root:!0}),n&&n.data&&n.data.welcome_survey)},async skip({commit:e,dispatch:t},a={}){e("setSaving",!0);const[i]=await o.t.skip();e("setSaving",!1),t("track",{name:"welcome_survey_skip",payload:a}),i&&e("setServerNotice",{type:"danger",message:i.message}),await t("auth/reFetchUser",null,{root:!0})},async sendSupport({commit:e,dispatch:t},a){e("setSaving",!0);const[i,n]=await o.t.support(a);return e("setSaving",!1),t("track",{name:"welcome_survey_support",payload:{role:a.role||null,intent:a.intent||null,source:a.source||null}}),i?(e("setServerNotice",{type:"danger",message:i.message}),!1):(e("setSupportSent",!0),await t("auth/reFetchUser",null,{root:!0}),!(!n||!n.data))},async complete({dispatch:e},t){await e("saveStep",{...t,completed:!0,status:"completed"}),e("track",{name:"welcome_survey_complete",payload:{role:t.role||null,intent:t.intent||null,services:t.services||[],final_cta:t.final_cta||null}})}}};const L={addressServerNotice:null,routeServerNotice:null,reportServerNotice:null,addressList:[],relatedData:{},routeCalculationData:{},iftaReport:{}};var T={namespaced:!0,state:JSON.parse(JSON.stringify(L)),getters:{getField:d.a},mutations:{setRouteServerNotice(e,t){e.routeServerNotice=t},setAdressServerNotice(e,t){e.addressServerNotice=t},setReportServerNotice(e,t){e.reportServerNotice=t},saveAddresses(e,t){e.addressList=t},setRelatedData(e,t){e.relatedData=t},setIftaReport(e,t){e.iftaReport=t},updateRouteCalculationData(e,t){e.routeCalculationData={id:t.id,status:t.status,info:t.info,distance:t.trip&&t.trip.distance,display_distance:t.trip&&t.trip.display_distance,state_mileages:t.trip&&t.trip.state_mileages,warnings:t.warnings||[]}},clearState(e){Object.assign(e,JSON.parse(JSON.stringify(L)))},updateField:d.c},actions:{async startRouteCalculation({commit:e},t){const[a]=await o.i.startRouteCalculation(t);a&&e("setRouteServerNotice",{type:"danger",message:a.message})},async checkRouteCalculation({commit:e},t){const[a,i]=await o.i.checkRouteCalculation(t);a?e("setRouteServerNotice",{type:"danger",message:a.message}):(e("updateRouteCalculationData",i&&i.data),i.data.warnings&&i.data.warnings.length&&e("setReportServerNotice",{type:"warning",message:i.data.warnings[0]}))},async getIftaReport({commit:e},t){const[a,i]=await o.i.getIftaReport({fuel_purchases:t});a?e("setReportServerNotice",{type:"danger",message:a.message}):(e("setIftaReport",i&&i.data),i.data.report.warnings&&i.data.report.warnings.length&&e("setReportServerNotice",{type:"warning",message:i.data.report.warnings[0]}))},async getRelatedData({commit:e}){const[t,a]=await o.i.getRelatedData();if(t)e("setRouteServerNotice",{type:"danger",message:t.message});else{const t={};a&&Object.keys(a.data).forEach(e=>{t[e]=a.data[e].data}),e("setRelatedData",t)}},async searchAddress({commit:e},{search:t,mode:a}){const[i,n]=await o.i.searchAddress(t,a);i?e("setAdressServerNotice",{type:"danger",message:i.message}):e("saveAddresses",n&&n.data.data)},async searchStreet({commit:e},t){const[a,i]=await o.i.searchStreet(t);a?e("setAdressServerNotice",{type:"danger",message:a.message}):e("saveAddresses",i&&i.data.data)},async searchZip({commit:e},t){const[a,i]=await o.i.searchZip(t);a?e("setAdressServerNotice",{type:"danger",message:a.message}):e("saveAddresses",i&&i.data.data)},clearData({commit:e}){e("clearState")}}};const x=new f({listData:[],relatedData:{years:[],quarters:[]}},{});var C={...x,mutations:{...x.mutations,setServerNotice(e,t){e.serverNotice=t},setListData(e,t){e.listData=t.data}
7,setRelatedData(e,t){Object.keys(t).forEach(e=>{t[e]=t[e].data}),e.relatedData=t}},actions:{...x.actions,async getList({commit:e},t){const[a,i]=await o.d.getList(...t);a?e("setServerNotice",{type:"danger",message:a.message}):e("setListData",i&&i.data)},async getRelatedData({commit:e},t){const[a,i]=await o.d.getListRelatedData(t);a?e("setServerNotice",{type:"danger",message:a.message}):e("setRelatedData",i&&i.data)}}};var Y={namespaced:!0,state:JSON.parse(JSON.stringify({serverNotice:null,tutorialList:null,counter:null})),getters:{getField:d.a},mutations:{setServerNotice(e,t){e.serverNotice=t},setTutorialList(e,t){e.tutorialList=t},setCounter(e,t){e.counter=t},updateField:d.c},actions:{async requestLimitsUpgrade({commit:e},t){const[a]=await o.o.requestLimitsUpgrade(t);e("setServerNotice",a?{type:"danger",message:a.message}:{type:"success",message:"Thanks for submitting the form! "})},async requestTraining({commit:e},t){const[a]=await o.o.requestTraining(t);e("setServerNotice",a?{type:"danger",message:a.message}:{type:"success",message:"Thanks for submitting the form!"})},async sendEmail({commit:e},t){const[a]=await o.o.sendEmail(t);e("setServerNotice",a?{type:"danger",message:a.message}:{type:"success",message:"Thanks for submitting the form!"})},async getTutorials({commit:e}){const[t,a]=await o.o.getTutorials();t?e("setServerNotice",{type:"danger",message:t.message}):e("setTutorialList",a&&a.data)},async markViewId({commit:e},{viewId:t}){const[a]=await o.o.markViewId(t);a&&e("setServerNotice",{type:"danger",message:a.message})},async getCounter({commit:e},{id:t}){const[a,i]=await o.o.getCounter(t);a?e("setServerNotice",{type:"danger",message:a.message}):e("setCounter",i&&i.data)},async updateCounter({commit:e},{id:t}){const[a,i]=await o.o.updateCounter(t);a&&e("setServerNotice",{type:"danger",message:a.message})}}};class A{constructor(e,t){const a={serverNotice:null,formData:{},relatedData:{},...e};this.namespaced=!0,this.state=JSON.parse(JSON.stringify(a)),this.getters={getField:d.a},this.mutations={setFormData(e,t){e.formData=t},setServerNotice(e,t){e.serverNotice=t},setRelatedData(e,t){e.relatedData=t},clearFormData(e){e.serverNotice=null,e.formData=Object.assign({},JSON.parse(JSON.stringify(a.formData)))},updateField:d.c},this.actions={async getItem({commit:e},a){const[i,n]=await t.read(...a);i?e("setServerNotice",{type:"danger",message:i.message}):e("setFormData",n&&n.data)},async createItem({commit:e,state:a},i){const[n,r]=await t.create(a.formData,...i||[]);n?e("setServerNotice",{type:"danger",message:n.message}):(e("setFormData",r&&r.data),e("setServerNotice",{type:"success",message:"Success"}))},async updateItem({commit:e},{data:a,ids:i}){const[n,r]=await t.update(a,...i);n?e("setServerNotice",{type:"danger",message:n.message}):(e("setFormData",r&&r.data),e("setServerNotice",{type:"success",message:"Success"}))},async getRelatedData({commit:e},a){const[i,n]=await t.getRelatedData(...a);if(i)e("setServerNotice",{type:"danger",message:i.message});else{const t={};n&&Object.keys(n.data).forEach(e=>{t[e]=n.data[e].data}),e("setRelatedData",t)}},async deleteItem({commit:e},a){const[i]=await t.delete(...a);e("setServerNotice",i?{type:"danger",message:i.message}:{type:"success",message:"Success"})},clearFormData({commit:e}){e("clearFormData")}}}checkFileSize(e){return e>10485760?"The file cannot exceed 10 MB":null}}const E={serverNotice:null,formData:{id:null,equipment_id:null,date:null,notes:null,input_mode:"route",extracted_data_id:null,route:[],state_mileages:[],manual_state_mileages:[],display_route:null,display_error:null,route_recalc_status:null,recalc_exists:!1,distance:null,is_track_readonly:!1,trip_track:null,ui_timeline:[]},mutableRoute:[],relatedData:{},recalcRequestTimerId:null,file:null},O=new A(E,o.r);const I=["oneline","extended","coords"];const F=(e,t={})=>{const a=Object.assign({street:null,city:null,state:null,zip:null,country:null},{street:t.street||null,city:t.city||null,state:t.state||null,zip:t.zip||null,country:t.country||null}),i=!!(a.city||a.state||a.zip),n=t.result&&t.result.formatted||(i?function(e){return e?[[e.street,e.city].filter(
7Boolean).join(", "),[e.state,e.zip].filter(Boolean).join(" ")].filter(Boolean).join(", "):""}(a):null),r=function(e){return-1!==I.indexOf(e)?e:"oneline"}(t.input_type||t.input&&t.input.type);return{id:e,status:i?"resolved":"pending",input:{value:n||"",type:i?r:"oneline",address:Object.assign({street:null,city:null,state:null,zip:null,country:null},a)},result:{formatted:n||null,point:function(e){return e.result&&Array.isArray(e.result.point)?e.result.point.slice():Array.isArray(e.point)?e.point.slice():null}(t)},address:a,validation:{status:null,errors:[],warnings:[],suggestions:[]},ui:{mode:"expanded",extended:!1},reqSeq:0}},P=(e,t)=>e.stops.find(e=>e.id===t);const j=new f({filter:{quarter:null,year:null},listData:{quarters:[],informers:{total_ifta_miles:null,total_gallons:null,avg_miles_galons:null,total_tax_due:null},extracted_data_batch:[]}},{form:{...O,mutations:{...O.mutations,setFormData(e,t){e.formData=Object.assign({},JSON.parse(JSON.stringify(E.formData)),t||{}),e.formData.input_mode=e.formData.input_mode||"route",Array.isArray(e.formData.route)||(e.formData.route=[]),"manual"===e.formData.input_mode&&Array.isArray(e.formData.state_mileages)&&(e.formData.manual_state_mileages=e.formData.state_mileages.map(e=>({state:e.state,distance:e.distance})))},setTripData(e,t){e.mutableRoute=t.route,e.formData.input_mode=t.input_mode||"route",e.formData.date=t.date,e.formData.notes=t.notes,e.formData.equipment_id=t.equipment_id,e.formData.extracted_data_id=t.extracted_data_id,e.formData.recalc_exists=t.recalc_exists,"manual"===e.formData.input_mode&&Array.isArray(t.state_mileages)&&(e.formData.manual_state_mileages=t.state_mileages.map(e=>({state:e.state,distance:e.distance})))},updateCalculatingData(e,t){e.formData.route_recalc_status=t.route_recalc_status,e.formData.state_mileages=t.state_mileages,e.formData.display_route=t.display_route,e.formData.display_error=t.display_error,e.formData.distance=t.distance,e.formData.recalc_exists=t.recalc_exists},clearFormData(e){e.recalcRequestTimerId&&clearInterval(e.recalcRequestTimerId),e.serverNotice=null,e.formData=Object.assign({},JSON.parse(JSON.stringify(E.formData)))}},actions:{...O.actions,setRecalcRequestTimer({commit:e,state:t},a){let i=1e3;
7const n=async()=>{const[r,s]=await o.r.read(...a);r?(t.formData.route_recalc_status="error",e("setServerNotice",{type:"danger",message:"Sorry, route calculation error"})):e("updateCalculatingData",s&&s.data),i+=i,clearInterval(t.recalcRequestTimerId),t.recalcRequestTimerId=null,i<6e4&&"pending"===t.formData.route_recalc_status&&(t.recalcRequestTimerId=setInterval(n,i))};t.recalcRequestTimerId=setInterval(n,i)}}},formExtended:{namespaced:!0,state:JSON.parse(JSON.stringify({stops:[],keyCounter:1})),getters:{stops:e=>e.stops,canSave:e=>e.stops.length>=2&&e.stops.every(e=>"resolved"===e.status),routePayload:e=>e.stops.filter(e=>"resolved"===e.status&&e.address.state).map(e=>({street:e.address.street,city:e.address.city,state:e.address.state,zip:e.address.zip,input_type:e.input.type||"oneline",result:{formatted:e.result.formatted,point:e.result.point}}))},mutations:{initStops(e,t){const a=Array.isArray(t)?t:[];for(e.stops=a.map(t=>{const a=F(e.keyCounter,t);return e.keyCounter+=1,a});e.stops.length<2;)e.stops.push(F(e.keyCounter)),e.keyCounter+=1},addStop(e){e.stops.push(F(e.keyCounter)),e.keyCounter+=1},removeStop(e,t){if(e.stops.length<=2)return;const a=e.stops.findIndex(e=>e.id===t);-1!==a&&e.stops.splice(a,1)},setInputValue(e,{id:t,value:a}){const i=P(e,t);i&&(i.input.value=a)},setInputAddressPart(e,{id:t,part:a,value:i}){const n=P(e,t);n&&(n.input.address[a]=""===i?null:i)},setUiMode(e,{id:t,mode:a}){const i=P(e,t);i&&(i.ui.mode=a)},startRequest(e,t){const a=P(e,t);a&&(a.reqSeq+=1,a.status="loading")},openExtended(e,t){const a=P(e,t);a&&(a.input.address=Object.assign({street:null,city:null,state:null,zip:null,country:null},a.address),a.ui.extended=!0)},closeExtended(e,t){const a=P(e,t);a&&(a.ui.extended=!1)},applyResult(e,{id:t,seq:a,data:i,inputType:n}){const r=P(e,t);if(!r||r.reqSeq!==a)return;const s=i||{};r.status="resolved"===s.status?"resolved":"error",r.address=Object.assign({street:null,city:null,state:null,zip:null,country:null},s.address||{}),r.result.formatted=s.formatted||null,r.result.point=Array.isArray(s.point)?s.point.slice():null,r.validation=Object.assign({status:null,errors:[],warnings:[],suggestions:[]},s.validation||{}),"resolved"===r.status&&(r.input.value=s.formatted||r.input.value,n&&(r.input.type=n),r.ui.extended=!1)},applyRequestFailure(e,{id:t,seq:a,message:i}){const n=P(e,t);n&&n.reqSeq===a&&(n.status="error",n.result.formatted=null,n.result.point=null,n.validation=Object.assign({status:null,errors:[],warnings:[],suggestions:[]},{status:"error",errors:[{code:"REQUEST_FAILED",message:i||"Could not validate this address, please try again."}]}))},resetStop(e,t){const a=P(e,t);a&&(a.status="pending",a.input.value="",a.input.type="oneline",a.input.address={street:null,city:null,state:null,zip:null,country:null},a.result.formatted=null,a.result.point=null,a.address={street:null,city:null,state:null,zip:null,country:null},a.validation={status:null,errors:[],warnings:[],suggestions:[]},a.ui.mode="expanded",a.ui.extended=!1,a.reqSeq+=1)},clearStops(e){e.stops=[],e.keyCounter=1}},actions:{initStops({commit:e},t){e("initStops",t)},addStop({commit:e}){e("addStop")},removeStop({commit:e},t){e("removeStop",t)},clearStops({commit:e}){e("clearStops")},async resolveLine({commit:e,state:t},{id:a,value:i}){const n=(i||"").trim();if(!n)return void e("resetStop",a);const r=t.stops.find(e=>e.id===a);if(!r)return;e("startRequest",a);const s=r.reqSeq,[l,c]=await o.k.resolveAddress({value:n,query:n});l?e("applyRequestFailure",{id:a,seq:s,message:l.message}):e("applyResult",{id:a,seq:s,data:c&&c.data,inputType:"oneline"})},async resolveParts({commit:e,state:t},a){const i=a&&"object"==typeof a&&null!=a.id?a.id:a,n=t.stops.find(e=>e.id===i);if(!n)return;e("startRequest",i);const r=n.reqSeq,s={address:{street:n.input.address.street,city:n.input.address.city,state:n.input.address.state,zip:n.input.address.zip}},l=a&&"object"==typeof a?(a.query||"").trim():"",c=a&&"object"==typeof a&&a.inputType?a.inputType:"extended";l&&(s.query=l);const[u,d]=await o.k.resolveAddress(s);u?e("applyRequestFailure",{id:i,seq:r,message:u.message}):e("applyResult",{id:i,seq:r,data:d&&d.data,inputType:c})},async applySuggestion({commit:e,state:t,dispatch:a},{id:i,suggestion:n}){const r=t.stops.find(e=>e.id===i);r&&n&&(e("setInputAddressPart",{id:i,part:"street",value:n.street||null}),e("setInputAddressPart",{id:i,part:"city",value:n.city||null}),e("setInputAddressPart",{id:i,part:"state",value:n.state||null}),e("setInputAddressPart",{id:i,part:"zip",value:n.zip||null}),await a("resolveParts",{id:i,inputType:r.input.type||"oneline"}))},async resolvePoint({commit:e,state:t},{id:a,lat:i,lng:n}){const r=t.stops.find(e=>e.id===a);if(!r)return;e("startRequest",a);const s=r.reqSeq,[l,c]=await o.k.resolvePoint(i,n);l?e("applyRequestFailure",{id:a,seq:s,message:l.message}):e("applyResult",{id:a,seq:s,data:c&&c.data,inputType:"coords"})}}}});var H={...j,mutations:{...j.mutations,setServerNotice(e,t){e.serverNotice=t},setRelatedData(e,t){const a={quarters:[],informers:{},extracted_data_batch:[]};
7Object.keys(t.quarters.data).forEach(e=>{a.quarters[e]=t.quarters.data[e]}),Object.keys(t.informers.data).forEach(e=>{a.informers[e]=t.informers.data[e]}),Object.keys(t.extracted_data_batch).forEach(e=>{a.extracted_data_batch[e]=t.extracted_data_batch[e]}),e.listData=a},setFilter(e,t){e.filter.quarter=t.quarter,e.filter.year=t.year}},actions:{...j.actions,async getRelatedData({commit:e},t){const[a,i]=await o.r.getListRelatedData(t);a?e("setServerNotice",{type:"danger",message:a.message}):e("setRelatedData",i&&i.data)},applyFilter({commit:e},t){e("setFilter",t)}}};var $=new f({},{form:new A({serverNotice:null,formData:{id:null,equipment_id:null,date:null,fuel_units:null,city:null,state:null,zip:null,notes:null},relatedData:{}},o.j)});const N=new f({serverNotice:null,reportData:[],reportWarnings:[],listData:{quarters:[],equipment:[]},filter:{q:null,equipment_id:null,per_equipment:0,hide_no_data:1},pdfUrl:"/",excelUrl:"/"},{});var q={...N,mutations:{...N.mutations,setServerNotice(e,t){e.serverNotice=t},setReportWarnings(e,t){e.reportWarnings=t||[]},setReportData(e,t){e.reportData=[],Array.isArray(t.data)?e.reportData=[t]:e.reportData=Object.keys(t.data).map(e=>({title:t.equipment[e].display_value,data:t.data[e],totals:t.totals[e]}))},setDocLinks(e,t){[e.pdfUrl,e.excelUrl]=t},setRelatedData(e,t){Object.keys(t).forEach(a=>{e.listData[a]=t[a].data})}},actions:{...N.actions,async getReportData({commit:e,dispatch:t,state:a}){const i={q:a.filter.q||"",equipment_id:a.filter.equipment_id||"",per_equipment:a.filter.per_equipment?1:"",hide_no_data:a.filter.hide_no_data?1:""},[n,r]=await o.n.getReportData(i);n?e("setServerNotice",{type:"danger",message:n.message}):(e("setReportData",r&&r.data),e("setReportWarnings",r.data&&r.data.warnings),t("getDocLinks",i),e("setServerNotice",{type:"success",message:"Success"}))},async getRelatedData({commit:e}){const[t,a]=await o.n.getListRelatedData();t?e("setServerNotice",{type:"danger",message:t.message}):e("setRelatedData",a&&a.data)},getDocLinks({commit:e},t){e("setDocLinks",o.n.getDocLinks(t))}}};const R=new f({filter:{year:null,quarter:null},relatedData:{years:[],quarters:[]}},{form:new A({serverNotice:null,formData:{id:null},relatedData:{}},o.m)});var B={...R,mutations:{...R.mutations,setServerNotice(e,t){e.serverNotice=t},setRelatedData(e,t){Object.keys(t).forEach(e=>{t[e]=t[e].data}),e.relatedData=t}},actions:{...R.actions,async getRelatedData({commit:e},t){const[a,i]=await o.m.getListRelatedData(t);a?e("setServerNotice",{type:"danger",message:a.message}):e("setRelatedData",i&&i.data)}}};var W=new f({},{form:new A({serverNotice:null,formData:{id:null,unit:null,make:null,model:null,vin:null,year:null,active:null,meta:null,eld:null},relatedData:{}},o.g)});const z=new A({serverNotice:null,url:o.f.uri,formData:{from:null,to:null,cc:null,bcc:null,subject:null,body:null,template_body:null,attachments:[],uniqid:null,tmpl_name:null,options:{statement_id:null}}},o.f);var U=new f({},{form:{...z,mutations:{...z.mutations,attachFile(e,t){e.formData.attachments.push({alias:t.data.alias,file_name:t.data.file_name,file_size:t.data.file_size,url:t.data.url})}},actions:{...z.actions,setEmailData({commit:e},t){t.cc=null,t.bcc=null,e("setFormData",t)},async uploadFile({commit:e},t){const[a,i]=await o.f.uploadFile(t);a?e("setServerNotice",{type:"danger",message:a.message}):e("attachFile",i&&i)},async sendEmail({commit:e,state:t}){const[a]=await o.f.create(t.formData);e("setServerNotice",a?{type:"danger",message:a.message}:{type:"success",message:"Success"})}}}});var V=new f({},{form:new A({serverNotice:null,formData:{id:null,first_name:null,last_name:null,email:null,phone:null,meta:null},relatedData:{}},o.e)});r.a.use(s.a);t.a=new s.a.Store({modules:i})},function(e,t,a){var i,n;
8/*!
9 * JavaScript Cookie v2.2.0
10 * https://github.com/js-cookie/js-cookie
11 *
12 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
13 * Released under the MIT license
14 */!function(r){if(void 0===(n="function"==typeof(i=r)?i.call(t,a,t,e):i)||(e.exports=n),!0,e.exports=r(),!!0){var s=window.Cookies,o=window.Cookies=r();o.noConflict=function(){return window.Cookies=s,o}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var a=arguments[e];for(var i in a)t[i]=a[i]}return t}return function t(a){function i(t,n,r){var s;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(r=e({path:"/"},i.defaults,r)).expires){var o=new Date;o.setMilliseconds(o.getMilliseconds()+864e5*r.expires),r.expires=o}r.expires=r.expires?r.expires.toUTCString():"";try{s=JSON.stringify(n),/^[\{\[]/.test(s)&&(n=s)}catch(e){}n=a.write?a.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decode
14URIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var l="";for(var c in r)r[c]&&(l+="; "+c,!0!==r[c]&&(l+="="+r[c]));return document.cookie=t+"="+n+l}t||(s={});for(var u=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,p=0;p<u.length;p++){var m=u[p].split("="),h=m.slice(1).join("=");this.json||'"'!==h.charAt(0)||(h=h.slice(1,-1));try{var f=m[0].replace(d,decodeURIComponent);if(h=a.read?a.read(h,f):a(h,f)||h.replace(d,decodeURIComponent),this.json)try{h=JSON.parse(h)}catch(e){}if(t===f){s=h;break}t||(s[f]=h)}catch(e){}}return s}}return i.set=i,i.get=function(e){return i.call(i,e)},i.getJSON=function(){return i.apply({json:!0},[].slice.call(arguments))},i.defaults={},i.remove=function(t,a){i(t,"",e(a,{expires:-1}))},i.withConverter=t,i}(function(){})})},function(e,t,a){"use strict";var i=a(84),n=a(99),r=Object.prototype.toString;function s(e){return"[object Array]"===r.call(e)}function o(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===r.call(e)}function c(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),s(e))for(var a=0,i=e.length;a<i;a++)t.call(null,e[a],a,e);else for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.call(null,e[n],n,e)}e.exports={isArray:s,isArrayBuffer:function(e){return"[object ArrayBuffer]"===r.call(e)},isBuffer:n,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===r.call(e)},isFile:function(e){return"[object File]"===r.call(e)},isBlob:function(e){return"[object Blob]"===r.call(e)},isFunction:l,isStream:function(e){return o(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:c,merge:function e(){var t={};function a(a,i){"object"==typeof t[i]&&"object"==typeof a?t[i]=e(t[i],a):t[i]=a}for(var i=0,n=arguments.length;i<n;i++)c(arguments[i],a);return t},extend:function(e,t,a){return c(t,function(t,n){e[n]=a&&"function"==typeof t?i(t,a):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,a){(function(t,a){
15/*!
16 * Vue.js v2.6.10
17 * (c) 2014-2019 Evan You
18 * Released under the MIT License.
19 */
20e.exports=function(){"use strict";var e=Object.freeze({});function i(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function c(e){return"[object Object]"===l.call(e)}function u(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var a=Object.create(null),i=e.split(","),n=0;n<i.length;n++)a[i[n]]=!0;return t?function(e){return a[e.toLowerCase()]}:function(e){return a[e]}}var f=h("slot,component",!0),_=h("key,ref,slot,slot-scope,is");function v(e,t){if(e.length){var a=e.indexOf(t);if(a>-1)return e.splice(a,1)}}var g=Object.prototype.hasOwnProperty;function y(e,t){return g.call(e,t)}function b(e){var t=Object.create(null);return function(a){return t[a]||(t[a]=e(a))}}var k=/-(\w)/g,w=b(function(e){return e.replace(k,function(e,t){return t?t.toUpperCase():""})}),M=b(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),S=/\B([A-Z])/g,D=b(function(e){return e.replace(S,"-$1").toLowerCase()}),L=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function a(a){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,a):e.call(t)}return a._length=e.length,a};function T(e,t){t=t||0;for(var a=e.length-t,i=new Array(a);a--;)i[a]=e[a+t];return i}function x(e,t){for(var a in t)e[a]=t[a];return e}function C(e){for(var t={},a=0;a<e.length;a++)e[a]&&x(t,e[a]);return t}function Y(e,t,a){}var A=function(e,t,a){return!1},E=function(e){return e};function O(e,t){if(e===t)return!0;var a=o(e),i=o(t);if(!a||!i)return!a&&!i&&String(e)===String(t);try{var n=Array.isArray(e),r=Array.isArray(t);if(n&&r)return e.length===t.length&&e.every(function(e,a){return O(e,t[a])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(n||r)return!1;var s=Object.keys(e),l=Object.keys(t);return s.length===l.length&&s.every(function(a){return O(e[a],t[a])})}catch(e){return!1}}function I(e,t){for(var a=0;a<e.length;a++)if(O(e[a],t))return a;return-1}function F(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var P="data-server-rendered",j=["component","directive","filter"],H=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","
20serverPrefetch"],$={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:A,isReservedAttr:A,isUnknownElement:A,getTagNamespace:Y,parsePlatformTagName:E,mustUseProp:A,async:!0,_lifecycleHooks:H},N=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function q(e,t,a,i){Object.defineProperty(e,t,{value:a,enumerable:!!i,writable:!0,configurable:!0})}var R,B=new RegExp("[^"+N.source+".$_\\d]"),W="__proto__"in{},z="undefined"!=typeof window,U="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=U&&WXEnvironment.platform.toLowerCase(),G=z&&window.navigator.userAgent.toLowerCase(),J=G&&/msie|trident/.test(G),K=G&&G.indexOf("msie 9.0")>0,Q=G&&G.indexOf("edge/")>0,Z=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===V),X=(G&&/chrome\/\d+/.test(G),G&&/phantomjs/.test(G),G&&G.match(/firefox\/(\d+)/)),ee={}.watch,te=!1;if(z)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){te=!0}}),window.addEventListener("test-passive",null,ae)}catch(e){}var ie=function(){return void 0===R&&(R=!z&&!U&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),R},ne=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var se,oe="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);se="undefined"!=typeof Set&&re(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 le=Y,ce=0,ue=function(){this.id=ce++,this.subs=[]};ue.prototype.addSub=function(e){this.subs.push(e)},ue.prototype.removeSub=function(e){v(this.subs,e)}
vendor: 53,638 bytes, line 20
20,ue.prototype.depend=function(){ue.target&&ue.target.addDep(this)},ue.prototype.notify=function(){for(var e=this.subs.slice(),t=0,a=e.length;t<a;t++)e[t].update()},ue.target=null;var de=[];function pe(e){de.push(e),ue.target=e}function me(){de.pop(),ue.target=de[de.length-1]}var he=function(e,t,a,i,n,r,s,o){this.tag=e,this.data=t,this.children=a,this.text=i,this.elm=n,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=o,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},fe={child:{configurable:!0}};fe.child.get=function(){return this.componentInstance},Object.defineProperties(he.prototype,fe);var _e=function(e){void 0===e&&(e="");var t=new he;return t.text=e,t.isComment=!0,t};function ve(e){return new he(void 0,void 0,void 0,String(e))}function ge(e){var t=new he(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var ye=Array.prototype,be=Object.create(ye);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=ye[e];q(be,e,function(){for(var a=[],i=arguments.length;i--;)a[i]=arguments[i];var n,r=t.apply(this,a),s=this.__ob__;switch(e){case"push":case"unshift":n=a;break;case"splice":n=a.slice(2)}return n&&s.observeArray(n),s.dep.notify(),r})});var ke=Object.getOwnPropertyNames(be),we=!0;function Me(e){we=e}var Se=function(e){var t;this.value=e,this.dep=new ue,this.vmCount=0,q(e,"__ob__",this),Array.isArray(e)?(W?(t=be,e.__proto__=t):function(e,t,a){for(var i=0,n=a.length;i<n;i++){var r=a[i];q(e,r,t[r])}}(e,be,ke),this.observeArray(e)):this.walk(e)};function De(e,t){var a;if(o(e)&&!(e instanceof he))return y(e,"__ob__")&&e.__ob__ instanceof Se?a=e.__ob__:we&&!ie()&&(Array.isArray(e)||c(e))&&Object.isExtensible(e)&&!e._isVue&&(a=new Se(e)),t&&a&&a.vmCount++,a}function Le(e,t,a,i,n){var r=new ue,s=Object.getOwnPropertyDescriptor(e,t);if(!s||!1!==s.configurable){var o=s&&s.get,l=s&&s.set;o&&!l||2!==arguments.length||(a=e[t]);var c=!n&&De(a);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=o?o.call(e):a;return ue.target&&(r.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var a=void 0,i=0,n=t.length;i<n;i++)(a=t[i])&&a.__ob__&&a.__ob__.dep.depend(),Array.isArray(a)&&e(a)}(t))),t},set:function(t){var i=o?o.call(e):a;t===i||t!=t&&i!=i||o&&!l||(l?l.call(e,t):a=t,c=!n&&De(t),r.notify())}})}}function Te(e,t,a){if(Array.isArray(e)&&u(t))return e.length=Math.max(e.length,t),e.splice(t,1,a),a;if(t in e&&!(t in Object.prototype))return e[t]=a,a;var i=e.__ob__;return e._isVue||i&&i.vmCount?a:i?(Le(i.value,t,a),i.dep.notify(),a):(e[t]=a,a)}function xe(e,t){if(Array.isArray(e)&&u(t))e.splice(t,1);else{var a=e.__ob__;e._isVue||a&&a.vmCount||y(e,t)&&(delete e[t],a&&a.dep.notify())}}Se.prototype.walk=function(e){for(var t=Object.keys(e),a=0;a<t.length;a++)Le(e,t[a])},Se.prototype.observeArray=function(e){for(var t=0,a=e.length;t<a;t++)De(e[t])};var Ce=$.optionMergeStrategies;function Ye(e,t){if(!t)return e;for(var a,i,n,r=oe?Reflect.ownKeys(t):Object.keys(t),s=0;s<r.length;s++)"__ob__"!==(a=r[s])&&(i=e[a],n=t[a],y(e,a)?i!==n&&c(i)&&c(n)&&Ye(i,n):Te(e,a,n));return e}function Ae(e,t,a){return a?function(){var i="function"==typeof t?t.call(a,a):t,n="function"==typeof e?e.call(a,a):e;return i?Ye(i,n):n}:t?e?function(){return Ye("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Ee(e,t){var a=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return a?function(e){for(var t=[],a=0;a<e.length;a++)-1===t.indexOf(e[a])&&t.push(e[a]);return t}(a):a}function Oe(e,t,a,i){var n=Object.create(e||null);return t?x(n,t):n}Ce.data=function(e,t,a){return a?Ae(e,t,a):t&&"function"!=typeof t?e:Ae(e,t)},H.forEach(function(e){Ce[e]=Ee}),j.forEach(function(e){Ce[e+"s"]=Oe}),Ce.watch=function(e,t,a,i){if(e===ee&&(e=void 0),t===ee&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var n={};for(var r in x(n,e),t){var s=n[r],o=t[r];s&&!Array.isArray(s)&&(s=[s]),n[r]=s?s.concat(o):Array.isArray(o)?o:[o]}return n},Ce.props=Ce.methods=Ce.inject=Ce.computed=function(e,t,a,i){if(!e)return t;var n=Object.create(null);return x(n,e),t&&x(n,t),n},Ce.provide=Ae;var Ie=function(e,t){return void 0===t?e:t};function Fe(e,t,a){if("function"==typeof t&&(t=t.options),function(e,t){var a=e.props;if(a){var i,n,r={};if(Array.isArray(a))for(i=a.length;i--;)"string"==typeof(n=a[i])&&(r[w(n)]={type:null});else if(c(a))for(var s in a)n=a[s],r[w(s)]=c(n)?n:{type:n};e.props=r}}(t),function(e,t){var a=e.inject;if(a){var i=e.inject={};if(Array.isArray(a))for(var n=0;n<a.length;n++)i[a[n]]={from:a[n]};else if(c(a))for(var r in a){var s=a[r];i[r]=c(s)?x({from:r},s):{from:s}}}}(t),function(e){var t=e.directives;if(t)for(var a in t){var i=t[a];"function"==typeof i&&(t[a]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=Fe(e,t.extends,a)),t.mixins))for(var i=0,n=t.mixins.length;i<n;i++)e=Fe(e,t.mixins[i],a);var r,s={};for(r in e)o(r);for(r in t)y(e,r)||o(r);function o(i){var n=Ce[i]||Ie;s[i]=n(e[i],t[i],a,i)}return s}function Pe(e,t,a,i){if("string"==typeof a){var n=e[t];if(y(n,a))return n[a];var r=w(a);if(y(n,r))return n[r];var s=M(r);return y(n,s)?n[s]:n[a]||n[r]||n[s]}}function je(e,t,a,i){var n=t[e],r=!y(a,e),s=a[e],o=Ne(Boolean,n.type);if(o>-1)if(r&&!y(n,"default"))s=!1;else if(""===s||s===D(e)){var l=Ne(String,n.type);(l<0||o<l)&&(s=!0)}if(void 0===s){s=function(e,t,a){if(y(t,"default")){var i=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[a]&&void 0!==e._props[a]?e._props[a]:"function"==typeof i&&"Function"!==He(t.type)?i.call(e):i}}(i,n,e);var c=we;Me(!0),De(s),Me(c)}return s}function He(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function $e(e,t){return He(e)===He(t)}function Ne(e,t){if(!Array.isArray(t))return $e(t,e)?0:-1;for(var a=0,i=t.length;a<i;a++)if($e(t[a],e))return a;return-1}function qe(e,t,a){pe();try{if(t)for(var i=t;i=i.$parent;){var n=i.$options.errorCaptured;if(n)for(var r=0;r<n.length;r++)try{if(!1===n[r].call(i,e,t,a))return}catch(e){Be(e,i,"errorCaptured hook")}}Be(e,t,a)}finally{me()}}function Re(e,t,a,i,n){var r;try{(r=a?e.apply(t,a):e.call(t))&&!r._isVue&&d(r)&&!r._handled&&(r.catch(function(e){return qe(e,i,n+" (Promise/async)")}),r._handled=!0)}catch(e){qe(e,i,n)}return r}function Be(e,t,a){if($.errorHandler)try{return $.errorHandler.call(null,e,t,a)}catch(t){t!==e&&We(t)}We(e)}function We(e,t,a){if(!z&&!U||"undefined"==typeof console)throw e;console.error(e)}var ze,Ue=!1,Ve=[],Ge=!1;function Je(){Ge=!1;var e=Ve.slice(0);Ve.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&re(Promise)){var Ke=Promise.resolve();ze=function(){Ke.then(Je),Z&&setTimeout(Y)},Ue=!0}else if(J||"undefined"==typeof MutationObserver||!re(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ze=void 0!==a&&re(a)?function(){a(Je)}:function(){setTimeout(Je,0)};else{var Qe=1,Ze=new MutationObserver(Je),Xe=document.createTextNode(String(Qe));Ze.observe(Xe,{characterData:!0}),ze=function(){Qe=(Qe+1)%2,Xe.data=String(Qe)},Ue=!0}function et(e,t){var a;if(Ve.push(function(){if(e)try{e.call(t)}catch(e){qe(e,t,"nextTick")}else a&&a(t)}),Ge||(Ge=!0,ze()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){a=e})}var tt=new se;function at(e){!function e(t,a){var i,n,r=Array.isArray(t);if(!(!r&&!o(t)||Object.isFrozen(t)||t instanceof he)){if(t.__ob__){var s=t.__ob__.dep.id;if(a.has(s))return;a.add(s)}if(r)for(i=t.length;i--;)e(t[i],a);else for(n=Object.keys(t),i=n.length;i--;)e(t[n[i]],a)}}(e,tt),tt.clear()}var it=b(function(e){var t="&"===e.charAt(0),a="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=a?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:a,capture:i,passive:t}});function nt(e,t){function a(){var e=arguments,i=a.fns;if(!Array.isArray(i))return Re(i,null,arguments,t,"v-on handler");for(var n=i.slice(),r=0;r<n.length;r++)Re(n[r],null,e,t,"v-on handler")}return a.fns=e,a}function rt(e,t,a,n,s,o){var l,c,u,d;for(l in e)c=e[l],u=t[l],d=it(l),i(c)||(i(u)?(i(c.fns)&&(c=e[l]=nt(c,o)),r(d.once)&&(c=e[l]=s(d.name,c,d.capture)),a(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)i(e[l])&&n((d=it(l)).name,t[l],d.capture)}function st(e,t,a){var s;e instanceof he&&(e=e.data.hook||(e.data.hook={}));var o=e[t];function l(){a.apply(this,arguments),v(s.fns,l)}i(o)?s=nt([l]):n(o.fns)&&r(o.merged)?(s=o).fns.push(l):s=nt([o,l]),s.merged=!0,e[t]=s}function ot(e,t,a,i,r){if(n(t)){if(y(t,a))return e[a]=t[a],r||delete t[a],!0;if(y(t,i))return e[a]=t[i],r||delete t[i],!0}return!1}function lt(e){return s(e)?[ve(e)]:Array.isArray(e)?function e(t,a){var o,l,c,u,d=[];for(o=0;o<t.length;o++)i(l=t[o])||"boolean"==typeof l||(c=d.length-1,u=d[c],Array.isArray(l)?l.length>0&&(ct((l=e(l,(a||"")+"_"+o))[0])&&ct(u)&&(d[c]=ve(u.text+l[0].text),l.shift()),d.push.apply(d,l)):s(l)?ct(u)?d[c]=ve(u.text+l):""!==l&&d.push(ve(l)):ct(l)&&ct(u)?d[c]=ve(u.text+l.text):(r(t._isVList)&&n(l.tag)&&i(l.key)&&n(a)&&(l.key="__vlist"+a+"_"+o+"__"),d.push(l)));return d}(e):void 0}function ct(e){return n(e)&&n(e.text)&&!1===e.isComment}function ut(e,t){if(e){for(var a=Object.create(null),i=oe?Reflect.ownKeys(e):Object.keys(e),n=0;n<i.length;n++){var r=i[n];if("__ob__"!==r){for(var s=e[r].from,o=t;o;){if(o._provided&&y(o._provided,s)){a[r]=o._provided[s];break}o=o.$parent}if(!o&&"default"in e[r]){var l=e[r].default;a[r]="function"==typeof l?l.call(t):l}}}return a}}function dt(e,t){if(!e||!e.length)return{};for(var a={},i=0,n=e.length;i<n;i++){var r=e[i],s=r.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,r.context!==t&&r.fnContext!==t||!s||null==s.slot)(a.default||(a.default=[])).push(r);else{var o=s.slot,l=a[o]||(a[o]=[]);"template"===r.tag?l.push.apply(l,r.children||[]):l.push(r)}}for(var c in a)a[c].every(pt)&&delete a[c];return a}function pt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function mt(t,a,i){var n,r=Object.keys(a).length>0,s=t?!!t.$stable:!r,o=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&i&&i!==e&&o===i.$key&&!r&&!i.$hasNormal)return i;for(var l in n={},t)t[l]&&"$"!==l[0]&&(n[l]=ht(a,l,t[l]))}else n={};for(var c in a)c in n||(n[c]=ft(a,c));return t&&Object.isExtensible(t)&&(t._normalized=n),q(n,"$stable",s),q(n,"$key",o),q(n,"$hasNormal",r),n}function ht(e,t,a){var i=function(){var e=arguments.length?a.apply(null,arguments):a({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:lt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return a.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function ft(e,t){return function(){return e[t]}}function _t(e,t){var a,i,r,s,l;if(Array.isArray(e)||"string"==typeof e)for(a=new Array(e.length),i=0,r=e.length;i<r;i++)a[i]=t(e[i],i);else if("number"==typeof e)for(a=new Array(e),i=0;i<e;i++)a[i]=t(i+1,i);else if(o(e))if(oe&&e[Symbol.iterator]){a=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)a.push(t(u.value,a.length)),u=c.next()}else for(s=Object.keys(e),a=new Array(s.length),i=0,r=s.length;i<r;i++)l=s[i],a[i]=t(e[l],l,i);return n(a)||(a=[]),a._isVList=!0,a}function vt(e,t,a,i){var n,r=this.$scopedSlots[e];r?(a=a||{},i&&(a=x(x({},i),a)),n=r(a)||t):n=this.$slots[e]||t;var s=a&&a.slot;return s?this.$createElement("template",{slot:s},n):n}function gt(e){return Pe(this.$options,"filters",e)||E}function yt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function bt(e,t,a,i,n){var r=$.keyCodes[t]||a;return n&&i&&!$.keyCodes[t]?yt(n,i):r?yt(r,e):i?D(i)!==t:void 0}function kt(e,t,a,i,n){if(a&&o(a)){var r;Array.isArray(a)&&(a=C(a));var s=function(s){if("class"===s||"style"===s||_(s))r=e;else{var o=e.attrs&&e.attrs.type;r=i||$.mustUseProp(t,o,s)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=w(s),c=D(s);l in r||c in r||(r[s]=a[s],n&&((e.on||(e.on={}))["update:"+s]=function(e){a[s]=e}))};for(var l in a)s(l)}return e}function wt(e,t){var a=this._staticTrees||(this._staticTrees=[]),i=a[e];return i&&!t?i:(St(i=a[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i)}function Mt(e,t,a){return St(e,"__once__"+t+(a?"_"+a:""),!0),e}function St(e,t,a){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&Dt(e[i],t+"_"+i,a);else Dt(e,t,a)}function Dt(e,t,a){e.isStatic=!0,e.key=t,e.isOnce=a}function Lt(e,t){if(t&&c(t)){var a=e.on=e.on?x({},e.on):{};for(var i in t){var n=a[i],r=t[i];a[i]=n?[].concat(n,r):r}}return e}function Tt(e,t,a,i){t=t||{$stable:!a};for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?Tt(r,t,a):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return i&&(t.$key=i),t}function xt(e,t){for(var a=0;a<t.length;a+=2){var i=t[a];"string"==typeof i&&i&&(e[t[a]]=t[a+1])}return e}function Ct(e,t){return"string"==typeof e?t+e:e}function Yt(e){e._o=Mt,e._n=m,e._s=p,e._l=_t,e._t=vt,e._q=O,e._i=I,e._m=wt,e._f=gt,e._k=bt,e._b=kt,e._v=ve,e._e=_e,e._u=Tt,e._g=Lt,e._d=xt,e._p=Ct}function At(t,a,i,n,s){var o,l=this,c=s.options;y(n,"_uid")?(o=Object.create(n))._original=n:(o=n,n=n._original);var u=r(c._compiled),d=!u;this.data=t,this.props=a,this.children=i,this.parent=n,this.listeners=t.on||e,this.injections=ut(c.inject,n),this.slots=function(){return l.$slots||mt(t.scopedSlots,l.$slots=dt(i,n)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return mt(t.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=mt(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,a,i){var r=Nt(o,e,t,a,i,d);return r&&!Array.isArray(r)&&(r.fnScopeId=c._scopeId,r.fnContext=n),r}:this._c=function(e,t,a,i){return Nt(o,e,t,a,i,d)}}function Et(e,t,a,i,n){var r=ge(e);return r.fnContext=a,r.fnOptions=i,t.slot&&((r.data||(r.data={})).slot=t.slot),r}function Ot(e,t){for(var a in t)e[w(a)]=t[a]}Yt(At.prototype);var It={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var a=e;It.prepatch(a,a)}else(e.componentInstance=function(e,t){var a={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;return n(i)&&(a.render=i.render,a.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(a)}(e,Kt)).$mount(t?e.elm:void 0,t)},prepatch:function(t,a){var i=a.componentOptions;!function(t,a,i,n,r){var s=n.data.scopedSlots,o=t.$scopedSlots,l=!!(s&&!s.$stable||o!==e&&!o.$stable||s&&t.$scopedSlots.$key!==s.$key),c=!!(r||t.$options._renderChildren||l);if(t.$options._parentVnode=n,t.$vnode=n,t._vnode&&(t._vnode.parent=n),t.$options._renderChildren=r,t.$attrs=n.data.attrs||e,t.$listeners=i||e,a&&t.$options.props){Me(!1);for(var u=t._props,d=t.$options._propKeys||[],p=0;p<d.length;p++){var m=d[p],h=t.$options.props;u[m]=je(m,h,a,t)}Me(!0),t.$options.propsData=a}i=i||e;var f=t.$options._parentListeners;t.$options._parentListeners=i,Jt(t,i,f),c&&(t.$slots=dt(r,n.context),t.$forceUpdate())}(a.componentInstance=t.componentInstance,i.propsData,i.listeners,a,i.children)},insert:function(e){var t,a=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,ea(i,"mounted")),e.data.keepAlive&&(a._isMounted?((t=i)._inactive=!1,aa.push(t)):Xt(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,a){if(!(a&&(t._directInactive=!0,Zt(t))||t._inactive)){t._inactive=!0;for(var i=0;i<t.$children.length;i++)e(t.$children[i]);ea(t,"deactivated")}}(t,!0):t.$destroy())}},Ft=Object.keys(It);function Pt(t,a,s,l,c){if(!i(t)){var u=s.$options._base;if(o(t)&&(t=u.extend(t)),"function"==typeof t){var p;if(i(t.cid)&&void 0===(t=function(e,t){if(r(e.error)&&n(e.errorComp))return e.errorComp;if(n(e.resolved))return e.resolved;var a=Rt;if(a&&n(e.owners)&&-1===e.owners.indexOf(a)&&e.owners.push(a),r(e.loading)&&n(e.loadingComp))return e.loadingComp;if(a&&!n(e.owners)){var s=e.owners=[a],l=!0,c=null,u=null;a.$on("hook:destroyed",function(){return v(s,a)});var p=function(e){for(var t=0,a=s.length;t<a;t++)s[t].$forceUpdate();e&&(s.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},m=F(function(a){e.resolved=Bt(a,t),l?s.length=0:p(!0)}),h=F(function(t){n(e.errorComp)&&(e.error=!0,p(!0))}),f=e(m,h);return o(f)&&(d(f)?i(e.resolved)&&f.then(m,h):d(f.component)&&(f.component.then(m,h),n(f.error)&&(e.errorComp=Bt(f.error,t)),n(f.loading)&&(e.loadingComp=Bt(f.loading,t),0===f.delay?e.loading=!0:c=setTimeout(function(){c=null,i(e.resolved)&&i(e.error)&&(e.loading=!0,p(!1))},f.delay||200)),n(f.timeout)&&(u=setTimeout(function(){u=null,i(e.resolved)&&h(null)},f.timeout)))),l=!1,e.loading?e.loadingComp:e.resolved}}(p=t,u)))return function(e,t,a,i,n){var r=_e();return r.asyncFactory=e,r.asyncMeta={data:t,context:a,children:i,tag:n},r}(p,a,s,l,c);a=a||{},ka(t),n(a.model)&&function(e,t){var a=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[a]=t.model.value;var r=t.on||(t.on={}),s=r[i],o=t.model.callback;n(s)?(Array.isArray(s)?-1===s.indexOf(o):s!==o)&&(r[i]=[o].concat(s)):r[i]=o}(t.options,a);var m=function(e,t,a){var r=t.options.props;if(!i(r)){var s={},o=e.attrs,l=e.props;if(n(o)||n(l))for(var c in r){var u=D(c);ot(s,l,c,u,!0)||ot(s,o,c,u,!1)}return s}}(a,t);if(r(t.options.functional))return function(t,a,i,r,s){var o=t.options,l={},c=o.props;if(n(c))for(var u in c)l[u]=je(u,c,a||e);else n(i.attrs)&&Ot(l,i.attrs),n(i.props)&&Ot(l,i.props);var d=new At(i,l,s,r,t),p=o.render.call(null,d._c,d);if(p instanceof he)return Et(p,i,d.parent,o);if(Array.isArray(p)){for(var m=lt(p)||[],h=new Array(m.length),f=0;f<m.length;f++)h[f]=Et(m[f],i,d.parent,o);return h}}(t,m,a,s,l);var h=a.on;if(a.on=a.nativeOn,r(t.options.abstract)){var f=a.slot;a={},f&&(a.slot=f)}!function(e){for(var t=e.hook||(e.hook={}),a=0;a<Ft.length;a++){var i=Ft[a],n=t[i],r=It[i];n===r||n&&n._merged||(t[i]=n?jt(r,n):r)}}(a);var _=t.options.name||c;return new he("vue-component-"+t.cid+(_?"-"+_:""),a,void 0,void 0,void 0,s,{Ctor:t,propsData:m,listeners:h,tag:c,children:l},p)}}}function jt(e,t){var a=function(a,i){e(a,i),t(a,i)};return a._merged=!0,a}var Ht=1,$t=2;function Nt(e,t,a,l,c,u){return(Array.isArray(a)||s(a))&&(c=l,l=a,a=void 0),r(u)&&(c=$t),function(e,t,a,s,l){return n(a)&&n(a.__ob__)?_e():(n(a)&&n(a.is)&&(t=a.is),t?(Array.isArray(s)&&"function"==typeof s[0]&&((a=a||{}).scopedSlots={default:s[0]},s.length=0),l===$t?s=lt(s):l===Ht&&(s=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(s)),"string"==typeof t?(u=e.$vnode&&e.$vnode.ns||$.getTagNamespace(t),c=$.isReservedTag(t)?new he($.parsePlatformTagName(t),a,s,void 0,void 0,e):a&&a.pre||!n(d=Pe(e.$options,"components",t))?new he(t,a,s,void 0,void 0,e):Pt(d,a,e,s,t)):c=Pt(t,a,e,s),Array.isArray(c)?c:n(c)?(n(u)&&function e(t,a,s){if(t.ns=a,"foreignObject"===t.tag&&(a=void 0,s=!0),n(t.children))for(var o=0,l=t.children.length;o<l;o++){var c=t.children[o];n(c.tag)&&(i(c.ns)||r(s)&&"svg"!==c.tag)&&e(c,a,s)}}(c,u),n(a)&&function(e){o(e.style)&&at(e.style),o(e.class)&&at(e.class)}(a),c):_e()):_e());var c,u,d}(e,t,a,l,c)}var qt,Rt=null;function Bt(e,t){return(e.__esModule||oe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),o(e)?t.extend(e):e}function Wt(e){return e.isComment&&e.asyncFactory}function zt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var a=e[t];if(n(a)&&(n(a.componentOptions)||Wt(a)))return a}}function Ut(e,t){qt.$on(e,t)}function Vt(e,t){qt.$off(e,t)}function Gt(e,t){var a=qt;return function i(){null!==t.apply(null,arguments)&&a.$off(e,i)}}function Jt(e,t,a){qt=e,rt(t,a||{},Ut,Vt,Gt,e),qt=void 0}var Kt=null;function Qt(e){var t=Kt;return Kt=e,function(){Kt=t}}function Zt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Xt(e,t){if(t){if(e._directInactive=!1,Zt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var a=0;a<e.$children.length;a++)Xt(e.$children[a]);ea(e,"activated")}}function ea(e,t){pe();var a=e.$options[t],i=t+" hook";if(a)for(var n=0,r=a.length;n<r;n++)Re(a[n],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),me()}var ta=[],aa=[],ia={},na=!1,ra=!1,sa=0,oa=0,la=Date.now;if(z&&!J){var ca=window.performance;ca&&"function"==typeof ca.now&&la()>document.createEvent("Event").timeStamp&&(la=function(){return ca.now()})}function ua(){var e,t;for(oa=la(),ra=!0,ta.sort(function(e,t){return e.id-t.id}),sa=0;sa<ta.length;sa++)(e=ta[sa]).before&&e.before(),t=e.id,ia[t]=null,e.run();var a=aa.slice(),i=ta.slice();sa=ta.length=aa.length=0,ia={},na=ra=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Xt(e[t],!0)}(a),function(e){for(var t=e.length;t--;){var a=e[t],i=a.vm;i._watcher===a&&i._isMounted&&!i._isDestroyed&&ea(i,"updated")}}(i),ne&&$.devtools&&ne.emit("flush")}var da=0,pa=function(e,t,a,i,n){this.vm=e,n&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=a,this.id=++da,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new se,this.newDepIds=new se,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!B.test(e)){var t=e.split(".");return function(e){for(var a=0;a<t.length;a++){if(!e)return;e=e[t[a]]}return e}}}(t),this.getter||(this.getter=Y)),this.value=this.lazy?void 0:this.get()};pa.prototype.get=function(){var e;pe(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;qe(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&at(e),me(),this.cleanupDeps()}return e},pa.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},pa.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var a=this.depIds;this.depIds=this.newDepIds,this.newDepIds=a,this.newDepIds.clear(),a=this.deps,this.deps=this.newDeps,this.newDeps=a,this.newDeps.length=0},pa.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==ia[t]){if(ia[t]=!0,ra){for(var a=ta.length-1;a>sa&&ta[a].id>e.id;)a--;ta.splice(a+1,0,e)}else ta.push(e);na||(na=!0,et(ua))}}(this)},pa.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){qe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},pa.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pa.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},pa.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 ma={enumerable:!0,configurable:!0,get:Y,set:Y};function ha(e,t,a){ma.get=function(){return this[t][a]},ma.set=function(e){this[t][a]=e},Object.defineProperty(e,a,ma)}var fa={lazy:!0};function _a(e,t,a){var i=!ie();"function"==typeof a?(ma.get=i?va(t):ga(a),ma.set=Y):(ma.get=a.get?i&&!1!==a.cache?va(t):ga(a.get):Y,ma.set=a.set||Y),Object.defineProperty(e,t,ma)}function va(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ue.target&&t.depend(),t.value}}function ga(e){return function(){return e.call(this,this)}}function ya(e,t,a,i){return c(a)&&(i=a,a=a.handler),"string"==typeof a&&(a=e[a]),e.$watch(t,a,i)}var ba=0;function ka(e){var t=e.options;if(e.super){var a=ka(e.super);if(a!==e.superOptions){e.superOptions=a;var i=function(e){var t,a=e.options,i=e.sealedOptions;for(var n in a)a[n]!==i[n]&&(t||(t={}),t[n]=a[n]);return t}(e);i&&x(e.extendOptions,i),(t=e.options=Fe(a,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function wa(e){this._init(e)}function Ma(e){return e&&(e.Ctor.options.name||e.tag)}function Sa(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(a=e,"[object RegExp]"===l.call(a)&&e.test(t));var a}function Da(e,t){var a=e.cache,i=e.keys,n=e._vnode;for(var r in a){var s=a[r];if(s){var o=Ma(s.componentOptions);o&&!t(o)&&La(a,r,i,n)}}}function La(e,t,a,i){var n=e[t];!n||i&&n.tag===i.tag||n.componentInstance.$destroy(),e[t]=null,v(a,t)}!function(t){t.prototype._init=function(t){var a=this;a._uid=ba++,a._isVue=!0,t&&t._isComponent?function(e,t){var a=e.$options=Object.create(e.constructor.options),i=t._parentVnode;a.parent=t.parent,a._parentVnode=i;var n=i.componentOptions;a.propsData=n.propsData,a._parentListeners=n.listeners,a._renderChildren=n.children,a._componentTag=n.tag,t.render&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns)}(a,t):a.$options=Fe(ka(a.constructor),t||{},a),a._renderProxy=a,a._self=a,function(e){var t=e.$options,a=t.parent;if(a&&!t.abstract){for(;a.$options.abstract&&a.$parent;)a=a.$parent;a.$children.push(e)}e.$parent=a,e.$root=a?a.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(a),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Jt(e,t)}(a),function(t){t._vnode=null,t._staticTrees=null;var a=t.$options,i=t.$vnode=a._parentVnode,n=i&&i.context;t.$slots=dt(a._renderChildren,n),t.$scopedSlots=e,t._c=function(e,a,i,n){return Nt(t,e,a,i,n,!1)},t.$createElement=function(e,a,i,n){return Nt(t,e,a,i,n,!0)};var r=i&&i.data;Le(t,"$attrs",r&&r.attrs||e,null,!0),Le(t,"$listeners",a._parentListeners||e,null,!0)}(a),ea(a,"beforeCreate"),function(e){var t=ut(e.$options.inject,e);t&&(Me(!1),Object.keys(t).forEach(function(a){Le(e,a,t[a])}),Me(!0))}(a),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var a=e.$options.propsData||{},i=e._props={},n=e.$options._propKeys=[];e.$parent&&Me(!1);var r=function(r){n.push(r);var s=je(r,t,a,e);Le(i,r,s),r in e||ha(e,"_props",r)};for(var s in t)r(s);Me(!0)}(e,t.props),t.methods&&function(e,t){for(var a in e.$options.props,t)e[a]="function"!=typeof t[a]?Y:L(t[a],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;c(t=e._data="function"==typeof t?function(e,t){pe();try{return e.call(t,t)}catch(e){return qe(e,t,"data()"),{}}finally{me()}}(t,e):t||{})||(t={});for(var a,i=Object.keys(t),n=e.$options.props,r=(e.$options.methods,i.length);r--;){var s=i[r];n&&y(n,s)||(a=void 0,36!==(a=(s+"").charCodeAt(0))&&95!==a&&ha(e,"_data",s))}De(t,!0)}(e):De(e._data={},!0),t.computed&&function(e,t){var a=e._computedWatchers=Object.create(null),i=ie();for(var n in t){var r=t[n],s="function"==typeof r?r:r.get;i||(a[n]=new pa(e,s||Y,Y,fa)),n in e||_a(e,n,r)}}(e,t.computed),t.watch&&t.watch!==ee&&function(e,t){for(var a in t){var i=t[a];if(Array.isArray(i))for(var n=0;n<i.length;n++)ya(e,a,i[n]);else ya(e,a,i)}}(e,t.watch)}(a),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(a),ea(a,"created"),a.$options.el&&a.$mount(a.$options.el)}}(wa),function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Te,e.prototype.$delete=xe,e.prototype.$watch=function(e,t,a){if(c(t))return ya(this,e,t,a);(a=a||{}).user=!0;var i=new pa(this,e,t,a);if(a.immediate)try{t.call(this,i.value)}catch(e){qe(e,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(wa),function(e){var t=/^hook:/;e.prototype.$on=function(e,a){var i=this;if(Array.isArray(e))for(var n=0,r=e.length;n<r;n++)i.$on(e[n],a);else(i._events[e]||(i._events[e]=[])).push(a),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var a=this;function i(){a.$off(e,i),t.apply(a,arguments)}return i.fn=t,a.$on(e,i),a},e.prototype.$off=function(e,t){var a=this;if(!arguments.length)return a._events=Object.create(null),a;if(Array.isArray(e)){for(var i=0,n=e.length;i<n;i++)a.$off(e[i],t);return a}var r,s=a._events[e];if(!s)return a;if(!t)return a._events[e]=null,a;for(var o=s.length;o--;)if((r=s[o])===t||r.fn===t){s.splice(o,1);break}return a},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?T(t):t;for(var a=T(arguments,1),i='event handler for "'+e+'"',n=0,r=t.length;n<r;n++)Re(t[n],this,a,this,i)}return this}}(wa),function(e){e.prototype._update=function(e,t){var a=this,i=a.$el,n=a._vnode,r=Qt(a);a._vnode=e,a.$el=n?a.__patch__(n,e):a.__patch__(a.$el,e,t,!1),r(),i&&(i.__vue__=null),a.$el&&(a.$el.__vue__=a),a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode&&(a.$parent.$el=a.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){ea(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||v(t.$children,e),e._watcher&&e._watcher.teardown();for(var a=e._watchers.length;a--;)e._watchers[a].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),ea(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(wa),function(e){Yt(e.prototype),e.prototype.$nextTick=function(e){return et(e,this)},e.prototype._render=function(){var e,t=this,a=t.$options,i=a.render,n=a._parentVnode;n&&(t.$scopedSlots=mt(n.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=n;try{Rt=t,e=i.call(t._renderProxy,t.$createElement)}catch(a){qe(a,t,"render"),e=t._vnode}finally{Rt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof he||(e=_e()),e.parent=n,e}}(wa);var Ta=[String,RegExp,Array],xa={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Ta,exclude:Ta,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)La(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Da(e,function(e){return Sa(t,e)})}),this.$watch("exclude",function(t){Da(e,function(e){return!Sa(t,e)})})},render:function(){var e=this.$slots.default,t=zt(e),a=t&&t.componentOptions;if(a){var i=Ma(a),n=this.include,r=this.exclude;if(n&&(!i||!Sa(n,i))||r&&i&&Sa(r,i))return t;var s=this.cache,o=this.keys,l=null==t.key?a.Ctor.cid+(a.tag?"::"+a.tag:""):t.key;s[l]?(t.componentInstance=s[l].componentInstance,v(o,l),o.push(l)):(s[l]=t,o.push(l),this.max&&o.length>parseInt(this.max)&&La(s,o[0],o,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return $}};Object.defineProperty(e,"config",t),e.util={warn:le,extend:x,mergeOptions:Fe,defineReactive:Le},e.set=Te,e.delete=xe,e.nextTick=et,e.observable=function(e){return De(e),e},e.options=Object.create(null),j.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,x(e.options.components,xa),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var a=T(arguments,1);return a.unshift(this),"function"==typeof e.install?e.install.apply(e,a):"function"==typeof e&&e.apply(null,a),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Fe(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var a=this,i=a.cid,n=e._Ctor||(e._Ctor={});if(n[i])return n[i];var r=e.name||a.options.name,s=function(e){this._init(e)};return(s.prototype=Object.create(a.prototype)).constructor=s,s.cid=t++,s.options=Fe(a.options,e),s.super=a,s.options.props&&function(e){var t=e.options.props;for(var a in t)ha(e.prototype,"_props",a)}(s),s.options.computed&&function(e){var t=e.options.computed;for(var a in t)_a(e.prototype,a,t[a])}(s),s.extend=a.extend,s.mixin=a.mixin,s.use=a.use,j.forEach(function(e){s[e]=a[e]}),r&&(s.options.components[r]=s),s.superOptions=a.options,s.extendOptions=e,s.sealedOptions=x({},s.options),n[i]=s,s}}(e),function(e){j.forEach(function(t){e[t]=function(e,a){return a?("component"===t&&c(a)&&(a.name=a.name||e,a=this.options._base.extend(a)),"directive"===t&&"function"==typeof a&&(a={bind:a,update:a}),this.options[t+"s"][e]=a,a):this.options[t+"s"][e]}})}(e)}(wa),Object.defineProperty(wa.prototype,"$isServer",{get:ie}),Object.defineProperty(wa.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wa,"FunctionalRenderContext",{value:At}),wa.version="2.6.10";var Ca=h("style,class"),Ya=h("input,textarea,option,select,progress"),Aa=function(e,t,a){return"value"===a&&Ya(e)&&"button"!==t||"selected"===a&&"option"===e||"checked"===a&&"input"===e||"muted"===a&&"video"===e},Ea=h("contenteditable,draggable,spellcheck"),Oa=h("events,caret,typing,plaintext-only"),Ia=function(e,t){return $a(t)||"false"===t?"false":"contenteditable"===e&&Oa(t)?t:"true"},Fa=h("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"),Pa="http://www.w3.org/1999/xlink",ja=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Ha=function(e){return ja(e)?e.slice(6,e.length):""},$a=function(e){return null==e||!1===e};function Na(e,t){return{staticClass:qa(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function qa(e,t){return e?t?e+" "+t:e:t||""}function Ra(e){return Array.isArray(e)?function(e){for(var t,a="",i=0,r=e.length;i<r;i++)n(t=Ra(e[i]))&&""!==t&&(a&&(a+=" "),a+=t);return a}(e):o(e)?function(e){var t="";for(var a in e)e[a]&&(t&&(t+=" "),t+=a);return t}(e):"string"==typeof e?e:""}var Ba={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Wa=h("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"),za=h("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),Ua=function(e){return Wa(e)||za(e)};function Va(e){return za(e)?"svg":"math"===e?"math":void 0}var Ga=Object.create(null),Ja=h("text,number,password,search,email,tel,url");function Ka(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var Qa=Object.freeze({createElement:function(e,t){var a=document.createElement(e);return"select"!==e?a:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&a.setAttribute("multiple","multiple"),a)},createElementNS:function(e,t){return document.createElementNS(Ba[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,a){e.insertBefore(t,a)},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,"")}}),Za={create:function(e,t){Xa(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Xa(e,!0),Xa(t))},destroy:function(e){Xa(e,!0)}};function Xa(e,t){var a=e.data.ref;if(n(a)){var i=e.context,r=e.componentInstance||e.elm,s=i.$refs;t?Array.isArray(s[a])?v(s[a],r):s[a]===r&&(s[a]=void 0):e.data.refInFor?Array.isArray(s[a])?s[a].indexOf(r)<0&&s[a].push(r):s[a]=[r]:s[a]=r}}var ei=new he("",{},[]),ti=["create","activate","update","remove","destroy"];function ai(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&n(e.data)===n(t.data)&&function(e,t){if("input"!==e.tag)return!0;var a,i=n(a=e.data)&&n(a=a.attrs)&&a.type,r=n(a=t.data)&&n(a=a.attrs)&&a.type;return i===r||Ja(i)&&Ja(r)}(e,t)||r(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&i(t.asyncFactory.error))}function ii(e,t,a){var i,r,s={};for(i=t;i<=a;++i)n(r=e[i].key)&&(s[r]=i);return s}var ni={create:ri,update:ri,destroy:function(e){ri(e,ei)}};function ri(e,t){(e.data.directives||t.data.directives)&&function(e,t){var a,i,n,r=e===ei,s=t===ei,o=oi(e.data.directives,e.context),l=oi(t.data.directives,t.context),c=[],u=[];for(a in l)i=o[a],n=l[a],i?(n.oldValue=i.value,n.oldArg=i.arg,ci(n,"update",t,e),n.def&&n.def.componentUpdated&&u.push(n)):(ci(n,"bind",t,e),n.def&&n.def.inserted&&c.push(n));if(c.length){var d=function(){for(var a=0;a<c.length;a++)ci(c[a],"inserted",t,e)};r?st(t,"insert",d):d()}if(u.length&&st(t,"postpatch",function(){for(var a=0;a<u.length;a++)ci(u[a],"componentUpdated",t,e)}),!r)for(a in o)l[a]||ci(o[a],"unbind",e,e,s)}(e,t)}var si=Object.create(null);function oi(e,t){var a,i,n=Object.create(null);if(!e)return n;for(a=0;a<e.length;a++)(i=e[a]).modifiers||(i.modifiers=si),n[li(i)]=i,i.def=Pe(t.$options,"directives",i.name);return n}function li(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function ci(e,t,a,i,n){var r=e.def&&e.def[t];if(r)try{r(a.elm,e,a,i,n)}catch(i){qe(i,a.context,"directive "+e.name+" "+t+" hook")}}var ui=[Za,ni];function di(e,t){var a=t.componentOptions;if(!(n(a)&&!1===a.Ctor.options.inheritAttrs||i(e.data.attrs)&&i(t.data.attrs))){var r,s,o=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(r in n(c.__ob__)&&(c=t.data.attrs=x({},c)),c)s=c[r],l[r]!==s&&pi(o,r,s);for(r in(J||Q)&&c.value!==l.value&&pi(o,"value",c.value),l)i(c[r])&&(ja(r)?o.removeAttributeNS(Pa,Ha(r)):Ea(r)||o.removeAttribute(r))}}function pi(e,t,a){e.tagName.indexOf("-")>-1?mi(e,t,a):Fa(t)?$a(a)?e.removeAttribute(t):(a="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,a)):Ea(t)?e.setAttribute(t,Ia(t,a)):ja(t)?$a(a)?e.removeAttributeNS(Pa,Ha(t)):e.setAttributeNS(Pa,t,a):mi(e,t,a)}function mi(e,t,a){if($a(a))e.removeAttribute(t);else{if(J&&!K&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==a&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,a)}}var hi={create:di,update:di};function fi(e,t){var a=t.elm,r=t.data,s=e.data;if(!(i(r.staticClass)&&i(r.class)&&(i(s)||i(s.staticClass)&&i(s.class)))){var o=function(e){for(var t=e.data,a=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Na(i.data,t));for(;n(a=a.parent);)a&&a.data&&(t=Na(t,a.data));return function(e,t){return n(e)||n(t)?qa(e,Ra(t)):""}(t.staticClass,t.class)}(t),l=a._transitionClasses;n(l)&&(o=qa(o,Ra(l))),o!==a._prevClass&&(a.setAttribute("class",o),a._prevClass=o)}}var _i,vi,gi,yi,bi,ki,wi={create:fi,update:fi},Mi=/[\w).+\-_$\]]/;function Si(e){var t,a,i,n,r,s=!1,o=!1,l=!1,c=!1,u=0,d=0,p=0,m=0;for(i=0;i<e.length;i++)if(a=t,t=e.charCodeAt(i),s)39===t&&92!==a&&(s=!1);else if(o)34===t&&92!==a&&(o=!1);else if(l)96===t&&92!==a&&(l=!1);else if(c)47===t&&92!==a&&(c=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||u||d||p){switch(t){case 34:o=!0;break;case 39:s=!0;break;case 96:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===t){for(var h=i-1,f=void 0;h>=0&&" "===(f=e.charAt(h));h--);f&&Mi.test(f)||(c=!0)}}else void 0===n?(m=i+1,n=e.slice(0,i).trim()):_();function _(){(r||(r=[])).push(e.slice(m,i).trim()),m=i+1}if(void 0===n?n=e.slice(0,i).trim():0!==m&&_(),r)for(i=0;i<r.length;i++)n=Di(n,r[i]);return n}function Di(e,t){var a=t.indexOf("(");if(a<0)return'_f("'+t+'")('+e+")";var i=t.slice(0,a),n=t.slice(a+1);return'_f("'+i+'")('+e+(")"!==n?","+n:n)}function Li(e,t){console.error("[Vue compiler]: "+e)}function Ti(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function xi(e,t,a,i,n){(e.props||(e.props=[])).push(ji({name:t,value:a,dynamic:n},i)),e.plain=!1}function Ci(e,t,a,i,n){(n?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(ji({name:t,value:a,dynamic:n},i)),e.plain=!1}function Yi(e,t,a,i){e.attrsMap[t]=a,e.attrsList.push(ji({name:t,value:a},i))}function Ai(e,t,a,i,n,r,s,o){(e.directives||(e.directives=[])).push(ji({name:t,rawName:a,value:i,arg:n,isDynamicArg:r,modifiers:s},o)),e.plain=!1}function Ei(e,t,a){return a?"_p("+t+',"'+e+'")':e+t}function Oi(t,a,i,n,r,s,o,l){var c;(n=n||e).right?l?a="("+a+")==='click'?'contextmenu':("+a+")":"click"===a&&(a="contextmenu",delete n.right):n.middle&&(l?a="("+a+")==='click'?'mouseup':("+a+")":"click"===a&&(a="mouseup")),n.capture&&(delete n.capture,a=Ei("!",a,l)),n.once&&(delete n.once,a=Ei("~",a,l)),n.passive&&(delete n.passive,a=Ei("&",a,l)),n.native?(delete n.native,c=t.nativeEvents||(t.nativeEvents={})):c=t.events||(t.events={});var u=ji({value:i.trim(),dynamic:l},o);n!==e&&(u.modifiers=n);var d=c[a];Array.isArray(d)?r?d.unshift(u):d.push(u):c[a]=d?r?[u,d]:[d,u]:u,t.plain=!1}function Ii(e,t,a){var i=Fi(e,":"+t)||Fi(e,"v-bind:"+t);if(null!=i)return Si(i);if(!1!==a){var n=Fi(e,t);if(null!=n)return JSON.stringify(n)}}function Fi(e,t,a){var i;if(null!=(i=e.attrsMap[t]))for(var n=e.attrsList,r=0,s=n.length;r<s;r++)if(n[r].name===t){n.splice(r,1);break}return a&&delete e.attrsMap[t],i}function Pi(e,t){for(var a=e.attrsList,i=0,n=a.length;i<n;i++){var r=a[i];if(t.test(r.name))return a.splice(i,1),r}}function ji(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function Hi(e,t,a){var i=a||{},n=i.number,r="$$v";i.trim&&(r="(typeof $$v === 'string'? $$v.trim(): $$v)"),n&&(r="_n("+r+")");var s=$i(t,r);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+s+"}"}}function $i(e,t){var a=function(e){if(e=e.trim(),_i=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<_i-1)return(yi=e.lastIndexOf("."))>-1?{exp:e.slice(0,yi),key:'"'+e.slice(yi+1)+'"'}:{exp:e,key:null};for(vi=e,yi=bi=ki=0;!qi();)Ri(gi=Ni())?Wi(gi):91===gi&&Bi(gi);return{exp:e.slice(0,bi),key:e.slice(bi+1,ki)}}(e);return null===a.key?e+"="+t:"$set("+a.exp+", "+a.key+", "+t+")"}function Ni(){return vi.charCodeAt(++yi)}function qi(){return yi>=_i}function Ri(e){return 34===e||39===e}function Bi(e){var t=1;for(bi=yi;!qi();)if(Ri(e=Ni()))Wi(e);else if(91===e&&t++,93===e&&t--,0===t){ki=yi;break}}function Wi(e){for(var t=e;!qi()&&(e=Ni())!==t;);}var zi,Ui="__r",Vi="__c";function Gi(e,t,a){var i=zi;return function n(){null!==t.apply(null,arguments)&&Qi(e,n,a,i)}}var Ji=Ue&&!(X&&Number(X[1])<=53);function Ki(e,t,a,i){if(Ji){var n=oa,r=t;t=r._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=n||e.timeStamp<=0||e.target.ownerDocument!==document)return r.apply(this,arguments)}}zi.addEventListener(e,t,te?{capture:a,passive:i}:a)}function Qi(e,t,a,i){(i||zi).removeEventListener(e,t._wrapper||t,a)}function Zi(e,t){if(!i(e.data.on)||!i(t.data.on)){var a=t.data.on||{},r=e.data.on||{};zi=t.elm,function(e){if(n(e[Ui])){var t=J?"change":"input";e[t]=[].concat(e[Ui],e[t]||[]),delete e[Ui]}n(e[Vi])&&(e.change=[].concat(e[Vi],e.change||[]),delete e[Vi])}(a),rt(a,r,Ki,Qi,Gi,t.context),zi=void 0}}var Xi,en={create:Zi,update:Zi};function tn(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var a,r,s=t.elm,o=e.data.domProps||{},l=t.data.domProps||{};for(a in n(l.__ob__)&&(l=t.data.domProps=x({},l)),o)a in l||(s[a]="");for(a in l){if(r=l[a],"textContent"===a||"innerHTML"===a){if(t.children&&(t.children.length=0),r===o[a])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===a&&"PROGRESS"!==s.tagName){s._value=r;var c=i(r)?"":String(r);an(s,c)&&(s.value=c)}else if("innerHTML"===a&&za(s.tagName)&&i(s.innerHTML)){(Xi=Xi||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var u=Xi.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;u.firstChild;)s.appendChild(u.firstChild)}else if(r!==o[a])try{s[a]=r}catch(e){}}}}function an(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var a=!0;try{a=document.activeElement!==e}catch(e){}return a&&e.value!==t}(e,t)||function(e,t){var a=e.value,i=e._vModifiers;if(n(i)){if(i.number)return m(a)!==m(t);if(i.trim)return a.trim()!==t.trim()}return a!==t}(e,t))}var nn={create:tn,update:tn},rn=b(function(e){var t={},a=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var i=e.split(a);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t});function sn(e){var t=on(e.style);return e.staticStyle?x(e.staticStyle,t):t}function on(e){return Array.isArray(e)?C(e):"string"==typeof e?rn(e):e}var ln,cn=/^--/,un=/\s*!important$/,dn=function(e,t,a){if(cn.test(t))e.style.setProperty(t,a);else if(un.test(a))e.style.setProperty(D(t),a.replace(un,""),"important");else{var i=mn(t);if(Array.isArray(a))for(var n=0,r=a.length;n<r;n++)e.style[i]=a[n];else e.style[i]=a}},pn=["Webkit","Moz","ms"],mn=b(function(e){if(ln=ln||document.createElement("div").style,"filter"!==(e=w(e))&&e in ln)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),a=0;a<pn.length;a++){var i=pn[a]+t;if(i in ln)return i}});function hn(e,t){var a=t.data,r=e.data;if(!(i(a.staticStyle)&&i(a.style)&&i(r.staticStyle)&&i(r.style))){var s,o,l=t.elm,c=r.staticStyle,u=r.normalizedStyle||r.style||{},d=c||u,p=on(t.data.style)||{};t.data.normalizedStyle=n(p.__ob__)?x({},p):p;var m=function(e,t){for(var a,i={},n=e;n.componentInstance;)(n=n.componentInstance._vnode)&&n.data&&(a=sn(n.data))&&x(i,a);(a=sn(e.data))&&x(i,a);for(var r=e;r=r.parent;)r.data&&(a=sn(r.data))&&x(i,a);return i}(t);for(o in d)i(m[o])&&dn(l,o,"");for(o in m)(s=m[o])!==d[o]&&dn(l,o,null==s?"":s)}}var fn={create:hn,update:hn},_n=/\s+/;function vn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(_n).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var a=" "+(e.getAttribute("class")||"")+" ";a.indexOf(" "+t+" ")<0&&e.setAttribute("class",(a+t).trim())}}function gn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(_n).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var a=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";a.indexOf(i)>=0;)a=a.replace(i," ");(a=a.trim())?e.setAttribute("class",a):e.removeAttribute("class")}}function yn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&x(t,bn(e.name||"v")),x(t,e),t}return"string"==typeof e?bn(e):void 0}}var bn=b(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),kn=z&&!K,wn="transition",Mn="animation",Sn="transition",Dn="transitionend",Ln="animation",Tn="animationend";kn&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Sn="WebkitTransition",Dn="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ln="WebkitAnimation",Tn="webkitAnimationEnd"));var xn=z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Cn(e){xn(function(){xn(e)})}function Yn(e,t){var a=e._transitionClasses||(e._transitionClasses=[]);a.indexOf(t)<0&&(a.push(t),vn(e,t))}function An(e,t){e._transitionClasses&&v(e._transitionClasses,t),gn(e,t)}function En(e,t,a){var i=In(e,t),n=i.type,r=i.timeout,s=i.propCount;if(!n)return a();var o=n===wn?Dn:Tn,l=0,c=function(){e.removeEventListener(o,u),a()},u=function(t){t.target===e&&++l>=s&&c()};setTimeout(function(){l<s&&c()},r+1),e.addEventListener(o,u)}var On=/\b(transform|all)(,|$)/;function In(e,t){var a,i=window.getComputedStyle(e),n=(i[Sn+"Delay"]||"").split(", "),r=(i[Sn+"Duration"]||"").split(", "),s=Fn(n,r),o=(i[Ln+"Delay"]||"").split(", "),l=(i[Ln+"Duration"]||"").split(", "),c=Fn(o,l),u=0,d=0;return t===wn?s>0&&(a=wn,u=s,d=r.length):t===Mn?c>0&&(a=Mn,u=c,d=l.length):d=(a=(u=Math.max(s,c))>0?s>c?wn:Mn:null)?a===wn?r.length:l.length:0,{type:a,timeout:u,propCount:d,hasTransform:a===wn&&On.test(i[Sn+"Property"])}}function Fn(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,a){return Pn(t)+Pn(e[a])}))}function Pn(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function jn(e,t){var a=e.elm;n(a._leaveCb)&&(a._leaveCb.cancelled=!0,a._leaveCb());var r=yn(e.data.transition);if(!i(r)&&!n(a._enterCb)&&1===a.nodeType){for(var s=r.css,l=r.type,c=r.enterClass,u=r.enterToClass,d=r.enterActiveClass,p=r.appearClass,h=r.appearToClass,f=r.appearActiveClass,_=r.beforeEnter,v=r.enter,g=r.afterEnter,y=r.enterCancelled,b=r.beforeAppear,k=r.appear,w=r.afterAppear,M=r.appearCancelled,S=r.duration,D=Kt,L=Kt.$vnode;L&&L.parent;)D=L.context,L=L.parent;var T=!D._isMounted||!e.isRootInsert;if(!T||k||""===k){var x=T&&p?p:c,C=T&&f?f:d,Y=T&&h?h:u,A=T&&b||_,E=T&&"function"==typeof k?k:v,O=T&&w||g,I=T&&M||y,P=m(o(S)?S.enter:S),j=!1!==s&&!K,H=Nn(E),$=a._enterCb=F(function(){j&&(An(a,Y),An(a,C)),$.cancelled?(j&&An(a,x),I&&I(a)):O&&O(a),a._enterCb=null});e.data.show||st(e,"insert",function(){var t=a.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),E&&E(a,$)}),A&&A(a),j&&(Yn(a,x),Yn(a,C),Cn(function(){An(a,x),$.cancelled||(Yn(a,Y),H||($n(P)?setTimeout($,P):En(a,l,$)))})),e.data.show&&(t&&t(),E&&E(a,$)),j||H||$()}}}function Hn(e,t){var a=e.elm;n(a._enterCb)&&(a._enterCb.cancelled=!0,a._enterCb());var r=yn(e.data.transition);if(i(r)||1!==a.nodeType)return t();if(!n(a._leaveCb)){var s=r.css,l=r.type,c=r.leaveClass,u=r.leaveToClass,d=r.leaveActiveClass,p=r.beforeLeave,h=r.leave,f=r.afterLeave,_=r.leaveCancelled,v=r.delayLeave,g=r.duration,y=!1!==s&&!K,b=Nn(h),k=m(o(g)?g.leave:g),w=a._leaveCb=F(function(){a.parentNode&&a.parentNode._pending&&(a.parentNode._pending[e.key]=null),y&&(An(a,u),An(a,d)),w.cancelled?(y&&An(a,c),_&&_(a)):(t(),f&&f(a)),a._leaveCb=null});v?v(M):M()}function M(){w.cancelled||(!e.data.show&&a.parentNode&&((a.parentNode._pending||(a.parentNode._pending={}))[e.key]=e),p&&p(a),y&&(Yn(a,c),Yn(a,d),Cn(function(){An(a,c),w.cancelled||(Yn(a,u),b||($n(k)?setTimeout(w,k):En(a,l,w)))})),h&&h(a,w),y||b||w())}}function $n(e){return"number"==typeof e&&!isNaN(e)}function Nn(e){if(i(e))return!1;var t=e.fns;return n(t)?Nn(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function qn(e,t){!0!==t.data.show&&jn(t)}var Rn=function(e){var t,a,o={},l=e.modules,c=e.nodeOps;for(t=0;t<ti.length;++t)for(o[ti[t]]=[],a=0;a<l.length;++a)n(l[a][ti[t]])&&o[ti[t]].push(l[a][ti[t]]);function u(e){var t=c.parentNode(e);n(t)&&c.removeChild(t,e)}function d(e,t,a,i,s,l,u){if(n(e.elm)&&n(l)&&(e=l[u]=ge(e)),e.isRootInsert=!s,!function(e,t,a,i){var s=e.data;if(n(s)){var l=n(e.componentInstance)&&s.keepAlive;if(n(s=s.hook)&&n(s=s.init)&&s(e,!1),n(e.componentInstance))return p(e,t),m(a,e.elm,i),r(l)&&function(e,t,a,i){for(var r,s=e;s.componentInstance;)if(s=s.componentInstance._vnode,n(r=s.data)&&n(r=r.transition)){for(r=0;r<o.activate.length;++r)o.activate[r](ei,s);t.push(s);break}m(a,e.elm,i)}(e,t,a,i),!0}}(e,t,a,i)){var d=e.data,h=e.children,_=e.tag;n(_)?(e.elm=e.ns?c.createElementNS(e.ns,_):c.createElement(_,e),g(e),f(e,h,t),n(d)&&v(e,t),m(a,e.elm,i)):r(e.isComment)?(e.elm=c.createComment(e.text),m(a,e.elm,i)):(e.elm=c.createTextNode(e.text),m(a,e.elm,i))}}function p(e,t){n(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,_(e)?(v(e,t),g(e)):(Xa(e),t.push(e))}function m(e,t,a){n(e)&&(n(a)?c.parentNode(a)===e&&c.insertBefore(e,t,a):c.appendChild(e,t))}function f(e,t,a){if(Array.isArray(t))for(var i=0;i<t.length;++i)d(t[i],a,e.elm,null,!0,t,i);else s(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function _(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return n(e.tag)}function v(e,a){for(var i=0;i<o.create.length;++i)o.create[i](ei,e);n(t=e.data.hook)&&(n(t.create)&&t.create(ei,e),n(t.insert)&&a.push(e))}function g(e){var t;if(n(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var a=e;a;)n(t=a.context)&&n(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),a=a.parent;n(t=Kt)&&t!==e.context&&t!==e.fnContext&&n(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function y(e,t,a,i,n,r){for(;i<=n;++i)d(a[i],r,e,t,!1,a,i)}function b(e){var t,a,i=e.data;if(n(i))for(n(t=i.hook)&&n(t=t.destroy)&&t(e),t=0;t<o.destroy.length;++t)o.destroy[t](e);if(n(t=e.children))for(a=0;a<e.children.length;++a)b(e.children[a])}function k(e,t,a,i){for(;a<=i;++a){var r=t[a];n(r)&&(n(r.tag)?(w(r),b(r)):u(r.elm))}}function w(e,t){if(n(t)||n(e.data)){var a,i=o.remove.length+1;for(n(t)?t.listeners+=i:t=function(e,t){function a(){0==--a.listeners&&u(e)}return a.listeners=t,a}(e.elm,i),n(a=e.componentInstance)&&n(a=a._vnode)&&n(a.data)&&w(a,t),a=0;a<o.remove.length;++a)o.remove[a](e,t);n(a=e.data.hook)&&n(a=a.remove)?a(e,t):t()}else u(e.elm)}function M(e,t,a,i){for(var r=a;r<i;r++){var s=t[r];
vendor: 4,181 bytes, line 20
20if(n(s)&&ai(e,s))return r}}function S(e,t,a,s,l,u){if(e!==t){n(t.elm)&&n(s)&&(t=s[l]=ge(t));var p=t.elm=e.elm;if(r(e.isAsyncPlaceholder))n(t.asyncFactory.resolved)?T(e.elm,t,a):t.isAsyncPlaceholder=!0;else if(r(t.isStatic)&&r(e.isStatic)&&t.key===e.key&&(r(t.isCloned)||r(t.isOnce)))t.componentInstance=e.componentInstance;else{var m,h=t.data;n(h)&&n(m=h.hook)&&n(m=m.prepatch)&&m(e,t);var f=e.children,v=t.children;if(n(h)&&_(t)){for(m=0;m<o.update.length;++m)o.update[m](e,t);n(m=h.hook)&&n(m=m.update)&&m(e,t)}i(t.text)?n(f)&&n(v)?f!==v&&function(e,t,a,r,s){for(var o,l,u,p=0,m=0,h=t.length-1,f=t[0],_=t[h],v=a.length-1,g=a[0],b=a[v],w=!s;p<=h&&m<=v;)i(f)?f=t[++p]:i(_)?_=t[--h]:ai(f,g)?(S(f,g,r,a,m),f=t[++p],g=a[++m]):ai(_,b)?(S(_,b,r,a,v),_=t[--h],b=a[--v]):ai(f,b)?(S(f,b,r,a,v),w&&c.insertBefore(e,f.elm,c.nextSibling(_.elm)),f=t[++p],b=a[--v]):ai(_,g)?(S(_,g,r,a,m),w&&c.insertBefore(e,_.elm,f.elm),_=t[--h],g=a[++m]):(i(o)&&(o=ii(t,p,h)),i(l=n(g.key)?o[g.key]:M(g,t,p,h))?d(g,r,e,f.elm,!1,a,m):ai(u=t[l],g)?(S(u,g,r,a,m),t[l]=void 0,w&&c.insertBefore(e,u.elm,f.elm)):d(g,r,e,f.elm,!1,a,m),g=a[++m]);p>h?y(e,i(a[v+1])?null:a[v+1].elm,a,m,v,r):m>v&&k(0,t,p,h)}(p,f,v,a,u):n(v)?(n(e.text)&&c.setTextContent(p,""),y(p,null,v,0,v.length-1,a)):n(f)?k(0,f,0,f.length-1):n(e.text)&&c.setTextContent(p,""):e.text!==t.text&&c.setTextContent(p,t.text),n(h)&&n(m=h.hook)&&n(m=m.postpatch)&&m(e,t)}}}function D(e,t,a){if(r(a)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var L=h("attrs,class,staticClass,staticStyle,key");function T(e,t,a,i){var s,o=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,r(t.isComment)&&n(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(n(l)&&(n(s=l.hook)&&n(s=s.init)&&s(t,!0),n(s=t.componentInstance)))return p(t,a),!0;if(n(o)){if(n(c))if(e.hasChildNodes())if(n(s=l)&&n(s=s.domProps)&&n(s=s.innerHTML)){if(s!==e.innerHTML)return!1}else{for(var u=!0,d=e.firstChild,m=0;m<c.length;m++){if(!d||!T(d,c[m],a,i)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else f(t,c,a);if(n(l)){var h=!1;for(var _ in l)if(!L(_)){h=!0,v(t,a);break}!h&&l.class&&at(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,a,s){if(!i(t)){var l,u=!1,p=[];if(i(e))u=!0,d(t,p);else{var m=n(e.nodeType);if(!m&&ai(e,t))S(e,t,p,null,null,s);else{if(m){if(1===e.nodeType&&e.hasAttribute(P)&&(e.removeAttribute(P),a=!0),r(a)&&T(e,t,p))return D(t,p,!0),e;l=e,e=new he(c.tagName(l).toLowerCase(),{},[],void 0,l)}var h=e.elm,f=c.parentNode(h);if(d(t,p,h._leaveCb?null:f,c.nextSibling(h)),n(t.parent))for(var v=t.parent,g=_(t);v;){for(var y=0;y<o.destroy.length;++y)o.destroy[y](v);if(v.elm=t.elm,g){for(var w=0;w<o.create.length;++w)o.create[w](ei,v);var M=v.data.hook.insert;if(M.merged)for(var L=1;L<M.fns.length;L++)M.fns[L]()}else Xa(v);v=v.parent}n(f)?k(0,[e],0,0):n(e.tag)&&b(e)}}return D(t,p,u),t.elm}n(e)&&b(e)}}({nodeOps:Qa,modules:[hi,wi,en,nn,fn,z?{create:qn,activate:qn,remove:function(e,t){!0!==e.data.show?Hn(e,t):t()}}:{}].concat(ui)});K&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Kn(e,"input")});var Bn={inserted:function(e,t,a,i){"select"===a.tag?(i.elm&&!i.elm._vOptions?st(a,"postpatch",function(){Bn.componentUpdated(e,t,a)}):Wn(e,t,a.context),e._vOptions=[].map.call(e.options,Vn)):("textarea"===a.tag||Ja(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Gn),e.addEventListener("compositionend",Jn),e.addEventListener("change",Jn),K&&(e.vmodel=!0)))},componentUpdated:function(e,t,a){if("select"===a.tag){Wn(e,t,a.context);var i=e._vOptions,n=e._vOptions=[].map.call(e.options,Vn);n.some(function(e,t){return!O(e,i[t])})&&(e.multiple?t.value.some(function(e){return Un(e,n)}):t.value!==t.oldValue&&Un(t.value,n))&&Kn(e,"change")}}};function Wn(e,t,a){zn(e,t),(J||Q)&&setTimeout(function(){zn(e,t)},0)}function zn(e,t,a){var i=t.value,n=e.multiple;if(!n||Array.isArray(i)){for(var r,s,o=0,l=e.options.length;o<l;o++)if(s=e.options[o],n)r=I(i,Vn(s))>-1,s.selected!==r&&(s.selected=r);else if(O(Vn(s),i))return void(e.selectedIndex!==o&&(e.selectedIndex=o));n||(e.selectedIndex=-1)}}
vendor: 8,499 bytes, line 20
20function Un(e,t){return t.every(function(t){return!O(t,e)})}function Vn(e){return"_value"in e?e._value:e.value}function Gn(e){e.target.composing=!0}function Jn(e){e.target.composing&&(e.target.composing=!1,Kn(e.target,"input"))}function Kn(e,t){var a=document.createEvent("HTMLEvents");a.initEvent(t,!0,!0),e.dispatchEvent(a)}function Qn(e){return!e.componentInstance||e.data&&e.data.transition?e:Qn(e.componentInstance._vnode)}var Zn={model:Bn,show:{bind:function(e,t,a){var i=t.value,n=(a=Qn(a)).data&&a.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&n?(a.data.show=!0,jn(a,function(){e.style.display=r})):e.style.display=i?r:"none"},update:function(e,t,a){var i=t.value;!i!=!t.oldValue&&((a=Qn(a)).data&&a.data.transition?(a.data.show=!0,i?jn(a,function(){e.style.display=e.__vOriginalDisplay}):Hn(a,function(){e.style.display="none"})):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,a,i,n){n||(e.style.display=e.__vOriginalDisplay)}}},Xn={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function er(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?er(zt(t.children)):e}function tr(e){var t={},a=e.$options;for(var i in a.propsData)t[i]=e[i];var n=a._parentListeners;for(var r in n)t[w(r)]=n[r];return t}function ar(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ir=function(e){return e.tag||Wt(e)},nr=function(e){return"show"===e.name},rr={name:"transition",props:Xn,abstract:!0,render:function(e){var t=this,a=this.$slots.default;if(a&&(a=a.filter(ir)).length){var i=this.mode,n=a[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return n;var r=er(n);if(!r)return n;if(this._leaving)return ar(e,n);var o="__transition-"+this._uid+"-";r.key=null==r.key?r.isComment?o+"comment":o+r.tag:s(r.key)?0===String(r.key).indexOf(o)?r.key:o+r.key:r.key;var l=(r.data||(r.data={})).transition=tr(this),c=this._vnode,u=er(c);if(r.data.directives&&r.data.directives.some(nr)&&(r.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(r,u)&&!Wt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=x({},l);if("out-in"===i)return this._leaving=!0,st(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),ar(e,n);if("in-out"===i){if(Wt(r))return c;var p,m=function(){p()};st(l,"afterEnter",m),st(l,"enterCancelled",m),st(d,"delayLeave",function(e){p=e})}}return n}}},sr=x({tag:String,moveClass:String},Xn);function or(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function lr(e){e.data.newPos=e.elm.getBoundingClientRect()}function cr(e){var t=e.data.pos,a=e.data.newPos,i=t.left-a.left,n=t.top-a.top;if(i||n){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+i+"px,"+n+"px)",r.transitionDuration="0s"}}delete sr.mode;var ur={Transition:rr,TransitionGroup:{props:sr,beforeMount:function(){var e=this,t=this._update;this._update=function(a,i){var n=Qt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,n(),t.call(e,a,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",a=Object.create(null),i=this.prevChildren=this.children,n=this.$slots.default||[],r=this.children=[],s=tr(this),o=0;o<n.length;o++){var l=n[o];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(r.push(l),a[l.key]=l,(l.data||(l.data={})).transition=s)}if(i){for(var c=[],u=[],d=0;d<i.length;d++){var p=i[d];p.data.transition=s,p.data.pos=p.elm.getBoundingClientRect(),a[p.key]?c.push(p):u.push(p)}this.kept=e(t,null,c),this.removed=u}return e(t,null,r)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(or),e.forEach(lr),e.forEach(cr),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var a=e.elm,i=a.style;Yn(a,t),i.transform=i.WebkitTransform=i.transitionDuration="",a.addEventListener(Dn,a._moveCb=function e(i){i&&i.target!==a||i&&!/transform$/.test(i.propertyName)||(a.removeEventListener(Dn,e),a._moveCb=null,An(a,t))})}}))},methods:{hasMove:function(e,t){if(!kn)return!1;if(this._hasMove)return this._hasMove;var a=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){gn(a,e)}),vn(a,t),a.style.display="none",this.$el.appendChild(a);var i=In(a);return this.$el.removeChild(a),this._hasMove=i.hasTransform}}}};wa.config.mustUseProp=Aa,wa.config.isReservedTag=Ua,wa.config.isReservedAttr=Ca,wa.config.getTagNamespace=Va,wa.config.isUnknownElement=function(e){if(!z)return!0;if(Ua(e))return!1;if(e=e.toLowerCase(),null!=Ga[e])return Ga[e];var t=document.createElement(e);return e.indexOf("-")>-1?Ga[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ga[e]=/HTMLUnknownElement/.test(t.toString())},x(wa.options.directives,Zn),x(wa.options.components,ur),wa.prototype.__patch__=z?Rn:Y,wa.prototype.$mount=function(e,t){return function(e,t,a){return e.$el=t,e.$options.render||(e.$options.render=_e),ea(e,"beforeMount"),new pa(e,function(){e._update(e._render(),a)},Y,{before:function(){e._isMounted&&!e._isDestroyed&&ea(e,"beforeUpdate")}},!0),a=!1,null==e.$vnode&&(e._isMounted=!0,ea(e,"mounted")),e}(this,e=e&&z?Ka(e):void 0,t)},z&&setTimeout(function(){$.devtools&&ne&&ne.emit("init",wa)},0);var dr,pr=/\{\{((?:.|\r?\n)+?)\}\}/g,mr=/[-.*+?^${}()|[\]\/\\]/g,hr=b(function(e){var t=e[0].replace(mr,"\\$&"),a=e[1].replace(mr,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+a,"g")}),fr={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var a=Fi(e,"class");a&&(e.staticClass=JSON.stringify(a));var i=Ii(e,"class",!1);i&&(e.classBinding=i)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},_r={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var a=Fi(e,"style");a&&(e.staticStyle=JSON.stringify(rn(a)));var i=Ii(e,"style",!1);i&&(e.styleBinding=i)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},vr=h("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),gr=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),yr=h("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"),br=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,kr=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,wr="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+N.source+"]*",Mr="((?:"+wr+"\\:)?"+wr+")",Sr=new RegExp("^<"+Mr),Dr=/^\s*(\/?)>/,Lr=new RegExp("^<\\/"+Mr+"[^>]*>"),Tr=/^<!DOCTYPE [^>]+>/i,xr=/^<!\--/,Cr=/^<!\[/,Yr=h("script,style,textarea",!0),Ar={},Er={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},Or=/&(?:lt|gt|quot|amp|#39);/g,Ir=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Fr=h("pre,textarea",!0),Pr=function(e,t){return e&&Fr(e)&&"\n"===t[0]};function jr(e,t){var a=t?Ir:Or;return e.replace(a,function(e){return Er[e]})}var Hr,$r,Nr,qr,Rr,Br,Wr,zr,Ur=/^@|^v-on:/,Vr=/^v-|^@|^:/,Gr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Jr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Kr=/^\(|\)$/g,Qr=/^\[.*\]$/,Zr=/:(.*)$/,Xr=/^:|^\.|^v-bind:/,es=/\.[^.\]]+(?=[^\]]*$)/g,ts=/^v-slot(:|$)|^#/,as=/[\r\n]/,is=/\s+/g,ns=b(function(e){return(dr=dr||document.createElement("div")).innerHTML=e,dr.textContent}),rs="_empty_";function ss(e,t,a){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},a=0,i=e.length;a<i;a++)t[e[a].name]=e[a].value;return t}(t),rawAttrsMap:{},parent:a,children:[]}}function os(e,t){var a,i;(i=Ii(a=e,"key"))&&(a.key=i),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=Ii(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=Fi(e,"scope"),e.slotScope=t||Fi(e,"slot-scope")):(t=Fi(e,"slot-scope"))&&(e.slotScope=t);var a=Ii(e,"slot");
vendor: 3,304 bytes, line 20
20if(a&&(e.slotTarget='""'===a?'"default"':a,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Ci(e,"slot",a,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot"))),"template"===e.tag){var i=Pi(e,ts);if(i){var n=us(i),r=n.name,s=n.dynamic;e.slotTarget=r,e.slotTargetDynamic=s,e.slotScope=i.value||rs}}else{var o=Pi(e,ts);if(o){var l=e.scopedSlots||(e.scopedSlots={}),c=us(o),u=c.name,d=c.dynamic,p=l[u]=ss("template",[],e);p.slotTarget=u,p.slotTargetDynamic=d,p.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=p,!0}),p.slotScope=o.value||rs,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=Ii(e,"name"))}(e),function(e){var t;(t=Ii(e,"is"))&&(e.component=t),null!=Fi(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var n=0;n<Nr.length;n++)e=Nr[n](e,t)||e;return function(e){var t,a,i,n,r,s,o,l,c=e.attrsList;for(t=0,a=c.length;t<a;t++)if(i=n=c[t].name,r=c[t].value,Vr.test(i))if(e.hasBindings=!0,(s=ds(i.replace(Vr,"")))&&(i=i.replace(es,"")),Xr.test(i))i=i.replace(Xr,""),r=Si(r),(l=Qr.test(i))&&(i=i.slice(1,-1)),s&&(s.prop&&!l&&"innerHtml"===(i=w(i))&&(i="innerHTML"),s.camel&&!l&&(i=w(i)),s.sync&&(o=$i(r,"$event"),l?Oi(e,'"update:"+('+i+")",o,null,!1,0,c[t],!0):(Oi(e,"update:"+w(i),o,null,!1,0,c[t]),D(i)!==w(i)&&Oi(e,"update:"+D(i),o,null,!1,0,c[t])))),s&&s.prop||!e.component&&Wr(e.tag,e.attrsMap.type,i)?xi(e,i,r,c[t],l):Ci(e,i,r,c[t],l);else if(Ur.test(i))i=i.replace(Ur,""),(l=Qr.test(i))&&(i=i.slice(1,-1)),Oi(e,i,r,s,!1,0,c[t],l);else{var u=(i=i.replace(Vr,"")).match(Zr),d=u&&u[1];l=!1,d&&(i=i.slice(0,-(d.length+1)),Qr.test(d)&&(d=d.slice(1,-1),l=!0)),Ai(e,i,n,r,d,l,s,c[t])}else Ci(e,i,JSON.stringify(r),c[t]),!e.component&&"muted"===i&&Wr(e.tag,e.attrsMap.type,i)&&xi(e,i,"true",c[t])}(e),e}function ls(e){var t;if(t=Fi(e,"v-for")){var a=function(e){var t=e.match(Gr);if(t){var a={};a.for=t[2].trim();var i=t[1].trim().replace(Kr,""),n=i.match(Jr);return n?(a.alias=i.replace(Jr,"").trim(),a.iterator1=n[1].trim(),n[2]&&(a.iterator2=n[2].trim())):a.alias=i,a}}(t);a&&x(e,a)}}function cs(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function us(e){var t=e.name.replace(ts,"");return t||"#"!==e.name[0]&&(t="default"),Qr.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function ds(e){var t=e.match(es);if(t){var a={};return t.forEach(function(e){a[e.slice(1)]=!0}),a}}var ps=/^xmlns:NS\d+/,ms=/^NS\d+:/;function hs(e){return ss(e.tag,e.attrsList.slice(),e.parent)}var fs,_s,vs=[fr,_r,{preTransformNode:function(e,t){if("input"===e.tag){var a,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(a=Ii(e,"type")),i.type||a||!i["v-bind"]||(a="("+i["v-bind"]+").type"),a){var n=Fi(e,"v-if",!0),r=n?"&&("+n+")":"",s=null!=Fi(e,"v-else",!0),o=Fi(e,"v-else-if",!0),l=hs(e);ls(l),Yi(l,"type","checkbox"),os(l,t),l.processed=!0,l.if="("+a+")==='checkbox'"+r,cs(l,{exp:l.if,block:l});var c=hs(e);Fi(c,"v-for",!0),Yi(c,"type","radio"),os(c,t),cs(l,{exp:"("+a+")==='radio'"+r,block:c});var u=hs(e);return Fi(u,"v-for",!0),Yi(u,":type",a),os(u,t),cs(l,{exp:n,block:u}),s?l.else=!0:o&&(l.elseif=o),l}}}}],gs={expectHTML:!0,modules:vs,directives:{model:function(e,t,a){var i=t.value,n=t.modifiers,r
vendor: 4,327 bytes, line 20
20=e.tag,s=e.attrsMap.type;if(e.component)return Hi(e,i,n),!1;if("select"===r)!function(e,t,a){var i='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 val});';i=i+" "+$i(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Oi(e,"change",i,null,!0)}(e,i);else if("input"===r&&"checkbox"===s)!function(e,t,a){var i=a&&a.number,n=Ii(e,"value")||"null",r=Ii(e,"true-value")||"true",s=Ii(e,"false-value")||"false";xi(e,"checked","Array.isArray("+t+")?_i("+t+","+n+")>-1"+("true"===r?":("+t+")":":_q("+t+","+r+")")),Oi(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+s+");if(Array.isArray($$a)){var $$v="+(i?"_n("+n+")":n)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+$i(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+$i(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+$i(t,"$$c")+"}",null,!0)}(e,i,n);else if("input"===r&&"radio"===s)!function(e,t,a){var i=a&&a.number,n=Ii(e,"value")||"null";xi(e,"checked","_q("+t+","+(n=i?"_n("+n+")":n)+")"),Oi(e,"change",$i(t,n),null,!0)}(e,i,n);else if("input"===r||"textarea"===r)!function(e,t,a){var i=e.attrsMap.type,n=a||{},r=n.lazy,s=n.number,o=n.trim,l=!r&&"range"!==i,c=r?"change":"range"===i?Ui:"input",u="$event.target.value";o&&(u="$event.target.value.trim()"),s&&(u="_n("+u+")");var d=$i(t,u);l&&(d="if($event.target.composing)return;"+d),xi(e,"value","("+t+")"),Oi(e,c,d,null,!0),(o||s)&&Oi(e,"blur","$forceUpdate()")}(e,i,n);else if(!$.isReservedTag(r))return Hi(e,i,n),!1;return!0},text:function(e,t){t.value&&xi(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&xi(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:vr,mustUseProp:Aa,canBeLeftOpenTag:gr,isReservedTag:Ua,getTagNamespace:Va,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(vs)},ys=b(function(e){return h("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}),bs=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*(?:[\w$]+)?\s*\(/,ks=/\([^)]*?\);*$/,ws=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ms={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ss={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ds=function(e){return"if("+e+")return null;"},Ls={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ds("$event.target !== $event.currentTarget"),ctrl:Ds("!$event.ctrlKey"),shift:Ds("!$event.shiftKey"),alt:Ds("!$event.altKey"),meta:Ds("!$event.metaKey"),left:Ds("'button' in $event && $event.button !== 0"),middle:Ds("'button' in $event && $event.button !== 1"),right:Ds("'button' in $event && $event.button !== 2")};function Ts(e,t){var a=t?"nativeOn:":"on:",i="",n="";for(var r in e){var s=xs(e[r]);e[r]&&e[r].dynamic?n+=r+","+s+",":i+='"'+r+'":'+s+","}return i="{"+i.slice(0,-1)+"}",n?a+"_d("+i+",["+n.slice(0,-1)+"])":a+i}function xs(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return xs(e)}).join(",")+"]";var t=ws.test(e.value),a=bs.test(e.value),i=ws.test(e.value.replace(ks,""));if(e.modifiers){var n="",r="",s=[];for(var o in e.modifiers)if(Ls[o])r+=Ls[o],Ms[o]&&s.push(o);else if("exact"===o){var l=e.modifiers;r+=Ds(["ctrl","shift","alt","meta"].filter(function(e){return!l[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else s.push(o);return s.length&&(n+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Cs).join("&&")+")return null;"}(s)),r&&(n+=r),"function($event){"+n+(t?"return "+e.value+"($event)":a?"return ("+e.value+")($event)":i?"return "+e.value:e.value)+"}"}return t||a?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function Cs(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var a=Ms[e],i=Ss[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(a)+",$event.key,"+JSON.stringify(i)+")"}var Ys={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(a){return"_b("+a+",'"+e.tag
vendor: 3,087 bytes, line 20
20+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:Y},As=function(e){this.options=e,this.warn=e.warn||Li,this.transforms=Ti(e.modules,"transformCode"),this.dataGenFns=Ti(e.modules,"genData"),this.directives=x(x({},Ys),e.directives);var t=e.isReservedTag||A;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Es(e,t){var a=new As(t);return{render:"with(this){return "+(e?Os(e,a):'_c("div")')+"}",staticRenderFns:a.staticRenderFns}}function Os(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Is(e,t);if(e.once&&!e.onceProcessed)return Fs(e,t);if(e.for&&!e.forProcessed)return js(e,t);if(e.if&&!e.ifProcessed)return Ps(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var a=e.slotName||'"default"',i=qs(e,t),n="_t("+a+(i?","+i:""),r=e.attrs||e.dynamicAttrs?Ws((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:w(e.name),value:e.value,dynamic:e.dynamic}})):null,s=e.attrsMap["v-bind"];return!r&&!s||i||(n+=",null"),r&&(n+=","+r),s&&(n+=(r?"":",null")+","+s),n+")"}(e,t);var a;if(e.component)a=function(e,t,a){var i=t.inlineTemplate?null:qs(t,a,!0);return"_c("+e+","+Hs(t,a)+(i?","+i:"")+")"}(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=Hs(e,t));var n=e.inlineTemplate?null:qs(e,t,!0);a="_c('"+e.tag+"'"+(i?","+i:"")+(n?","+n:"")+")"}for(var r=0;r<t.transforms.length;r++)a=t.transforms[r](e,a);return a}return qs(e,t)||"void 0"}function Is(e,t){e.staticProcessed=!0;var a=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+Os(e,t)+"}"),t.pre=a,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function Fs(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Ps(e,t);if(e.staticInFor){for(var a="",i=e.parent;i;){if(i.for){a=i.key;break}i=i.parent}return a?"_o("+Os(e,t)+","+t.onceId+++","+a+")":Os(e,t)}return Is(e,t)}function Ps(e,t,a,i){return e.ifProcessed=!0,function e(t,a,i,n){if(!t.length)return n||"_e()";var r=t.shift();return r.exp?"("+r.exp+")?"+s(r.block)+":"+e(t,a,i,n):""+s(r.block);function s(e){return i?i(e,a):e.once?Fs(e,a):Os(e,a)}}(e.ifConditions.slice(),t,a,i)}function js(e,t,a,i){var n=e.for,r=e.alias,s=e.iterator1?","+e.iterator1:"",o=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(i||"_l")+"(("+n+"),function("+r+s+o+"){return "+(a||Os)(e,t)+"})"}function Hs(e,t){var a="{",i=function(e,t){var a=e.directives;if(a){var i,n,r,s,o="directives:[",l=!1;for(i=0,n=a.length;i<n;i++){r=a[i],s=!0;var c=t.directives[r.name];c&&(s=!!c(e,r,t.warn)),s&&(l=!0,o+='{name:"'+r.name+'",rawName:"'+r.rawName+'"'+(r.value?",value:("+r.value+"),expression:"+JSON.stringify(r.value):"")+(r.arg?",arg:"+(r.isDynamicArg?r.arg:'"'+r.arg+'"'):"")+(r.modifiers?",modifiers:"+JSON.stringify(r.modifiers):"")+"},")}return l?o.slice(0,-1)+"]":void 0}}(e,t);i&&(a+=i+","),e.key&&(a+="key:"+e.key+","),e.ref&&(a+="ref:"+e.ref+","),e.refInFor&&(a+="refInFor:true,"),e.pre&&(
vendor: 4,829 bytes, line 20
20a+="pre:true,"),e.component&&(a+='tag:"'+e.tag+'",');for(var n=0;n<t.dataGenFns.length;n++)a+=t.dataGenFns[n](e);if(e.attrs&&(a+="attrs:"+Ws(e.attrs)+","),e.props&&(a+="domProps:"+Ws(e.props)+","),e.events&&(a+=Ts(e.events,!1)+","),e.nativeEvents&&(a+=Ts(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(a+="slot:"+e.slotTarget+","),e.scopedSlots&&(a+=function(e,t,a){var i=e.for||Object.keys(t).some(function(e){var a=t[e];return a.slotTargetDynamic||a.if||a.for||$s(a)}),n=!!e.if;if(!i)for(var r=e.parent;r;){if(r.slotScope&&r.slotScope!==rs||r.for){i=!0;break}r.if&&(n=!0),r=r.parent}var s=Object.keys(t).map(function(e){return Ns(t[e],a)}).join(",");return"scopedSlots:_u(["+s+"]"+(i?",null,true":"")+(!i&&n?",null,false,"+function(e){for(var t=5381,a=e.length;a;)t=33*t^e.charCodeAt(--a);return t>>>0}(s):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(a+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var r=function(e,t){var a=e.children[0];if(a&&1===a.type){var i=Es(a,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);r&&(a+=r+",")}return a=a.replace(/,$/,"")+"}",e.dynamicAttrs&&(a="_b("+a+',"'+e.tag+'",'+Ws(e.dynamicAttrs)+")"),e.wrapData&&(a=e.wrapData(a)),e.wrapListeners&&(a=e.wrapListeners(a)),a}function $s(e){return 1===e.type&&("slot"===e.tag||e.children.some($s))}function Ns(e,t){var a=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!a)return Ps(e,t,Ns,"null");if(e.for&&!e.forProcessed)return js(e,t,Ns);var i=e.slotScope===rs?"":String(e.slotScope),n="function("+i+"){return "+("template"===e.tag?e.if&&a?"("+e.if+")?"+(qs(e,t)||"undefined")+":undefined":qs(e,t)||"undefined":Os(e,t))+"}",r=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+n+r+"}"}function qs(e,t,a,i,n){var r=e.children;if(r.length){var s=r[0];if(1===r.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var o=a?t.maybeComponent(s)?",1":",0":"";return""+(i||Os)(s,t)+o}var l=a?function(e,t){for(var a=0,i=0;i<e.length;i++){var n=e[i];if(1===n.type){if(Rs(n)||n.ifConditions&&n.ifConditions.some(function(e){return Rs(e.block)})){a=2;break}(t(n)||n.ifConditions&&n.ifConditions.some(function(e){return t(e.block)}))&&(a=1)}}return a}(r,t.maybeComponent):0,c=n||Bs;return"["+r.map(function(e){return c(e,t)}).join(",")+"]"+(l?","+l:"")}}function Rs(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Bs(e,t){return 1===e.type?Os(e,t):3===e.type&&e.isComment?(i=e,"_e("+JSON.stringify(i.text)+")"):"_v("+(2===(a=e).type?a.expression:zs(JSON.stringify(a.text)))+")";var a,i}function Ws(e){for(var t="",a="",i=0;i<e.length;i++){var n=e[i],r=zs(n.value);n.dynamic?a+=n.name+","+r+",":t+='"'+n.name+'":'+r+","}return t="{"+t.slice(0,-1)+"}",a?"_d("+t+",["+a.slice(0,-1)+"])":t}function zs(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Us(e,t){try{return new Function(e)}catch(a){return t.push({err:a,code:e}),Y}}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");var Vs,Gs,Js=(Vs=function(e,t){var a=function(e,t){Hr=t.warn||Li,Br=t.isPreTag||A,Wr=t.mustUseProp||A,zr=t.getTagNamespace||A,t.isReservedTag,Nr=Ti(t.modules,"transformNode"),qr=Ti(t.modules,"preTransformNode"),Rr=Ti(t.modules,"postTransformNode"),$r=t.delimiters;var a,i,n=[],r=!1!==t.preserveWhitespace,s=t.whitespace,o=!1,l=!1;function c(e){if(u(e),o||e.processed||(e=os(e,t)),n.length||e===a||a.if&&(e.elseif||e.else)&&cs(a,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)s=e,(c=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children))&&c.if&&cs(c,{exp:s.elseif,block:s});else{if(e.slotScope){var r=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[r]=e}i.children.push(e),e.parent=i}var s,c;e.children=e.children.filter(function(e){return!e.slotScope}),u(e),e.pre&&(o=!1),Br(e.tag)&&(l=!1);for(var d=0;d<Rr.length;d++)Rr[d](e,t)}function u(e){if(!l)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return function(e,t){for(var a,i,n=[],r=t.expectHTML,s=t.isUnaryTag||A,o=t.canBeLeftOpenTag||A,l=0;e;){if(a=e,i&&Yr(i)){var c=0,u=i.toLowerCase(),d=Ar[u]||(Ar[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),p=e.replace(d,function(e,a,i){return c=i.length,Yr(u)||"noscript"===u||(a=a.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Pr(u,a)&&(a=a.slice(1)),t.chars&&t.chars(a),""});l+=e.length-p.length,e=p,L(u,l-c,l)}else{var m=e.indexOf("<");if(0===m){if(xr.test(e)){var h=e.indexOf("--\x3e");
vendor: 8,103 bytes, lines 20-27
20if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),l,l+h+3),M(h+3);continue}}if(Cr.test(e)){var f=e.indexOf("]>");if(f>=0){M(f+2);continue}}var _=e.match(Tr);if(_){M(_[0].length);continue}var v=e.match(Lr);if(v){var g=l;M(v[0].length),L(v[1],g,l);continue}var y=S();if(y){D(y),Pr(y.tagName,e)&&M(1);continue}}var b=void 0,k=void 0,w=void 0;if(m>=0){for(k=e.slice(m);!(Lr.test(k)||Sr.test(k)||xr.test(k)||Cr.test(k)||(w=k.indexOf("<",1))<0);)m+=w,k=e.slice(m);b=e.substring(0,m)}m<0&&(b=e),b&&M(b.length),t.chars&&b&&t.chars(b,l-b.length,l)}if(e===a){t.chars&&t.chars(e);break}}function M(t){l+=t,e=e.substring(t)}function S(){var t=e.match(Sr);if(t){var a,i,n={tagName:t[1],attrs:[],start:l};for(M(t[0].length);!(a=e.match(Dr))&&(i=e.match(kr)||e.match(br));)i.start=l,M(i[0].length),i.end=l,n.attrs.push(i);if(a)return n.unarySlash=a[1],M(a[0].length),n.end=l,n}}function D(e){var a=e.tagName,l=e.unarySlash;r&&("p"===i&&yr(a)&&L(i),o(a)&&i===a&&L(a));for(var c=s(a)||!!l,u=e.attrs.length,d=new Array(u),p=0;p<u;p++){var m=e.attrs[p],h=m[3]||m[4]||m[5]||"",f="a"===a&&"href"===m[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[p]={name:m[1],value:jr(h,f)}}c||(n.push({tag:a,lowerCasedTag:a.toLowerCase(),attrs:d,start:e.start,end:e.end}),i=a),t.start&&t.start(a,d,c,e.start,e.end)}function L(e,a,r){var s,o;if(null==a&&(a=l),null==r&&(r=l),e)for(o=e.toLowerCase(),s=n.length-1;s>=0&&n[s].lowerCasedTag!==o;s--);else s=0;if(s>=0){for(var c=n.length-1;c>=s;c--)t.end&&t.end(n[c].tag,a,r);n.length=s,i=s&&n[s-1].tag}else"br"===o?t.start&&t.start(e,[],!0,a,r):"p"===o&&(t.start&&t.start(e,[],!1,a,r),t.end&&t.end(e,a,r))}L()}(e,{warn:Hr,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,r,s,u,d){var p=i&&i.ns||zr(e);J&&"svg"===p&&(r=function(e){for(var t=[],a=0;a<e.length;a++){var i=e[a];ps.test(i.name)||(i.name=i.name.replace(ms,""),t.push(i))}return t}(r));var m,h=ss(e,r,i);p&&(h.ns=p),"style"!==(m=h).tag&&("script"!==m.tag||m.attrsMap.type&&"text/javascript"!==m.attrsMap.type)||ie()||(h.forbidden=!0);for(var f=0;f<qr.length;f++)h=qr[f](h,t)||h;o||(function(e){null!=Fi(e,"v-pre")&&(e.pre=!0)}(h),h.pre&&(o=!0)),Br(h.tag)&&(l=!0),o?function(e){var t=e.attrsList,a=t.length;if(a)for(var i=e.attrs=new Array(a),n=0;n<a;n++)i[n]={name:t[n].name,value:JSON.stringify(t[n].value)},null!=t[n].start&&(i[n].start=t[n].start,i[n].end=t[n].end);else e.pre||(e.plain=!0)}(h):h.processed||(ls(h),function(e){var t=Fi(e,"v-if");if(t)e.if=t,cs(e,{exp:t,block:e});else{null!=Fi(e,"v-else")&&(e.else=!0);var a=Fi(e,"v-else-if");a&&(e.elseif=a)}}(h),function(e){null!=Fi(e,"v-once")&&(e.once=!0)}(h)),a||(a=h),s?c(h):(i=h,n.push(h))},end:function(e,t,a){var r=n[n.length-1];n.length-=1,i=n[n.length-1],c(r)},chars:function(e,t,a){if(i&&(!J||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var n,c,u,d=i.children;(e=l||e.trim()?"script"===(n=i).tag||"style"===n.tag?e:ns(e):d.length?s?"condense"===s&&as.test(e)?"":" ":r?" ":"":"")&&(l||"condense"!==s||(e=e.replace(is," ")),!o&&" "!==e&&(c=function(e,t){var a=t?hr(t):pr;if(a.test(e)){for(var i,n,r,s=[],o=[],l=a.lastIndex=0;i=a.exec(e);){(n=i.index)>l&&(o.push(r=e.slice(l,n)),s.push(JSON.stringify(r)));var c=Si(i[1].trim());s.push("_s("+c+")"),o.push({"@binding":c}),l=n+i[0].length}return l<e.length&&(o.push(r=e.slice(l)),s.push(JSON.stringify(r))),{expression:s.join("+"),tokens:o}}}(e,$r))?u={type:2,expression:c.expression,tokens:c.tokens,text:e}:" "===e&&d.length&&" "===d[d.length-1].text||(u={type:3,text:e}),u&&d.push(u))}},comment:function(e,t,a){if(i){var n={type:3,text:e,isComment:!0};i.children.push(n)}}}),a}(e.trim(),t);!1!==t.optimize&&function(e,t){e&&(fs=ys(t.staticKeys||""),_s=t.isReservedTag||A,function e(t){if(t.static=function(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||f(e.tag)||!_s(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(fs))))}(t),1===t.type){if(!_s(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var a=0,i=t.children.length;a<i;a++){var n=t.children[a];e(n),n.static||(t.static=!1)}if(t.ifConditions)for(var r=1,s=t.ifConditions.length;r<s;r++){var o=t.ifConditions[r].block;e(o),o.static||(t.static=!1)}}}(e),function e(t,a){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=a),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var i=0,n=t.children.length;i<n;i++)e(t.children[i],a||!!t.for);if(t.ifConditions)for(var r=1,s=t.ifConditions.length;r<s;r++)e(t.ifConditions[r].block,a)}}(e,!1))}(a,t);var i=Es(a,t);return{ast:a,render:i.render,staticRenderFns:i.staticRenderFns}},function(e){function t(t,a){var i=Object.create(e),n=[],r=[];if(a)for(var s in a.modules&&(i.modules=(e.modules||[]).concat(a.modules)),a.directives&&(i.directives=x(Object.create(e.directives||null),a.directives)),a)"modules"!==s&&"directives"!==s&&(i[s]=a[s]);i.warn=function(e,t,a){(a?r:n).push(e)};var o=Vs(t.trim(),i);return o.errors=n,o.tips=r,o}return{compile:t,compileToFunctions:function(e){var t=Object.create(null);return function(a,i,n){(i=x({},i)).warn,delete i.warn;var r=i.delimiters?String(i.delimiters)+a:a;if(t[r])return t[r];var s=e(a,i),o={},l=[];return o.render=Us(s.render,l),o.staticRenderFns=s.staticRenderFns.map(function(e){return Us(e,l)}),t[r]=o}}(t)}})(gs),Ks=(Js.compile,Js.compileToFunctions);function Qs(e){return(Gs=Gs||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Gs.innerHTML.indexOf("&#10;")>0}var Zs=!!z&&Qs(!1),Xs=!!z&&Qs(!0),eo=b(function(e){var t=Ka(e);return t&&t.innerHTML}),to=wa.prototype.$mount;return wa.prototype.$mount=function(e,t){if((e=e&&Ka(e))===document.body||e===document.documentElement)return this;var a=this.$options;if(!a.render){var i=a.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=eo(i));else{if(!i.nodeType)return this;i=i.innerHTML}else e&&(i=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(i){var n=Ks(i,{outputSourceRange:!1,shouldDecodeNewlines:Zs,shouldDecodeNewlinesForHref:Xs,delimiters:a.delimiters,comments:a.comments},this),r=n.render,s=n.staticRenderFns;a.render=r,a.staticRenderFns=s}}return to.call(this,e,t)},wa.compile=Ks,wa}()}).call(this,a(9),a(187).setImmediate)},function(e,t){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(e){"object"==typeof window&&(a=window)}e.exports=a},function(e,t,a){var i,n,r;
21/*!
22* inputmask.js
23* https://github.com/RobinHerbots/Inputmask
24* Copyright (c) 2010 - 2019 Robin Herbots
25* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
26* Version: 4.0.8
27*/n=[a(145),a(90)],void 0===(r="function"==typeof(i=function(e,t,a){var i=t.document,n=navigator.userAgent,r=n.indexOf("MSIE ")>0||n.indexOf("Trident/")>0,s=p("touchstart"),o=/iemobile/i.test(n),l=/iphone/i.test(n)&&!o;function c(t,i,n){if(!(this instanceof c))return new c(t,i,n);this.el=a,this.events={},this.maskset=a,this.refreshValue=!1,!0!==n&&(e.isPlainObject(t)?i=t:(i=i||{},t&&(i.alias=t)),this.opts=e.extend(!0,{},this.defaults,i),this.noMasksCache=i&&i.definitions!==a,this.userOptions=i||{},this.isRTL=this.opts.numericInput,u(this.opts.alias,i,this.opts))}function u(t,i,n){var r=c.prototype.aliases[t];return r?(r.alias&&u(r.alias,a,n),e.extend(!0,n,r),e.extend(!0,n,i),!0):(null===n.mask&&(n.mask=t),!1)}function d(t,i){function n(t,n,r){var s=!1;if(null!==t&&""!==t||((s=null!==r.regex)?t=(t=r.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(s=!0,t=".*")),1===t.length&&!1===r.greedy&&0!==r.repeat&&(r.placeholder=""),r.repeat>0||"*"===r.repeat||"+"===r.repeat){var o="*"===r.repeat?0:"+"===r.repeat?1:r.repeat;t=r.groupmarker[0]+t+r.groupmarker[1]+r.quantifiermarker[0]+o+","+r.repeat+r.quantifiermarker[1]}
27var l,u=s?"regex_"+r.regex:r.numericInput?t.split("").reverse().join(""):t;return c.prototype.masksCache[u]===a||!0===i?(l={mask:t,maskToken:c.prototype.analyseMask(t,s,r),validPositions:{},_buffer:a,buffer:a,tests:{},excludes:{},metadata:n,maskLength:a,jitOffset:{}},!0!==i&&(c.prototype.masksCache[u]=l,l=e.extend(!0,{},c.prototype.masksCache[u]))):l=e.extend(!0,{},c.prototype.masksCache[u]),l}if(e.isFunction(t.mask)&&(t.mask=t.mask(t)),e.isArray(t.mask)){if(t.mask.length>1){if(null===t.keepStatic){t.keepStatic="auto";for(var r=0;r<t.mask.length;r++)if(t.mask[r].charAt(0)!==t.mask[0].charAt(0)){t.keepStatic=!0;break}}var s=t.groupmarker[0];return e.each(t.isRTL?t.mask.reverse():t.mask,function(i,n){s.length>1&&(s+=t.groupmarker[1]+t.alternatormarker+t.groupmarker[0]),n.mask===a||e.isFunction(n.mask)?s+=n:s+=n.mask}),n(s+=t.groupmarker[1],t.mask,t)}t.mask=t.mask.pop()}return t.mask&&t.mask.mask!==a&&!e.isFunction(t.mask.mask)?n(t.mask.mask,t.mask,t):n(t.mask,t.mask,t)}function p(e){var t=i.createElement("input"),a="on"+e,n=a in t;return n||(t.setAttribute(a,"return;"),n="function"==typeof t[a]),t=null,n}function m(n,u,d){u=u||this.maskset,d=d||this.opts;var h,f,_,v,g,y=this,b=this.el,k=this.isRTL,w=!1,M=!1,S=!1,D=!1,L=function(e,t,i,n,r){var s=d.greedy;r&&(d.greedy=!1),t=t||0;var o,l,c,u=[],p=0;C();do{if(!0===e&&T().validPositions[p])c=r&&!0===T().validPositions[p].match.optionality&&T().validPositions[p+1]===a&&(!0===T().validPositions[p].generatedInput||T().validPositions[p].input==d.skipOptionalPartCharacter&&p>0)?E(p,P(p,o,p-1)):T().validPositions[p],l=c.match,o=c.locator.slice(),u.push(!0===i?c.input:!1===i?l.nativeDef:J(p,l));else{c=O(p,o,p-1),l=c.match,o=c.locator.slice();var m=!0!==n&&(!1!==d.jitMasking?d.jitMasking:l.jit);(!1===m||m===a||"number"==typeof m&&isFinite(m)&&m>p)&&u.push(!1===i?l.nativeDef:J(p,l))}"auto"===d.keepStatic&&l.newBlockMarker&&null!==l.fn&&(d.keepStatic=p-1),p++}while((_===a||p<_)&&(null!==l.fn||""!==l.def)||t>p);return""===u[u.length-1]&&u.pop(),!1===i&&T().maskLength!==a||(T().maskLength=p-1),d.greedy=s,u};function T(){return u}function x(e){var t=T();t.buffer=a,!0!==e&&(t.validPositions={},t.p=0)}function C(e,t,i){var n=-1,r=-1,s=i||T().validPositions;for(var o in e===a&&(e=-1),s){var l=parseInt(o);s[l]&&(t||!0!==s[l].generatedInput)&&(l<=e&&(n=l),l>=e&&(r=l))}return-1===n||n==e?r:-1==r?n:e-n<r-e?n:r}function Y(e){var t=e.locator[e.alternation];return"string"==typeof t&&t.length>0&&(t=t.split(",")[0]),t!==a?t.toString():""}function A(e,t){var i=(e.alternation!=a?e.mloc[Y(e)]:e.locator).join("");if(""!==i)for(;i.length<t;)i+="0";return i}function E(e,t){for(var i,n,r,s=I(e=e>0?e-1:0),o=A(s),l=0;l<t.length;l++){var c=t[l];i=A(c,o.length);var u=Math.abs(i-o);(n===a||""!==i&&u<n||r&&!d.greedy&&r.match.optionality&&"master"===r.match.newBlockMarker&&(!c.match.optionality||!c.match.newBlockMarker)||r&&r.match.optionalQuantifier&&!c.match.optionalQuantifier)&&(n=u,r=c)}return r}function O(e,t,a){return T().validPositions[e]||E(e,P(e,t?t.slice():t,a))}function I(e,t){return T().validPositions[e]?T().validPositions[e]:(t||P(e))[0]}function F(e,t){for(var a=!1,i=P(e),n=0;n<i.length;n++)if(i[n].match&&i[n].match.def===t){a=!0;break}return a}function P(t,i,n){var r,s=T().maskToken,o=i?n:0,l=i?i.slice():[0],c=[],u=!1,p=i?i.join(""):"";function m(i,n,s,l){function h(s,l,f){function _(t,a){var i=0===e.inArray(t,a.matches);return i||e.each(a.matches,function(e,n){if(!0===n.isQuantifier?i=_(t,a.matches[e-1]):n.hasOwnProperty("matches")&&(i=_(t,n)),i)return!1}),i}function v(t,i,n){var r,s;if((T().tests[t]||T().validPositions[t])&&e.each(T().tests[t]||[T().validPositions[t]],function(e,t){if(t.mloc[i])return r=t,!1;var o=n!==a?n:t.alternation,l=t.locator[o]!==a?t.locator[o].toString().indexOf(i):-1;(s===a||l<s)&&-1!==l&&(r=t,s=l)}),r){var o=r.locator[r.alternation],l=r.mloc[i]||r.mloc[o]||r.locator;return l.slice((n!==a?n:r.alternation)+1)}return n!==a?v(t,i):a}function g(e,t){function a(e){for(var t,a,i=[],n=0,r=e.length;n<r;n++)if("-"===e.charAt(n))for(a=e.charCodeAt(n+1);++t<a;)i.push(String.fromCharCode(t));else t=e.charCodeAt(n),i.push(e.charAt(n));return i.join("")}return d.regex&&null!==e.match.fn&&null!==t.match.fn?-1!==a(t.match.def.replace(/[\[\]]/g,"")).indexOf(a(e.match.def.replace(/[\[\]]/g,""))):e.match.def===t.match.nativeDef}function y(e,a){var i=e.locator.slice(e.alternation).join(""),n=a.locator.slice(a.alternation).join(""),r=i==n;return r=!(!r||null!==e.match.fn||null===a.match.fn)&&a.match.fn.test(e.match.def,T(),t,!1,d,!1)}function b(e,t){if(t===a||e.alternation===t.alternation&&-1===e.locator[e.alternation].toString().indexOf(t.locator[t.alternation])){e.mloc=e.mloc||{};var i=e.locator[e.alternation];if(i!==a){if("string"==typeof i&&(i=i.split(",")[0]),e.mloc[i]===a&&(e.mloc[i]=e.locator.slice()),t!==a){for(var n in t.mloc)"string"==typeof n&&(n=n.split(",")[0]),e.mloc[n]===a&&(e.mloc[n]=t.mloc[n]);e.locator[e.alternation]=Object.keys(e.mloc).join(",")}return!0}e.alternation=a}return!1}if(o>500&&f!==a)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+T().mask;if(o===t&&s.matches===a)return c.push({match:s,locator:l.reverse(),cd:p,mloc:{}}),!0;if(s.matches!==a){if(s.isGroup&&f!==s){if(s=h(i.matches[e.inArray(s,i.matches)+1],l,f))return!0}else if(s.isOptional){var k=s;if(s=m(s,n,l,f)){if(e.each(c,function(e,t){t.match.optionality=!0}
27),r=c[c.length-1].match,f!==a||!_(r,k))return!0;u=!0,o=t}}else if(s.isAlternator){var w,M=s,S=[],D=c.slice(),L=l.length,x=n.length>0?n.shift():-1;if(-1===x||"string"==typeof x){var C,Y=o,A=n.slice(),E=[];if("string"==typeof x)E=x.split(",");else for(C=0;C<M.matches.length;C++)E.push(C.toString());if(T().excludes[t]){for(var O=E.slice(),I=0,F=T().excludes[t].length;I<F;I++)E.splice(E.indexOf(T().excludes[t][I].toString()),1);0===E.length&&(T().excludes[t]=a,E=O)}(!0===d.keepStatic||isFinite(parseInt(d.keepStatic))&&Y>=d.keepStatic)&&(E=E.slice(0,1));for(var P=!1,j=0;j<E.length;j++){C=parseInt(E[j]),c=[],n="string"==typeof x&&v(o,C,L)||A.slice(),M.matches[C]&&h(M.matches[C],[C].concat(l),f)?s=!0:0===j&&(P=!0),w=c.slice(),o=Y,c=[];for(var H=0;H<w.length;H++){var $=w[H],N=!1;$.match.jit=$.match.jit||P,$.alternation=$.alternation||L,b($);for(var q=0;q<S.length;q++){var R=S[q];if("string"!=typeof x||$.alternation!==a&&-1!==e.inArray($.locator[$.alternation].toString(),E)){if($.match.nativeDef===R.match.nativeDef){N=!0,b(R,$);break}if(g($,R)){b($,R)&&(N=!0,S.splice(S.indexOf(R),0,$));break}if(g(R,$)){b(R,$);break}if(y($,R)){b($,R)&&(N=!0,S.splice(S.indexOf(R),0,$));break}}}N||S.push($)}}c=D.concat(S),o=t,u=c.length>0,s=S.length>0,n=A.slice()}else s=h(M.matches[x]||i.matches[x],[x].concat(l),f);if(s)return!0}else if(s.isQuantifier&&f!==i.matches[e.inArray(s,i.matches)-1])for(var B=s,W=n.length>0?n.shift():0;W<(isNaN(B.quantifier.max)?W+1:B.quantifier.max)&&o<=t;W++){var z=i.matches[e.inArray(B,i.matches)-1];if(s=h(z,[W].concat(l),z)){if((r=c[c.length-1].match).optionalQuantifier=W>=B.quantifier.min,r.jit=(W||1)*z.matches.indexOf(r)>=B.quantifier.jit,r.optionalQuantifier&&_(r,z)){u=!0,o=t;break}return r.jit&&(T().jitOffset[t]=z.matches.indexOf(r)),!0}}else if(s=m(s,n,l,f))return!0}else o++}for(var f=n.length>0?n.shift():0;f<i.matches.length;f++)if(!0!==i.matches[f].isQuantifier){var _=h(i.matches[f],[f].concat(s),l);if(_&&o===t)return _;if(o>t)break}}if(t>-1){if(i===a){for(var h,f=t-1;(h=T().validPositions[f]||T().tests[f])===a&&f>-1;)f--;h!==a&&f>-1&&(l=function(t,i){var n=[];return e.isArray(i)||(i=[i]),i.length>0&&(i[0].alternation===a?0===(n=E(t,i.slice()).locator.slice()).length&&(n=i[0].locator.slice()):e.each(i,function(e,t){if(""!==t.def)if(0===n.length)n=t.locator.slice();else for(var a=0;a<n.length;a++)t.locator[a]&&-1===n[a].toString().indexOf(t.locator[a])&&(n[a]+=","+t.locator[a])})),n}(f,h),p=l.join(""),o=f)}if(T().tests[t]&&T().tests[t][0].cd===p)return T().tests[t];for(var _=l.shift();_<s.length;_++){var v=m(s[_],l,[_]);if(v&&o===t||o>t)break}}return(0===c.length||u)&&c.push({match:{fn:null,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:p}),i!==a&&T().tests[t]?e.extend(!0,[],c):(T().tests[t]=e.extend(!0,[],c),T().tests[t])}function j(){return T()._buffer===a&&(T()._buffer=L(!1,1),T().buffer===a&&(T().buffer=T()._buffer.slice())),T()._buffer}function H(e){return T().buffer!==a&&!0!==e||(T().buffer=L(!0,C(),!0),T()._buffer===a&&(T()._buffer=T().buffer.slice())),T().buffer}function $(e,t,i){var n,r;if(!0===e)x(),e=0,t=i.length;else for(n=e;n<t;n++)delete T().validPositions[n];for(r=e,n=e;n<t;n++)if(x(!0),i[n]!==d.skipOptionalPartCharacter){var s=R(r,i[n],!0,!0);!1!==s&&(x(!0),r=s.caret!==a?s.caret:s.pos+1)}}function N(t,i,n){for(var r,s=d.greedy?i:i.slice(0,1),o=!1,l=n!==a?n.split(","):[],c=0;c<l.length;c++)-1!==(r=t.indexOf(l[c]))&&t.splice(r,1);for(var u=0;u<t.length;u++)if(-1!==e.inArray(t[u],s)){o=!0;break}return o}function q(t,i,n,r,s){var o,l,c,u,d,p,m,h=e.extend(!0,{},T().validPositions),f=!1,_=s!==a?s:C();if(-1===_&&s===a)u=I(o=0),l=u.alternation;else for(;_>=0;_--)if((c=T().validPositions[_])&&c.alternation!==a){if(u&&u.locator[c.alternation]!==c.locator[c.alternation])break;o=_,l=T().validPositions[o].alternation,u=c}if(l!==a){m=parseInt(o),T().excludes[m]=T().excludes[m]||[],!0!==t&&T().excludes[m].push(Y(u));var v=[],g=0;for(d=m;d<C(a,!0)+1;d++)(p=T().validPositions[d])&&!0!==p.generatedInput?v.push(p.input):d<t&&g++,delete T().validPositions[d];for(;T().excludes[m]&&T().excludes[m].length<10;){var y=-1*g,b=v.slice();for(T().tests[m]=a,x(!0),f=!0;b.length>0;){var k=b.shift();if(!(f=R(C(a,!0)+1,k,!1,r,!0)))break}if(f&&i!==a){var w=C(t)+1;for(d=m;d<C()+1;d++)((p=T().validPositions[d])===a||null==p.match.fn)&&d<t+y&&y++;f=R((t+=y)>w?w:t,i,n,r,!0)}if(f)break;
27if(x(),u=I(m),T().validPositions=e.extend(!0,{},h),!T().excludes[m]){f=q(t,i,n,r,m-1);break}var M=Y(u);if(-1!==T().excludes[m].indexOf(M)){f=q(t,i,n,r,m-1);break}for(T().excludes[m].push(M),d=m;d<C(a,!0)+1;d++)delete T().validPositions[d]}}return T().excludes[m]=a,f}function R(t,i,n,r,s,o){function l(e){return k?e.begin-e.end>1||e.begin-e.end==1:e.end-e.begin>1||e.end-e.begin==1}n=!0===n;var u=t;function p(i,n,s){var o=!1;return e.each(P(i),function(u,p){var m=p.match;if(H(!0),!1!==(o=null!=m.fn?m.fn.test(n,T(),i,s,d,l(t)):(n===m.def||n===d.skipOptionalPartCharacter)&&""!==m.def&&{c:J(i,m,!0)||m.def,pos:i})){var h=o.c!==a?o.c:n,f=i;return h=h===d.skipOptionalPartCharacter&&null===m.fn?J(i,m,!0)||m.def:h,o.remove!==a&&(e.isArray(o.remove)||(o.remove=[o.remove]),e.each(o.remove.sort(function(e,t){return t-e}),function(e,t){W({begin:t,end:t+1})})),o.insert!==a&&(e.isArray(o.insert)||(o.insert=[o.insert]),e.each(o.insert.sort(function(e,t){return e-t}),function(e,t){R(t.pos,t.c,!0,r)})),!0!==o&&o.pos!==a&&o.pos!==i&&(f=o.pos),(!0===o||o.pos!==a||o.c!==a)&&(W(t,e.extend({},p,{input:function(t,a,i){switch(d.casing||a.casing){case"upper":t=t.toUpperCase();break;case"lower":t=t.toLowerCase();break;case"title":var n=T().validPositions[i-1];t=0===i||n&&n.input===String.fromCharCode(c.keyCode.SPACE)?t.toUpperCase():t.toLowerCase();break;default:if(e.isFunction(d.casing)){var r=Array.prototype.slice.call(arguments);r.push(T().validPositions),t=d.casing.apply(this,r)}}return t}(h,m,f)}),r,f)||(o=!1),!1)}}),o}t.begin!==a&&(u=k?t.end:t.begin);var m=!0,h=e.extend(!0,{},T().validPositions);if(e.isFunction(d.preValidation)&&!n&&!0!==r&&!0!==o&&(m=d.preValidation(H(),u,i,l(t),d,T())),!0===m){if(B(a,u,!0),(_===a||u<_)&&(m=p(u,i,n),(!n||!0===r)&&!1===m&&!0!==o)){var f=T().validPositions[u];if(!f||null!==f.match.fn||f.match.def!==i&&i!==d.skipOptionalPartCharacter){if((d.insertMode||T().validPositions[U(u)]===a)&&(!z(u,!0)||T().jitOffset[u]))if(T().jitOffset[u]&&T().validPositions[U(u)]===a)!1!==(m=R(u+T().jitOffset[u],i,n))&&(m.caret=u);else for(var v=u+1,g=U(u);v<=g;v++)if(!1!==(m=p(v,i,n))){m=B(u,m.pos!==a?m.pos:v)||m,u=v;break}}else m={caret:U(u)}}!1!==m||!1===d.keepStatic||null!=d.regex&&!re(H())||n||!0===s||(m=q(u,i,n,r)),!0===m&&(m={pos:u})}if(e.isFunction(d.postValidation)&&!1!==m&&!n&&!0!==r&&!0!==o){var y=d.postValidation(H(!0),t.begin!==a?k?t.end:t.begin:t,m,d);if(y!==a){if(y.refreshFromBuffer&&y.buffer){var b=y.refreshFromBuffer;$(!0===b?b:b.start,b.end,y.buffer)}m=!0===y?m:y}}return m&&m.pos===a&&(m.pos=u),!1!==m&&!0!==o||(x(!0),T().validPositions=e.extend(!0,{},h)),m}function B(t,i,n){var r;if(t===a)for(t=i-1;t>0&&!T().validPositions[t];t--);for(var s=t;s<i;s++)if(T().validPositions[s]===a&&!z(s,!0)){var o=0==s?I(s):T().validPositions[s-1];if(o){var l=P(s).slice();""===l[l.length-1].match.def&&l.pop();var c=E(s,l);if((c=e.extend({},c,{input:J(s,c.match,!0)||c.match.def})).generatedInput=!0,W(s,c,!0),!0!==n){var u=T().validPositions[i].input;T().validPositions[i]=a,r=R(i,u,!0,!0)}}}return r}function W(t,i,n,r){function s(e,t,i){var n=t[e];if(n!==a&&(null===n.match.fn&&!0!==n.match.optionality||n.input===d.radixPoint)){var r=i.begin<=e-1?t[e-1]&&null===t[e-1].match.fn&&t[e-1]:t[e-1],s=i.end>e+1?t[e+1]&&null===t[e+1].match.fn&&t[e+1]:t[e+1];return r&&s}return!1}var o=t.begin!==a?t.begin:t,l=t.end!==a?t.end:t;if(t.begin>t.end&&(o=t.end,l=t.begin),r=r!==a?r:o,o!==l||d.insertMode&&T().validPositions[r]!==a&&n===a){var c=e.extend(!0,{},T().validPositions),u=C(a,!0);for(T().p=o,_=u;_>=o;_--)T().validPositions[_]&&"+"===T().validPositions[_].match.nativeDef&&(d.isNegative=!1),delete T().validPositions[_];var p=!0,m=r,h=(T().validPositions,!1),f=m,_=m;for(i&&(T().validPositions[r]=e.extend(!0,{},i),f++,m++,o<l&&_++);_<=u;_++){var v=c[_];if(v!==a&&(_>=l||_>=o&&!0!==v.generatedInput&&s(_,c,{begin:o,end:l}))){for(;""!==I(f).match.def;){if(!1===h&&c[f]&&c[f].match.nativeDef===v.match.nativeDef)T().validPositions[f]=e.extend(!0,{},c[f]),T().validPositions[f].input=v.input,B(a,f,!0),m=f+1,p=!0;else if(d.shiftPositions&&F(f,v.match.def)){var g=R(f,v.input,!0,!0);p=!1!==g,m=g.caret||g.insert?C():f+1,h=!0}else p=!0===v.generatedInput||v.input===d.radixPoint&&!0===d.numericInput;if(p)break;if(!p&&f>l&&z(f,!0)&&(null!==v.match.fn||f>T().maskLength))break;f++}""==I(f).match.def&&(p=!1),f=m}if(!p)break}if(!p)return T().validPositions=e.extend(!0,{},c),x(!0),!1}else i&&(T().validPositions[r]=e.extend(!0,{},i));return x(!0),!0}function z(e,t){var a=O(e).match;if(""===a.def&&(a=I(e).match),null!=a.fn)return a.fn;if(!0!==t&&e>-1){var i=P(e);return i.length>1+(""===i[i.length-1].match.def?1:0)}return!1}function U(e,t){for(var a=e+1;""!==I(a).match.def&&(!0===t&&(!0!==I(a).match.newBlockMarker||!z(a))||!0!==t&&!z(a));)a++;return a}function V(e,t){var a,i=e;if(i<=0)return 0;for(;--i>0&&(!0===t&&!0!==I(i).match.newBlockMarker||!0!==t&&!z(i)&&((a=P(i)).length<2||2===a.length&&""===a[1].match.def)););return i}function G(t,i,n,r,s){if(r&&e.isFunction(d.onBeforeWrite)){var o=d.onBeforeWrite.call(y,r,i,n,d);if(o){if(o.refreshFromBuffer){var l=o.refreshFromBuffer;$(!0===l?l:l.start,l.end,o.buffer||i),i=H(!0)}n!==a&&(n=o.caret!==a?o.caret:n)}}if(t!==a&&(t.inputmask._valueSet(i.join("")),n===a||r!==a&&"blur"===r.type?le(t,n,0===i.length):ae(t,n),!0===s)){var c=e(t),u=t.inputmask._valueGet();M=!0,c.trigger("input"),setTimeout(function(){u===j().join("")?c.trigger("cleared"):!0===re(i)&&c.trigger("complete")},0)}}
27function J(t,i,n){if((i=i||I(t).match).placeholder!==a||!0===n)return e.isFunction(i.placeholder)?i.placeholder(d):i.placeholder;if(null===i.fn){if(t>-1&&T().validPositions[t]===a){var r,s=P(t),o=[];if(s.length>1+(""===s[s.length-1].match.def?1:0))for(var l=0;l<s.length;l++)if(!0!==s[l].match.optionality&&!0!==s[l].match.optionalQuantifier&&(null===s[l].match.fn||r===a||!1!==s[l].match.fn.test(r.match.def,T(),t,!0,d))&&(o.push(s[l]),null===s[l].match.fn&&(r=s[l]),o.length>1&&/[0-9a-bA-Z]/.test(o[0].match.def)))return d.placeholder.charAt(t%d.placeholder.length)}return i.def}return d.placeholder.charAt(t%d.placeholder.length)}function K(e,t){if(r){if(e.inputmask._valueGet()!==t&&(e.placeholder!==t||""===e.placeholder)){var a=H().slice(),i=e.inputmask._valueGet();if(i!==t){var n=C();-1===n&&i===j().join("")?a=[]:-1!==n&&ne(a),G(e,a)}}}else e.placeholder!==t&&(e.placeholder=t,""===e.placeholder&&e.removeAttribute("placeholder"))}var Q,Z={on:function(t,i,n){var r=function(t){var i=this;if(i.inputmask===a&&"FORM"!==this.nodeName){var r=e.data(i,"_inputmask_opts");r?new c(r).mask(i):Z.off(i)}else{if("setvalue"===t.type||"FORM"===this.nodeName||!(i.disabled||i.readOnly&&!("keydown"===t.type&&t.ctrlKey&&67===t.keyCode||!1===d.tabThrough&&t.keyCode===c.keyCode.TAB))){switch(t.type){case"input":if(!0===M)return M=!1,t.preventDefault();if(s){var u=arguments;return setTimeout(function(){n.apply(i,u),ae(i,i.inputmask.caretPos,a,!0)},0),!1}break;case"keydown":w=!1,M=!1;break;case"keypress":if(!0===w)return t.preventDefault();w=!0;break;case"click":if(o||l){var u=arguments;return setTimeout(function(){n.apply(i,u)},0),!1}}var p=n.apply(i,arguments);return!1===p&&(t.preventDefault(),t.stopPropagation()),p}t.preventDefault()}};t.inputmask.events[i]=t.inputmask.events[i]||[],t.inputmask.events[i].push(r),-1!==e.inArray(i,["submit","reset"])?null!==t.form&&e(t.form).on(i,r):e(t).on(i,r)},off:function(t,a){var i;t.inputmask&&t.inputmask.events&&(a?(i=[])[a]=t.inputmask.events[a]:i=t.inputmask.events,e.each(i,function(a,i){for(;i.length>0;){var n=i.pop();-1!==e.inArray(a,["submit","reset"])?null!==t.form&&e(t.form).off(a,n):e(t).off(a,n)}delete t.inputmask.events[a]}))}},X={keydownEvent:function(t){var a=e(this),i=t.keyCode,n=ae(this);if(i===c.keyCode.BACKSPACE||i===c.keyCode.DELETE||l&&i===c.keyCode.BACKSPACE_SAFARI||t.ctrlKey&&i===c.keyCode.X&&!p("cut"))t.preventDefault(),se(0,i,n),G(this,H(!0),T().p,t,this.inputmask._valueGet()!==H().join(""));else if(i===c.keyCode.END||i===c.keyCode.PAGE_DOWN){t.preventDefault();var r=U(C());ae(this,t.shiftKey?n.begin:r,r,!0)}else i===c.keyCode.HOME&&!t.shiftKey||i===c.keyCode.PAGE_UP?(t.preventDefault(),ae(this,0,t.shiftKey?n.begin:0,!0)):(d.undoOnEscape&&i===c.keyCode.ESCAPE||90===i&&t.ctrlKey)&&!0!==t.altKey?(ee(this,!0,!1,h.split("")),a.trigger("click")):i!==c.keyCode.INSERT||t.shiftKey||t.ctrlKey?!0===d.tabThrough&&i===c.keyCode.TAB&&(!0===t.shiftKey?(null===I(n.begin).match.fn&&(n.begin=U(n.begin)),n.end=V(n.begin,!0),n.begin=V(n.end,!0)):(n.begin=U(n.begin,!0),n.end=U(n.begin,!0),n.end<T().maskLength&&n.end--),n.begin<T().maskLength&&(t.preventDefault(),ae(this,n.begin,n.end))):(d.insertMode=!d.insertMode,this.setAttribute("im-insert",d.insertMode));d.onKeyDown.call(this,t,H(),ae(this).begin,d),S=-1!==e.inArray(i,d.ignorables)},keypressEvent:function(t,i,n,r,s){var o=this,l=e(o),u=t.which||t.charCode||t.keyCode;if(!(!0===i||t.ctrlKey&&t.altKey)&&(t.ctrlKey||t.metaKey||S))return u===c.keyCode.ENTER&&h!==H().join("")&&(h=H().join(""),setTimeout(function(){l.trigger("change")},0)),!0;if(u){46===u&&!1===t.shiftKey&&""!==d.radixPoint&&(u=d.radixPoint.charCodeAt(0));var p,m=i?{begin:s,end:s}:ae(o),f=String.fromCharCode(u),_=0;if(d._radixDance&&d.numericInput){var v=H().indexOf(d.radixPoint.charAt(0))+1;m.begin<=v&&(u===d.radixPoint.charCodeAt(0)&&(_=1),m.begin-=1,m.end-=1)}T().writeOutBuffer=!0;var g=R(m,f,r);if(!1!==g&&(x(!0),p=g.caret!==a?g.caret:U(g.pos.begin?g.pos.begin:g.pos),T().p=p),p=(d.numericInput&&g.caret===a?V(p):p)+_,!1!==n&&(setTimeout(function(){d.onKeyValidation.call(o,u,g,d)},0),T().writeOutBuffer&&!1!==g)){var y=H();G(o,y,p,t,!0!==i)}if(t.preventDefault(),i)return!1!==g&&(g.forwardPosition=p),g}},pasteEvent:function(a){var i,n=a.originalEvent||a,r=(e(this),this.inputmask._valueGet(!0)),s=ae(this);k&&(i=s.end,s.end=s.begin,s.begin=i);var o=r.substr(0,s.begin),l=r.substr(s.end,r.length);if(o===(k?j().reverse():j()).slice(0,s.begin).join("")&&(o=""),l===(k?j().reverse():j()).slice(s.end).join("")&&(l=""),t.clipboardData&&t.clipboardData.getData)r=o+t.clipboardData.getData("Text")+l;else{if(!n.clipboardData||!n.clipboardData.getData)return!0;r=o+n.clipboardData.getData("text/plain")+l}var c=r;if(e.isFunction(d.onBeforePaste)){if(!1===(c=d.onBeforePaste.call(y,r,d)))return a.preventDefault();c||(c=r)}
27return ee(this,!1,!1,c.toString().split("")),G(this,H(),U(C()),a,h!==H().join("")),a.preventDefault()},inputFallBackEvent:function(t){var a=this,i=a.inputmask._valueGet();if(H().join("")!==i){var n=ae(a);if(i=function(e,t,a){if(o){var i=t.replace(H().join(""),"");if(1===i.length){var n=t.split("");n.splice(a.begin,0,i),t=n.join("")}}return t}(0,i=function(e,t,a){return"."===t.charAt(a.begin-1)&&""!==d.radixPoint&&((t=t.split(""))[a.begin-1]=d.radixPoint.charAt(0),t=t.join("")),t}(0,i,n),n),H().join("")!==i){var r=H().join(""),s=!d.numericInput&&i.length>r.length?-1:0,l=i.substr(0,n.begin),u=i.substr(n.begin),p=r.substr(0,n.begin+s),m=r.substr(n.begin+s),h=n,f="",_=!1;if(l!==p){var v,g=(_=l.length>=p.length)?l.length:p.length;for(v=0;l.charAt(v)===p.charAt(v)&&v<g;v++);_&&(h.begin=v-s,f+=l.slice(v,h.end))}if(u!==m&&(u.length>m.length?f+=u.slice(0,1):u.length<m.length&&(h.end+=m.length-u.length,_||""===d.radixPoint||""!==u||l.charAt(h.begin+s-1)!==d.radixPoint||(h.begin--,f=d.radixPoint))),G(a,H(),{begin:h.begin+s,end:h.end+s}),f.length>0)e.each(f.split(""),function(t,i){var n=new e.Event("keypress");n.which=i.charCodeAt(0),S=!1,X.keypressEvent.call(a,n)});else{h.begin===h.end-1&&(h.begin=V(h.begin+1),h.begin===h.end-1?ae(a,h.begin):ae(a,h.begin,h.end));var y=new e.Event("keydown");y.keyCode=d.numericInput?c.keyCode.BACKSPACE:c.keyCode.DELETE,X.keydownEvent.call(a,y)}t.preventDefault()}}},beforeInputEvent:function(t){if(t.cancelable){var a=this;switch(t.inputType){case"insertText":return e.each(t.data.split(""),function(t,i){var n=new e.Event("keypress");n.which=i.charCodeAt(0),S=!1,X.keypressEvent.call(a,n)}),t.preventDefault();case"deleteContentBackward":var i=new e.Event("keydown");return i.keyCode=c.keyCode.BACKSPACE,X.keydownEvent.call(a,i),t.preventDefault();case"deleteContentForward":var i=new e.Event("keydown");return i.keyCode=c.keyCode.DELETE,X.keydownEvent.call(a,i),t.preventDefault()}}},setValueEvent:function(t){this.inputmask.refreshValue=!1;var a=t&&t.detail?t.detail[0]:arguments[1],a=a||this.inputmask._valueGet(!0);e.isFunction(d.onBeforeMask)&&(a=d.onBeforeMask.call(y,a,d)||a),ee(this,!0,!1,a=a.toString().split("")),h=H().join(""),(d.clearMaskOnLostFocus||d.clearIncomplete)&&this.inputmask._valueGet()===j().join("")&&this.inputmask._valueSet("")},focusEvent:function(e){var t=this.inputmask._valueGet();d.showMaskOnFocus&&(t!==H().join("")?G(this,H(),U(C())):!1===D&&ae(this,U(C()))),!0===d.positionCaretOnTab&&!1===D&&X.clickEvent.apply(this,[e,!0]),h=H().join("")},mouseleaveEvent:function(e){D=!1,d.clearMaskOnLostFocus&&i.activeElement!==this&&K(this,g)},clickEvent:function(t,n){var r=this;setTimeout(function(){if(i.activeElement===r){var t=ae(r);if(n&&(k?t.end=t.begin:t.begin=t.end),t.begin===t.end)switch(d.positionCaretOnClick){case"none":break;case"select":ae(r,0,H().length);break;case"ignore":ae(r,U(C()));break;case"radixFocus":if(function(t){if(""!==d.radixPoint){var i=T().validPositions;if(i[t]===a||i[t].input===J(t)){if(t<U(-1))return!0;var n=e.inArray(d.radixPoint,H());if(-1!==n){for(var r in i)if(n<r&&i[r].input!==J(r))return!1;return!0}}}return!1}(t.begin)){var s=H().join("").indexOf(d.radixPoint);ae(r,d.numericInput?U(s):s);break}default:var o=t.begin,l=C(o,!0),c=U(l);if(o<c)ae(r,z(o,!0)||z(o-1,!0)?o:U(o));else{var u=T().validPositions[l],p=O(c,u?u.match.locator:a,u),m=J(c,p.match);if(""!==m&&H()[c]!==m&&!0!==p.match.optionalQuantifier&&!0!==p.match.newBlockMarker||!z(c,d.keepStatic)&&p.match.def===m){var h=U(c);(o>=h||o===c)&&(c=h)}ae(r,c)}}}},0)},cutEvent:function(a){e(this);var n=ae(this),r=a.originalEvent||a,s=t.clipboardData||r.clipboardData,o=k?H().slice(n.end,n.begin):H().slice(n.begin,n.end);s.setData("text",k?o.reverse().join(""):o.join("")),i.execCommand&&i.execCommand("copy"),se(0,c.keyCode.DELETE,n),G(this,H(),T().p,a,h!==H().join(""))},blurEvent:function(t){var i=e(this);if(this.inputmask){K(this,g);var n=this.inputmask._valueGet(),r=H().slice();""===n&&v===a||(d.clearMaskOnLostFocus&&(-1===C()&&n===j().join("")?r=[]:ne(r)),!1===re(r)&&(setTimeout(function(){i.trigger("incomplete")},0),d.clearIncomplete&&(x(),r=d.clearMaskOnLostFocus?[]:j().slice())),G(this,r,a,t)),h!==H().join("")&&(h=r.join(""),i.trigger("change"))}},mouseenterEvent:function(e){D=!0,i.activeElement!==this&&d.showMaskOnHover&&K(this,(k?H().slice().reverse():H()).join(""))},submitEvent:function(e){h!==H().join("")&&f.trigger("change"),d.clearMaskOnLostFocus&&-1===C()&&b.inputmask._valueGet&&b.inputmask._valueGet()===j().join("")&&b.inputmask._valueSet(""),d.clearIncomplete&&!1===re(H())&&b.inputmask._valueSet(""),d.removeMaskOnSubmit&&(b.inputmask._valueSet(b.inputmask.unmaskedvalue(),!0),setTimeout(function(){G(b,H())},0))},resetEvent:function(e){b.inputmask.refreshValue=!0,setTimeout(function(){f.trigger("setvalue")},0)}};function ee(t,i,n,r,s){var o=this||t.inputmask,l=r.slice(),u="",p=-1,m=a;
27if(x(),n||!0===d.autoUnmask)p=U(p);else{var h=j().slice(0,U(-1)).join(""),f=l.join("").match(new RegExp("^"+c.escapeRegex(h),"g"));f&&f.length>0&&(l.splice(0,f.length*h.length),p=U(p))}-1===p?(T().p=U(p),p=0):T().p=p,o.caretPos={begin:p},e.each(l,function(i,r){if(r!==a)if(T().validPositions[i]===a&&l[i]===J(i)&&z(i,!0)&&!1===R(i,l[i],!0,a,a,!0))T().p++;else{var s=new e.Event("_checkval");s.which=r.charCodeAt(0),u+=r;var c=C(a,!0);!function(e,t){return-1!==L(!0,0,!1).slice(e,U(e)).join("").replace(/'/g,"").indexOf(t)&&!z(e)&&(I(e).match.nativeDef===t.charAt(0)||null===I(e).match.fn&&I(e).match.nativeDef==="'"+t.charAt(0)||" "===I(e).match.nativeDef&&(I(e+1).match.nativeDef===t.charAt(0)||null===I(e+1).match.fn&&I(e+1).match.nativeDef==="'"+t.charAt(0)))}(p,u)?(m=X.keypressEvent.call(t,s,!0,!1,n,o.caretPos.begin))&&(p=o.caretPos.begin+1,u=""):m=X.keypressEvent.call(t,s,!0,!1,n,c+1),m&&(G(a,H(),m.forwardPosition,s,!1),o.caretPos={begin:m.forwardPosition,end:m.forwardPosition})}}),i&&G(t,H(),m?m.forwardPosition:a,s||new e.Event("checkval"),s&&"input"===s.type)}function te(t){if(t){if(t.inputmask===a)return t.value;t.inputmask&&t.inputmask.refreshValue&&X.setValueEvent.call(t)}var i=[],n=T().validPositions;for(var r in n)n[r].match&&null!=n[r].match.fn&&i.push(n[r].input);var s=0===i.length?"":(k?i.reverse():i).join("");if(e.isFunction(d.onUnMask)){var o=(k?H().slice().reverse():H()).join("");s=d.onUnMask.call(y,o,s,d)}return s}function ae(n,r,s,o){function l(e){return!k||"number"!=typeof e||d.greedy&&""===d.placeholder||!b||(e=b.inputmask._valueGet().length-e),e}var c;if(r===a)return"selectionStart"in n?(r=n.selectionStart,s=n.selectionEnd):t.getSelection?(c=t.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==n&&c.commonAncestorContainer!==n||(r=c.startOffset,s=c.endOffset):i.selection&&i.selection.createRange&&(c=i.selection.createRange(),r=0-c.duplicate().moveStart("character",-n.inputmask._valueGet().length),s=r+c.text.length),{begin:o?r:l(r),end:o?s:l(s)};if(e.isArray(r)&&(s=k?r[0]:r[1],r=k?r[1]:r[0]),r.begin!==a&&(s=k?r.begin:r.end,r=k?r.end:r.begin),"number"==typeof r){r=o?r:l(r),s="number"==typeof(s=o?s:l(s))?s:r;var u=parseInt(((n.ownerDocument.defaultView||t).getComputedStyle?(n.ownerDocument.defaultView||t).getComputedStyle(n,null):n.currentStyle).fontSize)*s;if(n.scrollLeft=u>n.scrollWidth?u:0,n.inputmask.caretPos={begin:r,end:s},n===i.activeElement){if("selectionStart"in n)n.selectionStart=r,n.selectionEnd=s;else if(t.getSelection){if(c=i.createRange(),n.firstChild===a||null===n.firstChild){var p=i.createTextNode("");n.appendChild(p)}c.setStart(n.firstChild,r<n.inputmask._valueGet().length?r:n.inputmask._valueGet().length),c.setEnd(n.firstChild,s<n.inputmask._valueGet().length?s:n.inputmask._valueGet().length),c.collapse(!0);var m=t.getSelection();m.removeAllRanges(),m.addRange(c)}else n.createTextRange&&((c=n.createTextRange()).collapse(!0),c.moveEnd("character",s),c.moveStart("character",r),c.select());le(n,{begin:r,end:s})}}}function ie(t){var i,n,r=L(!0,C(),!0,!0),s=r.length,o=C(),l={},c=T().validPositions[o],u=c!==a?c.locator.slice():a;for(i=o+1;i<r.length;i++)n=O(i,u,i-1),u=n.locator.slice(),l[i]=e.extend(!0,{},n);var d=c&&c.alternation!==a?c.locator[c.alternation]:a;for(i=s-1;i>o&&((n=l[i]).match.optionality||n.match.optionalQuantifier&&n.match.newBlockMarker||d&&(d!==l[i].locator[c.alternation]&&null!=n.match.fn||null===n.match.fn&&n.locator[c.alternation]&&N(n.locator[c.alternation].toString().split(","),d.toString().split(","))&&""!==P(i)[0].def))&&r[i]===J(i,n.match);i--)s--;return t?{l:s,def:l[s]?l[s].match:a}:s}function ne(e){e.length=0;for(var t,i=L(!0,0,!0,a,!0);(t=i.shift())!==a;)e.push(t);return e}function re(t){if(e.isFunction(d.isComplete))return d.isComplete(t,d);if("*"===d.repeat)return a;var i=!1,n=ie(!0),r=V(n.l);if(n.def===a||n.def.newBlockMarker||n.def.optionality||n.def.optionalQuantifier){i=!0;for(var s=0;s<=r;s++){var o=O(s).match;if(null!==o.fn&&T().validPositions[s]===a&&!0!==o.optionality&&!0!==o.optionalQuantifier||null===o.fn&&t[s]!==J(s,o)){i=!1;break}}}return i}function se(e,t,i,n,r){if((d.numericInput||k)&&(t===c.keyCode.BACKSPACE?t=c.keyCode.DELETE:t===c.keyCode.DELETE&&(t=c.keyCode.BACKSPACE),k)){var s=i.end;i.end=i.begin,i.begin=s}if(t===c.keyCode.BACKSPACE&&i.end-i.begin<1?(i.begin=V(i.begin),T().validPositions[i.begin]!==a&&T().validPositions[i.begin].input===d.groupSeparator&&i.begin--):t===c.keyCode.DELETE&&i.begin===i.end&&(i.end=z(i.end,!0)&&T().validPositions[i.end]&&T().validPositions[i.end].input!==d.radixPoint?i.end+1:U(i.end)+1,T().validPositions[i.begin]!==a&&T().validPositions[i.begin].input===d.groupSeparator&&i.end++),W(i),!0!==n&&!1!==d.keepStatic||null!==d.regex){var o=q(!0);if(o){var l=o.caret!==a?o.caret:o.pos?U(o.pos.begin?o.pos.begin:o.pos):C(-1,!0);(t!==c.keyCode.DELETE||i.begin>l)&&i.begin}}var u=C(i.begin,!0);if(u<i.begin||-1===i.begin)T().p=U(u);else if(!0!==n&&(T().p=i.begin,!0!==r))for(;T().p<u&&T().validPositions[T().p]===a;)T().p++}function oe(a){var n=(a.ownerDocument.defaultView||t).getComputedStyle(a,null),r=i.createElement("div");r.style.width=n.width,r.style.textAlign=n.textAlign,v=i.createElement("div"),a.inputmask.colorMask=v,v.className="im-colormask",a.parentNode.insertBefore(v,a),a.parentNode.removeChild(a),v.appendChild(a),v.appendChild(r),a.style.left=r.offsetLeft+"px",e(v).on("mouseleave",function(e){return X.mouseleaveEvent.call(a,[e])}),e(v).on("mouseenter",function(e){return X.mouseenterEvent.call(a,[e])}),e(v).on("click",function(e){return ae(a,function(e){var t,r=i.createElement("span");for(var s in n)isNaN(s)&&-1!==s.indexOf("font")&&(r.style[s]=n[s]);r.style.textTransform=n.textTransform,r.style.letterSpacing=n.letterSpacing,r.style.position="absolute",r.style.height="auto",r.style.width="auto",r.style.visibility="hidden",r.style.whiteSpace="nowrap",i.body.appendChild(r);var o,l=a.inputmask._valueGet(),c=0;for(t=0,o=l.length;t<=o;t++){if(r.innerHTML+=l.charAt(t)||"_",r.offsetWidth>=e){var u=e-c,d=r.offsetWidth-e;r.innerHTML=l.charAt(t),u-=r.offsetWidth/3,t=u<d?t-1:t;break}c=r.offsetWidth}return i.body.removeChild(r),t}(e.clientX)),X.clickEvent.call(a,[e])})}function le(e,t,n){var r,s,o,l=[],c=!1,u=0;function p(e){if(e===a&&(e=""),c||null!==r.fn&&s.input!==a)if(c&&(null!==r.fn&&s.input!==a||""===r.def)){c=!1;var t=l.length;l[t-1]=l[t-1]+"</span>",l.push(e)}else l.push(e);else c=!0,l.push("<span class='im-static'>"+e)}if(v!==a){var m=H();if(t===a?t=ae(e):t.begin===a&&(t={begin:t,end:t}),!0!==n){var h=C();do{T().validPositions[u]?(s=T().validPositions[u],r=s.match,o=s.locator.slice(),p(m[u])):(s=O(u,o,u-1),r=s.match,o=s.locator.slice(),!1===d.jitMasking||u<h||"number"==typeof d.jitMasking&&isFinite(d.jitMasking)&&d.jitMasking>u?p(J(u,r)):c=!1),u++}while((_===a||u<_)&&(null!==r.fn||""!==r.def)||h>u||c);c&&p(),i.activeElement===e&&(l.splice(t.begin,0,t.begin===t.end||t.end>T().maskLength?'<mark class="im-caret" style="border-right-width: 1px;border-right-style: solid;">':'<mark class="im-caret-select">'),l.splice(t.end+1,0,"</mark>"))}var f=v.getElementsByTagName("div")[0];f.innerHTML=l.join(""),e.inputmask.positionColorMask(e,f)}}if(n!==a)switch(n.action){case"isComplete":return b=n.el,re(H());case"unmaskedvalue":return b!==a&&n.value===a||(Q=n.value,Q=(e.isFunction(d.onBeforeMask)&&d.onBeforeMask.call(y,Q,d)||Q).split(""),ee.call(this,a,!1,!1,Q),e.isFunction(d.onBeforeWrite)&&d.onBeforeWrite.call(y,a,H(),0,d)),te(b);case"mask":!function(t){Z.off(t);var n=function(t,n){var r=t.getAttribute("type"),s="INPUT"===t.tagName&&-1!==e.inArray(r,n.supportsInputType)||t.isContentEditable||"TEXTAREA"===t.tagName;if(!s)if("INPUT"===t.tagName){var o=i.createElement("input");o.setAttribute("type",r),s="text"===o.type,o=null}else s="partial";return!1!==s?function(t){var r,s;function o(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==C()||!0!==n.nullable?i.activeElement===this&&n.clearMaskOnLostFocus?(k?ne(H().slice()).reverse():ne(H().slice())).join(""):r.call(this):"":r.call(this)}function l(t){s.call(this,t),this.inputmask&&e(this).trigger("setvalue",[t])}if(!t.inputmask.__valueGet){if(!0!==n.noValuePatching){if(Object.getOwnPropertyDescriptor){"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"test".__proto__?function(e){return e.__proto__}:function(e){return e.constructor.prototype});var c=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value"):a;
27c&&c.get&&c.set?(r=c.get,s=c.set,Object.defineProperty(t,"value",{get:o,set:l,configurable:!0})):"INPUT"!==t.tagName&&(r=function(){return this.textContent},s=function(e){this.textContent=e},Object.defineProperty(t,"value",{get:o,set:l,configurable:!0}))}else i.__lookupGetter__&&t.__lookupGetter__("value")&&(r=t.__lookupGetter__("value"),s=t.__lookupSetter__("value"),t.__defineGetter__("value",o),t.__defineSetter__("value",l));t.inputmask.__valueGet=r,t.inputmask.__valueSet=s}t.inputmask._valueGet=function(e){return k&&!0!==e?r.call(this.el).split("").reverse().join(""):r.call(this.el)},t.inputmask._valueSet=function(e,t){s.call(this.el,null===e||e===a?"":!0!==t&&k?e.split("").reverse().join(""):e)},r===a&&(r=function(){return this.value},s=function(e){this.value=e},function(t){if(e.valHooks&&(e.valHooks[t]===a||!0!==e.valHooks[t].inputmaskpatch)){var i=e.valHooks[t]&&e.valHooks[t].get?e.valHooks[t].get:function(e){return e.value},r=e.valHooks[t]&&e.valHooks[t].set?e.valHooks[t].set:function(e,t){return e.value=t,e};e.valHooks[t]={get:function(e){if(e.inputmask){if(e.inputmask.opts.autoUnmask)return e.inputmask.unmaskedvalue();var t=i(e);return-1!==C(a,a,e.inputmask.maskset.validPositions)||!0!==n.nullable?t:""}return i(e)},set:function(t,a){var i,n=e(t);return i=r(t,a),t.inputmask&&n.trigger("setvalue",[a]),i},inputmaskpatch:!0}}}(t.type),function(t){Z.on(t,"mouseenter",function(t){var a=e(this),i=this.inputmask._valueGet();i!==H().join("")&&a.trigger("setvalue")})}(t))}}(t):t.inputmask=a,s}(t,d);if(!1!==n&&(f=e(b=t),g=b.placeholder,-1===(_=b!==a?b.maxLength:a)&&(_=a),!0===d.colorMask&&oe(b),s&&("inputmode"in b&&(b.inputmode=d.inputmode,b.setAttribute("inputmode",d.inputmode)),!0===d.disablePredictiveText&&("autocorrect"in b?b.autocorrect=!1:(!0!==d.colorMask&&oe(b),b.type="password"))),!0===n&&(b.setAttribute("im-insert",d.insertMode),Z.on(b,"submit",X.submitEvent),Z.on(b,"reset",X.resetEvent),Z.on(b,"blur",X.blurEvent),Z.on(b,"focus",X.focusEvent),!0!==d.colorMask&&(Z.on(b,"click",X.clickEvent),Z.on(b,"mouseleave",X.mouseleaveEvent),Z.on(b,"mouseenter",X.mouseenterEvent)),Z.on(b,"paste",X.pasteEvent),Z.on(b,"cut",X.cutEvent),Z.on(b,"complete",d.oncomplete),Z.on(b,"incomplete",d.onincomplete),Z.on(b,"cleared",d.oncleared),s||!0===d.inputEventOnly?b.removeAttribute("maxLength"):(Z.on(b,"keydown",X.keydownEvent),Z.on(b,"keypress",X.keypressEvent)),Z.on(b,"input",X.inputFallBackEvent),Z.on(b,"beforeinput",X.beforeInputEvent)),Z.on(b,"setvalue",X.setValueEvent),h=j().join(""),""!==b.inputmask._valueGet(!0)||!1===d.clearMaskOnLostFocus||i.activeElement===b)){var r=e.isFunction(d.onBeforeMask)&&d.onBeforeMask.call(y,b.inputmask._valueGet(!0),d)||b.inputmask._valueGet(!0);""!==r&&ee(b,!0,!1,r.split(""));var o=H().slice();h=o.join(""),!1===re(o)&&d.clearIncomplete&&x(),d.clearMaskOnLostFocus&&i.activeElement!==b&&(-1===C()?o=[]:ne(o)),(!1===d.clearMaskOnLostFocus||d.showMaskOnFocus&&i.activeElement===b||""!==b.inputmask._valueGet(!0))&&G(b,o),i.activeElement===b&&ae(b,U(C()))}}(b);break;case"format":return Q=(e.isFunction(d.onBeforeMask)&&d.onBeforeMask.call(y,n.value,d)||n.value).split(""),ee.call(this,a,!0,!1,Q),n.metadata?{value:k?H().slice().reverse().join(""):H().join(""),metadata:m.call(this,{action:"getmetadata"},u,d)}:k?H().slice().reverse().join(""):H().join("");case"isValid":n.value?(Q=n.value.split(""),ee.call(this,a,!0,!0,Q)):n.value=H().join("");for(var ce=H(),ue=ie(),de=ce.length-1;de>ue&&!z(de);de--);return ce.splice(ue,de+1-ue),re(ce)&&n.value===H().join("");case"getemptymask":return j().join("");case"remove":return b&&b.inputmask&&(e.data(b,"_inputmask_opts",null),f=e(b),b.inputmask._valueSet(d.autoUnmask?te(b):b.inputmask._valueGet(!0)),Z.off(b),b.inputmask.colorMask&&((v=b.inputmask.colorMask).removeChild(b),v.parentNode.insertBefore(b,v),v.parentNode.removeChild(v)),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(b),"value")&&b.inputmask.__valueGet&&Object.defineProperty(b,"value",{get:b.inputmask.__valueGet,set:b.inputmask.__valueSet,configurable:!0}):i.__lookupGetter__&&b.__lookupGetter__("value")&&b.inputmask.__valueGet&&(b.__defineGetter__("value",b.inputmask.__valueGet),b.__defineSetter__("value",b.inputmask.__valueSet)),b.inputmask=a),b;case"getmetadata":if(e.isArray(u.metadata)){var pe=L(!0,0,!1).join("");return e.each(u.metadata,function(e,t){if(t.mask===pe)return pe=t,!1}),pe}return u.metadata}}return c.prototype={dataAttribute:"data-inputmask",defaults:{placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:e.noop,onincomplete:e.noop,oncleared:e.noop,repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,clearIncomplete:!1,alias:null,onKeyDown:e.noop,onBeforeMask:null,onBeforePaste:function(t,a){return e.isFunction(a.onBeforeMask)?a.onBeforeMask.call(this,t,a):t},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:e.noop,skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:[8,9,13,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:a,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"verbatim",colorMask:!1,disablePredictiveText:!1,importDataAttributes:!0,shiftPositions:!0},definitions:{9:{validator:"[0-91-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ]"}},aliases:{},masksCache:{},mask:function(n){var r=this;return"string"==typeof n&&(n=i.getElementById(n)||i.querySelectorAll(n)),n=n.nodeName?[n]:n,e.each(n,function(i,n){var s=e.extend(!0,{},r.opts);if(function(i,n,r,s){if(!0===n.importDataAttributes){var o,l,c,d,p=i.getAttribute(s),m=function(e,n){
27null!==(n=n!==a?n:i.getAttribute(s+"-"+e))&&("string"==typeof n&&(0===e.indexOf("on")?n=t[n]:"false"===n?n=!1:"true"===n&&(n=!0)),r[e]=n)};if(p&&""!==p&&(p=p.replace(/'/g,'"'),l=JSON.parse("{"+p+"}")),l)for(d in c=a,l)if("alias"===d.toLowerCase()){c=l[d];break}for(o in m("alias",c),r.alias&&u(r.alias,r,n),n){if(l)for(d in c=a,l)if(d.toLowerCase()===o.toLowerCase()){c=l[d];break}m(o,c)}}return e.extend(!0,n,r),("rtl"===i.dir||n.rightAlign)&&(i.style.textAlign="right"),("rtl"===i.dir||n.numericInput)&&(i.dir="ltr",i.removeAttribute("dir"),n.isRTL=!0),Object.keys(r).length}(n,s,e.extend(!0,{},r.userOptions),r.dataAttribute)){var o=d(s,r.noMasksCache);o!==a&&(n.inputmask!==a&&(n.inputmask.opts.autoUnmask=!0,n.inputmask.remove()),n.inputmask=new c(a,a,!0),n.inputmask.opts=s,n.inputmask.noMasksCache=r.noMasksCache,n.inputmask.userOptions=e.extend(!0,{},r.userOptions),n.inputmask.isRTL=s.isRTL||s.numericInput,n.inputmask.el=n,n.inputmask.maskset=o,e.data(n,"_inputmask_opts",s),m.call(n.inputmask,{action:"mask"}))}}),n&&n[0]&&n[0].inputmask||this},option:function(t,a){return"string"==typeof t?this.opts[t]:"object"==typeof t?(e.extend(this.userOptions,t),this.el&&!0!==a&&this.mask(this.el),this):void 0},unmaskedvalue:function(e){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),m.call(this,{action:"unmaskedvalue",value:e})},remove:function(){return m.call(this,{action:"remove"})},getemptymask:function(){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),m.call(this,{action:"getemptymask"})},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),m.call(this,{action:"isComplete"})},getmetadata:function(){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),m.call(this,{action:"getmetadata"})},isValid:function(e){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),m.call(this,{action:"isValid",value:e})},format:function(e,t){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),m.call(this,{action:"format",value:e,metadata:t})},setValue:function(t){this.el&&e(this.el).trigger("setvalue",[t])},analyseMask:function(t,i,n){var r,s,o,l,u,d,p=/(?:[?*+]|\{[0-9\+\*]+(?:,[0-9\+\*]*)?(?:\|[0-9\+\*]*)?\})|[^.?*+^${[]()|\\]+|./g,m=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,h=!1,f=new g,_=[],v=[];function g(e,t,a,i){this.matches=[],this.openGroup=e||!1,this.alternatorGroup=!1,this.isGroup=e||!1,this.isOptional=t||!1,this.isQuantifier=a||!1,this.isAlternator=i||!1,this.quantifier={min:1,max:1}}function y(t,r,s){s=s!==a?s:t.matches.length;var o=t.matches[s-1];if(i)0===r.indexOf("[")||h&&/\\d|\\s|\\w]/i.test(r)||"."===r?t.matches.splice(s++,0,{fn:new RegExp(r,n.casing?"i":""),optionality:!1,newBlockMarker:o===a?"master":o.def!==r,casing:null,def:r,placeholder:a,nativeDef:r}):(h&&(r=r[r.length-1]),e.each(r.split(""),function(e,i){o=t.matches[s-1],t.matches.splice(s++,0,{fn:null,optionality:!1,newBlockMarker:o===a?"master":o.def!==i&&null!==o.fn,casing:null,def:n.staticDefinitionSymbol||i,placeholder:n.staticDefinitionSymbol!==a?i:a,nativeDef:(h?"'":"")+i})})),h=!1;else{var l=(n.definitions?n.definitions[r]:a)||c.prototype.definitions[r];l&&!h?t.matches.splice(s++,0,{fn:l.validator?"string"==typeof l.validator?new RegExp(l.validator,n.casing?"i":""):new function(){this.test=l.validator}:new RegExp("."),optionality:!1,newBlockMarker:o===a?"master":o.def!==(l.definitionSymbol||r),casing:l.casing,def:l.definitionSymbol||r,placeholder:l.placeholder,nativeDef:r}):(t.matches.splice(s++,0,{fn:null,optionality:!1,newBlockMarker:o===a?"master":o.def!==r&&null!==o.fn,casing:null,def:n.staticDefinitionSymbol||r,placeholder:n.staticDefinitionSymbol!==a?r:a,nativeDef:(h?"'":"")+r}),h=!1)}}function b(){if(_.length>0){if(y(l=_[_.length-1],s),l.isAlternator){u=_.pop();for(var e=0;e<u.matches.length;e++)u.matches[e].isGroup&&(u.matches[e].isGroup=!1);_.length>0?(l=_[_.length-1]).matches.push(u):f.matches.push(u)}}else y(f,s)}function k(e){var t=new g(!0);return t.openGroup=!1,t.matches=e,t}for(i&&(n.optionalmarker[0]=a,n.optionalmarker[1]=a);r=i?m.exec(t):p.exec(t);){if(s=r[0],i)switch(s.charAt(0)){case"?":s="{0,1}";break;case"+":case"*":s="{"+s+"}"}if(h)b();else switch(s.charAt(0)){case"(?=":case"(?!":case"(?<=":case"(?<!":break;case n.escapeChar:h=!0,i&&b();break;case n.optionalmarker[1]:case n.groupmarker[1]:if((o=_.pop()).openGroup=!1,o!==a)if(_.length>0){if((l=_[_.length-1]).matches.push(o),l.isAlternator){u=_.pop();for(var w=0;w<u.matches.length;w++)u.matches[w].isGroup=!1,u.matches[w].alternatorGroup=!1;_.length>0?(l=_[_.length-1]).matches.push(u):f.matches.push(u)}}else f.matches.push(o);else b();break;case n.optionalmarker[0]:_.push(new g(!1,!0));break;case n.groupmarker[0]:_.push(new g(!0));break;case n.quantifiermarker[0]:var M=new g(!1,!1,!0),S=(s=s.replace(/[{}]/g,"")).split("|"),D=S[0].split(","),L=isNaN(D[0])?D[0]:parseInt(D[0]),T=1===D.length?L:isNaN(D[1])?D[1]:parseInt(D[1]);"*"!==L&&"+"!==L||(L="*"===T?0:1),M.quantifier={min:L,max:T,jit:S[1]};var x=_.length>0?_[_.length-1].matches:f.matches;if((r=x.pop()).isAlternator){x.push(r),x=r.matches;var C=new g(!0),Y=x.pop();
27x.push(C),x=C.matches,r=Y}r.isGroup||(r=k([r])),x.push(r),x.push(M);break;case n.alternatormarker:var A=function(e){var t=e.pop();return t.isQuantifier&&(t=k([e.pop(),t])),t};if(_.length>0){var E=(l=_[_.length-1]).matches[l.matches.length-1];d=l.openGroup&&(E.matches===a||!1===E.isGroup&&!1===E.isAlternator)?_.pop():A(l.matches)}else d=A(f.matches);if(d.isAlternator)_.push(d);else if(d.alternatorGroup?(u=_.pop(),d.alternatorGroup=!1):u=new g(!1,!1,!1,!0),u.matches.push(d),_.push(u),d.openGroup){d.openGroup=!1;var O=new g(!0);O.alternatorGroup=!0,_.push(O)}break;default:b()}}for(;_.length>0;)o=_.pop(),f.matches.push(o);return f.matches.length>0&&(function t(r){r&&r.matches&&e.each(r.matches,function(e,s){var o=r.matches[e+1];(o===a||o.matches===a||!1===o.isQuantifier)&&s&&s.isGroup&&(s.isGroup=!1,i||(y(s,n.groupmarker[0],0),!0!==s.openGroup&&y(s,n.groupmarker[1]))),t(s)})}(f),v.push(f)),(n.numericInput||n.isRTL)&&function e(t){function i(e){return e===n.optionalmarker[0]?e=n.optionalmarker[1]:e===n.optionalmarker[1]?e=n.optionalmarker[0]:e===n.groupmarker[0]?e=n.groupmarker[1]:e===n.groupmarker[1]&&(e=n.groupmarker[0]),e}for(var r in t.matches=t.matches.reverse(),t.matches)if(t.matches.hasOwnProperty(r)){var s=parseInt(r);if(t.matches[r].isQuantifier&&t.matches[s+1]&&t.matches[s+1].isGroup){var o=t.matches[r];t.matches.splice(r,1),t.matches.splice(s+1,0,o)}t.matches[r].matches!==a?t.matches[r]=e(t.matches[r]):t.matches[r]=i(t.matches[r])}return t}(v[0]),v},positionColorMask:function(e,t){e.style.left=t.offsetLeft+"px"}},c.extendDefaults=function(t){e.extend(!0,c.prototype.defaults,t)},c.extendDefinitions=function(t){e.extend(!0,c.prototype.definitions,t)},c.extendAliases=function(t){e.extend(!0,c.prototype.aliases,t)},c.format=function(e,t,a){return c(t).format(e,a)},c.unmask=function(e,t){return c(t).unmaskedvalue(e)},c.isValid=function(e,t){return c(t).isValid(e)},c.remove=function(t){"string"==typeof t&&(t=i.getElementById(t)||i.querySelectorAll(t)),t=t.nodeName?[t]:t,e.each(t,function(e,t){t.inputmask&&t.inputmask.remove()})},c.setValue=function(t,a){"string"==typeof t&&(t=i.getElementById(t)||i.querySelectorAll(t)),t=t.nodeName?[t]:t,e.each(t,function(t,i){i.inputmask?i.inputmask.setValue(a):e(i).trigger("setvalue",[a])})},c.escapeRegex=function(e){return e.replace(new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim"),"\\$1")},c.keyCode={BACKSPACE:8,BACKSPACE_SAFARI:127,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,SPACE:32,TAB:9,UP:38,X:88,CONTROL:17},c.dependencyLib=e,c})?i.apply(t,n):i)||(e.exports=r)},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(module,exports,__webpack_require__){window,module.exports=function(){return function(e){var t={};function a(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=e,a.c=t,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
vendor: 4,987 bytes, line 27
27),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(i,n,function(t){return e[t]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=214)}([function(e,t,a){(function(e){e.exports=function(){"use strict";var t,i;function n(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var a,i=[];for(a=0;a<e.length;++a)i.push(t(e[a],a));return i}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function p(e,t){for(var a in t)d(t,a)&&(e[a]=t[a]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,a,i){return Ct(e,t,a,i,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function f(e){if(null==e._isValid){var t=h(e),a=i.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&a);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function _(e){var t=m(NaN);return null!=e?p(h(t),e):h(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),a=t.length>>>0,i=0;i<a;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var v=n.momentProperties=[];function g(e,t){var a,i,n;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=h(t)),o(t._locale)||(e._locale=t._locale),v.length>0)for(a=0;a<v.length;a++)o(n=t[i=v[a]])||(e[i]=n);return e}var y=!1;function b(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,n.updateOffset(this),y=!1)}function k(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,a=0;return 0!==t&&isFinite(t)&&(a=w(t)),a}function S(e,t,a){var i,n=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),s=0;for(i=0;i<n;i++)(a&&e[i]!==t[i]||!a&&M(e[i])!==M(t[i]))&&s++;return s+r}function D(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function L(e,t){var a=!0;return p(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),a){for(var i,r=[],s=0;s<arguments.length;s++){if(i="","object"==typeof arguments[s]){for(var o in i+="\n["+s+"] ",arguments[0])i+=o+": "+arguments[0][o]+", ";i=i.slice(0,-2)}else i=arguments[s];r.push(i)}D(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return t.apply(this,arguments)},t)}var T,x={};function C(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),x[e]||(D(t),x[e]=!0)}function Y(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function A(e,t){var a,i=p({},e);for(a in t)d(t,a)&&(s(e[a])&&s(t[a])?(i[a]={},p(i[a],e[a]),p(i[a],t[a])):null!=t[a]?i[a]=t[a]:delete i[a]);for(a in e)d(e,a)&&!d(t,a)&&s(e[a])&&(i[a]=p({},i[a]));return i}function E(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,a=[];for(t in e)d(e,t)&&a.push(t);return a};var O={};function I(e,t){var a=e.toLowerCase();O[a]=O[a+"s"]=O[t]=e}function F(e){return"string"==typeof e?O[e]||O[e.toLowerCase()]:void 0}function P(e){var t,a,i={};for(a in e)d(e,a)&&(t=F(a))&&(i[t]=e[a]);return i}var j={};function H(e,t){j[e]=t}function $(e,t,a){var i=""+Math.abs(e),n=t-i.length;return(e>=0?a?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+i}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
vendor: 5,037 bytes, line 27
27|x|X|zz?|ZZ?|.)/g,q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},B={};function W(e,t,a,i){var n=i;"string"==typeof i&&(n=function(){return this[i]()}),e&&(B[e]=n),t&&(B[t[0]]=function(){return $(n.apply(this,arguments),t[1],t[2])}),a&&(B[a]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function z(e,t){return e.isValid()?(t=U(t,e.localeData()),R[t]=R[t]||function(e){var t,a,i,n=e.match(N);for(t=0,a=n.length;t<a;t++)B[n[t]]?n[t]=B[n[t]]:n[t]=(i=n[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,r="";for(i=0;i<a;i++)r+=Y(n[i])?n[i].call(t,e):n[i];return r}}(t),R[t](e)):e.localeData().invalidDate()}function U(e,t){var a=5;function i(e){return t.longDateFormat(e)||e}for(q.lastIndex=0;a>=0&&q.test(e);)e=e.replace(q,i),q.lastIndex=0,a-=1;return e}var V=/\d/,G=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,Z=/\d\d?/,X=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ae=/\d{1,4}/,ie=/[+-]?\d{1,6}/,ne=/\d+/,re=/[+-]?\d+/,se=/Z|[+-]\d\d:?\d\d/gi,oe=/Z|[+-]\d\d(?::?\d\d)?/gi,le=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ce={};function ue(e,t,a){ce[e]=Y(t)?t:function(e,i){return e&&a?a:t}}function de(e,t){return d(ce,e)?ce[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,a,i,n){return t||a||i||n})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={};function he(e,t){var a,i=t;for("string"==typeof e&&(e=[e]),l(t)&&(i=function(e,a){a[t]=M(e)}),a=0;a<e.length;a++)me[e[a]]=i}function fe(e,t){he(e,function(e,a,i,n){i._w=i._w||{},t(e,i._w,i,n)})}function _e(e,t,a){null!=t&&d(me,e)&&me[e](t,a._a,a,e)}var ve=0,ge=1,ye=2,be=3,ke=4,we=5,Me=6,Se=7,De=8;function Le(e){return Te(e)?366:365}function Te(e){return e%4==0&&e%100!=0||e%400==0}W("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),I("year","y"),H("year",1),ue("Y",re),ue("YY",Z,G),ue("YYYY",ae,K),ue("YYYYY",ie,Q),ue("YYYYYY",ie,Q),he(["YYYYY","YYYYYY"],ve),he("YYYY",function(e,t){t[ve]=2===e.length?n.parseTwoDigitYear(e):M(e)}),he("YY",function(e,t){t[ve]=n.parseTwoDigitYear(e)}),he("Y",function(e,t){t[ve]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return M(e)+(M(e)>68?1900:2e3)};var xe,Ce=Ye("FullYear",!0);function Ye(e,t){return function(a){return null!=a?(Ee(this,e,a),n.updateOffset(this,t),this):Ae(this,e)}}function Ae(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ee(e,t,a){e.isValid()&&!isNaN(a)&&("FullYear"===t&&Te(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](a,e.month(),Oe(a,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](a))}function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var a=(t%12+12)%12;return e+=(t-a)/12,1===a?Te(e)?29:28:31-a%7%2}xe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),I("month","M"),H("month",8),ue("M",Z),ue("MM",Z,G),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),he(["M","MM"],function(e,t){t[ge]=M(e)-1}),he(["MMM","MMMM"],function(e,t,a,i){var n=a._locale.monthsParse(e,i,a._strict);null!=n?t[ge]=n:h(a).invalidMonth=e});var Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Pe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function je(e,t){var a;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=M(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return a=Math.min(e.date(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,a),e}function He(e){return null!=e?(je(this,e),n.updateOffset(this,!0),this):Ae(this,"Month")}var $e=le,Ne=le;function qe(){function e(e,t){return t.length-e.length}var t,a,i=[],n=[],r=[];for(t=0;t<12;t++)a=m([2e3,t]),i.push(this.monthsShort(a,"")),n.push(this.months(a,"")),r.push(this.months(a,"")),r.push(this.monthsShort(a,""));for(i.sort(e),n.sort(e),r.sort(e),t=0;t<12;t++)i[t]=pe(i[t]),n[t]=pe(n[t]);for(t=0;t<24;t++)r[t]=pe(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Re(e){var t;if(e<100&&e>=0){var a=Array.prototype.slice.call(arguments);a[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Be(e,t,a){var i=7+t-a;return-(7+Re(e,0,i).getUTCDay()-t)%7+i-1}
vendor: 6,823 bytes, line 27
27function We(e,t,a,i,n){var r,s,o=1+7*(t-1)+(7+a-i)%7+Be(e,i,n);return o<=0?s=Le(r=e-1)+o:o>Le(e)?(r=e+1,s=o-Le(e)):(r=e,s=o),{year:r,dayOfYear:s}}function ze(e,t,a){var i,n,r=Be(e.year(),t,a),s=Math.floor((e.dayOfYear()-r-1)/7)+1;return s<1?i=s+Ue(n=e.year()-1,t,a):s>Ue(e.year(),t,a)?(i=s-Ue(e.year(),t,a),n=e.year()+1):(n=e.year(),i=s),{week:i,year:n}}function Ue(e,t,a){var i=Be(e,t,a),n=Be(e+1,t,a);return(Le(e)-i+n)/7}function Ve(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),H("week",5),H("isoWeek",5),ue("w",Z),ue("ww",Z,G),ue("W",Z),ue("WW",Z,G),fe(["w","ww","W","WW"],function(e,t,a,i){t[i.substr(0,1)]=M(e)}),W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),ue("d",Z),ue("e",Z),ue("E",Z),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),fe(["dd","ddd","dddd"],function(e,t,a,i){var n=a._locale.weekdaysParse(e,i,a._strict);null!=n?t.d=n:h(a).invalidWeekday=e}),fe(["d","e","E"],function(e,t,a,i){t[i]=M(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ke="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qe=le,Ze=le,Xe=le;function et(){function e(e,t){return t.length-e.length}var t,a,i,n,r,s=[],o=[],l=[],c=[];for(t=0;t<7;t++)a=m([2e3,1]).day(t),i=this.weekdaysMin(a,""),n=this.weekdaysShort(a,""),r=this.weekdays(a,""),s.push(i),o.push(n),l.push(r),c.push(i),c.push(n),c.push(r);for(s.sort(e),o.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)o[t]=pe(o[t]),l[t]=pe(l[t]),c[t]=pe(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function tt(){return this.hours()%12||12}function at(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function it(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,tt),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+tt.apply(this)+$(this.minutes(),2)}),W("hmmss",0,0,function(){return""+tt.apply(this)+$(this.minutes(),2)+$(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+$(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+$(this.minutes(),2)+$(this.seconds(),2)}),at("a",!0),at("A",!1),I("hour","h"),H("hour",13),ue("a",it),ue("A",it),ue("H",Z),ue("h",Z),ue("k",Z),ue("HH",Z,G),ue("hh",Z,G),ue("kk",Z,G),ue("hmm",X),ue("hmmss",ee),ue("Hmm",X),ue("Hmmss",ee),he(["H","HH"],be),he(["k","kk"],function(e,t,a){var i=M(e);t[be]=24===i?0:i}),he(["a","A"],function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e}),he(["h","hh"],function(e,t,a){t[be]=M(e),h(a).bigHour=!0}),he("hmm",function(e,t,a){var i=e.length-2;t[be]=M(e.substr(0,i)),t[ke]=M(e.substr(i)),h(a).bigHour=!0}),he("hmmss",function(e,t,a){var i=e.length-4,n=e.length-2;t[be]=M(e.substr(0,i)),t[ke]=M(e.substr(i,2)),t[we]=M(e.substr(n)),h(a).bigHour=!0}),he("Hmm",function(e,t,a){var i=e.length-2;t[be]=M(e.substr(0,i)),t[ke]=M(e.substr(i))}),he("Hmmss",function(e,t,a){var i=e.length-4,n=e.length-2;t[be]=M(e.substr(0,i)),t[ke]=M(e.substr(i,2)),t[we]=M(e.substr(n))});var nt,rt=Ye("Hours",!0),st={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Fe,monthsShort:Pe,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Ke,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},ot={},lt={};function ct(e){return e?e.toLowerCase().replace("_","-"):e}function ut(t){var i=null;if(!ot[t]&&void 0!==e&&e&&e.exports)try{i=nt._abbr,a(188)("./"+t),dt(i)}catch(e){}return ot[t]}function dt(e,t){var a;return e&&((a=o(t)?mt(e):pt(e,t))?nt=a:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function pt(e,t){if(null!==t){var a,i=st;if(t.abbr=e,null!=ot[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])i=ot[t.parentLocale]._config;else{if(null==(a=ut(t.parentLocale)))return lt[t.parentLocale]||(lt[t.parentLocale]=[]),lt[t.parentLocale].push({name:e,config:t}),null;i=a._config}return ot[e]=new E(A(i,t)),lt[e]&&lt[e].forEach(function(e){pt(e.name,e.config)}),dt(e),ot[e]}return delete ot[e],null}function mt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return nt;if(!r(e)){if(t=ut(e))return t;e=[e]}return function(e){for(var t,a,i,n,r=0;r<e.length;){for(t=(n=ct(e[r]).split("-")).length,a=(a=ct(e[r+1]))?a.split("-"):null;t>0;){if(i=ut(n.slice(0,t).join("-")))return i;if(a&&a.length>=t&&S(n,a,!0)>=t-1)break;t--}r++}return nt}(e)}function ht(e){var t,a=e._a;return a&&-2===h(e).overflow&&(t=a[ge]<0||a[ge]>11?ge:a[ye]<1||a[ye]>Oe(a[ve],a[ge])?ye:a[be]<0||a[be]>24||24===a[be]&&(0!==a[ke]||0!==a[we]||0!==a[Me])?be:a[ke]<0||a[ke]>59?ke:a[we]<0||a[we]>59?we:a[Me]<0||a[Me]>999?Me:-1,h(e)._overflowDayOfYear&&(t<ve||t>ye)&&(t=ye),h(e)._overflowWeeks&&-1===t&&(t=Se),h(e)._overflowWeekday&&-1===t&&(t=De),h(e).overflow=t),e}function ft(e,t,a){return null!=e?e:null!=t?t:a}function _t(e){var t,a,i,r,s,o=[];if(!e._d){for(i=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ye]&&null==e._a[ge]&&function(e){var t,a,i,n,r,s,o,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,s=4,a=ft(t.GG,e._a[ve],ze(Yt(),1,4).year),i=ft(t.W,1),((n=ft(t.E,1))<1||n>7)&&(l=!0);else{r=e._locale._week.dow,s=e._locale._week.doy;
vendor: 4,979 bytes, line 27
27var c=ze(Yt(),r,s);a=ft(t.gg,e._a[ve],c.year),i=ft(t.w,c.week),null!=t.d?((n=t.d)<0||n>6)&&(l=!0):null!=t.e?(n=t.e+r,(t.e<0||t.e>6)&&(l=!0)):n=r}i<1||i>Ue(a,r,s)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(o=We(a,i,n,r,s),e._a[ve]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(s=ft(e._a[ve],i[ve]),(e._dayOfYear>Le(s)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),a=Re(s,0,e._dayOfYear),e._a[ge]=a.getUTCMonth(),e._a[ye]=a.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[be]&&0===e._a[ke]&&0===e._a[we]&&0===e._a[Me]&&(e._nextDay=!0,e._a[be]=0),e._d=(e._useUTC?Re:function(e,t,a,i,n,r,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,a,i,n,r,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,a,i,n,r,s),o}).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[be]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(h(e).weekdayMismatch=!0)}}var vt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((\-?\d+)/i;function Mt(e){var t,a,i,n,r,s,o=e._i,l=vt.exec(o)||gt.exec(o);if(l){for(h(e).iso=!0,t=0,a=bt.length;t<a;t++)if(bt[t][1].exec(l[1])){n=bt[t][0],i=!1!==bt[t][2];break}if(null==n)return void(e._isValid=!1);if(l[3]){for(t=0,a=kt.length;t<a;t++)if(kt[t][1].exec(l[3])){r=(l[2]||" ")+kt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!i&&null!=r)return void(e._isValid=!1);if(l[4]){if(!yt.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=n+(r||"")+(s||""),Tt(e)}else e._isValid=!1}var St=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Dt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Lt(e){var t,a,i,n,r,s,o,l=St.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var c=(t=l[4],a=l[3],i=l[2],n=l[5],r=l[6],s=l[7],o=[function(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}(t),Pe.indexOf(a),parseInt(i,10),parseInt(n,10),parseInt(r,10)],s&&o.push(parseInt(s,10)),o);if(!function(e,t,a){return!e||Je.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(a).weekdayMismatch=!0,a._isValid=!1,!1)}(l[1],c,e))return;e._a=c,e._tzm=function(e,t,a){if(e)return Dt[e];if(t)return 0;var i=parseInt(a,10),n=i%100;return(i-n)/100*60+n}(l[8],l[9],l[10]),e._d=Re.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Tt(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],h(e).empty=!0;var t,a,i,r,s,o=""+e._i,l=o.length,c=0;for(i=U(e._f,e._locale).match(N)||[],t=0;t<i.length;t++)r=i[t],(a=(o.match(de(r,e))||[])[0])&&((s=o.substr(0,o.indexOf(a))).length>0&&h(e).unusedInput.push(s),o=o.slice(o.indexOf(a)+a.length),c+=a.length),B[r]?(a?h(e).empty=!1:h(e).unusedTokens.push(r),_e(r,a,e)):e._strict&&!a&&h(e).unusedTokens.push(r);h(e).charsLeftOver=l-c,o.length>0&&h(e).unusedInput.push(o),e._a[be]<=12&&!0===h(e).bigHour&&e._a[be]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[be]=function(e,t,a){var i;return null==a?t:null!=e.meridiemHour?e.meridiemHour(t,a):null!=e.isPM?((i=e.isPM(a))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[be],e._meridiem),_t(e),ht(e)}else Lt(e);else Mt(e)}function xt(e){var t=e._i,a=e._f;return e._locale=e._locale||mt(e._l),null===t||void 0===a&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new b(ht(t)):(c(t)?e._d=t:r(a)?function(e){var t,a,i,n,r;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(n=0;n<e._f.length;n++)r=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],Tt(t),f(t)&&(r+=h(t).charsLeftOver,r+=10*h(t).unusedTokens.length,h(t).score=r,(null==i||r<i)&&(i=r,a=t));p(e,a||t)}(e):a?Tt(e):function(e){var t=e._i;o(t)?e._d=new Date(n.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=wt.exec(e._i);
vendor: 5,152 bytes, line 27
27null===t?(Mt(e),!1===e._isValid&&(delete e._isValid,Lt(e),!1===e._isValid&&(delete e._isValid,n.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=u(t.slice(0),function(e){return parseInt(e,10)}),_t(e)):s(t)?function(e){if(!e._d){var t=P(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),_t(e)}}(e):l(t)?e._d=new Date(t):n.createFromInputFallback(e)}(e),f(e)||(e._d=null),e))}function Ct(e,t,a,i,n){var o,l={};return!0!==a&&!1!==a||(i=a,a=void 0),(s(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||r(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=n,l._l=a,l._i=e,l._f=t,l._strict=i,(o=new b(ht(xt(l))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Yt(e,t,a,i){return Ct(e,t,a,i,!1)}n.createFromInputFallback=L("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){},n.RFC_2822=function(){};var At=L("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Yt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()}),Et=L("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Yt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()});function Ot(e,t){var a,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Yt();for(a=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](a)||(a=t[i]);return a}var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ft(e){var t=P(e),a=t.year||0,i=t.quarter||0,n=t.month||0,r=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===xe.call(It,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var a=!1,i=0;i<It.length;++i)if(e[It[i]]){if(a)return!1;parseFloat(e[It[i]])!==M(e[It[i]])&&(a=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*o*60*60,this._days=+s+7*r,this._months=+n+3*i+12*a,this._data={},this._locale=mt(),this._bubble()}function Pt(e){return e instanceof Ft}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ht(e,t){W(e,0,0,function(){var e=this.utcOffset(),a="+";return e<0&&(e=-e,a="-"),a+$(~~(e/60),2)+t+$(~~e%60,2)})}Ht("Z",":"),Ht("ZZ",""),ue("Z",oe),ue("ZZ",oe),he(["Z","ZZ"],function(e,t,a){a._useUTC=!0,a._tzm=Nt(oe,e)});var $t=/([\+\-]|\d\d)/gi;function Nt(e,t){var a=(t||"").match(e);if(null===a)return null;var i=((a[a.length-1]||[])+"").match($t)||["-",0,0],n=60*i[1]+M(i[2]);return 0===n?0:"+"===i[0]?n:-n}function qt(e,t){var a,i;return t._isUTC?(a=t.clone(),i=(k(e)||c(e)?e.valueOf():Yt(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+i),n.updateOffset(a,!1),a):Yt(e).local()}function Rt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Bt(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var Wt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ut(e,t){var a,i,n,r,s,o,c=e,u=null;return Pt(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:l(e)?(c={},t?c[t]=e:c.milliseconds=e):(u=Wt.exec(e))?(a="-"===u[1]?-1:1,c={y:0,d:M(u[ye])*a,h:M(u[be])*a,m:M(u[ke])*a,s:M(u[we])*a,ms:M(jt(1e3*u[Me]))*a}):(u=zt.exec(e))?(a="-"===u[1]?-1:1,c={y:Vt(u[2],a),M:Vt(u[3],a),w:Vt(u[4],a),d:Vt(u[5],a),h:Vt(u[6],a),m:Vt(u[7],a),s:Vt(u[8],a)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(r=Yt(c.from),s=Yt(c.to),n=r.isValid()&&s.isValid()?(s=qt(s,r),r.isBefore(s)?o=Gt(r,s):((o=Gt(s,r)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(c={}).ms=n.milliseconds,c.M=n.months),i=new Ft(c),Pt(e)&&d(e,"_locale")&&(i._locale=e._locale),i}function Vt(e,t){var a=e&&parseFloat(e.replace(",","."));return(isNaN(a)?0:a)*t}function Gt(e,t){var a={};return a.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+e.clone().add(a.months,"M"),a}function Jt(e,t){return function(a,i){var n;return null===i||isNaN(+i)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=a,a=i,i=n),Kt(this,Ut(a="string"==typeof a?+a:a,i),e),this}}function Kt(e,t,a,i){var r=t._milliseconds,s=jt(t._days),o=jt(t._months);e.isValid()&&(i=null==i||i,o&&je(e,Ae(e,"Month")+o*a),s&&Ee(e,"Date",Ae(e,"Date")+s*a),r&&e._d.setTime(e._d.valueOf()+r*a),i&&n.updateOffset(e,s||o))}
vendor: 4,148 bytes, line 27
27Ut.fn=Ft.prototype,Ut.invalid=function(){return Ut(NaN)};var Qt=Jt(1,"add"),Zt=Jt(-1,"subtract");function Xt(e,t){var a=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(a,"months");return-(a+(t-i<0?(t-i)/(i-e.clone().add(a-1,"months")):(t-i)/(e.clone().add(a+1,"months")-i)))||0}function ea(e){var t;return void 0===e?this._locale._abbr:(null!=(t=mt(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ta=L("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function aa(){return this._locale}var ia=126227808e5;function na(e,t){return(e%t+t)%t}function ra(e,t,a){return e<100&&e>=0?new Date(e+400,t,a)-ia:new Date(e,t,a).valueOf()}function sa(e,t,a){return e<100&&e>=0?Date.UTC(e+400,t,a)-ia:Date.UTC(e,t,a)}function oa(e,t){W(0,[e,e.length],0,t)}function la(e,t,a,i,n){var r;return null==e?ze(this,i,n).year:(t>(r=Ue(e,i,n))&&(t=r),function(e,t,a,i,n){var r=We(e,t,a,i,n),s=Re(r.year,0,r.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}.call(this,e,t,a,i,n))}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),oa("gggg","weekYear"),oa("ggggg","weekYear"),oa("GGGG","isoWeekYear"),oa("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),ue("G",re),ue("g",re),ue("GG",Z,G),ue("gg",Z,G),ue("GGGG",ae,K),ue("gggg",ae,K),ue("GGGGG",ie,Q),ue("ggggg",ie,Q),fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,a,i){t[i.substr(0,2)]=M(e)}),fe(["gg","GG"],function(e,t,a,i){t[i]=n.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),I("quarter","Q"),H("quarter",7),ue("Q",V),he("Q",function(e,t){t[ge]=3*(M(e)-1)}),W("D",["DD",2],"Do","date"),I("date","D"),H("date",9),ue("D",Z),ue("DD",Z,G),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),he(["D","DD"],ye),he("Do",function(e,t){t[ye]=M(e.match(Z)[0])});var ca=Ye("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),H("dayOfYear",4),ue("DDD",te),ue("DDDD",J),he(["DDD","DDDD"],function(e,t,a){a._dayOfYear=M(e)}),W("m",["mm",2],0,"minute"),I("minute","m"),H("minute",14),ue("m",Z),ue("mm",Z,G),he(["m","mm"],ke);var ua=Ye("Minutes",!1);W("s",["ss",2],0,"second"),I("second","s"),H("second",15),ue("s",Z),ue("ss",Z,G),he(["s","ss"],we);var da,pa=Ye("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),H("millisecond",16),ue("S",te,V),ue("SS",te,G),ue("SSS",te,J),da="SSSS";da.length<=9;da+="S")ue(da,ne);function ma(e,t){t[Me]=M(1e3*("0."+e))}for(da="S";da.length<=9;da+="S")he(da,ma);var ha=Ye("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var fa=b.prototype;function _a(e){return e}fa.add=Qt,fa.calendar=function(e,t){var a=e||Yt(),i=qt(a,this).startOf("day"),r=n.calendarFormat(this,i)||"sameElse",s=t&&(Y(t[r])?t[r].call(this,a):t[r]);return this.format(s||this.localeData().calendar(r,this,Yt(a)))},fa.clone=function(){return new b(this)},fa.diff=function(e,t,a){var i,n,r;if(!this.isValid())return NaN;if(!(i=qt(e,this)).isValid())return NaN;switch(n=6e4*(i.utcOffset()-this.utcOffset()),t=F(t)){case"year":r=Xt(this,i)/12;break;case"month":r=Xt(this,i);break;case"quarter":r=Xt(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-n)/864e5;break;case"week":r=(this-i-n)/6048e5;break;default:r=this-i}return a?r:w(r)}
vendor: 4,474 bytes, line 27
27,fa.endOf=function(e){var t;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;var a=this._isUTC?sa:ra;switch(e){case"year":t=a(this.year()+1,0,1)-1;break;case"quarter":t=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=a(this.year(),this.month()+1,1)-1;break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-na(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-na(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-na(t,1e3)-1}return this._d.setTime(t),n.updateOffset(this,!0),this},fa.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=z(this,e);return this.localeData().postformat(t)},fa.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Yt(e).isValid())?Ut({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fa.fromNow=function(e){return this.from(Yt(),e)},fa.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Yt(e).isValid())?Ut({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fa.toNow=function(e){return this.to(Yt(),e)},fa.get=function(e){return Y(this[e=F(e)])?this[e]():this},fa.invalidAt=function(){return h(this).overflow},fa.isAfter=function(e,t){var a=k(e)?e:Yt(e);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()>a.valueOf():a.valueOf()<this.clone().startOf(t).valueOf())},fa.isBefore=function(e,t){var a=k(e)?e:Yt(e);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()<a.valueOf():this.clone().endOf(t).valueOf()<a.valueOf())},fa.isBetween=function(e,t,a,i){var n=k(e)?e:Yt(e),r=k(t)?t:Yt(t);return!!(this.isValid()&&n.isValid()&&r.isValid())&&("("===(i=i||"()")[0]?this.isAfter(n,a):!this.isBefore(n,a))&&(")"===i[1]?this.isBefore(r,a):!this.isAfter(r,a))},fa.isSame=function(e,t){var a,i=k(e)?e:Yt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()===i.valueOf():(a=i.valueOf(),this.clone().startOf(t).valueOf()<=a&&a<=this.clone().endOf(t).valueOf()))},fa.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},fa.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},fa.isValid=function(){return f(this)},fa.lang=ta,fa.locale=ea,fa.localeData=aa,fa.max=Et,fa.min=At,fa.parsingFlags=function(){return p({},h(this))},fa.set=function(e,t){if("object"==typeof e)for(var a=function(e){var t=[];for(var a in e)t.push({unit:a,priority:j[a]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=P(e)),i=0;i<a.length;i++)this[a[i].unit](e[a[i].unit]);else if(Y(this[e=F(e)]))return this[e](t);return this},fa.startOf=function(e){var t;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;var a=this._isUTC?sa:ra;switch(e){case"year":t=a(this.year(),0,1);break;case"quarter":t=a(this.year(),this.month()-this.month()%3,1);break;case"month":t=a(this.year(),this.month(),1);break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=a(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=na(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=na(t,6e4);break;case"second":t=this._d.valueOf(),t-=na(t,1e3)}return this._d.setTime(t),n.updateOffset(this,!0),this},fa.subtract=Zt,fa.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},fa.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},fa.toDate=function(){return new Date(this.valueOf())},fa.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,a=t?this.clone().utc():this;return a.year()<0||a.year()>9999?z(a,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Y(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(a,"Z")):z(a,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
vendor: 4,487 bytes, line 27
27,fa.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var a="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=t+'[")]';return this.format(a+i+"-MM-DD[T]HH:mm:ss.SSS"+n)},fa.toJSON=function(){return this.isValid()?this.toISOString():null},fa.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fa.unix=function(){return Math.floor(this.valueOf()/1e3)},fa.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fa.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fa.year=Ce,fa.isLeapYear=function(){return Te(this.year())},fa.weekYear=function(e){return la.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fa.isoWeekYear=function(e){return la.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},fa.quarter=fa.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},fa.month=He,fa.daysInMonth=function(){return Oe(this.year(),this.month())},fa.week=fa.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},fa.isoWeek=fa.isoWeeks=function(e){var t=ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},fa.weeksInYear=function(){var e=this.localeData()._week;return Ue(this.year(),e.dow,e.doy)},fa.isoWeeksInYear=function(){return Ue(this.year(),1,4)},fa.date=ca,fa.day=fa.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},fa.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},fa.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},fa.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},fa.hour=fa.hours=rt,fa.minute=fa.minutes=ua,fa.second=fa.seconds=pa,fa.millisecond=fa.milliseconds=ha,fa.utcOffset=function(e,t,a){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Nt(oe,e)))return this}else Math.abs(e)<16&&!a&&(e*=60);return!this._isUTC&&t&&(i=Rt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Kt(this,Ut(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Rt(this)},fa.utc=function(e){return this.utcOffset(0,e)},fa.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Rt(this),"m")),this},fa.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Nt(se,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},fa.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Yt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},fa.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fa.isLocal=function(){return!!this.isValid()&&!this._isUTC},fa.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fa.isUtc=Bt,fa.isUTC=Bt,fa.zoneAbbr=function(){return this._isUTC?"UTC":""},fa.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fa.dates=L("dates accessor is deprecated. Use date instead.",ca),fa.months=L("months accessor is deprecated. Use month instead",He),fa.years=L("years accessor is deprecated. Use year instead",Ce),fa.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),fa.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e={};
vendor: 13,168 bytes, line 27
27if(g(e,this),(e=xt(e))._a){var t=e._isUTC?m(e._a):Yt(e._a);this._isDSTShifted=this.isValid()&&S(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var va=E.prototype;function ga(e,t,a,i){var n=mt(),r=m().set(i,t);return n[a](r,e)}function ya(e,t,a){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return ga(e,t,a,"month");var i,n=[];for(i=0;i<12;i++)n[i]=ga(e,i,a,"month");return n}function ba(e,t,a,i){"boolean"==typeof e?(l(t)&&(a=t,t=void 0),t=t||""):(a=t=e,e=!1,l(t)&&(a=t,t=void 0),t=t||"");var n,r=mt(),s=e?r._week.dow:0;if(null!=a)return ga(t,(a+s)%7,i,"day");var o=[];for(n=0;n<7;n++)o[n]=ga(t,(n+s)%7,i,"day");return o}va.calendar=function(e,t,a){var i=this._calendar[e]||this._calendar.sameElse;return Y(i)?i.call(t,a):i},va.longDateFormat=function(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},va.invalidDate=function(){return this._invalidDate},va.ordinal=function(e){return this._ordinal.replace("%d",e)},va.preparse=_a,va.postformat=_a,va.relativeTime=function(e,t,a,i){var n=this._relativeTime[a];return Y(n)?n(e,t,a,i):n.replace(/%d/i,e)},va.pastFuture=function(e,t){var a=this._relativeTime[e>0?"future":"past"];return Y(a)?a(t):a.replace(/%s/i,t)},va.set=function(e){var t,a;for(a in e)Y(t=e[a])?this[a]=t:this["_"+a]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},va.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},va.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ie.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},va.monthsParse=function(e,t,a){var i,n,r;if(this._monthsParseExact)return function(e,t,a){var i,n,r,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=m([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return a?"MMM"===t?-1!==(n=xe.call(this._shortMonthsParse,s))?n:null:-1!==(n=xe.call(this._longMonthsParse,s))?n:null:"MMM"===t?-1!==(n=xe.call(this._shortMonthsParse,s))?n:-1!==(n=xe.call(this._longMonthsParse,s))?n:null:-1!==(n=xe.call(this._longMonthsParse,s))?n:-1!==(n=xe.call(this._shortMonthsParse,s))?n:null}.call(this,e,t,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(n=m([2e3,i]),a&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),a||this._monthsParse[i]||(r="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(a&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!a&&this._monthsParse[i].test(e))return i}},va.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||qe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},va.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||qe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=$e),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},va.week=function(e){return ze(e,this._week.dow,this._week.doy).week},va.firstDayOfYear=function(){return this._week.doy},va.firstDayOfWeek=function(){return this._week.dow},va.weekdays=function(e,t){var a=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ve(a,this._week.dow):e?a[e.day()]:a},va.weekdaysMin=function(e){return!0===e?Ve(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},va.weekdaysShort=function(e){return!0===e?Ve(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},va.weekdaysParse=function(e,t,a){var i,n,r;if(this._weekdaysParseExact)return function(e,t,a){var i,n,r,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=m([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return a?"dddd"===t?-1!==(n=xe.call(this._weekdaysParse,s))?n:null:"ddd"===t?-1!==(n=xe.call(this._shortWeekdaysParse,s))?n:null:-1!==(n=xe.call(this._minWeekdaysParse,s))?n:null:"dddd"===t?-1!==(n=xe.call(this._weekdaysParse,s))?n:-1!==(n=xe.call(this._shortWeekdaysParse,s))?n:-1!==(n=xe.call(this._minWeekdaysParse,s))?n:null:"ddd"===t?-1!==(n=xe.call(this._shortWeekdaysParse,s))?n:-1!==(n=xe.call(this._weekdaysParse,s))?n:-1!==(n=xe.call(this._minWeekdaysParse,s))?n:null:-1!==(n=xe.call(this._minWeekdaysParse,s))?n:-1!==(n=xe.call(this._weekdaysParse,s))?n:-1!==(n=xe.call(this._shortWeekdaysParse,s))?n:null}.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(n=m([2e3,1]).day(i),a&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(a&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(a&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!a&&this._weekdaysParse[i].test(e))return i}},va.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},va.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ze),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},va.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},va.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},va.meridiem=function(e,t,a){return e>11?a?"pm":"PM":a?"am":"AM"},dt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===M(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=L("moment.lang is deprecated. Use moment.locale instead.",dt),n.langData=L("moment.langData is deprecated. Use moment.localeData instead.",mt);var ka=Math.abs;function wa(e,t,a,i){var n=Ut(t,a);return e._milliseconds+=i*n._milliseconds,e._days+=i*n._days,e._months+=i*n._months,e._bubble()}function Ma(e){return e<0?Math.floor(e):Math.ceil(e)}function Sa(e){return 4800*e/146097}function Da(e){return 146097*e/4800}function La(e){return function(){return this.as(e)}}var Ta=La("ms"),xa=La("s"),Ca=La("m"),Ya=La("h"),Aa=La("d"),Ea=La("w"),Oa=La("M"),Ia=La("Q"),Fa=La("y");function Pa(e){return function(){return this.isValid()?this._data[e]:NaN}}var ja=Pa("milliseconds"),Ha=Pa("seconds"),$a=Pa("minutes"),Na=Pa("hours"),qa=Pa("days"),Ra=Pa("months"),Ba=Pa("years"),Wa=Math.round,za={ss:44,s:45,m:45,h:22,d:26,M:11},Ua=Math.abs;function Va(e){return(e>0)-(e<0)||+e}function Ga(){if(!this.isValid())return this.localeData().invalidDate();var e,t,a=Ua(this._milliseconds)/1e3,i=Ua(this._days),n=Ua(this._months);e=w(a/60),t=w(e/60),a%=60,e%=60;var r=w(n/12),s=n%=12,o=i,l=t,c=e,u=a?a.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var p=d<0?"-":"",m=Va(this._months)!==Va(d)?"-":"",h=Va(this._days)!==Va(d)?"-":"",f=Va(this._milliseconds)!==Va(d)?"-":"";return p+"P"+(r?m+r+"Y":"")+(s?m+s+"M":"")+(o?h+o+"D":"")+(l||c||u?"T":"")+(l?f+l+"H":"")+(c?f+c+"M":"")+(u?f+u+"S":"")}var Ja=Ft.prototype;return Ja.isValid=function(){return this._isValid},Ja.abs=function(){var e=this._data;return this._milliseconds=ka(this._milliseconds),this._days=ka(this._days),this._months=ka(this._months),e.milliseconds=ka(e.milliseconds),e.seconds=ka(e.seconds),e.minutes=ka(e.minutes),e.hours=ka(e.hours),e.months=ka(e.months),e.years=ka(e.years),this},Ja.add=function(e,t){return wa(this,e,t,1)},Ja.subtract=function(e,t){return wa(this,e,t,-1)},Ja.as=function(e){if(!this.isValid())return NaN;var t,a,i=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,a=this._months+Sa(t),e){case"month":return a;case"quarter":return a/3;case"year":return a/12}else switch(t=this._days+Math.round(Da(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Ja.asMilliseconds=Ta,Ja.asSeconds=xa,Ja.asMinutes=Ca,Ja.asHours=Ya,Ja.asDays=Aa,Ja.asWeeks=Ea,Ja.asMonths=Oa,Ja.asQuarters=Ia,Ja.asYears=Fa,Ja.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*M(this._months/12):NaN},Ja._bubble=function(){var e,t,a,i,n,r=this._milliseconds,s=this._days,o=this._months,l=this._data;return r>=0&&s>=0&&o>=0||r<=0&&s<=0&&o<=0||(r+=864e5*Ma(Da(o)+s),s=0,o=0),l.milliseconds=r%1e3,e=w(r/1e3),l.seconds=e%60,t=w(e/60),l.minutes=t%60,a=w(t/60),l.hours=a%24,s+=w(a/24),n=w(Sa(s)),o+=n,s-=Ma(Da(n)),i=w(o/12),o%=12,l.days=s,l.months=o,l.years=i,this},Ja.clone=function(){return Ut(this)},Ja.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},Ja.milliseconds=ja,Ja.seconds=Ha,Ja.minutes=$a,Ja.hours=Na,Ja.days=qa,Ja.weeks=function(){return w(this.days()/7)},Ja.months=Ra,Ja.years=Ba,Ja.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),a=function(e,t,a){var i=Ut(e).abs(),n=Wa(i.as("s")),r=Wa(i.as("m")),s=Wa(i.as("h")),o=Wa(i.as("d")),l=Wa(i.as("M")),c=Wa(i.as("y")),u=n<=za.ss&&["s",n]||n<za.s&&["ss",n]||r<=1&&["m"]||r<za.m&&["mm",r]||s<=1&&["h"]||s<za.h&&["hh",s]||o<=1&&["d"]||o<za.d&&["dd",o]||l<=1&&["M"]||l<za.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=a,function(e,t,a,i,n){return n.relativeTime(t||1,!!a,e,i)}.apply(null,u)}(this,!e,t);return e&&(a=t.pastFuture(+this,a)),t.postformat(a)},Ja.toISOString=Ga,Ja.toString=Ga,Ja.toJSON=Ga,Ja.locale=ea,Ja.localeData=aa,Ja.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ga),Ja.lang=ta,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ue("x",re),ue("X",/[+-]?\d+(\.\d{1,3})?/),he("X",function(e,t,a){a._d=new Date(1e3*parseFloat(e,10))}),he("x",function(e,t,a){a._d=new Date(M(e))}),n.version="2.24.0",t=Yt,n.fn=fa,n.min=function(){return Ot("isBefore",[].slice.call(arguments,0))},n.max=function(){return Ot("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=m,n.unix=function(e){return Yt(1e3*e)},n.months=function(e,t){return ya(e,t,"months")},n.isDate=c,n.locale=dt,n.invalid=_,n.duration=Ut,n.isMoment=k,n.weekdays=function(e,t,a){return ba(e,t,a,"weekdays")},n.parseZone=function(){return Yt.apply(null,arguments).parseZone()},n.localeData=mt,n.isDuration=Pt,n.monthsShort=function(e,t){return ya(e,t,"monthsShort")},n.weekdaysMin=function(e,t,a){return ba(e,t,a,"weekdaysMin")},n.defineLocale=pt,n.updateLocale=function(e,t){if(null!=t){var a,i,n=st;null!=(i=ut(e))&&(n=i._config),t=A(n,t),(a=new E(t)).parentLocale=ot[e],ot[e]=a,dt(e)}else null!=ot[e]&&(null!=ot[e].parentLocale?ot[e]=ot[e].parentLocale:null!=ot[e]&&delete ot[e]);return ot[e]},n.locales=function(){return T(ot)},n.weekdaysShort=function(e,t,a){return ba(e,t,a,"weekdaysShort")},n.normalizeUnits=F,n.relativeTimeRounding=function(e){return void 0===e?Wa:"function"==typeof e&&(Wa=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==za[e]&&(void 0===t?za[e]:(za[e]=t,"
27s"===e&&(za.ss=t-1),!0))},n.calendarFormat=function(e,t){var a=e.diff(t,"days",!0);return a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse"},n.prototype=fa,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}()}).call(this,a(187)(e))},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"vm":"VM":a?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,a,r,s){var o=i(t),l=n[e][i(t)];return 2===o&&(l=l[a?0:1]),l.replace(/%d/i,t)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return a[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},a=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(e){return function(t,n,r,s){var o=a(t),l=i[e][a(t)];return 2===o&&(l=l[n?0:1]),l.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return a[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,a){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var a=e%10;return e+(t[a]||t[e%100-a]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var i,n;return"m"===a?t?"хвіліна":"хвіліну":"h"===a?t?"гадзіна":"гадзіну":e+" "+(i=+e,n={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[a].split("_"),i%10==1&&i%100
vendor: 14,936 bytes, line 27
27!=11?n[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?n[1]:n[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0===a?e+"-ен":a>10&&a<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},a={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,a){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},a={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,a){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[a],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var i=e+" ";switch(a){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%
27d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var a=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(a="a"),e+a},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),a="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],n=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function r(e){return e>1&&e<5&&1!=~~(e/10)}function s(e,t,a,i){var n=e+" ";switch(a){case"s":return t||i?"pár sekund":"pár sekundami";case"ss":return t||i?n+(r(e)?"sekundy":"sekund"):n+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?n+(r(e)?"minuty":"minut"):n+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?n+(r(e)?"hodiny":"hodin"):n+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?n+(r(e)?"dny":"dní"):n+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?n+(r(e)?"měsíce":"měsíců"):n+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?n+(r(e)?"roky":"let"):n+"lety"}}e.defineLocale("cs",{months:t,monthsShort:a,monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%
27d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,i){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[a][0]:n[a][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,i){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[a][0]:n[a][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%
27d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,i){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[a][0]:n[a][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],a=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,a){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,a){return e>11?a?"μμ":"ΜΜ":a?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LT
vendor: 8,023 bytes, line 27
27S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var a,i=this._calendarEl[e],n=t&&t.hours();return((a=i)instanceof Function||"[object Function]"===Object.prototype.toString.call(a))&&(i=i.apply(t)),i.replace("{}",n%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LT
vendor: 5,771 bytes, line 27
27S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,a){return e>11?a?"p.t.m.":"P.T.M.":a?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],n=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?a[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],n=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?a[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%
27d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],n=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?a[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,i){var n={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?n[a][2]?n[a][2]:n[a][1]:i?n[a][0]:n[a][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},a={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,a){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%
27d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return a[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" ");t[7],t[8],t[9];function a(e,a,i,n){var r="";switch(i){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"ss":return n?"sekunnin":"sekuntia";case"m":return n?"minuutin":"minuutti";case"mm":r=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":r=n?"tunnin":"tuntia";break;case"d":return n?"päivän":"päivä";case"dd":r=n?"päivän":"päivää";break;case"M":return n?"kuukauden":"kuukausi";case"MM":r=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":r=n?"vuoden":"vuotta"}return r=function(e,a){return e<10?t[e]:e}(e)+" "+r}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),a="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?a[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Méitheamh","Iúil","Lúnasa","Meán Fómhair","Deaireadh Fómhair","Samhain","Nollaig"],monthsShort:["Eaná","Feab","Márt","Aibr","Beal","Méit","Iúil","Lúna","Meán","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Satharn"],weekdaysShort:["Dom","Lua","Mái","Céa","Déa","hAo","Sat"],weekdaysMin:["Do","Lu","Má","Ce","Dé","hA","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné aig] 
27LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,i){var n={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?n[a][0]:n[a][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0}
vendor: 19,655 bytes, line 27
27,meridiem:function(e,t,a){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},a={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,a){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?a?'לפנה"צ':"לפני הצהריים":e<18?a?'אחה"צ':"אחרי הצהריים":"בערב"}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var i=e+" ";switch(a){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function a(e,t,a,i){var n=e;switch(a){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return n+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return n+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return n+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return n+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return n+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return n+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,a){return e<12?!0===a?"de":"DE":!0===a?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function a(e,a,i,n){var r=e+" ";switch(i){case"s":return a||n?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?r+(a||n?"sekúndur":"sekúndum"):r+"sekúnda";case"m":return a?"mínúta":"mínútu";case"mm":return t(e)?r+(a||n?"mínútur":"mínútum"):a?r+"mínúta":r+"mínútu";case"hh":return t(e)?r+(a||n?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return a?"dagur":n?"dag":"degi";case"dd":return t(e)?a?r+"dagar":r+(n?"daga":"dögum"):a?r+"dagur":r+(n?"dag":"degi");case"M":return a?"mánuður":n?"mánuð":"mánuði";case"MM":return t(e)?a?r+"mánuðir":r+(n?"mánuði":"mánuðum"):a?r+"mánuður":r+(n?"mánuð":"mánuði");case"y":return a||n?"ár":"ári";case"yy":return t(e)?r+(a||n?"ár":"árum"):r+(a||n?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:a,ss:a,m:a,mm:a,h:"klukkustund",hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,a){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()<e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>
vendor: 4,561 bytes, line 27
27=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%
27d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},a={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,a){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},a={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%
27d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,a){return e<12?"오전":"오후"}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,a){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return a[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%
27d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,i){var n={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?n[a][0]:n[a][1]}function a(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return a(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return a(e)}return a(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return a(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return a(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,a){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function a(e,t,a,i){return t?n(a)[0]:i?n(a)[1]:n(a)[2]}function i(e){return e%10==0||e>10&&e<20}function n(e){return t[e].split("_")}function r(e,t,r,s){var o=e+" ";return 1===e?o+a(0,t,r[0],s):t?o+(i(e)?n(r)[1]:n(r)[0]):s?o+n(r)[1]:o+(i(e)?n(r)[1]:n(r)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,a,i){return t?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"},ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_die
27nām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function a(e,t,a){return a?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,n){return e+" "+a(t[n],e,i)}function n(e,i,n){return a(t[n],e,i)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:i,m:n,mm:i,h:n,hh:i,d:n,dd:i,M:n,MM:i,y:n,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,i){var n=t.words[i];return 1===i.length?a?n[0]:n[1]:e+" "+t.correctGrammaticalCase(e,n)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%
27d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0===a?e+"-ен":a>10&&a<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,a){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,i){switch(a){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,a){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш
27] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function i(e,t,a,i){var n="";if(t)switch(a){case"s":n="काही सेकंद";break;case"ss":n="%d सेकंद";break;case"m":n="एक मिनिट";break;case"mm":n="%d मिनिटे";break;case"h":n="एक तास";break;case"hh":n="%d तास";break;case"d":n="एक दिवस";break;case"dd":n="%d दिवस";break;case"M":n="एक महिना";break;case"MM":n="%d महिने";break;case"y":n="एक वर्ष";break;case"yy":n="%d वर्षे"}else switch(a){case"s":n="काही सेकंदां";break;case"ss":n="%d सेकंदां";break;case"m":n="एका मिनिटा";break;case"mm":n="%d मिनिटां";break;case"h":n="एका तासा";break;case"hh":n="%d तासां";break;case"d":n="एका दिवसा";break;case"dd":n="%d दिवसां";break;case"M":n="एका महिन्या";break;case"MM":n="%d महिन्यां";break;case"y":n="एका वर्षा";break;case"yy":n="%d वर्षां"}return n.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ä unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ä un_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ä imgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ä im_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ä i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"Ä¡urnata",dd:"%d Ä¡ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},a={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနညá€
27ºá€¸á€„ယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i gÃ¥r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en mÃ¥ned",MM:"%d mÃ¥neder",y:"ett Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,a){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],n=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?a[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],n=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?a[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_mÃ¥ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mÃ¥n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_mÃ¥_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I gÃ¥r klokka] LT",lastWeek:"[FøregÃ¥ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein mÃ¥nad",MM:"%d mÃ¥nader",y:"eit Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"à©§",2:"੨",3:"à©©",4:"੪",5:"à©«",6:"੬",7:"à©­",8:"à©®",9:"੯",0:"੦"},a={"à©§":"1","੨":"2","à©©":"3","੪":"4","à©«":"5","੬":"6","à©­":"7","à©®":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";
vendor: 8,147 bytes, line 27
27var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),a="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function n(e,t,a){var n=e+" ";switch(a){case"ss":return n+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return n+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(i(e)?"godziny":"godzin");case"MM":return n+(i(e)?"miesiące":"miesięcy");case"yy":return n+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?""===i?"("+a[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(i)?a[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:n,m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[a]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var i,n;return"m"===a?t?"минута":"минуту":e+" "+(i=+e,n={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[a].split("_"),i%10==1&&i%100!=11?n[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?n[1]:n[2])}var a=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|ок
vendor: 25,743 bytes, line 27
27т\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],a=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,a){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_à¶¶_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[à¶§]",nextDay:"[හෙට] LT[à¶§]",nextWeek:"dddd LT[à¶§]",lastDay:"[ඊයේ] LT[à¶§]",lastWeek:"[පසුගිය] dddd LT[à¶§]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|à¶´.ව./,isPM:function(e){return"à¶´.ව."===e||"පස් වරු"===e},meridiem:function(e,t,a){return e>11?a?"à¶´.ව.":"පස් වරු":a?"පෙ.ව.":"පෙර වරු"}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),a="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function n(e,t,a,n){var r=e+" ";switch(a){case"s":return t||n?"pár sekúnd":"pár sekundami";case"ss":return t||n?r+(i(e)?"sekundy":"sekúnd"):r+"sekundami";case"m":return t?"minúta":n?"minútu":"minútou";case"mm":return t||n?r+(i(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?r+(i(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||n?"deň":"dňom";case"dd":return t||n?r+(i(e)?"dni":"dní"):r+"dňami";case"M":return t||n?"mesiac":"mesiacom";case"MM":return t||n?r+(i(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||n?"rok":"rokom";case"yy":return t||n?r+(i(e)?"roky":"rokov"):r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:a,weekdays:"nedeľa_pondelok_utorok_streda_Å¡tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_Å¡t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_Å¡t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo Å¡tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,i){var n=e+" ";switch(a){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return n+=1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return n+=1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return n+=1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami";case"d":return t||i?"en dan":"enim dnem";case"dd":return n+=1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi";case"M":return t||i?"en mesec":"enim mesecem";case"MM":return n+=1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci";case"y":return t||i?"eno leto":"enim letom";case"yy":return n+=1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejÅ¡njo] [nedeljo] [ob] LT";case 3:return"[prejÅ¡njo] [sredo] [ob] LT";case 6:return"[prejÅ¡njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejÅ¡nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,a){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,i){var n=t.words[i];return 1===i.length?a?n[0]:n[1]:e+" "+t.correctGrammaticalCase(e,n)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[proÅ¡le] [nedelje] [u] LT","[proÅ¡log] [ponedeljka] [u] LT","[proÅ¡log] [utorka] [u] LT","[proÅ¡le] [srede] [u] LT","[proÅ¡log] [četvrtka] [u] LT","[proÅ¡log] [petka] [u] LT","[proÅ¡le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,i){var n=t.words[i];return 1===i.length?a?n[0]:n[1]:e+" "+t.correctGrammaticalCase(e,n)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,a){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_mÃ¥ndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mÃ¥n_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_mÃ¥_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[IgÃ¥r] LT",nextWeek:"[PÃ¥] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"nÃ¥gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en mÃ¥nad",MM:"%d mÃ¥nader",y:"ett Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},a={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,a){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_à°¶".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}à°µ/,ordinal:"%dà°µ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Ñ
27ÐºÑˆÐ°Ð½Ð±Ðµ_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,a){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%
27d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function a(e,a,i,n){var r=function(e){var a=Math.floor(e%1e3/100),i=Math.floor(e%100/10),n=e%10,r="";return a>0&&(r+=t[a]+"vatlh"),i>0&&(r+=(""!==r?" ":"")+t[i]+"maH"),n>0&&(r+=(""!==r?" ":"")+t[n]),""===r?"pagh":r}(e);switch(i){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:a,m:"wa’ tup",mm:a,h:"wa’ rep",hh:a,d:"wa’ jaj",dd:a,M:"wa’ jar",MM:a,y:"wa’ DIS",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,i){var n={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i?n[a][0]:t?n[a][0]:n[a][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,a){return e>11?a?"d'o":"D'O":a?"d'a":"D'A"}
27,calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibr
27ir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,a){var i=100*e+t;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var i,n;return"m"===a?t?"хвилина":"хвилину":"h"===a?t?"година":"годину":e+" "+(i=+e,n={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[a].split("_"),i%10==1&&i%100!=11?n[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?n[1]:n[2])}function a(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var a={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?a.nominative.slice(1,7).concat(a.nominative.slice(0,1)):e?a[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:a.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:a("[Сьогодні "),nextDay:a("[Завтра "),lastDay:a("[Вчора "),nextWeek:a("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 
vendor: 5,409 bytes, line 27
276:return a("[Минулої] dddd [").call(this);case 1:case 2:case 4:return a("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],a=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,a){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"sa":"SA":a?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%
27d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~út
27é",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,a){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var i=100*e+t;
vendor: 6,316 bytes, line 27
27return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(0))},function(e,t,a){e.exports=a(213)},function(e,t,a){"use strict";var i=a(1);a.n(i).a},function(e,t,a){"use strict";var i=a(2);a.n(i).a},function(e,t,a){"use strict";var i=a(3);a.n(i).a},function(e,t,a){"use strict";var i=a(4);a.n(i).a},function(e,t,a){"use strict";var i=a(5);a.n(i).a},function(e,t,a){"use strict";var i=a(6);a.n(i).a},function(e,t,a){"use strict";var i=a(7);a.n(i).a},function(e,t,a){"use strict";var i=a(8);a.n(i).a},function(e,t,a){"use strict";var i=a(9);a.n(i).a},function(e,t,a){"use strict";var i=a(10);a.n(i).a},function(e,t,a){"use strict";var i=a(11);a.n(i).a},function(e,t,a){"use strict";var i=a(12);a.n(i).a},function(e,t,a){"use strict";var i=a(13);a.n(i).a},function(e,t,a){"use strict";var i=a(14);a.n(i).a},function(e,t,a){"use strict";var i=a(15);a.n(i).a},function(e,t,a){"use strict";var i=a(16);a.n(i).a},function(e,t,a){"use strict";var i=a(17);a.n(i).a},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,a){var i={"./af":42,"./af.js":42,"./ar":43,"./ar-dz":44,"./ar-dz.js":44,"./ar-kw":45,"./ar-kw.js":45,"./ar-ly":46,"./ar-ly.js":46,"./ar-ma":47,"./ar-ma.js":47,"./ar-sa":48,"./ar-sa.js":48,"./ar-tn":49,"./ar-tn.js":49,"./ar.js":43,"./az":50,"./az.js":50,"./be":51,"./be.js":51,"./bg":52,"./bg.js":52,"./bm":53,"./bm.js":53,"./bn":54,"./bn.js":54,"./bo":55,"./bo.js":55,"./br":56,"./br.js":56,"./bs":57,"./bs.js":57,"./ca":58,"./ca.js":58,"./cs":59,"./cs.js":59,"./cv":60,"./cv.js":60,"./cy":61,"./cy.js":61,"./da":62,"./da.js":62,"./de":63,"./de-at":64,"./de-at.js":64,"./de-ch":65,"./de-ch.js":65,"./de.js":63,"./dv":66,"./dv.js":66,"./el":67,"./el.js":67,"./en-SG":68,"./en-SG.js":68,"./en-au":69,"./en-au.js":69,"./en-ca":70,"./en-ca.js":70,"./en-gb":71,"./en-gb.js":71,"./en-ie":72,"./en-ie.js":72,"./en-il":73,"./en-il.js":73,"./en-nz":74,"./en-nz.js":74,"./eo":75,"./eo.js":75,"./es":76,"./es-do":77,"./es-do.js":77,"./es-us":78,"./es-us.js":78,"./es.js":76,"./et":79,"./et.js":79,"./eu":80,"./eu.js":80,"./fa":81,"./fa.js":81,"./fi":82,"./fi.js":82,"./fo":83,"./fo.js":83,"./fr":84,"./fr-ca":85,"./fr-ca.js":85,"./fr-ch":86,"./fr-ch.js":86,"./fr.js":84,"./fy":87,"./fy.js":87,"./ga":88,"./ga.js":88,"./gd":89,"./gd.js":89,"./gl":90,"./gl.js":90,"./gom-latn":91,"./gom-latn.js":91,"./gu":92,"./gu.js":92,"./he":93,"./he.js":93,"./hi":94,"./hi.js":94,"./hr":95,"./hr.js":95,"./hu":96,"./hu.js":96,"./hy-am":97,"./hy-am.js":97,"./id":98,"./id.js":98,"./is":99,"./is.js":99,"./it":100,"./it-ch":101,"./it-ch.js":101,"./it.js":100,"./ja":102,"./ja.js":102,"./jv":103,"./jv.js":103,"./ka":104,"./ka.js":104,"./kk":105,"./kk.js":105,"./km":106,"./km.js":106,"./kn":107,"./kn.js":107,"./ko":108,"./ko.js":108,"./ku":109,"./ku.js":109,"./ky":110,"./ky.js":110,"./lb":111,"./lb.js":111,"./lo":112,"./lo.js":112,"./lt":113,"./lt.js":113,"./lv":114,"./lv.js":114,"./me":115,"./me.js":115,"./mi":116,"./mi.js":116,"./mk":117,"./mk.js":117,"./ml":118,"./ml.js":118,"./mn":119,"./mn.js":119,"./mr":120,"./mr.js":120,"./ms":121,"./ms-my":122,"./ms-my.js":122,"./ms.js":121,"./mt":123,"./mt.js":123,"./my":124,"./my.js":124,"./nb":125,"./nb.js":125,"./ne":126,"./ne.js":126,"./nl":127,"./nl-be":128,"./nl-be.js":128,"./nl.js":127,"./nn":129,"./nn.js":129,"./pa-in":130,"./pa-in.js":130,"./pl":131,"./pl.js":131,"./pt":132,"./pt-br":133,"./pt-br.js":133,"./pt.js":132,"./ro":134,"./ro.js":134,"./ru":135,"./ru.js":135,"./sd":136,"./sd.js":136,"./se":137,"./se.js":137,"./si":138,"./si.js":138,"./sk":139,"./sk.js":139,"./sl":140,"./sl.js":140,"./sq":141,"./sq.js":141,"./sr":142,"./sr-cyrl":143,"./sr-cyrl.js":143,"./sr.js":142,"./ss":144,"./ss.js":144,"./sv":145,"./sv.js":145,"./sw":146,"./sw.js":146,"./ta":147,"./ta.js":147,"./te":148,"./te.js":148,"./tet":149,"./tet.js":149,"./tg":150,"./tg.js":150,"./th":151,"./th.js":151,"./tl-ph":152,"./tl-ph.js":152,"./tlh":153,"./tlh.js":153,"./tr"
27:154,"./tr.js":154,"./tzl":155,"./tzl.js":155,"./tzm":156,"./tzm-latn":157,"./tzm-latn.js":157,"./tzm.js":156,"./ug-cn":158,"./ug-cn.js":158,"./uk":159,"./uk.js":159,"./ur":160,"./ur.js":160,"./uz":161,"./uz-latn":162,"./uz-latn.js":162,"./uz.js":161,"./vi":163,"./vi.js":163,"./x-pseudo":164,"./x-pseudo.js":164,"./yo":165,"./yo.js":165,"./zh-cn":166,"./zh-cn.js":166,"./zh-hk":167,"./zh-hk.js":167,"./zh-tw":168,"./zh-tw.js":168};function n(e){var t=r(e);return a(t)}function r(e){if(!a.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}n.keys=function(){return Object.keys(i)},n.resolve=r,e.exports=n,n.id=188},function(e,t,a){"use strict";var i=a(18);a.n(i).a},function(e,t,a){"use strict";var i=a(19);a.n(i).a},function(e,t,a){"use strict";var i=a(20);a.n(i).a},function(e,t,a){"use strict";var i=a(21);a.n(i).a},function(e,t,a){"use strict";var i=a(22);a.n(i).a},function(e,t,a){"use strict";var i=a(23);a.n(i).a},function(e,t,a){"use strict";var i=a(24);a.n(i).a},function(e,t,a){"use strict";var i=a(25);a.n(i).a},function(e,t,a){"use strict";var i=a(26);a.n(i).a},function(e,t,a){"use strict";var i=a(27);a.n(i).a},function(e,t,a){"use strict";var i=a(28);a.n(i).a},function(e,t,a){"use strict";var i=a(29);a.n(i).a},function(e,t,a){"use strict";var i=a(30);a.n(i).a},function(e,t,a){"use strict";var i=a(31);a.n(i).a},function(e,t,a){"use strict";var i=a(32);a.n(i).a},function(e,t,a){"use strict";var i=a(33);a.n(i).a},function(e,t,a){"use strict";var i=a(34);a.n(i).a},function(e,t,a){"use strict";var i=a(35);a.n(i).a},function(e,t,a){"use strict";var i=a(36);a.n(i).a},function(e,t,a){"use strict";var i=a(37);a.n(i).a},function(e,t,a){"use strict";var i=a(38);a.n(i).a},function(e,t,a){"use strict";var i=a(39);a.n(i).a},function(e,t,a){"use strict";var i=a(40);a.n(i).a},function(e,t,a){"use strict";var i=a(41);a.n(i).a},function(module,exports,__webpack_require__){var factory;window,factory=function(){return modules=[function(e){e.exports=JSON.parse('{"BACKSPACE":8,"BACKSPACE_SAFARI":127,"DELETE":46,"DOWN":40,"END":35,"ENTER":13,"ESCAPE":27,"HOME":36,"INSERT":45,"LEFT":37,"PAGE_DOWN":34,"PAGE_UP":33,"RIGHT":39,"SPACE":32,"TAB":9,"UP":38,"X":88,"CONTROL":17}')},function(e,t,a){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var n=a(2),r=a(3),s=r.document,o=a(4).generateMaskSet,l=a(4).analyseMask,c=a(7);function u(e,t,a){if(!(this instanceof u))return new u(e,t,a);this.el=void 0,this.events={},this.maskset=void 0,this.refreshValue=!1,!0!==a&&(n.isPlainObject(e)?t=e:(t=t||{},e&&(t.alias=e)),this.opts=n.extend(!0,{},this.defaults,t),this.noMasksCache=t&&void 0!==t.definitions,this.userOptions=t||{},d(this.opts.alias,t,this.opts),this.isRTL=this.opts.numericInput)}function d(e,t,a){var i=u.prototype.aliases[e];return i?(i.alias&&d(i.alias,void 0,a),n.extend(!0,a,i),n.extend(!0,a,t),!0):(null===a.mask&&(a.mask=e),!1)}u.prototype={dataAttribute:"data-inputmask",defaults:{_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:n.noop,onincomplete:n.noop,oncleared:n.noop,repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:n.noop,onBeforeMask:null,onBeforePaste:function(e,t){return n.isFunction(t.onBeforeMask)?t.onBeforeMask.call(this,e,t):e},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:n.noop,skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:[8,9,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0},definitions:{9:{validator:"[0-91-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ]"}},aliases:{},masksCache:{},mask:function(e){var t=this;return"string"==typeof e&&(e=s.getElementById(e)||s.querySelectorAll(e)),e=e.nodeName?[e]:e,n.each(e,function(e,a){var i=n.extend(!0,{},t.opts);if(function(e,t,a,i){function s(t,n){null!==(n=void 0!==n?n:e.getAttribute(i+"-"+t))&&("string"==typeof n&&(0===t.indexOf("on")?n=r[n]:"false"===n?n=!1:"true"===n&&(n=!0)),a[t]=n)}if(!0===t.importDataAttributes){var o,l,c,u,p=e.getAttribute(i);if(p&&""!==p&&(p=p.replace(/'/g,'"'),l=JSON.parse("{"+p+"}")),l)for(u in c=void 0,l)if("alias"===u.toLowerCase()){c=l[u];break}for(o in s("alias",c),a.alias&&d(a.alias,a,t),t){if(l)for(u in c=void 0,l)if(u.toLowerCase()===o.toLowerCase()){c=l[u];break}
27s(o,c)}}return n.extend(!0,t,a),"rtl"!==e.dir&&!t.rightAlign||(e.style.textAlign="right"),"rtl"!==e.dir&&!t.numericInput||(e.dir="ltr",e.removeAttribute("dir"),t.isRTL=!0),Object.keys(a).length}(a,i,n.extend(!0,{},t.userOptions),t.dataAttribute)){var s=o(i,t.noMasksCache);void 0!==s&&(void 0!==a.inputmask&&(a.inputmask.opts.autoUnmask=!0,a.inputmask.remove()),a.inputmask=new u(void 0,void 0,!0),a.inputmask.opts=i,a.inputmask.noMasksCache=t.noMasksCache,a.inputmask.userOptions=n.extend(!0,{},t.userOptions),a.inputmask.isRTL=i.isRTL||i.numericInput,a.inputmask.el=a,a.inputmask.maskset=s,n.data(a,"_inputmask_opts",i),c.call(a.inputmask,{action:"mask"}))}}),e&&e[0]&&e[0].inputmask||this},option:function(e,t){return"string"==typeof e?this.opts[e]:"object"===i(e)?(n.extend(this.userOptions,e),this.el&&!0!==t&&this.mask(this.el),this):void 0},unmaskedvalue:function(e){return this.maskset=this.maskset||o(this.opts,this.noMasksCache),c.call(this,{action:"unmaskedvalue",value:e})},remove:function(){return c.call(this,{action:"remove"})},getemptymask:function(){return this.maskset=this.maskset||o(this.opts,this.noMasksCache),c.call(this,{action:"getemptymask"})},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||o(this.opts,this.noMasksCache),c.call(this,{action:"isComplete"})},getmetadata:function(){return this.maskset=this.maskset||o(this.opts,this.noMasksCache),c.call(this,{action:"getmetadata"})},isValid:function(e){return this.maskset=this.maskset||o(this.opts,this.noMasksCache),c.call(this,{action:"isValid",value:e})},format:function(e,t){return this.maskset=this.maskset||o(this.opts,this.noMasksCache),c.call(this,{action:"format",value:e,metadata:t})},setValue:function(e){this.el&&n(this.el).trigger("setvalue",[e])},analyseMask:l},u.extendDefaults=function(e){n.extend(!0,u.prototype.defaults,e)},u.extendDefinitions=function(e){n.extend(!0,u.prototype.definitions,e)},u.extendAliases=function(e){n.extend(!0,u.prototype.aliases,e)},u.format=function(e,t,a){return u(t).format(e,a)},u.unmask=function(e,t){return u(t).unmaskedvalue(e)},u.isValid=function(e,t){return u(t).isValid(e)},u.remove=function(e){"string"==typeof e&&(e=s.getElementById(e)||s.querySelectorAll(e)),e=e.nodeName?[e]:e,n.each(e,function(e,t){t.inputmask&&t.inputmask.remove()})},u.setValue=function(e,t){"string"==typeof e&&(e=s.getElementById(e)||s.querySelectorAll(e)),e=e.nodeName?[e]:e,n.each(e,function(e,a){a.inputmask?a.inputmask.setValue(t):n(a).trigger("setvalue",[t])})};var p=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim");u.escapeRegex=function(e){return e.replace(p,"\\$1")},u.dependencyLib=n,r.Inputmask=u,e.exports=u},function(e,t,a){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var n=a(3),r=n.document;function s(e){return null!=e&&e===e.window}function o(e){return e instanceof Element}function l(e){return e instanceof l?e:this instanceof l?void(null!=e&&e!==n&&(this[0]=e.nodeName?e:void 0!==e[0]&&e[0].nodeName?e[0]:r.querySelector(e),void 0!==this[0]&&null!==this[0]&&(this[0].eventRegistry=this[0].eventRegistry||{}))):new l(e)}l.prototype={on:function(e,t){function a(e,a){n.addEventListener?n.addEventListener(e,t,!1):n.attachEvent&&n.attachEvent("on"+e,t),i[e]=i[e]||{},i[e][a]=i[e][a]||[],i[e][a].push(t)}if(o(this[0]))for(var i=this[0].eventRegistry,n=this[0],r=e.split(" "),s=0;s<r.length;s++){var l=r[s].split(".");a(l[0],l[1]||"global")}return this},off:function(e,t){var a,i;function n(e,t,n){if(e in a==1)if(i.removeEventListener?i.removeEventListener(e,n,!1):i.detachEvent&&i.detachEvent("on"+e,n),"global"===t)for(var r in a[e])a[e][r].splice(a[e][r].indexOf(n),1);else a[e][t].splice(a[e][t].indexOf(n),1)}function r(e,i){var n,r,s=[];if(0<e.length)if(void 0===t)for(n=0,r=a[e][i].length;n<r;n++)s.push({ev:e,namespace:i&&0<i.length?i:"global",handler:a[e][i][n]});else s.push({ev:e,namespace:i&&0<i.length?i:"global",handler:t});else if(0<i.length)for(var o in a)for(var l in a[o])if(l===i)if(void 0===t)for(n=0,r=a[o][l].length;n<r;n++)s.push({ev:o,namespace:l,handler:a[o][l][n]});else s.push({ev:o,namespace:l,handler:t});return s}if(o(this[0])){a=this[0].eventRegistry,i=this[0];for(var s=e.split(" "),l=0;l<s.length;l++)for(var c=s[l].split("."),u=r(c[0],c[1]),d=0,p=u.length;d<p;d++)n(u[d].ev,u[d].namespace,u[d].handler)}return this},trigger:function(e,t){if(o(this[0]))for(var a=this[0].eventRegistry,i=this[0],n="string"==typeof e?e.split(" "):[e.type],s=0;s<n.length;s++){var c=n[s].split("."),u=c[0],d=c[1]||"global";if(void 0!==r&&"global"===d){var p,m,h={bubbles:!0,cancelable:!0,detail:t};if(r.createEvent){try{p=new CustomEvent(u,h)}catch(e){(p=r.createEvent("CustomEvent")).initCustomEvent(u,h.bubbles,h.cancelable,h.detail)}e.type&&l.extend(p,e),i.dispatchEvent(p)}else(p=r.createEventObject()).eventType=u,p.detail=t,e.type&&l.extend(p,e),i.fireEvent("on"+p.eventType,p)}else if(void 0!==a[u])if((e=e.type?e:l.Event(e)).detail=arguments.slice(1),"global"===d)for(var f in a[u])for(m=0;m<a[u][f].length;m++)a[u][f][m].apply(i,arguments);else for(m=0;m<a[u][d].length;m++)a[u][d][m].apply(i,arguments)}return this}},l.isFunction=function(e){return"function"==typeof e},l.noop=function(){},l.isArray=Array.isArray,l.inArray=function(e,t,a){return null==t?-1:function(e,t){for(var a=0,i=e.length;a<i;a++)if(e[a]===t)return a;return-1}(t,e)},l.valHooks=void 0,l.isPlainObject=function(e){return!("object"!==i(e)||e.nodeType||s(e)||e.constructor&&!Object.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))},l.extend=function(){var e,t,a,n,r,s,o=arguments[0]||{},c=1,u=arguments.length,d=!1;
27for("boolean"==typeof o&&(d=o,o=arguments[c]||{},c++),"object"===i(o)||l.isFunction(o)||(o={}),c===u&&(o=this,c--);c<u;c++)if(null!=(e=arguments[c]))for(t in e)a=o[t],o!==(n=e[t])&&(d&&n&&(l.isPlainObject(n)||(r=l.isArray(n)))?(s=r?(r=!1,a&&l.isArray(a)?a:[]):a&&l.isPlainObject(a)?a:{},o[t]=l.extend(d,s,n)):void 0!==n&&(o[t]=n));return o},l.each=function(e,t){var a=0;if(function(e){var t="length"in e&&e.length,a=i(e);return"function"!==a&&!s(e)&&(!(1!==e.nodeType||!t)||"array"===a||0===t||"number"==typeof t&&0<t&&t-1 in e)}(e))for(var n=e.length;a<n&&!1!==t.call(e[a],a,e[a]);a++);else for(a in e)if(!1===t.call(e[a],a,e[a]))break;return e},l.data=function(e,t,a){if(void 0===a)return e.__data?e.__data[t]:null;e.__data=e.__data||{},e.__data[t]=a},"function"==typeof n.CustomEvent?l.Event=n.CustomEvent:(l.Event=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var a=r.createEvent("CustomEvent");return a.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),a},l.Event.prototype=n.Event.prototype),e.exports=l},function(module,exports,__webpack_require__){"use strict";var __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(e){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}__WEBPACK_AMD_DEFINE_RESULT__=function(){return"undefined"!=typeof window?window:new(eval("require('jsdom').JSDOM"))("").window}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(e,t,a){"use strict";var i=a(2);e.exports={generateMaskSet:function(e,t){function a(e,a,n){var r,s,o=!1;if(null!==e&&""!==e||(e=(o=null!==n.regex)?(e=n.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(o=!0,".*")),1===e.length&&!1===n.greedy&&0!==n.repeat&&(n.placeholder=""),0<n.repeat||"*"===n.repeat||"+"===n.repeat){var l="*"===n.repeat?0:"+"===n.repeat?1:n.repeat;e=n.groupmarker[0]+e+n.groupmarker[1]+n.quantifiermarker[0]+l+","+n.repeat+n.quantifiermarker[1]}return s=o?"regex_"+n.regex:n.numericInput?e.split("").reverse().join(""):e,!1!==n.keepStatic&&(s="ks_"+s),void 0===Inputmask.prototype.masksCache[s]||!0===t?(r={mask:e,maskToken:Inputmask.prototype.analyseMask(e,o,n),validPositions:{},_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:a,maskLength:void 0,jitOffset:{}},!0!==t&&(Inputmask.prototype.masksCache[s]=r,r=i.extend(!0,{},Inputmask.prototype.masksCache[s]))):r=i.extend(!0,{},Inputmask.prototype.masksCache[s]),r}if(i.isFunction(e.mask)&&(e.mask=e.mask(e)),i.isArray(e.mask)){if(1<e.mask.length){null===e.keepStatic&&(e.keepStatic=!0);var n=e.groupmarker[0];return i.each(e.isRTL?e.mask.reverse():e.mask,function(t,a){1<n.length&&(n+=e.groupmarker[1]+e.alternatormarker+e.groupmarker[0]),void 0===a.mask||i.isFunction(a.mask)?n+=a:n+=a.mask}),a(n+=e.groupmarker[1],e.mask,e)}e.mask=e.mask.pop()}return null===e.keepStatic&&(e.keepStatic=!1),e.mask&&void 0!==e.mask.mask&&!i.isFunction(e.mask.mask)?a(e.mask.mask,e.mask,e):a(e.mask,e.mask,e)},analyseMask:function(e,t,a){var n,r,s,o,l,c,u=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,d=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,p=!1,m=new v,h=[],f=[],_=!1;function v(e,t,a,i){this.matches=[],this.openGroup=e||!1,this.alternatorGroup=!1,this.isGroup=e||!1,this.isOptional=t||!1,this.isQuantifier=a||!1,this.isAlternator=i||!1,this.quantifier={min:1,max:1}}function g(e,n,r){r=void 0!==r?r:e.matches.length;var s=e.matches[r-1];if(t)0===n.indexOf("[")||p&&/\\d|\\s|\\w]/i.test(n)||"."===n?e.matches.splice(r++,0,{fn:new RegExp(n,a.casing?"i":""),static:!1,optionality:!1,newBlockMarker:void 0===s?"master":s.def!==n,casing:null,def:n,placeholder:void 0,nativeDef:n}):(p&&(n=n[n.length-1]),i.each(n.split(""),function(t,i){s=e.matches[r-1],e.matches.splice(r++,0,{fn:/[a-z]/i.test(a.staticDefinitionSymbol||i)?new RegExp("["+(a.staticDefinitionSymbol||i)+"]",a.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===s?"master":s.def!==i&&!0!==s.static,casing:null,def:a.staticDefinitionSymbol||i,placeholder:void 0!==a.staticDefinitionSymbol?i:void 0,nativeDef:(
27p?"'":"")+i})})),p=!1;else{var o=(a.definitions?a.definitions[n]:void 0)||Inputmask.prototype.definitions[n];o&&!p?e.matches.splice(r++,0,{fn:o.validator?"string"==typeof o.validator?new RegExp(o.validator,a.casing?"i":""):new function(){this.test=o.validator}:new RegExp("."),static:o.static||!1,optionality:!1,newBlockMarker:void 0===s?"master":s.def!==(o.definitionSymbol||n),casing:o.casing,def:o.definitionSymbol||n,placeholder:o.placeholder,nativeDef:n,generated:o.generated}):(e.matches.splice(r++,0,{fn:/[a-z]/i.test(a.staticDefinitionSymbol||n)?new RegExp("["+(a.staticDefinitionSymbol||n)+"]",a.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===s?"master":s.def!==n&&!0!==s.static,casing:null,def:a.staticDefinitionSymbol||n,placeholder:void 0!==a.staticDefinitionSymbol?n:void 0,nativeDef:(p?"'":"")+n}),p=!1)}}function y(){if(0<h.length){if(g(o=h[h.length-1],r),o.isAlternator){l=h.pop();for(var e=0;e<l.matches.length;e++)l.matches[e].isGroup&&(l.matches[e].isGroup=!1);0<h.length?(o=h[h.length-1]).matches.push(l):m.matches.push(l)}}else g(m,r)}function b(e){var t=new v(!0);return t.openGroup=!1,t.matches=e,t}function k(){if((s=h.pop()).openGroup=!1,void 0!==s)if(0<h.length){if((o=h[h.length-1]).matches.push(s),o.isAlternator){l=h.pop();for(var e=0;e<l.matches.length;e++)l.matches[e].isGroup=!1,l.matches[e].alternatorGroup=!1;0<h.length?(o=h[h.length-1]).matches.push(l):m.matches.push(l)}}else m.matches.push(s);else y()}function w(e){var t=e.pop();return t.isQuantifier&&(t=b([e.pop(),t])),t}for(t&&(a.optionalmarker[0]=void 0,a.optionalmarker[1]=void 0);n=t?d.exec(e):u.exec(e);){if(r=n[0],t)switch(r.charAt(0)){case"?":r="{0,1}";break;case"+":case"*":r="{"+r+"}";break;case"|":if(0===h.length){var M=b(m.matches);M.openGroup=!0,h.push(M),m.matches=[],_=!0}}if(p)y();else switch(r.charAt(0)){case"(?=":case"(?!":case"(?<=":case"(?<!":break;case a.escapeChar:p=!0,t&&y();break;case a.optionalmarker[1]:case a.groupmarker[1]:k();break;case a.optionalmarker[0]:h.push(new v(!1,!0));break;case a.groupmarker[0]:h.push(new v(!0));break;case a.quantifiermarker[0]:var S=new v(!1,!1,!0),D=(r=r.replace(/[{}]/g,"")).split("|"),L=D[0].split(","),T=isNaN(L[0])?L[0]:parseInt(L[0]),x=1===L.length?T:isNaN(L[1])?L[1]:parseInt(L[1]);"*"!==T&&"+"!==T||(T="*"===x?0:1),S.quantifier={min:T,max:x,jit:D[1]};var C=0<h.length?h[h.length-1].matches:m.matches;if((n=C.pop()).isAlternator){C.push(n),C=n.matches;var Y=new v(!0),A=C.pop();C.push(Y),C=Y.matches,n=A}n.isGroup||(n=b([n])),C.push(n),C.push(S);break;case a.alternatormarker:if(0<h.length){var E=(o=h[h.length-1]).matches[o.matches.length-1];c=o.openGroup&&(void 0===E.matches||!1===E.isGroup&&!1===E.isAlternator)?h.pop():w(o.matches)}else c=w(m.matches);if(c.isAlternator)h.push(c);else if(c.alternatorGroup?(l=h.pop(),c.alternatorGroup=!1):l=new v(!1,!1,!1,!0),l.matches.push(c),h.push(l),c.openGroup){c.openGroup=!1;var O=new v(!0);O.alternatorGroup=!0,h.push(O)}break;default:y()}}for(_&&k();0<h.length;)s=h.pop(),m.matches.push(s);return 0<m.matches.length&&(function e(n){n&&n.matches&&i.each(n.matches,function(i,r){var s=n.matches[i+1];(void 0===s||void 0===s.matches||!1===s.isQuantifier)&&r&&r.isGroup&&(r.isGroup=!1,t||(g(r,a.groupmarker[0],0),!0!==r.openGroup&&g(r,a.groupmarker[1]))),e(r)})}(m),f.push(m)),(a.numericInput||a.isRTL)&&function e(t){for(var i in t.matches=t.matches.reverse(),t.matches)if(Object.prototype.hasOwnProperty.call(t.matches,i)){var n=parseInt(i);if(t.matches[i].isQuantifier&&t.matches[n+1]&&t.matches[n+1].isGroup){var r=t.matches[i];t.matches.splice(i,1),t.matches.splice(n+1,0,r)}void 0!==t.matches[i].matches?t.matches[i]=e(t.matches[i]):t.matches[i]=((s=t.matches[i])===a.optionalmarker[0]?s=a.optionalmarker[1]:s===a.optionalmarker[1]?s=a.optionalmarker[0]:s===a.groupmarker[0]?s=a.groupmarker[1]:s===a.groupmarker[1]&&(s=a.groupmarker[0]),s)}var s;return t}(f[0]),f}}},function(e,t,a){"use strict";a(6),a(8),a(9),e.exports=a(1)},function(e,t,a){"use strict";var i=a(1);i.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"}
27,"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}});var n=new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]");function r(e,t,a,i,r){return e=-1<a-1&&"."!==t.buffer[a-1]?(e=t.buffer[a-1]+e,-1<a-2&&"."!==t.buffer[a-2]?t.buffer[a-2]+e:"0"+e):"00"+e,n.test(e)}i.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)//.*",autoUnmask:!1},ip:{mask:"i[i[i]].j[j[j]].k[k[k]].l[l[l]]",definitions:{i:{validator:r},j:{validator:r},k:{validator:r},l:{validator:r}},onUnMask:function(e,t,a){return e},inputmode:"numeric"},email:{mask:"*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",greedy:!1,casing:"lower",onBeforePaste:function(e,t){return(e=e.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(e,t,a){return e},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0}}),e.exports=i},function(e,t,a){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var n=a(2),r=a(3),s=r.document,o=r.navigator&&r.navigator.userAgent||"",l=0<o.indexOf("MSIE ")||0<o.indexOf("Trident/"),c="ontouchstart"in r,u=/iemobile/i.test(o),d=/iphone/i.test(o)&&!u,p=a(0);e.exports=function e(t,a,o){a=a||this.maskset,o=o||this.opts;var m,h,f,_=this,v=this.el,g=this.isRTL||(this.isRTL=o.numericInput),y=!1,b=!1,k=!1,w=!1,M=!1,S=void 0;function D(e,t,i,n,r){var s=o.greedy;r&&(o.greedy=!1),t=t||0;var l,c,u,d=[],p=0;do{if(!0===e&&a.validPositions[p])c=(u=r&&!0===a.validPositions[p].match.optionality&&void 0===a.validPositions[p+1]&&(!0===a.validPositions[p].generatedInput||a.validPositions[p].input==o.skipOptionalPartCharacter&&0<p)?Y(p,I(p,l,p-1)):a.validPositions[p]).match,l=u.locator.slice(),d.push(!0===i?u.input:!1===i?c.nativeDef:G(p,c));else{c=(u=A(p,l,p-1)).match,l=u.locator.slice();var m=!0!==n&&(!1!==o.jitMasking?o.jitMasking:c.jit);(!1===m||void 0===m||"number"==typeof m&&isFinite(m)&&p<m)&&d.push(!1===i?c.nativeDef:G(p,c))}p++}while((void 0===f||p<f)&&(!0!==c.static||""!==c.def)||p<t);return""===d[d.length-1]&&d.pop(),!1===i&&void 0!==a.maskLength||(a.maskLength=p-1),o.greedy=s,d}function L(e){a.buffer=void 0,!0!==e&&(a.validPositions={},a.p=0)}function T(e,t,i){var n=-1,r=-1,s=i||a.validPositions;for(var o in void 0===e&&(e=-1),s){var l=parseInt(o);s[l]&&(t||!0!==s[l].generatedInput)&&(l<=e&&(n=l),e<=l&&(r=l))}return-1===n||n==e?r:-1==r?n:e-n<r-e?n:r}function x(e){var t=e.locator[e.alternation];
27return"string"==typeof t&&0<t.length&&(t=t.split(",")[0]),void 0!==t?t.toString():""}function C(e,t){var a=(null!=e.alternation?e.mloc[x(e)]:e.locator).join("");if(""!==a)for(;a.length<t;)a+="0";return a}function Y(e,t){for(var a,i,n,r=C(E(e=0<e?e-1:0)),s=0;s<t.length;s++){var l=t[s];a=C(l,r.length);var c=Math.abs(a-r);(void 0===i||""!==a&&c<i||n&&!o.greedy&&n.match.optionality&&"master"===n.match.newBlockMarker&&(!l.match.optionality||!l.match.newBlockMarker)||n&&n.match.optionalQuantifier&&!l.match.optionalQuantifier)&&(i=c,n=l)}return n}function A(e,t,i){return a.validPositions[e]||Y(e,I(e,t?t.slice():t,i))}function E(e,t){return a.validPositions[e]?a.validPositions[e]:(t||I(e))[0]}function O(e,t,i){for(var n=!1,r=I(e),s=i.shiftPositions?"def":"nativeDef",o=0;o<r.length;o++)if(r[o].match&&r[o].match[s]===t.match[s]){n=!0;break}return!1===n&&void 0!==a.jitOffset[e]&&(n=O(e+a.jitOffset[e],t,i)),n}function I(e,t,i){var r,s=a.maskToken,l=t?i:0,c=t?t.slice():[0],u=[],d=!1,p=t?t.join(""):"";function m(t,i,s,c){function h(s,c,f){function _(e,t){var a=0===n.inArray(e,t.matches);return a||n.each(t.matches,function(i,n){if(!0===n.isQuantifier?a=_(e,t.matches[i-1]):Object.prototype.hasOwnProperty.call(n,"matches")&&(a=_(e,n)),a)return!1}),a}function v(e,t,i){var r,s;if((a.tests[e]||a.validPositions[e])&&n.each(a.tests[e]||[a.validPositions[e]],function(e,a){if(a.mloc[t])return r=a,!1;var n=void 0!==i?i:a.alternation,o=void 0!==a.locator[n]?a.locator[n].toString().indexOf(t):-1;(void 0===s||o<s)&&-1!==o&&(r=a,s=o)}),r){var o=r.locator[r.alternation];return(r.mloc[t]||r.mloc[o]||r.locator).slice((void 0!==i?i:r.alternation)+1)}return void 0!==i?v(e,t):void 0}function g(e,t){function a(e){for(var t,a=[],i=-1,n=0,r=e.length;n<r;n++)if("-"===e.charAt(n))for(t=e.charCodeAt(n+1);++i<t;)a.push(String.fromCharCode(i));else i=e.charCodeAt(n),a.push(e.charAt(n));return a.join("")}return e.match.def===t.match.nativeDef||!(!(o.regex||e.match.fn instanceof RegExp&&t.match.fn instanceof RegExp)||!0===e.match.static||!0===t.match.static)&&-1!==a(t.match.fn.toString().replace(/[[\]/]/g,"")).indexOf(a(e.match.fn.toString().replace(/[[\]/]/g,"")))}function y(e,t){var a=e.alternation,i=void 0===t||a===t.alternation&&-1===e.locator[a].toString().indexOf(t.locator[a]);if(!i&&a>t.alternation)for(var n=t.alternation;n<a;n++)if(e.locator[n]!==t.locator[n]){a=n,i=!0;break}if(i){e.mloc=e.mloc||{};var r=e.locator[a];if(void 0!==r){if("string"==typeof r&&(r=r.split(",")[0]),void 0===e.mloc[r]&&(e.mloc[r]=e.locator.slice()),void 0!==t){for(var s in t.mloc)"string"==typeof s&&(s=s.split(",")[0]),void 0===e.mloc[s]&&(e.mloc[s]=t.mloc[s]);e.locator[a]=Object.keys(e.mloc).join(",")}return!0}e.alternation=void 0}return!1}if(l>o._maxTestPos&&void 0!==f)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+a.mask;if(l===e&&void 0===s.matches)return u.push({match:s,locator:c.reverse(),cd:p,mloc:{}}),!0;if(void 0!==s.matches){if(s.isGroup&&f!==s){if(s=h(t.matches[n.inArray(s,t.matches)+1],c,f))return!0}else if(s.isOptional){var b=s,k=u.length;if(s=m(s,i,c,f)){if(n.each(u,function(e,t){k<=e&&(t.match.optionality=!0)}),r=u[u.length-1].match,void 0!==f||!_(r,b))return!0;d=!0,l=e}}else if(s.isAlternator){var w,M=s,S=[],D=u.slice(),L=c.length,T=0<i.length?i.shift():-1;if(-1===T||"string"==typeof T){var x,C=l,Y=i.slice(),A=[];if("string"==typeof T)A=T.split(",");else for(x=0;x<M.matches.length;x++)A.push(x.toString());if(void 0!==a.excludes[e]){for(var E=A.slice(),O=0,I=a.excludes[e].length;O<I;O++){var F=a.excludes[e][O].toString().split(":");c.length==F[1]&&A.splice(A.indexOf(F[0]),1)}0===A.length&&(delete a.excludes[e],A=E)}(!0===o.keepStatic||isFinite(parseInt(o.keepStatic))&&C>=o.keepStatic)&&(A=A.slice(0,1));for(var P=!1,j=0;j<A.length;j++){x=parseInt(A[j]),u=[],i="string"==typeof T&&v(l,x,L)||Y.slice(),M.matches[x]&&h(M.matches[x],[x].concat(c),f)?s=!0:0===j&&(P=!0),w=u.slice(),l=C,u=[];for(var H=0;H<w.length;H++){var $=w[H],N=!1;$.match.jit=$.match.jit||P,$.alternation=$.alternation||L,y($);for(var q=0;q<S.length;q++){var R=S[q];if("string"!=typeof T||void 0!==$.alternation&&-1!==n.inArray($.locator[$.alternation].toString(),A)){if($.match.nativeDef===R.match.nativeDef){N=!0,y(R,$);break}if(g($,R)){y($,R)&&(N=!0,S.splice(S.indexOf(R),0,$));break}if(g(R,$)){y(R,$);break}if(V=R,!0===(U=$).match.static&&!0!==V.match.static&&V.match.fn.test(U.match.def,a,e,!1,o,!1)){y($,R)&&(N=!0,S.splice(S.indexOf(R),0,$));break}}}N||S.push($)}}u=D.concat(S),l=e,d=0<u.length,s=0<S.length,i=Y.slice()}else s=h(M.matches[T]||t.matches[T],[T].concat(c),f);if(s)return!0}else if(s.isQuantifier&&f!==t.matches[n.inArray(s,t.matches)-1])for(var B=s,W=0<i.length?i.shift():0;W<(isNaN(B.quantifier.max)?W+1:B.quantifier.max)&&l<=e;W++){var z=t.matches[n.inArray(B,t.matches)-1];if(s=h(z,[W].concat(c),z)){if((r=u[u.length-1].match).optionalQuantifier=W>=B.quantifier.min,r.jit=(W||1)*z.matches.indexOf(r)>=B.quantifier.jit,r.optionalQuantifier&&_(r,z)){d=!0,l=e;break}return r.jit&&(a.jitOffset[e]=z.matches.length-z.matches.indexOf(r)),!0}}else if(s=m(s,i,c,f))return!0}else l++;var U,V}for(var f=0<i.length?i.shift():0;f<t.matches.length;f++)if(!0!==t.matches[f].isQuantifier){var _=h(t.matches[f],[f].concat(s),c);if(_&&l===e)return _;if(e<l)break}}if(-1<e&&(void 0===f||e<f)){if(void 0===t){for(var h,_=e-1;void 0===(h=a.validPositions[_]||a.tests[_])&&-1<_;)_--;void 0!==h&&-1<_&&(c=function(e,t){var a=[];return n.isArray(t)||(t=[t]),0<t.length&&(void 0===t[0].alternation||!0===o.keepStatic?0===(a=Y(e,t.slice()).locator.slice()).length&&(a=t[0].locator.slice()):n.each(t,function(e,t){if(""!==t.def)if(0===a.length)a=t.locator.slice();else for(var i=0;i<a.length;i++)t.locator[i]&&-1===a[i].toString().indexOf(t.locator[i])&&(a[i]+=","+t.locator[i])})),a}(_,h),p=c.join(""),l=_)}if(a.tests[e]&&a.tests[e][0].cd===p)return a.tests[e];for(var v=c.shift();v<s.length&&!(m(s[v],c,[v])&&l===e||e<l);v++);}
27return 0!==u.length&&!d||u.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:p}),void 0!==t&&a.tests[e]?n.extend(!0,[],u):(a.tests[e]=n.extend(!0,[],u),a.tests[e])}function F(){return void 0===a._buffer&&(a._buffer=D(!1,1),void 0===a.buffer&&(a.buffer=a._buffer.slice())),a._buffer}function P(e){return void 0!==a.buffer&&!0!==e||(a.buffer=D(!0,T(),!0),void 0===a._buffer&&(a._buffer=a.buffer.slice())),a.buffer}function j(e,t,i){var r,s,l=o.skipOptionalPartCharacter,c=g?i.slice().reverse():i;if(o.skipOptionalPartCharacter="",!0===e)L(),a.tests={},e=0,t=i.length,s=K({begin:0,end:0},!1).begin;else{for(r=e;r<t;r++)delete a.validPositions[r];s=e}var u=new n.Event("keypress");for(r=e;r<t;r++){u.which=c[r].toString().charCodeAt(0),w=!1;var d=X.keypressEvent.call(v,u,!0,!1,!1,s);!1!==d&&(s=d.forwardPosition)}o.skipOptionalPartCharacter=l}function H(e,t,i){switch(o.casing||t.casing){case"upper":e=e.toUpperCase();break;case"lower":e=e.toLowerCase();break;case"title":var r=a.validPositions[i-1];e=0===i||r&&r.input===String.fromCharCode(p.SPACE)?e.toUpperCase():e.toLowerCase();break;default:if(n.isFunction(o.casing)){var s=Array.prototype.slice.call(arguments);s.push(a.validPositions),e=o.casing.apply(this,s)}}return e}function $(e,t,a){for(var i,r=o.greedy?t:t.slice(0,1),s=!1,l=void 0!==a?a.split(","):[],c=0;c<l.length;c++)-1!==(i=e.indexOf(l[c]))&&e.splice(i,1);for(var u=0;u<e.length;u++)if(-1!==n.inArray(e[u],r)){s=!0;break}return s}function N(e,t,i,r,s,l){var c,u,d,p,m,h,f,_,v,g=n.extend(!0,{},a.validPositions),y=n.extend(!0,{},a.tests),b=!1,k=!1,w=void 0!==s?s:T();if(l&&(_=l.begin,v=l.end,l.begin>l.end&&(_=l.end,v=l.begin)),-1===w&&void 0===s)u=(p=E(c=0)).alternation;else for(;0<=w;w--)if((d=a.validPositions[w])&&void 0!==d.alternation){if(p&&p.locator[d.alternation]!==d.locator[d.alternation])break;c=w,u=a.validPositions[c].alternation,p=d}if(void 0!==u){f=parseInt(c),a.excludes[f]=a.excludes[f]||[],!0!==e&&a.excludes[f].push(x(p)+":"+p.alternation);var M=[],S=-1;for(m=f;m<T(void 0,!0)+1;m++)-1===S&&e<=m&&void 0!==t&&(M.push(t),S=M.length-1),(h=a.validPositions[m])&&!0!==h.generatedInput&&(void 0===l||m<_||v<=m)&&M.push(h.input),delete a.validPositions[m];for(-1===S&&void 0!==t&&(M.push(t),S=M.length-1);void 0!==a.excludes[f]&&a.excludes[f].length<10;){for(a.tests={},L(!0),b=!0,m=0;m<M.length&&(b=q(b.caret||T(void 0,!0)+1,M[m],!1,r,!0));m++)m===S&&(k=b),1==e&&b&&(k={caretPos:m});if(b)break;
27if(L(),p=E(f),a.validPositions=n.extend(!0,{},g),a.tests=n.extend(!0,{},y),!a.excludes[f]){k=N(e,t,i,r,f-1,l);break}var D=x(p);if(-1!==a.excludes[f].indexOf(D+":"+p.alternation)){k=N(e,t,i,r,f-1,l);break}for(a.excludes[f].push(D+":"+p.alternation),m=f;m<T(void 0,!0)+1;m++)delete a.validPositions[m]}}return k&&!1===o.keepStatic||delete a.excludes[f],k}function q(e,t,i,r,s,l){function c(e){return g?1<e.begin-e.end||e.begin-e.end==1:1<e.end-e.begin||e.end-e.begin==1}i=!0===i;var u=e;function d(e){if(void 0!==e){if(void 0!==e.remove&&(n.isArray(e.remove)||(e.remove=[e.remove]),n.each(e.remove.sort(function(e,t){return t.pos-e.pos}),function(e,t){B({begin:t,end:t+1})}),e.remove=void 0),void 0!==e.insert&&(n.isArray(e.insert)||(e.insert=[e.insert]),n.each(e.insert.sort(function(e,t){return e.pos-t.pos}),function(e,t){""!==t.c&&q(t.pos,t.c,void 0===t.strict||t.strict,void 0!==t.fromIsValid?t.fromIsValid:r)}),e.insert=void 0),e.refreshFromBuffer&&e.buffer){var t=e.refreshFromBuffer;j(!0===t?t:t.start,t.end,e.buffer),e.refreshFromBuffer=void 0}void 0!==e.rewritePosition&&(u=e.rewritePosition,e=!0)}return e}function p(t,i,s){var l=!1;return n.each(I(t),function(u,p){var m=p.match;if(P(!0),!1!==(l=null!=m.fn?m.fn.test(i,a,t,s,o,c(e)):(i===m.def||i===o.skipOptionalPartCharacter)&&""!==m.def&&{c:G(t,m,!0)||m.def,pos:t})){var h=void 0!==l.c?l.c:i,f=t;return h=h===o.skipOptionalPartCharacter&&!0===m.static?G(t,m,!0)||m.def:h,!0!==(l=d(l))&&void 0!==l.pos&&l.pos!==t&&(f=l.pos),(!0===l||void 0!==l.pos||void 0!==l.c)&&(!1===B(e,n.extend({},p,{input:H(h,m,f)}),r,f)&&(l=!1),!1)}}),l}void 0!==e.begin&&(u=g?e.end:e.begin);var m=!0,h=n.extend(!0,{},a.validPositions);if(!1===o.keepStatic&&void 0!==a.excludes[u]&&!0!==s&&!0!==r)for(var _=u;_<(g?e.begin:e.end);_++)void 0!==a.excludes[_]&&(a.excludes[_]=void 0,delete a.tests[_]);if(n.isFunction(o.preValidation)&&!0!==r&&!0!==l&&(m=d(m=o.preValidation.call(v,P(),u,t,c(e),o,a,e,i||s))),!0===m){if(void 0===f||u<f){if(m=p(u,t,i),(!i||!0===r)&&!1===m&&!0!==l){var y=a.validPositions[u];if(!y||!0!==y.match.static||y.match.def!==t&&t!==o.skipOptionalPartCharacter){if(o.insertMode||void 0===a.validPositions[z(u)]||e.end>u){var b=!1;if(a.jitOffset[u]&&void 0===a.validPositions[z(u)]&&!1!==(m=q(u+a.jitOffset[u],t,!0))&&(!0!==s&&(m.caret=u),b=!0),e.end>u&&(a.validPositions[u]=void 0),!b&&!W(u,o.keepStatic))for(var k=u+1,w=z(u);k<=w;k++)if(!1!==(m=p(k,t,i))){m=R(u,void 0!==m.pos?m.pos:k)||m,u=k;break}}}else m={caret:z(u)}}}else m=!1;!1!==m||!o.keepStatic||!se(P())&&0!==u||i||!0===s?c(e)&&a.tests[u]&&1<a.tests[u].length&&o.keepStatic&&!i&&!0!==s&&(m=N(!0)):m=N(u,t,i,r,void 0,e),!0===m&&(m={pos:u})}if(n.isFunction(o.postValidation)&&!0!==r&&!0!==l){var M=o.postValidation.call(v,P(!0),void 0!==e.begin?g?e.end:e.begin:e,t,m,o,a,i);void 0!==M&&(m=!0===M?m:M)}return m&&void 0===m.pos&&(m.pos=u),!1===m||!0===l?(L(!0),a.validPositions=n.extend(!0,{},h)):R(void 0,u,!0),d(m)}function R(e,t,i){if(void 0===e)for(e=t-1;0<e&&!a.validPositions[e];e--);for(var r=e;r<t;r++)if(void 0===a.validPositions[r]&&!W(r,!0)&&(0==r?E(r):a.validPositions[r-1])){var s=I(r).slice();""===s[s.length-1].match.def&&s.pop();var o,l=Y(r,s);if(l&&(!0!==l.match.jit||"master"===l.match.newBlockMarker&&(o=a.validPositions[r+1])&&!0===o.match.optionalQuantifier)&&((l=n.extend({},l,{input:G(r,l.match,!0)||l.match.def})).generatedInput=!0,B(r,l,!0),!0!==i)){var c=a.validPositions[t].input;return a.validPositions[t]=void 0,q(t,c,!0,!0)}}}function B(e,t,i,r){function s(e,t,a){var i=t[e];if(void 0===i||!0!==i.match.static||!0===i.match.optionality||void 0!==t[0]&&void 0!==t[0].alternation)return!1;var n=a.begin<=e-1?t[e-1]&&!0===t[e-1].match.static&&t[e-1]:t[e-1],r=a.end>e+1?t[e+1]&&!0===t[e+1].match.static&&t[e+1]:t[e+1];return n&&r}var l=0,c=void 0!==e.begin?e.begin:e,u=void 0!==e.end?e.end:e;if(e.begin>e.end&&(c=e.end,u=e.begin),r=void 0!==r?r:c,c!==u||o.insertMode&&void 0!==a.validPositions[r]&&void 0===i||void 0===t){var d,p=n.extend(!0,{},a.validPositions),m=T(void 0,!0);for(a.p=c,d=m;c<=d;d--)delete a.validPositions[d],void 0===t&&delete a.tests[d+1];var h,f=!0,_=r,v=_;for(d=_,t&&(a.validPositions[r]=n.extend(!0,{},t),v++,_++,c<u&&d++);d<=m;d++){if(void 0!==(h=p[d])&&!0!==h.generatedInput&&(u<=d||c<=d&&s(d,p,{begin:c,end:u}))){for(;""!==E(v).match.def;){if(O(v,h,o)||"+"===h.match.def){"+"===h.match.def&&P(!0);var g=q(v,h.input,"+"!==h.match.def,"+"!==h.match.def);if(f=!1!==g,_=(g.pos||v)+1,!f)break}else f=!1;if(f){void 0===t&&h.match.static&&d===e.begin&&l++;break}if(!f&&v>a.maskLength)break;v++}""==E(v).match.def&&(f=!1),v=_}if(!f)break}if(!f)return a.validPositions=n.extend(!0,{},p),L(!0),!1}else t&&E(r).match.cd===t.match.cd&&(a.validPositions[r]=n.extend(!0,{},t));return L(!0),l}function W(e,t,i){var n=A(e).match;if(""===n.def&&(n=E(e).match),!0!==n.static)return n.fn;
27if(!0===i&&void 0!==a.validPositions[e]&&!0!==a.validPositions[e].generatedInput)return!0;if(!0!==t&&-1<e){if(i){var r=I(e);return r.length>1+(""===r[r.length-1].match.def?1:0)}var s=Y(e,I(e)),o=G(e,s.match);return s.match.def!==o}return!1}function z(e,t,a){void 0===a&&(a=!0);for(var i=e+1;""!==E(i).match.def&&(!0===t&&(!0!==E(i).match.newBlockMarker||!W(i,void 0,!0))||!0!==t&&!W(i,void 0,a));)i++;return i}function U(e,t){var a,i=e;if(i<=0)return 0;for(;0<--i&&(!0===t&&!0!==E(i).match.newBlockMarker||!0!==t&&!W(i,void 0,!0)&&((a=I(i)).length<2||2===a.length&&""===a[1].match.def)););return i}function V(e,t,a,i,r){if(i&&n.isFunction(o.onBeforeWrite)){var s=o.onBeforeWrite.call(_,i,t,a,o);if(s){if(s.refreshFromBuffer){var l=s.refreshFromBuffer;j(!0===l?l:l.start,l.end,s.buffer||t),t=P(!0)}void 0!==a&&(a=void 0!==s.caret?s.caret:a)}}if(void 0!==e&&(e.inputmask._valueSet(t.join("")),void 0===a||void 0!==i&&"blur"===i.type||ie(e,a,void 0,void 0,void 0!==i&&"keydown"===i.type&&(i.keyCode===p.DELETE||i.keyCode===p.BACKSPACE)),!0===r)){var c=n(e),u=e.inputmask._valueGet();b=!0,c.trigger("input"),setTimeout(function(){u===F().join("")?c.trigger("cleared"):!0===se(t)&&c.trigger("complete")},0)}}function G(e,t,i){if(void 0!==(t=t||E(e).match).placeholder||!0===i)return n.isFunction(t.placeholder)?t.placeholder(o):t.placeholder;if(!0!==t.static)return o.placeholder.charAt(e%o.placeholder.length);if(-1<e&&void 0===a.validPositions[e]){var r,s=I(e),l=[];if(s.length>1+(""===s[s.length-1].match.def?1:0))for(var c=0;c<s.length;c++)if(""!==s[c].match.def&&!0!==s[c].match.optionality&&!0!==s[c].match.optionalQuantifier&&(!0===s[c].match.static||void 0===r||!1!==s[c].match.fn.test(r.match.def,a,e,!0,o))&&(l.push(s[c]),!0===s[c].match.static&&(r=s[c]),1<l.length&&/[0-9a-bA-Z]/.test(l[0].match.def)))return o.placeholder.charAt(e%o.placeholder.length)}return t.def}function J(e,t){if(l){if(e.inputmask._valueGet()!==t&&(e.placeholder!==t||""===e.placeholder)){var a=P().slice(),i=e.inputmask._valueGet();if(i!==t){var n=T();-1===n&&i===F().join("")?a=[]:-1!==n&&re(a),V(e,a)}}}else e.placeholder!==t&&(e.placeholder=t,""===e.placeholder&&e.removeAttribute("placeholder"))}function K(e,t){if(t&&(g?e.end=e.begin:e.begin=e.end),e.begin===e.end){switch(o.positionCaretOnClick){case"none":break;case"select":e={begin:0,end:P().length};break;case"ignore":e.end=e.begin=z(T());break;case"radixFocus":if(function(e){if(""!==o.radixPoint&&0!==o.digits){var t=a.validPositions;if(void 0===t[e]||t[e].input===G(e)){if(e<z(-1))return!0;var i=n.inArray(o.radixPoint,P());if(-1!==i){for(var r in t)if(t[r]&&i<r&&t[r].input!==G(r))return!1;return!0}}}return!1}(e.begin)){var i=P().join("").indexOf(o.radixPoint);e.end=e.begin=o.numericInput?z(i):i;break}default:var r=e.begin,s=T(r,!0),l=z(-1!==s||W(0)?s:0);if(r<l)e.end=e.begin=W(r,!0)||W(r-1,!0)?r:z(r);else{var c=a.validPositions[s],u=A(l,c?c.match.locator:void 0,c),d=G(l,u.match);if(""!==d&&P()[l]!==d&&!0!==u.match.optionalQuantifier&&!0!==u.match.newBlockMarker||!W(l,o.keepStatic)&&u.match.def===d){var p=z(l);(p<=r||r===l)&&(l=p)}e.end=e.begin=l}}return e}}var Q,Z={on:function(e,t,a){var i=function(t){t.originalEvent&&(t=t.originalEvent||t,arguments[0]=t);var i,r=this;if(void 0===r.inputmask&&"FORM"!==this.nodeName){var s=n.data(r,"_inputmask_opts");s?new Inputmask(s).mask(r):Z.off(r)}else{if("setvalue"===t.type||"FORM"===this.nodeName||!(r.disabled||r.readOnly&&!("keydown"===t.type&&t.ctrlKey&&67===t.keyCode||!1===o.tabThrough&&t.keyCode===p.TAB))){switch(t.type){case"input":if(!0===b||t.inputType&&"insertCompositionText"===t.inputType)return b=!1,t.preventDefault();break;case"keydown":y=!1,b=!1;break;case"keypress":if(!0===y)return t.preventDefault();y=!0;break;case"click":case"focus":return k?(k=!1,e.blur(),J(e,(g?F().slice().reverse():F()).join("")),setTimeout(function(){e.focus()},3e3)):(i=arguments,setTimeout(function(){a.apply(r,i)},0)),!1}var l=a.apply(r,arguments);return!1===l&&(t.preventDefault(),t.stopPropagation()),l}t.preventDefault()}};e.inputmask.events[t]=e.inputmask.events[t]||[],e.inputmask.events[t].push(i),-1!==n.inArray(t,["submit","reset"])?null!==e.form&&n(e.form).on(t,i):n(e).on(t,i)},off:function(e,t){var a;e.inputmask&&e.inputmask.events&&(t?(a=[])[t]=e.inputmask.events[t]:a=e.inputmask.events,n.each(a,function(t,a){for(;0<a.length;){var i=a.pop();-1!==n.inArray(t,["submit","reset"])?null!==e.form&&n(e.form).off(t,i):n(e).off(t,i)}delete e.inputmask.events[t]}))}},X={keydownEvent:function(e){var t=this,i=n(t),r=e.keyCode,s=ie(t),l=o.onKeyDown.call(this,e,P(),s,o);if(void 0!==l)return l;if(r===p.BACKSPACE||r===p.DELETE||d&&r===p.BACKSPACE_SAFARI||e.ctrlKey&&r===p.X&&!("oncut"in t))e.preventDefault(),oe(0,r,s),V(t,P(!0),a.p,e,t.inputmask._valueGet()!==P().join(""));else if(r===p.END||r===p.PAGE_DOWN){e.preventDefault();var c=z(T());ie(t,e.shiftKey?s.begin:c,c,!0)}else r===p.HOME&&!e.shiftKey||r===p.PAGE_UP?(e.preventDefault(),ie(t,0,e.shiftKey?s.begin:0,!0)):(o.undoOnEscape&&r===p.ESCAPE||90===r&&e.ctrlKey)&&!0!==e.altKey?(ee(t,!0,!1,m.split("")),i.trigger("click")):!0===o.tabThrough&&r===p.TAB?(!0===e.shiftKey?(!0===E(s.begin).match.static&&(s.begin=z(s.begin)),s.end=U(s.begin,!0),s.begin=U(s.end,!0)):(s.begin=z(s.begin,!0),s.end=z(s.begin,!0),s.end<a.maskLength&&s.end--),s.begin<a.maskLength&&(e.preventDefault(),ie(t,s.begin,s.end))):e.shiftKey||o.insertModeVisual&&!1===o.insertMode&&(r===p.RIGHT?setTimeout(function(){var e=ie(t);ie(t,e.begin)},0):r===p.LEFT&&setTimeout(function(){var e=ae(t.inputmask.caretPos.begin);ae(t.inputmask.caretPos.end),ie(t,g?e+(e===a.maskLength?0:1):e-(0===e?0:1))},0));w=-1!==n.inArray(r,o.ignorables)},keypressEvent:function(e,t,i,r,s){var l=this,c=n(l),u=e.which||e.charCode||e.keyCode;if(!(!0===t||e.ctrlKey&&e.altKey)&&(e.ctrlKey||e.metaKey||w))return u===p.ENTER&&m!==P().join("")&&(m=P().join(""),setTimeout(function(){c.trigger("change")},0)),b=!0,!0;if(u){44!==u&&46!==u||3!==e.location||""===o.radixPoint||(u=o.radixPoint.charCodeAt(0));var d,h=t?{begin:s,end:s}:ie(l),f=String.fromCharCode(u);a.writeOutBuffer=!0;var _=q(h,f,r);if(!1!==_&&(L(!0),d=void 0!==_.caret?_.caret:z(_.pos.begin?_.pos.begin:_.pos),a.p=d),d=o.numericInput&&void 0===_.caret?U(d):d,!1!==i&&(setTimeout(function(){o.onKeyValidation.call(l,u,_)},0),a.writeOutBuffer&&!1!==_)){var v=P();V(l,v,d,e,!0!==t)}if(e.preventDefault(),t)return!1!==_&&(_.forwardPosition=d),_}},pasteEvent:function(e){var t,a=this.inputmask._valueGet(!0),i=ie(this);g&&(t=i.end,i.end=i.begin,i.begin=t);var s=a.substr(0,i.begin),l=a.substr(i.end,a.length);if(s==(g?F().slice().reverse():F()).slice(0,i.begin).join("")&&(s=""),l==(g?F().slice().reverse():F()).slice(i.end).join("")&&(l=""),r.clipboardData&&r.clipboardData.getData)a=s+r.clipboardData.getData("Text")+l;else{if(!e.clipboardData||!e.clipboardData.getData)return!0;a=s+e.clipboardData.getData("text/plain")+l}var c=a;if(n.isFunction(o.onBeforePaste)){if(!1===(c=o.onBeforePaste.call(_,a,o)))return e.preventDefault();c=c||a}
27return ee(this,!1,!1,c.toString().split("")),V(this,P(),z(T()),e,m!==P().join("")),e.preventDefault()},inputFallBackEvent:function(e){var t=this,a=t.inputmask._valueGet(!0),i=(g?P().slice().reverse():P()).join(""),r=ie(t,void 0,void 0,!0);if(i!==a){var l=function(e,t,a){for(var i,n,r,s=e.substr(0,a.begin).split(""),l=e.substr(a.begin).split(""),c=t.substr(0,a.begin).split(""),u=t.substr(a.begin).split(""),d=s.length>=c.length?s.length:c.length,p=l.length>=u.length?l.length:u.length,m="",h=[];s.length<d;)s.push("~");for(;c.length<d;)c.push("~");for(;l.length<p;)l.unshift("~");for(;u.length<p;)u.unshift("~");var f=s.concat(l),_=c.concat(u);for(n=0,i=f.length;n<i;n++)switch(r=G(ae(n)),m){case"insertText":_[n-1]===f[n]&&a.begin==f.length-1&&h.push(f[n]),n=i;break;case"insertReplacementText":case"deleteContentBackward":"~"===f[n]?a.end++:n=i;break;default:f[n]!==_[n]&&("~"!==f[n+1]&&f[n+1]!==r&&void 0!==f[n+1]||(_[n]!==r||"~"!==_[n+1])&&"~"!==_[n]?"~"===_[n+1]&&_[n]===f[n+1]?(m="insertText",h.push(f[n]),a.begin--,a.end--):f[n]!==r&&"~"!==f[n]&&("~"===f[n+1]||_[n]!==f[n]&&_[n+1]===f[n+1])?(m="insertReplacementText",h.push(f[n]),a.begin--):"~"===f[n]?(m="deleteContentBackward",!W(ae(n),!0)&&_[n]!==o.radixPoint||a.end++):n=i:(m="insertText",h.push(f[n]),a.begin--,a.end--))}return{action:m,data:h,caret:a}}(a=function(e,t,a){if(u){var i=t.replace(P().join(""),"");if(1===i.length){var n=t.split("");n.splice(a.begin,0,i),t=n.join("")}}return t}(0,a,r),i,r);switch(s.activeElement!==t&&t.focus(),V(t,P()),ie(t,r.begin,r.end,!0),l.action){case"insertText":case"insertReplacementText":n.each(l.data,function(e,a){var i=new n.Event("keypress");i.which=a.charCodeAt(0),w=!1,X.keypressEvent.call(t,i)}),setTimeout(function(){h.trigger("keyup")},0);break;case"deleteContentBackward":var c=new n.Event("keydown");c.keyCode=p.BACKSPACE,X.keydownEvent.call(t,c);break;default:le(t,a)}e.preventDefault()}},compositionendEvent:function(e){h.trigger("input")},setValueEvent:function(e,t,a){var i=e&&e.detail?e.detail[0]:t;void 0===i&&(i=this.inputmask._valueGet(!0)),le(this,i),(e.detail&&void 0!==e.detail[1]||void 0!==a)&&ie(this,e.detail?e.detail[1]:a)},focusEvent:function(e){var t=this.inputmask._valueGet();o.showMaskOnFocus&&t!==P().join("")&&V(this,P(),z(T())),!0!==o.positionCaretOnTab||!1!==M||se(P())&&-1!==T()||X.clickEvent.apply(this,[e,!0]),m=P().join("")},invalidEvent:function(e){k=!0},mouseleaveEvent:function(){M=!1,o.clearMaskOnLostFocus&&s.activeElement!==this&&J(this,S)},clickEvent:function(e,t){if(s.activeElement===this){var a=K(ie(this),t);void 0!==a&&ie(this,a)}},cutEvent:function(e){var t=ie(this),i=r.clipboardData||e.clipboardData,n=g?P().slice(t.end,t.begin):P().slice(t.begin,t.end);i.setData("text",g?n.reverse().join(""):n.join("")),s.execCommand&&s.execCommand("copy"),oe(0,p.DELETE,t),V(this,P(),a.p,e,m!==P().join(""))},blurEvent:function(e){var t=n(this);if(this.inputmask){J(this,S);var a=this.inputmask._valueGet(),i=P().slice();""!==a&&(o.clearMaskOnLostFocus&&(-1===T()&&a===F().join("")?i=[]:re(i)),!1===se(i)&&(setTimeout(function(){t.trigger("incomplete")},0),o.clearIncomplete&&(L(),i=o.clearMaskOnLostFocus?[]:F().slice())),V(this,i,void 0,e)),m!==P().join("")&&(m=P().join(""),t.trigger("change"))}},mouseenterEvent:function(){M=!0,s.activeElement!==this&&(null==S&&this.placeholder!==S&&(S=this.placeholder),o.showMaskOnHover&&J(this,(g?F().slice().reverse():F()).join("")))},submitEvent:function(){m!==P().join("")&&h.trigger("change"),o.clearMaskOnLostFocus&&-1===T()&&v.inputmask._valueGet&&v.inputmask._valueGet()===F().join("")&&v.inputmask._valueSet(""),o.clearIncomplete&&!1===se(P())&&v.inputmask._valueSet(""),o.removeMaskOnSubmit&&(v.inputmask._valueSet(v.inputmask.unmaskedvalue(),!0),setTimeout(function(){V(v,P())},0))},resetEvent:function(){v.inputmask.refreshValue=!0,setTimeout(function(){le(v,v.inputmask._valueGet(!0))},0)}};function ee(e,t,i,r,s){var l=this||e.inputmask,c=r.slice(),u="",d=-1,p=void 0;L(),a.tests={},d=o.radixPoint?K({begin:0,end:0}).begin:0,a.p=d,l.caretPos={begin:d};var m=[],h=l.caretPos;
27if(n.each(c,function(t,r){if(void 0!==r)if(void 0===a.validPositions[t]&&c[t]===G(t)&&W(t,!0)&&!1===q(t,c[t],!0,void 0,void 0,!0))a.p++;else{var s=new n.Event("_checkval");s.which=r.toString().charCodeAt(0),u+=r;var o=T(void 0,!0);!function(e,t){for(var a=D(!0,0).slice(e,z(e)).join("").replace(/'/g,""),i=a.indexOf(t);0<i&&" "===a[i-1];)i--;var n=0===i&&!W(e)&&(E(e).match.nativeDef===t.charAt(0)||!0===E(e).match.static&&E(e).match.nativeDef==="'"+t.charAt(0)||" "===E(e).match.nativeDef&&(E(e+1).match.nativeDef===t.charAt(0)||!0===E(e+1).match.static&&E(e+1).match.nativeDef==="'"+t.charAt(0)));return!n&&0<i&&(l.caretPos={begin:z(i)}),n}(d,u)?(p=X.keypressEvent.call(e,s,!0,!1,i,l.caretPos.begin))&&(d=l.caretPos.begin+1,u=""):p=X.keypressEvent.call(e,s,!0,!1,i,o+1),p?(void 0!==p.pos&&a.validPositions[p.pos]&&!0===a.validPositions[p.pos].match.static&&void 0===a.validPositions[p.pos].alternation&&(m.push(p.pos),g||(p.forwardPosition=p.pos+1)),V(void 0,P(),p.forwardPosition,s,!1),l.caretPos={begin:p.forwardPosition,end:p.forwardPosition},h=l.caretPos):l.caretPos=h}}),0<m.length){var f,_,v=z(-1,void 0,!1);if(!se(P())&&m.length<=v||se(P())&&0<m.length&&m.length!==v&&0===m[0])for(var y=v;void 0!==(f=m.shift());){var b=new n.Event("_checkval");if((_=a.validPositions[f]).generatedInput=!0,b.which=_.input.charCodeAt(0),(p=X.keypressEvent.call(e,b,!0,!1,i,y))&&void 0!==p.pos&&p.pos!==f&&a.validPositions[p.pos]&&!0===a.validPositions[p.pos].match.static)m.push(p.pos);else if(!p)break;y++}else for(;f=m.pop();)(_=a.validPositions[f])&&(_.generatedInput=!0)}if(t)for(var k in V(e,P(),p?p.forwardPosition:void 0,s||new n.Event("checkval"),s&&"input"===s.type),a.validPositions)!0!==a.validPositions[k].match.generated&&delete a.validPositions[k].generatedInput}function te(e){if(e){if(void 0===e.inputmask)return e.value;e.inputmask&&e.inputmask.refreshValue&&le(e,e.inputmask._valueGet(!0))}var t=[],i=a.validPositions;for(var r in i)i[r]&&i[r].match&&1!=i[r].match.static&&t.push(i[r].input);var s=0===t.length?"":(g?t.reverse():t).join("");if(n.isFunction(o.onUnMask)){var l=(g?P().slice().reverse():P()).join("");s=o.onUnMask.call(_,l,s,o)}return s}function ae(e){return!g||"number"!=typeof e||o.greedy&&""===o.placeholder||!v||(e=v.inputmask._valueGet().length-e),e}function ie(e,t,a,i,l){var c;if(void 0===t)return"selectionStart"in e&&"selectionEnd"in e?(t=e.selectionStart,a=e.selectionEnd):r.getSelection?(c=r.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==e&&c.commonAncestorContainer!==e||(t=c.startOffset,a=c.endOffset):s.selection&&s.selection.createRange&&(a=(t=0-(c=s.selection.createRange()).duplicate().moveStart("character",-e.inputmask._valueGet().length))+c.text.length),{begin:i?t:ae(t),end:i?a:ae(a)};if(n.isArray(t)&&(a=g?t[0]:t[1],t=g?t[1]:t[0]),void 0!==t.begin&&(a=g?t.begin:t.end,t=g?t.end:t.begin),"number"==typeof t){t=i?t:ae(t),a="number"==typeof(a=i?a:ae(a))?a:t;var u=parseInt(((e.ownerDocument.defaultView||r).getComputedStyle?(e.ownerDocument.defaultView||r).getComputedStyle(e,null):e.currentStyle).fontSize)*a;if(e.scrollLeft=u>e.scrollWidth?u:0,e.inputmask.caretPos={begin:t,end:a},o.insertModeVisual&&!1===o.insertMode&&t===a&&(l||a++),e===s.activeElement)if("setSelectionRange"in e)e.setSelectionRange(t,a);else if(r.getSelection){if(c=s.createRange(),void 0===e.firstChild||null===e.firstChild){var d=s.createTextNode("");e.appendChild(d)}c.setStart(e.firstChild,t<e.inputmask._valueGet().length?t:e.inputmask._valueGet().length),c.setEnd(e.firstChild,a<e.inputmask._valueGet().length?a:e.inputmask._valueGet().length),c.collapse(!0);var p=r.getSelection();p.removeAllRanges(),p.addRange(c)}else e.createTextRange&&((c=e.createTextRange()).collapse(!0),c.moveEnd("character",a),c.moveStart("character",t),c.select())}}function ne(e){var t,i,r=D(!0,T(),!0,!0),s=r.length,o=T(),l={},c=a.validPositions[o],u=void 0!==c?c.locator.slice():void 0;for(t=o+1;t<r.length;t++)u=(i=A(t,u,t-1)).locator.slice(),l[t]=n.extend(!0,{},i);var d=c&&void 0!==c.alternation?c.locator[c.alternation]:void 0;for(t=s-1;o<t&&((i=l[t]).match.optionality||i.match.optionalQuantifier&&i.match.newBlockMarker||d&&(d!==l[t].locator[c.alternation]&&1!=i.match.static||!0===i.match.static&&i.locator[c.alternation]&&$(i.locator[c.alternation].toString().split(","),d.toString().split(","))&&""!==I(t)[0].def))&&r[t]===G(t,i.match);t--)s--;return e?{l:s,def:l[s]?l[s].match:void 0}:s}function re(e){e.length=0;for(var t,a=D(!0,0,!0,void 0,!0);void 0!==(t=a.shift());)e.push(t);return e}function se(e){if(n.isFunction(o.isComplete))return o.isComplete(e,o);if("*"!==o.repeat){var t=!1,i=ne(!0),r=U(i.l);if(void 0===i.def||i.def.newBlockMarker||i.def.optionality||i.def.optionalQuantifier){t=!0;for(var s=0;s<=r;s++){var l=A(s).match;
27if(!0!==l.static&&void 0===a.validPositions[s]&&!0!==l.optionality&&!0!==l.optionalQuantifier||!0===l.static&&e[s]!==G(s,l)){t=!1;break}}}return t}}function oe(e,t,i,n,r){if((o.numericInput||g)&&(t===p.BACKSPACE?t=p.DELETE:t===p.DELETE&&(t=p.BACKSPACE),g)){var s=i.end;i.end=i.begin,i.begin=s}var l;if(t===p.BACKSPACE?i.end-i.begin<1&&(i.begin=U(i.begin)):t===p.DELETE&&i.begin===i.end&&(i.end=W(i.end,!0,!0)?i.end+1:z(i.end)+1),!1!==(l=B(i))){if(!0!==n&&!1!==o.keepStatic||null!==o.regex&&-1!==E(i.begin).match.def.indexOf("|")){var c=N(!0);if(c){var u=void 0!==c.caret?c.caret:c.pos?z(c.pos.begin?c.pos.begin:c.pos):T(-1,!0);(t!==p.DELETE||i.begin>u)&&i.begin}}!0!==n&&(a.p=t===p.DELETE?i.begin+l:i.begin)}}function le(e,t){e.inputmask.refreshValue=!1,n.isFunction(o.onBeforeMask)&&(t=o.onBeforeMask.call(_,t,o)||t),ee(e,!0,!1,t=t.toString().split("")),m=P().join(""),(o.clearMaskOnLostFocus||o.clearIncomplete)&&e.inputmask._valueGet()===F().join("")&&-1===T()&&e.inputmask._valueSet("")}if(void 0!==t)switch(t.action){case"isComplete":return v=t.el,se(P());case"unmaskedvalue":return void 0!==v&&void 0===t.value||(Q=t.value,Q=(n.isFunction(o.onBeforeMask)&&o.onBeforeMask.call(_,Q,o)||Q).split(""),ee.call(this,void 0,!1,!1,Q),n.isFunction(o.onBeforeWrite)&&o.onBeforeWrite.call(_,void 0,P(),0,o)),te(v);case"mask":!function(e){Z.off(e);var t=function(e,t){"textarea"!==e.tagName.toLowerCase()&&t.ignorables.push(p.ENTER);var a=e.getAttribute("type"),r="input"===e.tagName.toLowerCase()&&-1!==n.inArray(a,t.supportsInputType)||e.isContentEditable||"textarea"===e.tagName.toLowerCase();if(!r)if("input"===e.tagName.toLowerCase()){var o=s.createElement("input");o.setAttribute("type",a),r="text"===o.type,o=null}else r="partial";return!1!==r?function(e){var a,r;function o(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==T()||!0!==t.nullable?s.activeElement===this&&t.clearMaskOnLostFocus?(g?re(P().slice()).reverse():re(P().slice())).join(""):a.call(this):"":a.call(this)}function l(e){r.call(this,e),this.inputmask&&le(this,e)}if(!e.inputmask.__valueGet){if(!0!==t.noValuePatching){if(Object.getOwnPropertyDescriptor){"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===i("test".__proto__)?function(e){return e.__proto__}:function(e){return e.constructor.prototype});var c=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value"):void 0;c&&c.get&&c.set?(a=c.get,r=c.set,Object.defineProperty(e,"value",{get:o,set:l,configurable:!0})):"input"!==e.tagName.toLowerCase()&&(a=function(){return this.textContent},r=function(e){this.textContent=e},Object.defineProperty(e,"value",{get:o,set:l,configurable:!0}))}else s.__lookupGetter__&&e.__lookupGetter__("value")&&(a=e.__lookupGetter__("value"),r=e.__lookupSetter__("value"),e.__defineGetter__("value",o),e.__defineSetter__("value",l));e.inputmask.__valueGet=a,e.inputmask.__valueSet=r}e.inputmask._valueGet=function(e){return g&&!0!==e?a.call(this.el).split("").reverse().join(""):a.call(this.el)},e.inputmask._valueSet=function(e,t){r.call(this.el,null==e?"":!0!==t&&g?e.split("").reverse().join(""):e)},void 0===a&&(a=function(){return this.value},r=function(e){this.value=e},function(e){if(n.valHooks&&(void 0===n.valHooks[e]||!0!==n.valHooks[e].inputmaskpatch)){var a=n.valHooks[e]&&n.valHooks[e].get?n.valHooks[e].get:function(e){return e.value},i=n.valHooks[e]&&n.valHooks[e].set?n.valHooks[e].set:function(e,t){return e.value=t,e};n.valHooks[e]={get:function(e){if(e.inputmask){if(e.inputmask.opts.autoUnmask)return e.inputmask.unmaskedvalue();var i=a(e);return-1!==T(void 0,void 0,e.inputmask.maskset.validPositions)||!0!==t.nullable?i:""}return a(e)},set:function(e,t){var a=i(e,t);return e.inputmask&&le(e,t),a},inputmaskpatch:!0}}}(e.type),function(e){Z.on(e,"mouseenter",function(){var e=this.inputmask._valueGet(!0);e!==(g?P().reverse():P()).join("")&&le(this,e)})}(e))}}(e):e.inputmask=void 0,r}(e,o);if(!1!==t&&(h=n(v=e),S=v.placeholder,-1===(f=void 0!==v?v.maxLength:void 0)&&(f=void 0),"inputMode"in v&&null===v.getAttribute("inputmode")&&(v.inputMode=o.inputmode,v.setAttribute("inputmode",o.inputmode)),!0===t&&(o.showMaskOnFocus=o.showMaskOnFocus&&-1===["cc-number","cc-exp"].indexOf(v.autocomplete),d&&(o.insertModeVisual=!1),Z.on(v,"submit",X.submitEvent),Z.on(v,"reset",X.resetEvent),Z.on(v,"blur",X.blurEvent),Z.on(v,"focus",X.focusEvent),Z.on(v,"invali
27d",X.invalidEvent),Z.on(v,"click",X.clickEvent),Z.on(v,"mouseleave",X.mouseleaveEvent),Z.on(v,"mouseenter",X.mouseenterEvent),Z.on(v,"paste",X.pasteEvent),Z.on(v,"cut",X.cutEvent),Z.on(v,"complete",o.oncomplete),Z.on(v,"incomplete",o.onincomplete),Z.on(v,"cleared",o.oncleared),c||!0===o.inputEventOnly?v.removeAttribute("maxLength"):(Z.on(v,"keydown",X.keydownEvent),Z.on(v,"keypress",X.keypressEvent)),Z.on(v,"input",X.inputFallBackEvent),Z.on(v,"compositionend",X.compositionendEvent)),Z.on(v,"setvalue",X.setValueEvent),m=F().join(""),""!==v.inputmask._valueGet(!0)||!1===o.clearMaskOnLostFocus||s.activeElement===v)){le(v,v.inputmask._valueGet(!0));var a=P().slice();!1===se(a)&&o.clearIncomplete&&L(),o.clearMaskOnLostFocus&&s.activeElement!==v&&(-1===T()?a=[]:re(a)),(!1===o.clearMaskOnLostFocus||o.showMaskOnFocus&&s.activeElement===v||""!==v.inputmask._valueGet(!0))&&V(v,a),s.activeElement===v&&ie(v,z(T()))}}(v);break;case"format":return Q=(n.isFunction(o.onBeforeMask)&&o.onBeforeMask.call(_,t.value,o)||t.value).split(""),ee.call(this,void 0,!0,!1,Q),t.metadata?{value:g?P().slice().reverse().join(""):P().join(""),metadata:e.call(this,{action:"getmetadata"},a,o)}:g?P().slice().reverse().join(""):P().join("");case"isValid":t.value?(Q=(n.isFunction(o.onBeforeMask)&&o.onBeforeMask.call(_,t.value,o)||t.value).split(""),ee.call(this,void 0,!0,!1,Q)):t.value=g?P().slice().reverse().join(""):P().join("");for(var ce=P(),ue=ne(),de=ce.length-1;ue<de&&!W(de);de--);return ce.splice(ue,de+1-ue),se(ce)&&t.value===(g?P().slice().reverse().join(""):P().join(""));case"getemptymask":return F().join("");case"remove":if(v&&v.inputmask){n.data(v,"_inputmask_opts",null),h=n(v);var pe=o.autoUnmask?te(v):v.inputmask._valueGet(o.autoUnmask);pe!==F().join("")?v.inputmask._valueSet(pe,o.autoUnmask):v.inputmask._valueSet(""),Z.off(v),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(v),"value")&&v.inputmask.__valueGet&&Object.defineProperty(v,"value",{get:v.inputmask.__valueGet,set:v.inputmask.__valueSet,configurable:!0}):s.__lookupGetter__&&v.__lookupGetter__("value")&&v.inputmask.__valueGet&&(v.__defineGetter__("value",v.inputmask.__valueGet),v.__defineSetter__("value",v.inputmask.__valueSet)),v.inputmask=void 0}return v;case"getmetadata":if(n.isArray(a.metadata)){var me=D(!0,0,!1).join("");return n.each(a.metadata,function(e,t){if(t.mask===me)return me=t,!1}),me}return a.metadata}}},function(e,t,a){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var n=a(1),r=n.dependencyLib,s=a(0),o={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return p(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return p(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return p(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return p(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return p(Date.prototype.getHours.call(this),2)}],hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return Date.prototype.getHours}],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return p(Date.prototype.getHours.call(this),2)}],Hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return function(){return p(Date.prototype.getHours.call(this),e)}}],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return p(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setSeconds,"seconds",function(){return p(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return p(Date.prototype.getMilliseconds.call(this),3)}],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return p(Date.prototype.getMilliseconds.call(this),2)}],t:["[ap]"],tt:["[ap]m"],T:["[AP]"],TT:["[AP]M"],Z:[""],o:[""],S:[""]},l={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function c(e){var t=new RegExp("\\d+$").exec(e[0]);if(t&&void 0!==t[0]){var a=o[e[0][0]+"x"].slice("");return a[0]=a[0](t[0]),a[3]=a[3](t[0]),a}if(o[e[0]])return o[e[0]]}function u(e){if(!e.tokenizer){var t=[],a=[];for(var i in o)if(i.endsWith("x")){var n=i[0]+"\\d+";-1===a.indexOf(n)&&a.push(n)}
27else-1===t.indexOf(i[0])&&t.push(i[0]);e.tokenizer="("+(0<a.length?a.join("|")+"|":"")+t.join("+|")+")+?|.",e.tokenizer=new RegExp(e.tokenizer,"g")}return e.tokenizer}function d(e,t,a,i){var r,s,o="";for(u(a).lastIndex=0;r=u(a).exec(e);)if(void 0===t)if(s=c(r))o+="("+s[0]+")";else switch(r[0]){case"[":o+="(";break;case"]":o+=")?";break;default:o+=n.escapeRegex(r[0])}else(s=c(r))?!0!==i&&s[3]?o+=s[3].call(t.date):s[2]?o+=t["raw"+s[2]]:o+=r[0]:o+=r[0];return o}function p(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e}function m(e,t,a){var n,r,s,l={date:new Date(1,0,1)},c=e;function d(e,t,a){e[n]=function(e){return e.replace(/[^0-9]/g,"0")}(t),e["raw"+n]=t,void 0!==s&&s.call(e.date,"month"==n?parseInt(e[n])-1:e[n])}if("string"==typeof c){for(u(a).lastIndex=0;r=u(a).exec(t);){var p=c.slice(0,r[0].length);o.hasOwnProperty(r[0])&&(n=o[r[0]][2],s=o[r[0]][1],d(l,p)),c=c.slice(p.length)}return l}if(c&&"object"===i(c)&&c.hasOwnProperty("date"))return c}function h(e,t){var a,i="";for(u(t).lastIndex=0;a=u(t).exec(t.inputFormat);)"d"===a[0].charAt(0)?i+=p(e.getDate(),a[0].length):"m"===a[0].charAt(0)?i+=p(e.getMonth()+1,a[0].length):"yyyy"===a[0]?i+=e.getFullYear().toString():"y"===a[0].charAt(0)&&(i+=p(e.getYear(),a[0].length));return i}function f(e,t){var a,i,n=0;for(u(t).lastIndex=0;i=u(t).exec(t.inputFormat);)if(e<=(n+=i[0].length)){a=i,i=u(t).exec(t.inputFormat);break}return{nextMatch:i,targetMatch:a}}n.extendAliases({datetime:{mask:function(e){return o.S=e.i18n.ordinalSuffix.join("|"),e.inputFormat=l[e.inputFormat]||e.inputFormat,e.displayFormat=l[e.displayFormat]||e.displayFormat||e.inputFormat,e.outputFormat=l[e.outputFormat]||e.outputFormat||e.inputFormat,e.placeholder=""!==e.placeholder?e.placeholder:e.inputFormat.replace(/[[\]]/,""),e.regex=d(e.inputFormat,void 0,e),e.min=m(e.min,e.inputFormat,e),e.max=m(e.max,e.inputFormat,e),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:void 0,outputFormat:void 0,min:null,max:null,skipOptionalPartCharacter:"",i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},preValidation:function(e,t,a,i,n,r,s,l){if(l)return!0;if(isNaN(a)&&e[t]!==a){var c=f(t,n);if(c.nextMatch&&c.nextMatch[0]===a&&1<c.targetMatch[0].length){var u=o[c.targetMatch[0]][0];if(new RegExp(u).test("0"+e[t-1]))return e[t]=e[t-1],e[t-1]="0",{fuzzy:!0,buffer:e,refreshFromBuffer:{start:t-1,end:t+1},pos:t+1}}}return!0},postValidation:function(e,t,a,i,n,r,s){if(s)return!0;var l;if(!1===i){if((l=f(t+1,n)).targetMatch&&l.targetMatch.index===t&&1<l.targetMatch[0].length&&void 0!==o[l.targetMatch[0]]){var c=o[l.targetMatch[0]][0];if(new RegExp(c).test("0"+a))return{insert:[{pos:t,c:"0"},{pos:t+1,c:a}],pos:t+1}}return i}if(i.fuzzy&&(e=i.buffer,t=i.pos),(l=f(t,n)).targetMatch&&l.targetMatch[0]&&void 0!==o[l.targetMatch[0]]){c=o[l.targetMatch[0]][0];var u=e.slice(l.targetMatch.index,l.targetMatch.index+l.targetMatch[0].length);!1===new RegExp(c).test(u.join(""))&&2===l.targetMatch[0].length&&r.validPositions[l.targetMatch.index]&&r.validPositions[l.targetMatch.index+1]&&(r.validPositions[l.targetMatch.index+1].input="0")}var p=i,h=m(e.join(""),n.inputFormat,n);return p&&h.date.getTime()==h.date.getTime()&&(p=(p=function(e,t){return(!isFinite(e.rawday)||"29"==e.day&&!isFinite(e.rawyear)||new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day)&&t}(h,p))&&function(e,t){var a=!0;if(t.min){if(e.rawyear){var i=e.rawyear.replace(/[^0-9]/g,"");a=t.min.year.substr(0,i.length)<=i}e.year===e.rawyear&&t.min.date.getTime()==t.min.date.getTime()&&(a=t.min.date.getTime()<=e.date.getTime())}return a&&t.max&&t.max.date.getTime()==t.max.date.getTime()&&(a=t.max.date.getTime()>=e.date.getTime()),a}(h,n)),t&&p&&i.pos!==t?{buffer:d(n.inputFormat,h,n).split(""),refreshFromBuffer:{start:t,end:i.pos}}:p},onKeyDown:function(e,t,a,i){e.ctrlKey&&e.keyCode===s.RIGHT&&(this.inputmask._valueSet(h(new Date,i)),r(this).trigger("setvalue"))},onUnMask:function(e,t,a){return t?d(a.outputFormat,m(e,a.inputFormat,a),a,!0):t},casing:function(e,t,a,i){return 0==t.nativeDef.indexOf("[ap]")?e.toLowerCase():0==t.nativeDef.indexOf("[AP]")?e.toUpperCase():e},onBeforeMask:function(e,t){return"[object Date]"===Object.prototype.toString.call(e)&&(e=h(e,t)),e},insertMode:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric"}}),e.exports=n},function(e,t,a){"use strict";var i=a(1),n=i.dependencyLib,r=a(0);function s(e,t){for(var a="",n=0;n<e.length;n++)i.prototype.definitions[e.charAt(n)]||t.definitions[e.charAt(n)]||t.optionalmarker[0]===e.charAt(n)||t.optionalmarker[1]===e.charAt(n)||t.quantifiermarker[0]===e.charAt(n)||t.quantifiermarker[1]===e.charAt(n)||t.groupmarker[0]===e.charAt(n)||t.groupmarker[1]===e.charAt(n)||t.alternatormarker===e.charAt(n)?a+="\\"+e.charAt(n):a+=e.charAt(n);return a}
27function o(e,t,a,i){if(0<t&&(!a.digitsOptional||i)){var r=n.inArray(a.radixPoint,e);-1===r&&(e.push(a.radixPoint),r=e.length-1);for(var s=1;s<=t;s++)e[r+s]=e[r+s]||"0"}return e}function l(e,t){var a=0;if("+"===e){for(a in t.validPositions);a=parseInt(a)}for(var i in t.tests)if(a<=(i=parseInt(i)))for(var n=0,r=t.tests[i].length;n<r;n++)if((void 0===t.validPositions[i]||"-"===e)&&t.tests[i][n].match.def===e)return i+(void 0!==t.validPositions[i]&&"-"!==e?1:0);return a}function c(e,t){var a=-1;return n.each(t.validPositions,function(t,i){if(i&&i.match.def===e)return a=parseInt(t),!1}),a}function u(e,t,a,i,n){var r=t.buffer?t.buffer.indexOf(n.radixPoint):-1,s=-1!==r&&new RegExp("[0-91-9]").test(e);return n._radixDance&&s&&null==t.validPositions[r]?{insert:{pos:r===a?r+1:r,c:n.radixPoint},pos:a}:s}i.extendAliases({numeric:{mask:function(e){e.repeat=0,e.groupSeparator===e.radixPoint&&e.digits&&"0"!==e.digits&&("."===e.radixPoint?e.groupSeparator=",":","===e.radixPoint?e.groupSeparator=".":e.groupSeparator="")," "===e.groupSeparator&&(e.skipOptionalPartCharacter=void 0),1<e.placeholder.length&&(e.placeholder=e.placeholder.charAt(0)),"radixFocus"===e.positionCaretOnClick&&""===e.placeholder&&(e.positionCaretOnClick="lvp");var t="0",a=e.radixPoint;!0===e.numericInput&&void 0===e.__financeInput?(t="1",e.positionCaretOnClick="radixFocus"===e.positionCaretOnClick?"lvp":e.positionCaretOnClick,e.digitsOptional=!1,isNaN(e.digits)&&(e.digits=2),e._radixDance=!1,a=","===e.radixPoint?"^":"¨",""!==e.radixPoint&&void 0===e.definitions[a]&&(e.definitions[a]={},e.definitions[a].validator="["+e.radixPoint+"]",e.definitions[a].placeholder=e.radixPoint,e.definitions[a].static=!0,e.definitions[a].generated=!0)):(e.__financeInput=!1,e.numericInput=!0);var n,r="[+]";if(r+=s(e.prefix,e),""!==e.groupSeparator?(void 0===e.definitions[e.groupSeparator]&&(e.definitions[e.groupSeparator]={},e.definitions[e.groupSeparator].validator="["+e.groupSeparator+"]",e.definitions[e.groupSeparator].placeholder=e.groupSeparator,e.definitions[e.groupSeparator].static=!0,e.definitions[e.groupSeparator].generated=!0),r+=e._mask(e)):r+="9{+}",void 0!==e.digits&&0!==e.digits){var o=e.digits.toString().split(",");isFinite(o[0])&&o[1]&&isFinite(o[1])?r+=a+t+"{"+e.digits+"}":(isNaN(e.digits)||0<parseInt(e.digits))&&(e.digitsOptional?(n=r+a+t+"{0,"+e.digits+"}",e.keepStatic=!0):r+=a+t+"{"+e.digits+"}")}return r+=s(e.suffix,e),r+="[-]",n&&(r=[n+s(e.suffix,e)+"[-]",r]),e.greedy=!1,function(e){void 0===e.parseMinMaxOptions&&(null!==e.min&&(e.min=e.min.toString().replace(new RegExp(i.escapeRegex(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.min=e.min.replace(e.radixPoint,".")),e.min=isFinite(e.min)?parseFloat(e.min):NaN,isNaN(e.min)&&(e.min=Number.MIN_VALUE)),null!==e.max&&(e.max=e.max.toString().replace(new RegExp(i.escapeRegex(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.max=e.max.replace(e.radixPoint,".")),e.max=isFinite(e.max)?parseFloat(e.max):NaN,isNaN(e.max)&&(e.max=Number.MAX_VALUE)),e.parseMinMaxOptions="done")}(e),r},_mask:function(e){return"("+e.groupSeparator+"999){+|1}"},digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",_radixDance:!0,groupSeparator:"",allowMinus:!0,negationSymbol:{front:"-",back:""},prefix:"",suffix:"",min:null,max:null,step:1,unmaskAsNumber:!1,roundingFN:Math.round,inputmode:"numeric",shortcuts:{k:"000",m:"000000"},placeholder:"0",greedy:!1,rightAlign:!0,insertMode:!0,autoUnmask:!1,skipOptionalPartCharacter:"",definitions:{0:{validator:u},1:{validator:u,definitionSymbol:"*"},"+":{validator:function(e,t,a,i,n){return n.allowMinus&&("-"===e||e===n.negationSymbol.front)}},"-":{validator:function(e,t,a,i,n){return n.allowMinus&&e===n.negationSymbol.back}}},preValidation:function(e,t,a,i,r,s,o,u){if(!1!==r.__financeInput&&a===r.radixPoint)return!1;var d;if(d=r.shortcuts&&r.shortcuts[a]){if(1<d.length)for(var p=[],m=0;m<d.length;m++)p.push({pos:t+m,c:d[m],strict:!1});return{insert:p}}var h=n.inArray(r.radixPoint,e),f=t;if(t=function(e,t,a,i,n){return n._radixDance&&n.numericInput&&t!==n.negationSymbol.back&&e<=a&&(0<a||t==n.radixPoint)&&(void 0===i.validPositions[e-1]||i.validPositions[e-1].input!==n.negationSymbol.back)&&(e-=1),e}(t,a,h,s,r),"-"===a||a===r.negationSymbol.front){if(!0!==r.allowMinus)return!1;var _=!1,v=c("+",s),g=c("-",s);return-1!==v&&(_=[v,g]),!1!==_?{remove:_,caret:f}:{insert:[{pos:l("+",s),c:r.negationSymbol.front,fromIsValid:!0},{pos:l("-",s),c:r.negationSymbol.back,fromIsValid:void 0}],caret:f+r.negationSymbol.back.length}}if(u)return!0;
27if(-1!==h&&!0===r._radixDance&&!1===i&&a===r.radixPoint&&void 0!==r.digits&&(isNaN(r.digits)||0<parseInt(r.digits))&&h!==t)return{caret:r._radixDance&&t===h-1?h+1:h};if(!1===r.__financeInput)if(i){if(r.digitsOptional)return{rewritePosition:o.end};if(!r.digitsOptional){if(o.begin>h&&o.end<=h)return a===r.radixPoint?{insert:{pos:h+1,c:"0",fromIsValid:!0},rewritePosition:h}:{rewritePosition:h+1};if(o.begin<h)return{rewritePosition:o.begin-1}}}else if(!r.showMaskOnHover&&!r.showMaskOnFocus&&!r.digitsOptional&&0<r.digits&&""===this.inputmask.__valueGet.call(this))return{rewritePosition:h};return{rewritePosition:t}},postValidation:function(e,t,a,i,r,s,l){if(!1===i)return i;if(l)return!0;if(null!==r.min||null!==r.max){var c=r.onUnMask(e.slice().reverse().join(""),void 0,n.extend({},r,{unmaskAsNumber:!0}));if(null!==r.min&&c<r.min&&(c.toString().length>=r.min.toString().length||c<0))return{refreshFromBuffer:!0,buffer:o(r.min.toString().replace(".",r.radixPoint).split(""),r.digits,r).reverse()};if(null!==r.max&&c>r.max)return{refreshFromBuffer:!0,buffer:o(r.max.toString().replace(".",r.radixPoint).split(""),r.digits,r).reverse()}}return i},onUnMask:function(e,t,a){if(""===t&&!0===a.nullable)return t;var n=e.replace(a.prefix,"");return n=(n=n.replace(a.suffix,"")).replace(new RegExp(i.escapeRegex(a.groupSeparator),"g"),""),""!==a.placeholder.charAt(0)&&(n=n.replace(new RegExp(a.placeholder.charAt(0),"g"),"0")),a.unmaskAsNumber?(""!==a.radixPoint&&-1!==n.indexOf(a.radixPoint)&&(n=n.replace(i.escapeRegex.call(this,a.radixPoint),".")),n=(n=n.replace(new RegExp("^"+i.escapeRegex(a.negationSymbol.front)),"-")).replace(new RegExp(i.escapeRegex(a.negationSymbol.back)+"$"),""),Number(n)):n},isComplete:function(e,t){var a=(t.numericInput?e.slice().reverse():e).join("");return a=(a=(a=(a=(a=a.replace(new RegExp("^"+i.escapeRegex(t.negationSymbol.front)),"-")).replace(new RegExp(i.escapeRegex(t.negationSymbol.back)+"$"),"")).replace(t.prefix,"")).replace(t.suffix,"")).replace(new RegExp(i.escapeRegex(t.groupSeparator)+"([0-9]{3})","g"),"$1"),","===t.radixPoint&&(a=a.replace(i.escapeRegex(t.radixPoint),".")),isFinite(a)},onBeforeMask:function(e,t){var a=t.radixPoint||",";"number"!=typeof e&&"number"!==t.inputType||""===a||(e=e.toString().replace(".",a));var n=e.split(a),r=n[0].replace(/[^\-0-9]/g,""),s=1<n.length?n[1].replace(/[^0-9]/g,""):"",l=1<n.length;e=r+(""!==s?a+s:s);var c=0;if(""!==a&&(c=s.length,""!==s)){var u=Math.pow(10,c||1);isFinite(t.digits)&&(c=parseInt(t.digits),u=Math.pow(10,c)),e=e.replace(i.escapeRegex(a),"."),isFinite(e)&&(e=(t.roundingFN(parseFloat(e)*u)/u).toFixed(c)),e=e.toString().replace(".",a)}if(0===t.digits&&-1!==e.indexOf(i.escapeRegex(a))&&(e=e.substring(0,e.indexOf(i.escapeRegex(a)))),null!==t.min||null!==t.max){var d=e.toString().replace(a,".");null!==t.min&&d<t.min?e=t.min.toString().replace(".",a):null!==t.max&&d>t.max&&(e=t.max.toString().replace(".",a))}return o(e.toString().split(""),c,t,l).join("")},onBeforeWrite:function(e,t,a,r){function s(e,t){if(!1!==r.__financeInput||t){var a=n.inArray(r.radixPoint,e);-1!==a&&e.splice(a,1)}if(""!==r.groupSeparator)for(;-1!==(a=e.indexOf(r.groupSeparator));)e.splice(a,1);return e}var l,c=function(e,t){var a=new RegExp("(^"+(""!==t.negationSymbol.front?i.escapeRegex(t.negationSymbol.front)+"?":"")+i.escapeRegex(t.prefix)+")(.*)("+i.escapeRegex(t.suffix)+(""!=t.negationSymbol.back?i.escapeRegex(t.negationSymbol.back)+"?":"")+"$)").exec(e.slice().reverse().join("")),n=a?a[2]:"",r=!1;return n&&(n=n.split(t.radixPoint.charAt(0))[0],r=new RegExp("^[0"+t.groupSeparator+"]*").exec(n)),!(!r||!(1<r[0].length||0<r[0].length&&r[0].length<n.length))&&r}(t,r);if(c){var u=t.slice().reverse(),d=u.join("").indexOf(c[0]);u.splice(d,c[0].length);var p=u.length-d;s(u),l={refreshFromBuffer:!0,buffer:u.reverse(),caret:a<p?a:p}}if(e)switch(e.type){case"blur":case"checkval":if(null!==r.min){var m=r.onUnMask(t.slice().reverse().join(""),void 0,n.extend({},r,{unmaskAsNumber:!0}));if(null!==r.min&&m<r.min)return{refreshFromBuffer:!0,buffer:o(r.min.toString().replace(".",r.radixPoint).split(""),r.digits,r).reverse()}}if(t[t.length-1]===r.negationSymbol.front){var h=new RegExp("(^"+(""!=r.negationSymbol.front?i.escapeRegex(r.negationSymbol.front)+"?":"")+i.escapeRegex(r.prefix)+")(.*)("+i.escapeRegex(r.suffix)+(""!=r.negationSymbol.back?i.escapeRegex(r.negationSymbol.back)+"?":"")+"$)").exec(s(t.slice(),!0).reverse().join(""));0==(h?h[2]:"")&&(l={refreshFromBuffer:!0,buffer:[0]})}else""!==r.radixPoint&&t[0]===r.radixPoint&&(l&&l.buffer?l.buffer.shift():(t.shift(),l={refreshFromBuffer:!0,buffer:s(t)}));if(r.enforceDigitsOnBlur){var f=(l=l||{})&&l.buffer||t.slice().reverse();l.refreshFromBuffer=!0,l.buffer=o(f,r.digits,r,!0).reverse()}}return l},onKeyDown:function(e,t,a,i){var s,l=n(this);if(e.ctrlKey)switch(e.keyCode){case r.UP:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(i.step)),l.trigger("setvalue"),!1;case r.DOWN:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(i.step)),l.trigger("setvalue"),!1}if(!e.shiftKey&&(e.keyCode===r.DELETE||e.keyCode===r.BACKSPACE||e.keyCode===r.BACKSPACE_SAFARI)){if(t[e.keyCode===r.DELETE?a.begin-1:a.end]===i.negationSymbol.front)return s=t.slice().reverse(),""!==i.negationSymbol.front&&s.shift(),""!==i.negationSymbol.back&&s.pop(),l.trigger("setvalue",[s.join(""),a.begin]),!1;if(!0===i._radixDance){var c=n.inArray(i.radixPoint,t);if(i.digitsOptional){if(0===c)return(s=t.slice().reverse()).pop(),l.trigger("setvalue",[s.join(""),a.begin>=s.length?s.length:a.begin]),!1}else if(-1!==c&&(a.begin<c||a.end<c||e.keyCode===r.DELETE&&a.begin===c))return a.begin!==a.end||e.keyCode!==r.BACKSPACE&&e.keyCode!==r.BACKSPACE_SAFARI||a.begin++,(s=t.slice().reverse()).splice(s.length-a.begin,a.begin-a.end+1),s=o(s,i.digits,i).join(""),l.trigger("setvalue",[s,a.begin>=s.length?c+1:a.begin]),!1}}}},currency:{prefix:"",groupSeparator:",",alias:"numeric",digits:2,digitsOptional:!1}
27,decimal:{alias:"numeric"},integer:{alias:"numeric",digits:0},percentage:{alias:"numeric",min:0,max:100,suffix:" %",digits:0,allowMinus:!1},indianns:{alias:"numeric",_mask:function(e){return"("+e.groupSeparator+"99){*|1}("+e.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}}),e.exports=i}],installedModules={},__webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(e,t,a){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(__webpack_require__.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)__webpack_require__.d(a,i,function(t){return e[t]}.bind(null,i));return a},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=5);function __webpack_require__(e){if(installedModules[e])return installedModules[e].exports;var t=installedModules[e]={i:e,l:!1,exports:{}};return modules[e].call(t.exports,t,t.exports,__webpack_require__),t.l=!0,t.exports}var modules,installedModules},module.exports=factory()},function(e,t,a){"use strict";a.r(t);var i={};a.r(i),a.d(i,"CContainerItem",function(){return p}),a.d(i,"CContainerHeader",function(){return _}),a.d(i,"CSpinner",function(){return c}),a.d(i,"CButton",function(){return b}),a.d(i,"CButtonSave",function(){return S}),a.d(i,"CButtonClose",function(){return T}),a.d(i,"CButtonDelete",function(){return Y}),a.d(i,"CButtonFile",function(){return I}),a.d(i,"CInput",function(){return H}),a.d(i,"CInputForm",function(){return R}),a.d(i,"CTextarea",function(){return U}),a.d(i,"CInputRadio",function(){return K}),a.d(i,"CInputCheckbox",function(){return ee}),a.d(i,"CInputGroup",function(){return ie}),a.d(i,"CInputRadioGroup",function(){return oe}),a.d(i,"CInputCheckboxGroup",function(){return de}),a.d(i,"CSelect",function(){return fe}),a.d(i,"CInputFeedback",function(){return ye}),a.d(i,"CTextEditor",function(){return Me}),a.d(i,"CDatePicker",function(){return it}),a.d(i,"CInputDateRange",function(){return ot}),a.d(i,"CInputTime",function(){return ut}),a.d(i,"CInputUsd",function(){return mt}),a.d(i,"CInputEmail",function(){return _t}),a.d(i,"CInputPassword",function(){return yt}),a.d(i,"CInputPhone",function(){return wt}),a.d(i,"CLink",function(){return Lt}),a.d(i,"CLinkAnchor",function(){return Yt}),a.d(i,"CLinkIcon",function(){return It}),a.d(i,"CLinkConfirm",function(){return Ht}),a.d(i,"CIcon",function(){return Rt}),a.d(i,"CIconPencil",function(){return Ut}),a.d(i,"CIconCross",function(){return Kt}),a.d(i,"CIconExclamation",function(){return ea}),a.d(i,"CIconExclamationCircle",function(){return na}),a.d(i,"CIconCheckCircle",function(){return la}),a.d(i,"CIconErrorCircle",function(){return pa}),a.d(i,"CIconDownload",function(){return _a}),a.d(i,"CIconLink",function(){return ba}),a.d(i,"CIconWarning",function(){return Sa}),a.d(i,"CModal",function(){return xa}),a.d(i,"CModalSliding",function(){return Oa}),a.d(i,"CModalConfirm",function(){return Pa}),a.d(i,"CModalSuccess",function(){return $a}),a.d(i,"CAlert",function(){return Ba}),a.d(i,"CAlertServer",function(){return Va}),a.d(i,"CToastr",function(){return ei}),a.d(i,"CTabs",function(){return ii}),a.d(i,"CTabsItem",function(){return oi}),a.d(i,"CTable",function(){return vi}),a.d(i,"CPagination",function(){return ki});var n={};a.r(n),a.d(n,"escHandler",function(){return Di}),a.d(n,"pressenterHandler",function(){return Ci}),a.d(n,"inputMask",function(){return Ei});var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{class:["c-spinner",{"c-spinner--black":this.black}]},[t("div"),t("div"),t("div"),t("div"),t("div"),t("div"),t("div"),t("div"),t("div"),t("div"),t("div"),t("div")])};r._withStripped=!0;var s={name:"CSpinner",props:{black:{type:Boolean,default:!1}}};
27function o(e,t,a,i,n,r,s,o){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=a,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(l=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__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):n&&(l=o?function(){n.call(this,this.$root.$options.shadowRoot)}:n),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}a(170);var l=o(s,r,[],!1,null,null,null);l.options.__file="src/components/CSpinner.vue";var c=l.exports,u=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"c-container-item"},[this._t("default"),this._v(" "),t("div")],2)};u._withStripped=!0;var d=(a(171),o({name:"CContainerItem"},u,[],!1,null,null,null));d.options.__file="src/components/containers/CContainerItem.vue";var p=d.exports,m=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"c-container-header"},[t("h4",[t("strong",[this._v(this._s(this.title))])]),this._v(" "),t("div",{staticClass:"c-container-header__extra"},[this._t("default")],2)])};m._withStripped=!0;var h={name:"CContainerHeader",props:{title:{type:String,default:"Title"}}},f=(a(172),o(h,m,[],!1,null,null,null));f.options.__file="src/components/containers/CContainerHeader.vue";var _=f.exports,v=function(){var e=this,t=e.$createElement;return(e._self._c||t)("button",e._g({class:["c-button","c-button--"+e.variant,"c-button--"+e.size,{"c-button--block":e.block}],attrs:{disabled:e.disabled,variant:e.variant,size:e.size}},e.$listeners),[e._t("default")],2)};v._withStripped=!0;var g={name:"CButton",props:{disabled:{type:Boolean,default:!1},variant:{type:String,default:"secondary"},size:{type:String,default:"normal"},block:{type:Boolean,default:!1}}},y=(a(173),o(g,v,[],!1,null,null,null));y.options.__file="src/components/buttons/CButton.vue";var b=y.exports,k=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-button",e._g({staticClass:"c-button-save",attrs:{disabled:e.spinner||e.disabled,size:e.size,variant:e.variant}},e.$listeners),[e.spinner?a("c-spinner",{class:["c-button-save__spinner","c-button-save__spinner--"+e.type]}
27):e._e(),e._v(" "),a("span",{class:[{"c-button-save--content-hidden":e.spinner}]},[a("c-icon",{attrs:{icon:e.icon}}),e.isTitle?[e._v("  "+e._s(e.title))]:e._e()],2)],1)};k._withStripped=!0;var w={name:"CButtonSave",props:{title:{type:String,default:"Save"},variant:{type:String,default:"success"},icon:{type:String,default:"fa fa-check"},type:{type:String,default:"default"},spinner:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{size(){return"small"===this.type?"small":"normal"},isTitle(){return"default"===this.type||"small"===this.type}}},M=(a(174),o(w,k,[],!1,null,null,null));M.options.__file="src/components/buttons/CButtonSave.vue";var S=M.exports,D=function(){var e=this.$createElement,t=this._self._c||e;return t("c-button",this._g({attrs:{disabled:this.disabled,size:this.size,variant:"secondary"}},this.$listeners),[t("c-icon",{attrs:{icon:"fa fa-times"}}),this._v("  "+this._s(this.title))],1)};D._withStripped=!0;var L=o({name:"CButtonClose",props:{disabled:{type:Boolean,default:!1},title:{type:String,default:"Close"},size:{type:String,default:"normal"}}},D,[],!1,null,null,null);L.options.__file="src/components/buttons/CButtonClose.vue";var T=L.exports,x=function(){var e=this.$createElement,t=this._self._c||e;return t("c-button",this._g({attrs:{disabled:this.disabled,size:this.size,variant:"danger"}},this.$listeners),[t("c-icon",{attrs:{icon:"fa fa-trash"}}),this._v("  "+this._s(this.title))],1)};x._withStripped=!0;var C=o({name:"CButtonDelete",props:{disabled:{type:Boolean,default:!1},title:{type:String,default:"Delete"},size:{type:String,default:"normal"}}},x,[],!1,null,null,null);C.options.__file="src/components/buttons/CButtonDelete.vue";var Y=C.exports,A=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["c-button-file",{"c-button-file__icon":"icon"===e.type}]},[a("label",["icon"===e.type?a("span",[e._t("default")],2):"button"===e.type?a("span",{class:["c-button","c-button--"+e.variant,"c-button--"+e.size],attrs:{role:"button",tabindex:"0"}},[e._t("default")],2):e._e(),e._v(" "),e.subscription?a("span",[e._v(e._s(e.fileInfo))]):e._e(),e._v(" "),a("input",{staticClass:"c-button-file__input",attrs:{accept:e.accept,type:"file"},on:{change:e.changeFile}})]),e._v(" "),e.subscription&&e.selectedFile?a("remove-icon",{staticClass:"c-button-file__remove",attrs:{large:!1},on:{click:e.removeFile}}):e._e()],1)};A._withStripped=!0;var E={name:"CButtonFile",model:{prop:"selectedFile",event:"select"},props:{selectedFile:{type:File,default:null},accept:{type:String,default:null},type:{type:String,default:"icon"},size:{type:String,default:"normal"},variant:{type:String,default:"primary"},subscription:{type:Boolean,default:!0}},computed:{fileInfo(){return this.selectedFile?this.selectedFile.name:"No file selected"}},methods:{changeFile(e){e.target.files&&e.target.files[0]&&(this.$emit("select",e.target.files[0]),e.target.value="")},removeFile(){this.$emit("select",null)}}},O=(a(175),o(E,A,[],!1,null,null,null));O.options.__file="src/components/buttons/CButtonFile.vue";var I=O.exports,F=function(){var e=this,t=e.$createElement,a=e._self._c||t;return"checkbox"===e.type?a("input",e._g({directives:[{name:"mask",rawName:"v-mask",value:e.mask||{},expression:"mask || {}"},{name:"model",rawName:"v-model",value:e.mutableValue,expression:"mutableValue"}],ref:"input",class:["c-input",{"c-input--invalid":e.isInvalid,"c-input--disabled":e.disabled}],attrs:{id:e.id,placeholder:e.placeholder,autocomplete:e.autocomplete,name:e.name,disabled:e.disabled,type:"checkbox"},domProps:{checked:Array.isArray(e.mutableValue)?e._i(e.mutableValue,null)>-1:e.mutableValue},on:{change:function(t){var a=e.mutableValue,i=t.target,n=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.mutableValue=a.concat([null])):r>-1&&(e.mutableValue=a.slice(0,r).concat(a.slice(r+1)))}else e.mutableValue=n}}},e.listeners)):"radio"===e.type?a("input",e._g({directives:[{name:"mask",rawName:"v-mask",value:e.mask||{},expression:"mask || {}"},{name:"model",rawName:"v-model",value:e.mutableValue,expression:"mutableValue"}],ref:"input",class:["c-input",{"c-input--invalid":e.isInvalid,"c-input--disabled":e.disabled}],attrs:{id:e.id,placeholder:e.placeholder,autocomplete:e.autocomplete,name:e.name,disabled:e.disabled,type:"radio"},domProps:{checked:e._q(e.mutableValue,null)},on:{change:function(t){e.mutableValue=null}}},e.listeners)):a("input",e._g({directives:[{name:"mask",rawName:"v-mask",value:e.mask||{},expression:"mask || {}"},{name:"model",rawName:"v-model",value:e.mutableValue,expression:"mutableValue"}],ref:"input",class:["c-input",{"c-input--invalid":e.isInvalid,"c-input--disabled":e.disabled}],attrs:{id:e.id,placeholder:e.placeholder,autocomplete:e.autocomplete,name:e.name,disabled:e.disabled,type:e.type},domProps:{value:e.mutableValue},on:{input:function(t){t.target.composing||(e.mutableValue=t.target.value)}}},e.listeners))};F._withStripped=!0;var P={name:"CInput",model:{prop:"value",event:"input"},props:{value:{type:[String,Number],default:null},mask:{type:Object,default:null},id:{type:String,default:null},type:{type:String,default:"text"},autocomplete:{type:String,default:"on"},name:{type:String,default:""},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},isInvalid:{type:Boolean,default:!1}},computed:{mutableValue:{get(){return this.value},set(e){this.$emit("input",e)}},listeners(){return Object.assign({},this.$listeners,{input(){}})}},methods:{focus(){this.$refs.input.focus()},blur(){this.$refs.input.blur()}}},j=(a(176),o(P,F,[],!1,null,null,null));j.options.__file="src/components/inputs/base/CInput.vue";var H=j.exports,$=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["c-input-form",{"c-input-form--small":e.small}]},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.append,expression:"append"}],ref:"append",class:["c-input-form__append",{"c-input-form__append--right":e.iconToRight}]},[e._t("default")],2),e._v(" "),a("c-input",e._g({ref:"input",class:e.computedInputClasses,attrs:{id:e.id,type:e.type,mask:e.mask,placeholder:e.placeholder,autocomplete:e.autocomplete,name:e.name,"is-invalid":e.isInvalid,disabled:e.disabled},on:{blur:function(t){return e.validate(!1)}},model:{value:e.mutableValue,callback:function(t){e.mutableValue=t},expression:"mutableValue"}},e.$listeners))],1)};$._withStripped=!0;var N={name:"CInputForm",model:{prop:"value",event:"input"},props:{value:{type:[String,Number],default:null},mask:{type:Object,default:null},id:{type:String,default:null},type:{type:String,default:"text"},autocomplete:{type:String,default:"on"},name:{type:String,default:""},placeholder:{type:String,default:null},inputClass:{type:[String,Array],default:null},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isInvalid:{type:Boolean,default:!1},small:{type:Boolean,default:!1},iconToRight:{type:Boolean,default:!1}},data:()=>({append:!1}),computed:{mutableValue:{get(){return this.value},set(){}},computedInputClasses(){const e=["c-input-form__input"].concat(this.inputClass);return this.append&&e.push(this.iconToRight?"c-input-form--append-right":"c-input-form--append-left"),e}},watch:{mutableValue:{immediate:!0,handler(){this.validate(!0)}}},async created(){await this.$nextTick(),this.append=!(!this.$refs.append||!this.$refs.append.childNodes.length)},methods:{focus(){this.$refs.input.focus()},blur(){this.$refs.input.blur()},validate(e){e&&!this.isInvalid||(this.required&&!this.mutableValue?this.$emit("update:isInvalid",!0):this.$emit("update:isInvalid",!1))}}},q=(a(177),o(N,$,[],!1,null,null,null));q.options.__file="src/components/inputs/base/CInputForm.vue";var R=q.exports,B=function(){var e=this,t=e.$createElement;return(e._self._c||t)("textarea",e._g({directives:[{name:"model",rawName:"v-model",value:e.mutableValue,expression:"mutableValue"}],class:["c-textarea",{"c-textarea--small":e.small,"c-textarea--disabled":e.disabled}],attrs:{id:e.id,cols:e.cols,rows:e.rows,disabled:e.disabled},domProps:{value:e.mutableValue},on:{input:function(t){t.target.composing||(e.mutableValue=t.target.value)}}},e.listeners))};B._withStripped=!0;var W={name:"CTextarea",model:{prop:"value",event:"input"},props:{value:{type:[String,Number],default:null},id:{type:String,default:null},cols:{type:[String,Number],default:null},rows:{type:[String,Number],default:null},small:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{mutableValue:{get(){return this.value},set(e){this.$emit("input",e)}},listeners(){return Object.assign({},this.$listeners,{input(){}})}},methods:{focus(){this.$refs.input.focus()},blur(){this.$refs.input.blur()}}},z=(a(178),o(W,B,[],!1,null,null,null));z.options.__file="src/components/inputs/base/CTextarea.vue";var U=z.exports,V=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"c-input-radio"},[a("input",e._g({directives:[{name:"model",rawName:"v-model",value:e.mutablePicked,expression:"mutablePicked"}],ref:"input",staticClass:"c-input-radio__input",attrs:{id:e.id,disabled:e.disabled,name:e.name,type:"radio"},domProps:{value:e.value,checked:e._q(e.mutablePicked,e.value)},on:{change:function(t){e.mutablePicked=e.value}}},e.listeners)),e._v(" "),a("label",{staticClass:"c-input-radio__label",attrs:{for:e.id},domProps:{innerHTML:e._s(e.label)},on:{mousedown:e.preventSelection}})])};V._withStripped=!0;var G={name:"CInputRadio",model:{prop:"picked",event:"input"},props:{picked:{type:[Boolean,String,Number],default:null},value:{type:[Boolean,String,Number],default:null},disabled:{type:Boolean,default:!1},id:{type:String,default:null},label:{type:String,default:"Label"},name:{type:String,required:!0}},computed:{mutablePicked:{get(){return this.picked},set(){this.$emit("input",this.value)}},listeners(){return Object.assign({},this.$listeners,{input(){}})}},methods:{focus(){this.$refs.input.focus()},blur(){this.$refs.input.blur()},preventSelection(e){e.detail>1&&e.preventDefault()}}},J=(a(179),o(G,V,[],!1,null,null,null));J.options.__file="src/components/inputs/base/CInputRadio.vue";var K=J.exports,Q=function(){var e=this,t=e.$createElement,a=e._self._c||t;
27return a("div",{staticClass:"c-input-checkbox"},[a("input",e._g({directives:[{name:"model",rawName:"v-model",value:e.mutablePicked,expression:"mutablePicked"}],ref:"input",class:["c-input-checkbox__input",{"c-input-checkbox__input--partial-checked":e.partialChecked}],attrs:{id:e.id,disabled:e.disabled,type:"checkbox"},domProps:{value:e.value,checked:Array.isArray(e.mutablePicked)?e._i(e.mutablePicked,e.value)>-1:e.mutablePicked},on:{change:function(t){var a=e.mutablePicked,i=t.target,n=!!i.checked;if(Array.isArray(a)){var r=e.value,s=e._i(a,r);i.checked?s<0&&(e.mutablePicked=a.concat([r])):s>-1&&(e.mutablePicked=a.slice(0,s).concat(a.slice(s+1)))}else e.mutablePicked=n}}},e.listeners)),e._v(" "),a("label",{staticClass:"c-input-checkbox__label",attrs:{for:e.id},domProps:{innerHTML:e._s(e.label)},on:{mousedown:e.preventSelection}})])};Q._withStripped=!0;var Z={name:"CInputCheckbox",model:{prop:"picked",event:"input"},props:{picked:{type:[Boolean,String,Number,Array],default:null},value:{type:[Boolean,String,Number],default:null},id:{type:String,default:null},disabled:{type:Boolean,default:!1},label:{type:String,default:"label"},partialChecked:{type:Boolean,default:!1}},computed:{mutablePicked:{get(){return this.picked},set(e){this.$emit("input",e)}},listeners(){return Object.assign({},this.$listeners,{input(){}})}},methods:{focus(){this.$refs.input.focus()},blur(){this.$refs.input.blur()},preventSelection(e){e.detail>1&&e.preventDefault()}}},X=(a(180),o(Z,Q,[],!1,null,null,null));X.options.__file="src/components/inputs/base/CInputCheckbox.vue";var ee=X.exports,te=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"c-input-group"},[this._t("default")],2)};te._withStripped=!0;var ae=(a(181),o({name:"CInputGroup"},te,[],!1,null,null,null));ae.options.__file="src/components/inputs/base/CInputGroup.vue";var ie=ae.exports,ne=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["c-input-radio-group",{"c-input-radio-group--stacked":e.stacked}]},e._l(e.options,function(t){return a("c-input-radio",{key:t.id||t.value,attrs:{disabled:e.disabled,value:t.value||t.id,id:e.name+"__"+(t.id||t.value),label:t.label||t.value,name:e.name},model:{value:e.mutablePicked,callback:function(t){e.mutablePicked=t},expression:"mutablePicked"}})}),1)};ne._withStripped=!0;var re={name:"CInputRadioGroup",model:{prop:"picked",event:"pick"},props:{picked:{type:[Boolean,String,Number],default:null},options:{type:Array,required:!0},name:{type:String,required:!0},stacked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{mutablePicked:{get(){return this.picked},set(e){this.$emit("pick",e)}}}},se=(a(182),o(re,ne,[],!1,null,null,null));se.options.__file="src/components/inputs/base/CInputRadioGroup.vue";var oe=se.exports,le=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["c-input-checkbox-group",{"c-input-checkbox-group--stacked":e.stacked}]},e._l(e.options,function(t){return a("c-input-checkbox",{key:t.id||t.value,attrs:{value:t.value||t.id,id:e.name+"__"+(t.id||t.value),label:t.label||t.value},model:{value:e.mutablePicked,callback:function(t){e.mutablePicked=t},expression:"mutablePicked"}})}),1)};le._withStripped=!0;var ce={name:"CInputCheckboxGroup",model:{prop:"picked",event:"pick"},props:{picked:{type:Array,default:()=>[]},options:{type:Array,required:!0},name:{type:String,required:!0},stacked:{type:Boolean,default:!1}},computed:{mutablePicked:{get(){return this.picked},set(e){this.$emit("pick",e)}}}},ue=(a(183),o(ce,le,[],!1,null,null,null));ue.options.__file="src/components/inputs/base/CInputCheckboxGroup.vue";var de=ue.exports,pe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"c-select"},[a("div",{staticClass:"c-select__selected-tag",on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.handleKeyPress("up"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.handleKeyPress("down"))}],mousedown:e.toggleFocus}},["default"===e.type?a("div",{ref:"input",class:["c-select__input","c-select__input--default",{"c-select__input--help-mode":e.helpMode,"c-select__input--small":e.small,"c-select__input--invalid":e.isInvalid,"c-select__input--disabled":e.disabled}],attrs:{tabindex:!e.disabled&&0},domProps:{innerHTML:e._s(e.displayValue)},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.select(null))},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:(t.stopPropagation(),e.blur(t))},focus:e.openDropdown,blur:e.closeDropdown}}
27):a("c-input-form",{ref:"input",attrs:{placeholder:e.displayValue,"input-class":["c-select__input",{"c-select__input--help-mode":e.helpMode,"c-select__input--default-placeholder":e.isDefaultPlaceholder}],small:e.small,"is-invalid":e.isInvalid,disabled:e.disabled,"icon-to-right":e.iconToRight,type:"search",autocomplete:"off"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.select(null))},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:(t.stopPropagation(),e.blur(t))},input:function(t){e.helpModeDropdownOpen=!0},focus:e.openDropdown,blur:e.closeDropdown},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}},[e._t("default")],2),e._v(" "),e.helpMode?e._e():a("c-icon",{class:["c-select__dropdown-indicator",{"c-select__dropdown-indicator--rotated":e.dropdownOpen,"c-select__dropdown-indicator--small":e.small,"c-select__dropdown-indicator--disabled":e.disabled}],attrs:{icon:"icon-arrow-down",large:""}}),e._v(" "),a("div",{ref:"hiddenFocus",staticClass:"c-select__hidden-focus",attrs:{tabindex:"0"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.blurHiddenFocus(t)}}})],1),e._v(" "),a("transition",[!e.helpMode&&e.dropdownOpen||!e.showImmediately&&e.helpMode&&e.helpModeDropdownOpen&&e.filteredOptions.length||e.showImmediately&&e.helpMode&&e.dropdownOpen&&e.filteredOptions.length&&!e.inputValue?a("div",{class:["c-select__dropdown-menu",{"c-select__dropdown-menu--small":e.small,"c-select__dropdown-menu--limited":e.widthLimited}]},[a("div",{ref:"dropdownMenu",staticClass:"c-select__dropdown-list"},[!e.filteredOptions.length||1===e.filteredOptions.length&&!e.filteredOptions[0].id?a("div",{staticClass:"c-select__no-options"},[e.onSearch?e._t("no-options",[e._v("Type to search...")]):e._t("no-options",[e._v("Sorry, no matching options.")])],2):e._l(e.filteredOptions,function(t,i){return a("div",{key:i,class:["c-select__option",{"c-select__option--active":e.isOptionSelected(t),"c-select__option--highlight":i===e.pointerPosition}],on:{mouseover:function(t){e.pointerPosition=i,e.mouseOverPointerPosition=!0},mousedown:function(a){return e.select(t)}}},[e._t("option",[a("span",{domProps:{innerHTML:e._s(t[e.dropdownLabel])}})],null,t)],2)})],2),e._v(" "),e.dropdownButton?a("div",{staticClass:"c-select__dropdown-button",on:{mousedown:function(t){e.isDropdownButtonClick=!0}}},[e._t("button")],2):e._e()]):e._e()])],1)};pe._withStripped=!0;var me={name:"CSelect",model:{prop:"value",event:"change"},props:{value:{type:[String,Number],default:null},options:{type:Array,default:()=>[]},type:{type:String,default:"filter"},onSearch:{type:Function,default:null},helpMode:{type:Boolean,default:!1},showImmediately:{type:Boolean,default:!1},dropdownLabel:{type:String,default:null},selectedLabel:{type:String,default:null},incomingLabel:{type:String,default:null},dropdownButton:{type:Boolean,default:!1},small:{type:Boolean,default:!1},canBeRemoved:{type:Boolean,default:!0},isInvalid:{type:Boolean,default:!1},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:null},widthLimited:{type:Boolean,default:!1},iconToRight:{type:Boolean,default:!1}},data:()=>({inputValue:null,displayValue:null,isDefaultPlaceholder:!1,dropdownOpen:!1,helpModeDropdownOpen:!1,pointerPosition:0,filteredOptions:[],isSelected:!1,mouseOverPointerPosition:!1,isDropdownButtonClick:!1}),watch:{value:{immediate:!0,handler(e){this.setValue(e)}},options:{immediate:!0,handler(){this.resetFilter(),this.helpMode||this.onSearch||this.setValue(this.value)}},inputValue(e){this.filter(e)},pointerPosition(){this.mouseOverPointerPosition||this.adjustScroll(),this.mouseOverPointerPosition=!1}},methods:{validate(e){e&&!this.isInvalid||(this.required&&!this.value&&0!==this.value?this.$emit("update:isInvalid",!0):this.$emit("update:isInvalid",!1))},toggleFocus(e){this.dropdownOpen?(this.helpMode||e.preventDefault(),this.blur()):(e.target.classList.contains("c-select__dropdown-indicator")&&e.preventDefault(),this.focus())},openDropdown(){const e=this.filteredOptions.findIndex(e=>e[this.incomingLabel]===this.value);this.pointerPosition=~e?e:0,this.dropdownOpen=!0},closeDropdown(){this.isDropdownButtonClick?(this.focus(),this.isDropdownButtonClick=!1):(this.dropdownOpen=!1,this.helpMode?(this.isSelected?this.isSelected=!1:this.$emit("change",this.inputValue),this.helpModeDropdownOpen=!1):this.inputValue="",this.$refs.hiddenFocus&&this.$refs.hiddenFocus.focus(),this.$nextTick(()=>{this.validate(!1)}))},focus(){this.$refs.input&&this.$refs.input.focus()},blur(){this.$refs.input&&this.$refs.input.blur()},blurHiddenFocus(){this.$refs.hiddenFocus&&this.$refs.hiddenFocus.blur()},isOptionSelected(e){return e[this.incomingLabel]===this.value},setValue(e){if(this.isDefaultPlaceholder=!1,e||"0"===String(this.value))if(this.helpMode)this.inputValue=e;else if(this.onSearch)this.displayValue=e;else{const t=this.options.find(t=>String(e)===String(t[this.incomingLabel]));this.displayValue=t?t[this.selectedLabel]:""}else this.displayValue=this.placeholder,this.isDefaultPlaceholder=!0,this.inputValue="";this.validate(!0)},filter(e){const t=e.toLowerCase().trim();"function"==typeof this.onSearch&&this.dropdownOpen?this.onSearch(t):t?this.filteredOptions=this.options.filter(e=>!e.notDisplay&&~e.value.toLowerCase().indexOf(t)):this.resetFilter()},resetFilter(){if(this.filteredOptions=this.options.filter(e=>!e.notDisplay),!this.helpMode&&this.canBeRemoved){const e={id:null};e[this.dropdownLabel]="&nbsp;",this.filteredOptions.unshift(e)}},select(e){let t=e;t||(t=this.filteredOptions.find((e,t)=>
27t===this.pointerPosition),this.blur()),t&&(this.onSearch?(t[this.selectedLabel]===this.value&&this.setValue(this.value),this.$emit("change",t[this.selectedLabel])):this.$emit("change",t[this.incomingLabel]),this.$emit("select",t),this.helpMode&&(this.isSelected=!0))},handleKeyPress(e){"up"===e&&this.pointerPosition?this.pointerPosition-=1:"down"===e&&this.pointerPosition<this.filteredOptions.length-1&&(this.pointerPosition+=1)},adjustScroll(){const{dropdownMenu:e}=this.$refs;if(e){const t=this.pixelsToPointerTop(e),a=this.pixelsToPointerBottom(e);t<=this.viewport(e).top&&this.scrollTo(e,t);const i=this.viewport(e);a>=i.bottom&&this.scrollTo(e,i.top+this.pointerHeight(e))}},pixelsToPointerTop(e){let t=0;for(let a=0;a<this.pointerPosition;a++)t+=e.children[a].offsetHeight;return t},pixelsToPointerBottom(e){return this.pixelsToPointerTop(e)+this.pointerHeight(e)},pointerHeight(e){const t=e.children[this.pointerPosition];return t?t.offsetHeight:0},viewport:e=>({top:e.scrollTop,bottom:e.offsetHeight+e.scrollTop}),scrollTo(e,t){e.scrollTop=t}}},he=(a(184),o(me,pe,[],!1,null,null,null));he.options.__file="src/components/inputs/base/CSelect.vue";var fe=he.exports,_e=function(){var e=this.$createElement;return(this._self._c||e)("small",{class:["c-input-feedback","c-input-feedback--"+this.type]},[this._t("default")],2)};_e._withStripped=!0;var ve={name:"CInputFeedback",props:{type:{type:String,default:"default"}}},ge=(a(185),o(ve,_e,[],!1,null,null,null));ge.options.__file="src/components/inputs/base/CInputFeedback.vue";var ye=ge.exports,be=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"c-text-editor",attrs:{contentEditable:""},domProps:{innerHTML:this._s(this.mutableContent)},on:{input:this.changeContent}})};be._withStripped=!0;var ke={name:"CTextEditor",model:{prop:"content",event:"change"},props:{content:{type:String,default:null}},data:()=>({mutableContent:null}),created(){this.mutableContent=this.content},methods:{changeContent(e){this.$emit("change",e.target.innerHTML)}}},we=(a(186),o(ke,be,[],!1,null,"34221b36",null));we.options.__file="src/components/inputs/base/CTextEditor.vue";var Me=we.exports,Se=function(){var e=this,t=e.$createElement;return(e._self._c||t)("date-picker",{ref:"datepicker",class:["c-date-picker",{"c-date-picker--small":e.small,"c-date-picker--disabled":e.disabled,"c-date-picker--calendar-open":e.calendarOpen}],attrs:{id:e.id,highlighted:{dates:[new Date]},disabled:e.disabled,format:e.format,"calendar-button-icon":e.calendarButtonIcon,"calendar-button":e.calendarButton,placeholder:e.placeholder,"disabled-dates":e.disabledDates,"monday-first":""},on:{opened:function(t){e.calendarOpen=!0},closed:function(t){e.calendarOpen=!1}},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}})};function De(e){return(De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Le(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Te(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function xe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{},i=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(a).filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),i.forEach(function(t){Te(e,t,a[t])})}return e}Se._withStripped=!0;var Ce=new(function(){function e(t,a,i,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.language=t,this.months=a,this.monthsAbbr=i,this.days=n,this.rtl=!1,this.ymd=!1,this.yearSuffix=""}var t,a;return t=e,(a=[{key:"language",get:function(){return this._language},set:function(e){if("string"!=typeof e)throw new TypeError("Language must be a string");this._language=e}},{key:"months",get:function(){return this._months},set:function(e){if(12!==e.length)throw new RangeError("There must be 12 months for ".concat(this.language," language"));this._months=e}},{key:"monthsAbbr",get:function(){return this._monthsAbbr},set:function(e){if(12!==e.length)throw new RangeError("There must be 12 abbreviated months for ".concat(this.language," language"));this._monthsAbbr=e}},{key:"days",get:function(){return this._days}
vendor: 28,797 bytes, line 27
27,set:function(e){if(7!==e.length)throw new RangeError("There must be 7 days for ".concat(this.language," language"));this._days=e}}])&&Le(t.prototype,a),e}())("English",["January","February","March","April","May","June","July","August","September","October","November","December"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),Ye={useUtc:!1,getFullYear:function(e){return this.useUtc?e.getUTCFullYear():e.getFullYear()},getMonth:function(e){return this.useUtc?e.getUTCMonth():e.getMonth()},getDate:function(e){return this.useUtc?e.getUTCDate():e.getDate()},getDay:function(e){return this.useUtc?e.getUTCDay():e.getDay()},getHours:function(e){return this.useUtc?e.getUTCHours():e.getHours()},getMinutes:function(e){return this.useUtc?e.getUTCMinutes():e.getMinutes()},setFullYear:function(e,t,a){return this.useUtc?e.setUTCFullYear(t):e.setFullYear(t)},setMonth:function(e,t,a){return this.useUtc?e.setUTCMonth(t):e.setMonth(t)},setDate:function(e,t,a){return this.useUtc?e.setUTCDate(t):e.setDate(t)},compareDates:function(e,t){var a=new Date(e.getTime()),i=new Date(t.getTime());return this.useUtc?(a.setUTCHours(0,0,0,0),i.setUTCHours(0,0,0,0)):(a.setHours(0,0,0,0),i.setHours(0,0,0,0)),a.getTime()===i.getTime()},isValidDate:function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},getDayNameAbbr:function(e,t){if("object"!==De(e))throw TypeError("Invalid Type");return t[this.getDay(e)]},getMonthName:function(e,t){if(!t)throw Error("missing 2nd parameter Months array");if("object"===De(e))return t[this.getMonth(e)];if("number"==typeof e)return t[e];throw TypeError("Invalid type")},getMonthNameAbbr:function(e,t){if(!t)throw Error("missing 2nd paramter Months array");if("object"===De(e))return t[this.getMonth(e)];if("number"==typeof e)return t[e];throw TypeError("Invalid type")},daysInMonth:function(e,t){return/8|3|5|10/.test(t)?30:1===t?(e%4||!(e%100))&&e%400?28:29:31},getNthSuffix:function(e){switch(e){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},formatDate:function(e,t,a){a=a||Ce;var i=this.getFullYear(e),n=this.getMonth(e)+1,r=this.getDate(e);return t.replace(/dd/,("0"+r).slice(-2)).replace(/d/,r).replace(/yyyy/,i).replace(/yy/,String(i).slice(2)).replace(/MMMM/,this.getMonthName(this.getMonth(e),a.months)).replace(/MMM/,this.getMonthNameAbbr(this.getMonth(e),a.monthsAbbr)).replace(/MM/,("0"+n).slice(-2)).replace(/M(?!a|ä|e)/,n).replace(/su/,this.getNthSuffix(this.getDate(e))).replace(/D(?!e|é|i)/,this.getDayNameAbbr(e,a.days))},createDateArray:function(e,t){for(var a=[];e<=t;)a.push(new Date(e)),e=this.setDate(new Date(e),this.getDate(new Date(e))+1);return a},validateDateInput:function(e){return null===e||e instanceof Date||"string"==typeof e||"number"==typeof e}},Ae=function(e){return xe({},Ye,{useUtc:e})},Ee=xe({},Ye),Oe=function(e,t,a,i,n,r,s,o,l,c){"boolean"!=typeof s&&(l=o,o=s,s=!1);var u,d="function"==typeof a?a.options:a;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,n&&(d.functional=!0)),i&&(d._scopeId=i),r?(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__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=u):t&&(u=s?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,o(e))}),u)if(d.functional){var p=d.render;d.render=function(e,t){return u.call(t),p(e,t)}}else{var m=d.beforeCreate;d.beforeCreate=m?[].concat(m,u):[u]}return a};const Ie={props:{selectedDate:Date,resetTypedDate:[Date],format:[String,Function],translation:Object,inline:Boolean,id:String,name:String,refName:String,openDate:Date,placeholder:String,inputClass:[String,Object,Array],clearButton:Boolean,clearButtonIcon:String,calendarButton:Boolean,calendarButtonIcon:String,calendarButtonIconContent:String,disabled:Boolean,required:Boolean,typeable:Boolean,bootstrapStyling:Boolean,useUtc:Boolean},data:function(){return{input:null,typedDate:!1,utils:Ae(this.useUtc)}},computed:{formattedValue:function(){return this.selectedDate?this.typedDate?this.typedDate:"function"==typeof this.format?this.format(this.selectedDate):this.utils.formatDate(new Date(this.selectedDate),this.format,this.translation):null},computedInputClass:function(){return this.bootstrapStyling?"string"==typeof this.inputClass?[this.inputClass,"form-control"].join(" "):xe({"form-control":!0},this.inputClass):this.inputClass}},watch:{resetTypedDate:function(){this.typedDate=!1}},methods:{showCalendar:function(){this.$emit("showCalendar")},parseTypedDate:function(e){if([27,13].includes(e.keyCode)&&this.input.blur(),this.typeable){var t=Date.parse(this.input.value);isNaN(t)||(this.typedDate=this.input.value,this.$emit("typedDate",new Date(this.typedDate)))}},inputBlurred:function(){this.typeable&&isNaN(Date.parse(this.input.value))&&(this.clearDate(),this.input.value=null,this.typedDate=null),this.$emit("closeCalendar")},clearDate:function(){this.$emit("clearDate")}},mounted:function(){this.input=this.$el.querySelector("input")}};var Fe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"input-group":e.bootstrapStyling}},[e.calendarButton?a("span",{staticClass:"vdp-datepicker__calendar-button",class:{"input-group-prepend":e.bootstrapStyling},style:{"cursor:not-allowed;":e.disabled},on:{click:e.showCalendar}},[a("span",{class:{"input-group-text":e.bootstrapStyling}},[a("i",{class:e.calendarButtonIcon},[e._v("\n        "+e._s(e.calendarButtonIconContent)+"\n        "),e.calendarButtonIcon?e._e():a("span",[e._v("…")])])])]):e._e(),e._v(" "),a("input",{ref:e.refName,class:e.computedInputClass,attrs:{type:e.inline?"hidden":"text",name:e.name,id:e.id,"open-date":e.openDate,placeholder:e.placeholder,"clear-button":e.clearButton,disabled:e.disabled,required:e.required,readonly:!e.typeable,autocomplete:"off"},domProps:{value:e.formattedValue},on:{click:e.showCalendar,keyup:e.parseTypedDate,blur:e.inputBlurred}}),e._v(" "),e.clearButton&&e.selectedDate?a("span",{staticClass:"vdp-datepicker__clear-button",class:{"input-group-append":e.bootstrapStyling},on:{click:function(t){return e.clearDate()}}},[a("span",{class:{"input-group-text":e.bootstrapStyling}},[a("i",{class:e.clearButtonIcon},[e.clearButtonIcon?e._e():a("span",[e._v("×")])])])]):e._e(),e._v(" "),e._t("afterDateInput")],2)};Fe._withStripped=!0;var Pe=Oe({render:Fe,staticRenderFns:[]},void 0,Ie,void 0,!1,void 0,void 0,void 0);const je={props:{showDayView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,fullMonthName:Boolean,allowedToShowView:Function,dayCellContent:{type:Function,default:function(e){return e.date}},disabledDates:Object,highlighted:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,mondayFirst:Boolean,useUtc:Boolean},data:function(){return{utils:Ae(this.useUtc)}},computed:{daysOfWeek:function(){if(this.mondayFirst){var e=this.translation.days.slice();return e.push(e.shift()),e}return this.translation.days},blankDays:function(){var e=this.pageDate,t=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)):new Date(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes());return this.mondayFirst?this.utils.getDay(t)>0?this.utils.getDay(t)-1:6:this.utils.getDay(t)},days:function(){for(var e=this.pageDate,t=[],a=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)):new Date(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes()),i=this.utils.daysInMonth(this.utils.getFullYear(a),this.utils.getMonth(a)),n=0;n<i;n++)t.push({date:this.utils.getDate(a),timestamp:a.getTime(),isSelected:this.isSelectedDate(a),isDisabled:this.isDisabledDate(a),isHighlighted:this.isHighlightedDate(a),isHighlightStart:this.isHighlightStart(a),isHighlightEnd:this.isHighlightEnd(a),isToday:this.utils.compareDates(a,new Date),isWeekend:0===this.utils.getDay(a)||6===this.utils.getDay(a),isSaturday:6===this.utils.getDay(a),isSunday:0===this.utils.getDay(a)}),this.utils.setDate(a,this.utils.getDate(a)+1);return t},currMonthName:function(){var e=this.fullMonthName?this.translation.months:this.translation.monthsAbbr;return this.utils.getMonthNameAbbr(this.utils.getMonth(this.pageDate),e)},currYearName:function(){var e=this.translation.yearSuffix;return"".concat(this.utils.getFullYear(this.pageDate)).concat(e)},isYmd:function(){return this.translation.ymd&&!0===this.translation.ymd},isLeftNavDisabled:function(){return this.isRtl?this.isNextMonthDisabled(this.pageTimestamp):this.isPreviousMonthDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousMonthDisabled(this.pageTimestamp):this.isNextMonthDisabled(this.pageTimestamp)}},methods:{selectDate:function(e){if(e.isDisabled)return this.$emit("selectedDisabled",e),!1;this.$emit("selectDate",e)},getPageMonth:function(){return this.utils.getMonth(this.pageDate)},showMonthCalendar:function(){this.$emit("showMonthCalendar")},changeMonth:function(e){var t=this.pageDate;this.utils.setMonth(t,this.utils.getMonth(t)+e),this.$emit("changedMonth",t)},previousMonth:function(){this.isPreviousMonthDisabled()||this.changeMonth(-1)},isPreviousMonthDisabled:function(){if(!this.disabledDates||!this.disabledDates.to)return!1;var e=this.pageDate;return this.utils.getMonth(this.disabledDates.to)>=this.utils.getMonth(e)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(e)},nextMonth:function(){this.isNextMonthDisabled()||this.changeMonth(1)},isNextMonthDisabled:function(){if(!this.disabledDates||!this.disabledDates.from)return!1;var e=this.pageDate;return this.utils.getMonth(this.disabledDates.from)<=this.utils.getMonth(e)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(e)},isSelectedDate:function(e){return this.selectedDate&&this.utils.compareDates(this.selectedDate,e)},isDisabledDate:function(e){var t=this,a=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.dates&&this.disabledDates.dates.forEach(function(i){if(t.utils.compareDates(e,i))return a=!0,!0}),void 0!==this.disabledDates.to&&this.disabledDates.to&&e<this.disabledDates.to&&(a=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&e>this.disabledDates.from&&(a=!0),void 0!==this.disabledDates.ranges&&this.disabledDates.ranges.forEach(function(t){if(void 0!==t.from&&t.from&&void 0!==t.to&&t.to&&e<t.to&&e>t.from)return a=!0,!0}),void 0!==this.disabledDates.days&&-1!==this.disabledDates.days.indexOf(this.utils.getDay(e))&&(a=!0),void 0!==this.disabledDates.daysOfMonth&&-1!==this.disabledDates.daysOfMonth.indexOf(this.utils.getDate(e))&&(a=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(a=!0),a)},isHighlightedDate:function(e){var t=this;if((!this.highlighted||!this.highlighted.includeDisabled)&&this.isDisabledDate(e))return!1;var a=!1;return void 0!==this.highlighted&&(void 0!==this.highlighted.dates&&this.highlighted.dates.forEach(function(i){if(t.utils.compareDates(e,i))return a=!0,!0}),this.isDefined(this.highlighted.from)&&this.isDefined(this.highlighted.to)&&(a=e>=this.highlighted.from&&e<=this.highlighted.to),void 0!==this.highlighted.days&&-1!==this.highlighted.days.indexOf(this.utils.getDay(e))&&(a=!0),void 0!==this.highlighted.daysOfMonth&&-1!==this.highlighted.daysOfMonth.indexOf(this.utils.getDate(e))&&(a=!0),"function"==typeof this.highlighted.customPredictor&&this.highlighted.customPredictor(e)&&(a=!0),a)},dayClasses:function(e){return{selected:e.isSelected,disabled:e.isDisabled,highlighted:e.isHighlighted,today:e.isToday,weekend:e.isWeekend,sat:e.isSaturday,sun:e.isSunday,"highlight-start":e.isHighlightStart,"highlight-end":e.isHighlightEnd}},isHighlightStart:function(e){return this.isHighlightedDate(e)&&this.highlighted.from instanceof Date&&this.utils.getFullYear(this.highlighted.from)===this.utils.getFullYear(e)&&this.utils.getMonth(this.highlighted.from)===this.utils.getMonth(e)&&this.utils.getDate(this.highlighted.from)===this.utils.getDate(e)},isHighlightEnd:function(e){return this.isHighlightedDate(e)&&this.highlighted.to instanceof Date&&this.utils.getFullYear(this.highlighted.to)===this.utils.getFullYear(e)&&this.utils.getMonth(this.highlighted.to)===this.utils.getMonth(e)&&this.utils.getDate(this.highlighted.to)===this.utils.getDate(e)},isDefined:function(e){return void 0!==e&&e}}};var He=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.showDayView,expression:"showDayView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),a("header",[a("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextMonth():e.previousMonth()}}},[e._v("<")]),e._v(" "),a("span",{staticClass:"day__month_btn",class:e.allowedToShowView("month")?"up":"",on:{click:e.showMonthCalendar}},[e._v(e._s(e.isYmd?e.currYearName:e.currMonthName)+" "+e._s(e.isYmd?e.currMonthName:e.currYearName))]),e._v(" "),a("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousMonth():e.nextMonth()}}},[e._v(">")])]),e._v(" "),a("div",{class:e.isRtl?"flex-rtl":""},[e._l(e.daysOfWeek,function(t){return a("span",{key:t.timestamp,staticClass:"cell day-header"},[e._v(e._s(t))])}),e._v(" "),e.blankDays>0?e._l(e.blankDays,function(e){return a("span",{key:e.timestamp,staticClass:"cell day blank"})}):e._e(),e._l(e.days,function(t){return a("span",{key:t.timestamp,staticClass:"cell day",class:e.dayClasses(t),domProps:{innerHTML:e._s(e.dayCellContent(t))},on:{click:function(a){return e.selectDate(t)}}})})],2)],2)};He._withStripped=!0;var $e=Oe({render:He,staticRenderFns:[]},void 0,je,void 0,!1,void 0,void 0,void 0);const Ne={props:{showMonthView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,disabledDates:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,allowedToShowView:Function,useUtc:Boolean},data:function(){return{utils:Ae(this.useUtc)}},computed:{months:function(){for(var e=this.pageDate,t=[],a=this.useUtc?new Date(Date.UTC(e.getUTCFullYear(),0,e.getUTCDate())):new Date(e.getFullYear(),0,e.getDate(),e.getHours(),e.getMinutes()),i=0;i<12;i++)t.push({month:this.utils.getMonthName(i,this.translation.months),timestamp:a.getTime(),isSelected:this.isSelectedMonth(a),isDisabled:this.isDisabledMonth(a)}),this.utils.setMonth(a,this.utils.getMonth(a)+1);return t},pageYearName:function(){var e=this.translation.yearSuffix;return"".concat(this.utils.getFullYear(this.pageDate)).concat(e)},isLeftNavDisabled:function(){return this.isRtl?this.isNextYearDisabled(this.pageTimestamp):this.isPreviousYearDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousYearDisabled(this.pageTimestamp):this.isNextYearDisabled(this.pageTimestamp)}},methods:{selectMonth:function(e){if(e.isDisabled)return!1;this.$emit("selectMonth",e)},changeYear:function(e){var t=this.pageDate;this.utils.setFullYear(t,this.utils.getFullYear(t)+e),this.$emit("changedYear",t)},previousYear:function(){this.isPreviousYearDisabled()||this.changeYear(-1)},isPreviousYearDisabled:function(){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(this.pageDate)},nextYear:function(){this.isNextYearDisabled()||this.changeYear(1)},isNextYearDisabled:function(){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(this.pageDate)},showYearCalendar:function(){this.$emit("showYearCalendar")},isSelectedMonth:function(e){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(e)&&this.utils.getMonth(this.selectedDate)===this.utils.getMonth(e)},isDisabledMonth:function(e){var t=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&(this.utils.getMonth(e)<this.utils.getMonth(this.disabledDates.to)&&this.utils.getFullYear(e)<=this.utils.getFullYear(this.disabledDates.to)||this.utils.getFullYear(e)<this.utils.getFullYear(this.disabledDates.to))&&(t=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&(this.utils.getMonth(e)>this.utils.getMonth(this.disabledDates.from)&&this.utils.getFullYear(e)>=this.utils.getFullYear(this.disabledDates.from)||this.utils.getFullYear(e)>this.utils.getFullYear(this.disabledDates.from))&&(t=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(t=!0),t)}}};var qe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.showMonthView,expression:"showMonthView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),a("header",[a("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextYear():e.previousYear()}}},[e._v("<")]),e._v(" "),a("span",{staticClass:"month__year_btn",class:e.allowedToShowView("year")?"up":"",on:{click:e.showYearCalendar}},[e._v(e._s(e.pageYearName))]),e._v(" "),a("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousYear():e.nextYear()}}},[e._v(">")])]),e._v(" "),e._l(e.months,function(t){return a("span",{key:t.timestamp,staticClass:"cell month",class:{selected:t.isSelected,disabled:t.isDisabled},on:{click:function(a){return a.stopPropagation(),e.selectMonth(t)}}},[e._v(e._s(t.month))])})],2)};qe._withStripped=!0;var Re=Oe({render:qe,staticRenderFns:[]},void 0,Ne,void 0,!1,void 0,void 0,void 0);const Be={props:{showYearView:Boolean,selectedDate:Date,pageDate:Date,pageTimestamp:Number,disabledDates:Object,highlighted:Object,calendarClass:[String,Object,Array],calendarStyle:Object,translation:Object,isRtl:Boolean,allowedToShowView:Function,useUtc:Boolean},computed:{years:function(){for(var e=this.pageDate,t=[],a=this.useUtc?new Date(Date.UTC(10*Math.floor(e.getUTCFullYear()/10),e.getUTCMonth(),e.getUTCDate())):new Date(10*Math.floor(e.getFullYear()/10),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes()),i=0;i<10;i++)t.push({year:this.utils.getFullYear(a),timestamp:a.getTime(),isSelected:this.isSelectedYear(a),isDisabled:this.isDisabledYear(a)}),this.utils.setFullYear(a,this.utils.getFullYear(a)+1);return t},getPageDecade:function(){var e=10*Math.floor(this.utils.getFullYear(this.pageDate)/10),t=e+9,a=this.translation.yearSuffix;return"".concat(e," - ").concat(t).concat(a)},isLeftNavDisabled:function(){return this.isRtl?this.isNextDecadeDisabled(this.pageTimestamp):this.isPreviousDecadeDisabled(this.pageTimestamp)},isRightNavDisabled:function(){return this.isRtl?this.isPreviousDecadeDisabled(this.pageTimestamp):this.isNextDecadeDisabled(this.pageTimestamp)}},data:function(){return{utils:Ae(this.useUtc)}},methods:{selectYear:function(e){if(e.isDisabled)return!1;this.$emit("selectYear",e)},changeYear:function(e){var t=this.pageDate;this.utils.setFullYear(t,this.utils.getFullYear(t)+e),this.$emit("changedDecade",t)},previousDecade:function(){if(this.isPreviousDecadeDisabled())return!1;this.changeYear(-10)},isPreviousDecadeDisabled:function(){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>10*Math.floor(this.utils.getFullYear(this.pageDate)/10)-1},nextDecade:function(){if(this.isNextDecadeDisabled())return!1;this.changeYear(10)},isNextDecadeDisabled:function(){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<10*Math.ceil(this.utils.getFullYear(this.pageDate)/10)},isSelectedYear:function(e){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(e)},isDisabledYear:function(e){var t=!1;return!(void 0===this.disabledDates||!this.disabledDates)&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&this.utils.getFullYear(e)<this.utils.getFullYear(this.disabledDates.to)&&(t=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&this.utils.getFullYear(e)>this.utils.getFullYear(this.disabledDates.from)&&(t=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(e)&&(t=!0),t)}}};var We=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.showYearView,expression:"showYearView"}],class:[e.calendarClass,"vdp-datepicker__calendar"],style:e.calendarStyle,on:{mousedown:function(e){e.preventDefault()}}},[e._t("beforeCalendarHeader"),e._v(" "),a("header",[a("span",{staticClass:"prev",class:{disabled:e.isLeftNavDisabled},on:{click:function(t){e.isRtl?e.nextDecade():e.previousDecade()}}},[e._v("<")]),e._v(" "),a("span",[e._v(e._s(e.getPageDecade))]),e._v(" "),a("span",{staticClass:"next",class:{disabled:e.isRightNavDisabled},on:{click:function(t){e.isRtl?e.previousDecade():e.nextDecade()}}},[e._v(">")])]),e._v(" "),e._l(e.years,function(t){return a("span",{key:t.timestamp,staticClass:"cell year",class:{selected:t.isSelected,disabled:t.isDisabled},on:{click:function(a){return a.stopPropagation(),e.selectYear(t)}}},[e._v(e._s(t.year))])})],2)};We._withStripped=!0;var ze={components:{DateInput:Pe,PickerDay:$e,PickerMonth:Re,PickerYear:Oe({render:We,staticRenderFns:[]},void 0,Be,void 0,!1,void 0,void 0,void 0)},props:{value:{validator:function(e){return Ee.validateDateInput(e)}},name:String,refName:String,id:String,format:{type:[String,Function],default:"dd MMM yyyy"},language:{type:Object,default:function(){return Ce}},openDate:{validator:function(e){return Ee.validateDateInput(e)}},dayCellContent:Function,fullMonthName:Boolean,disabledDates:Object,highlighted:Object,placeholder:String,inline:Boolean,calendarClass:[String,Object,Array],inputClass:[String,Object,Array],wrapperClass:[String,Object,Array],mondayFirst:Boolean,clearButton:Boolean,clearButtonIcon:String,calendarButton:Boolean,calendarButtonIcon:String,calendarButtonIconContent:String,bootstrapStyling:Boolean,initialView:String,disabled:Boolean,required:Boolean,typeable:Boolean,useUtc:Boolean,minimumView:{type:String,default:"day"},maximumView:{type:String,default:"year"}},data:function(){var e=this.openDate?new Date(this.openDate):new Date,t=Ae(this.useUtc);return{pageTimestamp:t.setDate(e,1),selectedDate:null,showDayView:!1,showMonthView:!1,showYearView:!1,calendarHeight:0,resetTypedDate:new Date,utils:t}},watch:{value:function(e){this.setValue(e)},openDate:function(){this.setPageDate()},initialView:function(){this.setInitialView()}},computed:{computedInitialView:function(){return this.initialView?this.initialView:this.minimumView},pageDate:function(){return new Date(this.pageTimestamp)},translation:function(){return this.language},calendarStyle:function(){return{position:this.isInline?"static":void 0}},isOpen:function(){return this.showDayView||this.showMonthView||this.showYearView},isInline:function(){return!!this.inline},isRtl:function(){return!0===this.translation.rtl}},methods:{resetDefaultPageDate:function(){null!==this.selectedDate?this.setPageDate(this.selectedDate):this.setPageDate()},showCalendar:function(){return!this.disabled&&!this.isInline&&(this.isOpen?this.close(!0):void this.setInitialView())},setInitialView:function(){var e=this.computedInitialView;if(!this.allowedToShowView(e))throw new Error("initialView '".concat(this.initialView,"' cannot be rendered based on minimum '").concat(this.minimumView,"' and maximum '").concat(this.maximumView,"'"));switch(e){case"year":this.showYearCalendar();break;case"month":this.showMonthCalendar();break;default:this.showDayCalendar()}},allowedToShowView:function(e){var t=["day","month","year"],a=t.indexOf(this.minimumView),i=t.indexOf(this.maximumView),n=t.indexOf(e);return n>=a&&n<=i},showDayCalendar:function(){return!!this.allowedToShowView("day")&&(this.close(),this.showDayView=!0,!0)},showMonthCalendar:function(){return!!this.allowedToShowView("month")&&(this.close(),this.showMonthView=!0,!0)},showYearCalendar:function(){return!!this.allowedToShowView("year")&&(this.close(),this.showYearView=!0,!0)},setDate:function(e){var t=new Date(e);this.selectedDate=t,this.setPageDate(t),this.$emit("selected",t),this.$emit("input",t)},clearDate:function(){this.selectedDate=null,this.setPageDate(),this.$emit("selected",null),this.$emit("input",null),this.$emit("cleared")},selectDate:function(e){this.setDate(e.timestamp),this.isInline||this.close(!0),this.resetTypedDate=new Date},selectDisabledDate:function(e){this.$emit("selectedDisabled",e)},selectMonth:function(e){var t=new Date(e.timestamp);this.allowedToShowView("day")?(this.setPageDate(t),this.$emit("changedMonth",e),this.showDayCalendar()):this.selectDate(e)},selectYear:function(e){var t=new Date(e.timestamp);this.allowedToShowView("month")?(this.setPageDate(t),this.$emit("changedYear",e),this.showMonthCalendar()):this.selectDate(e)},setValue:function(e){if("string"==typeof e||"number"==typeof e){var t=new Date(e);e=isNaN(t.valueOf())?null:t}if(!e)return this.setPageDate(),void(this.selectedDate=null);this.selectedDate=e,this.setPageDate(e)},setPageDate:function(e){e||(e=this.openDate?new Date(this.openDate):new Date),this.pageTimestamp=this.utils.setDate(new Date(e),1)},handleChangedMonthFromDayPicker:function(e){this.setPageDate(e),this.$emit("changedMonth",e)},setTypedDate:function(e){this.setDate(e.getTime())},close:function(e){this.showDayView=this.showMonthView=this.showYearView=!1,this.isInline||(e&&this.$emit("closed"),document.removeEventListener("click",this.clickOutside,!1))},init:function(){this.value&&this.setValue(this.value),this.isInline&&this.setInitialView()}},mounted:function(){this.init()}},Ue="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase()),Ve=document.head||document.getElementsByTagName("head")[0],Ge={};const Je=ze;var Ke=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"vdp-datepicker",class:[e.wrapperClass,e.isRtl?"rtl":""]},[a("date-input",{attrs:{selectedDate:e.selectedDate,resetTypedDate:e.resetTypedDate,format:e.format,translation:e.translation,inline:e.inline,id:e.id,name:e.name,refName:e.refName,openDate:e.openDate,placeholder:e.placeholder,inputClass:e.inputClass,typeable:e.typeable,clearButton:e.clearButton,clearButtonIcon:e.clearButtonIcon,calendarButton:e.calendarButton,calendarButtonIcon:e.calendarButtonIcon,calendarButtonIconContent:e.calendarButtonIconContent,disabled:e.disabled,required:e.required,bootstrapStyling:e.bootstrapStyling,"use-utc":e.useUtc},on:{showCalendar:e.showCalendar,closeCalendar:e.close,typedDate:e.setTypedDate,clearDate:e.clearDate}},[e._t("afterDateInput",null,{slot:"afterDateInput"})],2),e._v(" "),e.allowedToShowView("day")?a("picker-day",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showDayView:e.showDayView,fullMonthName:e.fullMonthName,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,highlighted:e.highlighted,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,pageTimestamp:e.pageTimestamp,isRtl:e.isRtl,mondayFirst:e.mondayFirst,dayCellContent:e.dayCellContent,"use-utc":e.useUtc},on:{changedMonth:e.handleChangedMonthFromDayPicker,selectDate:e.selectDate,showMonthCalendar:e.showMonthCalendar,selectedDisabled:e.selectDisabledDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e(),e._v(" "),e.allowedToShowView("month")?a("picker-month",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showMonthView:e.showMonthView,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,isRtl:e.isRtl,"use-utc":e.useUtc},on:{selectMonth:e.selectMonth,showYearCalendar:e.showYearCalendar,changedYear:e.setPageDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e(),e._v(" "),e.allowedToShowView("year")?a("picker-year",{attrs:{pageDate:e.pageDate,selectedDate:e.selectedDate,showYearView:e.showYearView,allowedToShowView:e.allowedToShowView,disabledDates:e.disabledDates,calendarClass:e.calendarClass,calendarStyle:e.calendarStyle,translation:e.translation,isRtl:e.isRtl,"use-utc":e.useUtc},on:{selectYear:e.selectYear,changedDecade:e.setPageDate}},[e._t("beforeCalendarHeader",null,{slot:"beforeCalendarHeader"})],2):e._e()],1)};Ke._withStripped=!0;var Qe=Oe({render:Ke
vendor: 8,558 bytes, line 27
27,staticRenderFns:[]},function(e){e&&e("data-v-64ca2bb5_0",{source:".rtl {\n  direction: rtl;\n}\n.vdp-datepicker {\n  position: relative;\n  text-align: left;\n}\n.vdp-datepicker * {\n  box-sizing: border-box;\n}\n.vdp-datepicker__calendar {\n  position: absolute;\n  z-index: 100;\n  background: #fff;\n  width: 300px;\n  border: 1px solid #ccc;\n}\n.vdp-datepicker__calendar header {\n  display: block;\n  line-height: 40px;\n}\n.vdp-datepicker__calendar header span {\n  display: inline-block;\n  text-align: center;\n  width: 71.42857142857143%;\n  float: left;\n}\n.vdp-datepicker__calendar header .prev,\n.vdp-datepicker__calendar header .next {\n  width: 14.285714285714286%;\n  float: left;\n  text-indent: -10000px;\n  position: relative;\n}\n.vdp-datepicker__calendar header .prev:after,\n.vdp-datepicker__calendar header .next:after {\n  content: '';\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translateX(-50%) translateY(-50%);\n  border: 6px solid transparent;\n}\n.vdp-datepicker__calendar header .prev:after {\n  border-right: 10px solid #000;\n  margin-left: -5px;\n}\n.vdp-datepicker__calendar header .prev.disabled:after {\n  border-right: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .next:after {\n  border-left: 10px solid #000;\n  margin-left: 5px;\n}\n.vdp-datepicker__calendar header .next.disabled:after {\n  border-left: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled),\n.vdp-datepicker__calendar header .next:not(.disabled),\n.vdp-datepicker__calendar header .up:not(.disabled) {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled):hover,\n.vdp-datepicker__calendar header .next:not(.disabled):hover,\n.vdp-datepicker__calendar header .up:not(.disabled):hover {\n  background: #eee;\n}\n.vdp-datepicker__calendar .disabled {\n  color: #ddd;\n  cursor: default;\n}\n.vdp-datepicker__calendar .flex-rtl {\n  display: flex;\n  width: inherit;\n  flex-wrap: wrap;\n}\n.vdp-datepicker__calendar .cell {\n  display: inline-block;\n  padding: 0 5px;\n  width: 14.285714285714286%;\n  height: 40px;\n  line-height: 40px;\n  text-align: center;\n  vertical-align: middle;\n  border: 1px solid transparent;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {\n  border: 1px solid #4bd;\n}\n.vdp-datepicker__calendar .cell.selected {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected:hover {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected.highlighted {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.highlighted {\n  background: #cae5ed;\n}\n.vdp-datepicker__calendar .cell.highlighted.disabled {\n  color: #a3a3a3;\n}\n.vdp-datepicker__calendar .cell.grey {\n  color: #888;\n}\n.vdp-datepicker__calendar .cell.grey:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header {\n  font-size: 75%;\n  white-space: nowrap;\n  cursor: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .month,\n.vdp-datepicker__calendar .year {\n  width: 33.333%;\n}\n.vdp-datepicker__clear-button,\n.vdp-datepicker__calendar-button {\n  cursor: pointer;\n  font-style: normal;\n}\n.vdp-datepicker__clear-button.disabled,\n.vdp-datepicker__calendar-button.disabled {\n  color: #999;\n  cursor: default;\n}\n",map:{version:3,sources:["Datepicker.vue"],names:[],mappings:"AAAA;EACE,cAAc;AAChB;AACA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,kBAAkB;EAClB,YAAY;EACZ,gBAAgB;EAChB,YAAY;EACZ,sBAAsB;AACxB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,qBAAqB;EACrB,kBAAkB;EAClB,yBAAyB;EACzB,WAAW;AACb;AACA;;EAEE,0BAA0B;EAC1B,WAAW;EACX,qBAAqB;EACrB,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,kBAAkB;EAClB,SAAS;EACT,QAAQ;EACR,4CAA4C;EAC5C,6BAA6B;AAC/B;AACA;EACE,6BAA6B;EAC7B,iBAAiB;AACnB;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,4BAA4B;EAC5B,gBAAgB;AAClB;AACA;EACE,4BAA4B;AAC9B;AACA;;;EAGE,eAAe;AACjB;AACA;;;EAGE,gBAAgB;AAClB;AACA;EACE,WAAW;EACX,eAAe;AACjB;AACA;EACE,aAAa;EACb,cAAc;EACd,eAAe;AACjB;AACA;EACE,qBAAqB;EACrB,cAAc;EACd,0BAA0B;EAC1B,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,sBAAsB;EACtB,6BAA6B;AAC/B;AACA;;;EAGE,eAAe;AACjB;AACA;;;EAGE,sBAAsB;AACxB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,cAAc;AAChB;AACA;EACE,WAAW;AACb;AACA;EACE,mBAAmB;AACrB;AACA;EACE,cAAc;EACd,mBAAmB;EACnB,eAAe;AACjB;AACA;EACE,mBAAmB;AACrB;AACA;;EAEE,cAAc;AAChB;AACA;;EAEE,eAAe;EACf,kBAAkB;AACpB;AACA;;EAEE,WAAW;EACX,eAAe;AACjB",file:"Datepicker.vue",sourcesContent:[".rtl {\n  direction: rtl;\n}\n.vdp-datepicker {\n  position: relative;\n  text-align: left;\n}\n.vdp-datepicker * {\n  box-sizing: border-box;\n}\n.vdp-datepicker__calendar {\n  position: absolute;\n  z-index: 100;\n  background: #fff;\n  width: 300px;\n  border: 1px solid #ccc;\n}\n.vdp-datepicker__calendar header {\n  display: block;\n  line-height: 40px;\n}\n.vdp-datepicker__calendar header span {\n  display: inline-block;\n  text-align: center;\n  width: 71.42857142857143%;\n  float: left;\n}\n.vdp-datepicker__calendar header .prev,\n.vdp-datepicker__calendar header .next {\n  width: 14.285714285714286%;\n  float: left;\n  text-indent: -10000px;\n  position: relative;\n}\n.vdp-datepicker__calendar header .prev:after,\n.vdp-datepicker__calendar header .next:after {\n  content: '';\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translateX(-50%) translateY(-50%);\n  border: 6px solid transparent;\n}\n.vdp-datepicker__calendar header .prev:after {\n  border-right: 10px solid #000;\n  margin-left: -5px;\n}\n.vdp-datepicker__calendar header .prev.disabled:after {\n  border-right: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .next:after {\n  border-left: 10px solid #000;\n  margin-left: 5px;\n}\n.vdp-datepicker__calendar header .next.disabled:after {\n  border-left: 10px solid #ddd;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled),\n.vdp-datepicker__calendar header .next:not(.disabled),\n.vdp-datepicker__calendar header .up:not(.disabled) {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar header .prev:not(.disabled):hover,\n.vdp-datepicker__calendar header .next:not(.disabled):hover,\n.vdp-datepicker__calendar header .up:not(.disabled):hover {\n  background: #eee;\n}\n.vdp-datepicker__calendar .disabled {\n  color: #ddd;\n  cursor: default;\n}\n.vdp-datepicker__calendar .flex-rtl {\n  display: flex;\n  width: inherit;\n  flex-wrap: wrap;\n}\n.vdp-datepicker__calendar .cell {\n  display: inline-block;\n  padding: 0 5px;\n  width: 14.285714285714286%;\n  height: 40px;\n  line-height: 40px;\n  text-align: center;\n  vertical-align: middle;\n  border: 1px solid transparent;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year {\n  cursor: pointer;\n}\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,\n.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover {\n  border: 1px solid #4bd;\n}\n.vdp-datepicker__calendar .cell.selected {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected:hover {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.selected.highlighted {\n  background: #4bd;\n}\n.vdp-datepicker__calendar .cell.highlighted {\n  background: #cae5ed;\n}\n.vdp-datepicker__calendar .cell.highlighted.disabled {\n  color: #a3a3a3;\n}\n.vdp-datepicker__calendar .cell.grey {\n  color: #888;\n}\n.vdp-datepicker__calendar .cell.grey:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header {\n  font-size: 75%;\n  white-space: nowrap;\n  cursor: inherit;\n}\n.vdp-datepicker__calendar .cell.day-header:hover {\n  background: inherit;\n}\n.vdp-datepicker__calendar .month,\n.vdp-datepicker__calendar .year {\n  width: 33.333%;\n}\n.vdp-datepicker__clear-button,\n.vdp-datepicker__calendar-button {\n  cursor: pointer;\n  font-style: normal;\n}\n.vdp-datepicker__clear-button.disabled,\n.vdp-datepicker__calendar-button.disabled {\n  color: #999;\n  cursor: default;\n}\n"]},media:void 0})},
27Je,void 0,!1,void 0,function(e){return function(e,t){return function(e,t){var a=Ue?t.media||"default":e,i=Ge[a]||(Ge[a]={ids:new Set,styles:[]});if(!i.ids.has(e)){i.ids.add(e);var n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",t.media&&i.element.setAttribute("media",t.media),Ve.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(n),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{var r=i.ids.size-1,s=document.createTextNode(n),o=i.element.childNodes;o[r]&&i.element.removeChild(o[r]),o.length?i.element.insertBefore(s,o[r]):i.element.appendChild(s)}}}(e,t)}},void 0),Ze=a(0),Xe=a.n(Ze);const et=e=>e&&Xe()(e).format("YYYY-MM-DD");var tt={name:"CDatePicker",components:{DatePicker:Qe},model:{prop:"incomingDate",event:"change"},props:{incomingDate:{type:[String,Number,Date],default:null},id:{type:String,default:null},format:{type:String,default:"MM/dd/yyyy"},placeholder:{type:String,default:"MM/DD/YYYY"},disabled:{type:Boolean,default:!1},calendarButton:{type:Boolean,default:!0},disabledDates:{type:Object,default:()=>({})},small:{type:Boolean,default:!1}},data:()=>({calendarOpen:!1}),computed:{calendarButtonIcon(){return this.date?"icon-times":"icon-table-calendar"},date:{get(){return this.incomingDate&&Xe()(this.incomingDate).format()},set(e){this.$emit("change",et(e))}}},watch:{incomingDate:{immediate:!0,handler(){this.$emit("change",et(this.incomingDate))}}},created(){this.$nextTick(()=>{const{datepicker:e}=this.$refs;e.$children[0].showCalendar=(t=>{e.$children[0].$emit("showCalendar",t)});const t=e.$children[0].parseTypedDate;e.$children[0].parseTypedDate=(a=>{t(a),[8,46].includes(a.keyCode)&&(this.disabled||e.clearDate())}),e.showCalendar=(t=>t&&t.target.classList.contains("icon-times")?(this.disabled||e.clearDate(),!1):!e.disabled&&!e.isInline&&(e.isOpen?e.close(!0):(e.$emit("opened"),e.setInitialView()))),e.$children[0].inputBlurred=function(){e.$children[0].typeable&&Number.isNaN(Date.parse(e.$children[0].input.value))&&(e.$children[0].clearDate(),e.$children[0].input.value=null,e.$children[0].typedDate=null),e.$children[0].$emit("closeCalendar",!0)},this.$refs.datepicker.showCalendar(),this.$refs.datepicker.showCalendar()})},methods:{}},at=(a(189),o(tt,Se,[],!1,null,null,null));at.options.__file="src/components/inputs/CDatePicker.vue";var it=at.exports,nt=function(){var e=this,t=e.$createElement;return(e._self._c||t)("c-date-picker",{attrs:{"calendar-button":e.calendarButton,format:e.format,placeholder:e.placeholder,"disabled-dates":e.disabledDates},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}})};nt._withStripped=!0;const rt=[];var st=o({name:"CInputDateRange",model:{prop:"incomingDate",event:"change"},props:{incomingDate:{type:[String,Number,Date],default:null},calendarButton:{type:Boolean,default:!0},format:{type:String,default:"MM/dd/yy"},placeholder:{type:String,default:"Select Date"},name:{type:String,default:null},startDate:{type:Boolean,default:!1}},data:()=>({range:null,disabledDates:{}}),computed:{date:{get(){return this.incomingDate},set(e){this.$emit("change",e)}}},watch:{date:{immediate:!0,handler(e){if(this.range||(this.range=rt.find(e=>e.name===this.name),this.range||(this.range={name:this.name,disabledDates:{to:null}},rt.push(this.range)),this.startDate||(this.disabledDates=this.range.disabledDates)),this.startDate){const t=new Date(e);t.setDate(t.getDate()-1),this.range.disabledDates.to=t}}}}},nt,[],!1,null,null,null);st.options.__file="src/components/inputs/CInputDateRange.vue";var ot=st.exports,lt=function(){var e=this,t=e.$createElement;return(e._self._c||t)("c-input-form",{attrs:{mask:{mask:"Hh:mi tM",showMaskOnHover:!1,showMaskOnFocus:!1,placeholder:"_",definitions:e.mask},disabled:e.disabled,placeholder:"hh:mm TT"},model:{value:e.displayTime,callback:function(t){e.displayTime=t},expression:"displayTime"}})};lt._withStripped=!0;var ct=o({name:"CInputTime",model:{prop:"incomingTime",event:"change"},props:{incomingTime:{type:String,default:null},disabled:{type:Boolean,default:!1}},data:()=>({displayTime:null,mask:{H:{validator:"[0-1]"},h:{validator(e,t){const a=Number(t.buffer[0]),i=Number(e);return!(1===a&&i>2||0===a&&0===i)}},m:{validator:"[0-5]"},i:{validator:"[0-9]"}
27,t:{validator:"[Aa, Pp]",casing:"upper"}}}),watch:{displayTime(e){this.$emit("change",this.setTimeInServerFormat(e))}},created(){this.displayTime=this.getTimeInClientFormat(this.incomingTime)},methods:{setTimeInServerFormat(e){if(!e)return null;const t=e.split(":"),a=t[1].slice(-2);return"AM"===a&&"12"===t[0]?t[0]="00":"PM"===a&&Number(t[0])<12&&(t[0]=Number(t[0])+12),t[1]=t[1].slice(0,2),`${t[0]}:${t[1]}:00`},getTimeInClientFormat(e){if(!e)return null;const t=e.split(":");let a="AM";return"00"===t[0]?t[0]="12":"12"===t[0]?a="PM":Number(t[0])>12&&(a="PM",t[0]=Number(t[0])-12,t[0]-10<0&&(t[0]=`0${t[0]}`.slice(0,2))),`${t[0]}:${t[1]} ${a}`}}},lt,[],!1,null,null,null);ct.options.__file="src/components/inputs/CInputTime.vue";var ut=ct.exports,dt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-input-form",e._g({ref:"input",attrs:{id:e.id,disabled:e.disabled,placeholder:e.placeholder,"is-invalid":e.isInvalid,small:e.small,type:"number",name:"amount"},model:{value:e.mutableValue,callback:function(t){e.mutableValue=t},expression:"mutableValue"}},e.$listeners),[a("c-icon",{attrs:{icon:"fa fa-usd"}})],1)};dt._withStripped=!0;var pt=o({name:"CInputUsd",model:{prop:"value",event:"input"},props:{value:{type:[Number,String],default:null},id:{type:String,default:null},placeholder:{type:String,default:null},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},isInvalid:{type:Boolean,default:!1},small:{type:Boolean,default:!1}},computed:{mutableValue:{get(){return this.value},set(){}}},created(){this.$nextTick(()=>{this.$refs.input&&(this.$refs.input.validate=this.validate)})},methods:{focus(){this.$refs.input.focus()},blur(){this.$refs.input.blur()},validate(e){e&&!this.isInvalid||(this.required&&!this.mutableValue?this.$emit("update:isInvalid",!0):Number(this.mutableValue)||0===Number(this.mutableValue)?this.$emit("update:isInvalid",!1):this.$emit("update:isInvalid",!0))}}},dt,[],!1,null,null,null);pt.options.__file="src/components/inputs/CInputUsd.vue";var mt=pt.exports,ht=function(){var e=this,t=e.$createElement;return(e._self._c||t)("c-input-form",e._g({ref:"input",attrs:{id:e.id,placeholder:e.placeholder,"is-invalid":e.isInvalid,disabled:e.disabled,type:"email",name:"email"},model:{value:e.mutableValue,callback:function(t){e.mutableValue=t},expression:"mutableValue"}},e.$listeners),[e._v("@")])};ht._withStripped=!0;var ft=o({name:"CInputEmail",model:{prop:"value",event:"input"},props:{value:{type:[Number,String],default:null},id:{type:String,default:null},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},isInvalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{mutableValue:{get(){return this.value},set(){}}},created(){this.$nextTick(()=>{this.$refs.input.validate=this.validate})},methods:{focus(){this.$refs.input.focus()},blur(){this.$refs.input.blur()},validate(e){if(!e||this.isInvalid){const e=/[A-Z0-9._%+-]+@[A-Z0-9-]+.+.[A-Z]{2,11}/gim;this.required&&!this.mutableValue?this.$emit("update:isInvalid",!0):e.test(this.mutableValue)?this.$emit("update:isInvalid",!1):this.$emit("update:isInvalid",!0)}}}},ht,[],!1,null,null,null);ft.options.__file="src/components/inputs/CInputEmail.vue";var _t=ft.exports,vt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-input-form",e._g({ref:"input",attrs:{id:e.id,placeholder:e.placeholder,"is-invalid":e.isInvalid,disabled:e.disabled,type:"password",name:"password"},model:{value:e.mutableValue,callback:function(t){e.mutableValue=t},expression:"mutableValue"}},e.$listeners),[a("c-icon",{attrs:{icon:"fa fa-key"}})],1)};vt._withStripped=!0;var gt=o({name:"CInputPassword",model:{prop:"value",event:"input"},props:{value:{type:[Number,String],default:null},id:{type:String,default:null},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},isInvalid:{type:Boolean,default:!1},minLength:{type:Number,default:null},match:{type:String,default:null},disabled:{type:Boolean,default:!1}},computed:{mutableValue:{get(){return this.value},set(){}}},created(){this.$nextTick(()=>{this.$refs.input.validate=this.validate})},methods:{focus(){this.$refs.input.focus()},blur(){this.$refs.input.blur()},validate(e){e&&!this.isInvalid||(this.required&&!this.mutableValue?this.$emit("update:isInvalid",!0):this.mutableValue&&this.minLength&&this.mutableValue.length<this.minLength?this.$emit("update:isInvalid",!0):null!==this.match&&this.match!==this.mutableValue?this.$emit("update:isInvalid",!0):this.$emit("update:isInvalid",!1))}}},vt,[],!1,null,null,null);gt.options.__file="src/components/inputs/CInputPassword.vue";
27var yt=gt.exports,bt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-input-form",e._g({ref:"input",attrs:{id:e.id,mask:{mask:"(999) 999-9999",showMaskOnHover:!1,showMaskOnFocus:!1,placeholder:"_"},placeholder:e.placeholder,disabled:e.disabled,name:"phone"},model:{value:e.mutableValue,callback:function(t){e.mutableValue=t},expression:"mutableValue"}},e.listeners),[a("c-icon",{attrs:{icon:"fa fa-phone"}})],1)};bt._withStripped=!0;var kt=o({name:"CInputPhone",model:{prop:"value",event:"input"},props:{value:{type:[Number,String],default:null},id:{type:String,default:null},placeholder:{type:String,default:null},disabled:{type:Boolean,default:!1}},computed:{mutableValue:{get(){return this.value},set(e){this.$emit("input",e?e.replace(/\D/g,""):"")}},listeners(){return Object.assign({},this.$listeners,{input(){}})}},methods:{focus(){this.$refs.input.focus()},blur(){this.$refs.input.blur()}}},bt,[],!1,null,null,null);kt.options.__file="src/components/inputs/CInputPhone.vue";var wt=kt.exports,Mt=function(){var e=this,t=e.$createElement;return(e._self._c||t)("a",e._g({class:["c-link",{"c-link--hover":e.hover,"c-link--grey":e.grey}],attrs:{href:e.href,target:e.target},on:{mousedown:e.preventSelection}},e.$listeners),[e._t("default")],2)};Mt._withStripped=!0;var St={name:"CLink",props:{href:{type:String,default:null},hover:{type:Boolean,default:!1},grey:{type:Boolean,default:!1},target:{type:String,default:null}},methods:{preventSelection(e){e.detail>1&&e.preventDefault()}}},Dt=(a(190),o(St,Mt,[],!1,null,null,null));Dt.options.__file="src/components/links/CLink.vue";var Lt=Dt.exports,Tt=function(){var e=this.$createElement;return(this._self._c||e)("c-link",this._g({class:["c-link-anchor"],attrs:{href:this.href,hover:this.hover}},this.$listeners),[this._t("default")],2)};Tt._withStripped=!0;var xt={name:"CLinkAnchor",props:{href:{type:String,default:null},hover:{type:Boolean,default:!1}}},Ct=(a(191),o(xt,Tt,[],!1,null,null,null));Ct.options.__file="src/components/links/CLinkAnchor.vue";var Yt=Ct.exports,At=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("span",e._g({staticClass:"c-link-icon",on:{mouseover:function(t){e.hover=!0},mouseleave:function(t){e.hover=!1}}},e.$listeners),[a("c-icon",{staticClass:"c-link-icon__icon",attrs:{icon:e.icon}}),e._v(" "),a("c-link-anchor",{attrs:{hover:e.hover}},[e._v(e._s(e.text))])],1)};At._withStripped=!0;var Et={name:"CLinkIcon",props:{icon:{type:String,required:!0},text:{type:String,required:!0}},data:()=>({hover:!1})},Ot=(a(192),o(Et,At,[],!1,null,null,null));Ot.options.__file="src/components/links/CLinkIcon.vue";var It=Ot.exports,Ft=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("span",[a("c-link",{attrs:{text:e.text},on:{click:e.requestConfirmation}},[e._t("default")],2),e._v(" "),a("c-modal-confirm",{attrs:{title:e.title,body:e.body},on:{resolve:e.confirm,reject:e.cancel},model:{value:e.confirmationState,callback:function(t){e.confirmationState=t},expression:"confirmationState"}})],1)};Ft._withStripped=!0;var Pt={name:"CLinkConfirm",props:{text:{type:String,default:null,required:!1},title:{type:String,default:null,required:!1},body:{type:String,default:null,required:!1}},data:()=>({confirmationState:!1}),methods:{requestConfirmation(){this.confirmationState=!0},confirm(){this.$emit("click"),this.cancel()},cancel(){this.confirmationState=!1}}},jt=(a(193),o(Pt,Ft,[],!1,null,null,null));jt.options.__file="src/components/links/CLinkConfirm.vue";var Ht=jt.exports,$t=function(){var e=this.$createElement;return(this._self._c||e)("i",this._g({class:[this.icon,{large:this.large}],attrs:{title:this.title}},this.$listeners))};$t._withStripped=!0;var Nt={name:"CIcon",props:{icon:{type:String,required:!0},title:{type:String,default:null},large:{type:Boolean,default:!1}}},qt=(a(194),o(Nt,$t,[],!1,null,null,null));qt.options.__file="src/components/icons/CIcon.vue";var Rt=qt.exports,Bt=function(){var e=this.$createElement;return(this._self._c||e)("c-icon",this._g({class:["c-icon-pencil",{"c-icon-pencil--disabled":this.disabled}],attrs:{large:this.large,title:this.title,icon:"fa fa-pencil"}},this.listeners))};Bt._withStripped=!0;var Wt={name:"CIconPencil",props:{large:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},title:{type:String,default:null}},computed:{listeners(){return this.disabled?{}:Object.assign({},this.$listeners)}}},zt=(a(195),o(Wt,Bt,[],!1,null,null,null));zt.options.__file="src/components/icons/CIconPencil.vue";
27var Ut=zt.exports,Vt=function(){var e=this.$createElement;return(this._self._c||e)("c-icon",this._g({staticClass:"c-icon-cross",attrs:{large:this.large,icon:"fa fa-close"}},this.$listeners))};Vt._withStripped=!0;var Gt={name:"CIconCross",props:{large:{type:Boolean,default:!0}}},Jt=(a(196),o(Gt,Vt,[],!1,null,null,null));Jt.options.__file="src/components/icons/CIconCross.vue";var Kt=Jt.exports,Qt=function(){var e=this.$createElement;return(this._self._c||e)("c-icon",this._g({staticClass:"c-icon-exclamation",attrs:{large:this.large,icon:"fa fa-exclamation-triangle"}},this.$listeners))};Qt._withStripped=!0;var Zt={name:"CIconExclamation",props:{large:{type:Boolean,default:!1}}},Xt=(a(197),o(Zt,Qt,[],!1,null,null,null));Xt.options.__file="src/components/icons/CIconExclamation.vue";var ea=Xt.exports,ta=function(){var e=this.$createElement;return(this._self._c||e)("c-icon",this._g({staticClass:"c-icon-exclamation-circle",attrs:{large:this.large,icon:"fa fa-exclamation-circle"}},this.$listeners))};ta._withStripped=!0;
27var aa={name:"CIconExclamationCircle",props:{large:{type:Boolean,default:!1}}},ia=(a(198),o(aa,ta,[],!1,null,null,null));ia.options.__file="src/components/icons/CIconExclamationCircle.vue";var na=ia.exports,ra=function(){var e=this.$createElement;return(this._self._c||e)("c-icon",this._g({staticClass:"c-icon-check-circle",attrs:{large:this.large,icon:"fa fa-check-circle"}},this.$listeners))};ra._withStripped=!0;var sa={name:"CIconCheckCircle",props:{large:{type:Boolean,default:!1}}},oa=(a(199),o(sa,ra,[],!1,null,null,null));oa.options.__file="src/components/icons/CIconCheckCircle.vue";var la=oa.exports,ca=function(){var e=this.$createElement;return(this._self._c||e)("c-icon",this._g({staticClass:"c-icon-error-circle",attrs:{large:this.large,icon:"fa fa-times-circle"}},this.$listeners))};ca._withStripped=!0;var ua={name:"CIconErrorCircle",props:{large:{type:Boolean,default:!1}}},da=(a(200),o(ua,ca,[],!1,null,null,null));da.options.__file="src/components/icons/CIconErrorCircle.vue";var pa=da.exports,ma=function(){var e=this.$createElement;return(this._self._c||e)("c-icon",this._g({staticClass:"c-icon-download",attrs:{large:this.large,icon:this.icon}},this.$listeners))};ma._withStripped=!0;var ha={name:"CIconDownload",props:{large:{type:Boolean,default:!1},icon:{type:String,default:"fa fa-download"}}},fa=(a(201),o(ha,ma,[],!1,null,null,null));fa.options.__file="src/components/icons/CIconDownload.vue";var _a=fa.exports,va=function(){var e=this.$createElement;return(this._self._c||e)("c-icon",this._g({staticClass:"c-icon-link",attrs:{large:this.large,icon:"fa fa-link"}},this.$listeners))};va._withStripped=!0;var ga={name:"CIconLink",props:{large:{type:Boolean,default:!1}}},ya=(a(202),o(ga,va,[],!1,null,null,null));ya.options.__file="src/components/icons/CIconLink.vue";var ba=ya.exports,ka=function(){var e=this.$createElement;return(this._self._c||e)("c-icon",this._g({staticClass:"c-icon-warning",attrs:{large:this.large,icon:"icon-warning"}},this.$listeners))};ka._withStripped=!0;var wa={name:"CIconWarning",props:{large:{type:Boolean,default:!1}}},Ma=(a(203),o(wa,ka,[],!1,null,null,null));Ma.options.__file="src/components/icons/CIconWarning.vue";var Sa=Ma.exports,Da=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.state?a("div",{ref:"modalWrapper",class:["c-modal__wrapper",{"c-modal--centered":e.centered}],on:{mousedown:function(t){if(t.target!==t.currentTarget)return null;e.clickOnWrapper&&e.close()}}},[a("div",{directives:[{name:"esc",rawName:"v-esc",value:e.close,expression:"close"}],class:["c-modal","c-modal--"+e.variant,"c-modal--"+e.size]},[a("div",{staticClass:"c-modal__header"},[a("h5",{staticClass:"c-modal__title",domProps:{innerHTML:e._s(e.title)}}),e._v(" "),a("button",{staticClass:"c-modal__close",on:{click:e.close}},[e._v("×")])]),e._v(" "),a("div",{staticClass:"c-modal__body"},[e._t("body")],2),e._v(" "),a("div",{staticClass:"c-modal__footer"},[e._t("footer")],2)])]):e._e()};Da._withStripped=!0;var La={name:"CModal",model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},centered:{type:Boolean,default:!1},title:{type:String,default:"Modal title"},variant:{type:String,default:"default"},size:{type:String,default:"default"},clickOnWrapper:{type:Boolean,default:!0}},data:()=>({scrollTop:0}),watch:{state:{immediate:!1,handler(e){this.$nextTick(()=>{const t=document.body;e?(this.scrollTop=window.pageYOffset||document.documentElement.scrollTop||t.scrollTop||0,t.style.overflow="hidden",t.style.position="fixed",t.style.transform=`translateY(-${this.scrollTop}px)`,this.$refs.modalWrapper&&(this.$refs.modalWrapper.style.transform=`translateY(${this.scrollTop}px)`)):(t.style.overflow="initial",t.style.position="static",t.style.transform="none",this.$refs.modalWrapper&&(this.$refs.modalWrapper.style.transform="none"),window.scrollTo(0,this.scrollTop),this.scrollTop=0)})}}},methods:{close(){this.$emit("close",!1)}}},Ta=(a(204),o(La,Da,[],!1,null,null,null));Ta.options.__file="src/components/modals/CModal.vue";var xa=Ta.exports,Ca=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("transition",{attrs:{duration:{enter:0,leave:300},name:"c-modal-sliding__wrapper-",appear:""}},[e.state?a("div",{directives:[{name:"esc",rawName:"v-esc",value:e.close,expression:"close"}],staticClass:"c-modal-sliding__wrapper",on:{mousedown:function(t){return t.target!==t.currentTarget?null:e.close(t)}}},[e.spinner?a("div",{staticClass:"c-modal-sliding__spinner"}
27,[a("c-spinner")],1):e._e(),e._v(" "),a("transition",{attrs:{name:"c-modal-sliding-"}},[e.spinner?e._e():a("div",{ref:"modal",staticClass:"c-modal-sliding"},[a("div",{staticClass:"c-modal-sliding__header"},[a("div",{staticClass:"c-modal-sliding__title"},[e._t("title",[a("h5",{domProps:{innerHTML:e._s(e.title)}})])],2),e._v(" "),a("button",{staticClass:"c-modal-sliding__close",on:{click:e.close}},[e._v("×")])]),e._v(" "),a("div",{staticClass:"c-modal-sliding__body"},[e._t("body")],2),e._v(" "),a("div",{staticClass:"c-modal-sliding__footer"},[e._t("footer")],2),e._v(" "),e._t("default")],2)])],1):e._e()])};Ca._withStripped=!0;let Ya=0;var Aa={name:"CModalSliding",model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},title:{type:String,default:"Title"},spinner:{type:Boolean,default:!1}},watch:{spinner:{immediate:!0,handler(e){e||(Ya+=1,this.setWidth())}}},beforeDestroy(){Ya-=1},methods:{setWidth(){this.$nextTick(()=>{this.$refs.modal&&(this.$refs.modal.style.width=`${81-Ya}%`)})},close(){this.$emit("close",!1)}}},Ea=(a(205),o(Aa,Ca,[],!1,null,null,null));Ea.options.__file="src/components/modals/CModalSliding.vue";var Oa=Ea.exports,Ia=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{directives:[{name:"pressenter",rawName:"v-pressenter",value:function(t){e.$emit("resolve",e.itemId)},expression:"(e) => { $emit('resolve', itemId) }"}],attrs:{variant:e.variant,title:e.title},on:{keydown:function(t){return t.type.indexOf("key")||13===t.keyCode?e.$emit("resolve",e.itemId):null}},model:{value:e.modalState,callback:function(t){e.modalState=t},expression:"modalState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[e._v(e._s(e.body))]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:e.variant},on:{click:function(t){return e.$emit("resolve",e.itemId)}}},[e._v(e._s(e.confirmButtonText))]),e._v(" "),e.rejectButton?a("c-button",{attrs:{variant:"secondary"},on:{click:function(t){return e.$emit("reject",e.itemId)}}},[e._v("Cancel")]):e._e()],1)])};Ia._withStripped=!0;var Fa=o({name:"CModalConfirm",model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},itemId:{type:[Number,String],default:null},variant:{type:String,default:"danger"},title:{type:String,default:"Delete?"},body:{type:String,default:"Are you sure?"},rejectButton:{type:Boolean,default:!0},confirmButtonText:{type:String,default:"Yes"}},computed:{modalState:{get(){return this.state},set(e){e||this.$emit("reject",!1)}}},created(){},beforeDestroy(){},methods:{close(){this.$emit("reject",!1)}}},Ia,[],!1,null,null,null);Fa.options.__file="src/components/modals/CModalConfirm.vue";var Pa=Fa.exports,ja=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{directives:[{name:"pressenter",rawName:"v-pressenter",value:function(t){e.$emit("resolve",e.itemId)},expression:"(e) => { $emit('resolve', itemId) }"}],attrs:{variant:e.variant,title:e.title},model:{value:e.modalState,callback:function(t){e.modalState=t},expression:"modalState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[e._t("body")],2),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:e.variant},on:{click:function(t){return e.$emit("resolve",e.itemId)}}},[e._v("Ok")])],1)])};ja._withStripped=!0;var Ha=o({name:"CModalSuccess",model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},itemId:{type:[Number,String],default:null},variant:{type:String,default:"success"},title:{type:String,default:"Done"}},computed:{modalState:{get(){return this.state},set(e){e||this.$emit("reject",!1)}}},created(){},beforeDestroy(){},methods:{close(){this.$emit("reject",!1)}}},ja,[],!1,null,null,null);Ha.options.__file="src/components/modals/CModalSuccess.vue";var $a=Ha.exports,Na=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{class:["c-alert","c-alert--"+this.variant]},[t("button",{staticClass:"c-alert__button-close",on:{click:this.dismissed}},[this._v("×")]),this._v(" "),this._t("default")],2)};Na._withStripped=!0;var qa={name:"CAlert",props:{variant:{type:String,required:!0}},methods:{dismissed(e){this.$emit("dismissed",e)}}},Ra=(a(206),o(qa,Na,[],!1,null,null,null));Ra.options.__file="src/components/notifications/CAlert.vue";var Ba=Ra.exports,Wa=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("transition-group",{staticClass:"c-alert-server",attrs:{tag:"div",name:"c-alert-server-"}},e._l(e.notiArray,function(t){return a("c-alert",{key:t.key,attrs:{variant:t.type},on:{dismissed:function(a){return e.removeNoti(e.notiArray,t.key)}}},[a("span",{domProps:{innerHTML:e._s(t.message)}})])}),1)};Wa._withStripped=!0;var za={name:"CAlertServer",props:{notice:{type:Object,default:()=>({type:"warning",message:"Missing notice"})}},data:()=>({notiKey:0,notiArray:[]}),watch:{notice(e){this.clearingNoti(this.notiArray),e&&(this.notiArray.push({...e,key:this.notiKey}),this.notiKey+=1)}},methods:{removeNoti(e,t){e.splice(e.indexOf(t.key),1)},clearingNoti(e){for(;e.length>0;)e.shift()}}},Ua=(a(207),o(za,Wa,[],!1,null,null,null));Ua.options.__file="src/components/notifications/CAlertServer.vue";var Va=Ua.exports,Ga=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("transition-group",{staticClass:"c-toastr",attrs:{tag:"div",name:"c-toastr-"}},e._l(e.notifications,function(t){return a("div",{key:"noti_"+t.id,class:["c-toastr__notify","c-toastr__notify--"+t.type,{"c-toastr__notify--closing-by-user":t.duration<0}],on:{click:function(a){return e.removeNoti(t)}}},[a("span",{domProps:{innerHTML:e._s(t.message)}}),e._v(" "),t.duration<0?a("button",{staticClass:"c-toastr__button-close",on:{click:function(a){return e.removeNoti(t,!0)}}}
27,[e._v("×")]):e._e()])}),0)};Ga._withStripped=!0;const Ja=[];let Ka=0;const Qa={install(e){e.prototype.$notify={push(e){e.id=Ka,Ka+=1,Ja.unshift(e),e.duration>=0&&setTimeout(()=>{const t=Ja.indexOf(e);~t&&Ja.splice(t,1)},e.duration)},clear(){for(;Ja.length>0;)Ja.pop()}}}};var Za={name:"CToastr",data:()=>({notifications:Ja}),methods:{removeNoti(e,t){const a=Ja.indexOf(e);~a&&(e.duration>=0||t)&&Ja.splice(a,1)}},install(e){e.use(Qa)}},Xa=(a(208),o(Za,Ga,[],!1,null,null,null));Xa.options.__file="src/components/notifications/CToastr.vue";var ei=Xa.exports,ti=function(){var e=this.$createElement;return(this._self._c||e)("ul",{staticClass:"c-tabs"},[this._t("default")],2)};ti._withStripped=!0;var ai=(a(209),o({name:"CTabs"},ti,[],!1,null,null,null));ai.options.__file="src/components/tabs/CTabs.vue";var ii=ai.exports,ni=function(){var e=this.$createElement;return(this._self._c||e)("li",this._g({class:["c-tabs-item",{"c-tabs-item--active":this.active,"c-tabs-item--inactive":!this.active,"c-tabs-item--disabled":this.disabled}]},this.listeners),[this._t("default")],2)};ni._withStripped=!0;var ri={name:"CTabsItem",props:{active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{listeners(){const e=this;return Object.assign({},this.$listeners,{click(t){e.disabled||e.$emit("click",t)}})}}},si=(a(210),o(ri,ni,[],!1,null,null,null));si.options.__file="src/components/tabs/CTabsItem.vue";var oi=si.exports,li=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("table",{class:["c-table",{"c-table--bordered":e.bordered}]},[e._t("caption"),e._v(" "),a("thead",{class:e.theadClass},[a("tr",e._l(e.fields,function(t){return a("th",{key:t.key,class:["c-table__th",t.thClass,t.class,{"c-table__th--borderless-column":e.borderlessColumn,"c-table__th--sortable":t.sortable&&!t.customSortable}],attrs:{sort:t.sortable&&e.sortKey===t.key&&e.sortDirection},on:{click:function(a){return e.toggleSort(t.sortable,t.key)}}},[e._t("header_"+t.key,[a("span",{domProps:{innerHTML:e._s(t.label)}})])],2)}),0)]),e._v(" "),a("tfoot",[a("tr",[e._t("footer")],2)]),e._v(" "),a("tbody",[e.mutableItems.length?[e._t("customDrawing",[a("tr",{class:["c-table__tdrow",{"c-table__tdrow--striped":e.striped,"c-table__tdrow--hover":e.hover}]},[e._t("top-row",null,{fields:e.fields,items:e.mutableItems})],2),e._v(" "),e._l(e.mutableItems,function(t,i){return[a("c-table-row",{key:i,attrs:{fields:e.fields,item:t,items:e.mutableItems,striped:e.striped,hover:e.hover,"borderless-column":e.borderlessColumn},scopedSlots:e._u([e._l(e.fields,function(t){return{key:t.key,fn:function(n){return[e._t(t.key,[t.html?a("span",{key:t.key,domProps:{innerHTML:e._s(n.value)}}):[e._v(e._s(n.value))]],{index:i},n)]}}})],null,!0)})]})],{items:e.mutableItems})]:e.showEmpty?[a("tr",{staticClass:"c-table__empty"},[a("td",{attrs:{colspan:e.fields.length}},[e._t("empty",[e._v("No records")])],2)])]:e._e(),e._v(" "),e.showBottomRows?[e.mutableItems.length||e.showEmptyBottomRow?a("tr",{class:["c-table__tdrow",{"c-table__tdrow--striped":e.striped,"c-table__tdrow--hover":e.hover}]},[e._t("bottom-row",null,{fields:e.fields,items:e.mutableItems})],2):e._e(),e._v(" "),e.mutableItems.length||e.showEmptyBottomSubrow?a("tr",{class:["c-table__tdrow",{"c-table__tdrow--striped":e.striped,"c-table__tdrow--hover":e.hover}]},[e._t("bottom-subrow",null,{fields:e.fields,items:e.mutableItems})],2):e._e()]:e._e()],2)],2)};li._withStripped=!0;var ci=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("tr",{ref:"row",class:["c-table__tdrow",{"c-table__tdrow--striped":e.striped,"c-table__tdrow--hover":e.hover}]},e._l(e.fields,function(t){return a("td",{key:t.key,class:["c-table__td",t.tdClass,t.class,{"c-table__td--borderless-column":e.borderlessColumn}]},[e._t(t.key,[t.html?a("span",{domProps:{innerHTML:e._s(e.getValue(t.formatter,e.item[t.key],t.key,e.item))}}):[e._v("\n        "+e._s(e.getValue(t.formatter,e.item[t.key],t.key,e.item))+"\n      ")]],{item:e.item,items:e.items,toggleDetails:e.toggleDetails,value:e.getValue(t.formatter,e.item[t.key],t.key,e.item)})],2)}),0)};ci._withStripped=!0;
27const ui={template:'<tr v-if="showDetails" :class="{ \'c-table__tdrow--striped\': striped }" />',props:{striped:{type:Boolean,required:!0}},data:()=>({showDetails:!1})},di={template:'\n    <tr v-if="showDetails" :class="{ \'c-table__tdrow--striped\': striped }">\n      <td :colspan="length"><slot /></td>\n    </tr>\n  ',props:{item:{type:Object,required:!0},striped:{type:Boolean,required:!0},length:{type:Number,required:!0}},data:()=>({showDetails:!1})};let pi=null;var mi=o({name:"CTableRow",props:{item:{type:Object,required:!0},fields:{type:Array,required:!0},items:{type:Array,required:!0},striped:{type:Boolean,required:!0},hover:{type:Boolean,required:!0},borderlessColumn:{type:Boolean,required:!0}},data:()=>({showDetails:!1,instanceTrEmpty:null,instanceTrDetails:null}),beforeDestroy(){this.instanceTrDetails&&this.instanceTrEmpty&&(this.instanceTrDetails.showDetails=!1,this.instanceTrEmpty.showDetails=!1)},methods:{getValue:(e,t,a,i)=>"function"==typeof e?e(t,a,i):t,toggleDetails(e){if(this.showDetails=!this.showDetail
27s,!this.instanceTrDetails||!this.instanceTrEmpty){const{parentElement:t}=this.$refs.row,a=pi.extend(ui);this.instanceTrEmpty=new a({propsData:{striped:this.striped}});const i=pi.extend(di);this.instanceTrDetails=new i({propsData:{striped:this.striped,item:this.item,length:this.fields.length}}),this.instanceTrDetails.$slots.default=[e],this.instanceTrDetails.$mount(),this.instanceTrEmpty.$mount(),t.insertBefore(this.instanceTrDetails.$el,this.$refs.row.nextSibling),t.insertBefore(this.instanceTrEmpty.$el,this.$refs.row.nextSibling)}this.instanceTrDetails.showDetails=this.showDetails,this.instanceTrEmpty.showDetails=this.showDetails}},install(e){pi=e}},ci,[],!1,null,null,null);mi.options.__file="src/components/tables/CTable/CTableRow.vue";var hi=mi.exports,fi={name:"CTable",components:{CTableRow:hi},props:{fields:{type:Array,required:!0},items:{type:Array,required:!0},striped:{type:Boolean,default:!1},hover:{type:Boolean,default:!1},theadClass:{type:String,default:null},bordered:{type:Boolean,default:!1},borderlessColumn:{type:Boolean,default:!1},sortBy:{type:String,default:null},sortDesc:{type:Boolean,default:!1},noLocalSorting:{type:Boolean,default:!1},showEmpty:{type:Boolean,default:!1},showBottomRows:{type:Boolean,default:!0},showEmptyBottomRow:{type:Boolean,default:!1},showEmptyBottomSubrow:{type:Boolean,default:!1}},data:()=>({mutableItems:[],sortKey:null,sortDirection:"desc"}),watch:{items:{immediate:!0,handler(){this.sort()}}},created(){this.sortKey=this.sortBy,this.sortDirection=this.sortDesc?"desc":"asc"},methods:{toggleSort(e,t){e?(this.sortKey===t?"asc"===this.sortDirection?this.sortDirection="desc":"desc"===this.sortDirection&&(this.sortDirection="asc"):(this.sortKey=t,this.sortDirection="asc"),this.sort(!0)):this.sortKey&&(this.sortKey=null,this.sort(!0))},sort(e){this.mutableItems=this.items.slice(),!this.noLocalSorting&&this.sortKey&&this.mutableItems.sort(this.compare.bind(this,this.sortKey,this.sortDirection)),e&&this.$emit("sort-changed",{sortBy:this.sortKey,sortDesc:"desc"===this.sortDirection})},compare(e,t,a,i){let n;return n="number"==typeof a[e]&&"number"==typeof i[e]?a[e]<i[e]?-1:a[e]>i[e]?1:0:this.toString(a[e]).localeCompare(this.toString(i[e]),void 0,{numeric:!0}),"asc"===t?n:"desc"===t?-1*n:0},toString:e=>e?e instanceof Object?Object.keys(e).sort().map(t=>toString(e[t])).join(" "):String(e):""},install(e){hi.install(e)}},_i=(a(211),o(fi,li,[],!1,null,null,null));_i.options.__file="src/components/tables/CTable/CTable.vue";var vi=_i.exports,gi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"c-pagination"},[a("li",{class:["c-pagination__control-item",{"c-pagination__item--disabled":e.currentPage<=1}],on:{click:function(t){1===e.currentPage||e.setCurrentPage(1)}}},[e._v("«")]),e._v(" "),a("li",{class:["c-pagination__control-item",{"c-pagination__item--disabled":e.currentPage<=1}],on:{click:function(t){1===e.currentPage||e.setCurrentPage(e.currentPage-1)}}},[e._v("‹")]),e._v(" "),e.isLeftEllipsis?a("li",{staticClass:"c-pagination__item c-pagination__item--disabled"},[e._v("…")]):e._e(),e._v(" "),e._l(e.displayedPages,function(t){return a("li",{key:t,class:["c-pagination__item",{"c-pagination__item--selected":t===e.currentPage}],on:{click:function(a){return e.setCurrentPage(t)}}},[e._v(e._s(t))])}),e._v(" "),e.isRightEllipsis?a("li",{staticClass:"c-pagination__item c-pagination__item--disabled"},[e._v("…")]):e._e(),e._v(" "),a("li",{class:["c-pagination__control-item",{"c-pagination__item--disabled":!e.numberOfPages||e.currentPage===e.numberOfPages}],on:{click:function(t){!e.numberOfPages||e.currentPage===e.numberOfPages||e.setCurrentPage(e.currentPage+1)}}},[e._v("›")]),e._v(" "),a("li",{class:["c-pagination__control-item",{"c-pagination__item--disabled":!e.numberOfPages||e.currentPage===e.numberOfPages}],on:{click:function(t){!e.numberOfPages||e.currentPage===e.numberOfPages||e.setCurrentPage(e.numberOfPages)}}},[e._v("»")])],2)};gi._withStripped=!0;var yi={name:"CPagination",model:{prop:"currentPage",event:"change"},props:{currentPage:{type:Number,required:!0},totalRows:{type:Number,required:!0},perPage:{type:Number,required:!0},limit:{type:Number,default:5}},computed:{numberOfPages(){return Math.ceil(this.totalRows/this.perPage)},displayedPages(){const e=[];for(let t=0;t<this.limit&&t<this.numberOfPages;t++){const a=t+1+this.currentPage-(this.currentPage%this.limit||this.limit);a>0&&a<=this.numberOfPages&&(e[t]=a)}return e},isLeftEllipsis(){return this.displayedPages[0]>this.limit},isRightEllipsis(){return this.displayedPages[this.displayedPages.length-1]<this.numberOfPages}},methods:{setCurrentPage(e){e!==this.currentPage&&this.$emit("change",e)}}},bi=(a(212),o(yi,gi,[],!1,null,null,null));bi.options.__file="src/components/tables/CPagination.vue";var ki=bi.exports;const wi=[];let Mi=!1;const Si=e=>{27===e.which&&wi.length&&wi[wi.length-1](e)};var Di={install(e){e.directive("esc",{bind(e,t,a){if("function"!=typeof t.value){const e=a.context.name;let i=`[vue-esc-handler:] provided expression '${t.expression}' is not a function, but has to be`;e&&(i+=`Found in component '${e}'`),console.warn(i)}wi.push(t.value),e.__vueEscHandler__=t.value,Mi||(document.addEventListener("keyup",Si),Mi=!0)},unbind(e){const t=wi.indexOf(e.__vueEscHandler__);~t&&wi.splice(t,1),wi.length||(document.removeEventListener("keyup",Si),Mi=!1)}})}};const Li=[];let Ti=!1;const xi=e=>{13===e.which&&Li.length&&Li[Li.length-1](e)};var Ci={install(e){e.directive("pressenter",{bind(e,t,a){if("function"!=typeof t.value){const e=a.context.name;let i=`[vue-enter-handler:] provided expression '${t.expression}' is not a function, but has to be`;e&&(i+=`Found in component '${e}'`),console.warn(i)}Li.push(t.value),e.__vueEnterHandler__=t.value,Ti||(document.addEventListener("keyup",xi),Ti=!0)},unbind(e){const t=Li.indexOf(e.__vueEnterHandler__);~t&&Li.splice(t,1),Li.length||(document.removeEventListener("keyup",xi),Ti=!1)}})}},Yi=a(169),Ai=a.n(Yi),Ei={install(e){e.directive("mask",{bind(e,t){Ai()(t.value).mask(e)}})}};a.d(t,"CContainerItem",function(){return p}),a.d(t,"CContainerHeader",function(){return _}),a.d(t,"CSpinner",function(){return c}),a.d(t,"CButton",function(){return b}),a.d(t,"CButtonSave",function(){return S}),a.d(t,"CButtonClose",function(){return T}),a.d(t,"CButtonDelete",function(){return Y}),a.d(t,"CButtonFile",function(){return I}),a.d(t,"CInput",function(){return H}),a.d(t,"CInputForm",function(){return R}),a.d(t,"CTextarea",function(){return U}),a.d(t,"CInputRadio",function(){return K}),a.d(t,"CInputCheckbox",function(){return ee}),a.d(t,"CInputGroup",function(){return ie}),a.d(t,"CInputRadioGroup",function(){return oe}),a.d(t,"CInputCheckboxGroup",function(){return de}),a.d(t,"CSelect",function(){return fe}),a.d(t,"CInputFeedback",function(){return ye}),a.d(t,"CTextEditor",function(){return Me}),a.d(t,"CDatePicker",function(){return it}),a.d(t,"CInputDateRange",function(){return ot}),a.d(t,"CInputTime",function(){return ut}),a.d(t,"CInputUsd",function(){return mt}),a.d(t,"CInputEmail",function(){return _t}),a.d(t,"CInputPassword",function(){return yt}),a.d(t,"CInputPhone",function(){return wt}),a.d(t,"CLink",function(){return Lt}),a.d(t,"CLinkAnchor",function(){return Yt}),a.d(t,"CLinkIcon",function(){return It}),a.d(t,"CLinkConfirm",function(){return Ht}),a.d(t,"CIcon",function(){return Rt}),a.d(t,"CIconPencil",function(){return Ut}),a.d(t,"CIconCross",function(){return Kt}),a.d(t,"CIconExclamation",function(){return ea}),a.d(t,"CIconExclamationCircle",function(){return na}),a.d(t,"CIconCheckCircle",function(){return la}),a.d(t,"CIconErrorCircle",function(){return pa}),a.d(t,"CIconDownload",function(){return _a}),a.d(t,"CIconLink",function(){return ba}),a.d(t,"CIconWarning",function(){return Sa}),a.d(t,"CModal",function(){return xa}),a.d(t,"CModalSliding",function(){return Oa}),a.d(t,"CModalConfirm",function(){return Pa}),a.d(t,"CModalSuccess",function(){return $a}),a.d(t,"CAlert",function(){return Ba}),a.d(t,"CAlertServer",function(){return Va}),a.d(t,"CToastr",function(){return ei}),a.d(t,"CTabs",function(){return ii}),a.d(t,"CTabsItem",function(){return oi}),a.d(t,"CTable",function(){return vi}),a.d(t,"CPagination",function(){return ki}),a.d(t,"escHandler",function(){return Di}),a.d(t,"pressenterHandler",function(){return Ci}),a.d(t,"inputMask",function(){return Ei}
vendor: 15,750 bytes, line 27
27),t.default={install(e){Object.values(i).forEach(t=>{t.install&&t.install(e),e.component(t.name,t)}),Object.keys(n).forEach(t=>{e.use(n[t])})}}}])}()},function(e,t,a){e.exports=a(98)},function(e,t){e.exports="/mileage/img/photo.png"},function(e,t,a){"undefined"!=typeof self&&self,e.exports=function(e){return function(e){var t={};function a(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=e,a.c=t,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(i,n,function(t){return e[t]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s="fb15")}({"02f4":function(e,t,a){var i=a("4588"),n=a("be13");e.exports=function(e){return function(t,a){var r,s,o=String(n(t)),l=i(a),c=o.length;return l<0||l>=c?e?"":void 0:(r=o.charCodeAt(l))<55296||r>56319||l+1===c||(s=o.charCodeAt(l+1))<56320||s>57343?e?o.charAt(l):r:e?o.slice(l,l+2):s-56320+(r-55296<<10)+65536}}},"0390":function(e,t,a){"use strict";var i=a("02f4")(!0);e.exports=function(e,t,a){return t+(a?i(e,t).length:1)}},"07e3":function(e,t){var a={}.hasOwnProperty;e.exports=function(e,t){return a.call(e,t)}},"0bfb":function(e,t,a){"use strict";var i=a("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0fc9":function(e,t,a){var i=a("3a38"),n=Math.max,r=Math.min;e.exports=function(e,t){return(e=i(e))<0?n(e+t,0):r(e,t)}},1654:function(e,t,a){"use strict";var i=a("71c1")(!0);a("30f1")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,a=this._i;return a>=t.length?{value:void 0,done:!0}:(e=i(t,a),this._i+=e.length,{value:e,done:!1})})},1691:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"1af6":function(e,t,a){var i=a("63b6");i(i.S,"Array",{isArray:a("9003")})},"1bc3":function(e,t,a){var i=a("f772");e.exports=function(e,t){if(!i(e))return e;var a,n;if(t&&"function"==typeof(a=e.toString)&&!i(n=a.call(e)))return n;if("function"==typeof(a=e.valueOf)&&!i(n=a.call(e)))return n;if(!t&&"function"==typeof(a=e.toString)&&!i(n=a.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(e,t,a){var i=a("f772"),n=a("e53d").document,r=i(n)&&i(n.createElement);e.exports=function(e){return r?n.createElement(e):{}}},"20fd":function(e,t,a){"use strict";var i=a("d9f6"),n=a("aebd");e.exports=function(e,t,a){t in e?i.f(e,t,n(0,a)):e[t]=a}},"214f":function(e,t,a){"use strict";a("b0c5");var i=a("2aba"),n=a("32e9"),r=a("79e5"),s=a("be13"),o=a("2b4c"),l=a("520a"),c=o("species"),u=!r(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var a="ab".split(e);return 2===a.length&&"a"===a[0]&&"b"===a[1]}();e.exports=function(e,t,a){var p=o(e),m=!r(function(){var t={};return t[p]=function(){return 7},7!=""[e](t)}),h=m?!r(function(){var t=!1,a=/a/;return a.exec=function(){return t=!0,null},"split"===e&&(a.constructor={},a.constructor[c]=function(){return a}),a[p](""),!t}):void 0;if(!m||!h||"replace"===e&&!u||"split"===e&&!d){var f=/./[p],_=a(s,p,""[e],function(e,t,a,i,n){return t.exec===l?m&&!n?{done:!0,value:f.call(t,a,i)}:{done:!0,value:e.call(a,t,i)}:{done:!1}}),v=_[0],g=_[1];i(String.prototype,e,v),n(RegExp.prototype,p,2==t?function(e,t){return g.call(e,this,t)}:function(e){return g.call(e,this)})}}},"230e":function(e,t,a){var i=a("d3f4"),n=a("7726").document,r=i(n)&&i(n.createElement);e.exports=function(e){return r?n.createElement(e):{}}},"23c6":function(e,t,a){var i=a("2d95"),n=a("2b4c")("toStringTag"),r="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,a,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(a=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),n))?a:r?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},"241e":function(e,t,a){var i=a("25eb");e.exports=function(e){return Object(i(e))}},"25eb":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},"294c":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"2aba":function(e,t,a){var i=a("7726"),n=a("32e9"),r=a("69a8"),s=a("ca5a")("src"),o=a("fa5b"),l="toString",c=(""+o).split(l);a("8378").inspectSource=function(e){return o.call(e)},(e.exports=function(e,t,a,o){var l="function"==typeof a;l&&(r(a,"name")||n(a,"name",t)),e[t]!==a&&(l&&(r(a,s)||n(a,s,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=a:o?e[t]?e[t]=a:n(e,t,a):(delete e[t],n(e,t,a)))})(Function.prototype,l,function(){return"function"==typeof this&&this[s]||o.call(this)})},"2b4c":function(e,t,a){var i=a("5537")("wks"),n=a("ca5a"),r=a("7726").Symbol,s="function"==typeof r,o=e.exports=function(e){return i[e]||(i[e]=s&&r[e]||(s?r:n)("Symbol."+e))};o.store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var a={}.toString;e.exports=function(e){return a.call(e).slice(8,-1)}},"2fdb":function(e,t,a){"use strict";var i=a("5ca1"),n=a("d2c8"),r="includes";i(i.P+i.F*a("5147")(r),"String",{includes:function(e){return!!~n(this,e,r).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"30f1":function(e,t,a){"use strict";var i=a("b8e3"),n=a("63b6"),r=a("9138"),s=a("35e8"),o=a("481b"),l=a("8f60"),c=a("45f2"),u=a("53e2"),d=a("5168")("iterator"),p=!([].keys&&"next"in[].keys()),m="keys",h="values",f=function(){return this};e.exports=function(e,t,a,_,v,g,y){l(a,t,_);var b,k,w,M=function(e){if(!p&&e in T)return T[e];switch(e){case m:case h:return function(){return new a(this,e)}}return function(){return new a(this,e)}},S=t+" Iterator",D=v==h,L=!1,T=e.prototype,x=T[d]||T["@@iterator"]||v&&T[v],C=x||M(v),Y=v?D?M("entries"):C:void 0,A="Array"==t&&T.entries||x;if(A&&(w=u(A.call(new e)))!==Object.prototype&&w.next&&(c(w,S,!0),i||"function"==typeof w[d]||s(w,d,f)),D&&x&&x.name!==h&&(L=!0,C=function(){return x.call(this)}),i&&!y||!p&&!L&&T[d]||s(T,d,C),o[t]=C,o[S]=f,v)if(b={values:D?C:M(h),keys:g?C:M(m),entries:Y},y)for(k in b)k in T||r(T,k,b[k]);else n(n.P+n.F*(p||L),t,b);return b}},"32a6":function(e,t,a){var i=a("241e"),n=a("c3a1");a("ce7e")("keys",function(){return function(e){return n(i(e))}})},"32e9":function(e,t,a){var i=a("86cc"),n=a("4630");e.exports=a("9e1e")?function(e,t,a){return i.f(e,t,n(1,a))}:function(e,t,a){return e[t]=a,e}},"32fc":function(e,t,a){var i=a("e53d").document;e.exports=i&&i.documentElement},"335c":function(e,t,a){var i=a("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"355d":function(e,t){t.f={}.propertyIsEnumerable},"35e8":function(e,t,a){var i=a("d9f6"),n=a("aebd");e.exports=a("8e60")?function(e,t,a){return i.f(e,t,n(1,a))}:function(e,t,a){return e[t]=a,e}},"36c3":function(e,t,a){var i=a("335c"),n=a("25eb");e.exports=function(e){return i(n(e))}},3702:function(e,t,a){var i=a("481b"),n=a("5168")("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||r[n]===e)}},"3a38":function(e,t){var a=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:a)(e)}},"40c3":function(e,t,a){var i=a("6b4c"),n=a("5168")("toStringTag"),r="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,a,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(a=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),n))?a:r?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},4588:function(e,t){var a=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:a)(e)}},"45f2":function(e,t,a){var i=a("d9f6").f,n=a("07e3"),r=a("5168")("toStringTag");e.exports=function(e,t,a){e&&!n(e=a?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"469f":function(e,t,a){a("6c1c"),a("1654"),e.exports=a("7d7b")},"481b":function(e,t){e.exports={}},"4aa6":function(e,t,a){e.exports=a("dc62")},"4bf8":function(e,t,a){var i=a("be13");e.exports=function(e){return Object(i(e))}},"4ee1":function(e,t,a){var i=a("5168")("iterator"),n=!1;try{var r=[7][i]();r.return=function(){n=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!n)return!1;var a=!1;try{var r=[7],s=r[i]();s.next=function(){return{done:a=!0}},r[i]=function(){return s},e(r)}catch(e){}return a}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5147:function(e,t,a){var i=a("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(a){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}},5168:function(e,t,a){var i=a("dbdb")("wks"),n=a("62a0"),r=a("e53d").Symbol,s="function"==typeof r,o=e.exports=function(e){return i[e]||(i[e]=s&&r[e]||(s?r:n)("Symbol."+e))};o.store=i},5176:function(e,t,a){e.exports=a("51b6")},"51b6":function(e,t,a){a("a3c3"),e.exports=a("584a").Object.assign},"520a":function(e,t,a){"use strict";var i=a("0bfb"),n=RegExp.prototype.exec,r=String.prototype.replace,s=n,o="lastIndex",l=function(){var e=/a/,t=/b*/g;return n.call(e,"a"),n.call(t,"a"),0!==e[o]||0!==t[o]}(),c=void 0!==/()??/.exec("")[1],u=l||c;u&&(s=function(e){var t,a,s,u,d=this;return c&&(a=new RegExp("^"+d.source+"$(?!\\s)",i.call(d))),l&&(t=d[o]),s=n.call(d,e),l&&s&&(d[o]=d.global?s.index+s[0].length:t),c&&s&&s.length>1&&r.call(s[0],a,function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)}),s}),e.exports=s},"53e2":function(e,t,a){var i=a("07e3"),n=a("241e"),r=a("5559")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=n(e),i(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"549b":function(e,t,a){"use strict";var i=a("d864"),n=a("63b6"),r=a("241e"),s=a("b0dc"),o=a("3702"),l=a("b447"),c=a("20fd"),u=a("7cd6");n(n.S+n.F*!a("4ee1")(function(e){Array.from(e)}),"Array",{from:function(e){var t,a,n,d,p=r(e),m="function"==typeof this?this:Array,h=arguments.length,f=h>1?arguments[1]:void 0,_=void 0!==f,v=0,g=u(p);if(_&&(f=i(f,h>2?arguments[2]:void 0,2)),void 0==g||m==Array&&o(g))for(t=l(p.length),a=new m(t);t>v;v++)c(a,v,_?f(p[v],v):p[v]);else for(d=g.call(p),a=new m;!(n=d.next()).done;v++)c(a,v,_?s(d,f,[n.value,v],!0):n.value);return a.length=v,a}})},"54a1":function(e,t,a){a("6c1c"),a("1654"),e.exports=a("95d5")},5537:function(e,t,a){var i=a("8378"),n=a("7726"),r="__core-js_shared__",s=n[r]||(n[r]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:a("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(e,t,a){var i=a("dbdb")("keys"),n=a("62a0");e.exports=function(e){return i[e]||(i[e]=n(e))}},"584a":function(e,t){var a=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=a)},"5b4e":function(e,t,a){var i=a("36c3"),n=a("b447"),r=a("0fc9");e.exports=function(e){return function(t,a,s){var o,l=i(t),c=n(l.length),u=r(s,c);if(e&&a!=a){for(;c>u;)if((o=l[u++])!=o)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===a)return e||u||0;return!e&&-1}}},"5ca1":function(e,t,a){var i=a("7726"),n=a("8378"),r=a("32e9"),s=a("2aba"),o=a("9b43"),l="prototype",c=function(e,t,a){var u,d,p,m,h=e&c.F,f=e&c.G,_=e&c.S,v=e&c.P,g=e&c.B,y=f?i:_?i[t]||(i[t]={}):(i[t]||{})[l],b=f?n:n[t]||(n[t]={}),k=b[l]||(b[l]={});for(u in f&&(a=t),a)d=!h&&y&&void 0!==y[u],p=(d?y:a)[u],m=g&&d?o(p,i):v&&"function"==typeof p?o(Function.call,p):p,y&&s(y,u,p,e&c.U),b[u]!=p&&r(b,u,m),v&&k[u]!=p&&(k[u]=p)};i.core=n,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"5d73":function(e,t,a){e.exports=a("469f")},"5f1b":function(e,t,a){"use strict";var i=a("23c6"),n=RegExp.prototype.exec;e.exports=function(e,t){var a=e.exec;if("function"==typeof a){var r=a.call(e,t);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return n.call(e,t)}},"626a":function(e,t,a){var i=a("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"62a0":function(e,t){var a=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++a+i).toString(36))}},"63b6":function(e,t,a){var i=a("e53d"),n=a("584a"),r=a("d864"),s=a("35e8"),o=a("07e3"),l="prototype",c=function(e,t,a){var u,d,p,m=e&c.F,h=e&c.G,f=e&c.S,_=e&c.P,v=e&c.B,g=e&c.W,y=h?n:n[t]||(n[t]={}),b=y[l],k=h?i:f?i[t]:(i[t]||{})[l];for(u in h&&(a=t),a)(d=!m&&k&&void 0!==k[u])&&o(y,u)||(p=d?k[u]:a[u],y[u]=h&&"function"!=typeof k[u]?a[u]:v&&d?r(p,i):g&&k[u]==p?function(e){var t=function(t,a,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,a)}return new e(t,a,i)}return e.apply(this,arguments)};return t[l]=e[l],t}(p):_&&"function"==typeof p?r(Function.call,p):p,_&&((y.virtual||(y.virtual={}))[u]=p,e&c.R&&b&&!b[u]&&s(b,u,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},6762:function(e,t,a){"use strict";var i=a("5ca1"),n=a("c366")(!0);i(i.P,"Array",{includes:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}}),a("9c6c")("includes")},6821:function(e,t,a){var i=a("626a"),n=a("be13");e.exports=function(e){return i(n(e))}},"69a8":function(e,t){var a={}.hasOwnProperty;e.exports=function(e,t){return a.call(e,t)}},"6a99":function(e,t,a){var i=a("d3f4");e.exports=function(e,t){if(!i(e))return e;var a,n;if(t&&"function"==typeof(a=e.toString)&&!i(n=a.call(e)))return n;if("function"==typeof(a=e.valueOf)&&!i(n=a.call(e)))return n;if(!t&&"function"==typeof(a=e.toString)&&!i(n=a.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},"6b4c":function(e,t){var a={}.toString;e.exports=function(e){return a.call(e).slice(8,-1)}},"6c1c":function(e,t,a){a("c367");for(var i=a("e53d"),n=a("35e8"),r=a("481b"),s=a("5168")("toStringTag"),o="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<o.length;l++){var c=o[l],u=i[c],d=u&&u.prototype;d&&!d[s]&&n(d,s,c),r[c]=r.Array}},"71c1":function(e,t,a){var i=a("3a38"),n=a("25eb");e.exports=function(e){return function(t,a){var r,s,o=String(n(t)),l=i(a),c=o.length;return l<0||l>=c?e?"":void 0:(r=o.charCodeAt(l))<55296||r>56319||l+1===c||(s=o.charCodeAt(l+1))<56320||s>57343?e?o.charAt(l):r:e?o.slice(l,l+2):s-56320+(r-55296<<10)+65536}}},7726:function(e,t){var a=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=a)}
27,"774e":function(e,t,a){e.exports=a("d2d5")},"77f1":function(e,t,a){var i=a("4588"),n=Math.max,r=Math.min;e.exports=function(e,t){return(e=i(e))<0?n(e+t,0):r(e,t)}},"794b":function(e,t,a){e.exports=!a("8e60")&&!a("294c")(function(){return 7!=Object.defineProperty(a("1ec9")("div"),"a",{get:function(){return 7}}).a})},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7cd6":function(e,t,a){var i=a("40c3"),n=a("5168")("iterator"),r=a("481b");e.exports=a("584a").getIteratorMethod=function(e){if(void 0!=e)return e[n]||e["@@iterator"]||r[i(e)]}},"7d7b":function(e,t,a){var i=a("e4ae"),n=a("7cd6");e.exports=a("584a").getIterator=function(e){var t=n(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return i(t.call(e))}},"7e90":function(e,t,a){var i=a("d9f6"),n=a("e4ae"),r=a("c3a1");e.exports=a("8e60")?Object.defineProperties:function(e,t){n(e);for(var a,s=r(t),o=s.length,l=0;o>l;)i.f(e,a=s[l++],t[a]);return e}},8378:function(e,t){var a=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=a)},8436:function(e,t){e.exports=function(){}},"86cc":function(e,t,a){var i=a("cb7c"),n=a("c69a"),r=a("6a99"),s=Object.defineProperty;t.f=a("9e1e")?Object.defineProperty:function(e,t,a){if(i(e),t=r(t,!0),i(a),n)try{return s(e,t,a)}catch(e){}if("get"in a||"set"in a)throw TypeError("Accessors not supported!");return"value"in a&&(e[t]=a.value),e}},"8aae":function(e,t,a){a("32a6"),e.exports=a("584a").Object.keys},"8e60":function(e,t,a){e.exports=!a("294c")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"8f60":function(e,t,a){"use strict";var i=a("a159"),n=a("aebd"),r=a("45f2"),s={};a("35e8")(s,a("5168")("iterator"),function(){return this}),e.exports=function(e,t,a){e.prototype=i(s,{next:n(1,a)}),r(e,t+" Iterator")}},9003:function(e,t,a){var i=a("6b4c");e.exports=Array.isArray||function(e){return"Array"==i(e)}},9138:function(e,t,a){e.exports=a("35e8")},9306:function(e,t,a){"use strict";var i=a("c3a1"),n=a("9aa9"),r=a("355d"),s=a("241e"),o=a("335c"),l=Object.assign;e.exports=!l||a("294c")(function(){var e={},t={},a=Symbol(),i="abcdefghijklmnopqrst";return e[a]=7,i.split("").forEach(function(e){t[e]=e}),7!=l({},e)[a]||Object.keys(l({},t)).join("")!=i})?function(e,t){for(var a=s(e),l=arguments.length,c=1,u=n.f,d=r.f;l>c;)for(var p,m=o(arguments[c++]),h=u?i(m).concat(u(m)):i(m),f=h.length,_=0;f>_;)d.call(m,p=h[_++])&&(a[p]=m[p]);return a}:l},9427:function(e,t,a){var i=a("63b6");i(i.S,"Object",{create:a("a159")})},"95d5":function(e,t,a){var i=a("40c3"),n=a("5168")("iterator"),r=a("481b");e.exports=a("584a").isIterable=function(e){var t=Object(e);return void 0!==t[n]||"@@iterator"in t||r.hasOwnProperty(i(t))}},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9b43":function(e,t,a){var i=a("d8e8");e.exports=function(e,t,a){if(i(e),void 0===t)return e;switch(a){case 1:return function(a){return e.call(t,a)};case 2:return function(a,i){return e.call(t,a,i)};case 3:return function(a,i,n){return e.call(t,a,i,n)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,a){var i=a("2b4c")("unscopables"),n=Array.prototype;void 0==n[i]&&a("32e9")(n,i,{}),e.exports=function(e){n[i][e]=!0}},"9def":function(e,t,a){var i=a("4588"),n=Math.min;e.exports=function(e){return e>0?n(i(e),9007199254740991):0}},"9e1e":function(e,t,a){e.exports=!a("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a159:function(e,t,a){var i=a("e4ae"),n=a("7e90"),r=a("1691"),s=a("5559")("IE_PROTO"),o=function(){},l="prototype",c=function(){var e,t=a("1ec9")("iframe"),i=r.length;for(t.style.display="none",a("32fc").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c[l][r[i]];return c()};e.exports=Object.create||function(e,t){var a;return null!==e?(o[l]=i(e),a=new o,o[l]=null,a[s]=e):a=c(),void 0===t?a:n(a,t)}},a352:function(t,a){t.exports=e},a3c3:function(e,t,a){var i=a("63b6");i(i.S+i.F,"Object",{assign:a("9306")})},a481:function(e,t,a){"use strict";var i=a("cb7c"),n=a("4bf8"),r=a("9def"),s=a("4588"),o=a("0390"),l=a("5f1b"),c=Math.max,u=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,m=/\$([$&`']|\d\d?)/g,h=function(e){return void 0===e?e:String(e)};a("214f")("replace",2,function(e,t,a,f){return[function(i,n){var r=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,r,n):a.call(String(r),i,n)},function(e,t){var n=f(a,e,this,t);if(n.done)return n.value;var d=i(e),p=String(this),m="function"==typeof t;m||(t=String(t));var v=d.global;if(v){var g=d.unicode;d.lastIndex=0}for(var y=[];;){var b=l(d,p);if(null===b)break;
27if(y.push(b),!v)break;var k=String(b[0]);""===k&&(d.lastIndex=o(p,r(d.lastIndex),g))}for(var w="",M=0,S=0;S<y.length;S++){b=y[S];for(var D=String(b[0]),L=c(u(s(b.index),p.length),0),T=[],x=1;x<b.length;x++)T.push(h(b[x]));var C=b.groups;if(m){var Y=[D].concat(T,L,p);void 0!==C&&Y.push(C);var A=String(t.apply(void 0,Y))}else A=_(D,p,L,T,C,t);L>=M&&(w+=p.slice(M,L)+A,M=L+D.length)}return w+p.slice(M)}];function _(e,t,i,r,s,o){var l=i+e.length,c=r.length,u=m;return void 0!==s&&(s=n(s),u=p),a.call(o,u,function(a,n){var o;switch(n.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(l);case"<":o=s[n.slice(1,-1)];break;default:var u=+n;if(0===u)return a;if(u>c){var p=d(u/10);return 0===p?a:p<=c?void 0===r[p-1]?n.charAt(1):r[p-1]+n.charAt(1):a}o=r[u-1]}return void 0===o?"":o})}})},a4bb:function(e,t,a){e.exports=a("8aae")},a745:function(e,t,a){e.exports=a("f410")},aae3:function(e,t,a){var i=a("d3f4"),n=a("2d95"),r=a("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==n(e))}},aebd:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},b0c5:function(e,t,a){"use strict";var i=a("520a");a("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b0dc:function(e,t,a){var i=a("e4ae");e.exports=function(e,t,a,n){try{return n?t(i(a)[0],a[1]):t(a)}catch(t){var r=e.return;throw void 0!==r&&i(r.call(e)),t}}},b447:function(e,t,a){var i=a("3a38"),n=Math.min;e.exports=function(e){return e>0?n(i(e),9007199254740991):0}},b8e3:function(e,t){e.exports=!0},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},c366:function(e,t,a){var i=a("6821"),n=a("9def"),r=a("77f1");e.exports=function(e){return function(t,a,s){var o,l=i(t),c=n(l.length),u=r(s,c);if(e&&a!=a){for(;c>u;)if((o=l[u++])!=o)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===a)return e||u||0;return!e&&-1}}},c367:function(e,t,a){"use strict";var i=a("8436"),n=a("50ed"),r=a("481b"),s=a("36c3");e.exports=a("30f1")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,a=this._i++;return!e||a>=e.length?(this._t=void 0,n(1)):n(0,"keys"==t?a:"values"==t?e[a]:[a,e[a]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},c3a1:function(e,t,a){var i=a("e6f3"),n=a("1691");e.exports=Object.keys||function(e){return i(e,n)}},c649:function(e,t,a){"use strict";(function(e){a.d(t,"c",function(){return c}),a.d(t,"a",function(){return o}),a.d(t,"b",function(){return r}),a.d(t,"d",function(){return l}),a("a481");var i=a("4aa6"),n=a.n(i),r="undefined"!=typeof window?window.console:e.console,s=/-(\w)/g,o=function(e){var t=n()(null);return function(a){var i=t[a];return i||(t[a]=e(a))}}(function(e){return e.replace(s,function(e,t){return t?t.toUpperCase():""})});function l(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function c(e,t,a){var i=0===a?e.children[0]:e.children[a-1].nextSibling;e.insertBefore(t,i)}}).call(this,a("c8ba"))},c69a:function(e,t,a){e.exports=!a("9e1e")&&!a("79e5")(function(){return 7!=Object.defineProperty(a("230e")("div"),"a",{get:function(){return 7}}).a})},c8ba:function(e,t){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(e){"object"==typeof window&&(a=window)}e.exports=a},c8bb:function(e,t,a){e.exports=a("54a1")},ca5a:function(e,t){var a=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++a+i).toString(36))}},cb7c:function(e,t,a){var i=a("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},ce7e:function(e,t,a){var i=a("63b6"),n=a("584a"),r=a("294c");e.exports=function(e,t){var a=(n.Object||{})[e]||Object[e],s={};s[e]=t(a),i(i.S+i.F*r(function(){a(1)}),"Object",s)}},d2c8:function(e,t,a){var i=a("aae3"),n=a("be13");e.exports=function(e,t,a){if(i(t))throw TypeError("String#"+a+" doesn't accept regex!");return String(n(e))}},d2d5:function(e,t,a){a("1654"),a("549b"),e.exports=a("584a").Array.from},d3f4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},d864:function(e,t,a){var i=a("79aa");e.exports=function(e,t,a){if(i(e),void 0===t)return e;switch(a){case 1:return function(a){return e.call(t,a)};case 2:return function(a,i){return e.call(t,a,i)};case 3:return function(a,i,n){return e.call(t,a,i,n)}}return function(){return e.apply(t,arguments)}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d9f6:function(e,t,a){var i=a("e4ae"),n=a("794b"),r=a("1bc3"),s=Object.defineProperty;t.f=a("8e60")?Object.defineProperty:function(e,t,a){if(i(e),t=r(t,!0),i(a),n)try{return s(e,t,a)}catch(e){}if("get"in a||"set"in a)throw TypeError("Accessors not supported!");return"value"in a&&(e[t]=a.value),e}},dbdb:function(e,t,a){var i=a("584a"),n=a("e53d"),r="__core-js_shared__",s=n[r]||(n[r]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:a("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc62:function(e,t,a){a("9427");var i=a("584a").Object;e.exports=function(e,t){return i.create(e,t)}},e4ae:function(e,t,a){var i=a("f772");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},e53d:function(e,t){var a=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();
27"number"==typeof __g&&(__g=a)},e6f3:function(e,t,a){var i=a("07e3"),n=a("36c3"),r=a("5b4e")(!1),s=a("5559")("IE_PROTO");e.exports=function(e,t){var a,o=n(e),l=0,c=[];for(a in o)a!=s&&i(o,a)&&c.push(a);for(;t.length>l;)i(o,a=t[l++])&&(~r(c,a)||c.push(a));return c}},f410:function(e,t,a){a("1af6"),e.exports=a("584a").Array.isArray},f559:function(e,t,a){"use strict";var i=a("5ca1"),n=a("9def"),r=a("d2c8"),s="startsWith",o=""[s];i(i.P+i.F*a("5147")(s),"String",{startsWith:function(e){var t=r(this,e,s),a=n(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return o?o.call(t,i,a):t.slice(a,a+i.length)===i}})},f772:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},fa5b:function(e,t,a){e.exports=a("5537")("native-function-to-string",Function.toString)},fb15:function(e,t,a){"use strict";var i;a.r(t),"undefined"!=typeof window&&(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(a.p=i[1]);var n=a("5176"),r=a.n(n),s=(a("f559"),a("a4bb")),o=a.n(s),l=(a("6762"),a("2fdb"),a("a745")),c=a.n(l),u=a("5d73"),d=a.n(u);function p(e,t){return function(e){if(c()(e))return e}(e)||function(e,t){var a=[],i=!0,n=!1,r=void 0;try{for(var s,o=d()(e);!(i=(s=o.next()).done)&&(a.push(s.value),!t||a.length!==t);i=!0);}catch(e){n=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(n)throw r}}return a}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var m=a("774e"),h=a.n(m),f=a("c8bb"),_=a.n(f);function v(e){return function(e){if(c()(e)){for(var t=0,a=new Array(e.length);t<e.length;t++)a[t]=e[t];return a}}(e)||function(e){if(_()(Object(e))||"[object Arguments]"===Object.prototype.toString.call(e))return h()(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var g=a("a352"),y=a.n(g),b=a("c649");function k(e,t){var a=this;this.$nextTick(function(){return a.$emit(e.toLowerCase(),t)})}function w(e,t){var a=null,i=function(e,t){a=function(e,t,a){return void 0===a?e:((e=e||{})[t]=a,e)}(a,e,t)},n=o()(e).filter(function(e){return"id"===e||e.startsWith("data-")}).reduce(function(t,a){return t[a]=e[a],t},{});if(i("attrs",n),!t)return a;var s=t.on,l=t.props,c=t.attrs;return i("on",s),i("props",l),r()(a.attrs,c),a}var M=["Start","Add","Remove","Update","End"],S=["Choose","Sort","Filter","Clone"],D=["Move"].concat(M,S).map(function(e){return"on"+e}),L=null,T={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(e){return e}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},x={name:"draggable",inheritAttrs:!1,props:T,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1,init:!1}},render:function(e){var t=this.$slots.default;this.transitionMode=function(e){if(!e||1!==e.length)return!1;var t=p(e,1)[0].componentOptions;return!!t&&["transition-group","TransitionGroup"].includes(t.tag)}(t);var a=function(e,t){var a=t.header,i=t.footer,n=0,r=0;return a&&(n=a.length,e=e?[].concat(v(a),v(e)):v(a)),i&&(r=i.length,e=e?[].concat(v(e),v(i)):v(i)),{children:e,headerOffset:n,footerOffset:r}}(t,this.$slots),i=a.children,n=a.headerOffset,r=a.footerOffset;this.headerOffset=n,this.footerOffset=r;var s=w(this.$attrs,this.componentData);return e(this.getTag(),s,i)},created:function(){null!==this.list&&null!==this.value&&b.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&b.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&b.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var e=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var t={};M.forEach(function(a){t["on"+a]=function(e){var t=this;return function(a){null!==t.realList&&t["onDrag"+e](a),k.call(t,e,a)}}.call(e,a)}
27),S.forEach(function(a){t["on"+a]=k.bind(e,a)});var a=o()(this.$attrs).reduce(function(t,a){return t[Object(b.a)(a)]=e.$attrs[a],t},{}),i=r()({},this.options,a,t,{onMove:function(t,a){return e.onDragMove(t,a)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new y.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(e){this.updateOptions(e)},deep:!0},$attrs:{handler:function(e){this.updateOptions(e)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getTag:function(){return this.tag||this.element},updateOptions:function(e){for(var t in e){var a=Object(b.a)(t);-1===D.indexOf(a)&&this._sortable.option(a,e[t])}},getChildrenNodes:function(){if(this.init||(this.noneFunctionalComponentMode=this.noneFunctionalComponentMode&&1===this.$children.length,this.init=!0),this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var e=this.$slots.default;return this.transitionMode?e[0].child.$slots.default:e},computeIndexes:function(){var e=this;this.$nextTick(function(){e.visibleIndexes=function(e,t,a,i){if(!e)return[];var n=e.map(function(e){return e.elm}),r=t.length-i,s=v(t).map(function(e,t){return t>=r?n.length:n.indexOf(e)});return a?s.filter(function(e){return-1!==e}):s}(e.getChildrenNodes(),e.rootContainer.children,e.transitionMode,e.footerOffset)})},getUnderlyingVm:function(e){var t=function(e,t){return e.map(function(e){return e.elm}).indexOf(t)}(this.getChildrenNodes()||[],e);if(-1===t)return null;var a=this.realList[t];return{index:t,element:a}},getUnderlyingPotencialDraggableComponent:function(e){var t=e.__vue__;return t&&t.$options&&"transition-group"===t.$options._componentTag?t.$parent:t},emitChanges:function(e){var t=this;this.$nextTick(function(){t.$emit("change",e)})},alterList:function(e){if(this.list)e(this.list);else{var t=v(this.value);e(t),this.$emit("input",t)}},spliceList:function(){var e=arguments;this.alterList(function(t){return t.splice.apply(t,v(e))})},updatePosition:function(e,t){this.alterList(function(a){return a.splice(t,0,a.splice(e,1)[0])})},getRelatedContextFromMoveEvent:function(e){var t=e.to,a=e.related,i=this.getUnderlyingPotencialDraggableComponent(t);if(!i)return{component:i};var n=i.realList,s={list:n,component:i};if(t!==a&&n&&i.getUnderlyingVm){var o=i.getUnderlyingVm(a);if(o)return r()(o,s)}return s},getVmIndex:function(e){var t=this.visibleIndexes,a=t.length;return e>a-1?a:t[e]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(e){if(this.noTransitionOnDrag&&this.transitionMode){var t=this.getChildrenNodes();t[e].data=null;var a=this.getComponent();a.children=[],a.kept=void 0}},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),L=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){Object(b.d)(e.item);var a=this.getVmIndex(e.newIndex);this.spliceList(a,0,t),this.computeIndexes();var i={element:t,newIndex:a};this.emitChanges({added:i})}},onDragRemove:function(e){if(Object(b.c)(this.rootContainer,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context.index;this.spliceList(t,1);var a={element:this.context.element,oldIndex:t};this.resetTransitionData(t),this.emitChanges({removed:a})}else Object(b.d)(e.clone)},onDragUpdate:function(e){Object(b.d)(e.item),Object(b.c)(e.from,e.item,e.oldIndex);var t=this.context.index,a=this.getVmIndex(e.newIndex);this.updatePosition(t,a);var i={element:this.context.element,oldIndex:t,newIndex:a};this.emitChanges({moved:i})},updateProperty:function(e,t){e.hasOwnProperty(t)&&(e[t]+=this.headerOffset)},computeFutureIndex:function(e,t){if(!e.element)return 0;var a=v(t.to.children).filter(function(e){return"none"!==e.style.display}),i=a.indexOf(t.related),n=e.component.getVmIndex(i),r=-1!==a.indexOf(L);return r||!t.willInsertAfter?n:n+1},onDragMove:function(e,t){var a=this.move;if(!a||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(e),n=this.context,s=this.computeFutureIndex(i,e);r()(n,{futureIndex:s});var o=r()({},e,{relatedContext:i,draggedContext:n});return a(o,t)},onDragEnd:function(){this.computeIndexes(),L=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",x);
27var C=x;t.default=C}}).default}(a(128))},function(e,t,a){"use strict";(function(t){var i=a(7),n=a(101),r={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=a(86):void 0!==t&&(e=a(86)),e}(),transformRequest:[function(e,t){return n(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(e){o.headers[e]={}}),i.forEach(["post","put","patch"],function(e){o.headers[e]=i.merge
vendor: 3,281 bytes, line 27
27(r)}),e.exports=o}).call(this,a(85))},function(e,t,a){"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];return e.apply(t,a)}}},function(e,t){var a,i,n=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(a===setTimeout)return setTimeout(e,0);if((a===r||!a)&&setTimeout)return a=setTimeout,setTimeout(e,0);try{return a(e,0)}catch(t){try{return a.call(null,e,0)}catch(t){return a.call(this,e,0)}}}!function(){try{a="function"==typeof setTimeout?setTimeout:r}catch(e){a=r}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&m())}function m(){if(!u){var e=o(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function f(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)t[a-1]=arguments[a];c.push(new h(e,t)),1!==c.length||u||o(m)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},function(e,t,a){"use strict";var i=a(7),n=a(102),r=a(104),s=a(105),o=a(106),l=a(87),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||a(107);e.exports=function(e){return new Promise(function(t,u){var d=e.data,p=e.headers;i.isFormData(d)&&delete p["Content-Type"];var m=new XMLHttpRequest,h="onreadystatechange",f=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in m||o(e.url)||(m=new window.XDomainRequest,h="onload",f=!0,m.onprogress=function(){},m.ontimeout=function(){}),e.auth){var _=e.auth.username||"",v=e.auth.password||"";p.Authorization="Basic "+c(_+":"+v)}if(m.open(e.method.toUpperCase(),r(e.url,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,m[h]=function(){if(m&&(4===m.readyState||f)&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var a="getAllResponseHeaders"in m?s(m.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?m.response:m.responseText,status:1223===m.status?204:m.status,statusText:1223===m.status?"No Content":m.statusText,headers:a,config:e,request:m};n(t,u,i),m=null}},m.onerror=function(){u(l("Network Error",e,null,m)),m=null},m.ontimeout=function(){u(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",m)),m=null},i.isStandardBrowserEnv()){var g=a(108),y=(e.withCredentials||o(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(p[e.xsrfHeaderName]=y)}
vendor: 4,072 bytes, lines 27-34
27if("setRequestHeader"in m&&i.forEach(p,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete p[t]:m.setRequestHeader(t,e)}),e.withCredentials&&(m.withCredentials=!0),e.responseType)try{m.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){m&&(m.abort(),u(e),m=null)}),void 0===d&&(d=null),m.send(d)})}},function(e,t,a){"use strict";var i=a(103);e.exports=function(e,t,a,n,r){var s=new Error(e);return i(s,t,a,n,r)}},function(e,t,a){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,a){"use strict";function i(e){this.message=e}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,e.exports=i},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;
28/*!
29* global/window.js
30* https://github.com/RobinHerbots/Inputmask
31* Copyright (c) 2010 - 2019 Robin Herbots
32* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
33* Version: 4.0.8
34*/__WEBPACK_AMD_DEFINE_RESULT__=function(){return"undefined"!=typeof window?window:new(eval("require('jsdom').JSDOM"))("").window}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(e){e.exports=[{question:"What is IFTA?",answer:"IFTA (The International Fuel Tax Agreement) is an agreement between all US states (except Alaska and Hawaii) and Canadian provinces and territories (except Yukon Territory, Northwest Territory and Nunavut), to simplify the reporting of fuel use by motor carriers that operate in more than one jurisdiction."},{question:"What is IFTA fuel tax report? ",answer:"IFTA fuel tax report is a report for calculating fuel taxes due or refund that should be filed quarterly. This report is used to redistribute taxes from collecting states to states that it is due."},{question:"What are non-IFTA miles?",answer:"Non-IFTA jurisdictions are the following: Alaska, Hawaii, District of Columbia (US); Yukon Territory, Northwest Territory, Nunavut (Canadian territories); and all of Mexico. All miles driven in these locations are considered to be Non-IFTA miles and should be reported as 'Non-IFTA' miles in the IFTA report. So you will not have to pay IFTA fuel tax for these miles."},{question:"Do I need IFTA? ",answer:"You do need IFTA if you operate your qualified motor vehicle for business purposes in at least two IFTA jurisdictions and your vehicle meets any of the following criteria:<br><ul><li>weighs over 26,000 pounds,</li><li>or has three or more axles on the power unit,</li><li>or (less applicably to truck companies) is a bus that can carry at least 20 passengers.</li></ul>"},{question:"Which vehicles are not qualified for IFTA?",answer:"A recreational vehicle such as a motor home or a pickup with a camper is not considered a qualified motor vehicle when an individual uses it exclusively for personal pleasure."},{question:"How to get IFTA license?",answer:"<ol><li>You need to apply for your IFTA license with the licensing agency in your base jurisdiction (it is the location where you have your business with a physical address).</li><li>Fill out the application online (or paper application in the office of your state's licensing authority).</li><li>Submit your application along with the application for the decals and the fees. You will need a set of two decals (they cost approximately 10 dollars).</li><li>They will send you the IFTA two decals (stickers) to put on your truck. You need two decals for each qualifying vehicle you operate.</li><li>Place these decals on the driver's and passenger's side lower rear exterior of the cab.</li><li>You are all set! Please remember that the decals are valid for one year and then you will need to apply for a new set.</li></ol>"}
34,{question:"How much does IFTA sticker cost? ",answer:"The cost for IFTA sticker varies from state to state, but typically it is around $10."},{question:"What states are IFTA jurdictions? ",answer:"IFTA jurdictions are all US states except Alaska, Hawaii and the District of Columbia and Canadian provinces and territories except Yukon Territory, Northwest Territory and Nunavut."},{question:"What states are not part of IFTA?",answer:"Alaska, Hawaii and the District of Columbia in the US and Yukon Territory, Northwest Territory and Nunavut in Canada are not part of IFTA."},{question:"What are requirements for IFTA?",answer:"You need to operate your qualified motor vehicle for business purposes in at least two IFTA jurisdictions and your vehicle meets any of the following criteria:<br><ul><li>weighs over 26,000 pounds,</li><li>or has three or more axles on the power unit,</li><li>or (less applicably to truck companies) is a bus that can carry at least 20 passengers.</li></ul>"},{question:"How do i track my IFTA miles?",answer:"<ul><li>Keep a notebook and write the odometer when you cross state borders.</li><li>Use a GPS or other device that records state by state miles per quarter.</li><li>Use routing software that tracks state miles.</li></ul>"},{question:"What is IFTA reporting period?",answer:"IFTA reporting period is each quarter. Here is the list of IFTA report due dates for each reporting period:<br><ul><li>1st quarter is from January to March, due date for the report is April 30.</li><li>2nd quarter is from April to June, due date is July 31.</li><li>3rd quarter is from July to September, due date is October 31.</li><li>4th quarter is from October to December, due date is January 31.</li></ul>"},{question:"How does the IFTA tax work?",answer:"You file the quarterly report with all the miles driven and fuel used for all states. Then the program redistributes paid taxes from collecting states to states that it is due and calculates tax due or tax refund."},{question:"How to calculate your quarterly IFTA report?",answer:'The easiest way is to use special software (like <a href="https://ifta-calculator.com" target="_blank">IFTA calculator</a>) for calculating your quarterly IFTA report. You should provide all your trips (start and end location) and all purchased fuel during this period, all the rest the IFTA calculator will do itself and provide you with the numbers for the report.'},{question:"What is the best way to record miles per state?",answer:"The best and easiest way is to use software where you can put the first and the last stop of your trip and the software calculates fuel per states itself."},{question:"IFTA reporting mileage calculator",answer:'There are a lot of IFTA calculators online, but some of them are expensive, some are hard to use and not user-friendly at all. IFTA calculator at <a href="https://ifta-calculator.com" target="_blank">https://ifta-calculator.com</a> is a free and easy online calculator, you need to provide only information about your stops and your fuel purchases. No notes, no frantic manual counting, no regular checking odometer - just your trips and used fuel.'},{question:"How to run an IFTA report?",answer:"To run an IFTA report you need special software where you provide information about your trips and used fuel for the necessary quarter. The software calculates data necessary for the report - distributes tax between states and provides the sum that is due to pay or refund."},{question:"What are IFTA tax rates?",answer:'IFTA tax rates can be viewed at <a href="https://ifta-calculator.com/rates" target="_blank">https://ifta-calculator.com/rates</a>. But actually you don\'t need to know the exact rates for each state and calculate sums manually. All you need to know is information about your trips and purchased fuel and the software applies all the state rates automatically.'},{question:"IFTA reporting online",answer:"To be able to report IFTA online you need to have an account with the taxation or revenue agency in the state where your business is based.<br>To open an account you need to do the following steps:<br><ul><li>Find the IFTA website for your state.</li><li>Create an account. It allows you not only to pay taxes, but also manage your licence information and apply for new decals. Please note that you should create your account in advance because in some states in can take time to verify your provided information.</li><li>Fill out the application online. You will need to provide information about your total mileage for each jurisdiction and location and price of purchased fuel. If the tax rate in a jurisdiction is higher than the fuel tax in your base jurisdiction, you'll have a credit. If the tax rate is lower, you'll owe taxes. The system will count these amounts to determine whether you are owed a refund or have a tax payment due.</li><li>If you have a tax payment due, you can pay your taxes online.</li></ul>"},{question:"Who pays IFTA tax?",answer:"It is necessary to pay IFTA tax if you operate your qual
vendor: 4,721 bytes, lines 34-41
34ified motor vehicle for business purposes in at least two IFTA jurisdictions and your vehicle meets any of the following criteria: weighs over 26,000 pounds, or has three or more axles on the power unit."},{question:"How much is the tax on diesel fuel?",answer:'The United States federal excise tax on gasoline is 18.4 cents per gallon and 24.4 cents per gallon for diesel fuel. Exact tax rates for definite quarters can be viewed online at <a href="https://ifta-calculator.com/rates" target="_blank">https://ifta-calculator.com/rates</a>.'},{question:"IFTA state mileage calculator",answer:'Easy and free state mileage calculator is <a href="https://ifta-calculator.com" target="_blank">https://ifta-calculator.com</a>. You need to provide only information about your stops and your fuel purchases.'},{question:"What does IFTA cost? ",answer:"The state's registration fee for your apportioned plate will vary depending on your base state, gross vehicle weight, and states you wish to register. Typically the state fees for an 80,000 pound vehicle running all 48 lower states is between $1500 and $2000, but this could vary depending on you base state."}]},function(e,t,a){a(144),a(146),a(147),e.exports=a(10)},function(e,t){e.exports="/mileage/img/no-avatar.png"},function(e){e.exports={items:[{name:"Trips & Fuel",url:"/trips-fuel",icon:"fa fa-map-signs"},{name:"Reports",url:"/reports",icon:"fa fa-line-chart"},{name:"IFTA Rates",url:"/ifta-rates",icon:"fa fa-calculator"},{name:"Equipment",url:"/equipment",icon:"fa fa-cogs"},{name:"Done-For-You",url:"/done-for-you",icon:"fa fa-magic",tag:"new"},{name:"GPS Tracker App",url:"/module/ifta-tracker",icon:"fa fa-location-arrow",children:[{name:"App for Drivers",url:"/module/ifta-tracker/setup-guide",icon:"fa fa-mobile",tag:"new"},{name:"Users & Settings",url:"/module/ifta-tracker",icon:"fa fa-cog"},{name:"Fleet",url:"/module/ifta-tracker/vehicles",icon:"fa fa-truck"},{name:"Import trips",url:"/module/ifta-tracker/trips",icon:"fa fa-calendar"}]},{name:"Account/Billing",url:"/account/billing",icon:"fa fa-credit-card"},{name:"Support",url:"/support",icon:"fa fa-question-circle"}]}},,function(e,t,a){"use strict";var i=a(11);a.n(i).a},function(e,t,a){"use strict";var i=a(12);a.n(i).a},function(e,t,a){"use strict";var i=a(7),n=a(84),r=a(100),s=a(83);function o(e){var t=new r(e),a=n(r.prototype.request,t);return i.extend(a,r.prototype,t),i.extend(a,t),a}var l=o(s);l.Axios=r,l.create=function(e){return o(i.merge(s,e))},l.Cancel=a(89),l.CancelToken=a(114),l.isCancel=a(88),l.all=function(e){return Promise.all(e)},l.spread=a(115),e.exports=l,e.exports.default=l},function(e,t){function a(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
35/*!
36 * Determine if an object is a Buffer
37 *
38 * @author   Feross Aboukhadijeh <https://feross.org>
39 * @license  MIT
40 */
41e.exports=function(e){return null!=e&&(a(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&a(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,a){"use strict";var i=a(83),n=a(7),r=a(109),s=a(110);function o(e){this.defaults=e,this.interceptors={request:new r,response:new r}}o.prototype.request=function(e){"string"==typeof e&&(e=n.merge({url:arguments[0]},arguments[1])),(e=n.merge(i,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[s,void 0],a=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)a=a.then(t.shift(),t.shift());return a},n.forEach(["delete","get","head","options"],function(e){o.prototype[e]=function(t,a){return this.request(n.merge(a||{},{method:e,url:t}))}}),n.forEach(["post","put","patch"],function(e){o.prototype[e]=function(t,a,i){return this.request(n.merge(i||{},{method:e,url:t,data:a}))}}),e.exports=o},function(e,t,a){"use strict";var i=a(7);e.exports=function(e,t){i.forEach(e,function(a,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[i])})}},function(e,t,a){"use strict";var i=a(87);e.exports=function(e,t,a){var n=a.config.validateStatus;a.status&&n&&!n(a.status)?t(i("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},function(e,t,a){"use strict";e.exports=function(e,t,a,i,n){return e.config=t,a&&(e.code=a),e.request=i,e.response=n,e}},function(e,t,a){"use strict";var i=a(7);function n(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,"]")}e.exports=function(e,t,a){if(!t)return e;var r;if(a)r=a(t);else if(i.isURLSearchParams(t))r=t.toString();else{var s=[];
41i.forEach(t,function(e,t){null!==e&&void 0!==e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),s.push(n(t)+"="+n(e))}))}),r=s.join("&")}return r&&(e+=(-1===e.indexOf("?")?"?":"&")+r),e}},function(e,t,a){"use strict";var i=a(7),n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,a,r,s={};return e?(i.forEach(e.split("\n"),function(e){if(r=e.indexOf(":"),t=i.trim(e.substr(0,r)).toLowerCase(),a=i.trim(e.substr(r+1)),t){if(s[t]&&n.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([a]):s[t]?s[t]+", "+a:a}}),s):s}},function(e,t,a){"use strict";var i=a(7);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function n(e){var i=e;return t&&(a.setAttribute("href",i),i=a.href),a.setAttribute("href",i),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=n(window.location.href),function(t){var a=i.isString(t)?n(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return!0}},function(e,t,a){"use strict";var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function n(){this.message="String contains an invalid character"}n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,a,r=String(e),s="",o=0,l=i;r.charAt(0|o)||(l="=",o%1);s+=l.charAt(63&t>>8-o%1*8)){if((a=r.charCodeAt(o+=.75))>255)throw new n;t=t<<8|a}return s}},function(e,t,a){"use strict";var i=a(7);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,a,n,r,s){var o=[];o.push(e+"="+encodeURIComponent(t)),i.isNumber(a)&&o.push("expires="+new Date(a).toGMTString()),i.isString(n)&&o.push("path="+n),i.isString(r)&&o.push("domain="+r),!0===s&&o.push("secure"),document.cookie=o.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(){}}},function(e,t,a){"use strict";var i=a(7);function n(){this.handlers=[]}n.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=n},function(e,t,a){"use strict";var i=a(7),n=a(111),r=a(88),s=a(83),o=a(112),l=a(113);function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.baseURL&&!o(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=n(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return c(e),t.data=n(t.data,t.headers,e.transformResponse),t},function(t){return r(t)||(c(e),t&&t.response&&(t.response.data=n(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,a){"use strict";var i=a(7);e.exports=function(e,t,a){return i.forEach(a,function(a){e=a(e,t)}),e}},function(e,t,a){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,a){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,a){"use strict";var i=a(89);function n(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var a=this;e(function(e){a.reason||(a.reason=new i(e),t(a.reason))})}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var e;return{token:new n(function(t){e=t}),cancel:e}},e.exports=n},function(e,t,a){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,a){"use strict";var i=a(13);a.n(i).a},function(e,t,a){"use strict";var i=a(14);a.n(i).a},function(e,t,a){"use strict";var i=a(15);a.n(i).a},function(e,t,a){"use strict";var i=a(16);a.n(i).a},function(e,t,a){"use strict";var i=a(17);a.n(i).a},function(e,t,a){"use strict";var i=a(18);a.n(i).a},function(e,t,a){"use strict";var i=a(19);a.n(i).a},function(e,t,a){"use strict";var i=a(20);a.n(i).a},function(e,t,a){"use strict";var i=a(21);a.n(i).a},function(e,t,a){"use strict";var i=a(22);a.n(i).a},function(e,t,a){"use strict";var i=a(23);a.n(i).a},function(e,t,a){"use strict";var i=a(24);a.n(i).a},function(e,t,a){var i,n;
42/**!
43 * Sortable
44 * @author	RubaXa   <[email protected]>
45 * @author	owenm    <[email protected]>
46 * @license MIT
47 */
48/**!
49 * Sortable
50 * @author	RubaXa   <[email protected]>
51 * @author	owenm    <[email protected]>
52 * @license MIT
53 */
54!function(r){"use strict";void 0===(n="function"==typeof(i=r)?i.call(t,a,t,e):i)||(e.exports=n)}(function(){"use strict";if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var e,t,a,i,n,r,s,o,l,c,u,d,p,m,h,f,_,v,g,y,b,k,w,M,S,D,L,T,x=[],C=!1,Y=!1,A=!1,E=[],O=!1,I=!1,F=[],P=/\s+/g,j="Sortable"+(new Date).getTime(),H=window,$=H.document,N=H.parseInt,q=H.setTimeout,R=H.jQuery||H.Zepto,B=H.Polymer,W={capture:!1,passive:!1},z=!!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie|iemobile)/i),U=!!navigator.userAgent.match(/Edge/i),V=!!navigator.userAgent.match(/firefox/i),G=!(!navigator.userAgent.match(/safari/i)||navigator.userAgent.match(/chrome/i)||navigator.userAgent.match(/android/i)),J=!!navigator.userAgent.match(/iP(ad|od|hone)/i),K=U||z?"cssFloat":"float",Q="draggable"in $.createElement("div"),Z=function(){if(z)return!1;var e=$.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}(),X=!1,ee=!1,te=Math.abs,ae=Math.min,ie=Math.max,ne=[],re=function(e,t){var a=Se(e),i=N(a.width)-N(a.paddingLeft)-N(a.paddingRight)-N(a.borderLeftWidth)-N(a.borderRightWidth),n=Ae(e,0,t),r=Ae(e,1,t),s=n&&Se(n),o=r&&Se(r),l=s&&N(s.marginLeft)+N(s.marginRight)+Re(n).width,c=o&&N(o.marginLeft)+N(o.marginRight)+Re(r).width;if("flex"===a.display)return"column"===a.flexDirection||"column-reverse"===a.flexDirection?"vertical":"horizontal";if("grid"===a.display)return a.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";
54if(n&&"none"!==s.float){var u="left"===s.float?"left":"right";return!r||"both"!==o.clear&&o.clear!==u?"horizontal":"vertical"}return n&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=i&&"none"===a[K]||r&&"none"===a[K]&&l+c>i)?"vertical":"horizontal"},se=function(e,t,a,i,n){var r=Re(a),s="vertical"===i?r.left:r.top,o="vertical"===i?r.right:r.bottom,l="vertical"===i?e:t;return s<l&&l<o},oe=function(e,t){if(!e||!e.getBoundingClientRect)return le();var a=e,i=!1;do{if(a.clientWidth<a.scrollWidth||a.clientHeight<a.scrollHeight){var n=Se(a);if(a.clientWidth<a.scrollWidth&&("auto"==n.overflowX||"scroll"==n.overflowX)||a.clientHeight<a.scrollHeight&&("auto"==n.overflowY||"scroll"==n.overflowY)){if(!a||!a.getBoundingClientRect||a===$.body)return le();if(i||t)return a;i=!0}}}while(a=a.parentNode);return le()},le=function(){return z?$.documentElement:$.scrollingElement},ce=function(e,t,a){e.scrollLeft+=t,e.scrollTop+=a},ue=je(function(e,t,a,i){if(t.scroll){var n=a?a[j]:window,r=t.scrollSensitivity,s=t.scrollSpeed,u=e.clientX,d=e.clientY,p=le(),m=!1;l!==a&&(de(),o=t.scroll,c=t.scrollFn,!0===o&&(o=oe(a,!0),l=o));var h=0,f=o;do{var _,v,g,y,k,w,M,S,D,L=f,T=Re(L),Y=T.top,A=T.bottom,E=T.left,O=T.right,I=T.width,F=T.height;if(_=L.scrollWidth,v=L.scrollHeight,g=Se(L),S=L.scrollLeft,D=L.scrollTop,L===p?(w=I<_&&("auto"===g.overflowX||"scroll"===g.overflowX||"visible"===g.overflowX),M=F<v&&("auto"===g.overflowY||"scroll"===g.overflowY||"visible"===g.overflowY)):(w=I<_&&("auto"===g.overflowX||"scroll"===g.overflowX),M=F<v&&("auto"===g.overflowY||"scroll"===g.overflowY)),y=w&&(te(O-u)<=r&&S+I<_)-(te(E-u)<=r&&!!S),k=M&&(te(A-d)<=r&&D+F<v)-(te(Y-d)<=r&&!!D),!x[h])for(var P=0;P<=h;P++)x[P]||(x[P]={});x[h].vx==y&&x[h].vy==k&&x[h].el===L||(x[h].el=L,x[h].vx=y,x[h].vy=k,clearInterval(x[h].pid),!L||0==y&&0==k||(m=!0,x[h].pid=setInterval(function(){i&&0===this.layer&&(ge.active._emulateDragOver(!0),ge.active._onTouchMove(b,!0));var t=x[this.layer].vy?x[this.layer].vy*s:0,a=x[this.layer].vx?x[this.layer].vx*s:0;"function"==typeof c&&"continue"!==c.call(n,a,t,e,b,x[this.layer].el)||ce(x[this.layer].el,a,t)}.bind({layer:h}),24))),h++}while(t.bubbleScroll&&f!==p&&(f=oe(f,!1)));C=m}},30),de=function(){x.forEach(function(e){clearInterval(e.pid)}),x=[]},pe=function(e){function t(e,a){return function(i,n,r,s){var o=i.options.group.name&&n.options.group.name&&i.options.group.name===n.options.group.name;if(null==e&&(a||o))return!0;if(null==e||!1===e)return!1;if(a&&"clone"===e)return e;if("function"==typeof e)return t(e(i,n,r,s),a)(i,n,r,s);var l=(a?i:n).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var a={},i=e.group;i&&"object"==typeof i||(i={name:i}),a.name=i.name,a.checkPull=t(i.pull,!0),a.checkPut=t(i.put),a.revertClone=i.revertClone,e.group=a},me=function(t){e&&e.parentNode&&e.parentNode[j]&&e.parentNode[j]._computeIsAligned(t)},he=function(){!Z&&a&&Se(a,"display","none")},fe=function(){!Z&&a&&Se(a,"display","")};$.addEventListener("click",function(e){if(A)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),A=!1,!1},!0);var _e,ve=function(t){if(e){var a=function(e,t){for(var a=0;a<E.length;a++)if(!Ee(E[a])){var i=Re(E[a]),n=E[a][j].options.emptyInsertThreshold,r=e>=i.left-n&&e<=i.right+n,s=t>=i.top-n&&t<=i.bottom+n;if(n&&r&&s)return E[a]}}((t=t.touches?t.touches[0]:t).clientX,t.clientY);if(a){var i={};for(var n in t)i[n]=t[n];i.target=i.rootEl=a,i.preventDefault=void 0,i.stopPropagation=void 0,a[j]._onDragOver(i)}}};function ge(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, not "+{}.toString.call(e);this.el=e,this.options=t=He({},t),e[j]=this;var a={group:null,sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0,draggable:/[uo]l/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return re(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:N(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ge.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in a)!(i in t)&&(t[i]=a[i]);for(var n in pe(t),this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&Q,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?ke(e,"pointerdown",this._onTapStart):(ke(e,"mousedown",this._onTapStart),ke(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(ke(e,"dragover",this),ke(e,"dragenter",this)),E.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[])}
54function ye(e,t,a,i){if(e){a=a||$;do{if(null!=t&&(">"===t[0]?e.parentNode===a&&Pe(e,t):Pe(e,t))||i&&e===a)return e;if(e===a)break}while(e=be(e))}return null}function be(e){return e.host&&e!==$&&e.host.nodeType?e.host:e.parentNode}function ke(e,t,a){e.addEventListener(t,a,!z&&W)}function we(e,t,a){e.removeEventListener(t,a,!z&&W)}function Me(e,t,a){if(e&&t)if(e.classList)e.classList[a?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(P," ").replace(" "+t+" "," ");e.className=(i+(a?" "+t:"")).replace(P," ")}}function Se(e,t,a){var i=e&&e.style;if(i){if(void 0===a)return $.defaultView&&$.defaultView.getComputedStyle?a=$.defaultView.getComputedStyle(e,""):e.currentStyle&&(a=e.currentStyle),void 0===t?a:a[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=a+("string"==typeof a?"":"px")}}function De(e){var t="";do{var a=Se(e,"transform");a&&"none"!==a&&(t=a+" "+t)}while(e=e.parentNode);return window.DOMMatrix?new DOMMatrix(t):window.WebKitCSSMatrix?new WebKitCSSMatrix(t):window.CSSMatrix?new CSSMatrix(t):void 0}function Le(e,t,a){if(e){var i=e.getElementsByTagName(t),n=0,r=i.length;if(a)for(;n<r;n++)a(i[n],n);return i}return[]}function Te(e,t,a,n,r,s,o,l,c,u,d){var p,m=(e=e||t[j]).options,h="on"+a.charAt(0).toUpperCase()+a.substr(1);!window.CustomEvent||z||U?(p=$.createEvent("Event")).initEvent(a,!0,!0):p=new CustomEvent(a,{bubbles:!0,cancelable:!0}),p.to=r||t,p.from=s||t,p.item=n||t,p.clone=i,p.oldIndex=o,p.newIndex=l,p.oldDraggableIndex=c,p.newDraggableIndex=u,p.originalEvent=d,p.pullMode=f?f.lastPutMode:void 0,t&&t.dispatchEvent(p),m[h]&&m[h].call(e,p)}function xe(e,t,a,i,n,r,s,o){var l,c,u=e[j],d=u.options.onMove;return!window.CustomEvent||z||U?(l=$.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=a,l.draggedRect=i,l.related=n||t,l.relatedRect=r||Re(t),l.willInsertAfter=o,l.originalEvent=s,e.dispatchEvent(l),d&&(c=d.call(u,l,s)),c}function Ce(e){e.draggable=!1}function Ye(){X=!1}function Ae(t,i,n){for(var r=0,s=0,o=t.children;s<o.length;){if("none"!==o[s].style.display&&o[s]!==a&&o[s]!==e&&ye(o[s],n.draggable,t,!1)){if(r===i)return o[s];r++}s++}return null}function Ee(e){for(var t=e.lastElementChild;t&&(t===a||"none"===Se(t,"display"));)t=t.previousElementSibling;return t||null}function Oe(t){return Fe(e)<Fe(t)?1:-1}function Ie(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,a=t.length,i=0;a--;)i+=t.charCodeAt(a);return i.toString(36)}function Fe(e,t){var a=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||e===i||t&&!Pe(e,t)||a++;return a}function Pe(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function je(e,t){return function(){if(!_e){var a=arguments,i=this;_e=q(function(){1===a.length?e.call(i,a[0]):e.apply(i,a),_e=void 0},t)}}}function He(e,t){if(e&&t)for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e}function $e(e){return B&&B.dom?B.dom(e).cloneNode(!0):R?R(e).clone(!0)[0]:e.cloneNode(!0)}function Ne(e){return q(e,0)}function qe(e){return clearTimeout(e)}function Re(e,t,a,i){if(e.getBoundingClientRect||e===H){var n,r,s,o,l,c,u;if(e!==H&&e!==le()?(r=(n=e.getBoundingClientRect()).top,s=n.left,o=n.bottom,l=n.right,c=n.height,u=n.width):(r=0,s=0,o=window.innerHeight,l=window.innerWidth,c=window.innerHeight,u=window.innerWidth),i&&e!==H&&(a=a||e.parentNode,!z))do{if(a&&a.getBoundingClientRect&&"none"!==Se(a,"transform")){var d=a.getBoundingClientRect();r-=d.top+N(Se(a,"border-top-width")),s-=d.left+N(Se(a,"border-left-width")),o=r+n.height,l=s+n.width;break}}while(a=a.parentNode);if(t&&e!==H){var p=De(a||e),m=p&&p.a,h=p&&p.d;p&&(o=(r/=h)+(c/=h),l=(s/=m)+(u/=m))}return{top:r,left:s,bottom:o,right:l,width:u,height:c}}}function Be(e,t){for(var a=oe(e,!0),i=Re(e)[t];a;){var n=Re(a)[t];if(!("top"===t||"left"===t?i>=n:i<=n))return a;if(a===le())break;a=oe(a,!1)}return!1}function We(e){var t=0,a=0,i=le();if(e)do{var n=De(e),r=n.a,s=n.d;t+=e.scrollLeft*r,a+=e.scrollTop*s}while(e!==i&&(e=e.parentNode));return[t,a]}return ge.prototype={constructor:ge,_computeIsAligned:function(t){var i;if(a&&!Z?(he(),i=$.elementFromPoint(t.clientX,t.clientY),fe()):i=t.target,i=ye(i,this.options.draggable,this.el,!1),!ee&&e&&e.parentNode===this.el){for(var n=this.el.children,r=0;r<n.length;r++)ye(n[r],this.options.draggable,this.el,!1)&&n[r]!==i&&(n[r].sortableMouseAligned=se(t.clientX,t.clientY,n[r],this._getDirection(t,null),this.options));ye(i,this.options.draggable,this.el,!0)||(w=null),ee=!0,q(function(){ee=!1},30)}},_getDirection:function(t,a){return"function"==typeof this.options.direction?this.options.direction.call(this,t,a,e):this.options.direction},_onTapStart:function(t){if(t.cancelable){var a,i,n=this,r=this.el,o=this.options,l=o.preventOnFilter,c=t.type,u=t.touches&&t.touches[0],d=(u||t).target,p=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||d,m=o.filter;if(function(e){ne.length=0;var t=e.getElementsByTagName("input"),a=t.length;for(;a--;){var i=t[a];i.checked&&ne.push(i)}}(r),!e&&!(/mousedown|pointerdown/.test(c)&&0!==t.button||o.disabled||p.isContentEditable||(d=ye(d,o.draggable,r,!1),s===d))){if(a=Fe(d),i=Fe(d,o.draggable),"function"==typeof m){if(m.call(this,t,d,this))return Te(n,p,"filter",d,r,r,a,void 0,i),void(l&&t.cancelable&&t.preventDefault())}else if(m&&(m=m.split(",").some(function(e){if(e=ye(p,e.trim(),r,!1))return Te(n,e,"filter",d,r,r,a,void 0,i),!0})))return void(l&&t.cancelable&&t.preventDefault());o.handle&&!ye(p,o.handle,r,!1)||this._prepareDragStart(t,u,d,a,i)}}},_handleAutoScroll:function(t,a){if(e&&this.options.scroll){var i=t.clientX,n=t.clientY,r=$.elementFromPoint(i,n),s=this;if(a||U||z||G){ue(t,s.options,r,a);var o=oe(r,!0);!C||_&&i===v&&n===g||(_&&clearInterval(_),_=setInterval(function(){if(e){var r=oe($.elementFromPoint(i,n),!0);r!==o&&(o=r,de(),ue(t,s.options,o,a))}},10),v=i,g=n)}else{if(!s.options.bubbleScroll||oe(r,!0)===le())return void de();ue(t,s.options,oe(r,!1),!1)}}},_prepareDragStart:function(a,i,o,l,c){var d,m=this,f=m.el,_=m.options,v=f.ownerDocument;o&&!e&&o.parentNode===f&&(n=f,t=(e=o).parentNode,r=e.nextSibling,s=o,h=_.group,u=l,p=c,y={target:e,clientX:(i||a).clientX,clientY:(i||a).clientY},this._lastX=(i||a).clientX,this._lastY=(i||a).clientY,e.style["will-change"]="all",e.style.transition="",e.style.transform="",d=function(){m._disableDelayedDragEvents(),!V&&m.nativeDraggable&&(e.draggable=!0),m._triggerDragStart(a,i),Te(m,n,"choose",e,n,n,u,void 0,p),Me(e,_.chosenClass,!0)},_.ignore.split(",").forEach(function(t){Le(e,t.trim(),Ce)}),ke(v,"dragover",ve),ke(v,"mousemove",ve),ke(v,"touchmove",ve),ke(v,"mouseup",m._onDrop),ke(v,"touchend",m._onDrop),ke(v,"touchcancel",m._onDrop),V&&this.nativeDraggable&&(this.options.touchStartThreshold=4,e.draggable=!0),!_.delay||_.delayOnTouchOnly&&!i||this.nativeDraggable&&(U||z)?d():(ke(v,"mouseup",m._disableDelayedDrag),ke(v,"touchend",m._disableDelayedDrag),ke(v,"touchcancel",m._disableDelayedDrag),ke(v,"mousemove",m._delayedDragTouchMoveHandler),ke(v,"touchmove",m._delayedDragTouchMoveHandler),_.supportPointer&&ke(v,"pointermove",m._delayedDragTouchMoveHandler),m._dragStartTimer=q(d,_.delay)))},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;ie(te(t.clientX-this._lastX),te(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){e&&Ce(e),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;we(e,"mouseup",this._disableDelayedDrag),we(e,"touchend",this._disableDelayedDrag),we(e,"touchcancel",this._disableDelayedDrag),we(e,"mousemove",this._delayedDragTouchMoveHandler),we(e,"touchmove",this._delayedDragTouchMoveHandler),we(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,a){a=a||("touch"==t.pointerType?t:null),!this.nativeDraggable||a?this.options.supportPointer?ke($,"pointermove",this._onTouchMove):ke($,a?"touchmove":"mousemove",this._onTouchMove):(ke(e,"dragend",this),ke(n,"dragstart",this._onDragStart));try{$.selection?Ne(function(){$.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(t,a){if(Y=!1,n&&e){this.nativeDraggable&&(ke($,"dragover",this._handleAutoScroll),ke($,"dragover",me));var i=this.options;!t&&Me(e,i.dragClass,!1),Me(e,i.ghostClass,!0),Se(e,"transform",""),ge.active=this,t&&this._appendGhost(),Te(this,n,"start",e,n,n,u,void 0,p,void 0,a)}
54else this._nulling()},_emulateDragOver:function(t){if(b){if(this._lastX===b.clientX&&this._lastY===b.clientY&&!t)return;this._lastX=b.clientX,this._lastY=b.clientY,he();for(var a=$.elementFromPoint(b.clientX,b.clientY),i=a;a&&a.shadowRoot&&(a=a.shadowRoot.elementFromPoint(b.clientX,b.clientY))!==i;)i=a;if(i)do{if(i[j])if(i[j]._onDragOver({clientX:b.clientX,clientY:b.clientY,target:a,rootEl:i})&&!this.options.dragoverBubble)break;a=i}while(i=i.parentNode);e.parentNode[j]._computeIsAligned(b),fe()}},_onTouchMove:function(e,t){if(y){var i=this.options,n=i.fallbackTolerance,r=i.fallbackOffset,s=e.touches?e.touches[0]:e,o=a&&De(a),l=a&&o&&o.a,c=a&&o&&o.d,u=J&&L&&We(L),d=(s.clientX-y.clientX+r.x)/(l||1)+(u?u[0]-F[0]:0)/(l||1),p=(s.clientY-y.clientY+r.y)/(c||1)+(u?u[1]-F[1]:0)/(c||1),m=e.touches?"translate3d("+d+"px,"+p+"px,0)":"translate("+d+"px,"+p+"px)";if(!ge.active&&!Y){if(n&&ae(te(s.clientX-this._lastX),te(s.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}!t&&this._handleAutoScroll(s,!0),k=!0,b=s,Se(a,"webkitTransform",m),Se(a,"mozTransform",m),Se(a,"msTransform",m),Se(a,"transform",m),e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!a){var t=this.options.fallbackOnBody?$.body:n,i=Re(e,!0,t,!J),r=(Se(e),this.options);if(J){for(L=t;"static"===Se(L,"position")&&"none"===Se(L,"transform")&&L!==$;)L=L.parentNode;if(L!==$){var s=Re(L,!0);i.top-=s.top,i.left-=s.left}L!==$.body&&L!==$.documentElement?(L===$&&(L=le()),i.top+=L.scrollTop,i.left+=L.scrollLeft):L=le(),F=We(L)}Me(a=e.cloneNode(!0),r.ghostClass,!1),Me(a,r.fallbackClass,!0),Me(a,r.dragClass,!0),Se(a,"box-sizing","border-box"),Se(a,"margin",0),Se(a,"top",i.top),Se(a,"left",i.left),Se(a,"width",i.width),Se(a,"height",i.height),Se(a,"opacity","0.8"),Se(a,"position",J?"absolute":"fixed"),Se(a,"zIndex","100000"),Se(a,"pointerEvents","none"),t.appendChild(a)}},_onDragStart:function(t,a){var r=this,s=t.dataTransfer,o=r.options;(i=$e(e)).draggable=!1,i.style["will-change"]="",this._hideClone(),Me(i,r.options.chosenClass,!1),r._cloneId=Ne(function(){r.options.removeCloneOnHide||n.insertBefore(i,e),Te(r,n,"clone",e)}),!a&&Me(e,o.dragClass,!0),a?(A=!0,r._loopId=setInterval(r._emulateDragOver,50)):(we($,"mouseup",r._onDrop),we($,"touchend",r._onDrop),we($,"touchcancel",r._onDrop),s&&(s.effectAllowed="move",o.setData&&o.setData.call(r,s,e)),ke($,"drop",r),Se(e,"transform","translateZ(0)")),Y=!0,r._dragStartId=Ne(r._dragStarted.bind(r,a,t)),ke($,"selectstart",r),G&&Se($.body,"user-select","none")},_onDragOver:function(a){var i,s,o,l=this.el,c=a.target,d=this.options,m=d.group,_=ge.active,v=h===m,g=d.sort,y=this;if(!X){if(void 0!==a.preventDefault&&a.cancelable&&a.preventDefault(),k=!0,c=ye(c,d.draggable,l,!0),e.contains(a.target)||c.animated)return W(!1);if(c!==e&&(A=!1),_&&!d.disabled&&(v?g||(o=!n.contains(e)):f===this||(this.lastPutMode=h.checkPull(this,_,e,a))&&m.checkPut(this,_,e,a))){var b=this._getDirection(a,c);if(i=Re(e),o)return this._hideClone(),t=n,r?n.insertBefore(e,r):n.appendChild(e),W(!0);var L=Ee(l);if(!L||function(e,t,a){var i=Re(Ee(a)),n="vertical"===t?e.clientY:e.clientX,r="vertical"===t?e.clientX:e.clientY,s="vertical"===t?i.bottom:i.right,o="vertical"===t?i.left:i.top,l="vertical"===t?i.right:i.bottom;return"vertical"===t?r>l+10||r<=l&&n>s&&r>=o:n>s&&r>o||n<=s&&r>l+10}(a,b,l)&&!L.animated){if(L&&l===a.target&&(c=L),c&&(s=Re(c)),v?_._hideClone():_._showClone(this),!1!==xe(n,l,e,i,c,s,a,!!c))return l.appendChild(e),t=l,T=null,z(),W(!0)}else if(c&&c!==e&&c.parentNode===l){var x,C=0,Y=c.sortableMouseAligned,E=e.parentNode!==l,F="vertical"===b?"top":"left",P=Be(c,"top")||Be(e,"top"),H=P?P.scrollTop:void 0;if(w!==c&&(S=null,x=Re(c)[F],O=!1),function(t,a,i){var n=t===e&&T||Re(t),r=a===e&&T||Re(a),s="vertical"===i?n.left:n.top,o="vertical"===i?n.right:n.bottom,l="vertical"===i?n.width:n.height,c="vertical"===i?r.left:r.top,u="vertical"===i?r.right:r.bottom,d="vertical"===i?r.width:r.height;return s===c||o===u||s+l/2===c+d/2}(e,c,b)&&Y||E||P||d.invertSwap||"insert"===S||"swap"===S?("swap"!==S&&(I=d.invertSwap||E),C=function(t,a,i,n,r,s,o){var l=Re(a),c="vertical"===i?t.clientY:t.clientX,u="vertical"===i?l.height:l.width,d="vertical"===i?l.top:l.left,p="vertical"===i?l.bottom:l.right,m=Re(e),h=!1;if(!s)if(o&&D<u*n)if(!O&&(1===M?c>d+u*r/2:c<p-u*r/2)&&(O=!0),O)h=!0;else{"vertical"===i?m.top:m.left,"vertical"===i?m.bottom:m.right;if(1===M?c<d+D:c>p-D)return-1*M}else if(c>d+u*(1-n)/2&&c<p-u*(1-n)/2)return Oe(a);if((h=h||s)&&(c<d+u*r/2||c>p-u*r/2))return c>d+u/2?1:-1;return 0}(a,c,b,d.swapThreshold,null==d.invertedSwapThreshold?d.swapThreshold:d.invertedSwapThreshold,I,w===c),S="swap"):(C=Oe(c),S="insert"),0===C)return W(!1);T=null,w=c,M=C,s=Re(c);var N=c.nextElementSibling,R=!1,B=xe(n,l,e,i,c,s,a,R=1===C);if(!1!==B)return 1!==B&&-1!==B||(R=1===B),X=!0,q(Ye,30),v?_._hideClone():_._showClone(this),R&&!N?l.appendChild(e):c.parentNode.insertBefore(e,R?N:c),P&&ce(P,0,H-P.scrollTop),t=e.parentNode,void 0===x||I||(D=te(x-Re(c)[F])),z(),W(!0)}if(l.contains(e))return W(!1)}return!1}function W(t){return t&&(v?_._hideClone():_._showClone(y),_&&(Me(e,f?f.options.ghostClass:_.options.ghostClass,!1),Me(e,d.ghostClass,!0)),f!==y&&y!==ge.active?f=y:y===ge.active&&(f=null),i&&y._animate(i,e),c&&s&&y._animate(s,c)),(c===e&&!e.animated||c===l&&!c.animated)&&(w=null),d.dragoverBubble||a.rootEl||c===$||(y._handleAutoScroll(a),e.parentNode[j]._computeIsAligned(a),!t&&ve(a)),!d.dragoverBubble&&a.stopPropagation&&a.stopPropagation(),!0}function z(){Te(y,n,"change",c,l,n,u,Fe(e),p,Fe(e,d.draggable),a)}},_animate:function(t,a){var i=this.options.animation;if(i){var n=Re(a);if(a===e&&(T=n),1===t.nodeType&&(t=Re(t)),t.left+t.width/2!==n.left+n.width/2||t.top+t.height/2!==n.top+n.height/2){var r=De(this.el),s=r&&r.a,o=r&&r.d;Se(a,"transition","none"),Se(a,"transform","translate3d("+(t.left-n.left)/(s||1)+"px,"+(t.top-n.top)/(o||1)+"px,0)"),this._repaint(a),Se(a,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),Se(a,"transform","translate3d(0,
540,0)")}"number"==typeof a.animated&&clearTimeout(a.animated),a.animated=q(function(){Se(a,"transition",""),Se(a,"transform",""),a.animated=!1},i)}},_repaint:function(e){return e.offsetWidth},_offMoveEvents:function(){we($,"touchmove",this._onTouchMove),we($,"pointermove",this._onTouchMove),we($,"dragover",ve),we($,"mousemove",ve),we($,"touchmove",ve)},_offUpEvents:function(){var e=this.el.ownerDocument;we(e,"mouseup",this._onDrop),we(e,"touchend",this._onDrop),we(e,"pointerup",this._onDrop),we(e,"touchcancel",this._onDrop),we($,"selectstart",this)},_onDrop:function(s){var o=this.el,l=this.options;Y=!1,C=!1,I=!1,O=!1,clearInterval(this._loopId),clearInterval(_),de(),clearTimeout(_e),_e=void 0,clearTimeout(this._dragStartTimer),qe(this._cloneId),qe(this._dragStartId),we($,"mousemove",this._onTouchMove),this.nativeDraggable&&(we($,"drop",this),we(o,"dragstart",this._onDragStart),we($,"dragover",this._handleAutoScroll),we($,"dragover",me)),G&&Se($.body,"user-select",""),this._offMoveEvents(),this._offUpEvents(),s&&(k&&(s.cancelable&&s.preventDefault(),!l.dropBubble&&s.stopPropagation()),a&&a.parentNode&&a.parentNode.removeChild(a),(n===t||f&&"clone"!==f.lastPutMode)&&i&&i.parentNode&&i.parentNode.removeChild(i),e&&(this.nativeDraggable&&we(e,"dragend",this),Ce(e),e.style["will-change"]="",Me(e,f?f.options.ghostClass:this.options.ghostClass,!1),Me(e,this.options.chosenClass,!1),Te(this,n,"unchoose",e,t,n,u,null,p,null,s),n!==t?(d=Fe(e),m=Fe(e,l.draggable),d>=0&&(Te(null,t,"add",e,t,n,u,d,p,m,s),Te(this,n,"remove",e,t,n,u,d,p,m,s),Te(null,t,"sort",e,t,n,u,d,p,m,s),Te(this,n,"sort",e,t,n,u,d,p,m,s)),f&&f.save()):e.nextSibling!==r&&(d=Fe(e),m=Fe(e,l.draggable),d>=0&&(Te(this,n,"update",e,t,n,u,d,p,m,s),Te(this,n,"sort",e,t,n,u,d,p,m,s))),ge.active&&(null!=d&&-1!==d||(d=u,m=p),Te(this,n,"end",e,t,n,u,d,p,m,s),this.save()))),this._nulling()},_nulling:function(){n=e=t=a=r=i=s=o=l=x.length=_=v=g=y=b=k=d=u=w=M=T=f=h=ge.active=null,ne.forEach(function(e){e.checked=!0}),ne.length=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":e&&(this._onDragOver(t),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var e,t=[],a=this.el.children,i=0,n=a.length,r=this.options;i<n;i++)ye(e=a[i],r.draggable,this.el,!1)&&t.push(e.getAttribute(r.dataIdAttr)||Ie(e));return t},sort:function(e){var t={},a=this.el;this.toArray().forEach(function(e,i){var n=a.children[i];ye(n,this.options.draggable,a,!1)&&(t[e]=n)},this),e.forEach(function(e){t[e]&&(a.removeChild(t[e]),a.appendChild(t[e]))})},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return ye(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var a=this.options;if(void 0===t)return a[e];a[e]=t,"group"===e&&pe(a)},destroy:function(){var e=this.el;e[j]=null,we(e,"mousedown",this._onTapStart),we(e,"touchstart",this._onTapStart),we(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(we(e,"dragover",this),we(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),E.splice(E.indexOf(this.el),1),this.el=e=null},_hideClone:function(){i.cloneHidden||(Se(i,"display","none"),i.cloneHidden=!0,i.parentNode&&this.options.removeCloneOnHide&&i.parentNode.removeChild(i))},_showClone:function(t){"clone"===t.lastPutMode?i.cloneHidden&&(n.contains(e)&&!this.options.group.revertClone?n.insertBefore(i,e):r?n.insertBefore(i,r):n.appendChild(i),this.options.group.revertClone&&this._animate(e,i),Se(i,"display",""),i.cloneHidden=!1):this._hideClone()}},ke($,"touchmove",function(e){(ge.active||Y)&&e.cancelable&&e.preventDefault()}),ge.utils={on:ke,off:we,css:Se,find:Le,is:function(e,t){return!!ye(e,t,e,!1)},extend:He,throttle:je,closest:ye,toggleClass:Me,clone:$e,index:Fe,nextTick:Ne,cancelNextTick:qe,detectDirection:re,getChild:Ae},ge.create=function(e,t){return new ge(e,t)},ge.version="1.9.0",ge})},function(e,t,a){"use strict";var i=a(25);a.n(i).a},function(e,t,a){"use strict";var i=a(26);a.n(i).a},function(e,t,a){"use strict";var i=a(27);a.n(i).a},function(e,t,a){"use strict";var i=a(28);a.n(i).a},function(e,t,a){"use strict";var i=a(29);a.n(i).a},function(e,t,a){"use strict";var i=a(30);a.n(i).a},function(e,t,a){"use strict";var i=a(31);a.n(i).a},function(e,t,a){"use strict";var i=a(32);a.n(i).a},function(e,t,a){"use strict";var i=a(33);a.n(i).a},function(e,t,a){"use strict";var i=a(34);a.n(i).a},function(e,t,a){"use strict";var i=a(35);a.n(i).a},function(e,t,a){"use strict";var i=a(36);a.n(i).a},function(e,t,a){"use strict";var i=a(37);a.n(i).a},function(e,t,a){"use strict";var i=a(38);a.n(i).a},function(e,t,a){"use strict";var i=a(39);a.n(i).a},function(e,t,a){var i,n,r;
55/*!
56* inputmask.extensions.js
57* https://github.com/RobinHerbots/Inputmask
58* Copyright (c) 2010 - 2019 Robin Herbots
59* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
60* Version: 4.0.8
61*/n=[a(10)],void 0===(r="function"==typeof(i=function(e){return e.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"up
61per"},"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}}),e.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)//.*",autoUnmask:!1},ip:{mask:"i[i[i]].i[i[i]].i[i[i]].i[i[i]]",definitions:{i:{validator:function(e,t,a,i,n){return a-1>-1&&"."!==t.buffer[a-1]?(e=t.buffer[a-1]+e,e=a-2>-1&&"."!==t.buffer[a-2]?t.buffer[a-2]+e:"0"+e):e="00"+e,new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]").test(e)}}},onUnMask:function(e,t,a){return e},inputmode:"numeric"},email:{mask:"*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",greedy:!1,casing:"lower",onBeforePaste:function(e,t){return(e=e.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(e,t,a){return e},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0}}),e})?i.apply(t,n):i)||(e.exports=r)},function(e,t,a){var i,n,r;
62/*!
63* dependencyLibs/inputmask.dependencyLib.js
64* https://github.com/RobinHerbots/Inputmask
65* Copyright (c) 2010 - 2019 Robin Herbots
66* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
67* Version: 4.0.8
68*/n=[a(90)],void 0===(r="function"==typeof(i=function(e){var t=e.document;function a(e){return null!=e&&e===e.window}function i(e){return e instanceof Element}function n(a){return a instanceof n?a:this instanceof n?void(void 0!==a&&null!==a&&a!==e&&(this[0]=a.nodeName?a:void 0!==a[0]&&a[0].nodeName?a[0]:t.querySelector(a),void 0!==this[0]&&null!==this[0]&&(this[0].eventRegistry=this[0].eventRegistry||{}))):new n(a)}return n.prototype={on:function(e,t){if(i(this[0]))for(var a=this[0].eventRegistry,n=this[0],r=function(e,i){n.addEventListener?n.addEventListener(e,t,!1):n.attachEvent&&n.attachEvent("on"+e,t),a[e]=a[e]||{},a[e][i]=a[e][i]||[],a[e][i].push(t)},s=e.split(" "),o=0;o<s.length;o++){var l=s[o].split(".");r(l[0],l[1]||"global")}return this},off:function(e,t){if(i(this[0]))for(var a=this[0].eventRegistry,n=this[0],r=function(e,t,i){if(e in a==1)if(n.removeEventListener?n.removeEventListener(e,i,!1):n.detachEvent&&n.detachEvent("on"+e,i),"global"===t)for(var r in a[e])a[e][r].splice(a[e][r].indexOf(i),1);else a[e][t].splice(a[e][t].indexOf(i),1)},s=function(e,i){var n,r,s=[];if(e.length>0)if(void 0===t)for(n=0,r=a[e][i].length;n<r;n++)s.push({ev:e,namespace:i&&i.length>0?i:"global",handler:a[e][i][n]});else s.push({ev:e,namespace:i&&i.length>0?i:"global",handler:t});else if(i.length>0)for(var o in a)for(var l in a[o])if(l===i)if(void 0===t)for(n=0,r=a[o][l].length;n<r;n++)s.push({ev:o,namespace:l,handler:a[o][l][n]});else s.push({ev:o,namespace:l,handler:t});return s},o=e.split(" "),l=0;l<o.length;l++)for(var c=o[l].split("."),u=s(c[0],c[1]),d=0,p=u.length;d<p;d++)r(u[d].ev,u[d].namespace,u[d].handler);return this},trigger:function(e){if(i(this[0]))for(var a=this[0].eventRegistry,r=this[0],s="string"==typeof e?e.split(" "):[e.type],o=0;o<s.length;o++){var l=s[o].split("."),c=l[0],u=l[1]||"global";if(void 0!==t&&"global"===u){var d,p,m={bubbles:!0,cancelable:!0,detail:arguments[1]};if(t.createEvent){try{d=new CustomEvent(c,m)}catch(e){(d=t.createEvent("CustomEvent")).initCustomEvent(c,m.bubbles,m.cancelable,m.detail)}e.type&&n.extend(d,e),r.dispatchEvent(d)}else(d=t.createEventObject()).eventType=c,d.detail=arguments[1],e.type&&n.extend(d,e),r.fireEvent("on"+d.eventType,d)}else if(void 0!==a[c])if(arguments[0]=arguments[0].type?arguments[0]:n.Event(arguments[0]),"global"===u)for(var h in a[c])for(p=0;p<a[c][h].length;p++)a[c][h][p].apply(r,arguments);else for(p=0;p<a[c][u].length;p++)a[c][u][p].apply(r,arguments)}return this}},n.isFunction=function(e){return"function"==typeof e},n.noop=function(){},n.isArray=Array.isArray,n.inArray=function(e,t,a){return null==t?-1:function(e,t){for(var a=0,i=e.length;a<i;a++)if(e[a]===t)return a;return-1}(t,e)},n.valHooks=void 0,n.isPlainObject=function(e){return!("object"!=typeof e||e.nodeType||a(e)||e.constructor&&!Object.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))},n.extend=function(){var e,t,a,i,r,s,o=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[l]||{},l++),"object"==typeof o||n.isFunction(o)||(o={}),l===c&&(o=this,l--);l<c;l++)if(null!=(e=arguments[l]))for(t in e)a=o[t],o!==(i=e[t])&&(u&&i&&(n.isPlainObject(i)||(r=n.isArray(i)))?(r?(r=!1,s=a&&n.isArray(a)?a:[]):s=a&&n.isPlainObject(a)?a:{},o[t]=n.extend(u,s,i)):void 0!==i&&(o[t]=i));return o},n.each=function(e,t){var i=0;if(function(e){var t="length"in e&&e.length,i=typeof e;return"function"!==i&&!a(e)&&(!(1!==e.nodeType||!t)||"array"===i||
680===t||"number"==typeof t&&t>0&&t-1 in e)}(e))for(var n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},n.data=function(e,t,a){if(void 0===a)return e.__data?e.__data[t]:null;e.__data=e.__data||{},e.__data[t]=a},"function"==typeof e.CustomEvent?n.Event=e.CustomEvent:(n.Event=function(e,a){a=a||{bubbles:!1,cancelable:!1,detail:void 0};var i=t.createEvent("CustomEvent");return i.initCustomEvent(e,a.bubbles,a.cancelable,a.detail),i},n.Event.prototype=e.Event.prototype),n})?i.apply(t,n):i)||(e.exports=r)},function(e,t,a){var i,n,r;
69/*!
70* inputmask.date.extensions.js
71* https://github.com/RobinHerbots/Inputmask
72* Copyright (c) 2010 - 2019 Robin Herbots
73* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
74* Version: 4.0.8
75*/n=[a(10)],void 0===(r="function"==typeof(i=function(e){var t=e.dependencyLib,a={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return s(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return s(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return s(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return s(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return s(Date.prototype.getHours.call(this),2)}],hhh:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return s(Date.prototype.getHours.call(this),2)}],HHH:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return s(Date.prototype.getMinutes.call(this),2)}],ss:["[0-5][0-9]",Date.prototype.setSeconds,"seconds",function(){return s(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return s(Date.prototype.getMilliseconds.call(this),3)}],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return s(Date.prototype.getMilliseconds.call(this),2)}],t:["[ap]"],tt:["[ap]m"],T:["[AP]"],TT:["[AP]M"],Z:[""],o:[""],S:[""]},i={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function n(e){if(!e.tokenizer){var t=[];for(var i in a)-1===t.indexOf(i[0])&&t.push(i[0]);e.tokenizer="("+t.join("+|")+")+?|.",e.tokenizer=new RegExp(e.tokenizer,"g")}return e.tokenizer}function r(t,i,r,s){for(var o,l="";o=n(r).exec(t);)if(void 0===i)if(a[o[0]])l+="("+a[o[0]][0]+")";else switch(o[0]){case"[":l+="(";break;case"]":l+=")?";break;default:l+=e.escapeRegex(o[0])}else if(a[o[0]])if(!0!==s&&a[o[0]][3]){var c=a[o[0]][3];l+=c.call(i.date)}else a[o[0]][2]?l+=i["raw"+a[o[0]][2]]:l+=o[0];else l+=o[0];return l}function s(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e}function o(e,t,i){var r,s,o,l={date:new Date(1,0,1)},c=e;function u(e){var t=e.replace(/[^0-9]/g,"0");if(t!=e){var a=e.replace(/[^0-9]/g,""),n=(i.min&&i.min[r]||e).toString(),s=(i.max&&i.max[r]||e).toString();t=a+(a<n.slice(0,a.length)?n.slice(a.length):a>s.slice(0,a.length)?s.slice(a.length):t.toString().slice(a.length))}return t}function d(e,t,a){e[r]=u(t),e["raw"+r]=t,void 0!==o&&o.call(e.date,"month"==r?parseInt(e[r])-1:e[r])}if("string"==typeof c){for(;s=n(i).exec(t);){var p=c.slice(0,s[0].length);a.hasOwnProperty(s[0])&&(a[s[0]][0],r=a[s[0]][2],o=a[s[0]][1],d(l,p)),c=c.slice(p.length)}return l}if(c&&"object"==typeof c&&c.hasOwnProperty("date"))return c}return e.extendAliases({datetime:{mask:function(e){return a.S=e.i18n.ordinalSuffix.join("|"),e.inputFormat=i[e.inputFormat]||e.inputFormat,e.displayFormat=i[e.displayFormat]||e.displayFormat||e.inputFormat,e.outputFormat=i[e.outputFormat]||e.outputFormat||e.inputFormat,e.placeholder=""!==e.placeholder?e.placeholder:e.inputFormat.replace(/[\[\]]/,""),e.regex=r(e.inputFormat,void 0,e),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:void 0,outputFormat:void 0,min:null,max:null,i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Frid
75ay","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},postValidation:function(e,t,a,i){i.min=o(i.min,i.inputFormat,i),i.max=o(i.max,i.inputFormat,i);var n=a,s=o(e.join(""),i.inputFormat,i);return n&&s.date.getTime()==s.date.getTime()&&(n=(n=function(e,t){return(!isFinite(e.rawday)||"29"==e.day&&!isFinite(e.rawyear)||new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day)&&t}(s,n))&&function(e,t){var a=!0;if(t.min){if(e.rawyear){var i=e.rawyear.replace(/[^0-9]/g,""),n=t.min.year.substr(0,i.length);a=n<=i}e.year===e.rawyear&&t.min.date.getTime()==t.min.date.getTime()&&(a=t.min.date.getTime()<=e.date.getTime())}return a&&t.max&&t.max.date.getTime()==t.max.date.getTime()&&(a=t.max.date.getTime()>=e.date.getTime()),a}(s,i)),t&&n&&a.pos!==t?{buffer:r(i.inputFormat,s,i),refreshFromBuffer:{start:t,end:a.pos}}:n},onKeyDown:function(a,i,r,o){if(a.ctrlKey&&a.keyCode===e.keyCode.RIGHT){for(var l,c=new Date,u="";l=n(o).exec(o.inputFormat);)"d"===l[0].charAt(0)?u+=s(c.getDate(),l[0].length):"m"===l[0].charAt(0)?u+=s(c.getMonth()+1,l[0].length):"yyyy"===l[0]?u+=c.getFullYear().toString():"y"===l[0].charAt(0)&&(u+=s(c.getYear(),l[0].length));this.inputmask._valueSet(u),t(this).trigger("setvalue")}},onUnMask:function(e,t,a){return r(a.outputFormat,o(e,a.inputFormat,a),a,!0)},casing:function(e,t,a,i){return 0==t.nativeDef.indexOf("[ap]")?e.toLowerCase():0==t.nativeDef.indexOf("[AP]")?e.toUpperCase():e},insertMode:!1,shiftPositions:!1}}),e})?i.apply(t,n):i)||(e.exports=r)},function(e,t,a){var i,n,r;
76/*!
77* inputmask.numeric.extensions.js
78* https://github.com/RobinHerbots/Inputmask
79* Copyright (c) 2010 - 2019 Robin Herbots
80* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
81* Version: 4.0.8
82*/n=[a(10)],void 0===(r="function"==typeof(i=function(e){var t=e.dependencyLib;function a(t,a){for(var i="",n=0;n<t.length;n++)e.prototype.definitions[t.charAt(n)]||a.definitions[t.charAt(n)]||a.optionalmarker.start===t.charAt(n)||a.optionalmarker.end===t.charAt(n)||a.quantifiermarker.start===t.charAt(n)||a.quantifiermarker.end===t.charAt(n)||a.groupmarker.start===t.charAt(n)||a.groupmarker.end===t.charAt(n)||a.alternatormarker===t.charAt(n)?i+="\\"+t.charAt(n):i+=t.charAt(n);return i}return e.extendAliases({numeric:{mask:function(e){if(0!==e.repeat&&isNaN(e.integerDigits)&&(e.integerDigits=e.repeat),e.repeat=0,e.groupSeparator===e.radixPoint&&e.digits&&"0"!==e.digits&&("."===e.radixPoint?e.groupSeparator=",":","===e.radixPoint?e.groupSeparator=".":e.groupSeparator="")," "===e.groupSeparator&&(e.skipOptionalPartCharacter=void 0),e.autoGroup=e.autoGroup&&""!==e.groupSeparator,e.autoGroup&&("string"==typeof e.groupSize&&isFinite(e.groupSize)&&(e.groupSize=parseInt(e.groupSize)),isFinite(e.integerDigits))){var t=Math.floor(e.integerDigits/e.groupSize),i=e.integerDigits%e.groupSize;e.integerDigits=parseInt(e.integerDigits)+(0===i?t-1:t),e.integerDigits<1&&(e.integerDigits="*")}e.placeholder.length>1&&(e.placeholder=e.placeholder.charAt(0)),"radixFocus"===e.positionCaretOnClick&&""===e.placeholder&&!1===e.integerOptional&&(e.positionCaretOnClick="lvp"),e.definitions[";"]=e.definitions["~"],e.definitions[";"].definitionSymbol="~",!0===e.numericInput&&(e.positionCaretOnClick="radixFocus"===e.positionCaretOnClick?"lvp":e.positionCaretOnClick,e.digitsOptional=!1,isNaN(e.digits)&&(e.digits=2),e.decimalProtect=!1);var n="[+]";if(n+=a(e.prefix,e),!0===e.integerOptional?n+="~{1,"+e.integerDigits+"}":n+="~{"+e.integerDigits+"}",void 0!==e.digits){var r=e.decimalProtect?":":e.radixPoint,s=e.digits.toString().split(",");isFinite(s[0])&&s[1]&&isFinite(s[1])?n+=r+";{"+e.digits+"}":(isNaN(e.digits)||parseInt(e.digits)>0)&&(e.digitsOptional?n+="["+r+";{1,"+e.digits+"}]":n+=r+";{"+e.digits+"}")}return n+=a(e.suffix,e),n+="[-]",e.greedy=!1,n},placeholder:"",greedy:!1,digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",groupSize:3,groupSeparator:"",autoGroup:!1,allowMinus:!0,negationSymbol:{front:"-",back:""},integerDigits:"+",integerOptional:!0,prefix:"",suffix:"",rightAlign:!0,decimalProtect:!0,min:null,max:null,step:1,insertMode:!0,autoUnmask:!1,unmaskAsNumber:!1,inputType:"text",inputmode:"numeric",preValidation:function(e,a,i,n,r,s){if("-"===i||i===r.negationSymbol.front)return!0===r.allowMinus&&
82(r.isNegative=void 0===r.isNegative||!r.isNegative,""===e.join("")||{caret:s.validPositions[a]?a:void 0,dopost:!0});if(!1===n&&i===r.radixPoint&&void 0!==r.digits&&(isNaN(r.digits)||parseInt(r.digits)>0)){var o=t.inArray(r.radixPoint,e);if(-1!==o&&void 0!==s.validPositions[o])return!0===r.numericInput?a===o:{caret:o+1}}return!0},postValidation:function(a,i,n,r){var s=r.suffix.split(""),o=r.prefix.split("");if(void 0===n.pos&&void 0!==n.caret&&!0!==n.dopost)return n;var l=void 0!==n.caret?n.caret:n.pos,c=a.slice();r.numericInput&&(l=c.length-l-1,c=c.reverse());var u=c[l];if(u===r.groupSeparator&&(u=c[l+=1]),l===c.length-r.suffix.length-1&&u===r.radixPoint)return n;void 0!==u&&u!==r.radixPoint&&u!==r.negationSymbol.front&&u!==r.negationSymbol.back&&(c[l]="?",r.prefix.length>0&&l>=(!1===r.isNegative?1:0)&&l<r.prefix.length-1+(!1===r.isNegative?1:0)?o[l-(!1===r.isNegative?1:0)]="?":r.suffix.length>0&&l>=c.length-r.suffix.length-(!1===r.isNegative?1:0)&&(s[l-(c.length-r.suffix.length-(!1===r.isNegative?1:0))]="?")),o=o.join(""),s=s.join("");var d=c.join("").replace(o,"");if(d=(d=(d=(d=d.replace(s,"")).replace(new RegExp(e.escapeRegex(r.groupSeparator),"g"),"")).replace(new RegExp("[-"+e.escapeRegex(r.negationSymbol.front)+"]","g"),"")).replace(new RegExp(e.escapeRegex(r.negationSymbol.back)+"$"),""),isNaN(r.placeholder)&&(d=d.replace(new RegExp(e.escapeRegex(r.placeholder),"g"),"")),d.length>1&&1!==d.indexOf(r.radixPoint)&&("0"===u&&(d=d.replace(/^\?/g,"")),d=d.replace(/^0/g,"")),d.charAt(0)===r.radixPoint&&""!==r.radixPoint&&!0!==r.numericInput&&(d="0"+d),""!==d){if(d=d.split(""),(!r.digitsOptional||r.enforceDigitsOnBlur&&"blur"===n.event)&&isFinite(r.digits)){var p=t.inArray(r.radixPoint,d),m=t.inArray(r.radixPoint,c);-1===p&&(d.push(r.radixPoint),p=d.length-1);for(var h=1;h<=r.digits;h++)r.digitsOptional&&(!r.enforceDigitsOnBlur||"blur"!==n.event)||void 0!==d[p+h]&&d[p+h]!==r.placeholder.charAt(0)?-1!==m&&void 0!==c[m+h]&&(d[p+h]=d[p+h]||c[m+h]):d[p+h]=n.placeholder||r.placeholder.charAt(0)}if(!0!==r.autoGroup||""===r.groupSeparator||u===r.radixPoint&&void 0===n.pos&&!n.dopost)d=d.join("");else{var f=d[d.length-1]===r.radixPoint&&n.c===r.radixPoint;d=e(function(e,t){var a="";if(a+="("+t.groupSeparator+"*{"+t.groupSize+"}){*}",""!==t.radixPoint){var i=e.join("").split(t.radixPoint);i[1]&&(a+=t.radixPoint+"*{"+i[1].match(/^\d*\??\d*/)[0].length+"}")}return a}(d,r),{numericInput:!0,jitMasking:!0,definitions:{"*":{validator:"[0-9?]",cardinality:1}}}).format(d.join("")),f&&(d+=r.radixPoint),d.charAt(0)===r.groupSeparator&&d.substr(1)}}if(r.isNegative&&"blur"===n.event&&(r.isNegative="0"!==d),d=o+d,d+=s,r.isNegative&&(d=r.negationSymbol.front+d,d+=r.negationSymbol.back),d=d.split(""),void 0!==u)if(u!==r.radixPoint&&u!==r.negationSymbol.front&&u!==r.negationSymbol.back)(l=t.inArray("?",d))>-1?d[l]=u:l=n.caret||0;else if(u===r.radixPoint||u===r.negationSymbol.front||u===r.negationSymbol.back){var _=t.inArray(u,d);-1!==_&&(l=_)}r.numericInput&&(l=d.length-l-1,d=d.reverse());var v={caret:void 0!==u&&void 0===n.pos||void 0===l?l:l+(r.numericInput?-1:1),buffer:d,refreshFromBuffer:n.dopost||a.join("")!==d.join("")};return v.refreshFromBuffer?v:n},onBeforeWrite:function(a,i,n,r){if(a)switch(a.type){case"keydown":return r.postValidation(i,n,{caret:n,dopost:!0},r);case"blur":case"checkval":var s;if(function(t){void 0===t.parseMinMaxOptions&&(null!==t.min&&(t.min=t.min.toString().replace(new RegExp(e.escapeRegex(t.groupSeparator),"g"),""),","===t.radixPoint&&(t.min=t.min.replace(t.radixPoint,".")),t.min=isFinite(t.min)?parseFloat(t.min):NaN,isNaN(t.min)&&(t.min=Number.MIN_VALUE)),null!==t.max&&(t.max=t.max.toString().replace(new RegExp(e.escapeRegex(t.groupSeparator),"g"),""),","===t.radixPoint&&(t.max=t.max.replace(t.radixPoint,".")),t.max=isFinite(t.max)?parseFloat(t.max):NaN,isNaN(t.max)&&(t.max=Number.MAX_VALUE)),t.parseMinMaxOptions="done")}(r),null!==r.min||null!==r.max){if(s=r.onUnMask(i.join(""),void 0,t.extend({},r,{unmaskAsNumber:!0})),null!==r.min&&s<r.min)return r.isNegative=r.min<0,r.postValidation(r.min.toString().replace(".",r.radixPoint).split(""),n,{caret:n,dopost:!0,placeholder:"0"},r);if(null!==r.max&&s>r.max)return r.isNegative=r.max<0,r.postValidation(r.max.toString().replace(".",r.radixPoint).split(""),n,{caret:n,dopost:!0,placeholder:"0"},r)}return r.postValidation(i,n,{caret:n,placeholder:"0",event:"blur"},r);case"_checkval":return{caret:n}}},regex:{integerPart:function(t,a){return a?new RegExp("["+e.escapeRegex(t.negationSymbol.front)+"+]?"):new RegExp("["+e.escapeRegex(t.negationSymbol.front)+"+]?\\d+")},integerNPart:function(t){return new RegExp("[\\d"+e.escapeRegex(t.groupSeparator)+e.escapeRegex(t.placeholder.charAt(0))+"]+")}},definitions:{"~":{validator:function(t,a,i,n,r,s){var o;if("k"===t||"m"===t){o={insert:[],c:0};for(var l=0,c="k"===t?2:5;l<c;l++)o.insert.push({pos:i+l,c:0});return o.pos=i+c,o}if(!0===(o=n?new RegExp("[0-9"+e.escapeRegex(r.groupSeparator)+"]").test(t):new RegExp("[0-9]").test(t))){if
82(!0!==r.numericInput&&void 0!==a.validPositions[i]&&"~"===a.validPositions[i].match.def&&!s){var u=a.buffer.join(""),d=(u=(u=u.replace(new RegExp("[-"+e.escapeRegex(r.negationSymbol.front)+"]","g"),"")).replace(new RegExp(e.escapeRegex(r.negationSymbol.back)+"$"),"")).split(r.radixPoint);d.length>1&&(d[1]=d[1].replace(/0/g,r.placeholder.charAt(0))),"0"===d[0]&&(d[0]=d[0].replace(/0/g,r.placeholder.charAt(0))),u=d[0]+r.radixPoint+d[1]||"";var p=a._buffer.join("");for(u===r.radixPoint&&(u=p);null===u.match(e.escapeRegex(p)+"$");)p=p.slice(1);o=void 0===(u=(u=u.replace(p,"")).split(""))[i]?{pos:i,remove:i}:{pos:i}}}else n||t!==r.radixPoint||void 0!==a.validPositions[i-1]||(o={insert:{pos:i,c:0},pos:i+1});return o},cardinality:1},"+":{validator:function(e,t,a,i,n){return n.allowMinus&&("-"===e||e===n.negationSymbol.front)},cardinality:1,placeholder:""},"-":{validator:function(e,t,a,i,n){return n.allowMinus&&e===n.negationSymbol.back},cardinality:1,placeholder:""},":":{validator:function(t,a,i,n,r){var s="["+e.escapeRegex(r.radixPoint)+"]",o=new RegExp(s).test(t);return o&&a.validPositions[i]&&a.validPositions[i].match.placeholder===r.radixPoint&&(o={caret:i+1}),o},cardinality:1,placeholder:function(e){return e.radixPoint}}},onUnMask:function(t,a,i){if(""===a&&!0===i.nullable)return a;var n=t.replace(i.prefix,"");return n=(n=n.replace(i.suffix,"")).replace(new RegExp(e.escapeRegex(i.groupSeparator),"g"),""),""!==i.placeholder.charAt(0)&&(n=n.replace(new RegExp(i.placeholder.charAt(0),"g"),"0")),i.unmaskAsNumber?(""!==i.radixPoint&&-1!==n.indexOf(i.radixPoint)&&(n=n.replace(e.escapeRegex.call(this,i.radixPoint),".")),n=(n=n.replace(new RegExp("^"+e.escapeRegex(i.negationSymbol.front)),"-")).replace(new RegExp(e.escapeRegex(i.negationSymbol.back)+"$"),""),Number(n)):n},isComplete:function(t,a){var i=(a.numericInput?t.slice().reverse():t).join("");return i=(i=(i=(i=(i=i.replace(new RegExp("^"+e.escapeRegex(a.negationSymbol.front)),"-")).replace(new RegExp(e.escapeRegex(a.negationSymbol.back)+"$"),"")).replace(a.prefix,"")).replace(a.suffix,"")).replace(new RegExp(e.escapeRegex(a.groupSeparator)+"([0-9]{3})","g"),"$1"),","===a.radixPoint&&(i=i.replace(e.escapeRegex(a.radixPoint),".")),isFinite(i)},onBeforeMask:function(a,i){i.isNegative=void 0;var n=i.radixPoint||",";"number"!=typeof a&&"number"!==i.inputType||""===n||(a=a.toString().replace(".",n));var r=a.split(n),s=r[0].replace(/[^\-0-9]/g,""),o=r.length>1?r[1].replace(/[^0-9]/g,""):"";a=s+(""!==o?n+o:o);var l=0;if(""!==n&&(l=o.length,""!==o)){var c=Math.pow(10,l||1);isFinite(i.digits)&&(l=parseInt(i.digits),c=Math.pow(10,l)),a=a.replace(e.escapeRegex(n),"."),isFinite(a)&&(a=Math.round(parseFloat(a)*c)/c),a=a.toString().replace(".",n)}return 0===i.digits&&-1!==a.indexOf(e.escapeRegex(n))&&(a=a.substring(0,a.indexOf(e.escapeRegex(n)))),function(e,a,i){if(a>0){var n=t.inArray(i.radixPoint,e);-1===n&&(e.push(i.radixPoint),n=e.length-1);for(var r=1;r<=a;r++)e[n+r]=e[n+r]||"0"}return e}(a.toString().split(""),l,i).join("")},onKeyDown:function(a,i,n,r){var s=t(this);if(a.ctrlKey)switch(a.keyCode){case e.keyCode.UP:s.val(parseFloat(this.inputmask.unmaskedvalue())+parseInt(r.step)),s.trigger("setvalue");break;case e.keyCode.DOWN:s.val(parseFloat(this.inputmask.unmaskedvalue())-parseInt(r.step)),s.trigger("setvalue")}}},currency:{prefix:"$ ",groupSeparator:",",alias:"numeric",placeholder:"0",autoGroup:!0,digits:2,digitsOptional:!1,clearMaskOnLostFocus:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",digits:0,radixPoint:""},percentage:{alias:"numeric",digits:2,digitsOptional:!0,radixPoint:".",placeholder:"0",autoGroup:!1,min:0,max:100,suffix:" %",allowMinus:!1}}),e})?i.apply(t,n):i)||(e.exports=r)},function(e,t,a){"use strict";var i=a(40);a.n(i).a},function(e,t,a){"use strict";var i=a(41);a.n(i).a},function(e,t,a){"use strict";var i=a(42);a.n(i).a},function(e,t,a){"use strict";var i=a(43);a.n(i).a},function(e,t,a){"use strict";var i=a(44);a.n(i).a},function(e,t,a){"use strict";var i=a(45);a.n(i).a},function(e,t,a){"use strict";var i=a(46);a.n(i).a},function(e,t,a){"use strict";var i=a(47);a.n(i).a},function(e,t,a){"use strict";var i=a(48);a.n(i).a},function(e,t,a){"use strict";var i=a(49);a.n(i).a},function(e,t,a){"use strict";var i=a(50);a.n(i).a},function(e,t,a){"use strict";var i=a(51);a.n(i).a},function(e,t,a){"use strict";var i=a(52);a.n(i).a},function(e,t,a){"use strict";var i=a(53);a.n(i).a},function(e,t,a){"use strict";var i=a(54);a.n(i).a},function(e,t,a){"use strict";var i=a(55);a.n(i).a},function(e,t,a){"use strict";var i=a(56);a.n(i).a},function(e,t,a){"use strict";var i=a(57);a.n(i).a},function(e,t,a){"use strict";var i=a(58);a.n(i).a},function(e,t,a){"use strict";var i=a(59);a.n(i).a},function(e,t,a){"use strict";var i=a(60);a.n(i).a},function(e,t,a){"use strict";var i=a(61);a.n(i).a},function(e,t,a){"use strict";var i=a(62);a.n(i).a},function(e,t,a){"use strict";var i=a(63);a.n(i).a},function(e,t,a){"use strict";var i=a(64);a.n(i).a},function(e,t,a){"use strict";var i=a(65);a.n(i).a},function(e,t,a){"use strict";var i=a(66);a.n(i).a},function(e,t,a){"use strict";var i=a(67);a.n(i).a},function(e,t,a){"use strict";var i=a(68);a.n(i).a},function(e,t,a){"use strict";var i=a(69);a.n(i).a},function(e,t,a){"use strict";var i=a(70);a.n(i).a},function(e,t,a){"use strict";var i=a(71);a.n(i).a},function(e,t,a){"use strict";var i=a(72);a.n(i).a},function(e,t,a){"use strict";var i=a(73);a.n(i).a},function(e,t,a){"use strict";var i=a(74);a.n(i).a},function(e,t,a){"use strict";var i=a(75);a.n(i).a},function(e,t,a){"use strict";var i=a(76);a.n(i).a},function(e,t,a){"use strict";var i=a(77);a.n(i).a},function(e,t,a){"use strict";var i=a(78);a.n(i).a},function(e,t,a){(function(e){var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(n.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(n.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))},a(188),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(this,a(9))},function(e,t,a){(function(e,t){!function(e,a){"use strict";if(!e.setImmediate){var i,n=1,r={},s=!1,o=e.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(e);l=l&&l.setTimeout?l:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick(function(){u(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,a=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=a,t}}()?function(){var t="setImmediate$"+Math.random()+"$",a=function(a){a.source===e&&"string"==typeof a.data&&0===a.data.indexOf(t)&&u(+a.data.slice(t.length))};e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),i=function(a){e.postMessage(t+a,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){u(e.data)},i=function(t){e.port2.postMessage(t)}}():o&&"onreadystatechange"in o.createElement("script")?function(){var e=o.documentElement;i=function(t){var a=o.createElement("script");a.onreadystatechange=function(){u(t),a.onreadystatechange=null,e.removeChild(a),a=null},e.appendChild(a)}}():i=function(e){setTimeout(u,0,e)},l.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),a=0;a<t.length;a++)t[a]=arguments[a+1];var s={callback:e,args:t};return r[n]=s,i(n),n++},l.clearImmediate=c}function c(e){delete r[e]}function u(e){if(s)setTimeout(u,0,e);else{var t=r[e];if(t){s=!0;try{!function(e){var t=e.callback,i=e.args;switch(i.length){case 0:t();break;case 1:t(i[0]);break;case 2:t(i[0],i[1]);break;case 3:t(i[0],i[1],i[2]);break;default:t.apply(a,i)}}(t)}finally{c(e),s=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,a(9),a(85))},function(e,t,a){var i={"./admin.js":190,"./auth.js":191,"./check-auth.js":192,"./guest.js":193};function n(e){var t=r(e);return a(t)}function r(e){if(!a.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}n.keys=function(){return Object.keys(i)},n.resolve=r,e.exports=n,n.id=189},function(e,t,a){"use strict";a.r(t);var i=a(5);t.default=(async(e,t,a)=>{i.a.getters["auth/user"].list_roles.some(e=>"admin"===e)?a():a({name:"403"})})},function(e,t,a){"use strict";a.r(t);var i=a(5);t.default=(async(e,t,a)=>{i.a.getters["auth/check"]?a():a({name:"login"})})},function(e,t,a){"use strict";a.r(t);var i=a(5);t.default=(async(e,t,a)=>{await i.a.dispatch("auth/fetchUser"),a()})},function(e,t,a){"use strict";a.r(t);var i=a(5);t.default=((e,t,a)=>{i.a.getters["auth/check"]?a({name:"trips-fuel"}):a()})},function(e,t){e.exports="/mileage/img/highway.jpg"},function(e,t,a){"use strict";a.r(t);var i={};a.r(i),a.d(i,"ListFilters",function(){return $}),a.d(i,"ListFilteredBy",function(){return B}),a.d(i,"ListTemplate",function(){return V}),a.d(i,"PromoLink",function(){return Q}),a.d(i,"RemoveIcon",function(){return gt}),a.d(i,"AddressInput",function(){return ee}),a.d(i,"Datatable",function(){return ne}),a.d(i,"EmailsForm",function(){return he}),a.d(i,"ModalTrainingRequest",function(){return ht}),a.d(i,"DragAndDropFile",function(){return wt}),a.d(i,"RateConfExtractorBatch",function(){return ut}),a.d(i,"SupportFormLink",function(){return we}),a.d(i,"ModalRouteMap",function(){return Lt}),a.d(i,"ModalMapPointPicker",function(){return Yt}),a.d(i,"AddressField",function(){return Rt});var n={};a.r(n),a.d(n,"clickOutside",function(){return Bt}),a.d(n,"mousedownOutside",function(){return Wt}),a.d(n,"mouseupOnDocumentHandler",function(){return zt}),a.d(n,"escHandler",function(){return Jt}),a.d(n,"inputMask",function(){return Zt});var r=a(8),s=a.n(r),o=a(79),l=a.n(o),c=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"app"},[t("c-toastr"),this._v(" "),t("router-view")],1)};c._withStripped=!0;
vendor: 5,731 bytes, line 82
82var u={name:"App",watch:{$route(){this.$notify.clear()}}};a(96);function d(e,t,a,i,n,r,s,o){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=a,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(l=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__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):n&&(l=o?function(){n.call(this,this.$root.$options.shadowRoot)}:n),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var p=d(u,c,[],!1,null,null,null);p.options.__file="resources/assets/App.vue";var m=p.exports,h=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("home-shell",{ref:"homeShell"},[a("div",{staticClass:"front-page__demo",attrs:{slot:"image-section"},slot:"image-section"},[a("h4",{staticClass:"front-page__demo-title"},[e._v("Try online calculator")]),e._v(" "),a("div",{staticClass:"front-page__demo-stops"},[a("div",{staticClass:"front-page__demo-stop"},[e.isMobile?e._e():a("h6",[a("c-icon",{attrs:{icon:"icon-stop-arrow"}}),e._v(" Pickup")],1),e._v(" "),a("c-input-group",[a("div",{staticClass:"front-page__city-input"},[e.isMobile?a("h6",{staticClass:"front-page__demo-stop-label"},[a("c-icon",{attrs:{icon:"icon-stop-arrow"}}),e._v(" Pickup")],1):e._e(),e._v(" "),a("address-input",{attrs:{placeholder:"City","selected-label":"city"},on:{select:function(t){e.selectedStop=e.pickup,e.setAddress(t)}},model:{value:e.pickup.city,callback:function(t){e.$set(e.pickup,"city",t)},expression:"pickup.city"}})],1)]),e._v(" "),a("div",{staticClass:"front-page__demo-stop-row"},[a("c-input-group",[a("c-select",{attrs:{options:e.usStates,placeholder:"State","dropdown-label":"value","selected-label":"id","incoming-label":"id"},model:{value:e.pickup.state,callback:function(t){e.$set(e.pickup,"state",t)},expression:"pickup.state"}})],1),e._v(" "),a("c-input-group",[a("address-input",{attrs:{"width-limited":e.isMobile,placeholder:"Zip","selected-label":"zip"},on:{select:function(t){e.selectedStop=e.pickup,e.setAddress(t)}},model:{value:e.pickup.zip,callback:function(t){e.$set(e.pickup,"zip",t)},expression:"pickup.zip"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"front-page__demo-stop"},[e.isMobile?e._e():a("h6",[a("c-icon",{staticClass:"front-page__demo-stop-delivery-icon",attrs:{icon:"icon-stop-arrow"}}),e._v("\n          Delivery\n        ")],1),e._v(" "),a("c-input-group",[a("div",{staticClass:"front-page__city-input"},[e.isMobile?a("h6",{staticClass:"front-page__demo-stop-label"},[a("c-icon",{staticClass:"front-page__demo-stop-delivery-icon",attrs:{icon:"icon-stop-arrow"}}),e._v("\n              Delivery\n            ")],1):e._e(),e._v(" "),a("address-input",{attrs:{placeholder:"City","selected-label":"city"},on:{select:function(t){e.selectedStop=e.delivery,e.setAddress(t)}},model:{value:e.delivery.city,callback:function(t){e.$set(e.delivery,"city",t)},expression:"delivery.city"}})],1)]),e._v(" "),a("div",{staticClass:"front-page__demo-stop-row"},[a("c-input-group",[a("c-select",{attrs:{options:e.usStates,placeholder:"State","dropdown-label":"value","selected-label":"id","incoming-label":"id"},model:{value:e.delivery.state,callback:function(t){e.$set(e.delivery,"state",t)},expression:"delivery.state"}})],1),e._v(" "),a("c-input-group",[a("address-input",{attrs:{"width-limited":e.isMobile,placeholder:"Zip","selected-label":"zip"},on:{select:function(t){e.selectedStop=e.delivery,e.setAddress(t)}},model:{value:e.delivery.zip,callback:function(t){e.$set(e.delivery,"zip",t)},expression:"delivery.zip"}})],1)],1)],1)]),e._v(" "),a("div",{staticClass:"front-page__demo-footer"},[a("c-button-save",{attrs:{id:"recalc-step1",spinner:e.startCalculationWaiting,title:"Calculate"},on:{click:e.startCalculation}}),e._v(" "),a("div",[a("small",[e._v("* enter trip details to start IFTA calculation")])])],1)]),e._v(" "),a("div",{attrs:{slot:"main-section"},slot:"main-section"},[a("div",{staticClass:"front-page__video"},[a("h4",[e._v("Watch How it works")]),e._v(" "),a("div",{staticClass:"front-page__video-container"},[a("iframe",{attrs:{width:"560",height:"315",src:"https://www.youtube.com/embed/LjUtSkVyAp0",frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})])]),e._v(" "),a("div",{staticClass:"front-page__widgets"},e._l(e.widgets,function(t,i){return a("div",{key:i,staticClass:"front-page__widget"},[a("h4",[e._v(e._s(t.title))]),e._v(" "),a("p",{domProps:{innerHTML:e._s(t.content)}})])}),0)]),e._v(" "),a("template",{slot:"footer-section"},[a("div",{staticClass:"front-page__rates-link"},[a("c-link",{attrs:{href:"/rates/"}},[e._v("View IFTA Rates")])],1),e._v(" "),a("div",{staticClass:"front-page__faq"},[a("h4",[e._v("Frequently asked questions")]),e._v(" "),e._l(e.faqList,function(t,i){return a("div",{key:i,staticClass:"front-page__faq-item"},[a("h6",[e._v(e._s(t.question))]),e._v(" "),a("div",{domProps:{innerHTML:e._s(t.answer)}})])})],2)]),e._v(" "),a("c-modal",{attrs:{title:e.modalTitle,"click-on-wrapper":!1,variant:"default"},model:{value:e.modalState,callback:function(t){e.modalState=t},expression:"modalState"}},[a("div",{attrs:{slot:"body"},slot:"body"},["fuel-purchased"===e.modalType?[a("c-alert-server",{attrs:{notice:e.reportServerNotice,immediate:""}}),e._v(" "),e.routeCalculationQuarter?a("c-input-group",[a("div",[a("strong",[e._v("Period: ")]),e._v(" "),a("span",[e._v(e._s(e.routeCalculationQuarter))])])]):e._e(
82),e._v(" "),e.totalDistance?a("c-input-group",[a("div",[a("strong",[e._v("Total miles: ")]),e._v(" "),a("span",[e._v(e._s(e.totalDistance))]),e._v(" "),a("c-link-icon",{attrs:{icon:"fa fa-map",text:"Map"},on:{click:e.openModalRouteMap}}),e._v("   \n          ")],1)]):e._e(),e._v(" "),a("c-table",{attrs:{fields:e.stateListFields,items:e.stateListItems||[],"show-empty":"",striped:""},scopedSlots:e._u([{key:"fuel_units",fn:function(t){return[a("c-input-form",{attrs:{small:""},model:{value:t.item.fuel_units,callback:function(a){e.$set(t.item,"fuel_units",a)},expression:"data.item.fuel_units"}})]}}],null,!1,2161885881)})]:[e.reportInfo?a("c-input-group",[a("div",[a("strong",[e._v("Period: ")]),e._v(" "),a("span",[e._v("Q"+e._s(e.reportInfo.quarter)+" "+e._s(e.reportInfo.year))])])]):e._e(),e._v(" "),e.reportTotals&&e.reportTotals.consumption?a("c-input-group",[a("div",[a("strong",[e._v("Avg. miles per gallon: ")]),e._v(" "),a("span",[e._v(e._s(e.reportTotals.consumption))])])]):e._e(),e._v(" "),a("c-table",{attrs:{fields:e.reportFields,items:e.reportItems||[],"show-empty":"",striped:""},scopedSlots:e._u([{key:"state_name",fn:function(t){return[a("div",[a("div",[e._v(e._s(t.value))]),e._v(" "),a("div",[a("small",[e._v("Rate: $"+e._s(t.item.rate))])])])]}},{key:"bottom-row",fn:function(t){var i=t.fields;return e.reportTotals?e._l(i,function(t,n){return a("td",{key:n,class:["front-page__col-total",{"front-page__col-total_amount":n===i.length-2}]},[0===n?a("span",[e._v("TOTAL:")]):e._e(),e._v(" "),1===n?a("span",[e._v(e._s(e.reportTotals.miles))]):e._e(),e._v(" "),2===n?a("span",[e._v(e._s(e.reportTotals.fuel_consumed))]):e._e(),e._v(" "),3===n?a("span",[e._v(e._s(e.reportTotals.fuel_purchased))]):e._e(),e._v(" "),4===n?a("span",[e._v(e._s(e.reportTotals.fuel_taxable))]):e._e(),e._v(" "),5===n?a("span",[e._v(e._s(e.reportTotals.tax_amount))]):e._e()])}):void 0}}],null,!0)})]],2),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},["fuel-purchased"===e.modalType?[a("c-button-save",{attrs:{id:"recalc-step2",spinner:e.runReportWaiting,title:"Get results "},on:{click:e.runReportCalculation}}),e._v(" "),a("c-button",{attrs:{variant:"secondary"},on:{click:function(t){e.modalState=!1}}},[e._v("Close")])]:[a("c-button",{attrs:{id:"recalc-step3",variant:"primary"},on:{click:e.signUp}},[e._v("Sign up to full version")]),e._v(" "),a("c-button",{attrs:{variant:"secondary"},on:{click:function(t){e.modalType="fuel-purchased"}}},[e._v("Back")])]],2)]),e._v(" "),e.modalRouteMapState?a("demo-trip-map",{attrs:{"trip-id":e.tripId},model:{value:e.modalRouteMapState,callback:function(t){e.modalRouteMapState=t},expression:"modalRouteMapState"}}):e._e()],2)};h._withStripped=!0;var f=a(3),_=a(1),v=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"home-shell"},[a("c-toastr"),e._v(" "),a("header",{staticClass:"home-shell__header"},[a("div",{staticClass:"shell__logo",on:{click:e.goHome}}),e._v(" "),a("div",[e.user?[a("c-button",{attrs:{variant:"success"},on:{click:e.openCalculator}},[a("c-icon",{attrs:{icon:"fa fa-sign-in"}}),e._v("  Open Calculator")],1)]:[a("c-button",{attrs:{variant:"success"},on:{click:e.signIn}},[a("c-icon",{attrs:{icon:"fa fa-sign-in"}}),e._v("  Sign In")],1),e._v(" "),a("c-button",{attrs:{variant:"primary"},on:{click:e.signUp}},[a("c-icon",{attrs:{icon:"fa fa-user-plus"}}),e._v("  Sign Up")],1)]],2)]),e._v(" "),a("promo-link",[e._v("🕒 IFTA Q3 2025 deadline is October 31st! Log your trips now — the rates are already available!")]),e._v(" "),a("section",{staticClass:"home-shell__image"},[e._t("image-section")],2),e._v(" "),a("main",[e._t("main-section")],2),e._v(" "),a("footer",[e._t("footer-section")],2),e._v(" "),e._t("default")],2)};v._withStripped=!0;var g={name:"HomeShell",computed:{...Object(f.c)("auth",{checkToken:"token"}),...Object(f.c)("auth",{user:"user"})},methods:{openCalculator(){window.location.href="/trips-fuel"},signIn(){window.location.href="/login"},signUp(){window.location.href="/register"},goHome(){window.location.href="/"}}},y=(a(97),d(g,v,[],!1,null,null,null));y.options.__file="resources/assets/components/HomeShell.vue";var b=y.exports,k=a(91),w=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.mutableState?a("modal-route-map",{attrs:{"trip-id":e.tripId,points:e.points,routes:e.routes},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}}
82):e._e()};w._withStripped=!0;var M=a(2),S=d({name:"DemoTripMap",components:{},model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},tripId:{type:[String,Number],required:!0}},data:()=>({points:[],routes:[]}),computed:{mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},async created(){const[e,t]=await M.i.getTripPoints(this.tripId);e?(this.points=[],this.routes=[]):(this.points=t.data.points,this.routes=t.data.routes)},methods:{}},w,[],!1,null,null,null);S.options.__file="resources/assets/components/Front/DemoTripMap.vue";var D={name:"Front",components:{HomeShell:b,demoTripMap:S.exports},data:()=>({modalRouteMapState:!1,startCalculationWaiting:!1,runReportWaiting:!1,faqList:[],widgets:[{title:"Easy to use",content:"In just a few clicks all necessary information for reports generation is at hand per all the equipment you have or just per one unit."},{title:"Time saving",content:"No more constant tracking of miles or manual calculations - you input some basic information about your trips and fuel and we do the rest."},{title:"Report generation",content:"Your quarterly tax reports are generated just in one click and can be downloaded in a necessary format at any moment."},{title:"AI data extraction",content:"Upload your Rate Confirmation PDF to instantly get your trip data"}],pickup:{city:null,state:null,zip:null},delivery:{city:null,state:null,zip:null},selectedStop:null,modalState:!1,modalType:"fuel-purchased",stateListFields:[{key:"state",label:"Jurisdiction"},{key:"distance",label:"Total miles"},{key:"fuel_units",label:"Total gallons"}],reportFields:[{key:"state_name",label:"Jurisdiction"},{key:"miles",label:"Taxable miles"},{key:"fuel_consumed",label:"Taxable gallons"},{key:"fuel_purchased",label:"Tax-paid gallons"},{key:"fuel_taxable",label:"Net taxable gallons"},{key:"tax_amount",label:"Tax or Credit Due"}],reportItems:[],reportTotals:null,reportInfo:null,viewportWidth:0}),computed:{...Object(_.b)("frontPage",{routeServerNotice:"routeServerNotice",reportServerNotice:"reportServerNotice",relatedData:"relatedData",routeCalculationData:"routeCalculationData",tripId:"routeCalculationData.id",totalDistance:"routeCalculationData.distance",stateListItems:"routeCalculationData.state_mileages",iftaReport:"iftaReport"}),routeCalculationQuarter(){return this.routeCalculationData.info&&`Q${this.routeCalculationData.info.quarter} ${this.routeCalculationData.info.year}`},routeCalculationStatus(){return this.routeCalculationData.status},totalDistance(){return this.routeCalculationData.display_distance},stateListItems(){return this.routeCalculationData.state_mileages?this.routeCalculationData.state_mileages.map(e=>({state:e.state,distance:e.distance,fuel_units:0})):[]},usStates(){return this.relatedData.us_states?this.relatedData.us_states:[]},modalTitle(){return"fuel-purchased"===this.modalType?"Add diesel purchase ":"See your IFTA tax"},isMobile(){return this.viewportWidth<768}},watch:{modalState(e){this.modalType="fuel-purchased",e||(this.reportServerNotice=null)},routeServerNotice:{immediate:!0,handler(e){e&&!this.formState&&this.$notify.push({message:e.message,type:e.type,duration:"danger"===e.type?-1:3e3})}}},created(){this.faqList=k,this.getRelatedData(),this.viewportWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},methods:{...Object(f.b)("frontPage",{startRouteCalculation:"startRouteCalculation",checkRouteCalculation:"checkRouteCalculation",getIftaReport:"getIftaReport",getRelatedData:"getRelatedData"}),async runReportCalculation(){this.runReportWaiting=!0,this.reportServerNotice=null,fbq("track","ViewContent",{value:1,content_ids:"demo-recalc-step2",content_type:"demo"});const e=this.stateListItems.map(e=>({state:e.state,fuel_units:e.fuel_units})).filter(e=>Number(e.fuel_units));await this.getIftaReport(e),this.reportServerNotice&&"danger"===this.reportServerNotice.type||(this.reportItems=this.iftaReport.report&&this.iftaReport.report.data,this.reportTotals=this.iftaReport.report&&this.iftaReport.report.totals,this.reportInfo=this.iftaReport.report&&this.iftaReport.report.info,this.modalType="report"),this.runReportWaiting=!1},async startCalculation(){this.startCalculationWaiting=!0,fbq("track","Vie
82wContent",{value:1,content_ids:"demo-recalc-step1",content_type:"demo"});const e={route:[this.pickup,this.delivery]};await this.startRouteCalculation(e),this.routeServerNotice&&"danger"===this.routeServerNotice.type?this.startCalculationWaiting=!1:this.check(),this.routeServerNotice=null},openModalRouteMap(){this.modalRouteMapState=!0},async check(){let e=1e3;const t=async()=>{if(await this.checkRouteCalculation(),e+=e,!this.routeServerNotice||"danger"!==this.routeServerNotice.type)return"ok"===this.routeCalculationStatus?(this.modalState=!0,void(this.startCalculationWaiting=!1)):e>=6e4?(this.routeServerNotice={type:"danger",message:"Something went wrong"},void(this.startCalculationWaiting=!1)):void setTimeout(t,e);this.startCalculationWaiting=!1};setTimeout(t,e)},setAddress(e){this.selectedStop&&(this.selectedStop.city=e.city,this.selectedStop.state=e.state,this.selectedStop.zip=e.zip),this.selectedStop=null},signUp(){this.$nextTick(()=>{this.$refs.homeShell&&this.$refs.homeShell.signUp()})}}},L=(a(116),d(D,h,[],!1,null,null,null));L.options.__file="resources/assets/Front.vue";var T=L.exports,x=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("home-shell",[a("div",{staticClass:"rates",attrs:{slot:"main-section"},slot:"main-section"},[a("h4",[e._v("Rates")]),e._v(" "),a("div",{staticClass:"rates__control"},e._l([e.years,e.quarters],function(t,i){return a("div",{key:i,staticClass:"rates__link-list"},e._l(t,function(t){return a("div",{key:t.id,class:["rates__link",{"rates__link--selected":t.selected}],on:{click:function(a){return e.selectedQuarter.splice(i,1,t.id)}}},[a("c-link",[e._v(e._s(t.value))])],1)}),0)}),0),e._v(" "),a("c-table",{attrs:{fields:e.rateFields,items:e.rateList||[],"show-empty":"",striped:""}})],1)])};x._withStripped=!0;var C={name:"Rates",components:{HomeShell:b},data:()=>({rateFields:[{key:"country",label:"Country"},{key:"jurisdiction",label:"State"},{key:"year",label:"Year"},{key:"quarter",label:"Quarter"},{key:"value",label:"Rate"},{key:"surcharge_value",label:"Surcharge Rate"}],selectedQuarter:null}),computed:{...Object(_.b)("demoRates",{filter:"filter",rateList:"listData",relatedData:"relatedData"}),years(){return this.relatedData.years.map(e=>({id:e.id,value:e.value,selected:!1}))},quarters(){return this.relatedData.quarters.map(e=>({id:e.id,value:e.value,selected:!1})).reverse()}},watch:{relatedData:{immediate:!0,handler(){this.quarters.length&&this.years.length&&!this.selectedQuarter&&(this.selectedQuarter=[this.years[0].id,this.quarters[1].id])}},selectedQuarter:{deep:!0,immediate:!0,handler(e){e&&(this.getList(e),this.highlightSelectedQuarter(),window.history.pushState({},null,`/rates/${e[0]}/${e[1]}`))}}},async created(){if(window.location.pathname){const e=window.location.pathname.split("/");4===e.length&&(this.selectedQuarter=[e[2],e[3]])}await this.getRelatedData(),this.highlightSelectedQuarter()},methods:{...Object(f.b)("demoRates",["getRelatedData","getList"]),highlightSelectedQuarter(){this.years.forEach(e=>{e.selected=String(e.id)===String(this.selectedQuarter[0])}),this.quarters.forEach(e=>{e.selected=String(e.id)===String(this.selectedQuarter[1])})}}},Y=(a(117),d(C,x,[],!1,null,null,null));Y.options.__file="resources/assets/Rates.vue";var A=Y.exports,E=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("home-shell",{ref:"homeShell"},[a("c-toastr"),e._v(" "),a("div",{staticClass:"features-page",attrs:{slot:"main-section"},slot:"main-section"},[a("h4",[e._v("ezLoads.TMS features")]),e._v(" "),a("div",{staticClass:"features-page__list"},e._l(e.features,function(t,i){return a("figure",{key:i,staticClass:"features-page__item"},[a("div",{staticClass:"features-page__img",on:{click:function(a){return e.openVideoPlayModal(t)}}},[a("img",{attrs:{src:"https://img.youtube.com/vi/"+t.youtube_video_id+"/0.jpg",alt:t.title}}),e._v(" "),a("c-icon",{attrs:{icon:"fa fa-youtube-play"}})],1),e._v(" "),a("figcaption",[a("strong",[e._v(e._s(t.title))])]),e._v(" "),a("span",[e._v(e._s(t.short_description))])])}),0)]),e._v(" "),a("c-modal",{staticClass:"features-page__video-play-modal",attrs:{title:e.videoPlayModalTitle},model:{value:e.videoPlayModalState,callback:function(t){e.videoPlayModalState=t},expression:"videoPlayModalState"}},[a("template",{slot:"body"},[a("div",[a("iframe",{attrs:{src:"https://www.youtube.com/embed/"+e.videoPlayModalVideoId+"?autoplay=1",width:"100%",height:"100%",frameborder:"0",allow:"autoplay",allowfullscreen:""}})]),e._v(" "),a("div",{ref:"videoPlayModalDescription"})]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-save",{attrs:{title:"Schedule a complimentary 30-minutes one-on-one training session"},on:{click:e.openRequestTrainingModal}}),e._v(" "),a("c-button-close",{on:{click:e.closeVideoPlayModal}})],1)],2),e._v(" "),e.requestTrainingModalOpen?a("modal-training-request",{model:{value:e.requestTrainingModalOpen,callback:function(t){e.requestTrainingModalOpen=t},expression:"requestTrainingModalOpen"}}
82):e._e()],1)};E._withStripped=!0;var O={name:"FeaturesPage",components:{HomeShell:b},data:()=>({videoPlayModalState:!1,videoPlayModalTitle:null,videoPlayModalVideoId:null,requestTrainingModalOpen:!1}),computed:{...Object(_.b)("features",{serverNotice:"serverNotice",featureList:"featureList"}),features(){return this.featureList||[]}},watch:{serverNotice:{immediate:!1,handler(e){e&&this.$notify.push({message:e.message,type:e.type,duration:"danger"===e.type?-1:3e3})}}},created(){this.getFeatures()},methods:{...Object(f.b)("features",["getFeatures","markViewId"]),openRequestTrainingModal(){this.requestTrainingModalOpen=!0},openVideoPlayModal(e){this.markViewId({viewId:e.youtube_video_id}),this.videoPlayModalTitle=e.title,this.videoPlayModalVideoId=e.youtube_video_id,this.modifyHtmlString(e.description,"videoPlayModalDescription"),this.videoPlayModalState=!0},closeVideoPlayModal(){this.videoPlayModalTitle=null,this.videoPlayModalVideoId=null,this.videoPlayModalState=!1},async modifyHtmlString(e,t,a){const i=document.createElement("div");i.innerHTML=e;const n=i.querySelectorAll("button"),r=i.querySelectorAll("a");n.forEach(e=>{e.classList.add("c-button"),e.classList.add("c-button--primary"),e.classList.add("c-button--normal"),e.dataset.action&&(this.setListener(e,e.dataset.action,a),delete e.dataset.action)}),r.forEach(e=>{e.classList.add("c-link"),e.dataset.action&&(this.setListener(e,e.dataset.action,a),delete e.dataset.action)}),await this.$nextTick(),this.$refs[t]&&this.$refs[t].appendChild(i)},setListener(e,t,a){const i=t.split(":");switch(i[0]){case"@":e.addEventListener("click",()=>{a[i[1]]&&this[a[i[1]]]()});break;case"#":e.addEventListener("click",e=>{e.preventDefault(),this.$router.push({path:i[1]})})}}}},I=(a(118),d(O,E,[],!1,null,null,null));I.options.__file="resources/assets/FeaturesPage.vue";var F=I.exports,P=function(){var e=this.$createElement,t=this._self._c||e;return t("transition",{attrs:{name:"list-filters-",appear:""}},[t("div",{ref:"listFilters",staticClass:"list-filters"},[t("div",[this._t("body")],2)])])};P._withStripped=!0;var j={name:"ListFilters",props:{height:{type:[Number,String],required:!0}},created(){this.$nextTick(()=>{this.$refs.listFilters.style.minHeight=`${this.height}px`,this.$refs.listFilters.style.maxHeight=`${this.height}px`})}},H=(a(119),d(j,P,[],!1,null,null,null));H.options.__file="resources/assets/components/shared/templates/ListFilters.vue";var $=H.exports,N=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.badges.length?a("div",{staticClass:"list-filtered-by__wrapper"},[a("div",{staticClass:"list-filtered-by"},[a("span",[e._v("Filtered by: ")]),e._v(" "),e._l(e.badges,function(t){return a("div",{key:t.id,staticClass:"list-filtered-by__badge",on:{click:function(a){return e.removeFilter(t)}}},[e._v(e._s(t.value))])}),e._v(" "),a("c-icon",{staticClass:"list-filtered-by__reset-icon",attrs:{icon:"icon-table-delete",title:"reset filters"},on:{click:e.resetFilters}})],2)]):e._e()};N._withStripped=!0;var q={name:"ListFilteredBy",props:{badges:{type:Array,required:!0}},methods:{removeFilter(e){this.$emit("remove",e)},resetFilters(){this.$emit("reset")}}},R=(a(120),d(q,N,[],!1,null,null,null));R.options.__file="resources/assets/components/shared/templates/ListFilteredBy.vue";var B=R.exports,W=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"list-template"},[a("c-container-header",{attrs:{title:e.datatableHeader}},[a("div",{staticClass:"list-template__header"},[e._t("header-area"),e._v(" "),e._t("list-search",[a("div",{staticClass:"list-template__search"},[a("c-input-form",{attrs:{placeholder:"Search",type:"search"},model:{value:e.datatableSearchString,callback:function(t){e.datatableSearchString=t},expression:"datatableSearchString"}},[a("c-icon",{attrs:{icon:"icon-search"}})],1),e._v(" "),e.isButtonFilter?a("c-button",{class:["list-template__button-filter",{"list-template__button-filter--active":e.buttonFilterState}],attrs:{variant:"base",title:"Extended Filter"},on:{click:function(t){return e.emitEvent("toggle-filter",null)}}},[a("c-icon",{attrs:{icon:"icon-filters",large:""}}
82)],1):e._e()],1)]),e._v(" "),e._t("new-buttons",[e.isButtonNew?a("c-button",{attrs:{variant:"primary"},on:{click:function(t){return e.emitEvent("open-form",null)}}},[e._t("list-button",[a("c-icon",{attrs:{icon:"fa fa-plus"}}),e._v("  New\n          ")])],2):e._e()])],2)]),e._v(" "),e._t("top-area"),e._v(" "),e._t("main-area",[a("datatable",{ref:"datatable",attrs:{name:e.datatableName,"local-storage-name":e.localStorageName,fields:e.fields,"table-sorting":e.tableSorting,search:e.datatableSearchString,filter:e.filter,striped:e.striped},on:{"open-trip":function(t){return e.emitEvent("open-form",null,"trip-extended")},"open-fuel":function(t){return e.emitEvent("open-form",null,"fuel")}},scopedSlots:e._u([e._l(e.fields,function(t){return{key:t.key,fn:function(i){return[e._t(t.key,[a("span",{key:t.key,domProps:{innerHTML:e._s(i.value)}})],null,i)]}}}),{key:"actions",fn:function(t){return[e._t("actions",[t.item.persistent?e._e():a("div",{staticClass:"list-template__actions"},[a("c-button",{attrs:{size:"small",variant:"primary"},on:{click:function(a){return e.emitEvent("open-form",t.item.id)}}},[a("c-icon",{attrs:{icon:"fa fa-edit"}})],1),e._v(" "),a("c-button",{attrs:{size:"small",variant:"danger"},on:{click:function(a){return e.emitEvent("confirm-deletion",t.item.id)}}},[a("c-icon",{attrs:{icon:"fa fa-trash-o"}})],1)],1)],null,t)]}}],null,!0)})]),e._v(" "),e._t("bottom-area"),e._v(" "),a("c-modal-confirm",{attrs:{state:e.modalWarningState},on:{resolve:function(t){return e.emitEvent("remove-item",e.itemId)},reject:function(t){return e.emitEvent("confirm-reject",e.itemId)}}}),e._v(" "),e._t("default")],2)};W._withStripped=!0;var z={name:"ListTemplate",props:{datatableHeader:{type:String,default:"List"},datatableName:{type:String,required:!0},localStorageName:{type:String,default:null},fields:{type:Array,required:!0},filter:{type:Object,default:null},tableSorting:{type:Array,default:null},striped:{type:Boolean,default:!0},isButtonNew:{type:Boolean,default:!0},isButtonFilter:{type:Boolean,default:!1},buttonFilterState:{type:Boolean,default:!1}},data:()=>({datatableSearchString:"",modalWarningState:!1,itemId:null}),methods:{emitEvent(e,t,a){switch(e){case"open-form":this.$emit("open-form",t,a);break;case"remove-item":this.$emit("remove-item",t),this.modalWarningState=!1;break;case"confirm-deletion":this.itemId=t,this.modalWarningState=!0;break;case"confirm-reject":this.itemId=null,this.modalWarningState=!1;break;case"toggle-filter":this.$emit("toggle-filter")}},getDataList(){return this.$refs.datatable.dataList},updateList(){this.$refs.datatable&&"function"==typeof this.$refs.datatable.updateList&&this.$refs.datatable.updateList()}}},U=(a(121),d(z,W,[],!1,null,null,null));U.options.__file="resources/assets/components/shared/templates/ListTemplate.vue";var V=U.exports,G=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"promo-link"},[this._t("default",[this._v("Hey this is promo link")])],2)};G._withStripped=!0;var J={name:"PromoLink"},K=(a(122),d(J,G,[],!1,null,null,null));K.options.__file="resources/assets/components/shared/PromoLink.vue";var Q=K.exports,Z=function(){var e=this,t=e.$createElement;return(e._self._c||t)("c-select",{attrs:{options:e.addressList,"on-search":e.search,"help-mode":e.helpMode,"selected-label":e.selectedLabel,"incoming-label":e.selectedLabel,small:e.small,"can-be-removed":e.canBeRemoved,disabled:e.disabled,placeholder:e.placeholder,"width-limited":e.widthLimited,"dropdown-label":"value"},on:{select:e.handleSelectedValue},model:{value:e.mutableValue,callback:function(t){e.mutableValue=t},expression:"mutableValue"}})};Z._withStripped=!0;var X=d({name:"AddressInput",model:{prop:"value",event:"change"},props:{value:{type:String,default:null},selectedLabel:{type:String,default:"zip"},small:{type:Boolean,default:!1},helpMode:{type:Boolean,default:!0},addressMode:{type:String,default:null},canBeRemoved:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:null},widthLimited:{type:Boolean,default:!1}},computed:{...Object(f.c)("auth",{checkToken:"token"}),...Object(_.b)("address",{authServerNotice:"serverNotice",authAddressList:"addressList"}),...Object(_.b)("frontPage",{guestServerNotice:"addressServerNotice",guestAddressList:"addressList"}),serverNotice(){return this.checkToken?this.authServerNotice:this.guestServerNotice},addressList:{get(){return this.checkToken?this.authAddressList:this.guestAddressList},set(e){this.checkToken?this.authAddressList=e:this.guestAddressList=e}},mutableValue:{get(){return this.value},set(e){this.$emit("change",e)}}},watch:{serverNotice:{immediate:!0,handler(e){e&&!this.formState&&(this.$notify.push({message:e.message,type:e.type,duration:"danger"===e.type?-1:3e3}),this.serverNotice=null)}}},methods:{...Object(f.b)("address",{authSearchAddress:"searchAddress",authSearchStreet:"searchStreet",authSearchZip:"searchZip"}),...Object(f.b)("frontPage",{guestSearchAddress:"searchAddress",guestSearchStreet:"searchStreet",guestSearchZip:"searchZip"}),searchAddress(...e){return this.checkToken?this.authSearchAddress(...e):this.guestSearchAddress(...e)},searchStreet(...e){return this.checkToken?this.authSearchStreet(...e):this.guestSearchStreet(...e)},searchZip(...e){return this.checkToken?this.authSearchZip(...e):this.guestSearchZip(...e)},async search(e){if(e)switch(this.selectedLabel){case"city":await this.searchAddress({search:e,mode:this.addressMode});break;case"street":await this.searchStreet(e);break;case"zip":await this.searchZip(e)}else this.addressList=[]},handleSelectedValue(e){this.addressList=[],this.$emit("select",e)}}},Z,[],!1,null,null,null);X.options.__file="resources/assets/components/shared/AddressInput.vue";var ee=X.exports,te=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"datatable"},[a("c-table",{attrs:{"sort-by":e.sortBy,"sort-desc":e.sortDesc,fields:e.fields,items:e.dataList,striped:e.striped,hover:e.hover,bordered:!1,"borderless-column":!1,"show-empty":"","no-local-sorting":""},on:{"update:sortBy":function(t){e.sortBy=t},"update:sort-by":function(t){e.sortBy=t},"update:sortDesc":function(t){e.sortDesc=t},"update:sort-desc":function(t){e.sortDesc=t},"sort-changed":e.sortTable},scopedSlots:e._u([{key:"customDrawing",fn:function(t){return e.customDrawing?[e._t("customDrawing",null,null,t)]:void 0}},e._l(e.fields,function(t){return{key:t.key,fn:function(i){return[e._t(t.key,[a("span",{key:t.key,domProps:{innerHTML:e._s(i.value)}})],null,i)]}}})],null,!0)},[e._l(e.fields,function(t){return a("template",{slot:"header_"+t.key},[e._t("header_"+t.key,[a("div",{key:t.key,staticClass:"datatable__table-header"},[a("div",{staticClass:"datatable__table-header-label"},[a("span",{domProps:{innerHTML:e._s(t.label)}})]),e._v(" "),a("div",{staticClass:"datatable__table-sort"},[t.sortable?a("c-icon",{staticClass:"datatable__table-sort-asc",attrs:{icon:"icon-table-filters",large:""}}
82):e._e(),e._v(" "),t.sortable?a("c-icon",{staticClass:"datatable__table-sort-desc",attrs:{icon:"icon-table-filters"}}):e._e()],1)])])],2)}),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"empty"},[e.matchString?a("span",[e._v("There are no records matching your request")]):"trips"===e.name?a("span",{staticClass:"datatable__empty-trips"},[e._v("\n        No miles or fuel in the selected quarter yet. Add your first\n        "),a("c-link",{on:{click:function(t){return t.preventDefault(),e.$emit("open-trip")}}},[e._v("trip")]),e._v("\n        or\n        "),a("c-link",{on:{click:function(t){return t.preventDefault(),e.$emit("open-fuel")}}},[e._v("fuel purchase")]),e._v(".\n      ")],1):a("span",[e._v("There are no records to show")])]),e._v(" "),a("caption",{staticClass:"datatable__caption",attrs:{slot:"caption"},slot:"caption"},[a("div",{staticClass:"datatable__footer"},[a("div",{staticClass:"datatable__pagination"},[a("c-pagination",{attrs:{"total-rows":e.totalRows,"per-page":e.numberPerPage,limit:8},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}}),e._v(" "),a("div",[a("span",[e._v("\n              Showing "+e._s(e.infoStart)+" to "+e._s(e.infoLength)+" of "+e._s(e.infoFilteredRows)+" entries\n            ")]),e._v(" "),e.matchString?a("span",[e._v("(filtered from "+e._s(e.infoTotalRows)+" total entries)")]):e._e()])],1),e._v(" "),a("div",[e._v("\n          Show records\n          "),e._l(e.numberPerPageOptions,function(t){return[t.value!==e.numberPerPage?a("div",{key:t.value,staticClass:"datatable__page-count",on:{click:function(a){e.numberPerPage=t.value}}},[e._v(e._s(t.value))]):a("div",{key:t.value,staticClass:"datatable__page-count datatable__page-count--selected"},[e._v(e._s(t.value))]),e._v(" \n          ")]}),e._v("\n          on page\n        ")],2)])])],2)],1)};te._withStripped=!0;var ae={name:"Datatable",props:{name:{type:String,required:!0},fields:{type:Array,required:!0},localStorageName:{type:String,default:null},search:{type:String,default:null},filter:{type:Object,default:null},tableSorting:{type:Array,default:null},striped:{type:Boolean,default:!1},hover:{type:Boolean,default:!1},customDrawing:{type:Boolean,default:!1}},data:()=>({sortBy:null,sortDesc:!0,debouncingUpdateList:null}),computed:{...Object(_.b)("datatable",["dataList","columns","totalRows","filteredRows","startPage","numberPerPage","numberPerPageOptions","matchString","filterOptions","orderColumn","orderDir"]),currentPage:{get(){return Math.ceil((Number(this.startPage)+1)/this.numberPerPage)},set(e){this.startPage=String(this.numberPerPage*e-this.numberPerPage),this.updateList()}},infoStart(){return this.dataList.length?Number(this.startPage)+1:0},infoFilteredRows(){return this.filteredRows},infoLength(){const e=Number(this.startPage)+Number(this.numberPerPage);return this.infoFilteredRows>e?e:this.infoFilteredRows},infoTotalRows(){return this.totalRows}},watch:{numberPerPage(){this.setLocalStorageData(this.sortBy,this.sortDesc,this.numberPerPage),this.updateList()},search(e){this.matchString=e,this.debouncingUpdateList()},filter:{deep:!0,handler(e){e&&(this.filterOptions=e,this.debouncingUpdateList&&this.debouncingUpdateList())}}},created(){this.initDatatable(),this.getLocalStorageData()&&this.tableSorting&&([this.sortBy,this.sortDesc]=this.tableSorting),this.columns=this.fields.filter(e=>!e.custom).map(e=>({data:e.key,searchable:void 0===e.searchable||e.searchable})),this.fields.forEach(e=>{e.customSortable=!0}),this.setSortingOrder(this.columns,this.sortBy,this.sortDesc),this.filter&&(this.filterOptions=this.filter),this.debouncingUpdateList=this.debounce(this.updateList,300),this.updateList()},methods:{...Object(f.b)("datatable",{getDataList:"getDataList",initDatatable:"initDatatable"}),setSortingOrder(e,t,a){const i=e.findIndex(e=>e.data===t),n=a?"desc":"asc";[this.orderColumn,this.orderDir]=~i?[i,n]:[null,n]},sortTable(e){this.setSortingOrder(this.columns,e.sortBy,e.sortDesc),this.setLocalStorageData(e.sortBy,e.sortDesc,this.numberPerPage),this.updateList()},getLocalStorageData(){if(this.localStorageName){const e=JSON.parse(localStorage.getItem(this.localStorageName));
82if(e)return[this.sortBy,this.sortDesc]=e.sorting||[],this.numberPerPage=e.length,!1}return!0},setLocalStorageData(e,t,a){if(this.localStorageName){const i={sorting:[e,t],length:a};localStorage.setItem(this.localStorageName,JSON.stringify(i))}},updateList(){this.getDataList(this.name)},debounce(e,t){let a=null;return(...i)=>{a&&clearTimeout(a),a=setTimeout(()=>{e.apply(this,i),a=null},t)}}}},ie=(a(123),d(ae,te,[],!1,null,null,null));ie.options.__file="resources/assets/components/shared/Datatable.vue";var ne=ie.exports,re=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal-sliding",{attrs:{title:e.title,spinner:e.spinner},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),e.itemId?a("emails-form-view",{attrs:{"item-id":e.itemId}}):a("emails-form-new",{attrs:{"email-data":e.emailData}})],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[e.itemId?e._e():a("c-button-save",{attrs:{spinner:e.waiting,title:"Send",icon:"fa fa-paper-plane-o"},on:{click:e.save}}),e._v(" "),a("c-button-close",{on:{click:e.close}})],1)])};re._withStripped=!0;var se=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"emails-form-new"},[a("div",{staticClass:"emails-form-new__top"},[a("div",[a("c-input-group",[a("label",{attrs:{for:"email-from"}},[e._v("From")]),e._v(" "),a("c-input-email",{attrs:{id:"email-from"},model:{value:e.emailFrom,callback:function(t){e.emailFrom=t},expression:"emailFrom"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"email-to"}},[e._v("To")]),e._v(" "),a("c-input-email",{attrs:{id:"email-to"},model:{value:e.emailTo,callback:function(t){e.emailTo=t},expression:"emailTo"}}),e._v(" "),a("div",{staticClass:"emails-form-new__cc-toggler"},[a("c-link-anchor",{on:{click:e.toggleCc}},[e._v("\n            "+e._s(e.ccRecipient)+"\n          ")]),e._v("   \n          "),a("c-link-anchor",{on:{click:e.toggleBcc}},[e._v("\n            "+e._s(e.bccRecipient)+"\n          ")])],1)],1),e._v(" "),e.ccInputShow?a("c-input-group",[a("label",{attrs:{for:"email-cc"}},[e._v("CC")]),e._v(" "),a("c-input-email",{attrs:{id:"email-cc"},model:{value:e.emailCc,callback:function(t){e.emailCc=t},expression:"emailCc"}})],1):e._e(),e._v(" "),e.bccInputShow?a("c-input-group",[a("label",{attrs:{for:"email-bcc"}},[e._v("BCC")]),e._v(" "),a("c-input-email",{attrs:{id:"email-bcc"},model:{value:e.emailBcc,callback:function(t){e.emailBcc=t},expression:"emailBcc"}})],1):e._e(),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"subject"}},[e._v("Subject")]),e._v(" "),a("c-input-form",{attrs:{id:"subject"},model:{value:e.subject,callback:function(t){e.subject=t},expression:"subject"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("Body")]),e._v(" "),a("c-text-editor",{model:{value:e.templateBody,callback:function(t){e.templateBody=t},expression:"templateBody"}})],1)],1),e._v(" "),a("div",{ref:"preview",domProps:{innerHTML:e._s(e.templateBody)}})]),e._v(" "),a("div",[a("span",[e._v("Attachments")]),e._v(" "),a("c-button-file",{attrs:{subscription:!1,type:"icon"},model:{value:e.file,callback:function(t){e.file=t},expression:"file"}},[a("c-icon",{staticClass:"emails-form-new__attachment-icon",attrs:{icon:"fa fa-paperclip",large:""}})],1),e._v(" "),a("br"),a("br"),e._v(" "),a("div",{staticClass:"emails-form-new__attachments"},e._l(e.attachments,function(t){return a("div",{key:t.alias,staticClass:"emails-form-new__file"},[a("c-link",{attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.file_name))]),e._v("\n        ("+e._s(e.getFileSize(t.file_size))+"KB)\n        "),a("span",{staticClass:"emails-form-new__remove-icon",on:{click:function(a){return e.deleteFile(t.alias)}}},[e._v("✕")])],1)}),0)],1)])};se._withStripped=!0;var oe={name:"EmailsFormNew",props:{emailData:{type:Object,default:null}},data:()=>({file:null,ccInputShow:!1,bccInputShow:!1}),computed:{...Object(_.b)("emails/form",{emailFrom:"formData.from",emailTo:"formData.to",emailCc:"formData.cc",emailBcc:"formData.bcc",subject:"formData.subject",emailBody:"formData.body",templateBody:"formData.template_body",attachments:"formData.attachments"}),ccRecipient(){return this.ccInputShow?"hide CC recipient":"add CC recipient"},bccRecipient(){return this.bccInputShow?"hide BCC recipient":"add BCC recipient"}},watch:{file(e){e&&this.attachFile()},templateBody(){this.$nextTick(()=>{this.emailBody=this.$refs.preview.innerHTML})},ccInputShow(e){e||(this.emailCc=null)},bccInputShow(e){e||(this.emailBcc=null)}},created(){this.setEmailData(this.emailData)},methods:{...Object(f.b)("emails/form",{setEmailData:"setEmailData",uploadFile:"uploadFile"}),getFileSize:e=>Math.round(e/1024),attachFile(){if(this.file){const e=new FormData;e.append("file",this.file),this.uploadFile(e),this.file=null}},deleteFile(e){this.attachments=this.attachments.filter(t=>t.alias!==e)},toggleCc(){this.ccInputShow=!this.ccInputShow},toggleBcc(){this.bccInputShow=!this.bccInputShow}}},le=(a(124),d(oe,se,[],!1,null,null,null));le.options.__file="resources/assets/components/shared/EmailsForm/EmailsFormNew.vue";var ce=le.exports,ue=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"emails-form-view"},[a("div",[e._m(0),e._v(" "),a("span",[e._v(e._s(e.emailFrom))])]),e._v(" "),a("div",[e._m(1),e._v(" "),a("span",[e._v(e._s(e.emailTo))])]),e._v(" "),e.emailCc?a("div",[e._m(2),e._v(" "),a("span",[e._v(e._s(e.emailCc))])]):e._e(
82),e._v(" "),e.emailBcc?a("div",[e._m(3),e._v(" "),a("span",[e._v(e._s(e.emailBcc))])]):e._e(),e._v(" "),a("hr"),e._v(" "),a("div",[e._m(4),e._v(" "),a("span",[e._v(e._s(e.subject))])]),e._v(" "),a("hr"),e._v(" "),a("div",{domProps:{innerHTML:e._s(e.emailBody)}}),e._v(" "),a("hr"),e._v(" "),a("div",{staticClass:"emails-form-view__attachments"},e._l(e.attachments,function(t){return a("div",{key:t.alias,staticClass:"emails-form-view__file"},[a("c-link",{attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.file_name))]),e._v("\n      ("+e._s(e.getFileSize(t.file_size))+"KB)\n    ")],1)}),0)])};ue._withStripped=!0;var de={name:"EmailsFormView",props:{itemId:{type:[Number,String],default:null}},computed:{...Object(_.b)("emails/form",{url:"url",emailFrom:"formData.from",emailTo:"formData.to",emailCc:"formData.cc",emailBcc:"formData.bcc",subject:"formData.subject",emailBody:"formData.body",attachments:"formData.attachments"})},created(){this.itemId&&this.getFormData([this.itemId])},methods:{...Object(f.b)("emails/form",{getFormData:"getItem"}),getFileLink(e){return`${this.url}/attachments/stored/${e}`},getFileSize:e=>Math.round(e/1024)}},pe=(a(125),d(de,ue,[function(){var e=this.$createElement,t=this._self._c||e;return t("span",[t("strong",[this._v("From:")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("span",[t("strong",[this._v("To:")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("span",[t("strong",[this._v("CC:")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("span",[t("strong",[this._v("BCC:")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("span",[t("strong",[this._v("Subject:")])])}],!1,null,null,null));pe.options.__file="resources/assets/components/shared/EmailsForm/EmailsFormView.vue";var me=d({name:"EmailsForm",components:{EmailsFormNew:ce,EmailsFormView:pe.exports},model:{prop:"state",event:"close"},props:{state:{type:Boolean,default:!1},spinner:{type:Boolean,default:!1},itemId:{type:[String,Number],default:null},emailData:{type:Object,default:null}},data:()=>({waiting:!1}),computed:{...Object(_.b)("emails/form",{serverNotice:"serverNotice"}),title(){return this.itemId?"View email":"Send email"},mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},watch:{serverNotice(e){"success"===e.type&&this.close()}},beforeDestroy(){this.clearFormData()},methods:{...Object(f.b)("emails/form",{sendEmail:"sendEmail",clearFormData:"clearFormData"}),async save(){this.waiting=!0,await this.sendEmail(),this.waiting=!1},close(){this.mutableState=!1}}},re,[],!1,null,null,null);me.options.__file="resources/assets/components/shared/EmailsForm/EmailsForm.vue";var he=me.exports,fe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("c-link",{on:{click:function(t){return t.stopPropagation(),e.openForm(t)}}},[e._t("default",[e._v(e._s(e.text))])],2),e._v(" "),e.formState?a("support-form",{model:{value:e.formState,callback:function(t){e.formState=t},expression:"formState"}}):e._e()],1)};fe._withStripped=!0;var _e=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{staticClass:"modal-training-request",attrs:{title:"Request to Double Your Free Plan Limits",size:"large"},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[e.isSuccessfullySubmitted?a("template",{slot:"body"},[a("div",[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("p",[a("b",[e._v("Thank you! Your request has been received.")])]),e._v(" "),a("p",[e._v("We will review it within one business day and respond to your email.")])],1)]):a("template",{slot:"body"},[a("div",[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("div",{staticClass:"modal-training-request__description"},[a("p",[a("b",[e._v("You are currently on a free plan, which includes a limited number of trips per month. ")])]),e._v(" "),a("p",[e._v("\n          There isn’t a limit on the number of drivers or equipment you can add. However, there are limits on the number of trips you can create within a rolling 30-day period:\n          "),a("br"),e._v(" "),a("ul",[a("li",[a("b",[e._v("Free Plan:")]),e._v(" Up to 10 trips, with a maximum of 5 stops per trip\n            ")]),e._v(" "),a("li",[a("b",[e._v("Basic Plan:")]),e._v(" Up to 30 trips, with a maximum of 30 stops per trip\n            ")]),e._v(" "),a("li",[a("b",[e._v("Standard Plan:")]),e._v(" Up to 100 trips, with up to 60 stops per trip\n            ")]),e._v(" "),a("li",[a("b",[e._v("Advanced Plan:")]),e._v(" Up to 500 trips, with up to 100 stops per trip (can be increased)\n            ")])])]),e._v(" "),a("p",[e._v("\n          To better support your needs, you can request an increase in your free plan limits by filling out this quick survey.\n        ")])]),e._v(" "),a("div",{staticClass:"modal-training-request__form"},[a("c-input-group",[a("b",[e._v("What best describes your role?")]),e._v(" "),e._l(e.userRoles,function(t){return a("c-input-radio",{key:t.id,attrs:{value:t.id,id:"userRoles-"+t.id,label:t.name,name:"userRoles"},model:{value:e.userRoleId,callback:function(t){e.userRoleId=t},expression:"userRoleId"}})})],2),e._v(" "),a("c-input-group",[a("b",[e._v("How big is your fleet? (Number of units)")]),e._v(" "),a("c-input-form",{attrs:{id:"fleet-size"},model:{value:e.fleetSize,callback:function(t){e.fleetSize=t},expression:"fleetSize"}})],1),e._v(" "),a("c-input-group",[a("b",[e._v("What features would you like to see in the app?")]),e._v(" "),e._l(e.expectedFeatures,function(t){return a("c-input-c
82heckbox",{key:t.id,attrs:{value:t.id,id:"expectedFeatures-"+t.id,label:t.name,name:"expectedFeatures"},model:{value:e.expectedFeatureIds,callback:function(t){e.expectedFeatureIds=t},expression:"expectedFeatureIds"}})})],2),e._v(" "),a("c-input-group",[a("b",[e._v("Additional comments")]),e._v(" "),a("c-textarea",{attrs:{id:"training-questions",rows:"2"},model:{value:e.comment,callback:function(t){e.comment=t},expression:"comment"}})],1)],1)],1)]),e._v(" "),e.isSuccessfullySubmitted?e._e():a("div",{staticClass:"modal-training-request__footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button-save",{attrs:{spinner:e.waiting,title:"Submit Request"},on:{click:e.submitForm}}),e._v(" "),a("c-link",{staticClass:"modal-training-request__close-link",attrs:{disabled:e.waiting},on:{click:e.close}},[e._v("No, thank you, maybe next time")])],1)],2)};_e._withStripped=!0;var ve=a(81),ge=a.n(ve);var ye={name:"UpgradeLimitsRequestForm",model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0}},data:()=>({userRoles:[{id:1,name:"Carrier company owner"},{id:2,name:"Owner operator"},{id:3,name:"Independent safety specialist or agency"},{id:4,name:"In-house safety manager"},{id:100,name:"Other (please describe in comments)"}],expectedFeatures:[{id:1,name:"Import trips from Excel/Google Sheets"},{id:2,name:"GPS/ELD provider integration (e.g. GoMotive, Samsara)"},{id:3,name:"Driver's mobile app for GPS tracking"},{id:4,name:"Import data from fuel provider statements"},{id:5,name:"Display trips on a map"},{id:100,name:"Other (please describe in comments)"}],isSuccessfullySubmitted:!1,waiting:!1,userRoleId:null,expectedFeatureIds:[],fleetSize:null,comment:null,photo:ge.a}),computed:{...Object(_.b)("support",{serverNotice:"serverNotice"}),mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},watch:{serverNotice(e){e&&"success"===e.type&&(this.isSuccessfullySubmitted=!0,this.userRoleId=null,this.expectedFeatureIds=[],this.fleetSize=null,this.comment=null)}},methods:{...Object(f.b)("support",["requestLimitsUpgrade"]),async submitForm(){this.waiting=!0,await this.requestLimitsUpgrade({userRoleId:this.userRoleId,expectedFeatureIds:this.expectedFeatureIds,fleetSize:this.fleetSize,comment:this.comment}),this.waiting=!1},close(){this.mutableState=!1}}},be=(a(126),d(ye,_e,[],!1,null,null,null));be.options.__file="resources/assets/components/shared/Support/UpgradeLimitsRequestForm.vue";var ke=d({name:"SupportFormLink",components:{SupportForm:be.exports},props:{text:{type:[String],required:!1}},data:()=>({formState:!1}),methods:{openForm(){this.formState=!0}}},fe,[],!1,null,null,null);ke.options.__file="resources/assets/components/shared/Support/SupportFormLink.vue";var we=ke.exports,Me=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal-sliding",{attrs:{title:e.title},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("div",{staticClass:"data-extractor-form"},[e.itemId?e._e():a("rate-conf-extractor-form",{attrs:{multiple:!0,"drop-zone-second-line":"PDF only. Max 2 files."},on:{change:e.setExtractedData}})],1),e._v(" "),e.extractedData?a("c-table",{staticClass:"trips-form__state-mileages",attrs:{fields:e.tableFields,items:e.tableValues||[],"show-empty":"",striped:""},scopedSlots:e._u([{key:"actions",fn:function(t){return[t.item.trip_id?a("c-link",{on:{click:function(a){return e.openTripForm(t.item.trip_id)}}},[a("c-icon",{attrs:{icon:"fa fa fa-external-link"}}),e._v(" show trip")],1):a("c-link",{on:{click:function(a){return e.openTripForm(null,t.item.extracted_data)}}},[a("c-icon",{attrs:{icon:"fa fa-plus"}}),e._v(" create trip")],1)]}}],null,!1,1724061242)}):e._e()],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-close",{on:{click:e.close}})],1),e._v(" "),e.tripFormState?a("trips-form",{attrs:{"item-id":e.tripFormId,"item-init-data":e.tripFormData},on:{close:e.updateBatch},model:{value:e.tripFormState,callback:function(t){e.tripFormState=t},expression:"tripFormState"}}
82):e._e()],1)};Me._withStripped=!0;var Se=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.serviceActivated?e._e():a("div",{staticClass:"welcome-zone"},[e._m(0),e._v(" "),a("div",[e._v("Upload your Rate Confirmation PDF to instantly get your trip data.")]),e._v(" "),a("div",[a("c-button",{staticClass:"c-button",attrs:{variant:"success"},on:{click:e.activeService}},[a("c-icon",{attrs:{icon:"fa fa-download"}}),e._v("  Try now for free!")],1)],1)]),e._v(" "),e.showUploadArea?a("div",[a("drag-and-drop-file",{ref:"dropZone",attrs:{multiple:e.multiple,accept:".pdf, .PDF","accepted-file-types":["application/pdf"],required:!0,dropZoneFirstLine:e.dropZoneFirstLine,dropZoneSecondLine:e.dropZoneSecondLine,maxFileSize:e.maxFileSize,wrongTypeMessage:"Unsupported file format.",wrongSizeMessage:"File size exceeds the maximum limit of 10MB. Please choose a smaller file and try again."},on:{select:e.handleOnFilesSelected},model:{value:e.files,callback:function(t){e.files=t},expression:"files"}}),e._v(" "),null!==e.uploadProgress?a("p",[e._v("Upload Progress: "+e._s(e.uploadProgress)+"%")]):e._e()],1):e._e(),e._v(" "),e.showUploadArea?e._e():a("div",{staticClass:"progress-zone"},[a("div",[a("ul",e._l(this.uploadedFiles,function(t,i){return a("li",{key:i},[a("c-icon",{attrs:{icon:"fa fa-file-pdf-o"}}),e._v("  "),a("a",{attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.title))]),e._v(" "),a("remove-icon",{staticClass:"c-button-file__remove",attrs:{large:!1},on:{click:function(t){return e.removeFile(i)}}},[e._v("Remove")]),e._v(" "),a("span",[e._v(e._s(t.display_processing_status))])],1)}),0)]),e._v(" "),e.uploadedFiles.length>0?a("div",[a("c-button",{staticClass:"c-button",attrs:{variant:"success"},on:{click:e.processFiles}},[a("c-icon",{attrs:{icon:"fa fa-download"}}),e._v("  Extract Trip data")],1)],1):e._e()])])};Se._withStripped=!0;var De=a(0),Le=a(80),Te=a.n(Le);let xe=null;const Ce=e=>{let t;const a=Te.a.create({baseURL:e,headers:{"Content-Type":"application/json"}});return a.interceptors.response.use(e=>e,async e=>{const i=e.config;if(401===e.response.status&&!i._retry){i._retry=!0;try{return t=await(async()=>{try{const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/docuflight/get-token"});return t.data.service_token}catch(e){throw e}})(),i.headers.Authorization=`Bearer ${t}`,a(i)}catch(e){return Promise.reject(e)}}return Promise.reject(e)}),a.interceptors.request.use(e=>(t&&(e.headers.Authorization=`Bearer ${t}`),e),e=>Promise.reject(e)),a};var Ye={name:"RateConfExtractorForm",data:()=>({serviceActivated:null,serviceUser:null,files:null,uploadProgress:null,uploadedFiles:[],taskId:null,intervalId:null,loading:null,pulling:null,error:null,extractedData:null}),props:{dropZoneFirstLine:{type:String,required:!1,default:"or drag your Rate Confirmation PDF here to get trip data."},dropZoneSecondLine:{type:String,required:!1,default:"PDF only"},maxFileSize:{type:Number,required:!1,default:10485760},multiple:{type:Boolean,default:!1},maxMultiple:{type:Number,required:!1}},computed:{showUploadArea(){return this.serviceUser&&0==this.uploadedFiles.length},...Object(f.c)("auth",["token"])},mounted(){this.checkServiceActivation()},beforeDestroy(){this.stopPolling()},watch:{taskId(e){e?this.startPolling():this.stopPolling()},serviceActivated(e){e&&this.getUser()}},methods:{async activeService(){const[e,t]=await De.a.fetch({method:"post",url:"/api/modules/docuflight/activate"});e||(this.serviceActivated=t.data.service_activated,xe=Ce(t.data.service_url))},async checkServiceActivation(){const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/docuflight/check-activation"});e?this.$store.commit("trips/form/setServerNotice",{type:"danger",message:e.message}):(xe=Ce(t.data.service_url),this.serviceActivated=t.data.service_activated)},onPullingInProgress(e){this.uploadedFiles=e.meta},async onPullingSuccess(e){const t=e.meta,a=await Promise.all(t.map(async e=>(e.data=await this.fetchExtractedData(e.extracted_data_id),e)));this.$emit("change",a),this.files=null,this.uploadedFiles=[]},onPullingFailure(){},stopPolling(){clearInterval(this.intervalId),this.loading=!1,this.pulling=!1},startPolling(){this.intervalId&&clearInterval(this.intervalId),this.loading=!0,this.error=null,this.intervalId=setInterval(async()=>
82{this.uploadedFiles.forEach(e=>{e.display_processing_status="..."});try{const e=await xe.get(`/api/service-task/${this.taskId}/check`);this.status=e.data.status,1===this.status&&this.onPullingInProgress(e.data),2===this.status&&(this.onPullingSuccess(e.data),this.stopPolling()),3===this.status&&(this.stopPolling(),this.onPullingFailure(e.data))}catch(e){this.error="Error fetching task status",clearInterval(this.intervalId),this.loading=!1}},1e3)},async checkServicekActivation(){},async getServiceToken_old(){const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/docuflight/get-token"});e?this.$store.commit("trips/form/setServerNotice",{type:"danger",message:e.message}):(this.serviceUrl=t.data.service_url,this.serviceUrl=t.data.service_url,!0===t.data.service_activated&&(this.serviceToken=t.data.service_token))},handleOnFilesSelected(e){e&&this.submitFiles()},removeFile(e){this.uploadedFiles.splice(e,1)},async getUser(){try{const e=await xe.get("/api/auth/user");this.serviceUser=e.data}catch(e){}},async fetchExtractedData(e){const t=[];let a=null;return(await xe.get(`/api/extracted-data-items/${e}`)).data.post_results.extracted_points.forEach((e,i)=>{const n={id:i+1,city:e.suggested_address&&e.suggested_address.city||null,state:e.suggested_address&&e.suggested_address.state||null,zip:e.suggested_address&&e.suggested_address.zip||null,date:e.suggested_address&&e.suggested_date.date||null};a||(a=e.suggested_date.date),t.push(n)}),{route:t,date:a,extracted_data_id:e}},async submitFiles(){const e=new FormData;Array.from(this.files).forEach(t=>{e.append("files[]",t)});try{const t=await xe.post("/api/upload-multi",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{this.uploadProgress=Math.round(100*e.loaded/e.total)}});this.uploadedFiles=t.data.files}catch(e){e.response&&422===e.response.status?this.$store.commit("trips/form/setServerNotice",{type:"danger",message:e.response.data.message}):this.$store.commit("trips/form/setServerNotice",{type:"danger",message:e})}finally{this.uploadProgress=null,this.files=null}},async processFiles(){this.uploadedFiles.forEach(e=>{e.processing_status=1,e.display_processing_status="Processing..."});try{const e=await xe.post("/api/extract-multi",{files:this.uploadedFiles.map(e=>({id:e.id}))},{});this.taskId=e.data.alias}catch(e){}finally{this.uploadProgress=null}}}},Ae=(a(127),d(Ye,Se,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("h4",[this._v(" Rate Confirmation Extractor"),t("sup",{staticStyle:{color:"red"}},[this._v("New")])])])}],!1,null,null,null));Ae.options.__file="resources/assets/components/items/Trips/TripsForm/RateConfExtractorForm.vue";var Ee=Ae.exports,Oe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal-sliding",{attrs:{title:e.title},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),e._e(),e._v(" "),a("div",{staticClass:"trips-form"},[a("div",{staticClass:"trips-form__visual-trip"},["pending"===e.routeRecalcStatus?a("div",{staticClass:"trips-form__state-mileages-spinner"},[a("h5",[e._v("Route Calculation")]),e._v(" "),a("c-spinner")],1):"track"===e.inputMode&&e.trackRouteLabel?[a("div",{staticClass:"trips-form__visual-stop"},[a("h4",[a("i",{staticClass:"fa fa-location-arrow trips-form__stop-icon"}),e._v("\n              "+e._s(e.trackRouteLabel)+"\n            ")])])]:e.displayRoute&&"ok"===e.routeRecalcStatus&&"track"!==e.inputMode?[e._l(e.displayRoute,function(t,i){return a("div",{key:i},[i?a("div",{staticClass:"trips-form__visual-arrow"},[a("h4",[a("i",{staticClass:"fa fa-arrow-right"})]),e._v(" "),a("span",[e._v(e._s(t.prev_distance)+"mi")])]):e._e(),e._v(" "),a("div",{staticClass:"trips-form__visual-stop"},[a("h4",[a("i",{staticClass:"fa fa-map-marker trips-form__stop-icon"}),e._v(" "),t.city?a("span",[e._v(e._s(t.city)+", ")]):e._e(),e._v(e._s(t.state)+"\n              ")]),e._v(" "),t.zip?a("span",[e._v("zip: "+e._s(t.zip))]):e._e()])])}),e._v(" "),a("div",[a("div",{staticClass:"trips-form__visual-arrow"},[a("h4",[a("i",{staticClass:"fa fa-arrow-right"})])]),e._v(" "),a("div",{staticClass:"trips-form__visual-next"},[a("c-link-icon",{attrs:{icon:"fa fa-plus",text:"New trip from here"},on:{click:e.openNextTripForm}})],1)])]:e._e()],2),e._v(" "),"ok"===e.routeRecalcStatus||"track"===e.inputMode?a("div",{staticClass:"trips-form__total-trip"},[a("strong",[e._v("Total distance:")]),e._v(" "),a("span",[e._v(e._s(e.distance)+" mi")]),e._v(" "),e.recalc_exists||"track"===e.inputMode&&e.id?a("c-link-icon",{attrs:{icon:"fa fa-map",text:"Map"},on:{click:e.openModalRouteMap}}
82):e._e(),e._v("   \n      ")],1):e._e(),e._v(" "),a("div",{staticClass:"trips-form__row"},[a("c-input-group",[a("label",[e._v("Equipment")]),e._v(" "),a("div",{staticClass:"trips-form__equipment"},[a("c-select",{attrs:{options:e.equipmentlist,"dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.equipmentId,callback:function(t){e.equipmentId=t},expression:"equipmentId"}}),e._v(" "),e.isEquipmentId?a("c-button",{attrs:{variant:"primary"},on:{click:function(t){return e.openEquipmentForm(e.equipmentId)}}},[a("c-icon",{attrs:{icon:"fa fa-edit"}})],1):e._e(),e._v(" "),a("c-button",{attrs:{variant:"success"},on:{click:function(t){return e.openEquipmentForm(null)}}},[a("c-icon",{attrs:{icon:"fa fa-file-text-o"}})],1)],1)]),e._v(" "),a("c-input-group",[a("label",[e._v("Date *")]),e._v(" "),a("c-date-picker",{attrs:{placeholder:"Select Date"},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}})],1)],1),e._v(" "),"track"!==e.inputMode?[a("div",{staticClass:"trips-form__row trips-form__mode-switch"},[a("div",{staticClass:"trips-form__mode-switch-text"},[a("c-link",{class:{"trips-form__mode-link--active":"route"===e.inputMode},on:{click:function(t){t.preventDefault(),e.inputMode="route"}}},[e._v("[ Enter route ]")]),e._v("\n             or \n            "),a("c-link",{class:{"trips-form__mode-link--active":"manual"===e.inputMode},on:{click:function(t){t.preventDefault(),e.inputMode="manual"}}},[e._v("[ Enter miles by state ]")])],1)]),e._v(" "),a("div",{staticClass:"trips-form__mode-hint"},["route"===e.inputMode?a("span",[e._v("\n            Add stops to calculate miles automatically.\n          ")]):"manual"===e.inputMode?a("span",[e._v("\n            Enter final miles for each state manually.\n          ")]):e._e()]),e._v(" "),"route"===e.inputMode?a("trips-form-stops"):"manual"===e.inputMode?a("trips-form-state-miles"):e._e(),e._v(" "),"ok"===e.routeRecalcStatus?a("c-table",{staticClass:"trips-form__state-mileages",attrs:{fields:e.stateMileagesFields,items:e.stateMileages||[],"show-empty":"",striped:""}}):e._e()]:a("trips-form-track",{attrs:{"trip-id":e.id,"equipment-id":e.equipmentId,"trip-date":e.date,"trip-track":e.tripTrack,"ui-timeline":e.uiTimeline,"state-mileages":e.stateMileages||[],"display-route":e.trackRouteLabel},on:{reimported:e.onTrackReimported}}),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"trips-notes"}},[e._v("Notes")]),e._v(" "),a("c-textarea",{attrs:{id:"trips-notes",rows:"2"},model:{value:e.notes,callback:function(t){e.notes=t},expression:"notes"}})],1)],2)],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[e.id?a("c-link-icon",{attrs:{icon:"fa fa-clone",text:"Copy Trip"},on:{click:e.openCopyTripForm}}):e._e(),e._v("   \n\n    "),e.id?a("c-link-icon",{attrs:{icon:"fa fa-magic",text:"Open in new editor"},on:{click:e.openExtendedForm}}):e._e(),e._v("   \n\n\n    "),a("c-button-save",{attrs:{spinner:e.waiting},on:{click:e.save}}),e._v(" "),a("c-button-close",{on:{click:e.close}})],1),e._v(" "),e.EquipmentFormState?a("equipment-form",{attrs:{"item-id":e.EquipmentFormId,state:e.EquipmentFormState},on:{close:function(t){e.EquipmentFormState=!1},update:e.updateEquipments}}):e._e(),e._v(" "),e.modalRouteMapState&&e.id?a("trips-form-map",{attrs:{"trip-id":e.id,"is-track":"track"===e.inputMode},model:{value:e.modalRouteMapState,callback:function(t){e.modalRouteMapState=t},expression:"modalRouteMapState"}}):e._e()],1)};Oe._withStripped=!0;var Ie=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("draggable",{staticClass:"trips-form-stop",attrs:{list:e.mutableRoute,handle:".trips-form-stop__draggable","ghost-class":"trips-form-stop__stop--ghost"}},e._l(e.mutableRoute,function(t){return a("div",{key:t.id,staticClass:"trips-form-stop__stop"},[a("div",[a("c-input-group",[a("label",[e._v(" ")]),e._v(" "),a("c-button",{staticClass:"trips-form-stop__draggable",attrs:{variant:"secondary"}},[a("c-icon",{attrs:{icon:"fa fa-bars"}})],1)],1)],1),e._v(" "),a("c-input-group",[a("label",[e._v("City *")]),e._v(" "),a("address-input",{attrs:{"selected-label":"city"},on:{select:function(a){e.selectedStop=t,e.setAddress(a)}},model:{value:t.city,callback:function(a){e.$set(t,"city",a)},expression:"stop.city"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("State *")]),e._v(" "),a("c-select",{attrs:{options:e.usStates,"dropdown-label":"value","selected-label":"id","incoming-label":"id"},model:{value:t.state,callback:function(a){e.$set(t,"state",a)},expression:"stop.state"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("Zip")]),e._v(" "),a("address-input",{attrs:{"selected-label":"zip"},on:{select:function(a){e.selectedStop=t,e.setAddress(a)}}
82,model:{value:t.zip,callback:function(a){e.$set(t,"zip",a)},expression:"stop.zip"}})],1),e._v(" "),a("div",[a("c-input-group",[a("label",[e._v(" ")]),e._v(" "),a("c-button",{attrs:{disabled:e.mutableRoute.length<=2,variant:"danger"},on:{click:function(a){return e.removeStop(t.id)}}},[a("c-icon",{attrs:{icon:"fa fa-minus"}})],1)],1)],1)],1)}),0),e._v(" "),a("c-button",{attrs:{variant:"success",block:""},on:{click:e.addStop}},[a("c-icon",{attrs:{icon:"fa fa-plus"}}),e._v("  Add stop")],1)],1)};Ie._withStripped=!0;var Fe=a(82),Pe=a.n(Fe);var je={name:"TripsFormStops",components:{draggable:Pe.a},data:()=>({keyCounter:1,selectedStop:null,draggableId:null}),computed:{...Object(_.b)("trips/form",{relatedData:"relatedData",route:"formData.route",mutableRoute:"mutableRoute"}),usStates(){return this.relatedData.us_states?this.relatedData.us_states:[]}},watch:{route:{immediate:!0,handler(e){for(this.mutableRoute=e.map(e=>({id:this.keyCounter++,city:e.city,state:e.state,zip:e.zip}));this.mutableRoute.length<2;)this.mutableRoute.push({id:this.keyCounter,city:null,state:null,zip:null}),this.keyCounter+=1}}},methods:{addStop(){this.mutableRoute.push({id:this.keyCounter,city:null,state:null,zip:null}),this.keyCounter+=1},removeStop(e){if(this.mutableRoute.length<=2)return;const t=this.mutableRoute.findIndex(t=>e&&t.id===e);~t&&this.mutableRoute.splice(t,1)},setAddress(e){this.selectedStop&&(this.selectedStop.city=e.city,this.selectedStop.state=e.state,this.selectedStop.zip=e.zip,this.selectedStop=null)}}},He=(a(129),d(je,Ie,[],!1,null,null,null));He.options.__file="resources/assets/components/items/Trips/TripsForm/TripsFormStops.vue";var $e=He.exports,Ne=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.mutableState?a("modal-route-map",{attrs:{points:e.points,routes:e.routes},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}}):e._e()};Ne._withStripped=!0;var qe=d({name:"TripsFormMap",components:{},model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},tripId:{type:[String,Number],required:!0},isTrack:{type:Boolean,default:!1}},data:()=>({points:[],routes:[]}),computed:{mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},watch:{state:{immediate:!0,handler(e){e&&this.loadMapData()}}},methods:{async loadMapData(){const e=this.isTrack?M.r.getTrackMap:M.r.getTripPoints,[t,a]=await e.call(M.r,this.tripId);if(t)return this.points=[],void(this.routes=[]);this.points=a.data.points||[],this.routes=a.data.routes||[]}}},Ne,[],!1,null,null,null);qe.options.__file="resources/assets/components/items/Trips/TripsForm/TripsFormMap.vue";var Re=qe.exports,Be=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"trips-form-state-miles"},[a("c-table",{attrs:{fields:e.fields,items:e.rows||[],"show-empty":"",striped:""},scopedSlots:e._u([{key:"state",fn:function(t){return[a("c-select",{attrs:{options:e.usStates,"dropdown-label":"value","selected-label":"id","incoming-label":"id"},model:{value:t.item.state,callback:function(a){e.$set(t.item,"state",a)},expression:"data.item.state"}})]}},{key:"distance",fn:function(t){return[a("c-input-form",{staticClass:"trips-form-state-miles__miles-input",model:{value:t.item.distance,callback:function(a){e.$set(t.item,"distance",a)},expression:"data.item.distance"}})]}},{key:"remove",fn:function(t){return[a("c-button",{attrs:{variant:"danger"},on:{click:function(a){return e.removeRow(t.index)}}},[a("c-icon",{attrs:{icon:"fa fa-minus"}})],1)]}}])}),e._v(" "),a("c-button",{attrs:{variant:"success",block:""},on:{click:e.addRow}},[a("c-icon",{attrs:{icon:"fa fa-plus"}}),e._v("  Add state")],1)],1)};Be._withStripped=!0;var We={name:"TripsFormStateMiles",data:()=>({fields:[{key:"state",label:"State"},{key:"distance",label:"Miles"},{key:"remove",label:""}]}),computed:{...Object(_.b)("trips/form",{relatedData:"relatedData",rows:"formData.manual_state_mileages"}),usStates(){return this.relatedData.us_states?this.relatedData.us_states:[]}},created(){Array.isArray(this.rows)||(this.rows=[]),this.rows.length||this.addRow()},methods:{addRow(){const e=Array.isArray(this.rows)?this.rows:[];this.rows=[...e,{state:null,distance:null}]},removeRow(e){const t=(Array.isArray(this.rows)?this.rows:[]).filter((t,a)=>a!==e);this.rows=t.length?t:[{state:null,distance:null}]}}},ze=(a(130),d(We,Be,[],!1,null,null,null));ze.options.__file="resources/assets/components/items/Trips/TripsForm/TripsFormStateMiles.vue";var Ue=ze.exports,Ve=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"trips-form-track"},[a("c-alert-server",{attrs:{notice:e.localNotice}}),e._v(" "),a("c-alert-server",{attrs:{notice:{type:"info",message:"Miles and route come from IFTA Tracker GPS. Edit equipment, date, or notes only. Use Re-import to refresh from Tracker."}}}),e._v(" "),e.trackHeaderLabel?a("div",{staticClass:"trips-form-track__header"},[a("strong",[e._v(e._s(e.trackHeaderLabel))]),e._v(" "),e.importedAtLabel?a("span",{staticClass:"trips-form-track__imported"}
82,[e._v("Imported "+e._s(e.importedAtLabel))]):e._e()]):e._e(),e._v(" "),e.stateMileages&&e.stateMileages.length?a("c-table",{staticClass:"trips-form__state-mileages",attrs:{fields:e.stateMileagesFields,items:e.stateMileages,"show-empty":"",striped:""}}):e._e(),e._v(" "),e.drives&&e.drives.length?a("div",{staticClass:"trips-form-track__drives"},[a("h5",[e._v("Drives")]),e._v(" "),a("ul",{staticClass:"trips-form-track__drive-list"},e._l(e.drives,function(t,i){return a("li",{key:i},[t.from_label?a("span",[e._v(e._s(t.from_label))]):e._e(),e._v(" "),t.from_label&&t.to_label?a("span",[e._v(" → ")]):e._e(),e._v(" "),t.to_label?a("span",[e._v(e._s(t.to_label))]):e._e(),e._v(" "),t.distance_miles?a("span",[e._v(" — "+e._s(e.formatMiles(t.distance_miles))+" mi")]):e._e()])}),0)]):e._e(),e._v(" "),e.uiTimeline&&e.uiTimeline.length?a("div",{staticClass:"trips-form-track__timeline"},[a("h5",[e._v("Timeline")]),e._v(" "),a("ul",{staticClass:"trips-form-track__timeline-list"},e._l(e.uiTimeline,function(t,i){return a("li",{key:i},[a("span",{staticClass:"trips-form-track__timeline-type"},[e._v(e._s(t.type))]),e._v(" "),t.label?a("span",[e._v(" — "+e._s(t.label))]):e._e(),e._v(" "),t.distance_miles?a("span",[e._v(" ("+e._s(e.formatMiles(t.distance_miles))+" mi)")]):e._e()])}),0)]):e._e(),e._v(" "),a("div",{staticClass:"trips-form-track__actions"},[a("c-button",{attrs:{variant:"outline-primary",disabled:e.reimporting||!e.canReimport},on:{click:e.reimportFromTracker}},[e.reimporting?a("c-spinner",{attrs:{small:""}}):a("span",[e._v("Re-import from Tracker")])],1)],1)],1)};Ve._withStripped=!0;var Ge={name:"TripsFormTrack",props:{tripId:{type:[String,Number],required:!0},equipmentId:{type:[String,Number],default:null},tripDate:{type:[String,Date],default:null},tripTrack:{type:Object,default:null},uiTimeline:{type:Array,default:()=>[]},stateMileages:{type:Array,default:()=>[]},displayRoute:{type:String,default:""}},data:()=>({reimporting:!1,localNotice:null,stateMileagesFields:[{key:"state",label:"State"},{key:"display_distance",label:"Distance"}]}),computed:{drives(){return this.tripTrack&&this.tripTrack.drives||[]},workspaceId(){return this.tripTrack&&this.tripTrack.meta?this.tripTrack.meta.workspace_id:null},canReimport(){return!!(this.workspaceId&&this.equipmentId&&this.tripDate)},trackHeaderLabel(){if(this.displayRoute)return this.displayRoute;const e=this.tripTrack&&this.tripTrack.meta?this.tripTrack.meta.track_header:null;return e&&e.from&&e.to?`${e.from} → ${e.to}`:""},importedAtLabel(){const e=this.tripTrack&&this.tripTrack.imported_at;if(!e)return"";try{return new Date(e).toLocaleString()}catch(t){return String(e)}}},methods:{formatMiles(e){const t=Number(e);return Number.isNaN(t)?e:t.toFixed(1)},formatTripDate(){if(!this.tripDate)return"";if(this.tripDate instanceof Date)return this.tripDate.toISOString().slice(0,10);const e=String(this.tripDate);return e.length>=10?e.slice(0,10):e},async reimportFromTracker(){if(!this.canReimport)return void(this.localNotice={type:"warning",message:"Cannot re-import: missing workspace or equipment link."});this.reimporting=!0,this.localNotice=null;const[e]=await De.a.fetch({method:"post",url:`/api/modules/ifta-tracker/workspace/${this.workspaceId}/reimport`,data:{equipment_id:this.equipmentId,date:this.formatTripDate()}});this.reimporting=!1,e?this.localNotice={type:"danger",message:e.response&&e.response.data&&e.response.data.message||"Re-import failed."}:(this.localNotice={type:"success",message:"Trip re-imported from Tracker."},this.$emit("reimported"))}}},Je=(a(131),d(Ge,Ve,[],!1,null,"2d34be0b",null));Je.options.__file="resources/assets/components/items/Trips/TripsForm/TripsFormTrack.vue";var Ke=Je.exports,Qe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal-sliding",{attrs:{title:e.title},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("div",{staticClass:"equipment-form__vin-decoder"},[a("c-button",{attrs:{variant:"primary"},on:{click:function(t){e.vinDecoderOpen=!0}}},[e._v("\n        VIN decoder\n      ")])],1),e._v(" "),a("div",{staticClass:"equipment-form"},[a("div",[a("c-input-group",[a("label",{attrs:{for:"equipment-unit"}},[e._v("Unit *")]),e._v(" "),a("c-input-form",{attrs:{id:"equipment-unit"},model:{value:e.unit,callback:function(t){e.unit=t},expression:"unit"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"equipment-make"}},[e._v("Make")]),e._v(" "),a("c-input-form",{attrs:{id:"equipment-make"},model:{value:e.make,callback:function(t){e.make=t},expression:"make"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"equipment-model"}},[e._v("Model")]),e._v(" "),a("c-input-form",{attrs:{id:"equipment-model"},model:{value:e.model,callback:function(t){e.model=t},expression:"model"}}
82)],1)],1),e._v(" "),a("div",[a("c-input-group",[a("label",[e._v("Status *")]),e._v(" "),a("c-select",{attrs:{options:e.statuses,"can-be-removed":!1,"dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"equipment-vin"}},[e._v("Vin")]),e._v(" "),a("c-input-form",{attrs:{id:"equipment-vin"},model:{value:e.vin,callback:function(t){e.vin=t},expression:"vin"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"equipment-year"}},[e._v("Year")]),e._v(" "),a("c-input-form",{attrs:{id:"equipment-year"},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}})],1)],1)]),e._v(" "),a("div",{staticClass:"equipment-form__vin-hint"},[a("c-icon",{attrs:{icon:"fa fa-info-circle"}}),e._v(" "),a("p",[e._v("\n        Enter the full VIN to quickly set up ELD integrations, fill documents, and track maintenance.\n      ")])],1),e._v(" "),a("div",{staticClass:"equipment-form equipment-form--eld"},[a("div",[a("c-input-group",[a("label",{attrs:{for:"equipment-eld-exempt"}},[e._v("ELD Exempt")]),e._v(" "),a("c-input-checkbox",{attrs:{id:"equipment-eld-exempt",label:""},model:{value:e.eldExempt,callback:function(t){e.eldExempt=t},expression:"eldExempt"}})],1)],1),e._v(" "),a("div",[a("c-input-group",[a("label",[e._v("ELD Provider")]),e._v(" "),a("div",{staticClass:"equipment-form__eld-provider-controls"},[a("c-select",{attrs:{options:e.eldProviderOptions,disabled:e.eldExempt,"can-be-removed":!1,"dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.eldProviderId,callback:function(t){e.eldProviderId=t},expression:"eldProviderId"}}),e._v(" "),a("c-button",{staticClass:"equipment-form__eld-connect",attrs:{variant:"secondary",disabled:!0}},[e._v("\n              Connect\n            ")])],1)])],1)]),e._v(" "),a("vin-decoder-modal",{attrs:{"initial-vin":e.vin},on:{apply:e.applyVinDecode},model:{value:e.vinDecoderOpen,callback:function(t){e.vinDecoderOpen=t},expression:"vinDecoderOpen"}})],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-save",{attrs:{spinner:e.waiting},on:{click:e.save}}),e._v(" "),a("c-button-close",{on:{click:e.close}})],1)])};Qe._withStripped=!0;var Ze=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{staticClass:"vin-decoder-modal",attrs:{title:"VIN decoder",size:"large"},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("template",{slot:"body"},[a("c-input-group",[a("label",{attrs:{for:"vin-decoder-input"}},[e._v("VIN *")]),e._v(" "),a("c-input-form",{attrs:{id:"vin-decoder-input",disabled:e.waiting,maxlength:"17",placeholder:"17-character VIN"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.decode(t)}},model:{value:e.vinInput,callback:function(t){e.vinInput=t},expression:"vinInput"}})],1),e._v(" "),a("div",{staticClass:"vin-decoder-modal__actions"},[a("c-button",{attrs:{variant:"primary",disabled:!e.canDecode||e.waiting},on:{click:e.decode}},[e._v("\n        "+e._s(e.waiting?"Decoding…":"Decode")+"\n      ")])],1),e._v(" "),a("c-alert-server",{staticClass:"vin-decoder-modal__error",attrs:{notice:e.errorNotice}}),e._v(" "),e.result?a("div",{staticClass:"vin-decoder-modal__preview"},[e.result.image_url?a("img",{staticClass:"vin-decoder-modal__image",attrs:{src:e.result.image_url,alt:"Vehicle"},on:{error:e.onImageError}}):e._e(),e._v(" "),a("dl",{staticClass:"vin-decoder-modal__fields"},[e._l(e.previewRows,function(t){return[a("dt",{key:t.key+"-label"},[e._v(e._s(t.label)+":")]),e._v(" "),a("dd",{key:t.key+"-value"},[e._v(e._s(t.value||"—"))])]})],2)]):e._e()],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"success",disabled:!e.result||e.waiting},on:{click:e.apply}},[e._v("\n      Use these values\n    ")]),e._v(" "),a("c-button-close",{on:{click:e.close}})],1)],2)};Ze._withStripped=!0;const Xe=[{key:"vehicle_type",label:"Vehicle Type"},{key:"model_year",label:"Model Year"},{key:"make",label:"Make"},{key:"model",label:"Model"},{key:"body_class",label:"Body Class"},{key:"gvwr",label:"Gross Vehicle Weight Rating"},{key:"drive_type",label:"Drive Type"},{key:"cab_type",label:"Cab Type"},{key:"engine_model",label:"Engine Model"},{key:"cylinders",label:"Cylinders"},{key:"engine_brake_hp",label:"Engine Brake (HP)"},{key:"primary_fuel_type",label:"Primary Fuel Type"},{key:"transmission_speeds",label:"Transmission Speed"},{key:"secondary_fuel_type",label:"Secondary Fuel Type"},{key:"engine_displacement_l",label:"Engine Displacement (L)"},{key:"engine_manufacturer",label:"Engine Manufacturer"},{key:"transmission_style",label:"Transmission Style"},{key:"plant_information",label:"Plant Information"},{key:"bed_type",label:"Bed Type"}];var et={name:"VinDecoderModal",model:{prop:"state",event:"close"},props:{state:{type:Boolean,default:!1},initialVin:{type:String,default:""}},data:()=>
82({vinInput:"",waiting:!1,errorNotice:null,result:null}),computed:{mutableState:{get(){return this.state},set(e){this.$emit("close",e)}},canDecode(){return 17===(this.vinInput||"").replace(/\s+/g,"").length},previewRows(){if(!this.result||!this.result.preview)return[];const e=this.result.preview;return Xe.map(t=>({key:t.key,label:t.label,value:e[t.key]}))}},watch:{state(e){e&&(this.reset(),this.vinInput=(this.initialVin||"").toUpperCase())}},methods:{reset(){this.waiting=!1,this.errorNotice=null,this.result=null},close(){this.mutableState=!1},onImageError(){this.result&&(this.result=Object.assign({},this.result,{image_url:null}))},async decode(){if(!this.canDecode||this.waiting)return;this.waiting=!0,this.errorNotice=null,this.result=null;const e=this.vinInput.replace(/\s+/g,"").toUpperCase();this.vinInput=e;const[t,a]=await M.s.decode({vin:e});this.waiting=!1,t?this.errorNotice={type:"danger",message:(t.message||"Unable to decode VIN").replace(/<br>/g," ")}:this.result=a&&a.data?a.data:null},apply(){this.result&&(this.$emit("apply",{vin:this.result.form&&this.result.form.vin?this.result.form.vin:this.vinInput,make:this.result.form?this.result.form.make:null,model:this.result.form?this.result.form.model:null,year:this.result.form?this.result.form.year:null,meta:this.result.meta||this.result.preview||{}}),this.close())}}},tt=(a(132),d(et,Ze,[],!1,null,null,null));tt.options.__file="resources/assets/components/items/Equipment/VinDecoderModal.vue";var at={name:"EquipmentForm",components:{VinDecoderModal:tt.exports},model:{prop:"state",event:"close"},props:{state:{type:Boolean,default:!1},itemId:{type:[String,Number],default:null}},data:()=>({waiting:!1,vinDecoderOpen:!1}),computed:{...Object(_.b)("equipment/form",{serverNotice:"serverNotice",relatedData:"relatedData",id:"formData.id",unit:"formData.unit",make:"formData.make",model:"formData.model",vin:"formData.vin",year:"formData.year",active:"formData.active",meta:"formData.meta",eld:"formData.eld"}),equipmentId(){return this.itemId||this.id},statuses(){return this.relatedData.statuses?this.relatedData.statuses:[]},eldProviderOptions(){const e=(this.relatedData.eld_providers||[]).slice();return e.push({id:1e5,value:"OTHER"}),e.push({id:0,value:"ELD Exempt"}),e},defaultEldProviderId(){const e=this.relatedData.eld_defaults||{};if(null!=e.eld_provider_id)return e.eld_provider_id;const t=(this.relatedData.eld_providers||[]).find(e=>"Apollo ELD"===e.value);return t?t.id:null},eldExempt:{get(){return!this.eld||void 0===this.eld.eld_exempt||!!this.eld.eld_exempt},set(e){this.patchEld({eld_exempt:!!e})}},eldProviderId:{get(){return this.eld&&void 0!==this.eld.eld_provider_id&&null!==this.eld.eld_provider_id?this.eld.eld_provider_id:this.defaultEldProviderId},set(e){this.patchEld({eld_provider_id:e})}},title(){return this.equipmentId?"Edit equipment":"New equipment"},mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},watch:{serverNotice(e){"success"===e.type&&this.update()},relatedData:{deep:!0,handler(){this.ensureEldDefaults()}},eld:{deep:!0,handler(){this.ensureEldDefaults()}}},created(){this.equipmentId?this.getFormData([this.equipmentId]):this.active=1,this.getRelatedData([this.equipmentId])},beforeDestroy(){this.clearFormData()},methods:{...Object(f.b)("equipment/form",{getFormData:"getItem",createItem:"createItem",updateItem:"updateItem",getRelatedData:"getRelatedData",clearFormData:"clearFormData"}),close(){this.mutableState=!1},patchEld(e){this.eld=Object.assign({},this.eld||{},e)},ensureEldDefaults(){if(!this.relatedData||!this.relatedData.eld_providers)return;const e=Object.assign({},this.eld||{});let t=!1;void 0===e.eld_exempt&&(e.eld_exempt=!0,t=!0),void 0!==e.eld_provider_id&&null!==e.eld_provider_id||null!=this.defaultEldProviderId&&(e.eld_provider_id=this.defaultEldProviderId,t=!0),t&&(this.eld=e)},applyVinDecode(e){e&&(e.vin&&(this.vin=e.vin),e.make&&(this.make=e.make),e.model&&(this.model=e.model),e.year&&(this.year=e.year),this.meta=e.meta||{})},async save(){this.waiting=!0,this.ensureEldDefaults(),this.equipmentId?await this.updateItem({data:{unit:this.unit,make:this.make,model:this.model,vin:this.vin,year:this.year,active:this.active,meta:this.meta,eld:this.eld},ids:[this.equipmentId]}):await this.createItem(),this.waiting=!1},update(){this.$emit("update",this.equipmentId)}}},it=(a(133),d(at,Qe,[],!1,null,null,null));it.options.__file="resources/assets/components/items/Equipment/EquipmentForm.vue";var nt=it.exports;var rt={name:"TripsForm",components:{EquipmentForm:nt,TripsFormStops:$e,TripsFormMap:Re,TripsFormStateMiles:Ue,TripsFormTrack:Ke,RateConfExtractorForm:Ee},model:{prop:"state",event:"close"},props:{state:{type:Boolean,default:!1},itemId:{type:[String,Number],default:null},itemInitData:{type:Object,default:null}},data:()=>({tripFormData:{},tripFormState:!1,waiting:!1,modalRouteMapState:!1,EquipmentFormId:null,EquipmentFormState:!1,stateMileagesFields:[{key:"state",label:"State"},{key:"display_distance",label:"Distance"}]}),computed:{...Object(_.b)("trips/form",{serverNotice:"serverNotice",relatedData:"relatedData",id:"formData.id",equipmentId:"formData.equipment_id",date:"formData.date",notes:"formData.notes",inputMode:"formData.input_mode",manualStateMileages:"formData.manual_state_mileages",route:"formData.route",mutableRoute:"mutableRoute",stateMileages:"formData.state_mileages",displayRoute:"formData.display_route",serverErrorMessage:"formData.display_error",routeRecalcStatus:"formData.route_recalc_status",distance:"formData.distance",recalc_exists:"formData.recalc_exists",isTrackReadonly:"formData.is_track_readonly",tripTrack:"formData.trip_track",uiTimeline:"formData.ui_timeline",file:"file"}),equipmentlist(){return this.relatedData.equipment?this.relatedData.equipment:[]},title(){return this.itemId||this.id?"Edit miles":"Add miles"},mutableState:{get(){return this.state},set(e){this.$emit("close",e)}},isEquipmentId(){return!!this.equipmentId},trackRouteLabel(){const e=this.displayRoute;return"string"==typeof e&&e?e:""}}
82,watch:{serverErrorMessage:{immediate:!0,handler(e){e&&(this.serverNotice={type:"danger",message:e})}},routeRecalcStatus:{immediate:!0,handler(e){"pending"===e&&this.setRecalcRequestTimer([this.itemId||`1${this.id}`])}},serverNotice(e){"success"===e.type&&this.update()}},created(){this.itemId&&this.getFormData([this.itemId]),this.getRelatedData([this.itemId]),this.date=new Date,this.inputMode||(this.inputMode="route")},mounted(){!this.itemId&&this.itemInitData&&this.$store.commit("trips/form/setTripData",Object.assign({},this.itemInitData))},beforeDestroy(){this.clearFormData()},methods:{...Object(f.b)("trips/form",{getFormData:"getItem",setRecalcRequestTimer:"setRecalcRequestTimer",createItem:"createItem",updateItem:"updateItem",getRelatedData:"getRelatedData",clearFormData:"clearFormData"}),openCopyTripForm(){this.$emit("copy",this.id),this.close()},openNextTripForm(){this.$emit("createNext",this.id),this.close()},openExtendedForm(){this.$emit("switchToExtended",this.id)},openModalRouteMap(){this.modalRouteMapState=!0},setExtractedData(e){const t=e[0]&&e[0].data||null;t&&(this.$store.commit("trips/form/setServerNotice",{type:"success",message:"Success"}),this.$store.commit("trips/form/setTripData",t))},close(){this.mutableState=!1},async onTrackReimported(){this.id&&await this.getFormData([this.id]),this.update()},async save(){if(this.waiting=!0,this.isTrackReadonly||"track"===this.inputMode)return this.id&&await this.updateItem({data:{equipment_id:this.equipmentId,date:this.date,notes:this.notes,input_mode:"track"},ids:[this.id]}),void(this.waiting=!1);"route"===this.inputMode?this.route=this.mutableRoute.filter(e=>e.state).map(e=>({city:e.city,state:e.state,zip:e.zip})):this.route=[],this.id?await this.updateItem({data:{equipment_id:this.equipmentId,date:this.date,notes:this.notes,input_mode:this.inputMode,route:this.route,state_mileages:"manual"===this.inputMode?(this.manualStateMileages||[]).filter(e=>e&&e.state&&e.distance).map(e=>({state:e.state,distance:e.distance})):[]},ids:[this.id]}):(this.$store.commit("trips/form/updateField",{path:"formData.input_mode",value:this.inputMode}),this.$store.commit("trips/form/updateField",{path:"formData.route",value:this.route}),this.$store.commit("trips/form/updateField",{path:"formData.state_mileages",value:"manual"===this.inputMode?(this.manualStateMileages||[]).filter(e=>e&&e.state&&e.distance).map(e=>({state:e.state,distance:e.distance})):[]}),await this.createItem()),this.waiting=!1},update(){this.$emit("update",this.id)},openEquipmentForm(e=null){this.EquipmentFormId=e,this.EquipmentFormState=!0},async updateEquipments(e){await this.getRelatedData([this.id]),this.equipmentId=e}}},st=(a(134),d(rt,Oe,[],!1,null,null,null));st.options.__file="resources/assets/components/items/Trips/TripsForm/TripsForm.vue";var ot=st.exports;var lt={name:"RateConfExtractorBatch",components:{TripsForm:ot,RateConfExtractorForm:Ee},model:{prop:"state",event:"close"},props:{state:{type:Boolean,default:!1},itemId:{type:[String,Number],default:null}},data:()=>({id:null,waiting:!1,tripFormId:null,tripFormState:!1,tripFormData:null,extractedData:null,tableFields:[{key:"file",label:"File"},{key:"route",label:"Route"},{key:"actions",label:"Actions"}]}),computed:{...Object(_.b)("fuel/form",{serverNotice:"serverNotice"}),tableValues(){return this.extractedData.map(e=>({file:e.title,route:e.data.route.map(e=>`${e.city}, ${e.state} ${e.zip}`).join(" -> "),actions:`create ${e.extracted_data_id}`,extracted_data:e.data,trip_id:e.trip_id}))},title(){return this.itemId||this.id?`Import ${this.id}`:"New Import (max 2 files)"},mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},watch:{serverNotice(e){"success"===e.type&&this.update()}},created(){this.itemId&&this.getDataBatch(this.itemId),this.date=new Date},beforeDestroy(){this.clearFormData()},methods:{...Object(f.b)("fuel/form",{getFormData:"getItem",createItem:"createItem",updateItem:"updateItem",getRelatedData:"getRelatedData",clearFormData:"clearFormData"}),test(){this.extractedData=[{warnings:[],errors:[],id:"670016f7b2cbb",path:"670016f7b2cbb.pdf",title:"rate_conf_a72fa6e2-1f71-4ef5-97e1-863d8fba13fd.pdf",file_size:41484,url:"https://docuflight.ai/api/download/670016f7b2cbb/rate_conf_a72fa6e2-1f71-4ef5-97e1-863d8fba13fd.pdf",processing_status:2,display_processing_status:"Done",extracted_data_id:"67001704985e0",data:{route:[{id:1,city:"Allentown",state:"PA",zip:"18106",date:"2024-0
827-04 00:00:00.000000"},{id:2,city:"North East",state:"MD",zip:"21901",date:"2024-07-05 00:00:00.000000"}],date:"2024-07-04 00:00:00.000000",extracted_data_id:"67001704985e0"}},{warnings:[],errors:[],id:"670016f8032cb",path:"670016f8032cb.pdf",title:"rate_Starksboro VT - Jones mills PA.pdf",file_size:265622,url:"https://docuflight.ai/api/download/670016f8032cb/rate_Starksboro%20VT%20-%20Jones%20mills%20PA.pdf",processing_status:2,display_processing_status:"Done",extracted_data_id:"6700170c676f1",data:{route:[{id:1,city:"Starksboro",state:"VT",zip:"05487",date:"2022-05-03 00:00:00.000000"},{id:2,city:"Somerset",state:"PA",zip:"15501",date:"2022-05-04 00:00:00.000000"}],date:"2022-05-03 00:00:00.000000",extracted_data_id:"6700170c676f1"}}]},loadExtractedData(e){this.extractedData=e},setExtractedData(e){this.extractedData=e,this.storeDataBatch(e)},close(){this.mutableState=!1},async storeDataBatch(e){const[t,a]=await De.a.fetch({method:"post",url:"/api/modules/docuflight/store-data-batch",data:{extracted_data:e}});t||(this.id=a.data.id)},async getDataBatch(e){const[t,a]=await De.a.fetch({method:"get",url:`/api/modules/docuflight/get-data-batch/${e}`});t||this.loadExtractedData(a.data.extracted_data),this.id=e},setAddress(e){},updateBatch(){this.id&&this.getDataBatch(this.id),this.$emit("update")},openTripForm(e=null,t=null){e&&(e=`1${e}`),this.tripFormId=e,this.tripFormData=t,this.tripFormState=!0}}},ct=(a(135),d(lt,Me,[],!1,null,null,null));ct.options.__file="resources/assets/components/shared/RateConfExtractorBatch.vue";var ut=ct.exports,dt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{staticClass:"modal-training-request",attrs:{title:"Schedule a complimentary 30-minute one-on-one training session",size:"large"},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("template",{slot:"body"},[a("div",[a("div",{staticClass:"modal-training-request__description"},[a("p",[e._v("\n          We get it- trucking is a complex business with many moving parts and\n          keeping up with it can feel a little stressful.\n          Don’t worry, with ezloads you can manage your entire business at a glance.\n        ")]),e._v(" "),a("p",[e._v("\n          I will show you how to:\n          "),a("br"),e._v(" "),a("ul",[a("li",[e._v("\n              how ezloads can help trucking carriers like you grow their business!\n            ")]),e._v(" "),a("li",[e._v("\n              easily manage all of your financials from invoicing brokers to\n              paying drivers helping you reduce costs and never miss a payment.\n            ")]),e._v(" "),a("li",[e._v("\n              manage your drivers\n            ")]),e._v(" "),a("li",[e._v("\n              generate IFTA reports in one click, you will never have to pay\n              someone to prepare your IFTA filling again!\n            ")])])]),e._v(" "),a("p",[a("b",[e._v("Watch your trucking business grow!")])]),e._v(" "),a("p",[e._v("\n          Click here to book a time that is convenient for you. Don’t\n          hesitate to reach out to me with any questions.\n        ")])]),e._v(" "),a("div",{staticClass:"modal-training-request__form"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"training-name"}},[e._v("Your name")]),e._v(" "),a("c-input-form",{attrs:{id:"training-name"},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"training-phone"}},[e._v("Phone")]),e._v(" "),a("c-input-phone",{attrs:{id:"training-phone"},model:{value:e.phone,callback:function(t){e.phone=t},expression:"phone"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"training-date"}},[e._v("Date/Time")]),e._v(" "),a("c-input-form",{attrs:{id:"training-date"},model:{value:e.datetime,callback:function(t){e.datetime=t},expression:"datetime"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"training-questions"}},[e._v("Your Comments")]),e._v(" "),a("c-textarea",{attrs:{id:"training-questions",rows:"2"},model:{value:e.comment,callback:function(t){e.comment=t},expression:"comment"}})],1)],1)]),e._v(" "),a("div",{staticClass:"modal-training-request__manager"},[a("figure",[a("figcaption",[a("h2",[e._v("Your account manager")])]),e._v(" "),a("img",{attrs:{src:e.photo,alt:"Your account manager"}})]),e._v(" "),a("h3",[e._v("Anna Gaap")]),e._v(" "),a("span",[e._v("More than 13 years of experience in the trucking industry")]),e._v(" "),a("span",[e._v("Speaks: English, Russian")])])]),e._v(" "),a("div",{staticClass:"modal-training-request__footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button-save",{attrs:{spinner:e.waiting,title:"Submit"},on:{click:e.submitForm}}),e._v(" "),a("c-link",{staticClass:"modal-training-request__close-link",attrs:{disabled:e.waiting},on:{click:e.close}},[e._v("No, thank you, maybe next time")])],1)],2)};dt._withStripped=!0;var pt={name:"ModalTrainingRequest",model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0}},data:()=>({waiting:!1,name:null,phone:null,datetime:null,comment:null,photo:ge.a}),computed:{...Object(_.b)("training",{serverNotice:"serverNotice"}),mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},watch:{serverNotice(e){e&&"success"===e.type&&(this.name=null,this.phone=null,this.datetime=null,this.comment=null)}},methods:{...Object(f.b)("training",["requestTraining"]),async submitForm(
82){this.waiting=!0,await this.requestTraining({name:this.name,phone:this.phone,datetime:this.datetime,comment:this.comment}),this.waiting=!1},close(){this.mutableState=!1}}},mt=(a(136),d(pt,dt,[],!1,null,null,null));mt.options.__file="resources/assets/components/shared/ModalTrainingRequest.vue";var ht=mt.exports,ft=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"remove-icon"},[e.spinner&&e.activeSpinner?a("c-spinner",{staticClass:"remove-icon__spinner"}):a("c-icon-cross",{class:["remove-icon__icon",{"remove-icon__icon--disabled":e.disabled}],attrs:{large:e.large,icon:"fa fa-close"},on:{click:e.requestConfirmation}}),e._v(" "),a("c-modal-confirm",{on:{resolve:e.confirm,reject:e.cancel},model:{value:e.confirmationState,callback:function(t){e.confirmationState=t},expression:"confirmationState"}})],1)};ft._withStripped=!0;var _t={name:"RemoveIcon",props:{large:{type:Boolean,default:!0},spinner:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},confirmation:{type:Boolean,default:!1}},data:()=>({confirmationState:!1,activeSpinner:!1}),methods:{requestConfirmation(){this.disabled||(this.confirmation?this.confirmationState=!0:this.confirm())},confirm(){this.activeSpinner=!0,this.$emit("click"),this.cancel()},cancel(){this.confirmationState=!1}}},vt=(a(137),d(_t,ft,[],!1,null,null,null));vt.options.__file="resources/assets/components/shared/RemoveIcon.vue";var gt=vt.exports,yt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w100"},[a("div",{staticClass:"w100"},[e.label?a("span",{staticClass:"mb-5 d-inline-block",domProps:{innerHTML:e._s(e.label)}}):e._e(),e._v(" "),a("div",{class:["upload-zone",e.isDragZoneActive?"active":"",e.disabled?"upload-zone__disabled":"",e.errorMessage?"input--invalid":""],on:{dragover:e.dragover,dragleave:e.dragleave,drop:e.drop}},[a("div",{staticClass:"c-button-file d-flex flex-direction-column justify-content-center",style:{minHeight:e.height+"px"}},[a("label",{staticClass:"w100"},[e.selectedFiles&&0!==e.selectedFiles.length?e._e():a("div",{staticClass:"w100 d-flex flex-direction-column align-items-center"},[a("div",{staticClass:"drop-area__icon"},[a("svg",{attrs:{width:"46",height:"46",viewBox:"0 0 46 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("rect",{attrs:{x:"3",y:"3",width:"40",height:"40",rx:"20",fill:"#EAECF0"}}),e._v(" "),a("path",{attrs:{d:"M19.6665 26.3333L22.9998 23M22.9998 23L26.3332 26.3333M22.9998 23V30.5M29.6665 26.9524C30.6844 26.1117 31.3332 24.8399 31.3332 23.4167C31.3332 20.8854 29.2811 18.8333 26.7498 18.8333C26.5677 18.8333 26.3974 18.7383 26.3049 18.5814C25.2182 16.7374 23.2119 15.5 20.9165 15.5C17.4647 15.5 14.6665 18.2982 14.6665 21.75C14.6665 23.4718 15.3627 25.0309 16.489 26.1613",stroke:"#475467","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("rect",{attrs:{x:"3",y:"3",width:"40",height:"40",rx:"20",stroke:"#F2F4F7","stroke-width":"6"}})])]),e._v(" "),a("div",{staticClass:"drop-area__text-container"},[a("div",[a("c-link",[e._v("Click to upload")]),e._v(" "),a("span",[e._v(e._s(e.dropZoneFirstLine?e.dropZoneFirstLine:"or drag and drop file"))])],1),e._v(" "),e.dropZoneSecondLine?a("span",[e._v(e._s(e.dropZoneSecondLine))]):e._e()])]),e._v(" "),a("input",{key:"fileInputKey"+e.dropZoneKey,staticClass:"c-button-file__input",attrs:{accept:e.accept,type:"file",disabled:e.disabled,multiple:e.multiple},on:{change:e.changeFile}})]),e._v(" "),e.selectedFiles&&e.selectedFiles.length>0?a("div",{staticClass:"d-flex align-items-center"},[a("span",{domProps:{innerHTML:e._s(e.fileInfo)}}),e._v(" "),e.selectedFiles&&e.selectedFiles.length>0?a("remove-icon",{staticClass:"c-button-file__remove",staticStyle:{"margin-bottom":"1px"},attrs:{large:!1},on:{click:e.removeFile}}):e._e()],1):e._e()])])]),e._v(" "),e.errorMessage?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("\n    "+e._s(e.errorMessage)+"\n  ")]):e._e()],1)};yt._withStripped=!0;var bt={name:"DragAndDropFile",model:{prop:"selectedFiles",event:"select"},props:{selectedFiles:{type:FileList,default:null},accept:{type:String,required:!1},acceptedFileTypes:{type:Array,required:!1},label:{type:String,default:null},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},serverErrorMessage:{type:String,default:null},dropZoneFirstLine:{type:String,required:!1},dropZoneSecondLine:{type:String,required:!1},wrongTypeMessage:{type:String,required:!1},wrongSizeMessage:{type:String,required:!1},maxFileSize:{type:Number,required:!1},height:{type:Number,default:100},multiple:{type:Boolean,default:!1}},data:()=>({dropZoneKey:1,isDragZoneActive:!1,dragTimeout:null,internalErrorMessage:null}),computed:{fileInfo(){return this.selectedFiles&&this.selectedFiles.length>0?[...Array(this.selectedFiles.length).keys()].map(e=>this.selectedFiles.item(e).name).join("</br>"):"Choose file, or drag and drop it"},errorMessage(){return this.serverErrorMessage?this.serverErrorMessage:this.internalErrorMessage}},methods:{handleFileUpload(e){this.files=Array.from(e.target.files)},removeFile(e){this.files.splice(e,1)}
82,changeFile(e){e.target.files&&e.target.files.length>0&&(this.$emit("select",e.target.files),this.$nextTick(()=>{this.validate()}))},onChange(e){e&&e.length>0&&(this.$emit("select",e),this.$nextTick(()=>{this.validate()}))},dragover(e){this.disabled||(e.preventDefault(),this.isDragZoneActive=!0,this.dragTimeout&&clearTimeout(this.dragTimeout))},dragleave(){if(!this.disabled){const e=this;this.dragTimeout=setTimeout(()=>{e.isDragZoneActive=!1},350)}},drop(e){this.disabled||(e.preventDefault(),this.onChange(e.dataTransfer.files),this.isDragZoneActive=!1)},removeFile(){this.$emit("select",null),this.internalErrorMessage=null,this.dropZoneKey+=1},validate(){let e=!1,t=!1;return this.selectedFiles&&this.selectedFiles.length>0&&this.acceptedFileTypes&&this.acceptedFileTypes.length>0&&(e=this.validateFileType()),this.selectedFiles&&this.selectedFiles.length>0&&this.maxFileSize&&(t=this.validateFileSize()),this.required&&(null===this.selectedFiles||this.selectedFiles&&0===this.selectedFiles.length)?(this.internalErrorMessage="File is required",!0):!1===this.multiple&&this.selectedFiles.length>1?(this.internalErrorMessage="Required only one file",!0):e?(this.internalErrorMessage=this.wrongTypeMessage?this.wrongTypeMessage:"Unsupported file format.",!0):t?(this.internalErrorMessage=this.wrongSizeMessage?this.wrongSizeMessage:"File size exceeds the maximum limit. Please choose a smaller file and try again.",!0):(this.internalErrorMessage=null,!1)},validateFileType(){return![...Array(this.selectedFiles.length).keys()].map(e=>-1!==this.acceptedFileTypes.indexOf(this.selectedFiles.item(e).type)).reduce((e,t)=>e&&t,!0)},validateFileSize(){return![...Array(this.selectedFiles.length).keys()].map(e=>this.maxFileSize>this.selectedFiles.item(e).size).reduce((e,t)=>e&&t,!0)}}},kt=(a(138),d(bt,yt,[],!1,null,null,null));kt.options.__file="resources/assets/components/shared/DragAndDropFile.vue";var wt=kt.exports,Mt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{attrs:{title:"Route",size:"large"},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{staticClass:"modal-route-map",attrs:{slot:"body",id:"map"},slot:"body"}),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-close",{on:{click:e.close}})],1)])};Mt._withStripped=!0;var St={name:"ModalRouteMap",model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},points:{type:Array,required:!0},routes:{type:Array,required:!0}},data:()=>({google:window.google,pathCoordinates:[],milesColor:"#00b400",emptyMilesColor:"#ff8c8c",polylineOptions:{strokeColor:"#000000",strokeOpacity:1,strokeWeight:4}}),computed:{mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},watch:{points:{handler(){this.scheduleInitMap()},deep:!0},routes:{handler(){this.scheduleInitMap()},deep:!0},mutableState(e){e&&this.scheduleInitMap()}},mounted(){this.scheduleInitMap()},methods:{close(){this.mutableState=!1},hasMapGeometry(){const e=Array.isArray(this.points)&&this.points.length>0,t=Array.isArray(this.routes)&&this.routes.some(e=>Array.isArray(e.points)&&e.points.length>0);return e||t},scheduleInitMap(e=0){this.mutableState&&this.hasMapGeometry()&&this.$nextTick(()=>{document.getElementById("map")?this.initMap():e<20&&window.setTimeout(()=>this.scheduleInitMap(e+1),50)})},extendBounds:(e,t,a)=>null!=t&&null!=a&&!Number.isNaN(Number(t))&&!Number.isNaN(Number(a))&&(e.extend({lat:Number(t),lng:Number(a)}),!0),initMap(){const e=new google.maps.Map(document.getElementById("map"),{zoom:3,center:{lat:39.5,lng:-98.35}});e.data.loadGeoJson("/usa.json"),e.data.loadGeoJson("/canada.json"),e.data.setStyle({fillColor:"transparent",strokeColor:"blue",strokeWeight:1});const t=new google.maps.LatLngBounds;let a=!1;this.points.forEach(e=>{const i=e.position||e;this.extendBounds(t,i.lat,i.lng)&&(a=!0)}),this.routes.forEach((i,n)=>{const r=`hsl(${30*n%360}, 100%, 50%)`;new google.maps.Polyline({path:i.points,geodesic:!0,strokeColor:r,strokeOpacity:1,strokeWeight:3}).setMap(e),(i.points||[]).forEach(e=>{this.extendBounds(t,e.lat,e.lng)&&(a=!0)})}
82),a&&e.fitBounds(t),this.points.forEach(t=>{const a=Object.assign({map:e},t);new google.maps.Marker(a)})}}},Dt=(a(139),d(St,Mt,[],!1,null,null,null));Dt.options.__file="resources/assets/components/shared/ModalRouteMap.vue";var Lt=Dt.exports,Tt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{attrs:{title:e.modalTitle,size:"large"},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("div",{ref:"map",staticClass:"modal-map-point-picker__map"}),e._v(" "),e.readonly?e._e():a("div",{staticClass:"modal-map-point-picker__hint"},[e.picked?[e._v("\n        Selected: "+e._s(e.pickedLabel)+"\n      ")]:[e._v("\n        Click the map or drag the marker to set the exact point.\n      ")]],2)]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[e.readonly?e._e():a("c-button",{attrs:{disabled:!e.picked,variant:"primary"},on:{click:e.apply}},[e._v("Use this point")]),e._v(" "),a("c-button-close",{on:{click:e.close}})],1)])};Tt._withStripped=!0;var xt={name:"ModalMapPointPicker",model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},point:{type:Array,default:null},readonly:{type:Boolean,default:!1}},data:()=>({picked:null,map:null,marker:null}),computed:{mutableState:{get(){return this.state},set(e){this.$emit("close",e)}},modalTitle(){return this.readonly?"Location":"Pick a point on the map"},pickedLabel(){return this.picked?`${this.picked.lat.toFixed(5)}, ${this.picked.lng.toFixed(5)}`:""}},watch:{state:{immediate:!0,handler(e){e?this.scheduleInitMap():this.teardown()}}},beforeDestroy(){this.teardown()},methods:{close(){this.mutableState=!1},teardown(){this.map=null,this.marker=null,this.picked=null},scheduleInitMap(e=0){this.$nextTick(()=>{this.state&&(this.$refs.map&&window.google&&window.google.maps?this.initMap():e<20&&window.setTimeout(()=>this.scheduleInitMap(e+1),50))})},initMap(){const e=Array.isArray(this.point)&&2===this.point.length&&Number.isFinite(Number(this.point[0]))&&Number.isFinite(Number(this.point[1])),t=e?{lat:Number(this.point[0]),lng:Number(this.point[1])}:{lat:39.5,lng:-98.35};this.map=new window.google.maps.Map(this.$refs.map,{zoom:e?12:3,center:t,streetViewControl:!1,mapTypeControl:!0,mapTypeControlOptions:{mapTypeIds:[window.google.maps.MapTypeId.ROADMAP,window.google.maps.MapTypeId.SATELLITE],style:window.google.maps.MapTypeControlStyle.HORIZONTAL_BAR,position:window.google.maps.ControlPosition.TOP_RIGHT}}),this.map.data.loadGeoJson("/usa.json"),this.map.data.loadGeoJson("/canada.json"),this.map.data.setStyle({fillColor:"transparent",strokeColor:"blue",strokeWeight:1}),e&&this.setPoint(t),this.readonly||this.map.addListener("click",e=>{this.setPoint({lat:e.latLng.lat(),lng:e.latLng.lng()})})},setPoint(e){if(this.picked={lat:e.lat,lng:e.lng},!this.marker)return this.marker=new window.google.maps.Marker({position:e,map:this.map,draggable:!this.readonly}),void(this.readonly||this.marker.addListener("dragend",e=>{this.picked={lat:e.latLng.lat(),lng:e.latLng.lng()}}));this.marker.setPosition(e)},apply(){!this.readonly&&this.picked&&(this.$emit("pick",{lat:Number(this.picked.lat.toFixed(5)),lng:Number(this.picked.lng.toFixed(5))}),this.close())}}},Ct=(a(140),d(xt,Tt,[],!1,null,null,null));Ct.options.__file="resources/assets/components/shared/ModalMapPointPicker.vue";var Yt=Ct.exports,At=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"address-field"},[a("c-input-group",[a("label",[e._v(e._s(e.label))]),e._v(" "),a("div",{staticClass:"address-field__input-row"},[a("div",{staticClass:"address-field__input-wrap"},[a("div",{staticClass:"address-field__control"},[a("c-input-form",{attrs:{value:e.stop.input.value,"is-invalid":"error"===e.stop.status,placeholder:e.placeholder,"input-class":["c-select__input","address-field__smart-input"],autocomplete:"off"},on:{input:e.onInput,focus:e.onFocus,blur:e.onBlur},nativeOn:{paste:function(t){return e.onPaste(t)},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.movePointer(1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.movePointer(-1))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.onEnter(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeDropdown(t)}]}}),e._v(" "),a("span",{class:["address-field__affix","address-field__affix--status","address-field__affix--status-"+e.statusKind]},[a("c-icon",{attrs:{icon:e.statusIcon}})],1),e._v(" "),a("button",{staticClass:"address-field__affix address-field__affix--extended",attrs:{type:"button",title:"Edit address by fields"},on:{mousedown:function(e){e.preventDefault()},click:e.switchToExtended}},[a("c-icon",{attrs:{icon:"fa fa-list-ul"}})],1),e._v(" "),a("button",{class:["address-field__affix","address-field__affix--search",{"address-field__affix--search-required":e.needsResolve}],attrs:{type:"button",title:"Search"},on:{mousedown:function(e){e.preventDefault()},click:e.onEnter}},[a("c-icon",{attrs:{icon:"fa fa-search"}})],1)],1),e._v(" "),e.dropdownOpen&&e.options.length?a("div",{staticClass:"c-select__dropdown-menu"},[a("div",{staticClass:"c-select__dropdown-list"},e._l(e.options,function(t,i){return a("div",{key:t.id,class:["c-select__option",{"c-select__option--highlight":i===e.pointer}],on:{mouseover:function(t){e.pointer=i},mousedown:function(a){return a.preventDefault(),e.selectOption(t)}}},[e._v(e._s(t.value))])}
82),0)]):e._e()]),e._v(" "),a("c-button",{staticClass:"address-field__map",class:{"address-field__map--resolved":e.canOpenMap},attrs:{variant:"secondary",disabled:!e.canOpenMap,title:"View on map"},on:{click:e.openMap},nativeOn:{mousedown:function(e){e.preventDefault()}}},[a("c-icon",{attrs:{icon:"fa fa-map-marker"}})],1)],1),e._v(" "),a("address-field-status",{attrs:{stop:e.stop,"placeholder-hint":e.exampleHint,"needs-resolve":e.needsResolve},on:{"apply-suggestion":e.applySuggestion}})],1),e._v(" "),a("c-modal",{attrs:{title:"Edit address",size:"large"},model:{value:e.extendedModal,callback:function(t){e.extendedModal=t},expression:"extendedModal"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("address-field-parts",{attrs:{draft:e.stop.input.address,"us-states":e.usStates},on:{change:e.onPartChange,select:e.onPartSelect,apply:e.applyParts,cancel:e.cancelParts}})],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-close",{on:{click:e.cancelParts}})],1)])],1)};At._withStripped=!0;var Et=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.visible?a("div",{class:["address-field-status","address-field-status--"+e.tone]},[e.showHint?a("div",{staticClass:"address-field-status__line"},[a("span",{staticClass:"address-field-status__text"},[e._v(e._s(e.text))])]):e._e(),e._v(" "),e.messages.length?a("ul",{staticClass:"address-field-status__messages"},e._l(e.messages,function(t,i){return a("li",{key:i},[e._v(e._s(t))])}),0):e._e(),e._v(" "),e.suggestions.length?a("div",{staticClass:"address-field-status__suggestions"},[a("span",{staticClass:"address-field-status__suggestions-label"},[e._v("Did you mean:")]),e._v(" "),e._l(e.suggestions,function(t,i){return a("c-link",{key:i,staticClass:"address-field-status__suggestion",on:{click:function(a){return a.preventDefault(),e.$emit("apply-suggestion",t)}}},[e._v(e._s(t.formatted))])})],2):e._e()]):e._e()};Et._withStripped=!0;var Ot={name:"AddressFieldStatus",props:{stop:{type:Object,required:!0},placeholderHint:{type:String,default:"Examples: 60446 · Romeoville, IL · 1100 W Taylor Rd, Romeoville, IL 60446"},needsResolve:{type:Boolean,default:!1}},computed:{tone(){return"pending"===this.stop.status?"muted":"loading"===this.stop.status?"muted":"error"===this.stop.status?"error":"warning"===this.stop.validation.status?"warning":"verified"===this.stop.validation.status?"verified":"muted"},showHint(){return this.needsResolve||"resolved"!==this.stop.status},visible(){return this.showHint||this.messages.length>0||this.suggestions.length>0},text(){return this.needsResolve?"Click the Search button 🔍 to validate the address":"pending"===this.stop.status?this.placeholderHint:"loading"===this.stop.status?"Validating address…":"error"===this.stop.status?this.stop.result.formatted||"Address could not be resolved":this.stop.result.formatted||""},messages(){const e=this.stop.validation||{};return[].concat(e.errors||[]).concat(e.warnings||[]).map(e=>e.message).filter(Boolean)},suggestions(){return this.stop.validation&&this.stop.validation.suggestions||[]}}},It=(a(141),d(Ot,Et,[],!1,null,null,null));It.options.__file="resources/assets/components/shared/AddressField/AddressFieldStatus.vue";var Ft=It.exports,Pt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"address-field-parts"},[a("div",{staticClass:"address-field-parts__row"},[a("c-input-group",[a("label",[e._v("Street")]),e._v(" "),a("c-input-form",{attrs:{value:e.draft.street},on:{input:function(t){return e.change("street",t)}}})],1)],1),e._v(" "),a("div",{staticClass:"address-field-parts__row"},[a("c-input-group",[a("label",[e._v("City *")]),e._v(" "),a("address-input",{attrs:{value:e.draft.city,"selected-label":"city"},on:{change:function(t){return e.change("city",t)},select:function(t){return e.$emit("select",t)}}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("State *")]),e._v(" "),a("c-select",{attrs:{value:e.draft.state,options:e.usStates,"dropdown-label":"value","selected-label":"id","incoming-label":"id"},on:{change:function(t){return e.change("state",t)}}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("Zip")]),e._v(" "),a("address-input",{attrs:{value:e.draft.zip,"selected-label":"zip"},on:{change:function(t){return e.change("zip",t)},select:function(t){return e.$emit("select",t)}}})],1)],1),e._v(" "),a("div",{staticClass:"address-field-parts__actions"},[a("c-button",{attrs:{variant:"primary"},on:{click:function(t){return e.$emit("apply")}}},[e._v("Apply")]),e._v(" "),a("c-button",{attrs:{variant:"secondary"},on:{click:function(t){return e.$emit("cancel")}}},[e._v("Cancel")])],1)])};Pt._withStripped=!0;var jt={name:"AddressFieldParts",props:{draft:{type:Object,required:!0},usStates:{type:Array,default:()=>[]}},methods:{change(e,t){this.$emit("change",{part:e,value:t})}}},Ht=(a(142),d(jt,Pt,[],!1,null,null,null));Ht.options.__file="resources/assets/components/shared/AddressField/AddressFieldParts.vue";const $t="trips/formExtended";var Nt={name:"AddressField",components:{AddressFieldStatus:Ft,AddressFieldParts:Ht.exports},props:{stop:{type:Object,required:!0},usStates:{type:Array,default:()=>[]},placeholder:{type:String,default:"Enter ZIP, city & state, or full address"},exampleHint:{type:String,default:"Examples: 60446 · Romeoville, IL · 1100 W Taylor Rd, Romeoville, IL 60446"},label:{type:String,default:"Address *"}},data:()=>({options:[],dropdownOpen:!1,pointer:-1,debounceTimerId:null,searchSeq:0,lastResolvedValue:null}),computed:{isExtended(){return!(!this.stop.ui||!this.stop.ui.extended)},extendedModal:{get(){return this.isExtended},set(e){e||this.cancelParts()}},needsResolve(){if("loading"===this.stop.status)return!1;const e=(this.stop.input.value||"").trim();return!!e&&e!==(this.lastResolvedValue||"").trim()},statusKind(){return"loading"===this.stop.status?"loading":this.needsResolve?"unconfirmed":"pending"===this.stop.status?"pending":"error"===this.stop.status?"error":this.stop.validation&&"warning"===this.stop.validation.status?"warning":"resolved"===this.stop.status?"resolved":"pending"},statusIcon(){switch(this.statusKind){case"loading":return"fa fa-spinner fa-spin";
82case"unconfirmed":return"fa fa-question-circle";case"error":return"fa fa-times-circle";case"warning":return"fa fa-exclamation-triangle";case"resolved":return"fa fa-check-circle";default:return"fa fa-map-marker"}},hasMapPoint(){const e=this.stop.result&&this.stop.result.point;return Array.isArray(e)&&e.length>=2&&null!=e[0]&&null!=e[1]},canOpenMap(){return"resolved"===this.stop.status&&this.hasMapPoint}},watch:{"stop.status":{immediate:!0,handler(e){"resolved"===e&&(this.lastResolvedValue=this.stop.input.value)}}},beforeDestroy(){this.clearDebounce()},methods:{clearDebounce(){this.debounceTimerId&&(clearTimeout(this.debounceTimerId),this.debounceTimerId=null)},onFocus(){this.options.length&&(this.dropdownOpen=!0)},onInput(e){this.$store.commit(`${$t}/setInputValue`,{id:this.stop.id,value:e}),this.scheduleAutocomplete(e)},onPaste(){this.$nextTick(()=>{this.clearDebounce(),this.closeDropdown(),this.resolveLine(this.stop.input.value)})},onEnter(){this.dropdownOpen&&this.pointer>=0&&this.options[this.pointer]?this.selectOption(this.options[this.pointer]):(this.clearDebounce(),this.closeDropdown(),this.resolveLine(this.stop.input.value))},onBlur(){this.clearDebounce(),this.closeDropdown()},async resolvePending(){if(this.clearDebounce(),this.closeDropdown(),"resolved"===this.stop.status)return;const e=(this.stop.input.value||"").trim();e&&e!==this.lastResolvedValue&&await this.resolveLine(e)},closeDropdown(){this.dropdownOpen=!1,this.pointer=-1},movePointer(e){if(!this.dropdownOpen||!this.options.length)return;const t=this.pointer+e;t<0?this.pointer=this.options.length-1:t>=this.options.length?this.pointer=0:this.pointer=t},scheduleAutocomplete(e){this.clearDebounce();const t=(e||"").trim();if(t.length<3)return this.options=[],void this.closeDropdown();this.debounceTimerId=setTimeout(()=>this.runAutocomplete(t),350)},async runAutocomplete(e){this.searchSeq+=1;const t=this.searchSeq,a=/^\d+\s+\S/.test(e),[i,n]=a?await M.k.searchStreet(e):await M.k.searchOneLine(e);if(t===this.searchSeq){if(i)return this.options=[],void this.closeDropdown();this.options=n&&n.data&&n.data.data||[],this.dropdownOpen=this.options.length>0,this.pointer=-1}},selectOption(e){this.closeDropdown();const t=e.query||this.stop.input.value||e.value;this.$store.commit(`${$t}/setInputValue`,{id:this.stop.id,value:e.value}),["street","city","state","zip"].forEach(t=>{this.$store.commit(`${$t}/setInputAddressPart`,{id:this.stop.id,part:t,value:e[t]||null})}),this.lastResolvedValue=e.value,this.$store.dispatch(`${$t}/resolveParts`,{id:this.stop.id,query:t,inputType:"oneline"})},async resolveLine(e){this.lastResolvedValue=e,await this.$store.dispatch(`${$t}/resolveLine`,{id:this.stop.id,value:e})},async switchToExtended(){await this.resolvePending(),this.$store.commit(`${$t}/openExtended`,this.stop.id)},openMap(){this.canOpenMap&&this.$emit("open-map")},cancelParts(){this.$store.commit(`${$t}/closeExtended`,this.stop.id)},onPartChange({part:e,value:t}){this.$store.commit(`${$t}/setInputAddressPart`,{id:this.stop.id,part:e,value:t})},onPartSelect(e){e&&["city","state","zip"].forEach(t=>{this.$store.commit(`${$t}/setInputAddressPart`,{id:this.stop.id,part:t,value:e[t]||null})})},applyParts(){return this.$store.dispatch(`${$t}/resolveParts`,{id:this.stop.id,inputType:"extended"})},applySuggestion(e){this.$store.dispatch(`${$t}/applySuggestion`,{id:this.stop.id,suggestion:e})}}},qt=(a(143),d(Nt,At,[],!1,null,null,null));qt.options.__file="resources/assets/components/shared/AddressField/AddressField.vue";var Rt=qt.exports,Bt={install(e){e.directive("click-outside",{bind(e,t,a){if("function"!=typeof t.value){const e=a.context.name;let i=`[vue-click-outside:] provided expression '${t.expression}' is not a function, but has to be`;e&&(i+=`Found in component '${e}'`),console.warn(i)}const i=a=>{e.contains(a.target)||e===a.target||t.value(a)};e.__vueClickOutside__=i,document.addEventListener("click",i)},unbind(e){document.removeEventListener("click",e.__vueClickOutside__),e.__vueClickOutside__=null}})}},Wt={install(e){e.directive("mousedown-outside",{bind(e,t,a){if("function"!=typeof t.value){const e=a.context.name;let i=`[vue-mousedown-outside:] provided expression '${t.expression}' is not a function, but has to be`;e&&(i+=`Found in component '${e}'`),console.warn(i)}const i=a=>{e.contains(a.target)||e===a.target||t.value(a)};e.__vueClickOutside__=i,document.addEventListener("mousedown",i)},unbind(e){document.removeEventListener("mousedown",e.__vueClickOutside__),e.__vueClickOutside__=null}})}},zt={install(e){e.directive("mouseup-on-document",{bind(e,t,a){if("function"!=typeof t.value){const e=a.context.name;let i=`[vue-mouseup-on-document:] provided expression '${t.expression}' is not a function, but has to be`;e&&(i+=`Found in component '${e}'`),console.warn(i)}const i=e=>{t.value(e)};e.__vueDocumentMouseup__=i,document.addEventListener("mouseup",i)},unbind(e){document.removeEventListener("mouseup",e.__vueDocumentMouseup__),e.__vueDocumentMouseup__=null}})}};const Ut=[];let Vt=!1;const Gt=e=>{27===e.which&&Ut.length&&Ut[Ut.length-1](e)};var Jt={install(e){e.directive("esc",{bind(e,t,a){if("function"!=typeof t.value){const e=a.context.name;let i=`[vue-esc-handler:] provided expression '${t.expression}' is not a function, but has to be`;e&&(i+=`Found in component '${e}'`),console.warn(i)}Ut.push(t.value),e.__vueEscHandler__=t.value,Vt||(document.addEventListener("keyup",Gt),Vt=!0)},unbind(e){const t=Ut.indexOf(e.__vueEscHandler__);~t&&Ut.splice(t,1),Ut.length||(document.removeEventListener("keyup",Gt),Vt=!1)}})}},Kt=a(92),Qt=a.n(Kt),Zt={install(e){e.directive("mask",{bind(e,t){Qt()(t.value).mask(e)}})}};function Xt(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function ea(e,t){for(var a in t)e[a]=t[a];return e}var ta={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var a=t.props,i=t.children,n=t.parent,r=t.data;r.routerView=!0;for(var s=n.$createElement,o=a.name,l=n.$route,c=n._routerViewCache||(n._routerViewCache={}),u=0,d=!1;n&&n._routerRoot!==n;){var p=n.$vnode&&n.$vnode.data;p&&(p.routerView&&u++,p.keepAlive&&n._inactive&&(d=!0)),n=n.$parent}if(r.routerViewDepth=u,d)return s(c[o],r,i);var m=l.matched[u];
82if(!m)return c[o]=null,s();var h=c[o]=m.components[o];r.registerRouteInstance=function(e,t){var a=m.instances[o];(t&&a!==e||!t&&a===e)&&(m.instances[o]=t)},(r.hook||(r.hook={})).prepatch=function(e,t){m.instances[o]=t.componentInstance},r.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==m.instances[o]&&(m.instances[o]=e.componentInstance)};var f=r.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(l,m.props&&m.props[o]);if(f){f=r.props=ea({},f);var _=r.attrs=r.attrs||{};for(var v in f)h.props&&v in h.props||(_[v]=f[v],delete f[v])}return s(h,r,i)}};var aa=/[!'()*]/g,ia=function(e){return"%"+e.charCodeAt(0).toString(16)},na=/%2C/g,ra=function(e){return encodeURIComponent(e).replace(aa,ia).replace(na,",")},sa=decodeURIComponent;function oa(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var a=e.replace(/\+/g," ").split("="),i=sa(a.shift()),n=a.length>0?sa(a.join("=")):null;void 0===t[i]?t[i]=n:Array.isArray(t[i])?t[i].push(n):t[i]=[t[i],n]}),t):t}function la(e){var t=e?Object.keys(e).map(function(t){var a=e[t];if(void 0===a)return"";if(null===a)return ra(t);if(Array.isArray(a)){var i=[];return a.forEach(function(e){void 0!==e&&(null===e?i.push(ra(t)):i.push(ra(t)+"="+ra(e)))}),i.join("&")}return ra(t)+"="+ra(a)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}var ca=/\/?$/;function ua(e,t,a,i){var n=i&&i.options.stringifyQuery,r=t.query||{};try{r=da(r)}catch(e){}var s={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:r,params:t.params||{},fullPath:ma(t,n),matched:e?function(e){var t=[];for(;e;)t.unshift(e),e=e.parent;return t}(e):[]};return a&&(s.redirectedFrom=ma(a,n)),Object.freeze(s)}function da(e){if(Array.isArray(e))return e.map(da);if(e&&"object"==typeof e){var t={};for(var a in e)t[a]=da(e[a]);return t}return e}var pa=ua(null,{path:"/"});function ma(e,t){var a=e.path,i=e.query;void 0===i&&(i={});var n=e.hash;return void 0===n&&(n=""),(a||"/")+(t||la)(i)+n}function ha(e,t){return t===pa?e===t:!!t&&(e.path&&t.path?e.path.replace(ca,"")===t.path.replace(ca,"")&&e.hash===t.hash&&fa(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&fa(e.query,t.query)&&fa(e.params,t.params)))}function fa(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var a=Object.keys(e),i=Object.keys(t);return a.length===i.length&&a.every(function(a){var i=e[a],n=t[a];return"object"==typeof i&&"object"==typeof n?fa(i,n):String(i)===String(n)})}var _a,va=[String,Object],ga=[String,Array],ya={name:"RouterLink",props:{to:{type:va,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:ga,default:"click"}},render:function(e){var t=this,a=this.$router,i=this.$route,n=a.resolve(this.to,i,this.append),r=n.location,s=n.route,o=n.href,l={},c=a.options.linkActiveClass,u=a.options.linkExactActiveClass,d=null==c?"router-link-active":c,p=null==u?"router-link-exact-active":u,m=null==this.activeClass?d:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,f=r.path?ua(null,r,null,a):s;l[h]=ha(i,f),l[m]=this.exact?l[h]:function(e,t){return 0===e.path.replace(ca,"/").indexOf(t.path.replace(ca,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var a in t)if(!(a in e))return!1;return!0}(e.query,t.query)}(i,f);var _=function(e){ba(e)&&(t.replace?a.replace(r):a.push(r))},v={click:ba};Array.isArray(this.event)?this.event.forEach(function(e){v[e]=_}):v[this.event]=_;var g={class:l};if("a"===this.tag)g.on=v,g.attrs={href:o};else{var y=function e(t){if(t)for(var a,i=0;i<t.length;i++){if("a"===(a=t[i]).tag)return a;
82if(a.children&&(a=e(a.children)))return a}}(this.$slots.default);if(y)y.isStatic=!1,(y.data=ea({},y.data)).on=v,(y.data.attrs=ea({},y.data.attrs)).href=o;else g.on=v}return e(this.tag,g,this.$slots.default)}};function ba(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}var ka="undefined"!=typeof window;function wa(e,t,a){var i=e.charAt(0);if("/"===i)return e;if("?"===i||"#"===i)return t+e;var n=t.split("/");a&&n[n.length-1]||n.pop();for(var r=e.replace(/^\//,"").split("/"),s=0;s<r.length;s++){var o=r[s];".."===o?n.pop():"."!==o&&n.push(o)}return""!==n[0]&&n.unshift(""),n.join("/")}function Ma(e){return e.replace(/\/\//g,"/")}var Sa=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},Da=Na,La=Aa,Ta=function(e,t){return Ia(Aa(e,t))},xa=Ia,Ca=$a,Ya=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Aa(e,t){for(var a,i=[],n=0,r=0,s="",o=t&&t.delimiter||"/";null!=(a=Ya.exec(e));){var l=a[0],c=a[1],u=a.index;if(s+=e.slice(r,u),r=u+l.length,c)s+=c[1];else{var d=e[r],p=a[2],m=a[3],h=a[4],f=a[5],_=a[6],v=a[7];s&&(i.push(s),s="");var g=null!=p&&null!=d&&d!==p,y="+"===_||"*"===_,b="?"===_||"*"===_,k=a[2]||o,w=h||f;i.push({name:m||n++,prefix:p||"",delimiter:k,optional:b,repeat:y,partial:g,asterisk:!!v,pattern:w?Pa(w):v?".*":"[^"+Fa(k)+"]+?"})}}return r<e.length&&(s+=e.substr(r)),s&&i.push(s),i}function Ea(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function Oa(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function Ia(e){for(var t=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(t[a]=new RegExp("^(?:"+e[a].pattern+")$"));return function(a,i){for(var n="",r=a||{},s=(i||{}).pretty?Ea:encodeURIComponent,o=0;o<e.length;o++){var l=e[o];if("string"!=typeof l){var c,u=r[l.name];if(null==u){if(l.optional){l.partial&&(n+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(Sa(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<u.length;d++){if(c=s(u[d]),!t[o].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");n+=(0===d?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?Oa(u):s(u),!t[o].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');n+=l.prefix+c}}else n+=l}return n}}function Fa(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Pa(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function ja(e,t){return e.keys=t,e}function Ha(e){return e.sensitive?"":"i"}function $a(e,t,a){Sa(t)||(a=t||a,t=[]);for(var i=(a=a||{}).strict,n=!1!==a.end,r="",s=0;s<e.length;s++){var o=e[s];if("string"==typeof o)r+=Fa(o);else{var l=Fa(o.prefix),c="(?:"+o.pattern+")";t.push(o),o.repeat&&(c+="(?:"+l+c+")*"),r+=c=o.optional?o.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")"}}var u=Fa(a.delimiter||"/"),d=r.slice(-u.length)===u;return i||(r=(d?r.slice(0,-u.length):r)+"(?:"+u+"(?=$))?"),r+=n?"$":i&&d?"":"(?="+u+"|$)",ja(new RegExp("^"+r,Ha(a)),t)}function Na(e,t,a){return Sa(t)||(a=t||a,t=[]),a=a||{},e instanceof RegExp?function(e,t){var a=e.source.match(/\((?!\?)/g);if(a)for(var i=0;i<a.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return ja(e,t)}(e,t):Sa(e)?function(e,t,a){for(var i=[],n=0;n<e.length;n++)i.push(Na(e[n],t,a).source);return ja(new RegExp("(?:"+i.join("|")+")",Ha(a)),t)}(e,t,a):function(e,t,a){return $a(Aa(e,a),t,a)}(e,t,a)}Da.parse=La,Da.compile=Ta,Da.tokensToFunction=xa,Da.tokensToRegExp=Ca;var qa=Object.create(null);function Ra(e,t,a){t=t||{};try{var i=qa[e]||(qa[e]=Da.compile(e));return t.pathMatch&&(t[0]=t.pathMatch),i(t,{pretty:!0})}catch(e){return""}finally{delete t[0]}}function Ba(e,t,a,i){var n=t||[],r=a||Object.create(null),s=i||Object.create(null);e.forEach(function(e){!function e(t,a,i,n,r,s){var o=n.path;var l=n.name;0;var c=n.pathToRegexpOptions||{};var u=function(e,t,a){a||(e=e.replace(/\/$/,""));if("/"===e[0])return e;if(null==t)return e;return Ma(t.path+"/"+e)}(o,r,c.strict);"boolean"==typeof n.caseSensitive&&(c.sensitive=n.caseSensitive);var d={path:u,regex:function(e,t){var a=Da(e,[],t);0;return a}(u,c),components:n.components||{default:n.component},instances:{},name:l,parent:r,matchAs:s,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};
82n.children&&n.children.forEach(function(n){var r=s?Ma(s+"/"+n.path):void 0;e(t,a,i,n,d,r)});if(void 0!==n.alias){var p=Array.isArray(n.alias)?n.alias:[n.alias];p.forEach(function(s){var o={path:s,children:n.children};e(t,a,i,o,r,d.path||"/")})}a[d.path]||(t.push(d.path),a[d.path]=d);l&&(i[l]||(i[l]=d))}(n,r,s,e)});for(var o=0,l=n.length;o<l;o++)"*"===n[o]&&(n.push(n.splice(o,1)[0]),l--,o--);return{pathList:n,pathMap:r,nameMap:s}}function Wa(e,t,a,i){var n="string"==typeof e?{path:e}:e;if(n._normalized)return n;if(n.name)return ea({},e);if(!n.path&&n.params&&t){(n=ea({},n))._normalized=!0;var r=ea(ea({},t.params),n.params);if(t.name)n.name=t.name,n.params=r;else if(t.matched.length){var s=t.matched[t.matched.length-1].path;n.path=Ra(s,r,t.path)}else 0;return n}var o=function(e){var t="",a="",i=e.indexOf("#");i>=0&&(t=e.slice(i),e=e.slice(0,i));var n=e.indexOf("?");return n>=0&&(a=e.slice(n+1),e=e.slice(0,n)),{path:e,query:a,hash:t}}(n.path||""),l=t&&t.path||"/",c=o.path?wa(o.path,l,a||n.append):l,u=function(e,t,a){void 0===t&&(t={});var i,n=a||oa;try{i=n(e||"")}catch(e){i={}}for(var r in t)i[r]=t[r];return i}(o.query,n.query,i&&i.options.parseQuery),d=n.hash||o.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:c,query:u,hash:d}}function za(e,t){var a=Ba(e),i=a.pathList,n=a.pathMap,r=a.nameMap;function s(e,a,s){var o=Wa(e,a,!1,t),c=o.name;if(c){var u=r[c];if(!u)return l(null,o);var d=u.regex.keys.filter(function(e){return!e.optional}).map(function(e){return e.name});if("object"!=typeof o.params&&(o.params={}),a&&"object"==typeof a.params)for(var p in a.params)!(p in o.params)&&d.indexOf(p)>-1&&(o.params[p]=a.params[p]);if(u)return o.path=Ra(u.path,o.params),l(u,o,s)}else if(o.path){o.params={};for(var m=0;m<i.length;m++){var h=i[m],f=n[h];if(Ua(f.regex,o.path,o.params))return l(f,o,s)}}return l(null,o)}function o(e,a){var i=e.redirect,n="function"==typeof i?i(ua(e,a,null,t)):i;if("string"==typeof n&&(n={path:n}),!n||"object"!=typeof n)return l(null,a);var o=n,c=o.name,u=o.path,d=a.query,p=a.hash,m=a.params;if(d=o.hasOwnProperty("query")?o.query:d,p=o.hasOwnProperty("hash")?o.hash:p,m=o.hasOwnProperty("params")?o.params:m,c){r[c];return s({_normalized:!0,name:c,query:d,hash:p,params:m},void 0,a)}if(u){var h=function(e,t){return wa(e,t.parent?t.parent.path:"/",!0)}(u,e);return s({_normalized:!0,path:Ra(h,m),query:d,hash:p},void 0,a)}return l(null,a)}function l(e,a,i){return e&&e.redirect?o(e,i||a):e&&e.matchAs?function(e,t,a){var i=s({_normalized:!0,path:Ra(a,t.params)});if(i){var n=i.matched,r=n[n.length-1];return t.params=i.params,l(r,t)}return l(null,t)}(0,a,e.matchAs):ua(e,a,i,t)}return{match:s,addRoutes:function(e){Ba(e,i,n,r)}}}function Ua(e,t,a){var i=t.match(e);if(!i)return!1;if(!a)return!0;for(var n=1,r=i.length;n<r;++n){var s=e.keys[n-1],o="string"==typeof i[n]?decodeURIComponent(i[n]):i[n];s&&(a[s.name||"pathMatch"]=o)}return!0}var Va=Object.create(null);function Ga(){window.history.replaceState({key:ri()},"",window.location.href.replace(window.location.origin,"")),window.addEventListener("popstate",function(e){Ka(),e.state&&e.state.key&&function(e){ii=e}(e.state.key)})}function Ja(e,t,a,i){if(e.app){var n=e.options.scrollBehavior;n&&e.app.$nextTick(function(){var r=function(){var e=ri();if(e)return Va[e]}(),s=n.call(e,t,a,i?r:null);s&&("function"==typeof s.then?s.then(function(e){ei(e,r)}).catch(function(e){0}):ei(s,r))})}}function Ka(){var e=ri();e&&(Va[e]={x:window.pageXOffset,y:window.pageYOffset})}function Qa(e){return Xa(e.x)||Xa(e.y)}function Za(e){return{x:Xa(e.x)?e.x:window.pageXOffset,y:Xa(e.y)?e.y:window.pageYOffset}}function Xa(e){return"number"==typeof e}function ei(e,t){var a="object"==typeof e;if(a&&"string"==typeof e.selector){var i=document.querySelector(e.selector);if(i){var n=e.offset&&"object"==typeof e.offset?e.offset:{};t=function(e,t){var a=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-a.left-t.x,y:i.top-a.top-t.y}}(i,n=function(e){return{x:Xa(e.x)?e.x:0,y:Xa(e.y)?e.y:0}}(n))}else Qa(e)&&(t=Za(e))}else a&&Qa(e)&&(t=Za(e));t&&window.scrollTo(t.x,t.y)}var ti=ka&&function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),ai=ka&&window.performance&&window.performance.now?window.performance:Date,ii=ni();function ni(){return ai.now().toFixed(3)}function ri(){return ii}function si(e,t){Ka();var a=window.history;try{t?a.replaceState({key:ii},"",e):(ii=ni(),a.pushState({key:ii},"",e))}catch(a){window.location[t?"replace":"assign"](e)}}function oi(e){si(e,!0)}function li(e,t,a){var i=function(n){n>=e.length?a():e[n]?t(e[n],function(){i(n+1)}):i(n+1)};i(0)}function ci(e){return function(t,a,i){var n=!1,r=0,s=null;ui(e,function(e,t,a,o){if("function"==typeof e&&void 0===e.cid){n=!0,r++;
82var l,c=mi(function(t){(function(e){return e.__esModule||pi&&"Module"===e[Symbol.toStringTag]})(t)&&(t=t.default),e.resolved="function"==typeof t?t:_a.extend(t),a.components[o]=t,--r<=0&&i()}),u=mi(function(e){var t="Failed to resolve async component "+o+": "+e;s||(s=Xt(e)?e:new Error(t),i(s))});try{l=e(c,u)}catch(e){u(e)}if(l)if("function"==typeof l.then)l.then(c,u);else{var d=l.component;d&&"function"==typeof d.then&&d.then(c,u)}}}),n||i()}}function ui(e,t){return di(e.map(function(e){return Object.keys(e.components).map(function(a){return t(e.components[a],e.instances[a],e,a)})}))}function di(e){return Array.prototype.concat.apply([],e)}var pi="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function mi(e){var t=!1;return function(){for(var a=[],i=arguments.length;i--;)a[i]=arguments[i];if(!t)return t=!0,e.apply(this,a)}}var hi=function(e,t){this.router=e,this.base=function(e){if(!e)if(ka){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=pa,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function fi(e,t,a,i){var n=ui(e,function(e,i,n,r){var s=function(e,t){"function"!=typeof e&&(e=_a.extend(e));return e.options[t]}(e,t);if(s)return Array.isArray(s)?s.map(function(e){return a(e,i,n,r)}):a(s,i,n,r)});return di(i?n.reverse():n)}function _i(e,t){if(t)return function(){return e.apply(t,arguments)}}hi.prototype.listen=function(e){this.cb=e},hi.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},hi.prototype.onError=function(e){this.errorCbs.push(e)},hi.prototype.transitionTo=function(e,t,a){var i=this,n=this.router.match(e,this.current);this.confirmTransition(n,function(){i.updateRoute(n),t&&t(n),i.ensureURL(),i.ready||(i.ready=!0,i.readyCbs.forEach(function(e){e(n)}))},function(e){a&&a(e),e&&!i.ready&&(i.ready=!0,i.readyErrorCbs.forEach(function(t){t(e)}))})},hi.prototype.confirmTransition=function(e,t,a){var i=this,n=this.current,r=function(e){Xt(e)&&(i.errorCbs.length?i.errorCbs.forEach(function(t){t(e)}):console.error(e)),a&&a(e)};if(ha(e,n)&&e.matched.length===n.matched.length)return this.ensureURL(),r();var s=function(e,t){var a,i=Math.max(e.length,t.length);for(a=0;a<i&&e[a]===t[a];a++);return{updated:t.slice(0,a),activated:t.slice(a),deactivated:e.slice(a)}}(this.current.matched,e.matched),o=s.updated,l=s.deactivated,c=s.activated,u=[].concat(function(e){return fi(e,"beforeRouteLeave",_i,!0)}(l),this.router.beforeHooks,function(e){return fi(e,"beforeRouteUpdate",_i)}(o),c.map(function(e){return e.beforeEnter}),ci(c));this.pending=e;var d=function(t,a){if(i.pending!==e)return r();try{t(e,n,function(e){!1===e||Xt(e)?(i.ensureURL(!0),r(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(r(),"object"==typeof e&&e.replace?i.replace(e):i.push(e)):a(e)})}catch(e){r(e)}};li(u,d,function(){var a=[];li(function(e,t,a){return fi(e,"beforeRouteEnter",function(e,i,n,r){return function(e,t,a,i,n){return function(r,s,o){return e(r,s,function(e){o(e),"function"==typeof e&&i.push(function(){!function e(t,a,i,n){a[i]&&!a[i]._isBeingDestroyed?t(a[i]):n()&&setTimeout(function(){e(t,a,i,n)},16)}(e,t.instances,a,n)})})}}(e,n,r,t,a)})}(c,a,function(){return i.current===e}).concat(i.router.resolveHooks),d,function(){if(i.pending!==e)return r();i.pending=null,t(e),i.router.app&&i.router.app.$nextTick(function(){a.forEach(function(e){e()})})})})},hi.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(a){a&&a(e,t)})};var vi=function(e){function t(t,a){var i=this;e.call(this,t,a);var n=t.options.scrollBehavior,r=ti&&n;r&&Ga();var s=gi(this.base);window.addEventListener("popstate",function(e){var a=i.current,n=gi(i.base);i.current===pa&&n===s||i.transitionTo(n,function(e){r&&Ja(t,e,a,!0)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,a){var i=this,n=this.current;this.transitionTo(e,function(e){si(Ma(i.base+e.fullPath)),Ja(i.router,e,n,!1),t&&t(e)},a)},t.prototype.replace=function(e,t,a){var i=this,n=this.current;this.transitionTo(e,function(e){oi(Ma(i.base+e.fullPath)),Ja(i.router,e,n,!1),t&&t(e)},a)},t.prototype.ensureURL=function(e){if(gi(this.base)!==this.current.fullPath){var t=Ma(this.base+this.current.fullPath);e?si(t):oi(t)}},t.prototype.getCurrentLocation=function(){return gi(this.base)},t}(hi);function gi(e){var t=decodeURI(window.location.pathname);
82return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var yi=function(e){function t(t,a,i){e.call(this,t,a),i&&function(e){var t=gi(e);if(!/^\/#/.test(t))return window.location.replace(Ma(e+"/#"+t)),!0}(this.base)||bi()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this,t=this.router.options.scrollBehavior,a=ti&&t;a&&Ga(),window.addEventListener(ti?"popstate":"hashchange",function(){var t=e.current;bi()&&e.transitionTo(ki(),function(i){a&&Ja(e.router,i,t,!0),ti||Si(i.fullPath)})})},t.prototype.push=function(e,t,a){var i=this,n=this.current;this.transitionTo(e,function(e){Mi(e.fullPath),Ja(i.router,e,n,!1),t&&t(e)},a)},t.prototype.replace=function(e,t,a){var i=this,n=this.current;this.transitionTo(e,function(e){Si(e.fullPath),Ja(i.router,e,n,!1),t&&t(e)},a)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;ki()!==t&&(e?Mi(t):Si(t))},t.prototype.getCurrentLocation=function(){return ki()},t}(hi);function bi(){var e=ki();return"/"===e.charAt(0)||(Si("/"+e),!1)}function ki(){var e=window.location.href,t=e.indexOf("#");if(t<0)return"";var a=(e=e.slice(t+1)).indexOf("?");if(a<0){var i=e.indexOf("#");e=i>-1?decodeURI(e.slice(0,i))+e.slice(i):decodeURI(e)}else a>-1&&(e=decodeURI(e.slice(0,a))+e.slice(a));return e}function wi(e){var t=window.location.href,a=t.indexOf("#");return(a>=0?t.slice(0,a):t)+"#"+e}function Mi(e){ti?si(wi(e)):window.location.hash=e}function Si(e){ti?oi(wi(e)):window.location.replace(wi(e))}var Di=function(e){function t(t,a){e.call(this,t,a),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,a){var i=this;this.transitionTo(e,function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)},a)},t.prototype.replace=function(e,t,a){var i=this;this.transitionTo(e,function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)},a)},t.prototype.go=function(e){var t=this,a=this.index+e;if(!(a<0||a>=this.stack.length)){var i=this.stack[a];this.confirmTransition(i,function(){t.index=a,t.updateRoute(i)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(hi),Li=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=za(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!ti&&!1!==e.fallback,this.fallback&&(t="hash"),ka||(t="abstract"),this.mode=t,t){case"history":this.history=new vi(this,e.base);break;case"hash":this.history=new yi(this,e.base,this.fallback);break;case"abstract":this.history=new Di(this,e.base);break;default:0}},Ti={currentRoute:{configurable:!0}};function xi(e,t){return e.push(t),function(){var a=e.indexOf(t);a>-1&&e.splice(a,1)}}Li.prototype.match=function(e,t,a){return this.matcher.match(e,t,a)},Ti.currentRoute.get=function(){return this.history&&this.history.current},Li.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var a=t.apps.indexOf(e);a>-1&&t.apps.splice(a,1),t.app===e&&(t.app=t.apps[0]||null)}),!this.app){this.app=e;var a=this.history;if(a instanceof vi)a.transitionTo(a.getCurrentLocation());else if(a instanceof yi){var i=function(){a.setupListeners()};a.transitionTo(a.getCurrentLocation(),i,i)}a.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},Li.prototype.beforeEach=function(e){return xi(this.beforeHooks,e)},Li.prototype.beforeResolve=function(e){return xi(this.resolveHooks,e)},Li.prototype.afterEach=function(e){return xi(this.afterHooks,e)},Li.prototype.onReady=function(e,t){this.history.onReady(e,t)},Li.prototype.onError=function(e){this.history.onError(e)},Li.prototype.push=function(e,t,a){this.history.push(e,t,a)},Li.prototype.replace=function(e,t,a){this.history.replace(e,t,a)},Li.prototype.go=function(e){this.history.go(e)},Li.prototype.back=function(){this.go(-1)},Li.prototype.forward=function(){this.go(1)},Li.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},Li.prototype.resolve=function(e,t,a){var i=Wa(e,t=t||this.history.current,a,this),n=this.match(i,t),r=n.redirectedFrom||n.fullPath;return{location:i,route:n,href:function(e,t,a){var i="hash"===a?"#"+t:t;return e?Ma(e+"/"+i):i}(this.history.base,r,this.mode),normalizedTo:i,resolved:n}},Li.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==pa&&this.history.transitionTo(this.history.getCurrentLocation())}
82,Object.defineProperties(Li.prototype,Ti),Li.install=function e(t){if(!e.installed||_a!==t){e.installed=!0,_a=t;var a=function(e){return void 0!==e},i=function(e,t){var i=e.$options._parentVnode;a(i)&&a(i=i.data)&&a(i=i.registerRouteInstance)&&i(e,t)};t.mixin({beforeCreate:function(){a(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,i(this,this)},destroyed:function(){i(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",ta),t.component("RouterLink",ya);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}},Li.version="3.0.6",ka&&window.Vue&&window.Vue.use(Li);var Ci=Li,Yi=function(){var e=this.$createElement;return(this._self._c||e)("div",[this._v("There will be documentation, someday =)")])};Yi._withStripped=!0;var Ai=d({name:"Documentation"},Yi,[],!1,null,null,null);Ai.options.__file="resources/assets/components/docs/Documentation/Documentation.vue";Ai.exports;var Ei=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"shell"},[a("shell-header",{attrs:{"hidden-menu-default":e.hiddenMenuDefault,"hidden-menu-mobile":e.hiddenMenuMobile,"mobile-version":e.mobileVersion,"minimized-menu":e.minimizedMenu},on:{"update:hiddenMenuDefault":function(t){e.hiddenMenuDefault=t},"update:hidden-menu-default":function(t){e.hiddenMenuDefault=t},"update:hiddenMenuMobile":function(t){e.hiddenMenuMobile=t},"update:hidden-menu-mobile":function(t){e.hiddenMenuMobile=t}}}),e._v(" "),a("div",{staticClass:"shell__body"},[a("shell-nav",{attrs:{"minimized-menu":e.minimizedMenu,"hidden-menu-mobile":e.hiddenMenuMobile,"hidden-menu-default":e.hiddenMenuDefault,"mobile-version":e.mobileVersion},on:{"update:minimizedMenu":function(t){e.minimizedMenu=t},"update:minimized-menu":function(t){e.minimizedMenu=t},"update:hiddenMenuMobile":function(t){e.hiddenMenuMobile=t},"update:hidden-menu-mobile":function(t){e.hiddenMenuMobile=t}}}),e._v(" "),a("main",{staticClass:"shell__main"},[a("router-view")],1)],1)],1)};Ei._withStripped=!0;var Oi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("header",{class:["shell__header",{"shell__header--minimized":e.minimizedMenu&&!e.mobileVersion}]},[a("div",{staticClass:"shell__logo",on:{click:e.goHome}}),e._v(" "),a("div",{staticClass:"shell__navbar-toggler"},[a("button",{staticClass:"shell__navbar-toggler-btn",on:{click:e.toggleHiddenMenu}})]),e._v(" "),a("div",{staticClass:"shell__account-info"},[a("a",{staticClass:"shell__account-info-user",attrs:{href:"#account-menu"},on:{click:function(t){return t.preventDefault(),e.openDropdownAccnt(t)}}},[a("span",{staticClass:"shell__account-info-name"},[e._v(" "+e._s(e.userName))]),e._v(" "),a("img",{staticClass:"shell__account-info-avatar",attrs:{alt:e.userEmail,src:e.avatar}})])]),e._v(" "),e.dropdownAccnt?a("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeDropdownAccnt,expression:"closeDropdownAccnt"},{name:"esc",rawName:"v-esc",value:e.closeDropdownAccnt,expression:"closeDropdownAccnt"}],staticClass:"shell__dropdown-accnt"},[e._m(0),e._v(" "),a("a",{staticClass:"shell__dropdown-accnt-item",attrs:{href:"/account/billing"},on:{click:function(t){return t.preventDefault(),e.billing(t)}}},[a("i",{staticClass:"fa fa-address-card-o"}),e._v("Billing")]),e._v(" "),a("a",{staticClass:"shell__dropdown-accnt-item",attrs:{href:"#logout"},on:{click:function(t){return t.preventDefault(),e.logoutOfTheCurrentSession(t)}}},[a("i",{staticClass:"fa fa-lock"}),e._v("Logout")])]):e._e()])};Oi._withStripped=!0;var Ii=a(93),Fi=a.n(Ii);var Pi=d({name:"ShellHeader",props:{hiddenMenuDefault:{type:Boolean,required:!0},hiddenMenuMobile:{type:Boolean,required:!0},mobileVersion:{type:Boolean,required:!0},minimizedMenu:{type:Boolean,required:!0}},data:()=>({avatar:Fi.a,dropdownAccnt:!1}),computed:{...Object(f.c)("auth",["user"]),userName(){return this.user&&this.user.n
82ame},userEmail(){return this.user&&this.user.email}},methods:{...Object(f.b)("auth",{logout:"logout"}),billing(){this.$router.push({name:"account-billing"}),this.closeDropdownAccnt()},toggleHiddenMenu(){this.mobileVersion?this.$emit("update:hiddenMenuMobile",!this.hiddenMenuMobile):this.$emit("update:hiddenMenuDefault",!this.hiddenMenuDefault)},openDropdownAccnt(){this.dropdownAccnt||setTimeout(()=>{this.dropdownAccnt=!0},0)},closeDropdownAccnt(){this.dropdownAccnt=!1},async logoutOfTheCurrentSession(){await this.logout(),this.$router.push({name:"login"}),this.closeDropdownAccnt()},goHome(){window.location.href="/"}}},Oi,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"shell__dropdown-accnt-header"},[t("strong",[this._v("Account")])])}],!1,null,null,null);Pi.options.__file="resources/assets/components/Shell/ShellHeader.vue";var ji=Pi.exports,Hi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["shell__nav",{"shell__nav--minimized":e.minimizedMenu&&!e.mobileVersion,"shell__nav--hidden":e.mobileVersion&&e.hiddenMenuMobile||!e.mobileVersion&&e.hiddenMenuDefault}]},[a("nav",{staticClass:"shell__nav-list"},[a("ul",[e._l(e.navItems,function(t){return[t.children?[a("shell-nav-dropdown",{key:t.url,attrs:{name:t.name,icon:t.icon,url:t.url,"minimized-menu":e.minimizedMenu}},[e._l(t.children,function(t){return[a("shell-nav-item",{key:t.url,attrs:{name:t.name,icon:t.icon,url:t.url},on:{click:function(a){return a.preventDefault(),e.pushToRoute(t.url)}}})]})],2)]:[a("shell-nav-item",{key:t.url,attrs:{name:t.name,icon:t.icon,url:t.url,tag:t.tag},on:{click:function(a){return a.preventDefault(),e.pushToRoute(t.url)}}})]]})],2)]),e._v(" "),e.mobileVersion?e._e():a("div",{staticClass:"shell__nav-minimizer",on:{click:e.toggleMinimize}})])};Hi._withStripped=!0;var $i=a(94),Ni=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("li",[a("div",{class:["shell__nav-dropdown-toggler",{"shell__nav-dropdown-toggler--open":e.openDropdown&&!e.minimizedMenu}],on:{click:function(t){return t.preventDefault(),e.toggleDropdown(t)}}},[a("i",{class:e.icon}),a("span",[e._v(e._s(e.name))])]),e._v(" "),a("ul",{staticClass:"shell__nav-dropdown-items"},[e._t("default")],2)])};Ni._withStripped=!0;var qi=d({name:"ShellNavDropdown",props:{name:{type:String,required:!0},icon:{type:String,required:!0},url:{type:String,required:!0},minimizedMenu:{type:Boolean,required:!0}},data:()=>({openDropdown:!1}),computed:{currentRoute(){return this.$route.path}},watch:{currentRoute:{immediate:!0,handler(e){~e.indexOf(this.url)?this.openDropdown=!0:this.openDropdown=!1}}},methods:{toggleDropdown(){this.minimizedMenu||(this.openDropdown=!this.openDropdown)}}},Ni,[],!1,null,null,null);qi.options.__file="resources/assets/components/Shell/ShellNavDropdown.vue";var Ri=qi.exports,Bi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("li",e._g({},e.$listeners),[a("a",{class:["shell__nav-item",{"shell__nav-item--active":e.url===this.$route.path}],attrs:{href:e.url}},[a("i",{class:e.icon}),e._v(" "),a("span",[e._v(e._s(e.name))]),e._v(" "),"new"===e.tag?a("span",{staticClass:"shell__nav-item__tag shell__nav-item__tag--new"},[e._v("NEW")]):e._e()])])};Bi._withStripped=!0;var Wi={name:"ShellNavItem",props:{name:{type:String,required:!0},icon:{type:String,required:!0},url:{type:String,required:!0},tag:{type:String,default:null}}},zi=(a(148),d(Wi,Bi,[],!1,null,null,null));zi.options.__file="resources/assets/components/Shell/ShellNavItem.vue";var Ui=d({name:"ShellNav",components:{ShellNavDropdown:Ri,ShellNavItem:zi.exports},props:{hiddenMenuDefault:{type:Boolean,required:!0},hiddenMenuMobile:{type:Boolean,required:!0},mobileVersion:{type:Boolean,required:!0},minimizedMenu:{type:Boolean,required:!0}},data:()=>({navItems:$i.items}),methods:{toggleMinimize(){this.$emit("update:minimizedMenu",!this.minimizedMenu)},pushToRoute(e){this.mobileVersion&&this.$emit("update:hiddenMenuMobile",!0),this.$router.push({path:e})}}},Hi,[],!1,null,null,null);Ui.options.__file="resources/assets/components/Shell/ShellNav.vue";var Vi=d({name:"Shell",components:{ShellHeader:ji,ShellNav:Ui.exports},data:()=>({mobileVersion:!1,minimizedMenu:!1,hiddenMenuDefault:!1,hiddenMenuMobile:!0,key:null}),created(){this.mobileVersion=window.matchMedia("(max-width: 992px)").matches,window.matchMedia("(max-width: 992px)").onchange=this.isMobile},methods:{isMobile(e){this.mobileVersion=e.matches}}},Ei,[],!1,null,null,null);Vi.options.__file="resources/assets/components/Shell/Shell.vue";var Gi=Vi.exports,Ji=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("list-template",{ref:"listTemplate",attrs:{fields:e.fields,"is-button-filter":!1,filter:e.filter,"button-filter-state":e.tripsFiltersOpen,"datatable-header":"Trips & Fuel","datatable-name":"trips","local-storage-name":"trips"},on:{"open-form":e.openForm,"remove-item":e.removeItem,"toggle-filter":e.toggleFilter},scopedSlots:e._u([{key:"type",fn:function(t){return["Trip"===t.value?a("div",{staticClass:"trips__type-trip"}):"Fuel purchase"===t.value?a("div",{staticClass:"trips__type-fuel"}):e._e()]}},{key:"states",fn:function(t){return["error"===t.item.status?a("span",{staticClass:"trips__display-error"},[e._v(e._s(t.item.display_error))]):a("span",[e._v(e._s(t.value))])]}},{key:"display_distance",fn:function(t){return["pending"===t.item.status&&e.setRecalcRequestTimer()?a("c-spinner",{staticClass:"trips__state-mileages-spinner"}):a("span",[e._v(e._s(t.value))])]}},{key:"collapse",fn:function(t){return[t.item.trip_details&&t.item.trip_details.length?a("trips-collapse",{attrs:{data:t,fields:e.fields}}
82):e._e()]}}])},[a("template",{slot:"header-area"},[a("div",{staticClass:"trips__filter-select"},[a("filter-select",{attrs:{options:e.listData.quarters},model:{value:e.quickFilter,callback:function(t){e.quickFilter=t},expression:"quickFilter"}})],1)]),e._v(" "),a("template",{slot:"list-search"},[e._v(" ")]),e._v(" "),a("template",{slot:"new-buttons"},[a("c-button",{attrs:{variant:"primary"},on:{click:function(t){return e.openForm(null,"fuel")}}},[a("c-icon",{attrs:{icon:"fa fa-plus"}}),e._v("  Fuel")],1),e._v(" "),a("c-button",{attrs:{variant:"success"},on:{click:function(t){return e.openForm(null,"trip-extended")}}},[a("c-icon",{attrs:{icon:"fa fa-plus"}}),e._v("  Add miles")],1)],1),e._v(" "),e._e(),e._v(" "),a("template",{slot:"top-area"},[e._e(),e._v(" "),e.hasUpgradeFreeLimitsOffer?a("promo-link",[e._v("\n\n      You've reached the free plan limit. Want more trips?   "),a("support-form-link",[e._v("Request to double your free plan limits!")])],1):e._e(),e._v(" "),e._e(),e._v(" "),e.tripsFiltersOpen?a("trips-filters",{model:{value:e.tripsFiltersOpen,callback:function(t){e.tripsFiltersOpen=t},expression:"tripsFiltersOpen"}}):e._e(),e._v(" "),a("filtered-by"),e._v(" "),a("trips-badges")],1),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e.tripsFormState?a("trips-form",{attrs:{"item-id":e.formId,"item-init-data":e.tripInitFormData},on:{update:e.updateList,copy:e.openCopyTripForm,createNext:e.openNextTripForm,close:e.onClosedForm,switchToExtended:e.openExtendedForm},model:{value:e.tripsFormState,callback:function(t){e.tripsFormState=t},expression:"tripsFormState"}}):e._e(),e._v(" "),e.tripsFormExtendedState?a("trips-form-extended",{attrs:{"item-id":e.formId,"item-init-data":e.tripInitFormData},on:{update:e.updateList,copy:e.openCopyTripForm,createNext:e.openNextTripForm,close:e.onClosedForm},model:{value:e.tripsFormExtendedState,callback:function(t){e.tripsFormExtendedState=t},expression:"tripsFormExtendedState"}}):e._e(),e._v(" "),e.fuelFormState?a("fuel-form",{attrs:{"item-id":e.formId},on:{update:e.updateList},model:{value:e.fuelFormState,callback:function(t){e.fuelFormState=t},expression:"fuelFormState"}}):e._e()],2)};Ji._withStripped=!0;var Ki=ot,Qi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal-sliding",{attrs:{title:e.title},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("div",{staticClass:"trips-form"},[a("div",{staticClass:"trips-form__visual-trip"},["pending"===e.routeRecalcStatus?a("div",{staticClass:"trips-form__state-mileages-spinner"},[a("h5",[e._v("Route Calculation")]),e._v(" "),a("c-spinner")],1):"track"===e.inputMode&&e.trackRouteLabel?[a("div",{staticClass:"trips-form__visual-stop"},[a("h4",[a("i",{staticClass:"fa fa-location-arrow trips-form__stop-icon"}),e._v("\n              "+e._s(e.trackRouteLabel)+"\n            ")])])]:e.displayRoute&&"ok"===e.routeRecalcStatus&&"track"!==e.inputMode?[e._l(e.displayRoute,function(t,i){return a("div",{key:i},[i?a("div",{staticClass:"trips-form__visual-arrow"},[a("h4",[a("i",{staticClass:"fa fa-arrow-right"})]),e._v(" "),a("span",[e._v(e._s(t.prev_distance)+"mi")])]):e._e(),e._v(" "),a("div",{staticClass:"trips-form__visual-stop"},[a("h4",[a("i",{staticClass:"fa fa-map-marker trips-form__stop-icon"}),e._v(" "),t.city?a("span",[e._v(e._s(t.city)+", ")]):e._e(),e._v(e._s(t.state)+"\n              ")]),e._v(" "),t.zip?a("span",[e._v("zip: "+e._s(t.zip))]):e._e()])])}),e._v(" "),a("div",[a("div",{staticClass:"trips-form__visual-arrow"},[a("h4",[a("i",{staticClass:"fa fa-arrow-right"})])]),e._v(" "),a("div",{staticClass:"trips-form__visual-next"},[a("c-link-icon",{attrs:{icon:"fa fa-plus",text:"New trip from here"},on:{click:e.openNextTripForm}})],1)])]:e._e()],2),e._v(" "),"ok"===e.routeRecalcStatus||"track"===e.inputMode?a("div",{staticClass:"trips-form__total-trip"},[a("strong",[e._v("Total distance:")]),e._v(" "),a("span",[e._v(e._s(e.distance)+" mi")]),e._v(" "),e.recalc_exists||"track"===e.inputMode&&e.id?a("c-link-icon",{attrs:{icon:"fa fa-map",text:"Map"},on:{click:e.openModalRouteMap}}
82):e._e(),e._v("   \n      ")],1):e._e(),e._v(" "),a("div",{staticClass:"trips-form__row"},[a("c-input-group",[a("label",[e._v("Equipment")]),e._v(" "),a("div",{staticClass:"trips-form__equipment"},[a("c-select",{attrs:{options:e.equipmentlist,"dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.equipmentId,callback:function(t){e.equipmentId=t},expression:"equipmentId"}}),e._v(" "),e.isEquipmentId?a("c-button",{attrs:{variant:"primary"},on:{click:function(t){return e.openEquipmentForm(e.equipmentId)}}},[a("c-icon",{attrs:{icon:"fa fa-edit"}})],1):e._e(),e._v(" "),a("c-button",{attrs:{variant:"success"},on:{click:function(t){return e.openEquipmentForm(null)}}},[a("c-icon",{attrs:{icon:"fa fa-file-text-o"}})],1)],1)]),e._v(" "),a("c-input-group",[a("label",[e._v("Date *")]),e._v(" "),a("c-date-picker",{attrs:{placeholder:"Select Date"},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}})],1)],1),e._v(" "),"track"!==e.inputMode?[a("div",{staticClass:"trips-form__row trips-form__mode-switch"},[a("div",{staticClass:"trips-form__mode-switch-text"},[a("c-link",{class:{"trips-form__mode-link--active":"route"===e.inputMode},on:{click:function(t){t.preventDefault(),e.inputMode="route"}}},[e._v("[ Enter route ]")]),e._v("\n             or \n            "),a("c-link",{class:{"trips-form__mode-link--active":"manual"===e.inputMode},on:{click:function(t){t.preventDefault(),e.inputMode="manual"}}},[e._v("[ Enter miles by state ]")])],1)]),e._v(" "),a("div",{staticClass:"trips-form__mode-hint"},["route"===e.inputMode?a("span",[e._v("\n            Add stops to calculate miles automatically.\n          ")]):"manual"===e.inputMode?a("span",[e._v("\n            Enter final miles for each state manually.\n          ")]):e._e()]),e._v(" "),"route"===e.inputMode?a("trips-form-stops-extended"):"manual"===e.inputMode?a("trips-form-state-miles"):e._e(),e._v(" "),"ok"===e.routeRecalcStatus?a("c-table",{staticClass:"trips-form__state-mileages",attrs:{fields:e.stateMileagesFields,items:e.stateMileages||[],"show-empty":"",striped:""}}):e._e()]:a("trips-form-track",{attrs:{"trip-id":e.id,"equipment-id":e.equipmentId,"trip-date":e.date,"trip-track":e.tripTrack,"ui-timeline":e.uiTimeline,"state-mileages":e.stateMileages||[],"display-route":e.trackRouteLabel},on:{reimported:e.onTrackReimported}}),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"trips-notes-ext"}},[e._v("Notes")]),e._v(" "),a("c-textarea",{attrs:{id:"trips-notes-ext",rows:"2"},model:{value:e.notes,callback:function(t){e.notes=t},expression:"notes"}})],1)],2)],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[e.id?a("c-link-icon",{attrs:{icon:"fa fa-clone",text:"Copy Trip"},on:{click:e.openCopyTripForm}}):e._e(),e._v("   \n\n    "),e.saveBlockedReason?a("span",{staticClass:"trips-form-ext__save-hint"},[e._v(e._s(e.saveBlockedReason))]):e._e(),e._v(" "),a("c-button-save",{attrs:{spinner:e.waiting,disabled:!e.canSubmit},on:{click:e.save}}),e._v(" "),a("c-button-close",{on:{click:e.close}})],1),e._v(" "),e.EquipmentFormState?a("equipment-form",{attrs:{"item-id":e.EquipmentFormId,state:e.EquipmentFormState},on:{close:function(t){e.EquipmentFormState=!1},update:e.updateEquipments}}):e._e(),e._v(" "),e.modalRouteMapState&&e.id?a("trips-form-map",{attrs:{"trip-id":e.id,"is-track":"track"===e.inputMode},model:{value:e.modalRouteMapState,callback:function(t){e.modalRouteMapState=t},expression:"modalRouteMapState"}}):e._e()],1)};Qi._withStripped=!0;var Zi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("draggable",{attrs:{list:e.stops,handle:".trips-form-stop-ext__draggable","ghost-class":"trips-form-stop-ext__stop--ghost"}},e._l(e.stops,function(t){return a("div",{key:t.id,staticClass:"trips-form-stop-ext__stop"},[a("div",[a("c-input-group",[a("label",[e._v(" ")]),e._v(" "),a("c-button",{staticClass:"trips-form-stop-ext__draggable",attrs:{variant:"secondary"}},[a("c-icon",{attrs:{icon:"fa fa-bars"}})],1)],1)],1),e._v(" "),a("address-field",{staticClass:"trips-form-stop-ext__address",attrs:{stop:t,"us-states":e.usStates,placeholder:"Enter ZIP, city & state, or full address","example-hint":"Examples: 60446 · Romeoville, IL · 1100 W Taylor Rd, Romeoville, IL 60446"},on:{"open-map":function(a){return e.openMap(t)}}}),e._v(" "),a("div",[a("c-input-group",[a("label",[e._v(" ")]),e._v(" "),a("c-button",{attrs:{disabled:e.stops.length<=2,variant:"danger"},on:{click:function(a){return e.removeStop(t.id)}}},[a("c-icon",{attrs:{icon:"fa fa-minus"}})],1)],1)],1)],1)}),0),e._v(" "),a("c-button",{attrs:{variant:"success",block:""},on:{click:e.addStop}},[a("c-icon",{attrs:{icon:"fa fa-plus"}}),e._v("  Add stop")],1),e._v(" "),null!==e.mapStopId?a("modal-map-point-picker",{attrs:{readonly:"",point:e.mapPoint},on:{close:e.onMapClosed},model:{value:e.mapOpen,callback:function(t){e.mapOpen=t},expression:"mapOpen"}}
82):e._e()],1)};Zi._withStripped=!0;var Xi={name:"TripsFormStopsExtended",components:{draggable:Pe.a},data:()=>({mapOpen:!1,mapStopId:null}),computed:{...Object(f.c)("trips/formExtended",["stops"]),...Object(_.b)("trips/form",{relatedData:"relatedData"}),usStates(){return this.relatedData.us_states?this.relatedData.us_states:[]},mapPoint(){const e=this.stops.find(e=>e.id===this.mapStopId);return e&&e.result.point||null}},methods:{...Object(f.b)("trips/formExtended",["addStop","removeStop"]),openMap(e){this.mapStopId=e.id,this.mapOpen=!0},onMapClosed(e){this.mapOpen=e,e||(this.mapStopId=null)}}},en=(a(149),d(Xi,Zi,[],!1,null,null,null));en.options.__file="resources/assets/components/items/Trips/TripsForm/TripsFormStopsExtended.vue";var tn={name:"TripsFormExtended",components:{EquipmentForm:nt,TripsFormStopsExtended:en.exports,TripsFormMap:Re,TripsFormStateMiles:Ue,TripsFormTrack:Ke},model:{prop:"state",event:"close"},props:{state:{type:Boolean,default:!1},itemId:{type:[String,Number],default:null},itemInitData:{type:Object,default:null}},data:()=>({waiting:!1,modalRouteMapState:!1,EquipmentFormId:null,EquipmentFormState:!1,stateMileagesFields:[{key:"state",label:"State"},{key:"display_distance",label:"Distance"}],suppressRouteWatch:!1}),computed:{...Object(f.c)("trips/formExtended",{stops:"stops",stopsReady:"canSave",routePayload:"routePayload"}),...Object(_.b)("trips/form",{serverNotice:"serverNotice",relatedData:"relatedData",id:"formData.id",equipmentId:"formData.equipment_id",date:"formData.date",notes:"formData.notes",inputMode:"formData.input_mode",manualStateMileages:"formData.manual_state_mileages",route:"formData.route",stateMileages:"formData.state_mileages",displayRoute:"formData.display_route",serverErrorMessage:"formData.display_error",routeRecalcStatus:"formData.route_recalc_status",distance:"formData.distance",recalc_exists:"formData.recalc_exists",isTrackReadonly:"formData.is_track_readonly",tripTrack:"formData.trip_track",uiTimeline:"formData.ui_timeline"}),equipmentlist(){return this.relatedData.equipment?this.relatedData.equipment:[]},title(){return this.itemId||this.id?"Edit miles":"Add miles"},mutableState:{get(){return this.state},set(e){this.$emit("close",e)}},isEquipmentId(){return!!this.equipmentId},trackRouteLabel(){const e=this.displayRoute;return"string"==typeof e&&e?e:""},canSubmit(){return"route"!==this.inputMode||this.stopsReady},saveBlockedReason(){return this.canSubmit?"":this.stops.some(e=>"loading"===e.status)?"Validating addresses…":"Every stop must have a valid address"}},watch:{serverErrorMessage:{immediate:!0,handler(e){e&&(this.serverNotice={type:"danger",message:e})}},route:{immediate:!0,handler(e){this.suppressRouteWatch||this.initStops(e||[])}},routeRecalcStatus:{immediate:!0,handler(e){"pending"===e&&this.setRecalcRequestTimer([this.itemId||`1${this.id}`])}},serverNotice(e){"success"===e.type&&this.update()}},created(){this.itemId&&this.getFormData([this.itemId]),this.getRelatedData([this.itemId]),this.date=new Date,this.inputMode||(this.inputMode="route")},mounted(){!this.itemId&&this.itemInitData&&(this.$store.commit("trips/form/setTripData",Object.assign({},this.itemInitData)),this.initStops(this.itemInitData.route||[]))},beforeDestroy(){this.clearFormData(),this.clearStops()},methods:{...Object(f.b)("trips/form",{getFormData:"getItem",setRecalcRequestTimer:"setRecalcRequestTimer",createItem:"createItem",updateItem:"updateItem",getRelatedData:"getRelatedData",clearFormData:"clearFormData"}),...Object(f.b)("trips/formExtended",{initStops:"initStops",clearStops:"clearStops"}),openCopyTripForm(){this.$emit("copy",this.id),this.close()},openNextTripForm(){this.$emit("createNext",this.id),this.close()},openModalRouteMap(){this.modalRouteMapState=!0},close(){this.mutableState=!1},async onTrackReimported(){this.id&&await this.getFormData([this.id]),this.update()},manualMileages(){return(this.manualStateMileages||[]).filter(e=>e&&e.state&&e.distance).map(e=>({state:e.state,distance:e.distance}))},async save(){if(this.canSubmit){if(this.waiting=!0,this.isTrackReadonly||"track"===this.inputMode)return this.id&&await this.updateItem({data:{equipment_id:this.equipmentId,date:this.date,notes:this.notes,input_mode:"track"},ids:[this.id]}),void(this.waiting=!1);this.suppressRouteWatch=!0,this.route="route"===this.inputMode?this.routePayload:[],this.$nextTick(()=>{this.suppressRouteWatch=!1}),this.id?await this.updateItem({data:{equipment_id:this.equipmentId,date:this.date,notes:this.notes,input_mode:this.inputMode,route:this.route,state_mileages:"manual"===this.inputMode?this.manualMileages():[]},ids:[this.id]}):(this.$store.commit("trips/form/updateField",{path:"formData.input_mode",value:this.inputMode}),this.$store.commit("trips/form/updateField",{path:"formData.route",value:this.route}),this.$store.commit("trips/form/updateField",{path:"formData.state_mileages",value:"manual"===this.inputMode?this.manualMileages():[]}),await this.createItem()),this.waiting=!1}},update(){this.$emit("update",this.id)},openEquipmentForm(e=null){this.EquipmentFormId=e,this.EquipmentFormState=!0},async updateEquipments(e){await this.getRelatedData([this.id]),this.equipmentId=e}}},an=(a(150),d(tn,Qi,[],!1,null,null,null));an.options.__file="resources/assets/components/items/Trips/TripsForm/TripsFormExtended.vue";var nn=an.exports,rn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal-sliding",{attrs:{title:e.title},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("div",{staticClass:"fuel-form"},[a("div",{staticClass:"fuel-form__row"},[a("c-input-group",[a("label",[e._v("Equipment *")]),e._v(" "),a("div",{staticClass:"trips-form__equipment"},[a("c-select",{attrs:{options:e.equipmentlist,"dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.equipmentId,callback:function(t){e.equipmentId=t},expression:"equipmentId"}}),e._v(" "),e.isEquipmentId?a("c-button",{attrs:{variant:"primary"},on:{click:function(t){return e.openEquipmentForm(e.equipmentId)}}},[a("c-icon",{attrs:{icon:"fa fa-edit"}}
82)],1):e._e(),e._v(" "),a("c-button",{attrs:{variant:"success"},on:{click:function(t){return e.openEquipmentForm(null)}}},[a("c-icon",{attrs:{icon:"fa fa-file-text-o"}})],1)],1)]),e._v(" "),a("c-input-group",[a("label",[e._v("Date *")]),e._v(" "),a("c-date-picker",{attrs:{placeholder:"Select Date"},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"equipment-units"}},[e._v("Units, gallons *")]),e._v(" "),a("c-input-form",{attrs:{id:"equipment-units"},model:{value:e.units,callback:function(t){e.units=t},expression:"units"}})],1)],1),e._v(" "),a("div",{staticClass:"fuel-form__row"},[a("c-input-group",[a("label",[e._v("City")]),e._v(" "),a("address-input",{attrs:{"selected-label":"city"},on:{select:e.setAddress},model:{value:e.city,callback:function(t){e.city=t},expression:"city"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("State *")]),e._v(" "),a("c-select",{attrs:{options:e.usStates,"dropdown-label":"value","selected-label":"id","incoming-label":"id"},model:{value:e.usState,callback:function(t){e.usState=t},expression:"usState"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("Zip")]),e._v(" "),a("address-input",{attrs:{"selected-label":"zip"},on:{select:e.setAddress},model:{value:e.zip,callback:function(t){e.zip=t},expression:"zip"}})],1)],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"fuel-notes"}},[e._v("Notes")]),e._v(" "),a("c-textarea",{attrs:{id:"fuel-notes",rows:"2"},model:{value:e.notes,callback:function(t){e.notes=t},expression:"notes"}})],1)],1)],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-save",{attrs:{spinner:e.waiting},on:{click:e.save}}),e._v(" "),a("c-button-close",{on:{click:e.close}})],1),e._v(" "),e.equipmentFormState?a("equipment-form",{attrs:{"item-id":e.equipmentFormId},on:{update:e.updateEquipments},model:{value:e.equipmentFormState,callback:function(t){e.equipmentFormState=t},expression:"equipmentFormState"}}):e._e()],1)};rn._withStripped=!0;var sn={name:"FuelForm",components:{EquipmentForm:nt},model:{prop:"state",event:"close"},props:{state:{type:Boolean,default:!1},itemId:{type:[String,Number],default:null}},data:()=>({waiting:!1,equipmentFormId:null,equipmentFormState:!1}),computed:{...Object(_.b)("fuel/form",{serverNotice:"serverNotice",relatedData:"relatedData",id:"formData.id",equipmentId:"formData.equipment_id",date:"formData.date",amount:"formData.fuel_amount",units:"formData.fuel_units",city:"formData.city",usState:"formData.state",zip:"formData.zip",notes:"formData.notes"}),equipmentlist(){return this.relatedData.equipment?this.relatedData.equipment:[]},usStates(){return this.relatedData.us_states?this.relatedData.us_states:[]},title(){return this.itemId||this.id?"Edit fuel purchase":"New fuel purchase"},mutableState:{get(){return this.state},set(e){this.$emit("close",e)}},isEquipmentId(){return!!this.equipmentId}},watch:{serverNotice(e){"success"===e.type&&this.update()}},created(){this.itemId&&this.getFormData([this.itemId]),this.getRelatedData([this.itemId]),this.date=new Date},beforeDestroy(){this.clearFormData()},methods:{...Object(f.b)("fuel/form",{getFormData:"getItem",createItem:"createItem",updateItem:"updateItem",getRelatedData:"getRelatedData",clearFormData:"clearFormData"}),close(){this.mutableState=!1},async save(){this.waiting=!0,this.id?await this.updateItem({data:{equipment_id:this.equipmentId,date:this.date,fuel_amount:this.amount,fuel_units:this.units,city:this.city,state:this.usState,zip:this.zip,notes:this.notes},ids:[this.id]}):await this.createItem(),this.waiting=!1},setAddress(e){this.city=e.city,this.usState=e.state,this.zip=e.zip},update(){this.$emit("update",this.id)},openEquipmentForm(e=null){this.equipmentFormId=e,this.equipmentFormState=!0},async updateEquipments(e){await this.getRelatedData([this.id]),this.equipmentId=e}}},on=(a(151),d(sn,rn,[],!1,null,null,null));on.options.__file="resources/assets/components/items/Trips/FuelForm.vue";var ln=on.exports,cn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"promo-link"},[a("c-link",{on:{click:function(t){return e.openRateConfExtractorBatch(null)}}},[e._v("Upload your Rate Confirmation PDF to instantly get your trip data. Try now!")])],1),e._v(" "),a("div",{staticClass:"uploads__filter-select"},[a("filter-select",{attrs:{options:e.listData.extracted_data_batch},on:{change:e.openRateConfExtractorBatch},model:{value:e.extractedDataBatchId,callback:function(t){e.extractedDataBatchId=t},expression:"extractedDataBatchId"}})],1),e._v(" "),a("div",[e.extractorFormState?a("rate-conf-extractor-batch",{attrs:{"item-id":e.extractorFormId},on:{update:e.updateList},model:{value:e.extractorFormState,callback:function(t){e.extractorFormState=t},expression:"extractorFormState"}}
82):e._e()],1)])};cn._withStripped=!0;var un=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeDropdown,expression:"closeDropdown"}],staticClass:"trips-quick-filter-select"},[a("div",{staticClass:"trips-quick-filter-selec__dropdown-toggler",on:{click:e.toggleDropdown}},[a("span",[e._v(e._s(e.mutableValue))]),e._v(" "),a("c-icon",{staticClass:"trips-quick-filter-selec__icon-arrow-down",attrs:{icon:"icon-arrow-down",large:""}})],1),e._v(" "),e.dropdownOpen?a("div",{directives:[{name:"esc",rawName:"v-esc",value:e.closeDropdown,expression:"closeDropdown"}],staticClass:"trips-quick-filter-select__dropdown"},e._l(e.options,function(t,i){return a("div",{key:t.id,class:["trips-quick-filter-select__dropdown-item",{"trips-quick-filter-select__dropdown-item--selected":e.isOptionSelected(t)}],on:{click:function(a){return e.setOption(t.id)},mouseover:function(t){e.pointerPosition=i},mouseleave:function(t){e.pointerPosition=-1}}},[a("span",{attrs:{hover:e.pointerPosition===i}},[e._v(e._s(t.value))])])}),0):e._e()])};un._withStripped=!0;var dn={name:"TripsQuickFilterSelect",model:{prop:"value",event:"change"},props:{value:{type:[Number,String],default:null},options:{type:Array,required:!0}},data:()=>({dropdownOpen:!1,pointerPosition:-1}),computed:{mutableValue:{get(){if(this.value&&this.options.length){const e=this.options.find(e=>this.value===e.id);return e&&e.value||"Not set"}return this.options.length?this.options[0].value:"Not set"},set(e){this.$emit("change",e)}}},methods:{toggleDropdown(){this.dropdownOpen=!this.dropdownOpen},closeDropdown(){this.dropdownOpen=!1},setOption(e){this.mutableValue=e,this.closeDropdown()},isOptionSelected(e){return e.id===this.value}}},pn=(a(152),d(dn,un,[],!1,null,null,null));pn.options.__file="resources/assets/components/items/Trips/TripsQuickFilterSelect.vue";var mn=pn.exports;var hn={name:"TripsExtractorArea",components:{FilterSelect:mn},data:()=>({extractedDataBatchId:null,extractorFormId:null,extractorFormState:!1}),methods:{updateList(){this.$emit("update")},openRateConfExtractorBatch(e=null){-1!=e&&(this.extractorFormId=e,this.extractorFormState=!0)}},computed:{...Object(_.b)("trips",{listData:"listData"})}},fn=(a(153),d(hn,cn,[],!1,null,null,null));fn.options.__file="resources/assets/components/items/Trips/TripsExtractorArea.vue";var _n=fn.exports,vn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.data.item&&e.data.item.trip_details.length?a("div",{staticClass:"trips-collapse",on:{click:function(t){return e.toggleDetails(e.data)}}},[e.showDetailsState?a("c-icon",{attrs:{icon:"fa fa-minus-square-o"}}):a("c-icon",{attrs:{icon:"fa fa-plus-square-o"}})],1):e._e()};vn._withStripped=!0;var gn={name:"TripsCollapse",props:{data:{type:Object,required:!0},fields:{type:Array,required:!0}},data:()=>({showDetailsState:!1}),computed:{detailsFields(){return[...this.fields.map(e=>({key:e.key,label:e.label,class:e.class}))]}}
82,methods:{toggleDetails(e){this.showDetailsState=!this.showDetailsState;const t=this.$createElement(o.CTable,{props:{fields:this.detailsFields,items:e.item.trip_details,theadClass:"trips-collapse__hidden-header",bordered:!0,borderlessColumn:!0}}),a=this.$createElement("div",{class:"trips-collapse__row-details"},[t]);e.toggleDetails(a)}}},yn=(a(154),d(gn,vn,[],!1,null,null,null));yn.options.__file="resources/assets/components/items/Trips/TripsCollapse.vue";var bn=yn.exports,kn=function(){var e=this.$createElement,t=this._self._c||e;return t("list-filters",{attrs:{height:"300"}},[t("div",{directives:[{name:"esc",rawName:"v-esc",value:this.close,expression:"close"}],staticClass:"trips-filters",attrs:{slot:"body"},slot:"body"})])};kn._withStripped=!0;var wn={name:"TripsFilters",model:{prop:"state",event:"close"},props:{state:{type:Boolean,default:!1}},data:()=>({mutableFilter:{},selfEditing:!1}),computed:{...Object(_.b)("trips",{filter:"filter"})},watch:{filter:{immediate:!0,deep:!0,handler(e){this.selfEditing||(this.mutableFilter=Object.assign({},e)),this.selfEditing=!1}}},methods:{close(){this.$emit("close",!1)},applyFilter(){this.filter=Object.assign({},this.mutableFilter),this.selfEditing=!0}}},Mn=(a(155),d(wn,kn,[],!1,null,null,null));Mn.options.__file="resources/assets/components/items/Trips/TripsFilters.vue";var Sn=Mn.exports,Dn=function(){var e=this.$createElement;return(this._self._c||e)("list-filtered-by",{attrs:{badges:this.badges},on:{remove:this.removeFilter,reset:this.resetFilters}})};Dn._withStripped=!0;var Ln=d({name:"TripsFilteredBy",data:()=>({badges:[]}),computed:{...Object(_.b)("trips",{filter:"filter"})},watch:{filter:{deep:!0,handler(e){this.badges=this.badges.filter(t=>!!e[t.id]),Object.keys(e).forEach(t=>{if(e[t]){const a={id:null,value:null};switch(t){case"test":a.value=this.getValue(e[t],this.dateRanges);break;case"test1":a.value=e[t]}if(a.value)if(Array.isArray(a.value))a.value.forEach(({id:e,baseId:t,value:a})=>{const i=this.badges.findIndex(a=>a.id===e&&a.baseId===t);~i?this.badges[i]={id:e,baseId:t,value:a}:this.badges.push({id:e,baseId:t,value:a})});else{a.id=t;const e=this.badges.findIndex(e=>e.id===a.id);~e?this.badges[e]=a:this.badges.push(a)}}})}}},methods:{getValue(e,t){const a=t.find(t=>t.id===e);return a&&a.value},removeFilter(e){if(e.baseId){if(~this.badges.findIndex(t=>t.id===e.id&&t.baseId===e.baseId)){const t=this.filter[e.baseId].findIndex(t=>t===e.id);~t&&this.filter[e.baseId].splice(t,1)}}else{const t=this.badges.findIndex(t=>t.id===e.id);~t&&(this.badges.splice(t,1),this.filter[e.id]=null)}},resetFilters(){Object.keys(this.filter).forEach(e=>{this.filter[e]=null})},formatDate(e){const t=e.split("-");return`${t[1]}/${t[2]}/${t[0].slice(-2)}`}}},Dn,[],!1,null,null,null);Ln.options.__file="resources/assets/components/items/Trips/TripsFilteredBy.vue";var Tn=Ln.exports,xn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"trips-badges"},e._l(e.badges,function(t,i){return a("div",{key:i,staticClass:"trips-badges__badge"},[a("div",[a("strong",[e._v(e._s(t.title))])]),e._v(" "),a("div",[e._v("\n      "+e._s(t.value)+"\n    ")])])}),0)};xn._withStripped=!0;var Cn={namel:"TripsBadges",data:()=>({badges:{totalIfta:{title:"Total IFTA Miles",value:0},totalGallons:{title:"Total Gallons",value:0},avgMilesGalons:{title:"Average Miles / Gallons",value:0},totalTaxDue:{title:"Total Tax Due",value:0}}}),computed:{...Object(_.b)("trips",{totalIfta:"listData.informers.total_ifta_miles",totalGallons:"listData.informers.total_gallons",avgMilesGalons:"listData.informers.avg_miles_galons",totalTaxDue:"listData.informers.total_tax_due"})},watch:{totalIfta:{immediate:!0,handler(e){this.badges.totalIfta.value=e||0}},totalGallons:{immediate:!0,handler(e){this.badges.totalGallons.value=e||0}},avgMilesGalons:{immediate:!0,handler(e){this.badges.avgMilesGalons.value=e||0}},totalTaxDue:{immediate:!0,handler(e){this.badges.totalTaxDue.value=e||0}}}},Yn=(a(156),d(Cn,xn,[],!1,null,null,null));Yn.options.__file="resources/assets/components/items/Trips/TripsBadges.vue";var An=Yn.exports,En=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"welcome-survey"},[a("div",{staticClass:"welcome-survey__panel"},["role"===e.step?[a("p",{staticClass:"welcome-survey__subtitle"},[e._v(e._s(e.copy.setupSubtitle))]),e._v(" "),a("h3",{staticClass:"welcome-survey__title"},[e._v(e._s(e.copy.step1.title))]),e._v(" "),a("div",{staticClass:"welcome-survey__options",attrs:{role:"listbox","aria-label":e.copy.step1.title}},e._l(e.roles,function(t){return a("button",{key:t.id,staticClass:"welcome-survey__option",attrs:{type:"button",role:"option","aria-selected":e.selectedRole===t.id},on:{click:function(a){return e.selectRole(t.id)}}},[a("span",{staticClass:"welcome-survey__option-icon",attrs:{"aria-hidden":"true"}},[e._v(e._s(t.icon))]),e._v(" "),a("span",{staticClass:"welcome-survey__option-label"},[e._v(e._s(t.label))])])}),0),e._v(" "),e.showSomethingElse?a("div",{staticClass:"welcome-survey__other"},[a("c-textarea",{attrs:{id:"welcome-role-other",rows:3,placeholder:e.copy.step1.somethingElsePlaceholder},model:{value:e.roleOtherText,callback:function(t){e.roleOtherText=t},expression:"roleOtherText"}}),e._v(" "),a("c-button",{attrs:{variant:"primary",disabled:!e.roleOtherText.trim()},on:{click:e.submitSomethingElse}}
82,[e._v("\n          "+e._s(e.copy.step1.somethingElseSubmit)+"\n        ")])],1):e._e(),e._v(" "),a("div",{staticClass:"welcome-survey__footer welcome-survey__footer--split"},[a("button",{staticClass:"welcome-survey__link",attrs:{type:"button"},on:{click:e.toggleSomethingElse}},[e._v("\n          "+e._s(e.copy.step1.somethingElse)+" →\n        ")]),e._v(" "),a("button",{staticClass:"welcome-survey__link",attrs:{type:"button"},on:{click:e.skip}},[e._v("\n          "+e._s(e.copy.step1.skip)+" →\n        ")])])]:"intent"===e.step?[a("div",{staticClass:"welcome-survey__nav"},[a("button",{staticClass:"welcome-survey__back",attrs:{type:"button"},on:{click:e.goBack}},[e._v("\n          ← "+e._s(e.copy.step2.back)+"\n        ")]),e._v(" "),e._m(0)]),e._v(" "),a("h3",{staticClass:"welcome-survey__title"},[e._v(e._s(e.copy.step2.title))]),e._v(" "),a("p",{staticClass:"welcome-survey__subtitle"},[e._v(e._s(e.copy.step2.subtitle))]),e._v(" "),a("div",{staticClass:"welcome-survey__options",attrs:{role:"listbox","aria-label":e.copy.step2.title}},e._l(e.intents,function(t){return a("button",{key:t.id,staticClass:"welcome-survey__option",attrs:{type:"button",role:"option","aria-selected":e.selectedIntent===t.id},on:{click:function(a){return e.selectIntent(t.id)}}},[a("span",{staticClass:"welcome-survey__option-label"},[e._v(e._s(t.label))])])}),0),e._v(" "),a("div",{staticClass:"welcome-survey__footer welcome-survey__footer--end"},[a("button",{staticClass:"welcome-survey__link",attrs:{type:"button"},on:{click:e.skip}},[e._v("\n          "+e._s(e.copy.step2.skip)+" →\n        ")])])]:"services"===e.step?[a("div",{staticClass:"welcome-survey__nav"},[a("button",{staticClass:"welcome-survey__back",attrs:{type:"button"},on:{click:e.goBack}},[e._v("\n          ← "+e._s(e.copy.step3.back)+"\n        ")]),e._v(" "),e._m(1)]),e._v(" "),a("h3",{staticClass:"welcome-survey__title"},[e._v(e._s(e.copy.step3.title))]),e._v(" "),a("p",{staticClass:"welcome-survey__subtitle"},[e._v(e._s(e.copy.step3.subtitle))]),e._v(" "),a("div",{staticClass:"welcome-survey__services"},e._l(e.recommendedServices,function(t){return a("label",{key:t.id,staticClass:"welcome-survey__service"},[a("c-input-checkbox",{attrs:{id:"welcome-service-"+t.id,value:t.id,label:t.label,name:"welcomeServices"},model:{value:e.selectedServices,callback:function(t){e.selectedServices=t},expression:"selectedServices"}})],1)}),0),e._v(" "),a("div",{staticClass:"welcome-survey__divider"},[e._v(e._s(e.copy.step3.otherHeading))]),e._v(" "),a("div",{staticClass:"welcome-survey__other"},[a("c-textarea",{attrs:{id:"welcome-support-text",rows:3,placeholder:e.copy.step3.otherPlaceholder},model:{value:e.supportText,callback:function(t){e.supportText=t},expression:"supportText"}}),e._v(" "),a("c-button",{attrs:{variant:"secondary",disabled:!e.supportText.trim()||e.supportSent},on:{click:e.sendSupport}},[e._v("\n          "+e._s(e.supportSent?e.copy.step3.supportSent:e.copy.step3.sendSupport)+"\n        ")])],1),e._v(" "),a("div",{staticClass:"welcome-survey__footer welcome-survey__footer--split"},[a("button",{staticClass:"welcome-survey__link",attrs:{type:"button"},on:{click:e.skip}},[e._v("\n          "+e._s(e.copy.step3.skip)+" →\n        ")]),e._v(" "),a("c-button",{attrs:{variant:"success"},on:{click:e.goToFinale}},[e._v("\n          "+e._s(e.copy.step3.getStarted)+" →\n        ")])],1)]:"finale"===e.step?[a("div",{staticClass:"welcome-survey__nav"},[a("button",{staticClass:"welcome-survey__back",attrs:{type:"button"},on:{click:e.goBack}},[e._v("\n          ← "+e._s(e.copy.finale.back)+"\n        ")])]),e._v(" "),a("h3",{staticClass:"welcome-survey__title"},[e._v("\n        ✓ "+e._s(e.copy.finale.titlePrefix)),e.userFirstName?[e._v(", "+e._s(e.userFirstName))]:e._e()],2),e._v(" "),a("p",{staticClass:"welcome-survey__subtitle"},[e._v(e._s(e.copy.finale.setupIntro))]),e._v(" "),a("ul",{staticClass:"welcome-survey__bullets"},e._l(e.finaleBullets,function(t,i){return a("li",{key:i},[e._v(e._s(t))])}),0),e._v(" "),a("div",{staticClass:"welcome-survey__cta"},[a("c-button",{attrs:{variant:"success"},on:{click:e.finishWithCta}},[e._v("\n          "+e._s(e.finaleCta.label)+"\n        ")])],1),e._v(" "),a("div",{staticClass:"welcome-survey__footer welcome-survey__footer--center"},[a("button",{staticClass:"welcome-survey__link",attrs:{type:"button"},on:{click:e.finishManualMiles}},[e._v("\n          "+e._s(e.copy.finale.manualMiles)+" →\n        ")])])]:"driver_setup"===e.step?[a("div",{staticClass:"welcome-survey__nav"},[a("button",{staticClass:"welcome-survey__back",attrs:{type:"button"},on:{click:e.goBack}},[e._v("\n          ← "+e._s(e.copy.driverSetup.back)+"\n        ")])]),e._v(" "),a("h3",{staticClass:"welcome-survey__title"},[e._v("✓ "+e._s(e.copy.driverSetup.title))]),e._v(" "),a("p",{staticClass:"welcome-survey__message"},[e._v(e._s(e.copy.driverSetup.body))]),e._v(" "),a("div",{staticClass:"welcome-survey__stores"},[a("a",{staticClass:"welcome-survey__store-btn",attrs:{href:e.appStoreIosUrl,target:"_blank",rel:"noopener noreferrer"},on:{click:function(t){return e.completeDriverInstall("install_driver_app")}}},[a("c-icon",{attrs:{icon:"fa fa-apple"}}),e._v(" "+e._s(e.copy.driverSetup.appStore)+"\n        ")],1),e._v(" "),a("a",{staticClass:"welcome-survey__store-btn",attrs:{href:e.appStoreAndroidUrl,target:"_blank",rel:"noopener noreferrer"},on:{click:function(t){return e.completeDriverInstall("install_driver_app")}}},[a("c-icon",{attrs:{icon:"fa fa-android"}}),e._v(" "+e._s(e.copy.driverSetup.googlePlay)+"\n        ")],1)]),e._v(" "),a("div",{staticClass:"welcome-survey__footer welcome-survey__footer--center"},[a("button",{staticClass:"welcome-survey__link",attrs:{type:"button"},on:{click:e.inviteSafetyManager}}
82,[e._v("\n          "+e._s(e.copy.driverSetup.inviteManager)+" →\n        ")])])]:e._e()],2)])};En._withStripped=!0;var On={brand:"IFTA Calculator",setupSubtitle:"Let's set up your account · 10 seconds",step1:{title:"Which best describes you?",somethingElse:"Something else",somethingElsePlaceholder:"Tell us briefly what you do…",somethingElseSubmit:"Continue",skip:"Skip for now"},step2:{title:"What do you want to get done first?",subtitle:"We'll take you straight to it.",skip:"Skip for now",back:"Back"},step3:{title:"Based on your answers, we recommend:",subtitle:"Pick what you'd like to start with",otherHeading:"Don't see what you need?",otherPlaceholder:"Tell us what you're trying to do…",sendSupport:"Send to support",supportSent:"Thanks — we sent that to support.",getStarted:"Get started",skip:"Skip for now",back:"Back"},finale:{titlePrefix:"Your workspace is ready",setupIntro:"We set this up for you:",manualMiles:"Prefer to enter miles manually?",skip:"Skip for now",back:"Back"},driverSetup:{title:"You're all set",body:"Your company handles IFTA — you just drive. Install the driver app; your state miles track automatically in the background.",appStore:"App Store",googlePlay:"Google Play",inviteManager:"Invite your safety manager",skip:"Skip for now",back:"Back"}};const In=[{id:"owner_operator",icon:"🚛",label:"Owner-operator — my own IFTA"},{id:"leased_owner_operator",icon:"🚚",label:"Leased owner-operator"},{id:"fleet_manager",icon:"🏢",label:"Fleet / safety manager"},{id:"agency",icon:"📋",label:"Compliance agency"},{id:"company_driver",icon:"🧑‍✈️",label:"Company driver"}],Fn=[{id:"process_data",label:"Turn my trip & fuel data into state-by-state miles & gallons"},{id:"generate_report",label:"Generate my IFTA report"},{id:"file_return",label:"File my report — or have it filed"},{id:"audit_ready",label:"Audit-ready docs / I'm facing an audit"}],Pn={gps_track:{id:"gps_track",label:"Auto-track my miles by GPS"},fuel_ocr:{id:"fuel_ocr",label:"Capture fuel receipts with photo / OCR"},eld_import:{id:"eld_import",label:"Import & normalize ELD data (Motive / Samsara / Geotab)"},calc_miles_stops:{id:"calc_miles_stops",label:"Calculate state miles from pickup/delivery locations"},fuel_card_import:{id:"fuel_card_import",label:"Import fuel-card provider reports"},tax_by_truck:{id:"tax_by_truck",label:"Calculate IFTA tax by truck"},tax_fleet:{id:"tax_fleet",label:"Calculate IFTA tax across the entire fleet"},settlement:{id:"settlement",label:"Owner-operator settlement / reimbursement calc"},file_return:{id:"file_return",label:"File my IFTA return for me with my base jurisdiction"},filing_guidance:{id:"filing_guidance",label:"Step-by-step filing guidance"},route_to_carrier:{id:"route_to_carrier",label:"Send my miles to my carrier automatically"},audit_docs:{id:"audit_docs",label:"Generate audit-ready trip documents (e.g. MFUT-76)"},audit_sim:{id:"audit_sim",label:"Reconcile & validate data (audit simulation)"},archive_4yr:{id:"archive_4yr",label:"Keep 4-year audit-ready records"},multi_client:{id:"multi_client",label:"Multi-client workspace for agency work"},white_label:{id:"white_label",label:"White-label portal (own logo + domain)"},deadline_reminders:{id:"deadline_reminders",label:"Deadline reminders before every filing"}},jn={owner_operator:{process_data:["gps_track","fuel_ocr","eld_import","calc_miles_stops","fuel_card_import"],generate_report:["tax_by_truck","deadline_reminders"],file_return:["file_return","tax_by_truck","gps_track","archive_4yr"],audit_ready:["audit_docs","archive_4yr","audit_sim"]},leased_owner_operator:{process_data:["gps_track","fuel_ocr","calc_miles_stops"],generate_report:["tax_by_truck","settlement"],file_return:["route_to_carrier","file_return"],audit_ready:["audit_docs","archive_4yr"]},fleet_manager:{process_data:["eld_import","fuel_card_import","audit_sim"],generate_report:["tax_fleet","tax_by_truck"],file_return:["file_return","tax_fleet"],audit_ready:["audit_docs","audit_sim","archive_4yr","settlement"]},agency:{process_data:["multi_client","eld_import","fuel_card_import"],generate_report:["tax_fleet","tax_by_truck","multi_client"],file_return:["file_return","multi_client"],audit_ready:["audit_docs","audit_sim","white_label","archive_4yr"]}},Hn=["gps_track","tax_by_truck","file_return","archive_4yr"],$n={owner_operator:["Auto-track your state miles by GPS","One-truck IFTA, ready each quarter","Deadline reminders before every filing"],leased_owner_operator:["Track miles that belong to your truck","Settlement-ready numbers vs fleet average","A portable audit archive if you switch carriers"],fleet_manager:["Normalize mi
82xed ELD and fuel-card data","Fleet-wide IFTA totals by unit","Audit-ready records across the fleet"],agency:["Multi-client ingest in one workspace","Per-client quarterly IFTA reports","File and deliver audit packages under your brand"],other:["Auto-track your state miles by GPS","Quarterly IFTA, ready when you need it","Deadline reminders before every filing"]},Nn={process_data:{id:"track_first_trip",label:"Track my first trip",action:"setup_guide"},generate_report:{id:"generate_report",label:"Generate my IFTA report",action:"add_miles"},file_return:{id:"file_return",label:"File my IFTA return",action:"support_filing"},audit_ready:{id:"audit_ready",label:"Get audit-ready docs",action:"support_audit"}};function qn(e,t){if("other"===e||!e)return Hn.map(e=>Pn[e]).filter(Boolean);return(jn[e]&&jn[e][t]||Hn).map(e=>Pn[e]).filter(Boolean)}var Rn={name:"WelcomeSurvey",data:()=>({copy:On,roles:In,intents:Fn,step:"role",selectedRole:null,roleOtherText:"",showSomethingElse:!1,selectedIntent:null,selectedServices:[],supportText:"",appStoreIosUrl:"https://apps.apple.com/us/app/ifta-calculator-driver-app/id6759822043",appStoreAndroidUrl:"https://play.google.com/store/apps/details?id=pro.aksoft.gpstracker"}
82),computed:{...Object(_.b)("welcomeSurvey",["supportSent"]),...Object(f.c)("auth",{user:"user"}),welcomePayload(){if(!this.user||!Array.isArray(this.user.offers))return{};const e=this.user.offers.find(e=>"WELCOME_SURVEY"===e.type);return e&&e.payload||{}},userFirstName(){return this.user&&this.user.name&&String(this.user.name).trim().split(/\s+/)[0]||""},recommendedServices(){return qn(this.selectedRole,this.selectedIntent)},finaleCta(){return function(e,t){return"company_driver"===e?{id:"install_driver_app",label:"Install the driver app",action:"driver_app"}:Nn[t]||Nn.process_data}(this.selectedRole,this.selectedIntent)},finaleBullets(){return function(e){return $n[e]||$n.other}(this.selectedRole)}},created(){this.hydrateFromPayload(),this.track({name:"welcome_survey_view",payload:{step:this.step}})},methods:{...Object(f.b)("welcomeSurvey",{saveStep:"saveStep",completeSurvey:"complete",track:"track"}),hydrateFromPayload(){const e=this.welcomePayload;e.role&&(this.selectedRole=e.role),e.role_other_text&&(this.roleOtherText=e.role_other_text,this.showSomethingElse="other"===e.role),e.intent&&(this.selectedIntent=e.intent),Array.isArray(e.services)&&(this.selectedServices=[...e.services]),e.support_text&&(this.supportText=e.support_text,this.$store.commit("welcomeSurvey/setSupportSent",!0)),this.step=function(e={}){return"completed"===e.status||"skipped"===e.status?"role":e.current_step&&["role","intent","services","finale","driver_setup"].includes(e.current_step)?e.current_step:"company_driver"===e.role?"driver_setup":e.services&&e.services.length?"finale":e.intent?"services":e.role?"intent":"role"}(e)},analyticsBase(){return{step:this.step,role:this.selectedRole,intent:this.selectedIntent,services:this.selectedServices}},async persist(e){await this.saveStep(e)},async selectRole(e){if(this.selectedRole=e,this.showSomethingElse=!1,this.track({name:"welcome_survey_select",payload:{...this.analyticsBase(),role:e,step:"role"}}),"company_driver"===e)return await this.persist({role:e,current_step:"driver_setup",status:"in_progress"}),this.step="driver_setup",void this.track({name:"welcome_survey_view",payload:{step:"driver_setup"}});await this.persist({role:e,current_step:"intent",status:"in_progress"}),this.step="intent",this.track({name:"welcome_survey_view",payload:{step:"intent"}})},toggleSomethingElse(){this.showSomethingElse=!this.showSomethingElse},async submitSomethingElse(){const e=this.roleOtherText.trim();e&&(this.selectedRole="other",await this.$store.dispatch("welcomeSurvey/sendSupport",{text:e,role:"other",intent:null,source:"something_else"}),await this.persist({role:"other",role_other_text:e,current_step:"intent",status:"in_progress"}),this.track({name:"welcome_survey_select",payload:{step:"role",role:"other"}}),this.step="intent",this.track({name:"welcome_survey_view",payload:{step:"intent"}}))},async selectIntent(e){this.selectedIntent=e,this.selectedServices=qn(this.selectedRole,e).map(e=>e.id),this.track({name:"welcome_survey_select",payload:{...this.analyticsBase(),intent:e,step:"intent"}}),await this.persist({role:this.selectedRole,intent:e,current_step:"services",status:"in_progress"}),this.step="services",this.track({name:"welcome_survey_view",payload:{step:"services"}})},async sendSupport(){const e=this.supportText.trim();e&&await this.$store.dispatch("welcomeSurvey/sendSupport",{text:e,role:this.selectedRole,intent:this.selectedIntent,source:"other_services"})},async goToFinale(){await this.persist({role:this.selectedRole,intent:this.selectedIntent,services:this.selectedServices,current_step:"finale",status:"in_progress"}),this.step="finale",this.track({name:"welcome_survey_view",payload:{step:"finale"}})},async finishWithCta(){const e=this.finaleCta;await this.completeSurvey({role:this.selectedRole,intent:this.selectedIntent,services:this.selectedServices,final_cta:e.id,current_step:"finale"}),this.$emit("cta",{action:e.action,ctaId:e.id}),this.$emit("done")},async finishManualMiles(){await this.completeSurvey({role:this.selectedRole,intent:this.selectedIntent,services:this.selectedServices,final_cta:"add_miles_manual",current_step:"finale"}),this.$emit("cta",{action:"add_miles",ctaId:"add_miles_manual"}),this.$emit("done")},async inviteSafetyManager(){await this.completeSurvey({role:"company_driver",final_cta:"invite_safety_manager",current_step:"driver_setup"}),this.$emit("cta",{action:"setup_guide",ctaId:"invite_safety_manager"}),this.$emit("done")},async completeDriverInstall(e){await this.completeSurvey({role:"company_driver",final_cta:e,current_step:"driver_setup"}),this.$emit("done")},async skip(){await this.$store.dispatch("welcomeSurvey/skip",this.analyticsBase()),this.$emit("done")},goBack(){"intent"===this.step||"driver_setup"===this.step?this.step="role":"services"===this.step?this.step="intent":"finale"===this.step&&(this.step="services"),this.track({name:"welcome_survey_view",payload:{step:this.step}})}}},Bn=(a(157),d(Rn,En,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"welcome-survey__progress",attrs:{"aria-hidden":"true"}},[t("span",{staticClass:"welcome-survey__dot welcome-survey__dot--on"}),this._v(" "),t("span",{staticClass:"welcome-survey__dot welcome-survey__dot--on"}),this._v(" "),t("span",{staticClass:"welcome-survey__dot"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"welcome-survey__progress",attrs:{"aria-hidden":"true"}},[t("span",{staticClass:"welcome-survey__dot welcome-survey__dot--on"}),this._v(" "),t("span",{staticClass:"welcome-survey__dot welcome-survey__dot--on"}),this._v(" "),t("span",{staticClass:"welcome-survey__dot welcome-survey__dot--on"})])}],!1,null,null,null));Bn.options.__file="resources/assets/components/items/Trips/WelcomeSurvey/WelcomeSurvey.vue";var Wn={name:"Trips",components:{TripsForm:Ki,TripsFormExtended:nn,FuelForm:ln,TripsCollapse:bn,TripsFilters:Sn,FilteredBy:Tn,TripsBadges:An,FilterSelect:mn,TripsExtractorArea:_n,WelcomeSurvey:Bn.exports},data:()=>({fields:[{key:"collapse",label:"",custom:!0,class:"trips__column-collapse"},{key:"type",label:"T/F",sortable:!0,searchable:!1,class:"trips__column-type"},{key:"display_equipment",label:"Equipment",sortable:!0,searchable:!1,class:"trips__column-equipment"},{key:"display_date",label:"Date",sortable:!0,searchable:!1,class:"trips__column-date"},{key:"details",label:"Details",sortable:!1,searchable:!1,class:"trips__column-details"},{key:"states",label:"States",sortable:!1,searchable:!1,class:"trips__column-states"},{key:"display_distance",label:"Miles",sortable:!0,searchable:!1,class:"trips__column-miles"},{key:"display_fuel",label:"Gallons",sortable:!0,searchable:!1,class:"trips__column-gallons"}
82,{key:"display_amount",label:"Tax Amount",sortable:!1,searchable:!1,class:"trips__column-amount"},{key:"actions",label:"Actions",custom:!0,class:"trips__column-actions"}],tripsFiltersOpen:!1,tripInitFormData:{},datatableSearchString:null,modalConfirmState:!1,modalConfirmTripId:null,tripsFormState:!1,tripsFormExtendedState:!1,fuelFormState:!1,formId:null,recalcRequestTimerId:null,isPending:!1,numberOfPending:0}),computed:{...Object(_.b)("auth",["user","quickFilter"]),...Object(_.b)("trips",{filter:"filter",listData:"listData"}),...Object(f.c)("auth",{checkToken:"token",hasUpgradeFreeLimitsOffer:"hasUpgradeFreeLimitsOffer",hasWelcomeSurvey:"hasWelcomeSurvey"}),...Object(_.b)("trips/form",{tripsServerNotice:"serverNotice"}),...Object(_.b)("fuel/form",{fuelServerNotice:"serverNotice"})},watch:{tripsServerNotice:{immediate:!0,handler(e){e&&!this.tripsFormState&&(this.$notify.push({message:e.message,type:e.type,duration:"danger"===e.type?-1:3e3}),this.tripsServerNotice=null)}},fuelServerNotice:{immediate:!0,handler(e){e&&!this.fuelFormState&&(this.$notify.push({message:e.message,type:e.type,duration:"danger"===e.type?-1:3e3}),this.fuelServerNotice=null)}},quickFilter:{immediate:!0,handler(e){e&&([this.filter.year,this.filter.quarter]=this.getQuarter(e),localStorage.setItem("tripsFilter",JSON.stringify({quarter:this.filter.quarter,year:this.filter.year})),this.getRelatedData(this.filter))}}},created(){const e=JSON.parse(localStorage.getItem("tripsFilter"))||{year:this.user&&this.user.current_quarter.slice(0,-1),quarter:this.user&&this.user.current_quarter.slice(-1)},{year:t,quarter:a}=e;this.quickFilter=Number(`${t}${a}
82`),[this.filter.quarter,this.filter.year]=[a,t]},mounted(){const e=new URLSearchParams(window.location.search);e.has("quarter")&&this.$store.commit("auth/setQuickFilter",Number(e.get("quarter")))},beforeDestroy(){this.recalcRequestTimerId&&clearInterval(this.recalcRequestTimerId)},methods:{...Object(f.b)("trips",{getRelatedData:"getRelatedData"}),...Object(f.b)("trips/form",{deleteTrip:"deleteItem"}),...Object(f.b)("fuel/form",{deleteFuel:"deleteItem"}),openNextTripForm(e){M.r.read(`1${e}`).then(([e,t])=>{if(e);else{const e=new Date(t.data.date);e.setDate(e.getDate()+1);const a=e.toISOString().split("T")[0],i=t.data.route&&t.data.route.length>0?t.data.route.slice(-1)[0]:null;this.openForm(null,"trip",{route:i?[i,{}]:[],date:a,equipment_id:t.data.equipment_id})}})},openCopyTripForm(e){M.r.read(`1${e}`).then(([e,t])=>{e||this.openForm(null,"trip",{route:t.data.route,date:t.data.date,notes:t.data.notes,equipment_id:t.data.equipment_id})})},onClosedForm(){},onWelcomeSurveyDone(){},onWelcomeSurveyCta({action:e}){"add_miles"!==e?"setup_guide"!==e&&"driver_app"!==e&&"support_filing"!==e&&"support_audit"!==e||this.$router.push({path:"/module/ifta-tracker/setup-guide"}):this.openForm(null,"trip")},setRecalcRequestTimer(){if(this.isPending=!0,!this.recalcRequestTimerId){let e=1e3;const t=async()=>{this.isPending=!1,await this.updateList(),e+=e,clearInterval(this.recalcRequestTimerId),setTimeout(()=>{this.isPending||clearInterval(this.recalcRequestTimerId)},0),e<6e4&&(this.recalcRequestTimerId=setInterval(t,e))};this.recalcRequestTimerId=setInterval(t,e)}return!0},openForm(e,t,a=null){let i=t;switch(e&&("1"===(e=e.toString()).slice(0,1)?i="trip-extended":"2"===e.slice(0,1)&&(i="fuel")),this.formId=e,i){case"fuel":this.fuelFormState=!0;break;case"trip":this.tripsFormState=!0,this.tripInitFormData=a;break;case"trip-extended":this.tripsFormExtendedState=!0,this.tripInitFormData=a}},openExtendedForm(){this.tripsFormState=!1,this.$nextTick(()=>{this.tripsFormExtendedState=!0})},async removeItem(e){e&&("1"===(e=e.toString()).slice(0,1)?await this.deleteTrip([e]):"2"===e.slice(0,1)&&await this.deleteFuel([e]),this.updateList())},toggleFilter(){this.tripsFiltersOpen=!this.tripsFiltersOpen},getQuarter(e){const t=`${e}`.match(/(\d{4})(\d)/);return t&&3===t.length?[t[1],t[2]]:[]},updateList(){this.$refs.listTemplate&&"function"==typeof this.$refs.listTemplate.updateList&&this.$refs.listTemplate.updateList(),this.getRelatedData(this.filter)}}},zn=(a(158),d(Wn,Ji,[],!1,null,null,null));zn.options.__file="resources/assets/components/items/Trips/Trips.vue";var Un=zn.exports,Vn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",[a("c-container-header",{attrs:{title:"Reports"}}),e._v(" "),a("div",{class:{"reports--scroll":e.reportDisplay}},[a("div",{staticClass:"reports__filter"},[a("div",{staticClass:"reports__filter-row"},[a("c-input-group",[a("label",[e._v("Period")]),e._v(" "),a("c-select",{attrs:{options:e.quarters,"can-be-removed":!1,type:"default","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.period,callback:function(t){e.period=t},expression:"period"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v(" ")]),e._v(" "),a("c-input-checkbox",{attrs:{id:"per-equipment-checkbox",label:"Show per equipment"},model:{value:e.perEquipment,callback:function(t){e.perEquipment=t},expression:"perEquipment"}})],1)],1),e._v(" "),a("div",{staticClass:"reports__filter-row"},[a("c-input-group",[a("label",[e._v("Equipment")]),e._v(" "),a("c-select",{attrs:{options:e.equipmentList,"can-be-removed":!0,type:"default","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.equipment,callback:function(t){e.equipment=t},expression:"equipment"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v(" ")]),e._v(" "),a("c-input-checkbox",{attrs:{id:"without-data-checkbox",label:"Hide jurisdictions with no data"},model:{value:e.hideNoData,callback:function(t){e.hideNoData=t},expression:"hideNoData"}})],1)],1),e._v(" "),a("div",[a("c-button-save",{attrs:{title:"Run report",variant:"primary"},on:{click:e.runReport}}),e._v(" "),a("c-button-close",{attrs:{title:"Clear",variant:"secondary"},on:{click:e.clear}})],1)]),e._v(" "),a("div",{staticClass:"reports__body"},[e.waiting?a("c-spinner",{attrs:{black:""}}):e.reportDisplay?a("div",{staticClass:"reports__report"},[e.reportWarnings.length?a("div",{staticClass:"report__warnings"},[a("strong",[e._v("Warnings")]),e._v(" "),e._l(e.reportWarnings,function(t,i){return a("div",{key:"warning"+i},[e._v(e._s(t))])})],2):e._e(),e._v(" "),a("div",{staticClass:"report__control"},[a("c-link",{attrs:{href:e.pdfUrl,target:"_blank"}},[e._v("Download as PDF")]),e._v(" "),a("c-link",{attrs:{href:e.excelUrl,target:"_blank"}},[e._v("Download as XLSX")])],1),e._v(" "),e._l(e.reportData,function(t,i){return[t.title?a("h6",{key:"title"+i}
82,[e._v(e._s(t.title))]):e._e(),e._v(" "),a("c-table",{key:"table"+i,attrs:{fields:e.reportFields,items:t.data,"show-empty":"",bordered:""}}),e._v(" "),a("div",{key:"total"+i,staticClass:"report__totals"},[a("div",[a("span",[e._v("TOTALS:")]),e._v(" "),a("strong",[e._v("Rows:")]),e._v(" "),a("strong",[e._v("Avg mpg (fleet based):")]),e._v(" "),a("strong",[e._v("Taxable Gallons:")]),e._v(" "),a("strong",[e._v("Tax-paid Gallons:")]),e._v(" "),a("strong",[e._v("Taxable Miles:")]),e._v(" "),a("strong",[e._v("Tax or Credit Due:")])]),e._v(" "),a("div",[a("span",[e._v(" ")]),e._v(" "),a("span",[e._v(e._s(t.totals.count))]),e._v(" "),a("span",[e._v(e._s(t.totals.consumption))]),e._v(" "),a("span",[e._v(e._s(t.totals.fuel_consumed))]),e._v(" "),a("span",[e._v(e._s(t.totals.fuel_purchased))]),e._v(" "),a("span",[e._v(e._s(t.totals.miles))]),e._v(" "),a("span",[e._v(e._s(t.totals.tax_amount))])])])]})],2):e._e()],1)])],1)};Vn._withStripped=!0;var Gn={name:"Reports",data:()=>({waiting:!1,reportDisplay:!1,reportFields:[{key:"state",label:"Jurisdiction"},{key:"rate",label:"Fuel Tax Rate"},{key:"miles",label:"Total Miles"},{key:"fuel_purchased",label:"Tax-paid Gallons"},{key:"fuel_consumed",label:"Taxable Gallons"},{key:"fuel_taxable",label:"Net Taxable Gallons"},{key:"tax_amount",label:"Tax or Credit Due"}]}),computed:{...Object(_.b)("reports",{serverNotice:"serverNotice",reportData:"reportData",reportWarnings:"reportWarnings",quarters:"listData.quarters",equipmentList:"listData.equipment",period:"filter.q",equipment:"filter.equipment_id",perEquipment:"filter.per_equipment",hideNoData:"filter.hide_no_data",pdfUrl:"pdfUrl",excelUrl:"excelUrl"})},watch:{quarters:{immediate:!0,handler(e){this.period=e&&e[1]&&e[1].id}},serverNotice:{immediate:!0,handler(e){e&&"danger"===e.type?(this.$notify.push({message:e.message,type:e.type,duration:"danger"===e.type?-1:3e3}),this.serverNotice=null):e&&"success"===e.type&&(this.reportDisplay=!0)}}},created(){this.getRelatedData()},methods:{...Object(f.b)("reports",{getReportData:"getReportData",getRelatedData:"getRelatedData"}),clear(){this.period=this.quarters&&this.quarters[1]&&this.quarters[1].id,this.equipment=null,this.perEquipment=!1,this.hideNoData=!0,this.reportDisplay=!1,this.reportWarnings=[]},async runReport(){this.waiting=!0,await this.getReportData(),this.waiting=!1}}},Jn=(a(159),d(Gn,Vn,[],!1,null,null,null));Jn.options.__file="resources/assets/components/items/Reports/Reports.vue";var Kn=Jn.exports,Qn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("list-template",{ref:"listTemplate",attrs:{fields:e.fields,"is-button-new":!1,"is-button-filter":!0,filter:e.filter,"button-filter-state":e.ratesFiltersOpen,"datatable-header":"Rates","datatable-name":"rates","local-storage-name":"rates"},on:{"toggle-filter":e.toggleFilter}},[a("template",{slot:"top-area"},[e.ratesFiltersOpen?a("rates-filters",{model:{value:e.ratesFiltersOpen,callback:function(t){e.ratesFiltersOpen=t},expression:"ratesFiltersOpen"}}):e._e(),e._v(" "),a("filtered-by")],1)],2)};Qn._withStripped=!0;var Zn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("list-filters",{attrs:{height:"100"}},[a("div",{directives:[{name:"esc",rawName:"v-esc",value:e.close,expression:"close"}],staticClass:"rates-filters",attrs:{slot:"body"},slot:"body"},[a("c-input-group",[a("label",[e._v("Year")]),e._v(" "),a("c-select",{attrs:{options:e.yearList,"can-be-removed":!1,type:"default","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.mutableFilter.year,callback:function(t){e.$set(e.mutableFilter,"year",t)},expression:"mutableFilter.year"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("Quarter")]),e._v(" "),a("c-select",{attrs:{options:e.quarterList,"can-be-removed":!1,type:"default","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.mutableFilter.quarter,callback:function(t){e.$set(e.mutableFilter,"quarter",t)},expression:"mutableFilter.quarter"}})],1),e._v(" "),a("div",{staticClass:"rates-filters__button"},[a("c-button-save",{attrs:{title:"Show",variant:"primary"},on:{click:e.applyFilter}})],1)],1)])};Zn._withStripped=!0;var Xn={name:"RatesFilters",model:{prop:"state",event:"close"},props:{state:{type:Boolean,default:!1}},data:()=>({mutableFilter:{year:null,quarter:null},selfEditing:!1}),computed:{...Object(_.b)("rates",{filter:"filter",yearList:"relatedData.years",quarterList:"relatedData.quarters"})},watch:{filter:{immediate:!0,deep:!0,handler(e){this.selfEditing||(this.mutableFilter=Object.assign({},e)),this.selfEditing=!1}}},methods:{close(){this.$emit("close",!1)},applyFilter(){this.filter=Object.assign({},this.mutableFilter),this.selfEditing=!0}}},er=(a(160),d(Xn,Zn,[],!1,null,null,null));er.options.__file="resources/assets/components/items/Rates/RatesFilters.vue";
82var tr=er.exports,ar=function(){var e=this.$createElement;return(this._self._c||e)("list-filtered-by",{attrs:{badges:this.badges},on:{remove:this.removeFilter,reset:this.resetFilters}})};ar._withStripped=!0;var ir=d({name:"RatesFilteredBy",data:()=>({badges:[]}),computed:{...Object(_.b)("rates",{filter:"filter",yearList:"relatedData.years",quarterList:"relatedData.quarters"})},watch:{filter:{deep:!0,handler(e){this.badges=this.badges.filter(t=>!!e[t.id]),Object.keys(e).forEach(t=>{if(e[t]){const a={id:null,value:null};switch(t){case"year":a.value=this.getValue(e[t],this.yearList);break;case"quarter":a.value=this.getValue(e[t],this.quarterList)}if(a.value)if(Array.isArray(a.value))a.value.forEach(({id:e,baseId:t,value:a})=>{const i=this.badges.findIndex(a=>a.id===e&&a.baseId===t);~i?this.badges[i]={id:e,baseId:t,value:a}:this.badges.push({id:e,baseId:t,value:a})});else{a.id=t;const e=this.badges.findIndex(e=>e.id===a.id);~e?this.badges[e]=a:this.badges.push(a)}}})}}},methods:{getValue(e,t){const a=t.find(t=>t.id===e);return a&&a.value},removeFilter(e){if(e.baseId){if(~this.badges.findIndex(t=>t.id===e.id&&t.baseId===e.baseId)){const t=this.filter[e.baseId].findIndex(t=>t===e.id);~t&&this.filter[e.baseId].splice(t,1)}}else{const t=this.badges.findIndex(t=>t.id===e.id);~t&&(this.badges.splice(t,1),this.filter[e.id]=null)}},resetFilters(){Object.keys(this.filter).forEach(e=>{this.filter[e]=null})}}},ar,[],!1,null,null,null);ir.options.__file="resources/assets/components/items/Rates/RatesFilteredBy.vue";var nr=d({name:"Rates",components:{RatesFilters:tr,FilteredBy:ir.exports},data:()=>({fields:[{key:"jurisdiction",label:"State/Prov",sortable:!0},{key:"value",label:"Tax Rate",sortable:!0},{key:"surcharge_value",label:"Surcharge Rate",sortable:!0}],formState:!1,formId:null,ratesFiltersOpen:!0}),computed:{...Object(_.b)("auth",["user"]),...Object(_.b)("rates",{filter:"filter"})},watch:{serverNotice:{immediate:!0,handler(e){e&&!this.formState&&(this.$notify.push({message:e.message,type:e.type,duration:"danger"===e.type?-1:3e3}),this.serverNotice=null)}}},created(){if(this.user&&this.user.current_quarter){const e=this.user.current_quarter.slice(0,-1),t=this.user.current_quarter.slice(-1);[this.filter.quarter,this.filter.year]=[t,e]}this.getRelatedData()},methods:{...Object(f.b)("rates",["getRelatedData"]),toggleFilter(){this.ratesFiltersOpen=!this.ratesFiltersOpen}}},Qn,[],!1,null,null,null);nr.options.__file="resources/assets/components/items/Rates/Rates.vue";var rr=nr.exports,sr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("list-template",{ref:"listTemplate",attrs:{fields:e.fields,"datatable-header":"Equipment","datatable-name":"equipment","local-storage-name":"equipment"},on:{"open-form":e.openForm,"remove-item":e.removeItem}},[e.formState?a("equipment-form",{attrs:{"item-id":e.formId},on:{update:e.updateList},model:{value:e.formState,callback:function(t){e.formState=t},expression:"formState"}}):e._e()],1)};sr._withStripped=!0;var or=d({name:"Equipment",components:{EquipmentForm:nt},data:()=>({fields:[{key:"unit",label:"Unit",sortable:!0},{key:"make",label:"Make",sortable:!0},{key:"model",label:"Model",sortable:!0},{key:"vin",label:"Vin",sortable:!0},{key:"actions",label:"Actions",sortable:!1,custom:!0}],formState:!1,formId:null}),computed:{...Object(_.b)("equipment/form",["serverNotice"])},watch:{serverNotice:{immediate:!0,handler(e){e&&!this.formState&&(this.$notify.push({message:e.message,type:e.type,duration:"danger"===e.type?-1:3e3}),this.serverNotice=null)}}},methods:{...Object(f.b)("equipment/form",["deleteItem"]),openForm(e){this.formId=e,this.formState=!0},async removeItem(e){e&&(await this.deleteItem([e]),this.updateList())},updateList(){this.$refs.listTemplate&&"function"==typeof this.$refs.listTemplate.updateList&&this.$refs.listTemplate.updateList()}}},sr,[],!1,null,null,null);or.options.__file="resources/assets/components/items/Equipment/Equipment.vue";var lr=or.exports,cr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"tracking-app"},[a("c-container-header",{attrs:{title:"Mobile IFTA Tracking for Drivers (Early Access)"}}),e._v(" "),a("div",{staticClass:"tracking-app__content"},[a("section",{staticClass:"tracking-app__hero"},[a("p",{staticClass:"tracking-app__subheadline"},[e._v("\n        Track miles and fuel automatically with our mobile app — no more manual entry.\n      ")]),e._v(" "),a("div",{staticClass:"tracking-app__release"},[a("div",[a("b",[e._v("Early access:")])]),e._v(" "),a("div",[e._v("Android release: May 1, 2026")]),e._v(" "),a("div",[e._v("iOS release: May 20, 2026")]),e._v(" "),a("div",{staticStyle:{"margin-top":"8px"}},[a("b",[e._v("Public Release:")])]),e._v(" "),a("div",[e._v("Android & iOS: July 1, 2026 (Q3)")])]),e._v(" "),a("div",{staticClass:"tracking-app__cta"},[a("c-button-save",{attrs:{title:"Join Early Access",variant:"primary"},on:{click:e.openWaitlistModal}})],1)]),e._v(" "),a("section",{staticClass:"tracking-app__section"},[a("h3",[e._v("App preview")]),e._v(" "),a("div",{staticClass:"tracking-app__gallery"},e._l(e.screens,function(t,i){return a("button",{key:t.src,staticClass:"tracking-app__gallery-item",attrs:{type:"button",title:"Open screenshot "+(i+1)},on:{click:function(t){return e.openGallery(i)}}},[a("img",{attrs:{src:t.src,alt:t.alt,loading:"lazy"}})])}),0)]),e._v(" "),a("section",{staticClass:"tracking-app__section"},[a("h3",[e._v("Automatic tracking. Zero manual work.")]),e._v(" "),a("ul",{staticClass:"tracking-app__bullets"},[a("li",[e._v("GPS tracks mileage by state automatically")]),e._v(" "),a("li",[e._v("Trips recorded in real time")]),e._v(" "),a("li",[e._v("Fuel logging on the go")]),e._v(" "),a("li",[e._v("Data synced to your IFTA account")])])]),e._v(" "),a("section",{ref:"howItWorks",staticClass:"tracking-app__section"},[a("h3",[e._v("How it works")]),e._v(" "),a("ol",{staticClass:"tracking-app__steps"},[a("li",[e._v("Invite a driver")]),e._v(" "),a("li",[e._v("Driver installs the app")]),e._v(" "),a("li",[e._v("Tracking runs automatically")]),e._v(" "),a("li",[e._v("Data syncs to your dashboard")])])]),e._v(" "),a("section",{ref:"waitlist",staticClass:"tracking-app__section tracking-app__waitlist"},[a("h3",[e._v("Get early access")]),e._v(" "),a("p",[e._v("\n        Be the first to try automatic IFTA tracking and get priority access when we launch.\n      ")]),e._v(" "),e.joined?[a("div",{staticClass:"tracking-app__success"},[a("b",[e._v("You’re on the waitlist.")]),e._v(" We’ll notify you before launch.\n        ")]),e._v(" "),a("div",{staticClass:"tracking-app__inline-cta"},[a("c-button",{attrs:{title:"Update preferences",variant:"secondary"},on:{click:e.openWaitlistModal}})],1)]:[a("div",{staticClass:"tracking-app__inline-cta"},[a("c-button-save",{attrs:{title:"Join Early Access",variant:"primary"},on:{click:e.openWaitlistModal}})],1)]],2)]),e._v(" "),a("c-modal",{staticClass:"tracking-app__modal",attrs:{title:"Join Early Access",size:"large"},model:{value:e.waitlistModalOpen,callback:function(t){e.waitlistModalOpen=t},expression:"waitlistModalOpen"}},[a("template",{slot:"body"},[a("div",{staticClass:"tracking-app__modal-body"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),e.joined?[a("div",{staticClass:"tracking-app__success tracking-app__success--modal"},[a("b",[e._v("You’re on the waitlist.")]),e._v(" We’ll notify you before launch.\n          ")])]:[a("div",{staticClass:"tracking-app__form"},[a("c-input-group",[a("label",[e._v("Email")]),e._v(" "),a("c-input-form",{attrs:{value:e.email,disabled:""}})],1),e._v(" "),a("c-input-group",[a("b",[e._v("Your role")]),e._v(" "),e._l(e.userRoles,function(t){return a("c-input-radio",{key:t.id,attrs:{value:t.id,id:"trackingAppUserRoles-"+t.id,label:t.name,name:"trackingAppUserRoles"},model:{value:e.localUserRoleId,callback:function(t){e.localUserRoleId=t},expression:"localUserRoleId"}})})],2),e._v(" "),a("c-input-group",[a("b",[e._v("What type of operation do you run?")]),e._v(" "),e._l(e.companyTypes,function(t){return a("c-input-radio",{key:t.id,attrs:{value:t.id,id:"trackingAppCompanyTypes-"+t.id,label:t.name,name:"trackingAppCompanyTypes"},model:{value:e.localCompanyTypeId,callback:function(t){e.localCompanyTypeId=t},expression:"localCompanyTypeId"}})})],2),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"tracking-app-fleet-size"}},[a("b",[e._v("Fleet size (number of units)")])]),e._v(" "),a("c-input-form",{attrs:{id:"tracking-app-fleet-size"},model:{value:e.localFleetSize,callback:function(t){e.localFleetSize=t},expression:"localFleetSize"}})],1),e._v(" "),a("c-input-group",[a("b",[e._v("What features would you like to see in the app?")]),e._v(" "),e._l(e.desiredFeatures,function(t){return a("c-input-c
82heckbox",{key:t.id,attrs:{value:t.id,id:"trackingAppDesiredFeatures-"+t.id,label:t.name,name:"trackingAppDesiredFeatures"},model:{value:e.localDesiredFeatureIds,callback:function(t){e.localDesiredFeatureIds=t},expression:"localDesiredFeatureIds"}})})],2)],1)]],2)]),e._v(" "),e.joined?e._e():a("div",{staticClass:"tracking-app__modal-footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button-save",{attrs:{spinner:e.waiting,title:"Join Waitlist"},on:{click:e.submitWaitlist}}),e._v(" "),a("c-link",{staticClass:"tracking-app__modal-close-link",attrs:{disabled:e.waiting},on:{click:e.closeWaitlistModal}},[e._v("Close")])],1)],2),e._v(" "),a("c-modal",{staticClass:"tracking-app__gallery-modal",attrs:{title:"App preview",size:"large"},model:{value:e.galleryModalOpen,callback:function(t){e.galleryModalOpen=t},expression:"galleryModalOpen"}},[a("template",{slot:"body"},[a("div",{staticClass:"tracking-app__gallery-modal-body",attrs:{tabindex:"0"},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.preventDefault(),e.prevScreen(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:(t.preventDefault(),e.nextScreen(t))}]}},[a("div",{staticClass:"tracking-app__gallery-stage"},[a("button",{staticClass:"tracking-app__gallery-nav tracking-app__gallery-nav--prev",attrs:{type:"button",disabled:e.galleryIndex<=0},on:{click:e.prevScreen}},[e._v("‹")]),e._v(" "),e.activeScreen?a("a",{staticClass:"tracking-app__gallery-stage-link",attrs:{href:e.activeScreen.src,target:"_blank",rel:"noopener noreferrer",title:"Open full image in new tab"}},[a("img",{staticClass:"tracking-app__gallery-stage-img",attrs:{src:e.activeScreen.src,alt:e.activeScreen.alt}})]):e._e(),e._v(" "),a("button",{staticClass:"tracking-app__gallery-nav tracking-app__gallery-nav--next",attrs:{type:"button",disabled:e.galleryIndex>=e.screens.length-1},on:{click:e.nextScreen}},[e._v("›")])]),e._v(" "),a("div",{staticClass:"tracking-app__gallery-meta"},[e.activeScreen?a("span",[e._v(e._s(e.galleryIndex+1)+" / "+e._s(e.screens.length))]):e._e()]),e._v(" "),a("div",{ref:"thumbs",staticClass:"tracking-app__gallery-thumbs"},e._l(e.screens,function(t,i){return a("button",{key:"thumb-"+t.src,class:["tracking-app__gallery-thumb",{"tracking-app__gallery-thumb--active":i===e.galleryIndex}],attrs:{type:"button"},on:{click:function(t){return e.setGalleryIndex(i)}}},[a("img",{attrs:{src:t.src,alt:t.alt,loading:"lazy"}})])}),0)])])],2)],1)};cr._withStripped=!0;var ur={name:"TrackingApp",data:()=>({waiting:!1,waitlistModalOpen:!1,galleryModalOpen:!1,galleryIndex:0,screens:[{src:"/mileage/media/mobile-app-screens/01.png",alt:"Mobile app screenshot 1"},{src:"/mileage/media/mobile-app-screens/03.png",alt:"Mobile app screenshot 3"},{src:"/mileage/media/mobile-app-screens/04.png",alt:"Mobile app screenshot 4"},{src:"/mileage/media/mobile-app-screens/05.png",alt:"Mobile app screenshot 5"},{src:"/mileage/media/mobile-app-screens/06.png",alt:"Mobile app screenshot 6"},{src:"/mileage/media/mobile-app-screens/07.png",alt:"Mobile app screenshot 7"}],userRoles:[{id:1,name:"Carrier company owner"},{id:2,name:"Owner operator"},{id:3,name:"Independent safety specialist or agency"},{id:4,name:"In-house safety manager"},{id:100,name:"Other (please describe in comments)"}],companyTypes:[{id:1,name:"Long-haul freight carrier (interstate trucking)"},{id:2,name:"Regional freight carrier (multi-state operations)"},{id:3,name:"Owner-operator (independent driver)"},{id:4,name:"Local / intrastate carrier"},{id:5,name:"Private fleet (company-owned trucks, non-for-hire)"},{id:6,name:"Passenger carrier (bus / shuttle service)"},{id:7,name:"Construction company fleet"},{id:8,name:"Agriculture / farming operations"},{id:9,name:"Oil & gas / energy transport"},{id:100,name:"Other"}],desiredFeatures:[{id:1,name:"Send routes to drivers"},{id:2,name:"Manage driver documents (CDL, etc.)"},{id:3,name:"Capture Proof of Delivery (POD)"},{id:4,name:"Upload fuel and maintenance receipts"}],localUserRoleId:null,localCompanyTypeId:null,localFleetSize:null,localDesiredFeatureIds:[]}),computed:{...Object(_.b)("trackingApp",{serverNotice:"serverNotice",joined:"joined",email:"email",userRoleId:"userRoleId",companyTypeId:"companyTypeId",fleetSize:"fleetSize",desiredFeatureIds:"desiredFeatureIds"}),activeScreen(){return this.screens&&this.screens[this.galleryIndex]?this.screens[this.galleryIndex]:null}},watch:{userRoleId:{immediate:!0,handler(e){this.localUserRoleId=e||null}},companyTypeId:{immediate:!0,handler(e){this.localCompanyTypeId=e||null}},fleetSize:{immediate:!0,handler(e){this.localFleetSize=e||null}},desiredFeatureIds:{immediate:!0,handler(e){this.localDesiredFeatureIds=Array.isArray(e)?e.slice():[]}}},created(){this.fetchWaitlistStatus()},methods:{...Object(f.b)("trackingApp",["fetchWaitlistStatus","joinWaitlist"]),openWaitlistModal(){this.waitlistModalOpen=!0},closeWaitlistModal(){this.waitlistModalOpen=!1},openGallery(e){this.galleryIndex=Math.max(0,Math.min(Number(e)||0,this.screens.length-1)),this.galleryModalOpen=!0,this.$nextTick(()=>{try{const e=this.$el&&this.$el.querySelector&&this.$el.querySelector(".tracking-app__gallery-modal-body");e&&e.focus&&e.focus()}catch(e){}})},setGalleryIndex(e){this.galleryIndex=Math.max(0,Math.min(Number(e)||0,this.screens.length-1)),this.$nextTick(()=>{const e=this.$refs.thumbs,t=e&&e.children?e.children[this.galleryIndex]:null;t&&t.scrollIntoView&&t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})})},prevScreen(){this.setGalleryIndex(this.galleryIndex-1)},nextScreen(){this.setGalleryIndex(this.galleryIndex+1)},scrollToHowItWorks(){const e=this.$refs.howItWorks;e&&e.scrollIntoView&&e.scrollIntoView({behavior:"smooth",block:"start"})},async submitWaitlist(){this.waiting=!0;const e=this.localFleetSize?Number(this.localFleetSize):null;await this.joinWaitlist({userRoleId:this.localUserRoleId,companyTypeId:this.localCompanyTypeId,fleetSize:Number.isFinite(e)?e:null,desiredFeatureIds:this.localDesiredFeatureIds}),this.waiting=!1,this.joined&&(this.waitlistModalOpen=!1)}}},dr=(a(161),d(ur,cr,[],!1,null,null,null));dr.options.__file="resources/assets/components/items/TrackingApp/TrackingApp.vue";
82var pr=dr.exports,mr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ifta-tracker-module-wrap"},[e.checking?a("c-container-item",{staticClass:"ifta-tracker-module"},[a("c-container-header",{attrs:{title:"IFTA Tracker"}}),e._v(" "),a("p",{staticClass:"ifta-tracker-module__loading"},[e._v("\n      Checking integration status…\n    ")])],1):[e.bootNotice?a("c-alert-server",{attrs:{notice:e.bootNotice}}):e._e(),e._v(" "),e.isActive?a("ifta-tracker-invitations"):a("ifta-tracker-connect",{on:{activated:e.onActivated}})]],2)};mr._withStripped=!0;var hr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"ifta-tracker-connect"},[a("c-container-header",{attrs:{title:"Your company profile"}}),e._v(" "),a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("div",{staticClass:"ifta-tracker-connect__page"},[a("div",{staticClass:"ifta-tracker-connect__page-header"},[a("div",[a("div",{staticClass:"ifta-tracker-connect__breadcrumb"},[e._v("\n          Integrations / IFTA Tracker / "),a("strong",[e._v("Connect")])]),e._v(" "),a("div",{staticClass:"ifta-tracker-connect__subtitle"},[e._v("\n          Set up your company profile to connect IFTA Tracker\n        ")])]),e._v(" "),a("c-button",{attrs:{variant:"primary"},on:{click:e.activate}},[a("c-icon",{attrs:{icon:"fa fa-link"}}),e._v(" "+e._s(e.activating?"Please wait…":"Next")+"\n      ")],1)],1),e._v(" "),e._e(),e._v(" "),e.loadingOptions?a("div",{staticClass:"ifta-tracker-connect__loading"},[e._v("\n      Loading…\n    ")]):a("form",{staticClass:"ifta-tracker-connect__form",attrs:{id:"ifta-tracker-connect-form"},on:{submit:function(t){return t.preventDefault(),e.activate(t)}}},[a("section",{staticClass:"ifta-tracker-connect__card"},[a("c-input-group",[a("label",{attrs:{for:"ifta-tracker-name"}},[e._v("Company name *")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-tracker-name","is-invalid":e.fieldErrors.name,placeholder:"Mann Freight LLC"}
82,model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),e._v(" "),a("div",{staticClass:"ifta-tracker-connect__grid"},[a("c-input-group",[a("label",[e._v("Country *")]),e._v(" "),a("c-select",{attrs:{options:e.countryOptions,"is-invalid":e.fieldErrors.country,"can-be-removed":!1,disabled:!e.countryOptions.length,placeholder:"Select country…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.form.country,callback:function(t){e.$set(e.form,"country",t)},expression:"form.country"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("IFTA jurisdiction ( State / province ) *")]),e._v(" "),a("c-select",{attrs:{options:e.iftaJurisdictionOptions,"is-invalid":e.fieldErrors.ifta_jurisdiction,"can-be-removed":!1,disabled:!e.form.country,placeholder:"Select…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.form.ifta_jurisdiction,callback:function(t){e.$set(e.form,"ifta_jurisdiction",t)},expression:"form.ifta_jurisdiction"}})],1)],1),e._v(" "),a("c-input-group",[a("label",[e._v("Timezone *")]),e._v(" "),a("c-select",{attrs:{options:e.timezoneOptions,"is-invalid":e.fieldErrors.timezone_id,"can-be-removed":!1,disabled:!e.form.country||!e.timezoneOptions.length,placeholder:"Select timezone…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.form.timezone_id,callback:function(t){e.$set(e.form,"timezone_id",t)}
82,expression:"form.timezone_id"}})],1),e._v(" "),a("div",{staticClass:"ifta-tracker-connect__grid"},[a("c-input-group",[a("label",{attrs:{for:"ifta-tracker-dot"}},[e._v("DOT")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-tracker-dot",placeholder:"Optional"},model:{value:e.form.dot_number,callback:function(t){e.$set(e.form,"dot_number",t)},expression:"form.dot_number"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"ifta-tracker-mc"}},[e._v("MC")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-tracker-mc",placeholder:"Optional"},model:{value:e.form.mc_number,callback:function(t){e.$set(e.form,"mc_number",t)},expression:"form.mc_number"}})],1)],1)],1),e._v(" "),a("section",{staticClass:"ifta-tracker-connect__card"},[a("h3",{staticClass:"ifta-tracker-connect__section-title"},[e._v("Contact")]),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"ifta-tracker-contact-name"}},[e._v("Name")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-tracker-contact-name"},model:{value:e.form.contact.name,callback:function(t){e.$set(e.form.contact,"name",t)},expression:"form.contact.name"}})],1),e._v(" "),a("div",{staticClass:"ifta-tracker-connect__grid"},[a("c-input-group",[a("label",{attrs:{for:"ifta-tracker-contact-email"}},[e._v("Email")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-tracker-contact-email",type:"email"},model:{value:e.form.contact.email,callback:function(t){e.$set(e.form.contact,"email",t)},expression:"form.contact.email"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"ifta-tracker-contact-phone"}},[e._v("Phone")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-tracker-contact-phone",placeholder:"+12125550123"},model:{value:e.form.contact.phone,callback:function(t){e.$set(e.form.contact,"phone",t)},expression:"form.contact.phone"}})],1)],1)],1)])])],1)};hr._withStripped=!0;var fr={name:"IftaTrackerConnect",data:()=>({serverNotice:null,loadingOptions:!0,activating:!1,showFieldErrors:!1,skipCountryReset:!1,createOptions:{},form:{name:"",country:"US",ifta_jurisdiction:null,timezone_id:null,dot_number:"",mc_number:"",contact:{name:"",email:"",phone:""}},setupSteps:["Create your company profile","Create driver and equipment profiles","Send drivers instructions for installing and activating the mobile app on their iOS/Android devices"]}),computed:{...Object(f.c)("auth",["user"]),countryOptions(){return(this.createOptions.countries||[]).map(e=>({id:e.code,value:e.name}))},iftaJurisdictionOptions(){return((this.form.country?(this.createOptions.ifta_jurisdictions||{})[this.form.country]:[])||[]).map(e=>({id:e.code,value:e.name}))},timezoneOptions(){return((this.form.country?(this.createOptions.timezones||{})[this.form.country]:[])||[]).map(e=>({id:e.timezone_id,value:e.label}))},fieldErrors(){return this.showFieldErrors?{name:!String(this.form.name||"").trim(),country:!this.form.country,ifta_jurisdiction:!this.form.ifta_jurisdiction,timezone_id:!this.form.timezone_id}:{name:!1,country:!1,ifta_jurisdiction:!1,timezone_id:!1}}},watch:{user:{immediate:!0,handler(){this.prefillFromUser()}},"form.country"(e,t){!this.skipCountryReset&&e&&e!==t&&(this.form.ifta_jurisdiction=null,this.form.timezone_id=this.defaultTimezoneId(e))}},created(){this.loadCreateOptions()},methods:{notify(e,t){this.serverNotice={type:e,message:t}},errMessage(e,t){if(e&&e.errors&&"object"==typeof e.errors){const t=Object.keys(e.errors).reduce((t,a)=>{const i=e.errors[a];return Array.isArray(i)?t.push(...i):i&&t.push(String(i)),t},[]);if(t.length)return t.join(" ")}return e&&e.message?String(e.message).replace(/<br\s*\/?>/gi," ").trim():t},prefillFromUser(){this.user&&(this.user.name&&!this.form.contact.name&&(this.form.contact.name=this.user.name),this.user.email&&!this.form.contact.email&&(this.form.contact.email=this.user.email))},buildPayload(){const e={name:this.form.name.trim(),country:this.form.country,ifta_jurisdiction:this.form.ifta_jurisdiction,timezone_id:Number(this.form.timezone_id)},t={},a=(this.form.contact.name||"").trim(),i=(this.form.contact.email||"").trim(),n=(this.form.contact.phone||"").trim();a&&(t.name=a),i&&(t.email=i),n&&(t.phone=n),Object.keys(t).length&&(e.contact=t);const r=(this.form.dot_number||"").trim(),s=(this.form.mc_number||"").trim();return r&&(e.dot_number=r),s&&(e.mc_number=s),e},applyStoredProfile(e){this.skipCountryReset=!0,e.name&&(this.form.name=e.name),e.country&&(this.form.country=e.country),e.ifta_jurisdiction&&(this.form.ifta_jurisdiction=e.ifta_jurisdiction),e.timezone_id&&(this.form.timezone_id=e.timezone_id),e.dot_number&&(this.form.dot_number=e.dot_number),e.mc_number&&(this.form.mc_number=e.mc_number);const t=e.contact||{};t.name&&(this.form.contact.name=t.name),t.email&&(this.form.contact.email=t.email),t.phone&&(this.form.contact.phone=t.phone),this.$nextTick(()=>{this.skipCountryReset=!1})},defaultTimezoneId(e){const t=(this.createOptions.timezones||{})[e]||[],a=t.find(e=>"Central"===e.label);return a?a.timezone_id:t.length?t[0].timezone_id:null},async loadCreateOptions(){this.loadingOptions=!0,this.serverNotice=null;const[e,t]=await Promise.all([De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/workspace/create-options"}),De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/company-profile/local"})]);this.loadingOptions=!1;const[a,i]=e;
82if(a)return void this.notify("danger",this.errMessage(a,"Could not load timezones."));this.createOptions=i&&i.data?i.data:{};const[,n]=t,r=n&&n.data?n.data:null,s=r&&Object.prototype.hasOwnProperty.call(r,"data")?r.data:null;s&&s.name&&this.applyStoredProfile(s),this.form.timezone_id||(this.form.timezone_id=this.defaultTimezoneId(this.form.country))},async activate(){if(this.activating||this.loadingOptions)return;if(this.showFieldErrors=!0,Object.values(this.fieldErrors).some(Boolean))return;this.activating=!0,this.serverNotice=null;const[e,t]=await De.a.fetch({method:"post",url:"/api/modules/ifta-tracker/activate",data:this.buildPayload()});if(this.activating=!1,e)return void this.notify("danger",this.errMessage(e,"Activation failed. Please try again."));const a=t&&t.data?t.data:{};a.service_activated&&a.workspace_id?this.$emit("activated",a):this.notify("danger","Workspace could not be activated. Please contact support.")}}},_r=(a(162),d(fr,hr,[],!1,null,"b567a7de",null));_r.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerConnect.vue";var vr=_r.exports,gr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"ifta-tracker-invitations"},[a("c-container-header",{attrs:{title:"IFTA Tracker: Mobile app"}},[a("div",{staticClass:"ifta-tracker-invitations__header-actions"},[a("c-button",{attrs:{variant:"base",size:"small",disabled:e.syncWaiting},on:{click:e.sync}},[a("c-icon",{attrs:{icon:"fa fa-refresh"}}),e._v(" Refresh status\n      ")],1)],1)]),e._v(" "),a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__page"},[a("div",{staticClass:"ifta-tracker-invitations__page-header"},[a("div",[a("div",{staticClass:"ifta-tracker-invitations__breadcrumb"},[e._v("\n          Integrations / IFTA Tracker / "),a("strong",[e._v("Mobile app")])])])]),e._v(" "),e.isOwner?a("ifta-tracker-quick-login",{ref:"quickLogin",attrs:{equipment:e.equipment,activation:e.activation},on:{"equipment-updated":e.updateEquipments,notify:function(t){return e.notify(t.type,t.message)}}}):e._e(),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__section"},[a("div",{staticClass:"ifta-tracker-invitations__section-header"},[a("div",[a("h3",{staticClass:"ifta-tracker-invitations__section-title"},[a("span",{staticClass:"ifta-tracker-invitations__section-title-icon",attrs:{"aria-hidden":"true"}},[a("c-icon",{attrs:{icon:"fa fa-users"}})],1),e._v("\n            Mobile App Account for my fleet drivers\n          ")]),e._v(" "),a("p",{staticClass:"ifta-tracker-invitations__section-subtitle"},[e._v("\n            Invite drivers by email — they receive a code to register in the Tracker app\n          ")])]),e._v(" "),a("c-button",{attrs:{variant:"primary"},on:{click:function(t){return e.openNewModal()}}},[a("c-icon",{attrs:{icon:"fa fa-plus"}}),e._v(" New invitation\n        ")],1)],1)]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__how"},[a("div",{staticClass:"ifta-tracker-invitations__how-header"},[a("c-icon",{attrs:{icon:"fa fa-info-circle"}}),e._v(" "),a("span",[e._v("How driver onboarding works")])],1),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__how-steps"},e._l(e.howSteps,function(t,i){return a("div",{key:i,staticClass:"ifta-tracker-invitations__how-step"},[a("div",{staticClass:"ifta-tracker-invitations__step-num"},[e._v(e._s(i+1))]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__step-body"},[a("strong",[e._v(e._s(t.title))]),e._v("\n            "+e._s(t.text)+"\n          ")])])}),0)]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__card ifta-tracker-invitations__card--table"},[a("table",{staticClass:"ifta-tracker-invitations__table"},[a("colgroup",[a("col",{staticStyle:{width:"26%"}}),e._v(" "),a("col",{staticStyle:{width:"26%"}}),e._v(" "),a("col",{staticStyle:{width:"18%"}}),e._v(" "),a("col",{staticStyle:{width:"30%"}})]),e._v(" "),a("thead",[a("tr",[a("th",[e._v("Equipment")]),e._v(" "),a("th",[e._v("Driver")]),e._v(" "),a("th",[e._v("Status")]),e._v(" "),a("th",{staticClass:"ifta-tracker-invitations__th-actions"},[e._v("Actions")])])]),e._v(" "),a("tbody",[e.invitations.length?e._e():a("tr",[a("td",{staticClass:"ifta-tracker-invitations__empty",attrs:{colspan:"4"}},[e._v("\n              No invitations yet. Create one to link a vehicle and driver in the Tracker app.\n            ")])]),e._v(" "),e._l(e.invitations,function(t){return a("tr",{key:t.id,class:{"
82ifta-tracker-invitations__tr--new":e.highlightId===t.id}},[a("td",{staticClass:"ifta-tracker-invitations__td-strong"},[e._v("\n              "+e._s(e.equipmentLabel(t.equipment))+"\n            ")]),e._v(" "),a("td",["self"===t.invite_target?a("span",[e._v("Me (owner)")]):e.driverShortName(t.driver)?a("span",[e._v(e._s(e.driverShortName(t.driver)))]):a("span",{staticClass:"ifta-tracker-invitations__muted-hint"},[e._v("—")])]),e._v(" "),a("td",[a("span",{class:e.badgeClass(t.ui_status)},[a("span",{class:e.dotClass(t.ui_status)}),e._v("\n                "+e._s(e.statusLabel(t.ui_status))+"\n              ")])]),e._v(" "),a("td",{staticClass:"ifta-tracker-invitations__actions"},["pending"===t.ui_status?[a("c-button",{attrs:{variant:"base",size:"small"},on:{click:function(a){return e.openInstrModal(t)}}},[a("c-icon",{attrs:{icon:"self"===t.invite_target?"fa fa-sign-in":"fa fa-list"}}),e._v(" "+e._s("self"===t.invite_target?"View login info":"Show instructions")+"\n                ")],1)]:e._e(),e._v(" "),"expired"===t.ui_status||"rejected"===t.ui_status?[a("c-button",{attrs:{variant:"base",size:"small"},on:{click:function(a){return e.openReissue(t)}}},[a("c-icon",{attrs:{icon:"fa fa-refresh"}}),e._v(" Reissue\n                ")],1)]:e._e(),e._v(" "),t.deletable?a("c-button",{staticClass:"ifta-tracker-invitations__btn-danger",attrs:{variant:"base",size:"small"},on:{click:function(a){return e.confirmDelete(t)}}},[a("c-icon",{attrs:{icon:"fa fa-trash"}})],1):e._e()],2)])})],2)])]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__support"},[a("div",{staticClass:"ifta-tracker-invitations__support-header"},[a("c-icon",{attrs:{icon:"fa fa-life-ring"}}),e._v(" "),a("span",[e._v("Need help?")])],1),e._v(" "),a("p",{staticClass:"ifta-tracker-invitations__support-text"},[e._v("\n        If you run into any difficulties with the mobile app or driver onboarding,\n        "),a("a",{attrs:{href:"mailto:[email protected]"}},[e._v("contact us")]),e._v("\n        (support) at\n        "),a("a",{attrs:{href:"mailto:[email protected]"}},[e._v("[email protected]")]),e._v(".\n      ")])])],1),e._v(" "),a("c-modal",{staticClass:"ifta-tracker-invitations__modal",attrs:{title:e.newModalTitle,size:"medium"},model:{value:e.modalNewOpen,callback:function(t){e.modalNewOpen=t},expression:"modalNewOpen"}},[a("template",{slot:"body"},[a("div",{staticClass:"ifta-tracker-invitations__field"},[a("label",{staticClass:"ifta-tracker-invitations__label"},[e._v("Equipment")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__equipment"},[a("c-select",{attrs:{options:e.equipmentOptions,placeholder:"Select equipment…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.form.equipment_id,callback:function(t){e.$set(e.form,"equipment_id",t)},expression:"form.equipment_id"}}),e._v(" "),e.form.equipment_id?a("c-button",{attrs:{variant:"primary"},on:{click:function(t){return e.openEquipmentForm(e.form.equipment_id)}}},[a("c-icon",{attrs:{icon:"fa fa-edit"}})],1):e._e(),e._v(" "),a("c-button",{attrs:{variant:"success"},on:{click:function(t){return e.openEquipmentForm(null)}}},[a("c-icon",{attrs:{icon:"fa fa-file-text-o"}})],1)],1),e._v(" "),e.equipmentConflict?a("div",{staticClass:"ifta-tracker-invitations__conflict"},[a("strong",[e._v("This equipment already has an active invitation.")]),e._v(" "),a("br"),e._v("\n          Delete the existing invitation for "+e._s(e.equipmentConflictLabel)+" before creating a new one.\n        ")]):e._e()]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__field"},[a("label",{staticClass:"ifta-tracker-invitations__label"},[e._v("Driver")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__equipment"},[a("c-select",{attrs:{options:e.driverOptions,placeholder:"Select driver…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.form.driver_id,callback:function(t){e.$set(e.form,"driver_id",t)},expression:"form.driver_id"}}),e._v(" "),e.form.driver_id?a("c-button",{attrs:{variant:"primary"},on:{click:function(t){return e.openDriverForm(e.form.driver_id)}}},[a("c-icon",{attrs:{icon:"fa fa-edit"}}
82)],1):e._e(),e._v(" "),a("c-button",{attrs:{variant:"success"},on:{click:function(t){return e.openDriverForm(null)}}},[a("c-icon",{attrs:{icon:"fa fa-file-text-o"}})],1)],1)]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__new-modal-tip"},[a("c-icon",{attrs:{icon:"fa fa-info-circle"}}),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__new-modal-tip-body"},[a("p",[e._v("\n            Don't see the right equipment or driver? Click the\n            "),a("span",{staticClass:"ifta-tracker-invitations__new-modal-tip-mark"},[e._v("green button")]),e._v("\n            next to each field to create a new profile.\n          ")])])],1)]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__modal-footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"base"},on:{click:function(t){e.modalNewOpen=!1}}},[e._v("Cancel")]),e._v(" "),a("c-button",{attrs:{variant:"primary",disabled:e.createWaiting||e.equipmentConflict||!e.canSubmitNew},on:{click:e.submitNewInvitation}},[e._v("\n        "+e._s(e.createButtonLabel)+"\n      ")])],1)],2),e._v(" "),a("c-modal",{staticClass:"ifta-tracker-invitations__modal",attrs:{title:e.instrModalTitle,size:"medium"},model:{value:e.modalInstrOpen,callback:function(t){e.modalInstrOpen=t},expression:"modalInstrOpen"}},[a("template",{slot:"body"},[e.isActiveSelfInvitation?[a("p",{staticClass:"ifta-tracker-invitations__instr-intro"},[e._v("\n          Mobile app access is ready for "),a("strong",[e._v(e._s(e.instrEquipmentName))]),e._v(".\n        ")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__self-warning"},[a("c-icon",{attrs:{icon:"fa fa-exclamation-triangle"}}),e._v(" "),a("div",[a("strong",[e._v("Separate accounts")]),e._v(" "),a("p",[e._v("\n              Your IFTA Calculator account and the IFTA Tracker mobile app use\n              "),a("strong",[e._v("separate logins")]),e._v(".\n            ")])])],1),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__self-login-box"},[a("div",{staticClass:"ifta-tracker-invitations__self-login-row"},[a("span",{staticClass:"ifta-tracker-invitations__self-login-label"},[e._v("Email")]),e._v(" "),a("span",{staticClass:"ifta-tracker-invitations__self-login-value"},[e._v(e._s(e.ownerLoginEmail))])]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__self-login-row"},[a("span",{staticClass:"ifta-tracker-invitations__self-login-label"},[e._v("Password")]),e._v(" "),a("span",{staticClass:"ifta-tracker-invitations__self-login-value"},[e._v("The password you just created")])])]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-step"},[a("div",{staticClass:"ifta-tracker-invitations__instr-num"},[e._v("1")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-content"},[a("strong",[e._v("Download the IFTA Tracker app")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__store-links"},[a("a",{staticClass:"ifta-tracker-invitations__store-btn",attrs:{href:e.appStoreIosUrl,target:"_blank",rel:"noopener noreferrer"}},[a("c-icon",{attrs:{icon:"fa fa-apple"}}),e._v(" App Store\n              ")],1),e._v(" "),a("a",{staticClass:"ifta-tracker-invitations__store-btn",attrs:{href:e.appStoreAndroidUrl,target:"_blank",rel:"noopener noreferrer"}},[a("c-icon",{attrs:{icon:"fa fa-android"}}),e._v(" Google Play\n              ")],1)])])]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-step"},[a("div",{staticClass:"ifta-tracker-invitations__instr-num"},[e._v("2")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-content"},[a("strong",[e._v("Sign in with your mobile app password")]),e._v(" "),a("p",[e._v("Use the email and password above. Do not use your IFTA Calculator web password unless they are the same.")])])]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-step"},[a("div",{staticClass:"ifta-tracker-invitations__instr-num"},[e._v("3")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-content"},[a("strong",[e._v("Accept the vehicle assignment")]),e._v(" "),a("p",[e._v("If prompted in the app, accept the pending assignment for "),a("strong",[e._v(e._s(e.instrEquipmentName))]),e._v(", then complete permissions setup.")])])]),e._v(" "),a("hr",{staticClass:"ifta-tracker-invitations__divider"}),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__email-section"},[a("p",{staticClass:"ifta-tracker-invitations__email-section-title"},[e._v("Email login instructions")]),e._v(" "),e.instrPreviouslySentText?a("div",{staticClass:"ifta-tracker-invitations__already-sent-notice"},[a("c-icon",{attrs:{icon:"fa fa-envelope"}}),e._v(" "),a("span",[e._v(e._s(e.instrPreviouslySentText))])],1):e._e(
82),e._v(" "),a("label",{staticClass:"ifta-tracker-invitations__label"},[e._v("Email address")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__email-row"},[a("c-input-form",{attrs:{placeholder:"[email protected]"},model:{value:e.instrEmail,callback:function(t){e.instrEmail=t},expression:"instrEmail"}}),e._v(" "),a("c-button",{attrs:{variant:"primary",size:"small",disabled:e.sendWaiting},on:{click:e.sendInstructionsEmail}},[e._v("\n              "+e._s(e.sendButtonLabel)+"\n            ")])],1),e._v(" "),e.sendHint?a("div",{staticClass:"ifta-tracker-invitations__sent-hint"},[a("c-icon",{attrs:{icon:"fa fa-check-circle"}}),e._v(" "),a("span",[e._v(e._s(e.sendHint))])],1):e._e()])]:[a("p",{staticClass:"ifta-tracker-invitations__instr-intro"},[e._v("\n        Share these steps with "),a("strong",[e._v(e._s(e.instrDriverName))]),e._v(" to set up the IFTA Tracker app for\n        "),a("strong",[e._v(e._s(e.instrEquipmentName))]),e._v(".\n      ")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-step"},[a("div",{staticClass:"ifta-tracker-invitations__instr-num"},[e._v("1")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-content"},[a("strong",[e._v("Download the IFTA Tracker app")]),e._v(" "),a("p",[e._v("Available for iPhone and Android. Use the links below.")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__store-links"},[a("a",{staticClass:"ifta-tracker-invitations__store-btn",attrs:{href:e.appStoreIosUrl,target:"_blank",rel:"noopener noreferrer"}},[a("c-icon",{attrs:{icon:"fa fa-apple"}}),e._v(" App Store\n            ")],1),e._v(" "),a("a",{staticClass:"ifta-tracker-invitations__store-btn",attrs:{href:e.appStoreAndroidUrl,target:"_blank",rel:"noopener noreferrer"}},[a("c-icon",{attrs:{icon:"fa fa-android"}}),e._v(" Google Play\n            ")],1)])])]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-step"},[a("div",{staticClass:"ifta-tracker-invitations__instr-num"},[e._v("2")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-content"},[a("strong",[e._v("Open the app and tap “I have an invitation code”")]),e._v(" "),a("p",[e._v("\n            On the welcome screen, tap\n            "),a("span",{staticClass:"ifta-tracker-invitations__tap-label"},[e._v("I have an invitation code")]),e._v("\n            to continue. No account needed — the invitation handles setup automatically.\n          ")])])]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-step"},[a("div",{staticClass:"ifta-tracker-invitations__instr-num"},[e._v("3")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-content"},[a("strong",[e._v("Enter the invitation code")]),e._v(" "),a("p",[e._v("Type in the code below exactly as shown. This links the account to your fleet and the assigned vehicle automatically.")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__code-box"},[a("span",{staticClass:"ifta-tracker-invitations__code-val"},[e._v(e._s(e.instrCode||"—"))]),e._v(" "),a("span",{staticClass:"ifta-tracker-invitations__code-expires"},[e._v(e._s(e.instrExpiresText))])])])]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-step"},[a("div",{staticClass:"ifta-tracker-invitations__instr-num"},[e._v("4")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__instr-content"},[a("strong",[e._v("Complete the in-app setup")]),e._v(" "),a("p",[e._v("The app will guide through vehicle confirmation and permissions (location, notifications). GPS tracking starts automatically after setup.")])])]),e._v(" "),a("hr",{staticClass:"ifta-tracker-invitations__divider"}),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__email-section"},[a("p",{staticClass:"ifta-tracker-invitations__email-section-title"},[e._v("Send these instructions by email")]),e._v(" "),e.instrPreviouslySentText?a("div",{staticClass:"ifta-tracker-invitations__already-sent-notice"},[a("c-icon",{attrs:{icon:"fa fa-envelope"}}),e._v(" "),a("span",[e._v(e._s(e.instrPreviouslySentText))])],1):e._e(),e._v(" "),a("label",{staticClass:"ifta-tracker-invitations__label"},[e._v("Driver email address")]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__email-row"},[a("c-input-form",{attrs:{placeholder:"[email protected]"},model:{value:e.instrEmail,callback:function(t){e.instrEmail=t},expression:"instrEmail"}}),e._v(" "),a("c-button",{attrs:{variant:"primary",size:"small",disabled:e.sendWaiting},on:{click:e.sendInstructionsEmail}},[e._v("\n            "+e._s(e.sendButtonLabel)+"\n          ")])],1),e._v(" "),e.sendHint?a("div",{staticClass:"ifta-tracker-invitations__sent-hint"},[a("c-icon",{attrs:{icon:"fa fa-check-circle"}}
82),e._v(" "),a("span",[e._v(e._s(e.sendHint))])],1):e._e()])]],2),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__modal-footer ifta-tracker-invitations__modal-footer--end",attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"primary"},on:{click:function(t){e.modalInstrOpen=!1}}},[e._v("Done")])],1)],2),e._v(" "),a("c-modal",{staticClass:"ifta-tracker-invitations__modal",attrs:{title:"Revoke invitation",size:"medium"},model:{value:e.modalDeleteOpen,callback:function(t){e.modalDeleteOpen=t},expression:"modalDeleteOpen"}},[a("template",{slot:"body"},[a("p",{staticClass:"ifta-tracker-invitations__delete-body",domProps:{innerHTML:e._s(e.deleteMessageHtml)}})]),e._v(" "),a("div",{staticClass:"ifta-tracker-invitations__modal-footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"base"},on:{click:function(t){e.modalDeleteOpen=!1}}},[e._v("Cancel")]),e._v(" "),a("c-button",{staticClass:"ifta-tracker-invitations__btn-delete-confirm",attrs:{variant:"primary",disabled:e.deleteWaiting},on:{click:e.executeDelete}},[e._v("\n        Revoke\n      ")])],1)],2),e._v(" "),e.equipmentFormState?a("equipment-form",{attrs:{"item-id":e.equipmentFormId,state:e.equipmentFormState},on:{close:function(t){e.equipmentFormState=!1},update:e.updateEquipments}}):e._e(),e._v(" "),e.driverFormState?a("driver-form",{attrs:{"item-id":e.driverFormId,state:e.driverFormState},on:{close:function(t){e.driverFormState=!1},update:e.updateDrivers}}):e._e()],1)};gr._withStripped=!0;var yr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal-sliding",{attrs:{title:e.title},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("div",{staticClass:"driver-form"},[a("div",[a("c-input-group",[a("label",{attrs:{for:"driver-first-name"}},[e._v("First name")]),e._v(" "),a("c-input-form",{attrs:{id:"driver-first-name"},model:{value:e.firstName,callback:function(t){e.firstName=t},expression:"firstName"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"driver-last-name"}},[e._v("Last name")]),e._v(" "),a("c-input-form",{attrs:{id:"driver-last-name"},model:{value:e.lastName,callback:function(t){e.lastName=t},expression:"lastName"}})],1)],1),e._v(" "),a("div",[a("c-input-group",[a("label",{attrs:{for:"driver-email"}},[e._v("Email *")]),e._v(" "),a("c-input-form",{attrs:{id:"driver-email"},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"driver-phone"}},[e._v("Phone")]),e._v(" "),a("c-input-form",{attrs:{id:"driver-phone",placeholder:"+14155552671"},model:{value:e.phone,callback:function(t){e.phone=t},expression:"phone"}})],1)],1)])],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-save",{attrs:{spinner:e.waiting},on:{click:e.save}}),e._v(" "),a("c-button-close",{on:{click:e.close}})],1)])};yr._withStripped=!0;var br={name:"DriverForm",model:{prop:"state",event:"close"},props:{state:{type:Boolean,default:!1},itemId:{type:[String,Number],default:null}},data:()=>({waiting:!1}),computed:{...Object(_.b)("drivers/form",{serverNotice:"serverNotice",relatedData:"relatedData",id:"formData.id",firstName:"formData.first_name",lastName:"formData.last_name",email:"formData.email",phone:"formData.phone"}),driverId(){return this.itemId||this.id},title(){return this.driverId?"Edit driver":"New driver"},mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},watch:{serverNotice(e){e&&"success"===e.type&&this.update()}},created(){this.driverId&&this.getFormData([this.driverId]),this.getRelatedData([this.driverId])},beforeDestroy(){this.clearFormData()},methods:{...Object(f.b)("drivers/form",{getFormData:"getItem",createItem:"createItem",updateItem:"updateItem",getRelatedData:"getRelatedData",clearFormData:"clearFormData"}),close(){this.mutableState=!1},async save(){this.waiting=!0,this.driverId?await this.updateItem({data:{first_name:this.firstName,last_name:this.lastName,email:this.email,phone:this.phone},ids:[this.driverId]}):await this.createItem(),this.waiting=!1},update(){this.$emit("update",this.driverId)}}},kr=(a(163),d(br,yr,[],!1,null,null,null));kr.options.__file="resources/assets/components/items/Drivers/DriverForm.vue";var wr=kr.exports,Mr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ifta-tracker-quick-login"},[a("div",{staticClass:"ifta-tracker-quick-login__page-header"},[a("div",{staticClass:"ifta-tracker-quick-login__page-header-text"},[a("h3",{staticClass:"ifta-tracker-quick-login__title"},[a("span",{staticClass:"ifta-tracker-quick-login__title-icon",attrs:{"aria-hidden":"true"}},[a("c-icon",{attrs:{icon:"fa fa-user"}})],1),e._v("\n        Mobile App Account for me\n      ")]),e._v(" "),a("p",{staticClass:"ifta-tracker-quick-login__subtitle"},[e._v("\n        Set up the IFTA Tracker mobile app for yourself\n      ")])]),e._v(" "),a("c-button",{attrs:{variant:"primary"},on:{click:e.openModal}},[a("c-icon",{attrs:{icon:"fa fa-qrcode"}}),e._v(" Setup & Login\n    ")],1)],1),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__how"},[a("div",{staticClass:"ifta-tracker-quick-login__how-header"},[a("c-icon",{attrs:{icon:"fa fa-info-circle"}}),e._v(" "),a("span",[e._v("My Mobile App Account onboarding")])],1),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__how-steps"},[a("div",{staticClass:"ifta-tracker-quick-login__how-step"},[a("div",{staticClass:"ifta-tracker-quick-login__step-num"},[e._v("1")]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__step-body"},[a("strong",[e._v("Install the app")]),e._v("\n          Download IFTA Tracker from the App Store or Google Play\n          "),a("span",{staticClass:"ifta-tracker-quick-login__step-links"},[e._v("\n            ("),a("a",{attrs:{href:e.installUrl,target:"_blank",rel:"noopener noreferrer"}},[e._v("open store page")]),e._v(")\n          ")])])]),e._v(" "),e._m(0),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__how-step"},[a("div",{staticClass:"ifta-tracker-quick-login__step-num"},[e._v("3")]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__step-body"},[a("strong",[e._v("Set up the mobile app")]),e._v("\n          After signing in, enable tracking and start your first drive.\n          "),a("span",{staticClass:"ifta-tracker-quick-login__step-links"},[e._v("\n            ("),a("button",{staticClass:"ifta-tracker-quick-login__step-link",attrs:{type:"button"},on:{click:function(t){e.mobileSetupModalOpen=!0}}},[e._v("view instructions")]),e._v(")\n          ")])])]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__how-step"},[a("div",{staticClass:"ifta-tracker-quick-login__step-num"},[e._v("4")]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__step-body"},[a("strong",[e._v("Test integration")]),e._v("\n          Confirm drives appear in IFTA Calculator for your linked vehicle.\n          "),a("span",{staticClass:"ifta-tracker-quick-login__step-links"},[e._v("\n            ("),a("button",{staticClass:"ifta-tracker-quick-login__step-link",attrs:{type:"button",disabled:!e.ownerVehicleBinding},on:{click:e.openTestIntegration}},[e._v("view latest drives")]),e._v(")\n          ")])])])]),e._v(" "),a("ifta-tracker-integration-status",{ref:"integrationStatus",attrs:{embedded:"","workspace-id":e.workspaceId},on:{"equipment-updated":function(t){return e.$emit("equipment-updated",t)},notify:function(t){return e.$emit("notify",t)}}})],1),e._v(" "),a("c-modal",{staticClass:"ifta-tracker-quick-login__modal",attrs:{title:e.modalTitle,size:"medium"},on:{input:e.onModalToggle},model:{value:e.modalOpen,callback:function(t){e.modalOpen=t},expression:"modalOpen"}},[a("template",{slot:"body"},["form"===e.step?a("div",{staticClass:"ifta-tracker-quick-login__body"},[a("div",{staticClass:"ifta-tracker-quick-login__field"},[a("label",{staticClass:"ifta-tracker-quick-login__label"},[e._v("Equipment")]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__equipment"},[a("c-select",{attrs:{options:e.equipmentOptions,placeholder:"Select equipment…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.equipmentId,callback:function(t){e.equipmentId=t},expression:"equipmentId"}}),e._v(" "),e.equipmentId?a("c-button",{attrs:{variant:"primary"},on:{click:function(t){return e.openEquipmentForm(e.equipmentId)}}},[a("c-icon",{attrs:{icon:"fa fa-edit"}}
82)],1):e._e(),e._v(" "),a("c-button",{attrs:{variant:"success"},on:{click:function(t){return e.openEquipmentForm(null)}}},[a("c-icon",{attrs:{icon:"fa fa-file-text-o"}})],1)],1),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__field-tip"},[a("c-icon",{attrs:{icon:"fa fa-info-circle"}}),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__field-tip-body"},[a("p",[e._v("\n                This equipment will be set up in your IFTA Tracker mobile app. GPS drives recorded\n                in the app will be linked to this equipment in IFTA Calculator for IFTA tax reporting.\n              ")])])],1)])]):a("div",{staticClass:"ifta-tracker-quick-login__body ifta-tracker-quick-login__body--result"},[e.isMobile&&e.result&&e.result.app_link?[a("p",{staticClass:"ifta-tracker-quick-login__redirect-msg"},[e._v("\n            Opening the IFTA Tracker app…\n          ")]),e._v(" "),a("p",{staticClass:"ifta-tracker-quick-login__redirect-fallback"},[e._v("\n            If nothing happens,\n            "),a("a",{attrs:{href:e.result.app_link,target:"_blank",rel:"noopener noreferrer"}},[e._v("tap here")]),e._v("\n            or install the app using the store buttons below.\n          ")])]:e.result&&e.result.qr_image_url?[a("p",{staticClass:"ifta-tracker-quick-login__qr-intro"},[e._v("\n            Scan with your phone camera to open the app and sign in as\n            "),a("strong",[e._v(e._s(e.result.email))])]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__qr-wrap"},[a("img",{staticClass:"ifta-tracker-quick-login__qr",attrs:{src:e.result.qr_image_url,alt:"Login QR code"}})]),e._v(" "),e.result.auth_code_expires_at?a("p",{staticClass:"ifta-tracker-quick-login__expires"},[e._v("\n            Link expires "+e._s(e.formatExpires(e.result.auth_code_expires_at))+"\n          ")]):e._e()]:e._e(),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__store-links ifta-tracker-quick-login__store-links--result"},[a("a",{staticClass:"ifta-tracker-quick-login__store-btn",attrs:{href:e.installUrl,target:"_blank",rel:"noopener noreferrer"}},[a("c-icon",{attrs:{icon:"fa fa-apple"}}),e._v(" App Store\n          ")],1),e._v(" "),a("a",{staticClass:"ifta-tracker-quick-login__store-btn",attrs:{href:e.installUrl,target:"_blank",rel:"noopener noreferrer"}},[a("c-icon",{attrs:{icon:"fa fa-android"}}),e._v(" Google Play\n          ")],1)])],2)]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"base"},on:{click:e.closeModal}},[e._v(e._s("result"===e.step?"Close":"Cancel"))]),e._v(" "),"form"===e.step?a("c-button",{attrs:{variant:"primary",disabled:e.loginWaiting||!e.equipmentId},on:{click:e.submitLogin}},[a("c-icon",{attrs:{icon:"fa fa-sign-in"}}),e._v(" Login\n      ")],1):a("c-button",{attrs:{variant:"primary"},on:{click:e.resetToForm}},[e._v("\n        Generate new link\n      ")])],1)],2),e._v(" "),a("c-modal",{staticClass:"ifta-tracker-quick-login__setup-modal",attrs:{title:"Set up the mobile app",size:"large"},model:{value:e.mobileSetupModalOpen,callback:function(t){e.mobileSetupModalOpen=t},expression:"mobileSetupModalOpen"}},[a("template",{slot:"body"},[a("p",{staticClass:"ifta-tracker-quick-login__setup-intro"},[e._v("\n        After Quick Login, the IFTA Tracker app should open and sign you in automatically.\n        Use this guide for your first setup on the phone.\n      ")]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__setup-callout"},[a("div",{staticClass:"ifta-tracker-quick-login__setup-callout-title"},[e._v("\n          Didn’t sign in automatically?\n        ")]),e._v(" "),a("p",[e._v("\n          If you see the email and password screen instead of being logged in, go back to\n          IFTA Calculator and run "),a("strong",[e._v("Setup & Login")]),e._v(" again.\n        ")]),e._v(" "),a("p",[e._v("\n          If it still doesn’t work, tap "),a("strong",[e._v("Forgot password?")]),e._v(" in the mobile app\n          to set a password for your Tracker account.\n        ")])]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__setup-list"},e._l(e.mobileSetupSteps,function(t,i){return a("div",{key:i,staticClass:"ifta-tracker-quick-login__setup-item"},[a("div",{staticClass:"ifta-tracker-quick-login__setup-item-head"},[a("div",{staticClass:"ifta-tracker-quick-login__setup-item-num"},[e._v(e._s(i+1))]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__setup-item-title"},[e._v(e._s(t.title))])]),e._v(" "),a("p",{staticClass:"ifta-tracker-quick-login__setup-item-text",domProps:{innerHTML:e._s(t.textHtml)}}),e._v(" "),t.image?a("img",{staticClass:"ifta-tracker-quick-login__setup-shot",attrs:{src:t.image,alt:t.imageAlt,loading:"lazy"}}
82):e._e(),e._v(" "),"test-integration"===t.action?a("div",{staticClass:"ifta-tracker-quick-login__setup-item-action"},[a("c-button",{attrs:{variant:"primary",disabled:!e.ownerVehicleBinding},on:{click:e.openTestIntegrationFromSetup}},[a("c-icon",{attrs:{icon:"fa fa-list"}}),e._v(" View latest drives\n            ")],1),e._v(" "),e.ownerVehicleBinding?e._e():a("p",{staticClass:"ifta-tracker-quick-login__setup-item-hint"},[e._v("Available after Quick Login with equipment linked")])],1):e._e()])}),0)]),e._v(" "),a("div",{staticClass:"ifta-tracker-quick-login__footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"base"},on:{click:function(t){e.mobileSetupModalOpen=!1}}},[e._v("Close")])],1)],2),e._v(" "),e.drivesModalOpen?a("ifta-tracker-vehicle-drives-modal",{attrs:{"workspace-id":e.workspaceId,"vehicle-label":e.drivesVehicleLabel,"ext-vehicle-id":e.drivesExtVehicleId},model:{value:e.drivesModalOpen,callback:function(t){e.drivesModalOpen=t},expression:"drivesModalOpen"}}):e._e(),e._v(" "),e.equipmentFormState?a("equipment-form",{attrs:{"item-id":e.equipmentFormId,state:e.equipmentFormState},on:{close:function(t){e.equipmentFormState=!1},update:e.onEquipmentUpdated}}):e._e()],1)};Mr._withStripped=!0;var Sr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ifta-tracker-integration-status",class:{"ifta-tracker-integration-status--embedded":e.embedded}},[a("div",{staticClass:"ifta-tracker-integration-status__account"},[a("div",{staticClass:"ifta-tracker-integration-status__account-row"},[a("span",{staticClass:"ifta-tracker-integration-status__account-title"},[e._v("My Mobile App Account")]),e._v(" "),e.loading?a("span",{staticClass:"ifta-tracker-integration-status__account-value ifta-tracker-integration-status__account-value--muted"},[e._v("Loading…")]):e.isAccountConfigured?a("span",{staticClass:"ifta-tracker-integration-status__badge ifta-tracker-integration-status__badge--linked"},[a("span",{staticClass:"ifta-tracker-integration-status__dot ifta-tracker-integration-status__dot--green"}),e._v("\n        "+e._s(e.mobileAppAccount.email)+"\n      ")]):a("span",{staticClass:"ifta-tracker-integration-status__account-value ifta-tracker-integration-status__account-value--muted"},[e._v("Not set up yet")]),e._v(" "),e.loading?e._e():a("div",{staticClass:"ifta-tracker-integration-status__account-actions"},[e.isAccountConfigured?a("c-button",{attrs:{variant:"base",size:"small"},on:{click:e.openPasswordModal}},[e._v("\n          Set password\n        ")]):e._e(),e._v(" "),a("button",{staticClass:"ifta-tracker-integration-status__equipment-link",attrs:{type:"button"},on:{click:function(t){e.equipmentModalOpen=!0}}},[e._v("\n          equipment ("+e._s(e.equipmentCount)+")\n        ")])],1)])]),e._v(" "),a("c-modal",{staticClass:"ifta-tracker-integration-status__equipment-modal",attrs:{title:"Linked equipment",size:"medium"},model:{value:e.equipmentModalOpen,callback:function(t){e.equipmentModalOpen=t},expression:"equipmentModalOpen"}},[a("template",{slot:"body"},[a("div",{staticClass:"ifta-tracker-integration-status__card ifta-tracker-integration-status__card--table"},[a("table",{staticClass:"ifta-tracker-integration-status__table"},[a("colgroup",[a("col",{staticStyle:{width:"42%"}}),e._v(" "),a("col",{staticStyle:{width:"28%"}}),e._v(" "),a("col",{staticStyle:{width:"30%"}})]),e._v(" "),a("thead",[a("tr",[a("th",[e._v("Equipment")]),e._v(" "),a("th",[e._v("Status")]),e._v(" "),a("th",{staticClass:"ifta-tracker-integration-status__th-actions"},[e._v("Actions")])])]),e._v(" "),a("tbody",[e.visibleBindings.length?e._l(e.visibleBindings,function(t){return a("tr",{key:t.id,class:{"ifta-tracker-integration-status__row--archived":"archived"===t.ui_status}},[a("td",{staticClass:"ifta-tracker-integration-status__td-strong"},[t.equipment_id?a("button",{staticClass:"ifta-tracker-integration-status__link",attrs:{type:"button"},on:{click:function(a){return e.openEquipmentForm(t.equipment_id)}}},[e._v("\n                  "+e._s(e.equipmentLabel(t.equipment))+"\n                ")]):a("span",{staticClass:"ifta-tracker-integration-status__remote-name"},[e._v("\n                  "+e._s(t.remote_vehicle_label||"Tracker vehicle")+"\n                ")])]),e._v(" "),a("td",["archived"===t.ui_status?a("span",{staticClass:"ifta-tracker-integration-status__badge ifta-tracker-integration-status__badge--archived"},[a("span",{staticClass:"ifta-tracker-integration-status__dot ifta-tracker-integration-status__dot--gray"}),e._v("\n                  Archived\n                ")]):"needs_equipment"===t.ui_status?a("span",{staticClass:"ifta-tracker-integration-status__badge ifta-tracker-integration-status__badge--needs"},[a("span",{staticClass:"ifta-tracker-integration-status__dot ifta-tracker-integration-status__dot--amber"}),e._v("\n                  Needs equipment\n                ")]):a("span",{staticClass:"ifta-tracker-integration-status__badge ifta-tracker-integration-status__badge--linked"},[a("span",{staticClass:"ifta-tracker-integration-status__dot ifta-tracker-integration-status__dot--green"}),e._v("\n                  Linked\n                ")])]),e._v(" "),a("td",{staticClass:"ifta-tracker-integration-status__actions"},["needs_equipment"===t.ui_status?[a("router-link",{staticClass:"ifta-tracker-integration-status__manage-link",attrs:{to:{name:"module-ifta-tracker-vehicles"}},nativeOn:{click:function(t){e.equipmentModalOpen=!1}}},[e._v("\n                    Manage on Vehicles\n                  ")])]:t.ext_vehicle_id?[a("c-button",{attrs:{variant:"base",size:"small"},on:{click:function(a){return e.openDrivesModal(t)}}},[e._v("\n                    Drives\n                  ")])]:a("span",{staticClass:"ifta-tracker-integration-status__muted-hint"},[e._v("—")])],2)])}):a("tr",[a("td",{staticClass:"ifta-tracker-integration-status__empty",attrs:{colspan:"3"}},[e._v("\n                No linked equipment yet. Complete Quick Login above to connect your unit.\n              ")])])],2)])])]),e._v(" "),a("div",{staticClass:"ifta-tracker-integration-status__password-footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"base"},on:{click:function(t){e.equipmentModalOpen=!1}}},[e._v("Close")])],1)],2),e._v(" "),a("c-modal",{staticClass:"ifta-tracker-integration-status__password-modal",attrs:{title:"Set mobile app password",size:"medium"},model:{value:e.passwordModalOpen,callback:function(t){e.passwordModalOpen=t},expression:"passwordModalOpen"}},[a("template",{slot:"body"},[a("div",{staticClass:"ifta-tracker-integration-status__field-tip"},[a("c-icon",{attrs:{icon:"fa fa-info-circle"}}),e._v(" "),a("div",{staticClass:"ifta-tracker-integration-status__field-tip-body"},[a("p",[e._v("\n            This password is for the "),a("strong",[e._v("IFTA Tracker mobile app")]),e._v(" only.\n            It is not your IFTA Calculator web login password unless you choose to use the same one.\n          ")]),e._v(" "),a("p",[e._v("\n            After Quick Login you can sign in with a one-time link or QR code.\n            Set a password here if you also want to sign in with email and password in the app.\n          ")])])],1),e._v(" "),a("div",{staticClass:"ifta-tracker-integration-status__password-account"},[a("span",{staticClass:"ifta-tracker-integration-status__password-account-label"},[e._v("Account")]),e._v(" "),a("span",{staticClass:"ifta-tracker-integration-status__password-account-value"}
82,[e._v(e._s(e.mobileAppAccount.email))])]),e._v(" "),a("c-input-group",[a("label",{staticClass:"ifta-tracker-integration-status__password-label"},[e._v("New password")]),e._v(" "),a("c-input-password",{attrs:{"is-invalid":e.passwordValidate.password,"min-length":8,placeholder:"At least 8 characters",required:""},on:{"update:isInvalid":function(t){return e.$set(e.passwordValidate,"password",t)},"update:is-invalid":function(t){return e.$set(e.passwordValidate,"password",t)}},model:{value:e.passwordForm.password,callback:function(t){e.$set(e.passwordForm,"password",t)},expression:"passwordForm.password"}}),e._v(" "),e.passwordValidate.password?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("Password must be at least 8 characters")]):e._e()],1),e._v(" "),a("c-input-group",[a("label",{staticClass:"ifta-tracker-integration-status__password-label"},[e._v("Confirm password")]),e._v(" "),a("c-input-password",{attrs:{"is-invalid":e.passwordValidate.password_confirmation,placeholder:"Repeat password",required:""},on:{"update:isInvalid":function(t){return e.$set(e.passwordValidate,"password_confirmation",t)},"update:is-invalid":function(t){return e.$set(e.passwordValidate,"password_confirmation",t)}},model:{value:e.passwordForm.password_confirmation,callback:function(t){e.$set(e.passwordForm,"password_confirmation",t)},expression:"passwordForm.password_confirmation"}}),e._v(" "),e.passwordValidate.password_confirmation?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("Passwords must match")]):e._e()],1)],1),e._v(" "),a("div",{staticClass:"ifta-tracker-integration-status__password-footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"base"},on:{click:function(t){e.passwordModalOpen=!1}}},[e._v("Cancel")]),e._v(" "),a("c-button",{attrs:{variant:"primary",disabled:e.passwordWaiting||e.passwordFormInvalid},on:{click:e.submitPassword}},[e._v("\n        "+e._s(e.passwordWaiting?"Saving…":"Save password")+"\n      ")])],1)],2),e._v(" "),e.equipmentFormState?a("equipment-form",{attrs:{"item-id":e.equipmentFormId,state:e.equipmentFormState},on:{close:function(t){e.equipmentFormState=!1},update:e.onEquipmentUpdated}}):e._e(),e._v(" "),e.drivesModalOpen?a("ifta-tracker-vehicle-drives-modal",{attrs:{"workspace-id":e.workspaceId,"vehicle-label":e.drivesVehicleLabel,"ext-vehicle-id":e.drivesExtVehicleId},model:{value:e.drivesModalOpen,callback:function(t){e.drivesModalOpen=t},expression:"drivesModalOpen"}}):e._e()],1)};Sr._withStripped=!0;var Dr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{staticClass:"ifta-tracker-vehicle-drives-modal",attrs:{title:e.modalTitle,size:"large"},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("template",{slot:"body"},[e.loading?a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__loading"},[e._v("\n      Loading drives…\n    ")]):e.drives.length?a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__layout"},[a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__list"},e._l(e.drives,function(t){return a("button",{key:t.id,class:["ifta-tracker-vehicle-drives-modal__drive",{"ifta-tracker-vehicle-drives-modal__drive--active":e.selectedDriveId===t.id}],attrs:{type:"button"},on:{click:function(a){return e.selectDrive(t)}}},[a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__drive-time"},[e._v("\n            "+e._s(e.formatDriveWhen(t))+"\n          ")]),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__drive-route"},[e._v("\n            "+e._s(e.driveRouteLabel(t))+"\n          ")]),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__drive-meta"},[null!=t.distance_miles?a("span",[e._v(e._s(t.distance_miles)+" mi")]):e._e(),e._v(" "),t.duration_seconds?a("span",[e._v(e._s(e.formatDuration(t.duration_seconds)))]):e._e(),e._v(" "),e._l((t.states||[]).slice(0,4),function(i){return a("span",{key:t.id+"-"+i,staticClass:"ifta-tracker-vehicle-drives-modal__state"},[e._v(e._s(i))])})],2)])}),0),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__detail"},[e.selectedDrive?a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__detail-header"},[a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__detail-title"},[e._v("\n            "+e._s(e.driveRouteLabel(e.selectedDrive))+"\n          ")]),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__detail-sub"},[e._v("\n            "+e._s(e.formatDriveWhen(e.selectedDrive))+"\n            "),null!=e.selectedDrive.distance_miles?[e._v("\n              · "+e._s(e.selectedDrive.distance_miles)+" mi\n            ")]:e._e(
82)],2)]):e._e(),e._v(" "),e.mapLoading?a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__map-loading"},[e._v("\n          Loading map…\n        ")]):e.hasMapGeometry?a("ifta-tracker-drive-route-map",{attrs:{points:e.mapPoints,routes:e.mapRoutes}}):a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__map-empty"},[e._v("\n          Map is not available for this drive.\n        ")])],1)]):a("div",{staticClass:"ifta-tracker-vehicle-drives-modal__empty"},[e._v("\n      No drives found for this vehicle in IFTA Tracker.\n    ")])]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-close",{on:{click:e.close}})],1)],2)};Dr._withStripped=!0;var Lr=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"ifta-tracker-drive-route-map",attrs:{id:this.mapElementId}})};Lr._withStripped=!0;var Tr={name:"IftaTrackerDriveRouteMap",props:{points:{type:Array,default:()=>[]},routes:{type:Array,default:()=>[]}},data:()=>({mapElementId:`ifta-tracker-drive-map-${Math.random().toString(36).slice(2,10)}`}),watch:{points:{handler(){this.scheduleInitMap()},deep:!0},routes:{handler(){this.scheduleInitMap()},deep:!0}},mounted(){this.scheduleInitMap()},methods:{hasMapGeometry(){const e=this.getMarkerPoints().length>0,t=Array.isArray(this.routes)&&this.routes.some(e=>Array.isArray(e.points)&&e.points.length>0);return e||t},getMarkerPoints(){if(Array.isArray(this.points)&&this.points.length>0)return this.points;const e=(this.routes||[]).find(e=>Array.isArray(e.points)&&e.points.length>0);if(!e)return[];const t=e.points,a=[{position:t[0],title:"Start",label:"S"}];return t.length>1&&a.push({position:t[t.length-1],title:"End",label:"E"}),a},scheduleInitMap(e=0){this.hasMapGeometry()&&this.$nextTick(()=>{document.getElementById(this.mapElementId)?this.initMap():e<20&&window.setTimeout(()=>this.scheduleInitMap(e+1),50)})},extendBounds:(e,t,a)=>null!=t&&null!=a&&!Number.isNaN(Number(t))&&!Number.isNaN(Number(a))&&(e.extend({lat:Number(t),lng:Number(a)}),!0),initMap(){const e=window.google;if(!e||!e.maps)return;const t=new e.maps.Map(document.getElementById(this.mapElementId),{zoom:3,center:{lat:39.5,lng:-98.35},mapTypeControl:!1,streetViewControl:!1,fullscreenControl:!1,rotateControl:!1,scaleControl:!1,zoomControl:!0});t.data.loadGeoJson("/usa.json"),t.data.loadGeoJson("/canada.json"),t.data.setStyle({fillColor:"transparent",strokeColor:"blue",strokeWeight:1});const a=new e.maps.LatLngBounds;let i=!1;const n=this.getMarkerPoints();n.forEach(e=>{const t=e.position||e;this.extendBounds(a,t.lat,t.lng)&&(i=!0)}),this.routes.forEach((n,r)=>{const s=`hsl(${30*r%360}, 100%, 50%)`;new e.maps.Polyline({path:n.points,geodesic:!0,strokeColor:s,strokeOpacity:1,strokeWeight:3}).setMap(t),(n.points||[]).forEach(e=>{this.extendBounds(a,e.lat,e.lng)&&(i=!0)})}),i&&t.fitBounds(a),n.forEach((a,i)=>{new e.maps.Marker(this.buildMarkerOptions(a,i,t,e))})},buildMarkerOptions(e,t,a,i){const n=e.position||e,r=e.title||(0===t?"Start":"End"),s="Start"===r||"S"===e.label||0===t,o=s?"#00b400":"#ff3b30",l=s?"S":"E";return{map:a,position:n,title:r,icon:this.markerIcon(i,l,o)}},markerIcon(e,t,a){const i=['<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 0 28 40">',`<path fill="${a}" stroke="#ffffff" stroke-width="1.5" d="M14 0C6.27 0 0 6.27 0 14c0 10.5 14 26 14 26s14-15.5 14-26C28 6.27 21.73 0 14 0z"/>`,`<text x="14" y="17" text-anchor="middle" fill="#ffffff" font-size="11" font-weight="bold" font-family="Arial,sans-serif">${t}</text>`,"</svg>"].join("");return{url:`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(i)}`,scaledSize:new e.maps.Size(28,40),anchor:new e.maps.Point(14,40)}}}},xr=(a(164),d(Tr,Lr,[],!1,null,"397a8864",null));xr.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerDriveRouteMap.vue";var Cr={name:"IftaTrackerVehicleDrivesModal",components:{IftaTrackerDriveRouteMap:xr.exports},model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},workspaceId:{type:[Number,String],required:!0},vehicleLabel:{type:String,default:"Vehicle"},extVehicleId:{type:[Number,String],default:null}},data:()=>({loading:!1,mapLoading:!1,drives:[],selectedDriveId:null,selectedDrive:null,mapPoints:[],mapRoutes:[]}),computed:{mutableState:{get(){return this.state},set(e){this.$emit("close",e)}},modalTitle(){return`Latest drives — ${this.vehicleLabel}`},hasMapGeometry(){const e=Array.isArray(this.mapPoints)&&this.mapPoints.length>0,t=Array.isArray(this.mapRoutes)&&this.mapRoutes.some(e=>Array.isArray(e.points)&&e.points.length>1);return e||t}},watch:{state:{immediate:!0,handler(e){e?this.loadDrives():this.resetState()}}},methods:{close(){this.mutableState=!1},resetState(){this.drives=[],this.selectedDriveId=null,this.selectedDrive=null,this.mapPoints=[],this.mapRoutes=[],this.loading=!1,this.mapLoading=!1},driveRouteLabel(e){const t=e&&e.from?e.from:"Start",a=e&&e.to?e.to:"End";return t||a?t?a?`${t} → ${a}`:t:a:"Drive"},formatDriveWhen(e){const t=e&&(e.started_at||e.ended_at);if(!t)return"—";const a=new Date(t);
82return Number.isNaN(a.getTime())?String(t):a.toLocaleString(void 0,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"})},formatDuration(e){const t=Math.max(0,parseInt(e,10)||0),a=Math.floor(t/3600),i=Math.floor(t%3600/60);return a>0?`${a}h ${i}m`:`${i}m`},async loadDrives(){if(!this.workspaceId||!this.extVehicleId)return void(this.drives=[]);this.loading=!0,this.drives=[],this.selectedDriveId=null,this.selectedDrive=null,this.mapPoints=[],this.mapRoutes=[];const[e,t]=await De.a.fetch({method:"get",url:`/api/modules/ifta-tracker/workspace/${this.workspaceId}/trips`,params:{vehicle_id:this.extVehicleId,limit:20}});this.loading=!1,e?this.drives=[]:(this.drives=t.data&&t.data.data?t.data.data:[],this.drives.length&&await this.selectDrive(this.drives[0]))},async selectDrive(e){e&&e.id&&(this.selectedDriveId=e.id,this.selectedDrive=e,await this.loadDriveMap(e.id))},async loadDriveMap(e){this.mapLoading=!0,this.mapPoints=[],this.mapRoutes=[];const[t,a]=await De.a.fetch({method:"get",url:`/api/modules/ifta-tracker/trip/${e}/map`});if(this.mapLoading=!1,t)return this.mapPoints=[],void(this.mapRoutes=[]);this.mapPoints=a.data&&a.data.points?a.data.points:[],this.mapRoutes=a.data&&a.data.routes?a.data.routes:[]}}},Yr=(a(165),d(Cr,Dr,[],!1,null,"79835ae1",null));Yr.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerVehicleDrivesModal.vue";var Ar=Yr.exports;var Er={name:"IftaTrackerIntegrationStatus",components:{EquipmentForm:nt,IftaTrackerVehicleDrivesModal:Ar},props:{embedded:{type:Boolean,default:!1},workspaceId:{type:[Number,String],default:null}},data:()=>({loading:!0,bindings:[],mobileAppAccount:{linked:!1,email:null,ext_user_id:null,source:null,enabled:null},equipmentFormState:!1,equipmentFormId:null,drivesModalOpen:!1,drivesVehicleLabel:"",drivesExtVehicleId:null,passwordModalOpen:!1,equipmentModalOpen:!1,passwordWaiting:!1,passwordForm:{password:"",password_confirmation:""},passwordValidate:{password:!1,password_confirmation:!1}}),computed:{visibleBindings(){return this.bindings.filter(e=>"archived"!==e.ui_status)},equipmentCount(){return this.visibleBindings.length},isAccountConfigured(){return!(!this.mobileAppAccount.linked||!this.mobileAppAccount.email)},passwordFormInvalid(){return this.passwordValidate.password||this.passwordValidate.password_confirmation||!this.passwordForm.password||!this.passwordForm.password_confirmation}},watch:{"passwordForm.password"(){this.validatePasswordConfirmation()},"passwordForm.password_confirmation"(){this.validatePasswordConfirmation()}},created(){this.reload()},methods:{async reload(){this.loading=!0;const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/my-integration-status"});if(this.loading=!1,e){this.bindings=[],this.mobileAppAccount={linked:!1,email:null,ext_user_id:null,source:null,enabled:null};const t=e.response&&e.response.data&&e.response.data.message?e.response.data.message:"Failed to load integration status.";return void this.$emit("notify",{type:"danger",message:t})}this.bindings=t.data&&t.data.data?t.data.data:[];const a=t.data&&t.data.meta?t.data.meta:{};this.mobileAppAccount=a.mobile_app_account||{linked:!1,email:null,ext_user_id:null,source:null,enabled:null}},equipmentLabel(e){if(!e)return"—";const t=[];return e.unit&&t.push(`#${e.unit}`),e.make&&t.push(e.make),e.model&&t.push(e.model),t.join(" ").trim()||e.list_value||"Equipment"},openEquipmentForm(e){this.equipmentFormId=e,this.equipmentFormState=!0},openPasswordModal(){this.passwordForm={password:"",password_confirmation:""},this.passwordValidate={password:!1,password_confirmation:!1},this.passwordModalOpen=!0},validatePasswordConfirmation(){this.passwordForm.password_confirmation?this.passwordValidate.password_confirmation=this.passwordForm.password!==this.passwordForm.password_confirmation:this.passwordValidate.password_confirmation=!1},async submitPassword(){if(this.validatePasswordConfirmation(),this.passwordFormInvalid||this.passwordWaiting)return;this.passwordWaiting=!0;const[e,t]=await De.a.fetch({method:"post",url:"/api/modules/ifta-tracker/mobile-app-password",data:{password:this.passwordForm.password,password_confirmation:this.passwordForm.password_confirmation}});if(this.passwordWaiting=!1,e){const t=e.response&&e.response.data&&e.response.data.message?e.response.data.message:"Failed to set mobile app password.";return void this.$emit("notify",{type:"danger",message:t})}const a=t.data&&t.data.message?t.data.message:"Mobile app password updated.";this.passwordModalOpen=!1,this.$emit("notify",{type:"success",message:a})},onEquipmentUpdated(e){this.reload(),this.$emit("equipment-updated",e)},openDrivesModal(e){e&&e.ext_vehicle_id&&this.workspaceId?(this.drivesVehicleLabel=e.equipment_id?this.equipmentLabel(e.equipment):e.remote_vehicle_label||"Tracker vehicle",this.drivesExtVehicleId=e.ext_vehicle_id,this.equipmentModalOpen=!1,this.drivesModalOpen=!0):this.$emit("notify",{type:"warning",message:"Vehicle is not ready for drive preview yet."})}}},Or=(a(166),d(Er,Sr,[],!1,null,"5c04714d",null));Or.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerIntegrationStatus.vue";var Ir={name:"IftaTrackerQuickLogin",components:{EquipmentForm:nt,IftaTrackerIntegrationStatus:Or.exports,IftaTrackerVehicleDrivesModal:Ar},props:{equipment:{type:Array,default:()=>[]},activation:{type:Object,default:null}},data:()=>({modalOpen:!1,mobileSetupModalOpen:!1,drivesModalOpen:!1,step:"form",equipmentId:null,loginWaiting:!1,result:null,installUrl:"https://tracker.ifta-calculator.com/app/auth",equipmentFormId:null,equipmentFormState:!1,bindings:[],workspaceId:null,drivesVehicleLabel:"",drivesExtVehicleId:null,mobileSetupSteps:[{title:"Start tracking",textHtml:"After you accept the app&rsquo;s terms of use, you&rsquo;ll land on the <strong>Dashboard</strong>. Tap the green <strong>Start tracking</strong> button."}
82,{title:"Choose your default vehicle",textHtml:"On the <strong>Dashboard</strong>, open <strong>Default vehicle</strong> and select your unit from the list. You should see the same equipment as in IFTA Calculator.",image:"/mileage/media/mobile-app-setup/ifta_tracker_setup_guide_01.png",imageAlt:"Default vehicle selection on the Dashboard"},{title:"Start your first drive",textHtml:"<strong>Start new drive</strong> is optional — use it only if you want to start a trip manually. In normal use, trips are tracked automatically when tracking is <strong>Enabled</strong> and location permissions are set correctly.<br><br>If you tap <strong>Start new drive</strong>, the first time the app will ask for permission to use GPS, including <strong>background</strong> location."},{title:"Allow location Always",textHtml:"This step is important: when prompted, first choose <strong>While using the app</strong>, then change the setting to <strong>Allow always</strong> (iOS) or <strong>Allow all the time</strong> (Android). Without always-on location, background mileage tracking may not work reliably."},{title:"Verify your drive is active",textHtml:"Make sure a drive is active: you should see <strong>time</strong> and <strong>distance</strong> indicators, and your <strong>current position on the map</strong>.",image:"/mileage/media/mobile-app-setup/ifta_tracker_setup_guide_02.png",imageAlt:"Active drive with time, distance, and map location"},{title:"Test the integration",textHtml:"Drive for a few minutes, then return to IFTA Calculator and check your linked vehicle:",action:"test-integration"}]}),computed:{equipmentOptions(){return this.equipment||[]},ownerEmail(){const e=this.activation&&this.activation.remote;return e&&e.user&&e.user.email?e.user.email:this.activation&&this.activation.ext_email||""},ownerVehicleBindings(){const e=String(this.ownerEmail||"").toLowerCase().trim();return e&&this.bindings.length?this.bindings.filter(t=>this.isOwnerLinkedBinding(t,e)):[]},latestOwnerVehicleBinding(){return this.ownerVehicleBindings[0]||null},ownerVehicleBinding(){return this.latestOwnerVehicleBinding},modalTitle(){return"result"===this.step?"Scan to sign in":"Quick Login"},isMobile:()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},watch:{activation:{immediate:!0,handler(e){e&&e.workspace_id&&(this.workspaceId=e.workspace_id)}}},created(){this.loadBindings()},methods:{async loadBindings(){const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/driver-equipment-bindings"});this.bindings=e?[]:t.data&&t.data.data?t.data.data:[]},async refreshIntegrationStatus(){this.$refs.integrationStatus&&this.$refs.integrationStatus.reload&&await this.$refs.integrationStatus.reload()},equipmentLabel(e){if(!e)return"Tracker vehicle";const t=[];return e.unit&&t.push(`#${e.unit}`),e.make&&t.push(e.make),e.model&&t.push(e.model),t.join(" ").trim()||e.list_value||"Equipment"},openTestIntegration(){const e=this.ownerVehicleBinding;e&&e.ext_vehicle_id&&this.workspaceId?(this.drivesVehicleLabel=e.equipment_id?this.equipmentLabel(e.equipment):e.remote_vehicle_label||e.equipment_label||"Tracker vehicle",this.drivesExtVehicleId=e.ext_vehicle_id,this.drivesModalOpen=!0):this.$emit("notify",{type:"warning",message:"No linked vehicle found yet. Complete Quick Login with equipment selected, then try again."})},openTestIntegrationFromSetup(){this.mobileSetupModalOpen=!1,this.openTestIntegration()},isOwnerLinkedBinding(e,t=null){const a=String(t||this.ownerEmail||"").toLowerCase().trim();return!!(a&&e&&e.ext_vehicle_id&&e.equipment_id)&&((!e.ui_status||"linked"===e.ui_status)&&(e.driver&&e.driver.email?String(e.driver.email).toLowerCase().trim():"")===a)},resolveDefaultEquipmentId(){const e=this.latestOwnerVehicleBinding,t=e&&e.equipment_id?e.equipment_id:null;return t&&this.equipmentOptions.some(e=>String(e.id)===String(t))?t:null},async openModal(){this.step="form",this.result=null,await this.loadBindings(),this.equipmentId=this.resolveDefaultEquipmentId(),this.modalOpen=!0},closeModal(){this.modalOpen=!1},onModalToggle(e){e||(this.step="form",this.result=null)},resetToForm(){this.step="form",this.result=null},openEquipmentForm(e=null){this.equipmentFormId=e,this.equipmentFormState=!0},onEquipmentUpdated(e){this.$emit("equipment-updated",e),e&&(this.equipmentId=e)},formatExpires(e){if(!e)return"";const t=new Date("string"==typeof e?e.replace(" ","T"):e);
82return Number.isNaN(t.getTime())?String(e):t.toLocaleString()},async submitLogin(){if(!this.equipmentId)return void this.$emit("notify",{type:"danger",message:"Please select equipment."});this.loginWaiting=!0;const e={ttl_minutes:60,equipment_id:this.equipmentId,vehicle_odometer_units:1},[t,a]=await De.a.fetch({method:"post",url:"/api/modules/ifta-tracker/quick-login",data:e});if(this.loginWaiting=!1,t){const e=t.response&&t.response.data&&t.response.data.message?t.response.data.message:"Quick Login failed.";this.$emit("notify",{type:"danger",message:e})}else this.result=a.data||null,this.step="result",await Promise.all([this.loadBindings(),this.refreshIntegrationStatus()]),this.isMobile&&this.result&&this.result.app_link&&(window.location.href=this.result.app_link)}}},Fr=(a(167),d(Ir,Mr,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"ifta-tracker-quick-login__how-step"},[t("div",{staticClass:"ifta-tracker-quick-login__step-num"},[this._v("2")]),this._v(" "),t("div",{staticClass:"ifta-tracker-quick-login__step-body"},[t("strong",[this._v("Quick Login")]),this._v("\n          Click Setup & Login — select the unit you drive so GPS trips link to the right vehicle.\n          Scan the QR on desktop or tap the link on your phone.\n        ")])])}],!1,null,"50ea7625",null));Fr.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerQuickLogin.vue";var Pr={name:"IftaTrackerInvitations",components:{EquipmentForm:nt,DriverForm:wr,IftaTrackerQuickLogin:Fr.exports},data:()=>({equipment:[],drivers:[],invitations:[],activation:null,createWaiting:!1,syncWaiting:!1,sendWaiting:!1,deleteWaiting:!1,serverNotice:null,modalNewOpen:!1,modalInstrOpen:!1,modalDeleteOpen:!1,form:{equipment_id:null,driver_id:null},activeInvitation:null,deleteTarget:null,highlightId:null,instrEmail:"",sendHint:"",sendWasSent:!1,howSteps:[{title:"Create invitation",text:"Select equipment and driver, get a unique code"},{title:"Share instructions",text:"Send the code and app download link to the driver"},{title:"Driver registers",text:"Driver installs IFTA Tracker and enters the code"},{title:"Ready to import",text:"Status turns Linked — GPS trips can now be imported"}],appStoreIosUrl:"https://apps.apple.com/us/app/ifta-calculator-driver-app/id6759822043",appStoreAndroidUrl:"https://play.google.com/store/apps/details?id=pro.aksoft.gpstracker",equipmentFormId:null,equipmentFormState:!1,driverFormId:null,driverFormState:!1}),computed:{equipmentOptions(){return this.equipment||[]},driverOptions(){return this.drivers||[]},isOwner(){return!(!this.activation||!this.activation.is_owner)},newModalTitle:()=>"New invitation",createButtonLabel:()=>"Create invitation",ownerEmail(){const e=this.activation&&this.activation.remote;return e&&e.user&&e.user.email?e.user.email:this.activation&&this.activation.ext_email||""},ownerName(){const e=this.activation&&this.activation.remote;if(e&&e.user&&e.user.name)return e.user.name;if(e&&e.user){const t=`${(e.user.first_name||"").trim()} ${(e.user.last_name||"").trim()}`.trim();if(t)return t}return""},isActiveSelfInvitation(){return!(!this.activeInvitation||"self"!==this.activeInvitation.invite_target)},instrModalTitle(){return this.isActiveSelfInvitation?"Mobile App Account Ready":"Driver setup instructions"},ownerLoginEmail(){return this.activeInvitation&&(this.activeInvitation.owner_login_email||this.activeInvitation.driver&&this.activeInvitation.driver.email)||this.ownerEmail},equipmentConflict(){return!!this.form.equipment_id&&this.invitations.some(e=>String(e.equipment_id)===String(this.form.equipment_id)&&this.isActiveInvitation(e))},equipmentConflictLabel(){if(!this.form.equipment_id)return"";const e=this.invitations.find(e=>String(e.equipment_id)===String(this.form.equipment_id)&&this.isActiveInvitation(e)),t=this.equipmentLabel(e&&e.equipment?e.equipment:this.equipmentById(this.form.equipment_id)),a=e&&e.driver?this.driverShortName(e.driver):"";return a?`${t} (${a})`:t},canSubmitNew(){return!!this.form.equipment_id&&!!this.form.driver_id},instrDriverName(){return this.activeInvitation&&this.driverShortName(this.activeInvitation.driver)||"the driver"},instrEquipmentName(){return this.activeInvitation&&this.equipmentLabel(this.activeInvitation.equipment)||"this equipment"},instrCode(){return this.activeInvitation&&this.activeInvitation.invitation_code||""},instrExpiresText(){if(!this.activeInvitation||!this.activeInvitation.expires_at)return"Check email or Tracker for expiry";const e=this.activeInvitation.expires_at,t=new Date("string"==typeof e?e.replace(" ","T"):e);return Number.isNaN(t.getTime())?String(e):`Expires ${t.toLocaleDateString()}`},sendButtonLabel(){return this.sendWasSent||this.activeInvitation&&this.activeInvitation.instructions_sent_at?"Resend":"Send"},instrPreviouslySentText(){return this.activeInvitation&&this.activeInvitation.instructions_sent_at&&!this.sendHint?`Instructions were emailed on ${this.formatInstructionsSentAt(this.activeInvitation.instructions_sent_at)}. You can send them again below.`:""},deleteMessageHtml(){const e=this.deleteTarget;if(!e)return"";const t=this.escapeHtml(this.equipmentLabel(e.equipment)),a=this.driverShortName(e.driver);return`<strong>${t}</strong> has a pending invitation for ${this.escapeHtml(a||"a driver")}. Revoking will invalidate the code immediately — the driver won’t be able to register with it.`}},created(){this.load(),this.loadActivation()},methods:{notify(e,t){this.serverNotice={type:e,message:t}},escapeHtml(e){const t=document.createElement("div");return t.textContent=e,t.innerHTML},equipmentById(e){return(this.equipment||[]).find(t=>String(t.id)===String(e))||null},driverShortName(e){if(!e)return"";const t=(e.first_name||"").trim(),a=(e.last_name||"").trim();return t&&a?`${t.charAt(0)}. ${a}`:`${t} ${a}`.trim()||e.email||""},equipmentLabel(e){if(!e)return"";const t=[];return e.unit&&t.push(`#${e.unit}`),e.make&&t.push(e.make),e.model&&t.push(e.model),t.join(" ").trim()},isActiveInvitation:e=>"active"===String(e&&e.status?e.status:"").toLowerCase(),badgeClass:e=>"linked"===e?"ifta-tracker-invitations__badge ifta-tracker-invitations__badge--linked":"rejected"===e?"ifta-tracker-invitations__badge ifta-tracker-invitations__badge--rejected":"expired"===e?"ifta-tracker-invitations__badge ifta-tracker-invitations__badge--expired":"ifta-tracker-invitations__badge ifta-tracker-invitations__badge--pending",dotClass:e=>"linked"===e?"ifta-tracker-invitations__dot ifta-tracker-invitations__dot--green":"rejected"===e?"ifta-tracker-invitations__dot ifta-tracker-invitations__dot--red":"expired"===e?"ifta-tracker-invitations__dot ifta-tracker-invitations__dot--gray":"ifta-tracker-invitations__dot ifta-tracker-invitations__dot--blue",statusLabel:e=>"linked"===e?"Linked":"rejected"===e?"Rejected":"expired"===e?"Expired":"Pending",openNewModal(e){this.form.equipment_id=null!=e?e:null,this.form.driver_id=null,this.modalNewOpe
82n=!0},openEquipmentForm(e=null){this.equipmentFormId=e,this.equipmentFormState=!0},async updateEquipments(e){await this.loadEquipment(),e&&(this.form.equipment_id=e)},openDriverForm(e=null){this.driverFormId=e,this.driverFormState=!0},async updateDrivers(e){await this.loadDrivers(),e&&(this.form.driver_id=e)},openReissue(e){this.openNewModal(e.equipment_id),e&&e.driver_id&&(this.form.driver_id=e.driver_id)},openInstrModal(e){this.activeInvitation=e,e&&"self"===e.invite_target?this.instrEmail=this.ownerLoginEmailForInvitation(e):this.instrEmail=e.driver&&e.driver.email?e.driver.email:"",this.sendHint="",this.sendWasSent=!(!e||!e.instructions_sent_at),this.modalInstrOpen=!0},formatInstructionsSentAt(e){if(!e)return"";const t=new Date("string"==typeof e?e.replace(" ","T"):e);return Number.isNaN(t.getTime())?String(e):t.toLocaleString()},patchInvitationSentAt(e,t){if(!e||!t)return;const a={instructions_sent_at:t};this.activeInvitation&&String(this.activeInvitation.id)===String(e)&&(this.activeInvitation={...this.activeInvitation,...a}),this.invitations=this.invitations.map(t=>String(t.id)===String(e)?{...t,...a}:t)},ownerLoginEmailForInvitation(e){return e&&(e.owner_login_email||e.driver&&e.driver.email)||this.ownerEmail},confirmDelete(e){e&&e.deletable&&(this.deleteTarget=e,this.modalDeleteOpen=!0)},async load(){await Promise.all([this.loadEquipment(),this.loadDrivers(),this.loadInvitations()])},async loadActivation(){const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/check-activation"});this.activation=e?null:t.data||null},async loadEquipment(){const[e,t]=await De.a.fetch({method:"get",url:"/api/fuel/create"});e||(this.equipment=t.data&&t.data.equipment&&t.data.equipment.data?t.data.equipment.data:[])},async loadInvitations(){const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/invitations"});e||(this.invitations=t.data&&t.data.data?t.data.data:[])},async loadDrivers(){const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/drivers"});e||(this.drivers=t.data&&t.data.data?t.data.data:[])},async submitNewInvitation(){if(!this.canSubmitNew||this.equipmentConflict)return;this.createWaiting=!0,this.serverNotice=null;const e={equipment_id:this.form.equipment_id,vehicle_odometer_units:1,driver_id:this.form.driver_id},[t,a]=await De.a.fetch({method:"post",url:"/api/modules/ifta-tracker/invitation",data:e});if(this.createWaiting=!1,t){const e=t.response&&t.response.data&&t.response.data.message?t.response.data.message:"Failed to create invitation.";return void this.notify("danger",e)}this.modalNewOpen=!1,this.form.driver_id=null,this.form.equipment_id=null,await this.loadInvitations();const i=a.data&&a.data.request;if(i&&i.id){this.highlightId=i.id,window.setTimeout(()=>{this.highlightId=null},2e3);const e=this.invitations.find(e=>String(e.id)===String(i.id));e&&this.openInstrModal(e)}else this.notify("success","Invitation created.")},async sendInstructionsEmail(){const e=(this.instrEmail||"").trim();if(!e||!e.includes("@"))return void this.notify("danger","Enter a valid email address.");if(!this.activeInvitation)return;this.sendWaiting=!0;const[t,a]=await De.a.fetch({method:"post",url:`/api/modules/ifta-tracker/invitations/${this.activeInvitation.id}/send-instructions`,data:{email:e}});if(this.sendWaiting=!1,t)return void this.notify("danger","Could not send email.");const i=a.data&&a.data.instructions_sent_at;i&&this.patchInvitationSentAt(this.activeInvitation.id,i),this.sendWasSent=!0,this.sendHint=`Sent to ${e} · just now`,this.instrEmail=""},async executeDelete(){if(!this.deleteTarget)return;this.deleteWaiting=!0;const e=this.deleteTarget.id,[t]=await De.a.fetch({method:"delete",url:`/api/modules/ifta-tracker/invitations/${e}`});if(this.deleteWaiting=!1,t){const e=t.response&&t.response.data&&t.response.data.message?t.response.data.message:"Revoke failed.";this.notify("danger",e)}else this.modalDeleteOpen=!1,this.deleteTarget=null,this.notify("success","Invitation revoked."),await this.loadInvitations()},async sync(){this.syncWaiting=!0,this.serverNotice=null;const[e]=await De.a.fetch({method:"post",url:"/api/modules/ifta-tracker/invitations/sync"});this.syncWaiting=!1,e?this.notify("danger","Refresh failed."):(this.notify("success","Statuses updated."),await this.loadInvitations(),this.$refs.quickLogin&&this.$refs.quickLogin.refreshIntegrationStatus&&await this.$refs.quickLogin.refreshIntegrationStatus())}}},jr=(a(168),d(Pr,gr,[],!1,null,"5783c7a1",null));jr.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerInvitations.vue";var Hr={name:"IftaTrackerModule",components:{IftaTrackerConnect:vr,IftaTrackerInvitations:jr.exports},data:()=>({checking:!0,isActive:!1,bootNotice:null}),created(){this.runCheck()},methods:{errMessage:(e,t)=>
82e&&e.message?String(e.message).replace(/<br\s*\/?>/gi," ").trim():t,async runCheck(){this.checking=!0,this.bootNotice=null;const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/check-activation"});if(this.checking=!1,e)return this.bootNotice={type:"danger",message:this.errMessage(e,"Could not verify IFTA Tracker status.")},void(this.isActive=!1);const a=t&&t.data?t.data:{};this.isActive=!(!a.service_activated||!a.workspace_id)},onActivated(){this.runCheck()}}},$r=(a(169),d(Hr,mr,[],!1,null,"52374f95",null));$r.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerModule.vue";var Nr=$r.exports,qr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"ifta-tracker-setup-guide"},[a("c-container-header",{attrs:{title:"Stop logging miles by hand — let GPS do it automatically"}}),e._v(" "),a("div",{staticClass:"ifta-tracker-setup-guide__content"},[a("section",{staticClass:"ifta-tracker-setup-guide__hero"},[a("p",{staticClass:"ifta-tracker-setup-guide__subheadline"},[e._v("\n        The IFTA Tracker app records every trip by state in real time and syncs data directly\n        to your IFTA Calculator account. No manual entry. No missed miles. Audit-ready reports, always.\n      ")]),e._v(" "),a("div",{staticClass:"ifta-tracker-setup-guide__audience"},[a("button",{staticClass:"ifta-tracker-setup-guide__audience-btn",attrs:{type:"button"},on:{click:function(t){return e.scrollToPath("owner-operator")}}},[a("span",{staticClass:"ifta-tracker-setup-guide__audience-emoji"},[e._v("🚛")]),e._v("\n          I'm an owner-operator\n        ")]),e._v(" "),a("button",{staticClass:"ifta-tracker-setup-guide__audience-btn",attrs:{type:"button"},on:{click:function(t){return e.scrollToPath("safety-manager")}}},[a("span",{staticClass:"ifta-tracker-setup-guide__audience-emoji"},[e._v("🏢")]),e._v("\n          I manage a fleet\n        ")])]),e._v(" "),a("div",{staticClass:"ifta-tracker-setup-guide__cta"},[a("c-button",{attrs:{variant:"primary"},on:{click:e.goToModule}},[e._v("\n          Start Free Setup — takes 5 minutes\n        ")])],1)]),e._v(" "),a("section",{staticClass:"ifta-tracker-setup-guide__section"},[a("h3",[e._v("How it works")]),e._v(" "),a("div",{staticClass:"ifta-tracker-setup-guide__flow"},[e._l(e.howItWorksFlow,function(t,i){return[a("div",{key:t.title,staticClass:"ifta-tracker-setup-guide__flow-step"},[a("div",{staticClass:"ifta-tracker-setup-guide__flow-icon"},[a("c-icon",{attrs:{icon:t.icon}})],1),e._v(" "),a("strong",{staticClass:"ifta-tracker-setup-guide__flow-title"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"ifta-tracker-setup-guide__flow-text"},[e._v(e._s(t.text))])]),e._v(" "),i<e.howItWorksFlow.length-1?a("div",{key:"arrow-"+i,staticClass:"ifta-tracker-setup-guide__flow-arrow",attrs:{"aria-hidden":"true"}},[a("span",{staticClass:"ifta-tracker-setup-guide__flow-arrow-desktop"},[e._v("→")]),e._v(" "),a("span",{staticClass:"ifta-tracker-setup-guide__flow-arrow-mobile"},[e._v("↓")])]):e._e()]})],2)]),e._v(" "),a("section",{staticClass:"ifta-tracker-setup-guide__section"},[a("h3",[e._v("What drivers see in the app")]),e._v(" "),a("div",{staticClass:"ifta-tracker-setup-guide__gallery"},e._l(e.screens,function(t,i){return a("button",{key:t.src,staticClass:"ifta-tracker-setup-guide__gallery-item",attrs:{type:"button",title:"Open screenshot "+(i+1)},on:{click:function(t){return e.openGallery(i)}}},[a("img",{attrs:{src:t.src,alt:t.alt,loading:"lazy"}})])}),0),e._v(" "),a("p",{staticClass:"ifta-tracker-setup-guide__store-label"},[e._v("Download the driver app")]),e._v(" "),a("div",{staticClass:"ifta-tracker-setup-guide__store-links"},e._l(e.storeLinks,function(t){return a("a",{key:t.label,staticClass:"ifta-tracker-setup-guide__store-btn",attrs:{href:t.href,target:"_blank",rel:"noopener noreferrer"}},[a("c-icon",{attrs:{icon:t.icon}}),e._v(" "+e._s(t.label)+"\n        ")],1)}),0)]),e._v(" "),a("section",{staticClass:"ifta-tracker-setup-guide__section"},[a("h3",[e._v("Steps to set up")]),e._v(" "),a("div",{staticClass:"ifta-tracker-setup-guide__paths"},[a("div",{ref:"pathOwnerOperator",staticClass:"ifta-tracker-setup-guide__path-card",attrs:{id:"path-owner
82-operator"}},[a("h4",{staticClass:"ifta-tracker-setup-guide__path-title"},[e._v("Owner-operators (solo)")]),e._v(" "),a("ol",{staticClass:"ifta-tracker-setup-guide__path-steps"},e._l(e.ownerOperatorSteps,function(t,i){return a("li",{key:"oo-"+i},[e._v("\n              "+e._s(t)+"\n            ")])}),0)]),e._v(" "),a("div",{ref:"pathSafetyManager",staticClass:"ifta-tracker-setup-guide__path-card",attrs:{id:"path-safety-manager"}},[a("h4",{staticClass:"ifta-tracker-setup-guide__path-title"},[e._v("Safety managers (fleet)")]),e._v(" "),a("ol",{staticClass:"ifta-tracker-setup-guide__path-steps"},e._l(e.safetyManagerSteps,function(t,i){return a("li",{key:"sm-"+i},[e._v("\n              "+e._s(t)+"\n            ")])}),0)])]),e._v(" "),a("div",{staticClass:"ifta-tracker-setup-guide__cta ifta-tracker-setup-guide__cta--section"},[a("c-button",{attrs:{variant:"primary"},on:{click:e.goToModule}},[e._v("\n          Start Free Setup — takes 5 minutes\n        ")])],1)]),e._v(" "),a("section",{staticClass:"ifta-tracker-setup-guide__section ifta-tracker-setup-guide__section--footer"},[a("div",{staticClass:"ifta-tracker-setup-guide__cta"},[a("c-button",{attrs:{variant:"primary"},on:{click:e.goToModule}},[e._v("\n          Start Setup\n        ")])],1)])]),e._v(" "),a("c-modal",{staticClass:"ifta-tracker-setup-guide__gallery-modal",attrs:{title:"What drivers see in the app",size:"large"},model:{value:e.galleryModalOpen,callback:function(t){e.galleryModalOpen=t},expression:"galleryModalOpen"}},[a("template",{slot:"body"},[a("div",{staticClass:"ifta-tracker-setup-guide__gallery-modal-body",attrs:{tabindex:"0"},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.preventDefault(),e.prevScreen(t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:(t.preventDefault(),e.nextScreen(t))}]}},[a("div",{staticClass:"ifta-tracker-setup-guide__gallery-stage"},[a("button",{staticClass:"ifta-tracker-setup-guide__gallery-nav ifta-tracker-setup-guide__gallery-nav--prev",attrs:{type:"button",disabled:e.galleryIndex<=0},on:{click:e.prevScreen}},[e._v("‹")]),e._v(" "),e.activeScreen?a("a",{staticClass:"ifta-tracker-setup-guide__gallery-stage-link",attrs:{href:e.activeScreen.src,target:"_blank",rel:"noopener noreferrer",title:"Open full image in new tab"}},[a("img",{staticClass:"ifta-tracker-setup-guide__gallery-stage-img",attrs:{src:e.activeScreen.src,alt:e.activeScreen.alt}})]):e._e(),e._v(" "),a("button",{staticClass:"ifta-tracker-setup-guide__gallery-nav ifta-tracker-setup-guide__gallery-nav--next",attrs:{type:"button",disabled:e.galleryIndex>=e.screens.length-1},on:{click:e.nextScreen}},[e._v("›")])]),e._v(" "),a("div",{staticClass:"ifta-tracker-setup-guide__gallery-meta"},[e.activeScreen?a("span",[e._v(e._s(e.galleryIndex+1)+" / "+e._s(e.screens.length))]):e._e()]),e._v(" "),a("div",{ref:"thumbs",staticClass:"ifta-tracker-setup-guide__gallery-thumbs"},e._l(e.screens,function(t,i){return a("button",{key:"thumb-"+t.src,class:["ifta-tracker-setup-guide__gallery-thumb",{"ifta-tracker-setup-guide__gallery-thumb--active":i===e.galleryIndex}],attrs:{type:"button"},on:{click:function(t){return e.setGalleryIndex(i)}}},[a("img",{attrs:{src:t.src,alt:t.alt,loading:"lazy"}})])}),0)])])],2)],1)};qr._withStripped=!0;var Rr={name:"IftaTrackerSetupGuide",data:()=>({galleryModalOpen:!1,galleryIndex:0,storeLinks:[{href:"https://tracker.ifta-calculator.com/app/auth",icon:"fa fa-apple",label:"App Store"},{href:"https://tracker.ifta-calculator.com/app/auth",icon:"fa fa-android",label:"Google Play"}],howItWorksFlow:[{icon:"fa fa-mobile",title:"Driver drives",text:"Open the app and start driving"},{icon:"fa fa-map-marker",title:"GPS logs miles by state",text:"Mileage tracked per state automatically"},{icon:"fa fa-refresh",title:"Data syncs to account",text:"Trips appear in Trips & Fuel instantly"},{icon:"fa fa-bar-chart",title:"IFTA report ready",text:"Run your IFTA report with one click"}],screens:[{src:"/mileage/media/mobile-app-screens/01.png",alt:"Mobile app screenshot 1"},{src:"/mileage/media/mobile-app-screens/03.png",alt:"Mobile app screenshot 3"},{src:"/mileage/media/mobile-app-screens/04.png",alt:"Mobile app screenshot 4"},{src:"/mileage/media/mobile-app-screens/05.png",alt:"Mobile app screenshot 5"},{src:"/mileage/media/mobile-app-screens/06.png",alt:"Mobile app screenshot 6"},{src:"/mileage/media/mobile-app-screens/07.png",alt:"Mobile app screenshot 7"}],ownerOperatorSteps:["Download the IFTA Tracker app from the App Store or Google Play.","Set up the integration in IFTA Calculator and create your mobile app account.","Import GPS trips into Trips & Fuel for IFTA reporting."],safetyManagerSteps:["Create your corporate fleet in IFTA Tracker (company profile and equipment).","Send drivers invitations with instructions to download and activate the mobile app.","Import GPS trips from connected drivers into Trips & Fuel."]}),computed:{activeScreen(){return this.screens&&this.screens[this.galleryIndex]?this.screens[this.galleryIndex]:null}},methods:{goToModule(){this.$router.push({name:"module-ifta-tracker"})},scrollToPath(e){const t={"owner-operator":"pathOwnerOperator","safety-manager"
82:"pathSafetyManager"}[e],a=t?this.$refs[t]:null;a&&a.scrollIntoView&&a.scrollIntoView({behavior:"smooth",block:"start"})},openGallery(e){this.galleryIndex=Math.max(0,Math.min(Number(e)||0,this.screens.length-1)),this.galleryModalOpen=!0,this.$nextTick(()=>{try{const e=this.$el&&this.$el.querySelector&&this.$el.querySelector(".ifta-tracker-setup-guide__gallery-modal-body");e&&e.focus&&e.focus()}catch(e){}})},setGalleryIndex(e){this.galleryIndex=Math.max(0,Math.min(Number(e)||0,this.screens.length-1)),this.$nextTick(()=>{const e=this.$refs.thumbs,t=e&&e.children?e.children[this.galleryIndex]:null;t&&t.scrollIntoView&&t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})})},prevScreen(){this.setGalleryIndex(this.galleryIndex-1)},nextScreen(){this.setGalleryIndex(this.galleryIndex+1)}}},Br=(a(170),d(Rr,qr,[],!1,null,null,null));Br.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerSetupGuide.vue";var Wr=Br.exports,zr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"ifta-tracker-trips"},[a("c-container-header",{attrs:{title:"IFTA Tracker: Trips"}},[a("div",{staticClass:"ifta-tracker-trips__header-actions"},[a("c-button",{attrs:{variant:"base"},on:{click:e.goToEquipment}},[a("c-icon",{attrs:{icon:"fa fa-arrow-left"}}),e._v(" Equipment\n      ")],1)],1)]),e._v(" "),a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),e.integrationInactive?a("div",{staticClass:"ifta-tracker-trips__inactive"},[a("div",{staticClass:"ifta-tracker-trips__inactive-card"},[a("p",{staticClass:"ifta-tracker-trips__inactive-title"},[e._v("\n        IFTA Tracker is not activated\n      ")]),e._v(" "),a("p",{staticClass:"ifta-tracker-trips__inactive-text"},[e._v("\n        Connect your account to load vehicles and import trips from the IFTA Tracker mobile app.\n      ")]),e._v(" "),a("c-button",{attrs:{variant:"primary"},on:{click:e.goToTrackerConnect}},[e._v("\n        Connect IFTA Tracker\n      ")])],1)]):a("div",{staticClass:"ifta-tracker-trips__content"},[a("section",{staticClass:"ifta-tracker-trips__card"},[a("div",{staticClass:"ifta-tracker-trips__toolbar"},[a("div",{staticClass:"ifta-tracker-trips__vehicle"},[a("div",[a("div",{staticClass:"ifta-tracker-trips__vehicle-name"},[e._v(e._s(e.activeEquipment.name))]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__vehicle-sub"},[e._v("\n              "+e._s(e.activeVehicleSubtitle)+"\n            ")])]),e._v(" "),e.equipmentOptions.length?a("c-select",{staticClass:"ifta-tracker-trips__vehicle-select",attrs:{options:e.equipmentOptions,label:"Equipment","dropdown-label":"name","selected-label":"name","incoming-label":"id"},model:{value:e.activeEquipmentId,callback:function(t){e.activeEquipmentId=t},expression:"activeEquipmentId"}}):e._e()],1),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__nav"},[e._l(e.quarters,function(t){return a("c-button",{key:t,attrs:{variant:e.currentQuarter===t?"primary":"base",size:"small"},on:{click:function(a){return e.setQuarter(t)}}},[e._v("Q"+e._s(t))])}),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__nav-separator"}),e._v(" "),a("c-button",{attrs:{variant:"base",size:"small"},on:{click:e.prevMonth}},[e._v("‹")]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__month-label"},[e._v(e._s(e.monthLabel))]),e._v(" "),a("c-button",{attrs:{variant:"base",size:"small"},on:{click:e.nextMonth}},[e._v("›")])],2)]),e._v(" "),a("section",{staticClass:"ifta-tracker-trips__import-bar"},[a("div",{staticClass:"ifta-tracker-trips__import-info"},[a("div",{staticClass:"ifta-tracker-trips__import-count"},[e._v(e._s(e.importCountLabel))]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__import-detail"},[e._v(e._s(e.importDetailLabel))])]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__import-actions"},[a("c-link",{on:{click:e.toggleSelectAll}},[e._v(e._s(e.selectAllLabel))]),e._v(" "),e.selectedReimportCount?a("span",{staticClass:"ifta-tracker-trips__reimport-note"},[e._v("\n            ↺ "+e._s(e.selectedReimportCount)+" already imported - will be replaced\n          ")]):e._e(
82),e._v(" "),a("c-button",{attrs:{variant:"primary",disabled:!e.selectedCount||e.importLoading},on:{click:e.importSelected}},[e._v("\n            "+e._s(e.importButtonLabel)+"\n          ")])],1)]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__calendar"},[a("div",{staticClass:"ifta-tracker-trips__calendar-row ifta-tracker-trips__calendar-row--head"},[e._l(e.weekDays,function(t){return a("div",{key:t,staticClass:"ifta-tracker-trips__calendar-head"},[e._v(e._s(t))])}),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__calendar-head ifta-tracker-trips__calendar-head--week"},[e._v("\n            Week\n          ")])],2),e._v(" "),e._l(e.calendarWeeks,function(t,i){return a("div",{key:i,staticClass:"ifta-tracker-trips__calendar-row"},[e._l(t.days,function(t){return a("button",{key:t.key,class:e.dayCellClasses(t),style:e.dayCellStyle(t),attrs:{type:"button",disabled:!t.info},on:{click:function(a){return e.selectDay(t)}}},[a("span",{staticClass:"ifta-tracker-trips__day-num",style:e.dayNumberStyle(t)},[e._v(e._s(t.label))]),e._v(" "),t.info?[a("span",{staticClass:"ifta-tracker-trips__day-miles",style:{color:e.milesColor(t.info.miles).text}},[e._v(e._s(t.info.miles)+" mi")]),e._v(" "),a("span",{staticClass:"ifta-tracker-trips__day-states"},e._l(t.info.states.slice(0,3),function(t){return a("span",{key:t,staticClass:"ifta-tracker-trips__state-pill",style:e.stateStyle(t)},[e._v(e._s(t))])}),0),e._v(" "),a("span",{staticClass:"ifta-tracker-trips__checkbox-wrap"},[a("input",{staticClass:"ifta-tracker-trips__day-checkbox",attrs:{type:"checkbox"},domProps:{checked:e.isDayChecked(t.day)},on:{click:function(a){return a.stopPropagation(),e.toggleDay(t.day)}}})]),e._v(" "),t.info.imported?a("span",{staticClass:"ifta-tracker-trips__reimport-mark",attrs:{title:"Already imported - selected import will replace it"}},[e._v("↺")]):e._e()]:e._e()],2)}),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__week-cell"},[a("div",{staticClass:"ifta-tracker-trips__week-label"},[e._v("week")]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__week-value"},[e._v("\n              "+e._s(t.miles?t.miles+" mi":"-")+"\n            ")])])],2)})],2),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__legend"},[e._l(e.legend,function(t){return a("div",{key:t.label,staticClass:"ifta-tracker-trips__legend-item"},[a("span",{class:t.dot?"ifta-tracker-trips__legend-dot":"ifta-tracker-trips__legend-square",style:{background:t.color,borderColor:t.borderColor||t.color}}),e._v("\n          "+e._s(t.label)+"\n        ")])}),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__legend-item"},[a("span",{staticClass:"ifta-tracker-trips__legend-reimport"},[e._v("↺")]),e._v("\n          re-importable\n        ")])],2)]),e._v(" "),a("section",{staticClass:"ifta-tracker-trips__detail"},[a("div",{staticClass:"ifta-tracker-trips__detail-header"},[a("div",[a("div",{staticClass:"ifta-tracker-trips__detail-date"},[e._v(e._s(e.detailDateLabel))]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__detail-sub"},[e._v(e._s(e.detailSubLabel))])]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__tabs"},[a("c-button",{attrs:{variant:"timeline"===e.activeTab?"primary":"base",size:"small"},on:{click:function(t){e.activeTab="timeline"}}},[e._v("Timeline")]),e._v(" "),a("c-button",{attrs:{variant:"states"===e.activeTab?"primary":"base",size:"small"},on:{click:function(t){e.activeTab="states"}}}
82,[e._v("By state")])],1)]),e._v(" "),e.detailLoading?a("div",{staticClass:"ifta-tracker-trips__empty"},[a("c-spinner")],1):e.selectedDayData?e.selectedDetail?["timeline"===e.activeTab?a("div",{staticClass:"ifta-tracker-trips__timeline"},[a("div",{staticClass:"ifta-tracker-trips__section-label"},[e._v("\n            DailyTrip - "+e._s(e.driveCount)+" "+e._s(1===e.driveCount?"drive":"drives")+"\n          ")]),e._v(" "),e._l(e.selectedDetail.timeline,function(t,i){return a("div",{key:t.id,staticClass:"ifta-tracker-trips__timeline-item"},[a("div",{staticClass:"ifta-tracker-trips__timeline-spine"},[a("div",{class:["ifta-tracker-trips__timeline-dot",{"ifta-tracker-trips__timeline-dot--stop":"stop"===t.type}]}),e._v(" "),i<e.selectedDetail.timeline.length-1||e.arrivalDrive?a("div",{staticClass:"ifta-tracker-trips__timeline-line"}):e._e()]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__timeline-body"},[a("div",{staticClass:"ifta-tracker-trips__timeline-time"},[e._v("\n                "+e._s(e.timelineTime(t))+"\n              ")]),e._v(" "),"drive"===t.type?[a("div",{staticClass:"ifta-tracker-trips__timeline-title"},[e._v("\n                  Drive #"+e._s(t.sequence)+" - "+e._s(t.from)+"\n                ")]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__timeline-states"},[e._l(t.state_breakdown,function(i){return a("span",{key:t.id+"-"+i.state,staticClass:"ifta-tracker-trips__state-pill",style:e.stateStyle(i.state)},[e._v(e._s(i.state))])}),e._v(" "),a("span",{staticClass:"ifta-tracker-trips__drive-tag"},[e._v(e._s(t.total_miles)+" mi")])],2)]:[a("div",{staticClass:"ifta-tracker-trips__timeline-title ifta-tracker-trips__timeline-title--muted"},[e._v("\n                  Stop"+e._s(t.location?" - "+t.location:"")+"\n                ")]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__timeline-meta"},[e._v("\n                  "+e._s(t.duration_minutes)+" min\n                  "),t.fuel_purchased_gallons?[e._v("\n                    · fuel: "+e._s(t.fuel_purchased_gallons)+" gal ("+e._s(t.fuel_state)+")\n                  ")]:e._e()],2)]],2)])}),e._v(" "),e.arrivalDrive?a("div",{staticClass:"ifta-tracker-trips__timeline-item ifta-tracker-trips__timeline-item--last"},[a("div",{staticClass:"ifta-tracker-trips__timeline-spine"},[a("div",{staticClass:"ifta-tracker-trips__timeline-dot ifta-tracker-trips__timeline-dot--arrival"})]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__timeline-body"},[a("div",{staticClass:"ifta-tracker-trips__timeline-time"},[e._v(e._s(e.formatTime(e.arrivalDrive.ended_at)))]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__timeline-title"},[e._v("Arrived - "+e._s(e.arrivalDrive.to))])])]):e._e()],2):a("div",{staticClass:"ifta-tracker-trips__state-grid"},e._l(e.selectedDetail.state_breakdown,function(t){return a("div",{key:t.state,staticClass:"ifta-tracker-trips__state-card"},[a("div",{staticClass:"ifta-tracker-trips__state-abbr"},[e._v(e._s(t.state))]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__state-miles"},[e._v(e._s(t.miles)+" mi")]),e._v(" "),a("div",{staticClass:"ifta-tracker-trips__state-bar",style:{width:e.statePercent(t.miles)+"%"}})])}),0)]:a("div",{staticClass:"ifta-tracker-trips__empty"},[e._v("\n        DailyTrip detail is not available for this day.\n      ")]):a("div",{staticClass:"ifta-tracker-trips__empty"},[e._v("\n        Click a day on the calendar to view its drives and stops.\n      ")])],2)])],1)};zr._withStripped=!0;const Ur=["January","February","March","April","May","June","July","August","September","October","November","December"],Vr={IL:{background:"#e6f1fb",color:"#0c447c"},WI:{background:"#eaf3de",color:"#27500a"},IN:{background:"#eaf3de",color:"#27500a"},OH:{background:"#faeeda",color:"#633806"},PA:{background:"#fbeaf0",color:"#72243e"},NY:{background:"#eeedfe",color:"#3c3489"},NJ:{background:"#faece7",color:"#993c1d"},MO:{background:"#faeeda",color:"#633806"},KS:{background:"#eaf3de",color:"#27500a"}};var Gr={name:"IftaTrackerTrips",data(){const e=new Date;return{serverNotice:null,loading:!1,importLoading:!1,integrationInactive:!1,detailLoa
82ding:!1,workspaceId:null,equipment:[],activeEquipmentId:null,currentYear:e.getFullYear(),currentMonth:e.getMonth()+1,selectedDay:null,checkedDays:{},calendarDays:{},dailyTripDetails:{},activeTab:"timeline",quarters:[1,2,3,4],weekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],legend:[{label:"0 mi",color:"#e6f1fb",borderColor:"#d0d0cc"},{label:"~200 mi",color:"#85b7eb"},{label:"~350 mi",color:"#378add"},{label:"500+ mi",color:"#042c53"},{label:"imported",color:"#1d9e75",dot:!0}]}},watch:{activeEquipmentId(e,t){this.workspaceId&&null!==t&&e!==t&&this.loadCalendar()}},computed:{activeEquipment(){return this.equipment.find(e=>String(e.id)===String(this.activeEquipmentId))||{id:null,name:"No equipment selected",ext_vehicle_id:null}},activeVehicleSubtitle(){return this.activeEquipment.ext_vehicle_id?`Tracker vehicle #${this.activeEquipment.ext_vehicle_id}`:"Link equipment via IFTA Tracker invitation to import GPS days"},equipmentOptions(){return this.equipment.map(e=>({id:e.id,name:e.name}))},monthKey(){const e=String(this.currentMonth).padStart(2,"0");return`${this.currentYear}-${e}`},monthLabel(){return`${Ur[this.currentMonth-1]} ${this.currentYear}`},currentQuarter(){return Math.ceil(this.currentMonth/3)},days(){return this.calendarDays||{}},calendarWeeks(){const e=this.daysInMonth(this.currentYear,this.currentMonth),t=(new Date(this.currentYear,this.currentMonth-1,1).getDay()+6)%7,a=[];for(let e=0;e<t;e++)a.push({key:`empty-start-${e}`,label:"",info:null});for(let t=1;t<=e;t++)a.push({key:`day-${t}`,day:t,label:t,info:this.days[t]||null});for(;a.length%7!=0;)a.push({key:`empty-end-${a.length}`,label:"",info:null});const i=[];for(let e=0;e<a.length;e+=7){const t=a.slice(e,e+7);i.push({days:t,miles:t.reduce((e,t)=>e+(t.info?t.info.miles:0),0)})}return i},selectedDayData(){return this.selectedDay?this.days[this.selectedDay]:null},selectedDetail(){if(!this.selectedDayData)return null;const e=this.selectedDayData.tracker_daily_trip_id||this.selectedDayData.date;return this.dailyTripDetails[e]||null},detailDateLabel(){return this.selectedDayData?this.selectedDayData.date?new Date(`${this.selectedDayData.date}T00:00:00`).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):new Date(this.currentYear,this.currentMonth-1,this.selectedDay).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):"-"},detailSubLabel(){if(!this.selectedDayData)return"Select a day to see details";const e=1===this.selectedDayData.drives?"drive":"drives";return`DailyTrip - ${this.selectedDayData.drives} ${e} - ${this.selectedDayData.miles} mi total`},driveCount(){return this.selectedDetail?(this.selectedDetail.timeline||[]).filter(e=>"drive"===e.type).length:0},arrivalDrive(){if(!this.selectedDetail)return null;const e=(this.selectedDetail.timeline||[]).filter(e=>"drive"===e.type);return e.length?e[e.length-1]:null},selectedDayKeys(){return Object.keys(this.checkedDays).filter(e=>this.checkedDays[e]&&this.days[e])},selectedCount(){return this.selectedDayKeys.length},selectedTotalMiles(){return this.selectedDayKeys.reduce((e,t)=>e+this.days[t].miles,0)},selectedStateCount(){const e=new Set;return this.selectedDayKeys.forEach(t=>{this.days[t].states.forEach(t=>e.add(t))}),e.size},selectedReimportCount(){return this.selectedDayKeys.filter(e=>this.days[e].imported).length},importCountLabel(){if(!this.selectedCount)return"No days selected";const e=1===this.selectedCount?"day":"days";return`${this.selectedCount} ${e} selected for import`},importDetailLabel(){if(!this.selectedCount)return"";const e=1===this.selectedStateCount?"state":"states";return`${this.selectedTotalMiles.toLocaleString()} mi - ${this.selectedStateCount} ${e}`},importButtonLabel(){if(!this.selectedCount)return"Import";const e=1===this.selectedCount?"day":"days";return`Import ${this.selectedCount} ${e}`},selectAllLabel(){return this.allCurrentMonthDaysSelected()?"Deselect all":"Select all"}},created(){this.loadInitialData()},methods:{notify(e,t){this.serverNotice={type:e,message:t}},goToEquipment(){this.$router.push({name:"equipment"})},goToTrackerConnect(){this.$router.push({name:"module-ifta-tracker"})},async loadInitialData(){this.loading=!0,this.serverNotice=null,this.integrationInactive=!1;const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/check-activation"});if(e)return this.notify("danger",this.apiErrorMessage(e,"Failed to load Tracker activation status.")),void(this.loading=!1);const a=t&&t.data?t.data:{};if(!a.service_activated||!a.workspace_id)return this.integrationInactive=!0,void(this.loading=!1);this.workspaceId=a.workspace_id,await this.loadEquipment(),await this.loadCalendar(
82),this.loading=!1},async loadEquipment(){if(!this.workspaceId)return;const[e,t]=await De.a.fetch({method:"get",url:`/api/modules/ifta-tracker/workspace/${this.workspaceId}/import-equipment`});if(e)return void this.notify("danger",this.apiErrorMessage(e,"Failed to load linked equipment."));const a=t&&t.data&&Array.isArray(t.data.data)?t.data.data:[];this.equipment=a.map(e=>({id:e.id,name:e.name||`#${e.id}`,ext_vehicle_id:e.ext_vehicle_id})),!this.activeEquipmentId&&this.equipment.length&&(this.activeEquipmentId=this.equipment[0].id)},async loadCalendar(){if(!this.workspaceId||!this.activeEquipmentId)return this.calendarDays={},this.selectedDay=null,void(this.checkedDays={});this.serverNotice=null;const[e,t]=await De.a.fetch({method:"get",url:`/api/modules/ifta-tracker/workspace/${this.workspaceId}/calendar`,params:{equipment_id:this.activeEquipmentId,year:this.currentYear,month:this.currentMonth}});if(e)return this.calendarDays={},this.selectedDay=null,this.checkedDays={},void this.notify("danger",this.apiErrorMessage(e,"Failed to load Tracker calendar."));const a=t&&t.data&&t.data.data?t.data.data:{};this.calendarDays=this.normalizeCalendarDays(a.days||[]),this.dailyTripDetails={},this.resetCheckedDays();const i=Object.keys(this.calendarDays)[0];this.selectedDay=i?Number(i):null,this.activeTab="timeline",await this.loadSelectedTripDetail()},async loadSelectedTripDetail(){if(!(this.workspaceId&&this.activeEquipmentId&&this.selectedDayData&&this.selectedDayData.date))return;const e=this.selectedDayData.tracker_daily_trip_id||this.selectedDayData.date;if(this.dailyTripDetails[e])return;this.detailLoading=!0;const[t,a]=await De.a.fetch({method:"get",url:`/api/modules/ifta-tracker/workspace/${this.workspaceId}/vehicles/${this.activeEquipmentId}/daily-trips/${this.selectedDayData.date}`});if(this.detailLoading=!1,t)return void this.notify("danger",this.apiErrorMessage(t,"Failed to load Tracker DailyTrip detail."));const i=a&&a.data&&a.data.data?a.data.data:{};this.$set(this.dailyTripDetails,e,this.normalizeDailyTripDetail(i))},normalizeCalendarDays:e=>e.reduce((e,t)=>{const a=t.date;if(!a)return e;const i=Number(a.slice(8,10));return i?(e[i]={date:a,tracker_daily_trip_id:t.tracker_daily_trip_id,miles:Number(t.total_miles||0),drives:Number(t.drive_count||0),states:Array.isArray(t.states)?t.states:[],preview_url:t.preview_url||null,imported:!!t.imported,trip_id:t.trip_id||null},e):e},{}),normalizeDailyTripDetail(e){return{id:e.id,date:e.date,total_miles:Number(e.total_miles||0),state_breakdown:Array.isArray(e.state_breakdown)?e.state_breakdown:[],timeline:Array.isArray(e.timeline)?e.timeline.map(this.normalizeTimelineItem):[],imported:!!e.imported,trip_id:e.trip_id||null}},normalizeTimelineItem(e){let t=e.type||"drive";return"drive"!==t&&"stop"!==t&&(t=String(t).toLowerCase().includes("stop")?"stop":"drive"),{type:t,id:e.id,sequence:e.sequence,started_at:e.started_at,ended_at:e.ended_at,from:e.from,to:e.to,location:e.location,total_miles:Number(e.total_miles||0),duration_minutes:Number(e.duration_minutes||0),fuel_purchased_gallons:e.fuel_purchased_gallons,fuel_state:e.fuel_state,state_breakdown:Array.isArray(e.state_breakdown)?e.state_breakdown:[]}},apiErrorMessage:(e,t)=>e&&e.message?String(e.message).replace(/<br\s*\/?>/gi," ").trim():e.response&&e.response.data&&e.response.data.message?e.response.data.message:t,formatImportFailures:e=>Array.isArray(e)&&e.length?e.map(e=>{return`${e.date||"?"}: ${e.message||"Unknown error"}`}).join(" "):"",daysInMonth:(e,t)=>new Date(e,t,0).getDate(),milesColor:e=>e?e<100?{bg:"#e6f1fb",text:"#0c447c"}:e<200?{bg:"#b5d4f4",text:"#0c447c"}:e<300?{bg:"#85b7eb",text:"#0c447c"}:e<400?{bg:"#378add",text:"#fff"}:e<480?{bg:"#185fa5",text:"#e6f1fb"}:{bg:"#042c53",text:"#b5d4f4"}:{bg:"#e6f1fb",text:"#0c447c"},stateStyle:e=>Vr[e]||{background:"#f1efe8",color:"#444441"},dayCellClasses(e){return["ifta-tracker-trips__day-cell",{"ifta-tracker-trips__day-cell--empty":!e.label,"ifta-tracker-trips__day-cell--no-data":e.label&&!e.info,"ifta-tracker-trips__day-cell--selected":e.info&&e.day===this.selectedDay}]},dayCellStyle(e){return e.info?{background:this.milesColor(e.info.miles).bg}:{}},dayNumberStyle:e=>!e.info||e.info.miles<300?{}:{color:"rgba(255,255,255,.65)"},selectDay(e){e.info&&(this.selectedDay=e.day,this.activeTab="timeline",this.loadSelectedTripDetail())},isDayChecked(e){return!!this.checkedDays[e]},toggleDay(e){this.$set(this.checkedDays,e,!this.checkedDays[e])},resetCheckedDays(){this.checkedDays={}
82,Object.keys(this.days).forEach(e=>{this.$set(this.checkedDays,e,!0)})},allCurrentMonthDaysSelected(){const e=Object.keys(this.days);return e.length>0&&e.every(e=>this.checkedDays[e])},toggleSelectAll(){const e=!this.allCurrentMonthDaysSelected();Object.keys(this.days).forEach(t=>{this.$set(this.checkedDays,t,e)})},setQuarter(e){this.currentMonth=3*e-2,this.refreshMonth()},prevMonth(){1===this.currentMonth?(this.currentMonth=12,this.currentYear--):this.currentMonth--,this.refreshMonth()},nextMonth(){12===this.currentMonth?(this.currentMonth=1,this.currentYear++):this.currentMonth++,this.refreshMonth()},refreshMonth(){this.loadCalendar()},formatTime(e){if(!e)return"-";const t=new Date(e);return Number.isNaN(t.getTime())?"-":t.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1})},timelineTime(e){return"stop"===e.type?`${this.formatTime(e.started_at)} - ${this.formatTime(e.ended_at)}`:this.formatTime(e.started_at)},statePercent(e){const t=this.selectedDetail&&this.selectedDetail.state_breakdown?this.selectedDetail.state_breakdown:[];if(!t.length)return 0;const a=Math.max(...t.map(e=>e.miles));return Math.round(e/a*100)},async importSelected(){if(!this.selectedCount||this.importLoading)return;const e=this.selectedDayKeys.map(e=>this.days[e].date).filter(Boolean);this.importLoading=!0;const[t,a]=await De.a.fetch({method:"post",url:`/api/modules/ifta-tracker/workspace/${this.workspaceId}/import`,data:{equipment_id:this.activeEquipmentId,dates:e}});if(this.importLoading=!1,t)return void this.notify("danger",this.apiErrorMessage(t,"Failed to import Tracker DailyTrips."));const i=a&&a.data?a.data:{},n=i.data||{},r=(n.created||[]).length,s=(n.updated||[]).length,o=(n.failed||[]).length,l=this.formatImportFailures(n.failed||[]);if(!o||r||s)if(o){const e=i.message||"Import completed";this.notify("warning",l?`${e} ${l}`:`${e} ${o} failed.`)}else this.notify("success",i.message||"Tracker DailyTrips imported.");else this.notify("danger",l||i.message||"Import failed.");await this.loadCalendar()}}},Jr=(a(171),d(Gr,zr,[],!1,null,"56638c56",null));Jr.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerTrips.vue";var Kr=Jr.exports,Qr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"ifta-tracker-vehicles"},[a("c-container-header",{attrs:{title:"IFTA Tracker: Vehicles"}},[a("div",{staticClass:"ifta-tracker-vehicles__header-actions"},[a("c-button",{attrs:{variant:"base",size:"small",disabled:e.syncWaiting||e.loading},on:{click:e.syncTracker}},[a("c-icon",{attrs:{icon:"fa fa-refresh"}}),e._v(" "+e._s(e.syncWaiting?"Syncing…":"Sync")+"\n      ")],1)],1)]),e._v(" "),a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),e.integrationInactive?a("div",{staticClass:"ifta-tracker-vehicles__inactive"},[a("div",{staticClass:"ifta-tracker-vehicles__inactive-card"},[a("p",{staticClass:"ifta-tracker-vehicles__inactive-title"},[e._v("\n        IFTA Tracker is not activated\n      ")]),e._v(" "),a("p",{staticClass:"ifta-tracker-vehicles__inactive-text"},[e._v("\n        Connect your account to view linked equipment and drivers from the Tracker mobile app.\n      ")]),e._v(" "),a("c-button",{attrs:{variant:"primary"},on:{click:e.goToTrackerConnect}},[e._v("\n        Connect IFTA Tracker\n      ")])],1)]):a("div",{staticClass:"ifta-tracker-vehicles__page"},[a("div",{staticClass:"ifta-tracker-vehicles__page-header"},[a("div",[a("div",{staticClass:"ifta-tracker-vehicles__breadcrumb"},[e._v("\n          Integrations / IFTA Tracker / "),a("strong",[e._v("Vehicles")])]),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicles__subtitle"},[e._v("\n          Fleet vehicles from the Tracker app linked to your equipment\n        ")])]),e._v(" "),a("c-button",{attrs:{variant:"primary"},on:{click:e.goToInvitations}},[a("c-icon",{attrs:{icon:"fa fa-plus"}}),e._v(" New invitation\n      ")],1)],1),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicles__how"},[a("div",{staticClass:"ifta-tracker-vehicles__how-header"},[a("c-icon",{attrs:{icon:"fa fa-info-circle"}}),e._v(" "),a("span",[e._v("How vehicle linking works")])],1),e._v(" "),a("p",{staticClass:"ifta-tracker-vehicles__how-text"},[e._v("\n        Click "),a("strong",[e._v("Sync")]),e._v(" to pull vehicles from IFTA Tracker.\n        When a driver accepts an invitation, equipment links automatically.\n        Vehicles added only in the Tracker app appear here until you link or create matching equipment in IFTA Calculator.\n      ")])]),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicles__filters"},[a("label",{staticClass:"ifta-tracker-vehicles__filter-label"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.showArchived,expression:"showArchived"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.showArchived)?e._i(e.showArchived,null)>-1:e.showArchived},on:{change:function(t){var a=e.showArchived,i=t.target,n=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.showArchived=a.concat([null])):r>-1&&(e.showArchived=a.slice(0,r).concat(a.slice(r+1)))}else e.showArchived=n}}}),e._v("\n        Show archived vehicles\n      ")])]),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicles__card 
82ifta-tracker-vehicles__card--table"},[a("table",{staticClass:"ifta-tracker-vehicles__table"},[a("colgroup",[a("col",{staticStyle:{width:"32%"}}),e._v(" "),a("col",{staticStyle:{width:"26%"}}),e._v(" "),a("col",{staticStyle:{width:"20%"}}),e._v(" "),a("col",{staticStyle:{width:"22%"}})]),e._v(" "),a("thead",[a("tr",[a("th",[e._v("Equipment")]),e._v(" "),a("th",[e._v("Driver")]),e._v(" "),a("th",[e._v("Status")]),e._v(" "),a("th",{staticClass:"ifta-tracker-vehicles__th-actions"},[e._v("Actions")])])]),e._v(" "),a("tbody",[e.loading?a("tr",[a("td",{staticClass:"ifta-tracker-vehicles__empty",attrs:{colspan:"4"}},[e._v("\n              Loading…\n            ")])]):e.visibleBindings.length?e._l(e.visibleBindings,function(t){return a("tr",{key:t.id,class:{"ifta-tracker-vehicles__row--archived":"archived"===t.ui_status}},[a("td",{staticClass:"ifta-tracker-vehicles__td-strong"},[t.equipment_id?a("button",{staticClass:"ifta-tracker-vehicles__link",attrs:{type:"button"},on:{click:function(a){return e.openEquipmentForm(t.equipment_id)}}},[e._v("\n                "+e._s(e.equipmentLabel(t.equipment))+"\n              ")]):a("span",{staticClass:"ifta-tracker-vehicles__remote-name"},[e._v("\n                "+e._s(t.remote_vehicle_label||"Tracker vehicle")+"\n              ")])]),e._v(" "),a("td",[t.driver_id&&e.driverShortName(t.driver)?a("button",{staticClass:"ifta-tracker-vehicles__link",attrs:{type:"button"},on:{click:function(a){return e.openDriverForm(t.driver_id)}}},[e._v("\n                "+e._s(e.driverShortName(t.driver))+"\n              ")]):a("span",{staticClass:"ifta-tracker-vehicles__muted-hint"},[e._v("—")])]),e._v(" "),a("td",["archived"===t.ui_status?a("span",{staticClass:"ifta-tracker-vehicles__badge ifta-tracker-vehicles__badge--archived"},[a("span",{staticClass:"ifta-tracker-vehicles__dot ifta-tracker-vehicles__dot--gray"}),e._v("\n                Archived\n              ")]):"needs_equipment"===t.ui_status?a("span",{staticClass:"ifta-tracker-vehicles__badge ifta-tracker-vehicles__badge--needs"},[a("span",{staticClass:"ifta-tracker-vehicles__dot ifta-tracker-vehicles__dot--amber"}),e._v("\n                Needs equipment\n              ")]):a("span",{staticClass:"ifta-tracker-vehicles__badge ifta-tracker-vehicles__badge--linked"},[a("span",{staticClass:"ifta-tracker-vehicles__dot ifta-tracker-vehicles__dot--green"}),e._v("\n                Linked\n              ")])]),e._v(" "),a("td",{staticClass:"ifta-tracker-vehicles__actions"},["needs_equipment"===t.ui_status?[a("c-button",{attrs:{variant:"base",size:"small"},on:{click:function(a){return e.openLinkModal(t)}}},[e._v("\n                  Link\n                ")]),e._v(" "),a("c-button",{attrs:{variant:"primary",size:"small"},on:{click:function(a){return e.openCreateModal(t)}}},[e._v("\n                  Create\n                ")]),e._v(" "),t.ext_vehicle_id?a("c-button",{attrs:{variant:"base",size:"small"},on:{click:function(a){return e.openDrivesModal(t)}}},[e._v("\n                  Drives\n                ")]):e._e()]:t.ext_vehicle_id?[a("c-button",{attrs:{variant:"base",size:"small"},on:{click:function(a){return e.openDrivesModal(t)}}},[e._v("\n                  Drives\n                ")])]:a("span",{staticClass:"ifta-tracker-vehicles__muted-hint"},[e._v("—")])],2)])}):a("tr",[a("td",{staticClass:"ifta-tracker-vehicles__empty",attrs:{colspan:"4"}},[e._v("\n              No vehicles yet. Sync with Tracker or create an invitation to connect equipment and a driver.\n            ")])])],2)])])]),e._v(" "),a("c-modal",{attrs:{title:"Link equipment",size:"medium"},model:{value:e.linkModalOpen,callback:function(t){e.linkModalOpen=t},expression:"linkModalOpen"}},[a("template",{slot:"body"},[e.activeBinding?a("p",{staticClass:"ifta-tracker-vehicles__modal-intro"},[e._v("\n        Link Tracker vehicle "),a("strong",[e._v(e._s(e.activeBinding.remote_vehicle_label))]),e._v("\n        to existing equipment in IFTA Calculator.\n      ")]):e._e(),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicles__field"},[a("label",{staticClass:"ifta-tracker-vehicles__label"},[e._v("Equipment")]),e._v(" "),a("c-select",{attrs:{options:e.equipmentOptions,placeholder:"Select equipment…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.linkForm.equipment_id,callback:function(t){e.$set(e.linkForm,"equipment_id",t)},expression:"linkForm.equipment_id"}})],1)]),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicles__modal-footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"base"},on:{click:function(t){e.linkModalOpen=!1}}},[e._v("Cancel")]),e._v(" "),a("c-button",{attrs:{variant:"primary",disabled:e.linkWaiting||!e.linkForm.equipment_id},on:{click:e.submitLinkEquipment}},[e._v("\n        Link equipment\n      ")])],1)],2),e._v(" "),a("c-modal",{attrs:{title:"Create equipment",size:"medium"},model:{value:e.createModalOpen,callback:function(t){e.createModalOpen=t},expression:"createModalOpen"}},[a("template",{slot:"body"},[e.activeBinding?a("p",{staticClass:"ifta-tracker-vehicles__modal-intro"},[e._v("\n        Create equipment from Tracker vehicle "),a("strong",[e._v(e._s(e.activeBinding.remote_vehicle_label))]),e._v(".\n      ")]):e._e(
82),e._v(" "),a("c-input-group",[a("label",[e._v("Unit / name *")]),e._v(" "),a("c-input-form",{attrs:{placeholder:"Unit 101"},model:{value:e.createForm.unit,callback:function(t){e.$set(e.createForm,"unit",t)},expression:"createForm.unit"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("Make")]),e._v(" "),a("c-input-form",{model:{value:e.createForm.make,callback:function(t){e.$set(e.createForm,"make",t)},expression:"createForm.make"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("Model")]),e._v(" "),a("c-input-form",{model:{value:e.createForm.model,callback:function(t){e.$set(e.createForm,"model",t)},expression:"createForm.model"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("VIN")]),e._v(" "),a("c-input-form",{model:{value:e.createForm.vin,callback:function(t){e.$set(e.createForm,"vin",t)},expression:"createForm.vin"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("Year")]),e._v(" "),a("c-input-form",{attrs:{type:"number"},model:{value:e.createForm.year,callback:function(t){e.$set(e.createForm,"year",t)},expression:"createForm.year"}})],1)],1),e._v(" "),a("div",{staticClass:"ifta-tracker-vehicles__modal-footer",attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"base"},on:{click:function(t){e.createModalOpen=!1}}},[e._v("Cancel")]),e._v(" "),a("c-button",{attrs:{variant:"primary",disabled:e.createWaiting||!e.createForm.unit},on:{click:e.submitCreateEquipment}},[e._v("\n        Create & link\n      ")])],1)],2),e._v(" "),e.equipmentFormState?a("equipment-form",{attrs:{"item-id":e.equipmentFormId,state:e.equipmentFormState},on:{close:function(t){e.equipmentFormState=!1},update:e.onEquipmentUpdated}}):e._e(),e._v(" "),e.driverFormState?a("driver-form",{attrs:{"item-id":e.driverFormId,state:e.driverFormState},on:{close:function(t){e.driverFormState=!1},update:e.onDriverUpdated}}):e._e(),e._v(" "),e.drivesModalOpen?a("ifta-tracker-vehicle-drives-modal",{attrs:{"workspace-id":e.workspaceId,"vehicle-label":e.drivesVehicleLabel,"ext-vehicle-id":e.drivesExtVehicleId},model:{value:e.drivesModalOpen,callback:function(t){e.drivesModalOpen=t},expression:"drivesModalOpen"}}):e._e()],1)};Qr._withStripped=!0;var Zr={name:"IftaTrackerVehicles",components:{EquipmentForm:nt,DriverForm:wr,IftaTrackerVehicleDrivesModal:Ar},data:()=>({serverNotice:null,loading:!0,syncWaiting:!1,integrationInactive:!1,workspaceId:null,bindings:[],equipment:[],showArchived:!1,equipmentFormState:!1,equipmentFormId:null,driverFormState:!1,driverFormId:null,linkModalOpen:!1,createModalOpen:!1,linkWaiting:!1,createWaiting:!1,activeBinding:null,linkForm:{equipment_id:null},createForm:{unit:"",make:"",model:"",vin:"",year:""},drivesModalOpen:!1,drivesVehicleLabel:"",drivesExtVehicleId:null}),computed:{equipmentOptions(){return this.equipment||[]},visibleBindings(){return this.showArchived?this.bindings:this.bindings.filter(e=>"archived"!==e.ui_status)}},created(){this.loadInitialData()},methods:{notify(e,t){this.serverNotice={type:e,message:t}},errMessage:(e,t)=>e&&e.message?String(e.message).replace(/<br\s*\/?>/gi," ").trim():t,goToTrackerConnect(){this.$router.push({name:"module-ifta-tracker"})},goToInvitations(){this.$router.push({name:"module-ifta-tracker"})},equipmentLabel(e){if(!e)return"—";const t=[];return e.unit&&t.push(`#${e.unit}`),e.make&&t.push(e.make),e.model&&t.push(e.model),t.join(" ").trim()||e.list_value||"Equipment"},driverShortName(e){if(!e)return"";const t=(e.first_name||"").trim(),a=(e.last_name||"").trim();return t&&a?`${t.charAt(0)}. ${a}`:`${t} ${a}`.trim()||e.email||""},openEquipmentForm(e){this.equipmentFormId=e,this.equipmentFormState=!0},openDriverForm(e){this.driverFormId=e,this.driverFormState=!0},openLinkModal(e){this.activeBinding=e,this.linkForm.equipment_id=null,this.linkModalOpen=!0,this.loadEquipment()},openCreateModal(e){this.activeBinding=e;const t=e.remote_vehicle||{};this.createForm={unit:t.name||e.remote_vehicle_label||"",make:t.make||"",model:t.model||"",vin:t.vin||"",year:t.year?String(t.year):""},this.createModalOpen=!0},openDrivesModal(e){e&&e.ext_vehicle_id&&this.workspaceId&&(this.drivesVehicleLabel=e.equipment_id?this.equipmentLabel(e.equipment):e.remote_vehicle_label||"Tracker vehicle",this.drivesExtVehicleId=e.ext_vehicle_id,this.drivesModalOpen=!0)},async onEquipmentUpdated(){this.equipmentFormState=!1,await this.loadEquipment(),await this.loadBindings()},async onDriverUpdated(){this.driverFormState=!1,await this.loadBindings()},async loadEquipment(){const[e,t]=await De.a.fetch({method:"get",url:"/api/fuel/create"});e||(this.equipment=t.data&&t.data.equipment&&t.data.equipment.data?t.data.equipment.data:[])},async loadInitialData(){this.loading=!0,this.serverNotice=null,this.integrationInactive=!1;const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/check-activation"});if(e)return this.notify("danger",this.errMessage(e,"Failed to load Tracker activation status.")),void(this.loading=!1);const a=t&&t.data?t.data:{};if(!a.service_activated||!a.workspace_id)return this.integrationInactive=!0,void(this.loading=!1);this.workspaceId=a.workspace_id,await Promise.all([this.loadEquipment(),this.loadBindings()]),this.loading=!1},async loadBindings(){const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/driver-equipment-bindings"});if(e)return this.notify("danger",this.errMessage(e,"Failed to load linked vehicles.")),void(this.bindings=[]);this.bindings=t.data&&t.data.data?t.data.data:[]},async syncTracker(){this.syncWaiting=!0,this.serverNotice=null;const[e,t]=await De.a.fetch({method:"post",url:"/api/modules/ifta-tracker/invitations/sync"});if(this.syncWaiting=!1,e)return void this.notify("danger",this.errMessage(e,"Sync failed."));const a=t&&t.data?t.data:{},i=a.vehicles||{},n=["Statuses updated."];null!=i.remote_count&&n.push(`${i.remote_count} Tracker vehicle(s) checked.`),i.created&&n.push(`${i.created}
82 new.`),a.vehicles_error&&n.push(`Vehicle sync warning: ${a.vehicles_error}`),this.notify("success",n.join(" ")),await this.loadBindings()},async submitLinkEquipment(){if(!this.activeBinding||!this.linkForm.equipment_id)return;this.linkWaiting=!0;const[e]=await De.a.fetch({method:"put",url:`/api/modules/ifta-tracker/driver-equipment-bindings/${this.activeBinding.id}/link-equipment`,data:{equipment_id:this.linkForm.equipment_id}});this.linkWaiting=!1,e?this.notify("danger",this.errMessage(e,"Could not link equipment.")):(this.linkModalOpen=!1,this.activeBinding=null,this.notify("success","Equipment linked."),await this.loadBindings())},async submitCreateEquipment(){if(!this.activeBinding||!this.createForm.unit)return;this.createWaiting=!0;const e={unit:this.createForm.unit,make:this.createForm.make||null,model:this.createForm.model||null,vin:this.createForm.vin||null};this.createForm.year&&(e.year=parseInt(this.createForm.year,10));const[t]=await De.a.fetch({method:"post",url:`/api/modules/ifta-tracker/driver-equipment-bindings/${this.activeBinding.id}/create-equipment`,data:e});this.createWaiting=!1,t?this.notify("danger",this.errMessage(t,"Could not create equipment.")):(this.createModalOpen=!1,this.activeBinding=null,this.notify("success","Equipment created and linked."),await Promise.all([this.loadEquipment(),this.loadBindings()]))}}},Xr=(a(172),d(Zr,Qr,[],!1,null,"1cd37a30",null));
82Xr.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerVehicles.vue";var es=Xr.exports,ts=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"ifta-tracker-company"},[a("c-container-header",{attrs:{title:"IFTA Tracker: Company"}}),e._v(" "),a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),e.integrationInactive?a("div",{staticClass:"ifta-tracker-company__inactive"},[a("div",{staticClass:"ifta-tracker-company__inactive-card"},[a("p",{staticClass:"ifta-tracker-company__inactive-title"},[e._v("\n        IFTA Tracker is not activated\n      ")]),e._v(" "),a("p",{staticClass:"ifta-tracker-company__inactive-text"},[e._v("\n        Connect your account before editing your company profile.\n      ")]),e._v(" "),a("c-button",{attrs:{variant:"primary"},on:{click:e.goToTrackerConnect}},[e._v("\n        Connect IFTA Tracker\n      ")])],1)]):a("div",{staticClass:"ifta-tracker-company__page"},[a("div",{staticClass:"ifta-tracker-company__page-header"},[a("div",[a("div",{staticClass:"ifta-tracker-company__breadcrumb"},[e._v("\n          Integrations / IFTA Tracker / "),a("strong",[e._v("Company")])]),e._v(" "),a("div",{staticClass:"ifta-tracker-company__subtitle"},[e._v("\n          Legal entity details shared with IFTA Tracker\n        ")])]),e._v(" "),a("c-button",{attrs:{variant:"primary",disabled:e.loading||e.saving||!e.canSubmit},on:{click:e.save}},[a("c-icon",{attrs:{icon:"fa fa-save"}}),e._v(" "+e._s(e.saving?"Saving…":"Save")+"\n      ")],1)],1),e._v(" "),a("div",{staticClass:"ifta-tracker-company__how"},[a("div",{staticClass:"ifta-tracker-company__how-header"},[a("c-icon",{attrs:{icon:"fa fa-info-circle"}}),e._v(" "),a("span",[e._v("Company profile")])],1),e._v(" "),a("p",{staticClass:"ifta-tracker-company__how-text"},[e._v("\n        Changes are saved to IFTA Calculator and synced to your IFTA Tracker workspace.\n        Driver invitations and fleet settings use this information.\n      ")])]),e._v(" "),e.loading?a("div",{staticClass:"ifta-tracker-company__loading"},[e._v("\n      Loading…\n    ")]):a("form",{staticClass:"ifta-tracker-company__form",attrs:{id:"ifta-tracker-company-form"},on:{submit:function(t){return t.preventDefault(),e.save(t)}}},[a("section",{staticClass:"ifta-tracker-company__card"},[a("c-input-group",[a("label",{attrs:{for:"ifta-company-name"}},[e._v("Company name *")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-company-name",placeholder:"Mann Freight LLC"}
82,model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),e._v(" "),a("div",{staticClass:"ifta-tracker-company__grid"},[a("c-input-group",[a("label",[e._v("Country *")]),e._v(" "),a("c-select",{attrs:{options:e.countryOptions,"can-be-removed":!1,disabled:!e.countryOptions.length,placeholder:"Select country…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.form.country,callback:function(t){e.$set(e.form,"country",t)},expression:"form.country"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("IFTA jurisdiction ( State / province ) *")]),e._v(" "),a("c-select",{attrs:{options:e.iftaJurisdictionOptions,"can-be-removed":!1,disabled:!e.form.country,placeholder:"Select…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.form.ifta_jurisdiction,callback:function(t){e.$set(e.form,"ifta_jurisdiction",t)},expression:"form.ifta_jurisdiction"}})],1)],1),e._v(" "),a("c-input-group",[a("label",[e._v("Timezone *")]),e._v(" "),a("c-select",{attrs:{options:e.timezoneOptions,"can-be-removed":!1,disabled:!e.form.country||!e.timezoneOptions.length,placeholder:"Select timezone…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.form.timezone_id,callback:function(t){e.$set(e.form,"timezone_id",t)}
82,expression:"form.timezone_id"}})],1),e._v(" "),a("div",{staticClass:"ifta-tracker-company__grid"},[a("c-input-group",[a("label",{attrs:{for:"ifta-company-dot"}},[e._v("DOT")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-company-dot",placeholder:"Optional"},model:{value:e.form.dot_number,callback:function(t){e.$set(e.form,"dot_number",t)},expression:"form.dot_number"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"ifta-company-mc"}},[e._v("MC")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-company-mc",placeholder:"Optional"},model:{value:e.form.mc_number,callback:function(t){e.$set(e.form,"mc_number",t)},expression:"form.mc_number"}})],1)],1)],1),e._v(" "),a("section",{staticClass:"ifta-tracker-company__card"},[a("h3",{staticClass:"ifta-tracker-company__section-title"},[e._v("Mailing address")]),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"ifta-company-street1"}},[e._v("Street line 1")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-company-street1",placeholder:"123 Main St"},model:{value:e.form.address.street_line1,callback:function(t){e.$set(e.form.address,"street_line1",t)},expression:"form.address.street_line1"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"ifta-company-street2"}},[e._v("Street line 2")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-company-street2",placeholder:"Suite 100"},model:{value:e.form.address.street_line2,callback:function(t){e.$set(e.form.address,"street_line2",t)},expression:"form.address.street_line2"}})],1),e._v(" "),a("div",{staticClass:"ifta-tracker-company__grid"},[a("c-input-group",[a("label",{attrs:{for:"ifta-company-city"}},[e._v("City")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-company-city",placeholder:"Dallas"},model:{value:e.form.address.city,callback:function(t){e.$set(e.form.address,"city",t)},expression:"form.address.city"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("State / province")]),e._v(" "),e.mailingSubdivisionOptions.length?a("c-select",{attrs:{options:e.mailingSubdivisionOptions,"can-be-removed":!0,disabled:!e.form.country,placeholder:"Select…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.form.address.state,callback:function(t){e.$set(e.form.address,"state",t)},expression:"form.address.state"}}):a("c-input-form",{attrs:{id:"ifta-company-state",placeholder:"TX",maxlength:"2"},model:{value:e.form.address.state,callback:function(t){e.$set(e.form.address,"state",t)},expression:"form.address.state"}})],1)],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"ifta-company-postal"}},[e._v("Postal code")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-company-postal",placeholder:"75201"},model:{value:e.form.address.postal_code,callback:function(t){e.$set(e.form.address,"postal_code",t)},expression:"form.address.postal_code"}})],1)],1),e._v(" "),a("section",{staticClass:"ifta-tracker-company__card"},[a("h3",{staticClass:"ifta-tracker-company__section-title"},[e._v("Contact")]),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"ifta-company-contact-name"}},[e._v("Name")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-company-contact-name"},model:{value:e.form.contact.name,callback:function(t){e.$set(e.form.contact,"name",t)},expression:"form.contact.name"}})],1),e._v(" "),a("div",{staticClass:"ifta-tracker-company__grid"},[a("c-input-group",[a("label",{attrs:{for:"ifta-company-contact-email"}},[e._v("Email")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-company-contact-email",type:"email"},model:{value:e.form.contact.email,callback:function(t){e.$set(e.form.contact,"email",t)},expression:"form.contact.email"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"ifta-company-contact-phone"}},[e._v("Phone")]),e._v(" "),a("c-input-form",{attrs:{id:"ifta-company-contact-phone",placeholder:"+12125550123"},model:{value:e.form.contact.phone,callback:function(t){e.$set(e.form.contact,"phone",t)},expression:"form.contact.phone"}})],1)],1)],1)])])],1)};ts._withStripped=!0;var as={name:"IftaTrackerCompany",data:()=>({serverNotice:null,loading:!0,saving:!1,integrationInactive:!1,skipCountryReset:!1,createOptions:{},form:{name:"",country:"US",ifta_jurisdiction:null,timezone_id:null,dot_number:"",mc_number:"",address:{street_line1:"",street_line2:"",city:"",state:"",postal_code:""}
82,contact:{name:"",email:"",phone:""}}}),computed:{countryOptions(){return(this.createOptions.countries||[]).map(e=>({id:e.code,value:e.name}))},iftaJurisdictionOptions(){return((this.form.country?(this.createOptions.ifta_jurisdictions||{})[this.form.country]:[])||[]).map(e=>({id:e.code,value:e.name}))},timezoneOptions(){return((this.form.country?(this.createOptions.timezones||{})[this.form.country]:[])||[]).map(e=>({id:e.timezone_id,value:e.label}))},mailingSubdivisionOptions(){return((this.form.country?(this.createOptions.mailing_subdivisions||{})[this.form.country]:[])||[]).map(e=>({id:e.code,value:e.name}))},canSubmit(){return!!(this.form.name.trim()&&this.form.country&&this.form.ifta_jurisdiction&&this.form.timezone_id)}},watch:{"form.country"(e,t){!this.skipCountryReset&&e&&e!==t&&(this.form.ifta_jurisdiction=null,this.form.timezone_id=this.defaultTimezoneId(e),this.form.address.state="")}},created(){this.loadInitialData()},methods:{notify(e,t){this.serverNotice={type:e,message:t}},errMessage(e,t){if(e&&e.errors&&"object"==typeof e.errors){const t=Object.keys(e.errors).reduce((t,a)=>{const i=e.errors[a];return Array.isArray(i)?t.push(...i):i&&t.push(String(i)),t},[]);if(t.length)return t.join(" ")}return e&&e.message?String(e.message).replace(/<br\s*\/?>/gi," ").trim():t},goToTrackerConnect(){this.$router.push({name:"module-ifta-tracker"})},defaultTimezoneId(e){const t=(this.createOptions.timezones||{})[e]||[],a=t.find(e=>"Central"===e.label);return a?a.timezone_id:t.length?t[0].timezone_id:null},applyProfile(e){const t=e.contact||{},a=e.address||{};this.skipCountryReset=!0,this.form={name:e.name||"",country:e.country||"US",ifta_jurisdiction:e.ifta_jurisdiction||null,timezone_id:e.timezone_id||null,dot_number:e.dot_number||"",mc_number:e.mc_number||"",address:{street_line1:a.street_line1||"",street_line2:a.street_line2||"",city:a.city||"",state:a.state||"",postal_code:a.postal_code||""},contact:{name:t.name||"",email:t.email||"",phone:t.phone||""}},this.$nextTick(()=>{this.skipCountryReset=!1})},buildPayload(){const e={name:this.form.name.trim(),country:this.form.country,ifta_jurisdiction:this.form.ifta_jurisdiction,timezone_id:Number(this.form.timezone_id)},t={},a=(this.form.contact.name||"").trim(),i=(this.form.contact.email||"").trim(),n=(this.form.contact.phone||"").trim();a&&(t.name=a),i&&(t.email=i),n&&(t.phone=n),Object.keys(t).length&&(e.contact=t);const r=(this.form.dot_number||"").trim(),s=(this.form.mc_number||"").trim();r&&(e.dot_number=r),s&&(e.mc_number=s);const o={},l=(this.form.address.street_line1||"").trim(),c=(this.form.address.street_line2||"").trim(),u=(this.form.address.city||"").trim(),d=(this.form.address.state||"").trim().toUpperCase(),p=(this.form.address.postal_code||"").trim();return l&&(o.street_line1=l),c&&(o.street_line2=c),u&&(o.city=u),d&&(o.state=d),p&&(o.postal_code=p),Object.keys(o).length&&(e.address=o),e},async loadInitialData(){this.loading=!0,this.serverNotice=null,this.integrationInactive=!1;const[e,t]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/check-activation"});if(e)return this.notify("danger",this.errMessage(e,"Failed to load Tracker activation status.")),void(this.loading=!1);const a=t&&t.data?t.data:{};if(!a.service_activated||!a.workspace_id)return this.integrationInactive=!0,void(this.loading=!1);const[i,n]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/workspace/create-options"});if(i)return this.notify("danger",this.errMessage(i,"Could not load form options.")),void(this.loading=!1);this.createOptions=n&&n.data?n.data:{};const[r,s]=await De.a.fetch({method:"get",url:"/api/modules/ifta-tracker/company-profile"});if(this.loading=!1,r)return void this.notify("danger",this.errMessage(r,"Could not load company profile."));const o=s&&s.data&&s.data.data?s.data.data:s&&s.data?s.data:null;o&&this.applyProfile(o)},async save(){if(this.saving||!this.canSubmit)return;this.saving=!0,this.serverNotice=null;const[e,t]=await De.a.fetch({method:"put",url:"/api/modules/ifta-tracker/company-profile",data:this.buildPayload()});if(this.saving=!1,e)return void this.notify("danger",this.errMessage(e,"Save failed. Please try again."));const a=t&&t.data&&t.data.data?t.data.data:t&&t.data?t.data:null;a&&this.applyProfile(a),this.notify("success","Company profile saved.")}}},is=(a(173),d(as,ts,[],!1,null,"203cee24",null));is.options.__file="resources/assets/components/items/IftaTracker/IftaTrackerCompany.vue";var ns=is.exports,rs=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("list-template",{ref:"listTemplate",attrs:{fields:e.fields,"datatable-header":"Drivers","datatable-name":"drivers","local-storage-name":"drivers"},on:{"open-form":e.openForm,"remove-item":e.removeItem}},[e.formState?a("driver-form",{attrs:{"item-id":e.formId},on:{update:e.updateList},model:{value:e.formState,callback:function(t){e.formState=t},expression:"formState"}}
82):e._e()],1)};rs._withStripped=!0;var ss=d({name:"Drivers",components:{DriverForm:wr},data:()=>({fields:[{key:"first_name",label:"First name",sortable:!0},{key:"last_name",label:"Last name",sortable:!0},{key:"email",label:"Email",sortable:!0},{key:"phone",label:"Phone",sortable:!0},{key:"actions",label:"Actions",sortable:!1,custom:!0}],formState:!1,formId:null}),computed:{...Object(_.b)("drivers/form",["serverNotice"])},watch:{serverNotice:{immediate:!0,handler(e){e&&!this.formState&&(this.$notify.push({message:e.message,type:e.type,duration:"danger"===e.type?-1:3e3}),this.serverNotice=null)}}},methods:{...Object(f.b)("drivers/form",["deleteItem"]),openForm(e){this.formId=e,this.formState=!0},async removeItem(e){e&&(await this.deleteItem([e]),this.updateList())},updateList(){this.$refs.listTemplate&&"function"==typeof this.$refs.listTemplate.updateList&&this.$refs.listTemplate.updateList()}}},rs,[],!1,null,null,null);ss.options.__file="resources/assets/components/items/Drivers/Drivers.vue";var os=ss.exports,ls=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"_login"},[a("div",{on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.login(t)}}},[a("h1",[e._v("Login")]),e._v(" "),a("p",[e._v("Sign In to your account")]),e._v(" "),a("c-alert-server",{attrs:{notice:e.authServerNotice}}),e._v(" "),a("c-input-group",[a("c-input-email",{ref:"email",attrs:{"is-invalid":e.validate.email,placeholder:"Email",required:""},on:{"update:isInvalid":function(t){return e.$set(e.validate,"email",t)},"update:is-invalid":function(t){return e.$set(e.validate,"email",t)}},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}}),e._v(" "),e.validate.email?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("This is a required field and must be valid e-mail\n        address")]):e._e()],1),e._v(" "),a("c-input-group",[a("c-input-password",{ref:"password",attrs:{"is-invalid":e.validate.password,"min-length":6,placeholder:"Password",required:""},on:{"update:isInvalid":function(t){return e.$set(e.validate,"password",t)},"update:is-invalid":function(t){return e.$set(e.validate,"password",t)}},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),e._v(" "),e.validate.password?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("Required password containing at least 6\n        characters")]):e._e()],1),e._v(" "),a("c-button-save",{attrs:{disabled:e.isInvalid,spinner:e.waiting,title:"Login"},on:{click:e.login}}),e._v(" "),a("c-input-group",[e._v("\n       \n      "),a("c-link",{attrs:{href:"/mileage/register"}},[e._v("Create new account")]),e._v(" "),a("c-link",{attrs:{href:"/mileage/password/reset"}},[e._v("Forgot password?")])],1),e._v(" "),a("c-input-group",[a("c-button",{staticClass:"google-login-button",attrs:{href:"/api/oauth/google"},on:{click:e.goToGoogle}},[a("img",{staticClass:"google-icon",attrs:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAwCAYAAAC4wJK5AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAATdSURBVHgB7ZlNbBtFFMff7EfSNLHiSm3aXogjhOgBiVTEKBKgrtsU9YCE0wjUwiHJgROHtuJCKSipEHBsckeKc0BJ+FDSEyDiZFEPRE1F3HMP3QMoUEBx44QEe3cfb5ymdeL9mLXXcg/+Sf7Y2Tfj+e97M/NmDNCgQYNSGITIWlKLFjY3k4DwIl1q9Bmlz1iJiVF8Mcggsp+bVClz6IclA6okFBF/9fVqiNYI8I4HBIHNSUwaPzK/pEOFVCWims47oKuqPFyJZyoSUQyb3OYN+joEIcOQjR5ZuH09UB0IyNq53lihYC3C3lgPFxozqiL3i3pFggCsnY13mwVzBWopgIPQnS/Y3aLmwiK4B0wbF2kgRqHWIAwfTd+eEzUXErEbQpUIoHjNws7UKgYJ6FhYTkEAFBEjEsBnoJiILe+0BTCpgK3nrIjepevZ3Xv3NS0akXOaBVKS7AbLKlcg4NFvevPgdHyIrCZAABtgfMtqHS3tuBurWm9Mke0bCJgsFlQogOMv4kz8Pvh4gT99G1igON7lz76eUaT6x+bvjEGFeIrIp9Wh/24dndi6ddyrgSxakOjQlzNQJ/wG9siBV/+Ag32/uRogwpV6CuC4eqLwk6LR3cXda/thE+S+eq74WUKqI708DHXG3RMMknsM2/MQefceKM9sPC6zLDlQelArvMLpVJnxIyEtr63yy9Rxvfo0Ogy81gnXZZ+PE6VzYxLSIMTpzzaGyLWnIAQWrrWWha/jmMgvqt3MwhXwQO0zhZPHxOfrKYbSIISALcld+tUWo7TMMZyYiT7pBavbbKSYZmx/WaAs9gnouyLXCpSlsgfs7Anm54n6gYhiImgT7/OkWd1ESjYaZWVOhqaiGOAJxuApwlFES2LbAG+iv3x/TIM64PSAvdYJPgM5rhVf/nuCXs/Tiv6dDgJgPnIZm7dHfQ1tK0pP1XNq3z+9ctxzp3mFp8aXSstyqMKH6y/Dr4XD/DJrNltdmf650GaqM5+uJ1GSZt3uMwZ6+qO2xP5y9ykWYc/e4J7ZDoNZbVcAJ6rmpREIE1m65Hkf8a5TsasI9aypI2MG/z6z9Sy8//AVWLUO7muTXX5pZiAJIcBTE0rrNS8bZoPjpkvyroSTY5svAH/xUHK0QZiIf/2W8PGKE+e+2IpRYPt51Zj/JKI73fAUEd94Y4y84BfzUbTtxUo9wgXkkQ7j0OcggsG42y1PEXzQMsQr4E+UPDIbnx6Y6J26EBOwB202Ge2ZOT+SOzS14iuAvGAz2XX/LpSJ9kwP8B2eBoJQoymbwc1Ik6XrJbMX7/jGttLNJHiT0ochKiqu/MrWCWh58B4lnoedG6Qt8MLHbWMev+dP71QyZjGZDs8qO76kegbb6bBruiKRgNbfr5YJoXqZ9LW2kx7Ni2WxSxfnDJCkftg5zQsM2xHvmW/Zyt+Q6/wA8u0/lhYbliT3g3/74vBZiA9ivw5VS1P2dTjwzztZW1JOOq3Q+wl8tF9taInA+NkteX757W+ENl+BN0U8tGS0EjQbTUJNYLqMakJUQLEGVEF86jyd07KRkLxC441dv3Ph28DHmaH88cjFIOMHAahBYJhObzfbms2UXmEyGepfwMXxApJGzWqUd3XSiXeMlXhpZ6plWQaYof867iqozC1dnDagQYMGofI/YQPMTwpXS3YAAAAASUVORK5CYII=",alt:"Google Icon"}}),e._v(" "),a("span",[e._v("Login with Google")])])],1)],1)])};ls._withStripped=!0;var cs={name:"Login",data:()=>({authServerNotice:null,waiting:!1,email:"",password:"",remember:!1,code:null,error:null,event_id:null,action:null,uniq:null,validate:{email:!1,password:!1}}),computed:{...Object(f.c)("auth",["serverNotice","successfulAuth"]),isInvalid(){return Object.keys(this.validate).some(e=>this.validate[e])}},watch:{serverNotice:{immediate:!0,handler(e){e&&"danger"===e.type&&(this.authServerNotice={type:e.type,message:e.message||"The given data was invali
82d"})}}},mounted(){this.code=this.$route.query.authcode||null,this.email=this.$route.query.email||null,this.event_id=this.$route.query.event_id||null,this.action=this.$route.query.action||null,this.uniq=this.$route.query.uniq||null;const e=this.$route.query.error||null;this.action&&this.event_id&&["login","registration"].includes(this.action)&&window.dataLayer.push({event:this.action,event_id:this.event_id,uniq:this.uniq}),e?this.setError({errorCode:e}):this.email&&this.code&&this.loginAuthCode()},methods:{...Object(f.b)("auth",{authLogin:"login",setError:"setError"}),goToGoogle(){window.location.href="/api/oauth/google"},goBack(){this.$router.push({name:"trips-fuel"})},async loginAuthCode(){await this.authLogin({email:this.email,code:this.code}),this.successfulAuth?this.goBack():this.password=""},async login(){this.waiting=!0,this.$refs.email.validate(),this.$refs.password.validate(),this.isInvalid||(await this.authLogin({email:this.email,password:this.password,remember:this.remember}),this.successfulAuth?this.goBack():this.password=""),this.waiting=!1}}},us=(a(174),d(cs,ls,[],!1,null,null,null));us.options.__file="resources/assets/components/auth/_Login.vue";var ds=us.exports,ps=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"_register"},[a("div",{on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.register(t)}}},[a("h1",[e._v("Sign up")]),e._v(" "),a("p",[e._v("Create a new account")]),e._v(" "),a("c-alert-server",{attrs:{notice:e.authServerNotice}}),e._v(" "),a("c-input-group",[a("c-input-form",{ref:"name",attrs:{"is-invalid":e.validate.name,placeholder:"Full Name",required:""},on:{"update:isInvalid":function(t){return e.$set(e.validate,"name",t)},"update:is-invalid":function(t){return e.$set(e.validate,"name",t)}},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e.validate.name?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("Name is required")]):e._e()],1),e._v(" "),a("c-input-group",[a("c-input-form",{attrs:{placeholder:"Company (optional)"},model:{value:e.company,callback:function(t){e.company=t},expression:"company"}})],1),e._v(" "),a("c-input-group",[a("c-input-email",{ref:"email",attrs:{"is-invalid":e.validate.email,placeholder:"Email",required:""},on:{"update:isInvalid":function(t){return e.$set(e.validate,"email",t)},"update:is-invalid":function(t){return e.$set(e.validate,"email",t)}},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}}),e._v(" "),e.validate.email?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("Must be a valid email")]):e._e()],1),e._v(" "),a("c-input-group",[a("c-input-password",{ref:"password",attrs:{"is-invalid":e.validate.password,"min-length":6,placeholder:"Password",required:""},on:{"update:isInvalid":function(t){return e.$set(e.validate,"password",t)},"update:is-invalid":function(t){return e.$set(e.validate,"password",t)}},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),e._v(" "),e.validate.password?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("Password must be at least 6 characters")]):e._e()],1),e._v(" "),a("c-input-group",[a("c-input-password",{ref:"confirmPassword",attrs:{"is-invalid":e.validate.confirmPassword,placeholder:"Confirm Password",required:""},on:{"update:isInvalid":function(t){return e.$set(e.validate,"confirmPassword",t)},"update:is-invalid":function(t){return e.$set(e.validate,"confirmPassword",t)}},model:{value:e.confirmPassword,callback:function(t){e.confirmPassword=t},expression:"confirmPassword"}}),e._v(" "),e.validate.confirmPassword?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("Passwords must match")]):e._e()],1),e._v(" "),a("c-input-group",[a("c-button-save",{attrs:{disabled:e.isInvalid,spinner:e.waiting,title:"Register"},on:{click:e.register}})],1),e._v(" "),a("c-input-group",[a("c-button",{staticClass:"google-login-button",attrs:{href:"/api/oauth/google"},on:{click:e.goToGoogle}},[a("img",{staticClass:"google-icon",attrs:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAwCAYAAAC4wJK5AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAATdSURBVHgB7ZlNbBtFFMff7EfSNLHiSm3aXogjhOgBiVTEKBKgrtsU9YCE0wjUwiHJgROHtuJCKSipEHBsckeKc0BJ+FDSEyDiZFEPRE1F3HMP3QMoUEBx44QEe3cfb5ymdeL9mLXXcg/+Sf7Y2Tfj+e97M/NmDNCgQYNSGITIWlKLFjY3k4DwIl1q9Bmlz1iJiVF8Mcggsp+bVClz6IclA6okFBF/9fVqiNYI8I4HBIHNSUwaPzK/pEOFVCWims47oKuqPFyJZyoSUQyb3OYN+joEIcOQjR5ZuH09UB0IyNq53lihYC3C3lgPFxozqiL3i3pFggCsnY13mwVzBWopgIPQnS/Y3aLmwiK4B0wbF2kgRqHWIAwfTd+eEzUXErEbQpUIoHjNws7UKgYJ6FhYTkEAFBEjEsBnoJiILe+0BTCpgK3nrIjepevZ3Xv3NS0akXOaBVKS7AbLKlcg4NFvevPgdHyIrCZAABtgfMtqHS3tuBurWm9Mke0bCJgsFlQogOMv4kz8Pvh4gT99G1igON7lz76eUaT6x+bvjEGFeIrIp9Wh/24dndi6ddyrgSxakOjQlzNQJ/wG9siBV/+Ag32/uRogwpV6CuC4eqLwk6LR3cXda/thE+S+eq74WUKqI708DHXG3RMMknsM2/MQefceKM9sPC6zLDlQelArvMLpVJnxIyEtr63yy9Rxvfo0Ogy81gnXZZ+PE6VzYxLSIMTpzzaGyLWnIAQWrrWWha/jmMgvqt3MwhXwQO0zhZPHxOfrKYbSIISALcld+tUWo7TMMZyYiT7pBavbbKSYZmx/WaAs9gnouyLXCpSlsgfs7Anm54n6gYhiImgT7/OkWd1ESjYaZWVOhqaiGOAJxuApwlFES2LbAG+iv3x/TIM64PSAvdYJPgM5rhVf/nuCXs/Tiv6dDgJgPnIZm7dHfQ1tK0pP1XNq3z+9ctxzp3mFp8aXSstyqMKH6y/Dr4XD/DJrNltdmf650GaqM5+uJ1GSZt3uMwZ6+qO2xP5y9ykWYc/e4J7ZDoNZbVcAJ6rmpREIE1m65Hkf8a5TsasI9aypI2MG/z6z9Sy8//AVWLUO7muTXX5pZiAJIcBTE0rrNS8bZoPjpkvyroSTY5svAH/xUHK0QZiIf/2W8PGKE+e+2IpRYPt51Zj/JKI73fAUEd94Y4y84BfzUbTtxUo9wgXkkQ7j0OcggsG42y1PEXzQMsQr4E+UPDIbnx6Y6J26EBOwB202Ge2ZOT+SOzS14iuAvGAz2XX/LpSJ9kwP8B2eBoJQoymbwc1Ik6XrJbMX7/jGttLNJHiT0ochKiqu/MrWCWh58B4lnoedG6Qt8MLHbWMev+dP71QyZjGZDs8qO76kegbb6bBruiKRgNbfr5YJoXqZ9LW2kx7Ni2WxSxfnDJCkftg5zQsM2xHvmW/Zyt+Q6/wA8u0/lhYbliT3g3/74vBZiA9ivw5VS1P2dTjwzztZW1JOOq3Q+wl8tF9taInA+NkteX757W+ENl+BN0U8tGS0EjQbTUJNYLqMakJUQLEGVEF86jyd07KRkLxC441dv3Ph28DHmaH88cjFIOMHAahBYJhObzfbms2UXmEyGepfwMXxApJGzWqUd3XSiXeMlXhpZ6plWQaYof867iqozC1dnDagQYMGofI/YQPMTwpXS3YAAAAASUVORK5CYII=",alt:"Google Icon"}}),e._v(" "),a("span",[e._v("Sign up with Google")])])],1)],1)])};ps._withStripped=!0;var ms={name:"Register",data:()=>({authServerNotice:null,waiting:!1,name:"",company:"",email:"",password:"",confirmPassword:"",validate:{name:!1,email:!1,password:!1,confirmPassword:!1}}),computed:{...Object(f.c)("auth",["serverNotice","successfulAuth"]),isInvalid(){return Object.values(this.validate).some(e=>e)}},watch:{serverNotice:{immediate:!0,handler(e){e&&"danger"===e.type&&(this.authServerNotice={type:e.type,message:e.message||"The given data was invali
82d"})}}},methods:{...Object(f.b)("auth",{authRegister:"registration"}),goToGoogle(){window.location.href="/api/oauth/google?action=registration"},async register(){this.waiting=!0,this.validateFields(),this.isInvalid||(await this.authRegister({name:this.name,company:this.company,email:this.email,password:this.password,passwordConfirmation:this.confirmPassword}),this.successfulAuth&&this.$router.push({name:"trips-fuel"})),this.waiting=!1},validateFields(){this.validate.name=!this.name,this.validate.email=!this.email.includes("@"),this.validate.password=this.password.length<6,this.validate.confirmPassword=this.password!==this.confirmPassword}}},hs=(a(175),d(ms,ps,[],!1,null,null,null));hs.options.__file="resources/assets/components/auth/Register.vue";var fs=hs.exports,_s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"_restore-password"},[e.token?e._e():a("div",{on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.restorePassword(t)}}},[a("h1",[e._v("Restore Password")]),e._v(" "),a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("p",[e._v("Enter your email to receive a password reset link")]),e._v(" "),a("c-input-group",[a("c-input-email",{ref:"email",attrs:{"is-invalid":e.validate.email,placeholder:"Email",required:""},on:{"update:isInvalid":function(t){return e.$set(e.validate,"email",t)},"update:is-invalid":function(t){return e.$set(e.validate,"email",t)}},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}}),e._v(" "),e.validate.email?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("Valid email is required")]):e._e()],1),e._v(" "),a("c-button-save",{attrs:{disabled:e.isInvalid,spinner:e.waiting,title:"Send Reset Link"},on:{click:e.restorePassword}}),e._v(" "),a("c-input-group",[a("p",[e._v(" ")]),e._v(" "),a("p",[e._v("If you're experiencing issues with the password reset link, please contact us at "),a("b",[e._v("[email protected]")]),e._v(" and we’ll be happy to help.")])])],1),e._v(" "),e.token?a("div",{on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.resetPassword(t)}}},[a("h1",[e._v("Reset Password")]),e._v(" "),a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("c-input-group",[a("c-input-password",{ref:"password",attrs:{"is-invalid":e.validate.password,"min-length":8,placeholder:"Password",required:""},on:{"update:isInvalid":function(t){return e.$set(e.validate,"password",t)},"update:is-invalid":function(t){return e.$set(e.validate,"password",t)}},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),e._v(" "),e.validate.password?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("Password must be at least 8 characters")]):e._e()],1),e._v(" "),a("c-input-group",[a("c-input-password",{ref:"confirmPassword",attrs:{"is-invalid":e.validate.confirmPassword,placeholder:"Confirm Password",required:""},on:{"update:isInvalid":function(t){return e.$set(e.validate,"confirmPassword",t)},"update:is-invalid":function(t){return e.$set(e.validate,"confirmPassword",t)}},model:{value:e.confirmPassword,callback:function(t){e.confirmPassword=t},expression:"confirmPassword"}}),e._v(" "),e.validate.confirmPassword?a("c-input-feedback",{attrs:{type:"invalid"}},[e._v("Passwords must match")]):e._e()],1),e._v(" "),a("c-button-save",{attrs:{disabled:e.isInvalidReset,spinner:e.waiting,title:"Reset password"},on:{click:e.resetPassword}}),e._v(" "),a("c-input-group",[e._v("\n       \n      "),a("c-link",{attrs:{href:"/login"}},[e._v("Login")])],1)],1):e._e()])};_s._withStripped=!0;var vs={name:"RestorePassword",data:()=>({token:!1,authServerNotice:null,waiting:!1,email:"",password:"",confirmPassword:"",validate:{token:!1,email:!1,password:!1,confirmPassword:!1}}),computed:{...Object(f.c)("auth",["serverNotice"]),isInvalid(){return this.validate.email},isInvalidReset(){return this.validate.email||this.validate.password||this.validate.confirmPassword}},watch:{serverNotice:{immediate:!0,handler(e){e&&"danger"===e.type&&(this.authServerNotice={type:e.type,message:e.message||"The given data was invali
82d"})}}},mounted(){this.token=this.$route.params.token,this.email=this.$route.query.email},methods:{...Object(f.b)("auth",{passWordResetConfirm:"passWordResetConfirm",passWordResetLink:"passWordResetLink"}),async restorePassword(){this.waiting=!0,this.$refs.email.validate(),this.isInvalid||(await this.passWordResetLink({email:this.email}),this.authServerNotice={type:"success",message:"If this email is registered, a reset link has been sent."}),this.waiting=!1},async resetPassword(){this.waiting=!0,this.validateFields(),this.isInvalid||(await this.passWordResetConfirm({email:this.email,token:this.token,password:this.password,passwordConfirmation:this.confirmPassword}),this.authServerNotice={type:"success",message:"If this email is registered, a reset link has been sent."}),this.waiting=!1},validateFields(){this.validate.email=!this.email.includes("@"),this.validate.password=this.password.length<8,this.validate.confirmPassword=this.password!==this.confirmPassword}}},gs=(a(176),d(vs,_s,[],!1,null,null,null));gs.options.__file="resources/assets/components/auth/RestorePassword.vue";var ys=gs.exports,bs=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"_restore-password"},[a("div",{on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.restorePassword(t)}}},[a("h1",[e._v("Restore Password")]),e._v(" "),a("p",[e._v("Please contact us at [email protected]")])])])};bs._withStripped=!0;var ks={name:"RestoreOld"},ws=(a(177),d(ks,bs,[],!1,null,null,null));ws.options.__file="resources/assets/components/auth/RestoreOld.vue";var Ms=ws.exports,Ss=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"billing"},[a("c-container-header",{attrs:{title:"Billing details"}}),e._v(" "),a("div",{staticClass:"billing__body"},[a("div",[a("h3",[e._v("Current Plan: "+e._s(e.subscription.package_name))])]),e._v(" "),e.subscription.display_status?a("div",[e._v("\n\n      Status: "+e._s(e.subscription.display_status)+"   "),e.subscription&&"past_due"==e.subscription.status?a("c-link",{attrs:{href:e.subscription.latest_invoice&&e.subscription.latest_invoice.hosted_invoice_url,target:"_blank"}},[a("b",[e._v("Pay now")])]):e._e()],1):e._e(),e._v(" "),a("div",[e._v("\n\n      Usage: "),a("b",[e._v(e._s(e.used)+" of "+e._s(e.subscription.limit))]),e._v(" trip segments utilized (rolling 30-day period).\n\n\n    ")]),e._v(" "),a("div",[a("h3",[e._v("Upgrade options:")]),e._v(" "),a("ul",e._l(e.packages,function(t){return a("li",{key:t.id},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedPackageId,expression:"selectedPackageId"}],attrs:{type:"radio"},domProps:{value:t.id,checked:e._q(e.selectedPackageId,t.id)},on:{change:function(a){e.selectedPackageId=t.id}}}),e._v(" "),a("b",[e._v(e._s(t.name))]),e._v(" - "+e._s(t.limit)+" trips - "),a("b",[e._v("$"+e._s(t.price))]),e._v(" / month")])])}),0)]),e._v(" "),e.couponCode?a("div",{staticClass:"billing__coupon-block"},[a("div",{staticClass:"billing__coupon-card"},[a("label",{staticClass:"billing__coupon-label",attrs:{for:"coupon"}},[e._v("Have a coupon?")]),e._v(" "),a("div",{staticClass:"billing__coupon-input-group"},[a("c-input-form",{attrs:{id:"coupon",placeholder:"Enter coupon code"},model:{value:e.couponCode,callback:function(t){e.couponCode=t},expression:"couponCode"}}),e._v(" "),a("c-button",{attrs:{variant:"success"},on:{click:e.verifyCoupon}},[e._v("Apply")])],1),e._v(" "),a("small",{staticClass:"billing__coupon-help"},[e._v("Enter your promo code if you have one and click Apply.")]),e._v(" "),e.coupon.id?a("div",{staticClass:"billing__coupon-success"},[e._v("\n          🎉 Coupon applied: "),a("b",[e._v(e._s(e.coupon.description))])]):e._e()])]):e._e(),e._v(" "),"ic_free"!=e.selectedPackageId?a("div",[a("br"),e._v(" "),a("c-input-checkbox",{attrs:{id:"remember",label:e.authorizePaymentLabel},model:{value:e.authorizePayment,callback:function(t){e.authorizePayment=t},expression:"authorizePayment"}})],1):e._e(),e._v(" "),a("div",[a("c-button",{attrs:{disabled:!e.authorizePayment&&"ic_free"!=e.selectedPackageId,variant:"success",block:""},on:{click:e.subscribe}},[e._v("\n        Subscribe\n      ")]),e._v(" "),a("div",[e._v(" ")]),e._v(" "),a("div",[e._v(" ")]),e._v(" "),a("div",[e._v(" ")]),e._v(" "),a("div",[e._v(" ")]),e._v(" "),a("div",[e._v(" ")]),e._v(" "),a("div",[e._v("For any questions, please contact us at [email protected]")])],1)]),e._v(" "),e.modalPaymentMethodsState?a("modal-payment-methods",{model:{value:e.modalPaymentMethodsState,callback:function(t){e.modalPaymentMethodsState=t},expression:"modalPaymentMethodsState"}}
82):e._e(),e._v(" "),e.modalUpgradeState?a("modal-upgrade",{attrs:{plan:e.modalUpgradeData},model:{value:e.modalUpgradeState,callback:function(t){e.modalUpgradeState=t},expression:"modalUpgradeState"}}):e._e(),e._v(" "),e.modalHistoryState?a("modal-history",{attrs:{invoices:e.modalHistoryInvoices},model:{value:e.modalHistoryState,callback:function(t){e.modalHistoryState=t},expression:"modalHistoryState"}}):e._e(),e._v(" "),a("c-modal",{attrs:{title:"Remove?",variant:"danger"},model:{value:e.modalWarningState,callback:function(t){e.modalWarningState=t},expression:"modalWarningState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[e._v("Are you sure?")]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button",{attrs:{variant:"danger"},on:{click:e.removeSubscription}},[e._v("Yes")]),e._v(" "),a("c-button",{attrs:{variant:"secondary"},on:{click:function(t){e.modalWarningState=!1}}},[e._v("Cancel")])],1)])],1)};Ss._withStripped=!0;var Ds=function(){var e=this.$createElement;return(this._self._c||e)("div",{ref:"cardElement"})};Ds._withStripped=!0;const Ls={base:{color:"#32325d",fontFamily:'"Helvetica Neue", Helvetica, sans-serif',fontSmoothing:"antialiased",fontSize:"14px","::placeholder":{color:"#aab7c4"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}};
82var Ts={name:"BillingStripeInput",data:()=>({stripe:null,card:null}),computed:{...Object(_.b)("billing",["serverNotice","stripeKey"])},async created(){await new Promise(e=>{if(document.querySelector('script[src="https://js.stripe.com/v3/"]'))e();else{const t=document.createElement("script");t.src="https://js.stripe.com/v3/",document.head.appendChild(t);const a=()=>{t.removeEventListener("load",a),e("success")};t.addEventListener("load",a)}}),await this.getStripeKey(),this.$nextTick(()=>{const e=Stripe(this.stripeKey),t=e.elements().create("card",{style:Ls});this.$refs.cardElement&&t.mount(this.$refs.cardElement),this.stripe=e,this.card=t})},methods:{...Object(f.b)("billing",["getStripeKey","sendStripeToken"]),async saveCard(e){const{token:t,error:a}=await this.submitPayment();return a?(this.serverNotice={type:"danger",message:a.message},[a.message,null]):e?[null,t.id]:(await this.sendStripeToken({stripe_token:t.id}),this.clearStripeInput(),null)},async submitPayment(){return await this.stripe.createToken(this.card)},clearStripeInput(){this.card.clear()}}},xs=(a(178),d(Ts,Ds,[],!1,null,null,null));xs.options.__file="resources/assets/components/account/Billing/BillingStripeIn
82put.vue";var Cs=xs.exports,Ys=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{attrs:{title:"Payment methods"},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),e._l(e.paymentMethods,function(t){return a("div",{key:t.id,staticClass:"billing-modal-payment-methods__list"},[a("c-input-radio",{attrs:{value:t.id,id:"payment-method-"+t.id,label:t.display_title,name:"payment-methods"},model:{value:e.selectedMethod,callback:function(t){e.selectedMethod=t},expression:"selectedMethod"}}),e._v(" "),a("remove-icon",{attrs:{spinner:e.removeWaiting,confirmation:""},on:{click:function(a){return e.removeCard(t.id)}}}),e._v(" "),t.default?a("c-icon-check-circle",{attrs:{title:"default",large:""}}):e._e()],1)}),e._v(" "),e.paymentMethods.length?[a("br"),e._v(" "),a("c-button-save",{attrs:{spinner:e.setDefaultWaiting,disabled:!~e.selectedMethod||e.selectedMethodIsDefault,title:"Set default"},on:{click:e.setDefault}}
82),e._v(" "),a("br")]:e._e(),e._v(" "),a("br"),e._v(" "),a("c-input-radio",{attrs:{id:"payment-method-new",value:-1,label:"New credit card",name:"payment-methods"},model:{value:e.selectedMethod,callback:function(t){e.selectedMethod=t},expression:"selectedMethod"}}),e._v(" "),a("div",{class:["billing-modal-payment-methods__new-card",{"billing-modal-payment-methods__new-card--display":!~e.selectedMethod}]},[a("br"),e._v(" "),a("stripe-input",{ref:"stripeInput"}),e._v(" "),a("br"),e._v(" "),a("div",[a("c-button-save",{attrs:{spinner:e.newCardWaiting,disabled:!!~e.selectedMethod,title:"Save new card"},on:{click:e.saveNewCard}})],1)],1)],2),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-close",{on:{click:e.close}})],1)])};Ys._withStripped=!0;var As={name:"BillingModalPaymentMethods",components:{StripeInput:Cs},model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0}},data:()=>({setDefaultWaiting:!1,newCardWaiting:!1,removeWaiting:!1,selectedMethod:null}),computed:{...Object(_.b)("billing",["serverNotice","billingSources"]),paymentMethods(){return this.billingSources?this.billingSources.methods:[]},selectedMethodIsDefault(){return this.paymentMethods.find(e=>e.default).id===this.selectedMethod},mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},watch:{paymentMethods:{immediate:!0,handler(e){if(e){const t=e.find(e=>e.default);this.selectedMethod=t?t.id:-1}}}},methods:{...Object(f.b)("billing",["updateMainPaymentMethod","deletePaymentMethod","getBillingData"]),close(){this.mutableState=!1},async removeCard(e){this.removeWaiting=!0,await this.deletePaymentMethod(e),await this.update(),this.removeWaiting=!1},async setDefault(){this.setDefaultWaiting=!0,await this.updateMainPaymentMethod({data:{default:!0},id:this.selectedMethod}),await this.update(),this.setDefaultWaiting=!1},async saveNewCard(){this.newCardWaiting=!0,this.$refs.stripeInput?(await this.$refs.stripeInput.saveCard(),this.serverNotice&&"danger"===this.serverNotice.type||(await this.update(),this.selectedMethod=-1)):this.serverNotice={type:"danger",message:"Something went wrong"},this.newCardWaiting=!1},async update(){await this.getBillingData()}}},Es=(a(179),d(As,Ys,[],!1,null,null,null));Es.options.__file="resources/assets/components/account/Billing/BillingModalPaymentMethods.vue";var Os=Es.exports,Is=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{attrs:{title:e.modalTitle},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("template",{slot:"body"},[e.plan.is_free?a("span",[e._v("Are you sure?")]):[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("h5",[e._v("Credit or debit card")]),e._v(" "),a("br"),e._v(" "),e._l(e.paymentMethods,function(t){return a("div",{key:t.id},[a("c-input-radio",{attrs:{value:t.stripe_id,id:"payment-method-"+t.id,label:t.display_title,name:"payment-methods"},model:{value:e.selectedMethod,callback:function(t){e.selectedMethod=t},expression:"selectedMethod"}})],1)}),e._v(" "),a("br"),e._v(" "),a("c-input-radio",{attrs:{id:"payment-method-new",value:null,label:"New credit card",name:"payment-methods"},model:{value:e.selectedMethod,callback:function(t){e.selectedMethod=t},expression:"selectedMethod"}}),e._v(" "),a("div",{class:["billing-modal-payment-methods__new-card",{"billing-modal-payment-methods__new-card--display":!e.selectedMethod}]},[a("br"),e._v(" "),a("stripe-input",{ref:"stripeInput"})],1),e._v(" "),e.plan.is_trial?a("div",[a("br"),e._v(" "),a("c-input-checkbox",{attrs:{id:"remember",label:e.authorizePaymentLabel},model:{value:e.authorizePayment,callback:function(t){e.authorizePayment=t},expression:"authorizePayment"}})],1):e._e()]],2),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-save",{attrs:{spinner:e.waiting,disabled:e.plan.is_trial&&!e.authorizePayment,title:e.buttonTitle,variant:"success"},on:{click:e.save}}),e._v(" "),a("c-button-close",{attrs:{disabled:e.waiting,title:"Cancel"},on:{click:e.close}})],1)],2)};Is._withStripped=!0;
82var Fs=d({name:"BillingModalUpgrade",components:{StripeInput:Cs},model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},plan:{type:Object,required:!0}},data:()=>({waiting:!1,selectedMethod:null,authorizePayment:!1}),computed:{...Object(_.b)("billing",["serverNotice","billingSources","packages","subscription"]),paymentMethods(){return this.billingSources?this.billingSources.methods:[]},authorizePaymentLabel(){if(!this.plan.is_trial)return"";const e=new Date;e.setDate(e.getDate()+this.plan.trial_days_left);const t=`0${e.getDate()}`.slice(-2);return`I authorize payment at the end of the trial period on ${`${`0${e.getMonth()+1}`.slice(-2)}/${t}/${e.getFullYear()}`}.`},modalTitle(){return this.plan.is_free?`Switch to ${this.plan.name}`:"Payment Information"},buttonTitle(){return this.plan.is_free?"Yes":"Subscribe"},mutableState:{get(){return this.state},set(e){this.waiting||this.$emit("close",e)}}},watch:{paymentMethods:{immediate:!0,handler(e){if(e){const t=e.find(e=>e.default);this.selectedMethod=t?t.stripe_id:null}}}},methods:{...Object(f.b)("billing",["upgradePlan","getBillingData"]),...Object(f.b)("auth",["fetchUser"]),async save(){this.waiting=!0;try{let e=this.selectedMethod,t=null;if(!this.plan.is_free&&!e){if(!this.$refs.stripeInput)throw new Error("Something went wrong");[t,e]=await this.$refs.stripeInput.saveCard(!0)}if(!t){await this.upgradePlan({data:{plan_id:this.plan.id,stripe_id:this.plan.stripe_id,stripe_token:e},id:this.plan.subscription_id}),this.serverNotice&&"danger"===this.serverNotice.type||await this.update(),this.waiting=!1,this.close();const t=this.packages.find(e=>e.id===this.plan.stripe_id);if(t)try{window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:"purchase",_type:"business_logic_event",event_id:`subscription_created_${this.subscription.id}`,ecommerce:{currency:"USD",value:t.price,transaction_id:this.subscription.id,items:[{item_id:t.id,item_name:t.name,price:t.price,quantity:1}]}})}catch(e){console.error("begin_checkout event failed:",e)}}}catch(e){this.serverNotice={type:"danger",message:e.message}}this.waiting=!1},close(){this.mutableState=!1},async update(){await this.getBillingData(),await this.fetchUser({force:!0})}}},Is,[],!1,null,null,null);Fs.options.__file="resources/assets/components/account/Billing/BillingModalUpgrade.vue";var Ps=Fs.exports,js=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-modal",{staticClass:"billing-modal-history",attrs:{title:"Invoices history"},model:{value:e.mutableState,callback:function(t){e.mutableState=t},expression:"mutableState"}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("c-table",{attrs:{fields:e.fields,items:e.invoices,striped:""},scopedSlots:e._u([{key:"hosted_invoice_url",fn:function(t){return[a("c-link",{attrs:{href:t.item.hosted_invoice_url,target:"_blank"}},[e._v("view")]),e._v(" /\n        "),a("c-link",{attrs:{href:t.item.invoice_pdf}},[e._v("download")])]}}])})],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("c-button-close",{on:{click:e.close}})],1)])};js._withStripped=!0;var Hs={name:"BillingModalHistory",model:{prop:"state",event:"close"},props:{state:{type:Boolean,required:!0},invoices:{type:Array,required:!0}},data:()=>({fields:[{key:"display_number",label:"Number"},{key:"display_date",label:"Date"},{key:"display_total",label:"Total"},{key:"display_status",label:"Status"},{key:"hosted_invoice_url",label:"Invoice"}]}),computed:{mutableState:{get(){return this.state},set(e){this.$emit("close",e)}}},methods:{close(){this.mutableState=!1}}},$s=(a(180),d(Hs,js,[],!1,null,null,null));$s.options.__file="resources/assets/components/account/Billing/BillingModalHistory.vue";var Ns={name:"Billing",components:{ModalPaymentMethods:Os,ModalUpgrade:Ps,ModalHistory:$s.exports,StripeInput:Cs},data:()=>({authorizePayment:!1,selectedPackageId:null,modalPaymentMethodsState:!1,modalUpgradeState:!1,modalUpgradeData:null,modalHistoryState:!1,modalHistoryInvoices:null,modalWarningState:!1,cancelSubscriptionId:null,filtered_plans:null,couponCode:null}),computed:{...Object(_.b)("billing",{serverNotice:"serverNotice",used:"used",packages:"packages",subscription:"subscription",coupon:"coupon"}),authorizePaymentLabel(){const e=new Date;e.setDate(e.getDate());const t=`0${e.getDate()}`.slice(-2);`0${e.getMonth()+1}`.slice(-2),e.getFullYear();return'I agree to the  <a href="/terms" target="_blank" >Terms & Conditions</a> and authorize recurring subscription payments via Stripe.'}},watch:{subscription(e){this.selectedPackageId=e.package_id},serverNotice:{immediate:!0,handler(e){e&&!this.formState&&(this.$notify.push({message:e.message,type:e.type,duration:"danger"===e.type?-1:3e3}),this.serverNotice=null)}}},created(){this.getBillingData()},mounted(){this.couponCode=this.$route.query.coupon||null},methods:{...Object(f.b)("billing",["getBillingData","applyCoupon","cancelSubscription"]),verifyCoupon(){this.applyCoupon(this.couponCode)},subscribe(){this.modalUpgradeData={is_free:"ic_free"===this.selectedPackageId,name:"ic_free"===this.selectedPackageId?"Free":"Paid",is_trial:!1,stripe_id:this.selectedPackageId,current_package_id:this.subscription.package_id,subscription_id:this.subscription.id},this.modalUpgradeState=!0;const e=this.packages.find(e=>e.id===this.selectedPackageId);if(e)try{window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:"begin_checkout",_type:"business_logic_event",event_id:this.selectedPackageId,ecommerce:{currency:"USD",value:e.price,items:[{item_id:this.selectedPackageId,item_name:e.name,price:e.price,quantity:1}]}})}catch(e){console.error("begin_checkout event failed:",e)}},removeSubscription(){this.cancelSubscription({id:this.cancelSubscriptionId,data:{}}),this.modalWarningState=!1},openModalPaymentMethods(){this.modalPaymentMethodsState=!0},showHistory(e){this.modalHistoryInvoices=e.invoices||[],this.modalHistoryState=!0}}},qs=(a(181),d(Ns,Ss,[],!1,null,null,null));
82qs.options.__file="resources/assets/components/account/Billing/Billing.vue";var Rs=qs.exports,Bs=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"support"},[a("c-container-header",{attrs:{title:"Support"}}),e._v(" "),a("div",{staticClass:"support__page"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("section",{staticClass:"support__card support__contact"},[a("h3",[e._v("Contact us")]),e._v(" "),a("p",[a("b",[e._v("Email:")]),e._v(" "),a("a",{attrs:{href:"mailto:[email protected]"}},[e._v("[email protected]")])]),e._v(" "),a("p",[a("b",[e._v("Phone:")]),e._v(" "),a("a",{attrs:{href:"sms:+13607756225"}},[e._v("(360) 775-6225")]),e._v(" "),a("span",{staticClass:"support__text-only"},[e._v("text only")])]),e._v(" "),a("p",{staticClass:"support__note"},[e._v("\n        We are not taking phone calls right now. Text this number, or email us.\n      ")])]),e._v(" "),a("div",{staticClass:"support__tabs"},[a("c-button",{attrs:{variant:"tickets"===e.tab?"primary":"base",size:"small"},on:{click:function(t){e.tab="tickets"}}},[e._v("Tickets")]),e._v(" "),a("c-button",{attrs:{variant:"request"===e.tab?"primary":"base",size:"small"},on:{click:e.openRequestTab}},[e._v(e._s(e.activeTicket?"Ticket":"New request"))])],1),e._v(" "),"tickets"===e.tab?a("section",{staticClass:"support__card"},[a("div",{staticClass:"support__card-header"},[a("h3",[e._v("Your tickets")]),e._v(" "),a("c-button",{attrs:{variant:"primary"},on:{click:e.startNewRequest}},[e._v("New support request")])],1),e._v(" "),e.loading?a("p",{staticClass:"support__muted"},[e._v("Loading…")]):e.tickets.length?a("ul",{staticClass:"support__list"},e._l(e.tickets,function(t){return a("li",{key:t.id},[a("button",{staticClass:"support__ticket",attrs:{type:"button"},on:{click:function(a){return e.toggleTicket(t.id)}}},[a("span",{staticClass:"support__ticket-subject"},[e._v(e._s(t.subject))]),e._v(" "),a("span",{staticClass:"support__ticket-meta"},[t.category_label?a("span",[e._v(e._s(t.category_label)+" · ")]):e._e(),e._v("\n              #"+e._s(t.number)+" · "+e._s(t.updated_at)+"\
82n            ")])])])}),0):a("p",{staticClass:"support__muted"},[e._v("No tickets yet.")])]):e.activeTicket?a("section",{staticClass:"support__card"},[a("div",{staticClass:"support__card-header"},[a("h3",[e._v(e._s(e.activeTicket.subject))]),e._v(" "),a("c-button",{attrs:{variant:"base"},on:{click:e.startNewRequest}},[e._v("New support request")])],1),e._v(" "),a("p",{staticClass:"support__muted"},[e.activeTicket.category_label?a("span",[e._v(e._s(e.activeTicket.category_label)+" · ")]):e._e(),e._v("\n        #"+e._s(e.activeTicket.number)+"\n      ")]),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"support-reply"}},[e._v("Add a message")]),e._v(" "),a("c-textarea",{attrs:{id:"support-reply",rows:"4"},model:{value:e.reply,callback:function(t){e.reply=t},expression:"reply"}})],1),e._v(" "),a("c-button",{attrs:{variant:"primary",disabled:e.sending},on:{click:e.sendReply}},[e._v(e._s(e.sending?"Sending…":"Send"))]),e._v(" "),a("div",{staticClass:"support__thread"},e._l(e.messagesNewest,function(t){return a("article",{key:t.id,staticClass:"support__message"},[a("div",{staticClass:"support__message-time"},[e._v(e._s(t.created_at))]),e._v(" "),a("p",[e._v(e._s(t.body))])])}),0)],1):a("section",{staticClass:"support__card"},[a("h3",[e._v("New support request")]),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"support-subject"}},[e._v("Subject *")]),e._v(" "),a("c-input-form",{attrs:{id:"support-subject","is-invalid":e.fieldErrors.subject},model:{value:e.form.subject,callback:function(t){e.$set(e.form,"subject",t)},expression:"form.subject"}})],1),e._v(" "),a("c-input-group",[a("label",[e._v("Category *")]),e._v(" "),a("c-select",{attrs:{options:e.categories,"is-invalid":e.fieldErrors.category,"can-be-removed":!1,placeholder:"Select a category…","dropdown-label":"value","selected-label":"value","incoming-label":"id"},model:{value:e.form.category,callback:function(t){e.$set(e.form,"category",t)},expression:"form.category"}})],1),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"support-body"}},[e._v("Message *")]),e._v(" "),a("c-textarea",{class:{"support__textarea--invalid":e.fieldErrors.body},attrs:{id:"support-body",rows:"6"},model:{value:e.form.body,callback:function(t){e.$set(e.form,"body",t)},expression:"form.body"}})],1),e._v(" "),a("c-button",{attrs:{variant:"primary",disabled:e.sending},on:{click:e.createTicket}},[e._v(e._s(e.sending?"Sending…":"Send"))])],1)],1)],1)};Bs._withStripped=!0;var Ws={name:"Support",data:()=>({serverNotice:null,loading:!0,sending:!1,showFieldErrors:!1,tab:"tickets",tickets:[],activeTicket:null,reply:"",form:{subject:"",category:null,body:""},categories:[{id:"getting_started",value:"Getting started"},{id:"ifta_calculation_reports",value:"IFTA calculation & reports"},{id:"mobile_app_gps",value:"Mobile app & GPS tracker"},{id:"billing_subscription",value:"Billing & subscription"},{id:"technical_issue",value:"Technical issue"},{id:"feature_request",value:"Feature request"},{id:"other",value:"Other"}]}),computed:{messagesNewest(){return(this.activeTicket&&this.activeTicket.messages||[]).slice().reverse()},fieldErrors(){return this.showFieldErrors?{subject:!String(this.form.subject||"").trim(),category:!this.form.category,body:!String(this.form.body||"").trim()}:{subject:!1,category:!1,body:!1}}},created(){this.loadTickets()},methods:{closeTicket(){this.activeTicket=null,this.reply=""},startNewRequest(){this.closeTicket(),this.showFieldErrors=!1,this.tab="request"}
82,openRequestTab(){this.tab="request"},async toggleTicket(e){await this.openTicket(e),this.tab="request"},notify(e,t){this.serverNotice={type:e,message:t}},errMessage:(e,t)=>e&&e.message?String(e.message).replace(/<br\s*\/?>/gi," ").trim():t,async loadTickets(){this.loading=!0;const[e,t]=await De.a.fetch({method:"get",url:"/api/support/tickets"});if(this.loading=!1,e)return void this.notify("danger",this.errMessage(e,"Could not load tickets."));const a=t&&t.data?t.data:{};this.tickets=a.data||[]},async openTicket(e){this.serverNotice=null;const[t,a]=await De.a.fetch({method:"get",url:`/api/support/tickets/${e}`});if(t)return void this.notify("danger",this.errMessage(t,"Could not open this ticket."));const i=a&&a.data?a.data:{};this.activeTicket=i.data||null,this.reply=""},async createTicket(){if(this.sending)return;if(this.showFieldErrors=!0,Object.values(this.fieldErrors).some(Boolean))return;this.sending=!0,this.serverNotice=null;const[e,t]=await De.a.fetch({method:"post",url:"/api/support/tickets",data:{subject:this.form.subject.trim(),category:this.form.category,body:this.form.body.trim()}});if(this.sending=!1,e)return void this.notify("danger",this.errMessage(e,"Could not send the ticket."));const a=t&&t.data?t.data:{};this.form={subject:"",category:null,body:""},this.showFieldErrors=!1,this.activeTicket=a.data||null,this.tab="request",this.notify("success","Ticket sent. We emailed you a copy."),this.loadTickets()},async sendReply(){if(this.sending||!this.activeTicket)return;if(!String(this.reply||"").trim())return void this.notify("danger","Message is required.");this.sending=!0,this.serverNotice=null;const[e,t]=await De.a.fetch({method:"post",url:`/api/support/tickets/${this.activeTicket.id}/messages`,data:{body:this.reply.trim()}});if(this.sending=!1,e)return void this.notify("danger",this.errMessage(e,"Could not send the message."));const a=t&&t.data?t.data:{};this.activeTicket=a.data||this.activeTicket,this.reply="",this.notify("success","Message sent."),this.loadTickets()}}},zs=(a(182),d(Ws,Bs,[],!1,null,"6699b5cb",null));zs.options.__file="resources/assets/components/items/Support/Support.vue";var Us=zs.exports,Vs=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("c-container-item",{staticClass:"done-for-you"},[a("c-container-header",{attrs:{title:"Done-For-You"}}),e._v(" "),a("div",{staticClass:"done-for-you__content"},[a("c-alert-server",{attrs:{notice:e.serverNotice}}),e._v(" "),a("div",{staticClass:"done-for-you__page"},[a("section",{staticClass:"done-for-you__card"},[a("h3",[e._v("We'll prepare your IFTA report")]),e._v(" "),a("p",[e._v("\n          Send us what you have, and we'll prepare your IFTA report.\n          Fuel receipts, ELD or GPS exports, fuel card statements, mileage logs, even phone photos are fine.\n          No need to clean anything up. We sort it out, check fuel against miles in every state, and send back a ready-to-file report.\n        ")]),e._v(" "),a("p",[a("b",[e._v("From $99 per truck.")]),e._v("\n          The final price depends on the format and amount of your records.\n          To estimate it, we need to know what you have available.\n        ")]),e._v(" "),a("p",{staticClass:"done-for-you__muted"},[e._v("\n          Mileage: ELD reports, trip lists, or other mileage records.\n          Fuel: fuel provider statements, fuel purchase reports, or individual receipts.\n        ")])]),e._v(" "),a("section",{staticClass:"done-for-you__card done-for-you__card--flow"},[a("h3",[e._v("How it works")]),e._v(" "),a("div",{staticClass:"done-for-you__flow"},[e._l(e.howItWorksFlow,function(t,i){return[a("div",{key:t.title,staticClass:"done-for-you__flow-step"},[a("div",{staticClass:"done-for-you__flow-icon"},[a("c-icon",{attrs:{icon:t.icon}})],1),e._v(" "),a("strong",{staticClass:"done-for-you__flow-title"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"done-for-you__flow-text"},[e._v(e._s(t.text))])]),e._v(" "),i<e.howItWorksFlow.length-1?a("div",{key:"arrow-"+i,staticClass:"done-for-you__flow-arrow",attrs:{"aria-hidden":"true"}},[a("span",{staticClass:"done-for-you__flow-arrow-desktop"},[e._v("→")]),e._v(" "),a("span",{staticClass:"done-for-you__flow-arrow-mobile"}
82,[e._v("↓")])]):e._e()]})],2)]),e._v(" "),e.submitted?a("section",{staticClass:"done-for-you__card"},[a("h3",[e._v("Request sent")]),e._v(" "),a("p",[e._v("\n          We'll email you a price estimate.\n          "),e.ticketNumber?a("span",[e._v("Your request number is #"+e._s(e.ticketNumber)+".")]):e._e()]),e._v(" "),a("c-button",{attrs:{variant:"base"},on:{click:e.resetForm}},[e._v("Send another request")])],1):a("section",{staticClass:"done-for-you__card"},[a("h3",[e._v("Request a quote")]),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"done-for-you-units"}},[e._v("Number of trucks *")]),e._v(" "),a("c-input-form",{attrs:{id:"done-for-you-units",type:"number",min:"1",placeholder:"1","is-invalid":e.fieldErrors.units},model:{value:e.form.units,callback:function(t){e.$set(e.form,"units",t)},expression:"form.units"}})],1),e._v(" "),a("c-input-group",{class:{"done-for-you__invalid":e.fieldErrors.mileage}},[a("label",[e._v("Mileage records *")]),e._v(" "),e._l(e.mileageOptions,function(t){return a("c-input-checkbox",{key:t.id,attrs:{value:t.id,id:"done-for-you-mileage-"+t.id,label:t.label},model:{value:e.form.mileageSources,callback:function(t){e.$set(e.form,"mileageSources",t)},expression:"form.mileageSources"}})})],2),e._v(" "),a("c-input-group",{class:{"done-for-you__invalid":e.fieldErrors.fuel}},[a("label",[e._v("Fuel records *")]),e._v(" "),e._l(e.fuelOptions,function(t){return a("c-input-checkbox",{key:t.id,attrs:{value:t.id,id:"done-for-you-fuel-"+t.id,label:t.label},model:{value:e.form.fuelSources,callback:function(t){e.$set(e.form,"fuelSources",t)},expression:"form.fuelSources"}})})],2),e._v(" "),a("c-input-group",[a("label",{attrs:{for:"done-for-you-comments"}},[e._v("Comments")]),e._v(" "),a("c-textarea",{attrs:{id:"done-for-you-comments",rows:"4",placeholder:"Anything we should know about the files you have"},model:{value:e.form.comments,callback:function(t){e.$set(e.form,"comments",t)},expression:"form.comments"}})],1),e._v(" "),a("c-button",{attrs:{variant:"primary",disabled:e.sending},on:{click:e.submit}},[e._v(e._s(e.sending?"Sending…":"Send request"))])],1)])],1)],1)};Vs._withStripped=!0;var Gs={name:"DoneForYou",data:()=>({serverNotice:null,sending:!1,submitted:!1,showFieldErrors:!1,ticketNumber:null,form:{units:"",mileageSources:[],fuelSources:[],comments:""},mileageOptions:[{id:"eld_reports",label:"ELD reports"},{id:"trip_lists",label:"Trip lists"},{id:"other_mileage",label:"Other mileage records"}],fuelOptions:[{id:"fuel_provider_statements",label:"Fuel provider statements"},{id:"fuel_purchase_reports",label:"Fuel purchase reports"},{id:"individual_receipts",label:"Individual receipts"}],howItWorksFlow:[{icon:"fa fa-pencil-square-o",title:"Request",text:"Tell us how many trucks you run and what records you have"},{icon:"fa fa-calculator",title:"Estimate",text:"We send a price based on your trucks and files"},{icon:"fa fa-paper-plane",title:"Send your documents",text:"Send mileage and fuel records as they are"},{icon:"fa fa-keyboard-o",title:"We enter the data",text:"We enter trips and fuel into IFTA Calculator"},{icon:"fa fa-check-circle",title:"Ready-to-file report",text:"You get a report ready to file"}]}),computed:{fieldErrors(){if(!this.showFieldErrors)return{units:!1,mileage:!1,fuel:!1};const e=parseInt(this.form.units,10);return{units:!Number.isFinite(e)||e<1,mileage:!this.form.mileageSources.length,fuel:!this.form.fuelSources.length}}},methods:{notify(e,t){this.serverNotice={type:e,message:t}},errMessage:(e,t)=>e&&e.message?String(e.message).replace(/<br\s*\/?>/gi," ").trim():t,resetForm(){this.submitted=!1,this.ticketNumber=null,this.showFieldErrors=!1,this.serverNotice=null,this.form={units:"",mileageSources:[],fuelSources:[],comments:""}},async submit(){if(this.sending)return;if(this.showFieldErrors=!0,Object.values(this.fieldErrors).some(Boolean))return;this.sending=!0,this.serverNotice=null;const[e,t]=await De.a.fetch({method:"post",url:"/api/support/done-for-you",data:{units:parseInt(this.form.units,10),mileage_sources:this.form.mileageSources,fuel_sources:this.form.fuelSources,comments:String(this.form.comments||"").trim()}});if(this.sending=!1,e)return void this.notify("danger",this.errMessage(e,"Could not send the request."));const a=(t&&t.data?t.data:{}).data||{};this.ticketNumber=a.number||null,this.submitted=!0,this.notify("success","Request sent. We emailed you a copy.")}}},Js=(a(183),d(Gs,Vs,[],!1,null,"329d97eb",null));Js.options.__file="resources/assets/components/items/DoneForYou/DoneForYou.vue";var Ks=Js.exports,Qs=function(){var e=this.$createElement;this._self._c;return this._m(0)};Qs._withStripped=!0;var Zs={name:"Page403"},Xs=(a(184),d(Zs,Qs,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-403"},[t("h1",[this._v("403")]),this._v(" "),t("div",[t("h4",{staticClass:"page-403__alert"},[this._v("Sorry! Access denied :(")]),this._v(" "),t("p",{staticClass:"page-403__text"},[this._v("You do not have permission to open this page.")])])])}],!1,null,null,null));Xs.options.__file="resources/assets/components/errors/Page403.vue";var eo=Xs.exports,to=function(){var e=this.$createElement;this._self._c;return this._m(0)};to._withStripped=!0;var ao={name:"Page500"},io=(a(185),d(ao,to,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-500"},[t("h1",[this._v("500")]),this._v(" "),t("div",[t("h4",{staticClass:"page-500__alert"},[this._v("Houston, we have a problem!")]),this._v(" "),t("p",{staticClass:"page-500__text"},[this._v("The page you are looking for is temporarily unavailable.")])])])}],!1,null,null,null));io.options.__file="resources/assets/components/errors/Page500.vue";var no=io.exports,ro=function(){var e=this.$createElement;this._self._c;return this._m(0)};ro._withStripped=!0;var so={name:"Page404"},oo=(a(186),d(so,ro,[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-404"},[t("h1",[this._v("404")]),this._v(" "),t("div",[t("h4",{staticClass:"page-404__alert"},[this._v("Oops! You're lost.")]),this._v(" "),t("p",{staticClass:"page-404__text"},[this._v("The page you are looking for was not found.")])])])}],!1,null,null,null));oo.options.__file="resources/assets/components/errors/Page404.vue";var lo=[{path:"/",name:"home",component:Gi,meta:{middleware:["auth"]},children:[{path:"/trips-fuel",name:"trips-fuel",component:Un,meta:{title:"Trips & Fuel"}},{path:"/reports",name:"reports",component:Kn,meta:{title:"Reports"}},{path:"/ifta-rates",name:"ifta-rates",component:rr,meta:{title:"IFTA Rates"}},{path:"/equipment",name:"equipment",component:lr,meta:{title:"Equipment"}},{path:"/drivers",name:"drivers",component:os,meta:{title:"Drivers"}},{path:"/tracking-app",name:"tracking-app",component:pr,meta:{title:"Tracking App"}},{path:"/account/billing",name:"account-billing",component:Rs,meta:{title:"Billing"}},{path:"/support",name:"support",component:Us,meta:{title:"Support"}},{path:"/done-for-you",name:"done-for-you",component:Ks,meta:{title:"Done-For-You"}},{path:"/module/ifta-tracker/setup-guide",name:"module-ifta-tracker-setup-guide",component:Wr,meta:{title:"Ap
82p for Drivers"}},{path:"/module/ifta-tracker",name:"module-ifta-tracker",component:Nr,meta:{title:"IFTA Tracker"}},{path:"/module/ifta-tracker/trips",name:"module-ifta-tracker-trips",component:Kr,meta:{title:"IFTA Tracker: Trips"}},{path:"/module/ifta-tracker/vehicles",name:"module-ifta-tracker-vehicles",component:es,meta:{title:"IFTA Tracker: Vehicles"}},{path:"/module/ifta-tracker/company",name:"module-ifta-tracker-company",component:ns,meta:{title:"IFTA Tracker: Company"}}]},{path:"/login",name:"login",component:ds,meta:{middleware:["guest"],title:"Login"}},{path:"/register",name:"register",component:fs,meta:{middleware:["guest"],title:"Sign up"}},{path:"/restore-password",name:"restore-password-old",component:Ms,meta:{middleware:["guest"],title:"Restore Password"}},{path:"/password/reset",name:"restore-password-no-token",component:ys,meta:{middleware:["guest"],title:"Restore Password"}},{path:"/password/reset/:token",name:"restore-password",component:ys,meta:{middleware:["guest"],title:"Reset Password"}},{path:"/500",name:"500",component:no,meta:{title:"500"}},{path:"/403",name:"403",component:eo,meta:{title:"403"}},{path:"*",name:"404",component:oo.exports,meta:{title:"404"}}];s.a.use(Ci);const co=["check-auth"];const uo=function(e){return e.keys().map(t=>[t.replace(/(^.\/)|(\.js$)/g,""),e(t)]).reduce((e,[t,a])=>({...e,[t]:a.default}),{})}(a(189));function po(e,t,a){!function(e,t,a,i){const n=e.reverse(),r=(...e)=>{if(e.length>0||0===n.length)return i(...e);const s=n.pop();if("function"==typeof s)s(t,a,r);else{if(!uo[s])throw Error(`Undefined middleware [${s}]`);uo[s](t,a,r)}return!1};r()}(function(e){const t=[...co];return e.filter(e=>e.meta.middleware&&t.push(...e.meta.middleware)),t}(e.matched),e,t,a)}var mo=function(){const e=new Ci({mode:"history",base:"/mileage",linkActiveClass:"open active",scrollBehavior:()=>({y:0}),routes:lo});return e.beforeEach(po),e.afterEach(e=>{const t=[...e.matched].reverse().find(e=>e.meta&&e.meta.title),a=t?`${t.meta.title} - IFTA mileage and tax calculator`:"IFTA mileage and tax calculator";document.title=a}),e}(),ho=a(5);a(194);window.dataLayer=window.dataLayer||[],window.$emitNativeEvent=function(e,t={}){const a=new CustomEvent("business_logic_event",{detail:{event:e,...t}});window.dispatchEvent(a)},s.a.use(l.a),Object.keys(n).forEach(e=>{s.a.use(n[e])}
82),Object.keys(i).forEach(e=>{s.a.component(e,i[e])}),mo.afterEach((e,t)=>{}),ho.a.dispatch("init/setRequestInterceptor",async e=>{"/api/refresh"===e.url||e.url.includes("/api/confirm")||"/api/logout"===e.url||await ho.a.dispatch("auth/checkTokenExpiration")}),ho.a.dispatch("init/setResponseInterceptor",async([e,t])=>{if(t&&t.headers&&t.headers["x-ui-commands"]){const e=["SHOW_UPGRADE_MODAL","REFRESH_USER","SHOW_PROMO","SET_QUARTER"],a=t.headers["x-ui-commands"];if("string"==typeof a&&a.length>0){a.split(",").map(e=>e.trim()).forEach(a=>{e.includes(a)&&("REFRESH_USER"===a&&ho.a.dispatch("auth/reFetchUser"),"SET_QUARTER"===a&&ho.a.commit("auth/setQuickFilter",t.data.current_quarter))})}}if(e)switch(e.status){case 401:await ho.a.dispatch("auth/logout"),mo.push({name:"login"});break;case 422:e&&e.message&&e.message.includes("limit")&&ho.a.dispatch("auth/reFetchUser");break;case 500:1}});const fo=document.querySelector("#app"),_o=document.querySelector("#front-page"),vo=document.querySelector("#rates-page"),go=document.querySelector("#features-page");fo?new s.a({el:fo,components:{AppPage:m},template:"<app-page />",router:mo,store:ho.a}):_o?(new s.a({el:_o,components:{FrontPage:T},template:"<front-page />",store:ho.a}),ho.a.dispatch("auth/fetchUser")):vo?(new s.a({el:vo,components:{RatesPage:A},template:"<rates-page />",store:ho.a}),ho.a.dispatch("auth/fetchUser")):go?new s.a({el:go,components:{FeaturesPage:F},template:"<features-page />",store:ho.a}):console.warn("App entry point not found")}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.